jch-config-editor 1.0.18 → 1.0.21

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,26 +1,9 @@
1
- (function(Se,l){const B=_0x4d07,C=Se();for(;;)try{if(-parseInt(B(1489))/1*(parseInt(B(771))/2)+-parseInt(B(1728))/3+-parseInt(B(1056))/4*(-parseInt(B(1537))/5)+-parseInt(B(522))/6+parseInt(B(781))/7*(parseInt(B(1552))/8)+-parseInt(B(1275))/9*(parseInt(B(1625))/10)+parseInt(B(1742))/11===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0x5a89,848252),(function(Se,l){const B=_0x4d07;typeof exports===B(1612)&&typeof module<"u"?l(exports,require(B(1023)),require(B(1465)),require(B(2051)),require(B(1160)),require(B(595)),require(B(1784)),require(B(2015)),require(B(1666)),require("react-dom")):typeof define===B(2002)&&define[B(540)]?define([B(1125),"react/jsx-runtime","react",B(2051),"@ant-design/icons",B(595),B(1784),"nanoid",B(1666),B(1314)],l):(Se=typeof globalThis<"u"?globalThis:Se||self,l(Se.ConfigEditor={},Se[B(1716)],Se[B(710)],Se[B(2051)],Se[B(2076)],Se[B(595)],Se[B(1784)],Se[B(2015)],Se[B(618)]))})(this,function(Se,l,B,C,de,Bx,h0,Me,g0){"use strict";function _0x5a89(){const Se=["Bw9Kzq","5Rwl6k+v5PwW5O2UicHku09okq","B25SB2fK","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","u2f2zu91DgXPBMvK","x25Vzgu","zxHLy3v0zuj1AwX0Aw4","ltuSltqGmcWWic01ldqGltuSltq","y2HLy2TLza","55s75BId5yIx6kgO","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","DhjHBNnPDgLVBG","zxH0zxjUywXiyw5KBgvYs2v5","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","C2fTCgXLsNnVBG","C2vUDa","ksbZy2fSzvKO","DgHLBG","AxnqCMLTyxj5","DhjHBNnMB3jT","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","y2fUDMfZ","6k+36ycj5OUP5PE26zE0","C2v0twf4wM9VBq","x19WCM90B19F","z2v0q29TChv0zwrtDhLSzq","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","DxnLu3rHDgu","BwWTmG","C2v0ug9PBNrLCKnHChr1CMu","BgLUzvr5Cgu","DxnLCLnLBgvJDgLVBLjLy3q","zM9UDc1TzwrPDw0","zgfZAgvK","5A+85yE6iePtt04","C3zN","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","A2vLCefZCgvJDfjHDgLV","B25dB25Uzwn0rw5K","ANn4uNvUDgLTzq","DxnLsw1WzxjHDgL2zuHHBMrSzq","lwnHBNzHCY0","y29UDgvUDa","qMfJA2DYB3vUza","ltzWEa","tg9VC2u","CMvHy3qTzMXVD19FzwrNzxm","55s75BId5A+85yE65OIq5yQF77Yb","Aw52B2TLuNvUDgLTzuHHBMrSzxi","6k+35Rgc5Qch6k+g","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","nde2otm0me9XzKz0Ea","zM9UDc1TzwrPDw0GBwiTmG","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","zg9JDw1LBNq","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","BM9KzvK","CMvHy3qTzMXVD19FBwfYA2vY","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","iIbYEd0ImJaIlZ48l3n2zZ4","BwvYz2u","CMvHzefZvgv4Da","BwiTna","u2LTCgXLqMv6AwvY","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","mZq2nte4nZbxwgHyCKS","y2HLy2TwAxnPyMLSAxr5","y3LHBG","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","zgf0yvrYyw5ZzMvY","5OM+5lIn5yIW5lQl5lU25z2x","DhjHBNnPDgLVBIa","C3LUyW","EM9VBs53AgvLBa","zgf0yxnLDa","BwfUDwfS","DxnLrwzMzwn0","CMvZAxPL","xMHZBgfCka","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","B25nB3zL","Aw5JBhvKzuHPzgrLBK5VzgvZ","vhjHBNnMB3jTv3jHChbLCG","C2HVD0DYAwq","zgf0yvjLCxvLC3rlzxK","AxntDg9WCgvK","yxv0B1bHBK9UtM9KzurYywC","zgLZy29UBMvJDa","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","yxrHBJi","CMDIka","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","w2rHDgeTBM9Kzs1Pzd0I","z2v0uMvHzgvY","y2fUDMfZxW","5RE75yQG5lQl5lU25z2x","zgvMAw5LuhjVCgvYDgLLCW","5Asw6yoO5PA55Rov","5y+w5RAi5ywO6ycj","zM9YrwfJAa","5A+85ywL5OIq5yQF77Yb","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","AxrLCMf0B3i","5A+85ywLiePtt04","Aw1Tzxi","55s75BId5A+85yE65AsX6lsL","Aw50zxjWB2XHDgu","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","5Asw6yoO5lQl5lU2","C2XPy2u","y2XPzw50tgvMDa","y2vUDgvY","C3rVCfbYB3bHz2f0Aw9U","y2fUDMfZzxm","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","mdeX","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","yw5PBwf0zwq","Dg91y2G","54MP5PAz5BQt","CgfUu2nYB2XSvgLTzw91Da","5lIk5RI46l+E57Q/oG","57ky6ls0iePtt04G5yAf5A65lI4U","x3n1yNnJCMLIzq","C2v0vgLTzq","AgfZ","C2v0rgf0yq","C2nHBgvuBW","yxn5BMnjDgvYyxrVCG","uhjVCgvYDhLqyw5LBa","yMLUzenVzgvZ","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","Cg9PBNrLCI1LDMvUDhmTyxv0BW","C2HPzNrlzxK","5z6c55U057+76l2S","x19UB3nLBgvJDa","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","ChjLCgfYzuv2zw50qxjNCW","y3jLyxrL","mtaWjq","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","55+L6ygt5lQg","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","zhjHz2DHyMXL","CMvSyxrPDMuG","zgvNkq","Bw91C2u","BxqTncbMBgv4igP1C3rPzNKTzw5K","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","zMXLEc1ZDgfYDa","zxHLyW","x+wjR+ACRa","C2LTCgXLyMv6AwvY","CM91BMq","B2jZzxj2zxjZ","CMv0DxjUig51BgW7","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","AxndBgLJA2fIBgu","B3jPz2LUywXfDMvUDa","C3rHCNqUEM9VBq","C3rYB25N","y2HYB21L","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","Aw1Hz2uVkG","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","5lUo57Ue5lIT56E76zMK","BMfTzq","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","y29UDgfPBNm","tKvhqvrjvKvFsu5gsu5jvfK","B2zMC2v0v2LKDgG","C3rHCNrxAwr0Aa","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","B25tzwXLy3rPB25eCMfNu3rHCNq","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","yxjPyuXHyMvSq29UzMLN","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","CMv0DxjU","Dgv4DgfYzwe","ywn0AxzL","ww91ihbYB3zPzgvKia","5PYQ55+L55s75BId","Aw5PDev2zw50","zxjYB3iWmdm","ywn0AxzLu2LIBgLUz0DYB3vWswq","AgfUzgXLCW","tM9KzsbVBKnSAwnRoG","tgLUzxm","5yIG6zMK5PAh5lU2","Dg91y2HZDgfYDa","zg91yMXLq2XPy2S","zgvMyxvSDfzPzxC","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","sgfUzgXL","B25dB25Uzwn0u3rHCNq","lNH5zMXVD19FDMLLD3bVCNq","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","iZaWmdaWma","ltiWChG","6iQc54k5ieLeoIa","DhjPz2DLCK5Vzgu","B25nB3zLrw5K","CMvZDwX0","yMCTD2HPDguGChGTmsbYB3vUzgvK","DxnLq29UDgv4Da","BM9KzxndB25Uzwn0ywjSzq","Dhj5CW","x19UzxDFxW","Cgf0Ae9WDgLVBNm","DMfSDwvpzG","D2fYBG","yMfJA2DYB3vUza","BgfIzwXgB250u2L6zq","AgfZrxjYB3i","CgfYzw50","CMzFx2vKz2uT","5Asn5yI25OIq5yQF","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","5O+q56s65yAf5A65","x2zPBMfSAxPLCNm","5A2x5l2t5AsN5Bcp","zxH0zxjUywXfDMvUDeTLEq","DxnLu3LUy0v4DgvYBMfSu3rVCMu","zgvJAw1HBhm","BM9Kzuv2zw50qMLUzgLUz3m","twLUDxndAxjJBgvpDxrSAw5Lza","xMHZBfWO","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","q29SDw1UsgvPz2H0t3v0BgLUzwq","uMvHy3qGrMXVDW","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","CgfYyw1Zq29Kzq","zwrNzxngB2n1C2fIBgu","vxbSB2fKt3v0BgLUzwq","5BYa5AEl5PEL5PYF","wM9VBu91De91DgXPBMvK","Cg9PBNrLCLG","CM9VDfbHCMvUDeLUzgv4","x3rPBwu","CMvKDwnL","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","DgfYz2v0ug9ZAxrPB24","CMvZB2X2zq","BwfYA2vYvw5PDhm","sw5WDxq","q29UDhjVBa","zMLUzefJDgL2zvn0yxr1CW","zMLSBenVBg9Y","ChvZAa","zgvMAw5LuhjVCgvYDhK","ksb0CMfUC2XHDguO","5OYb57UT5PE26zE077Yi56Es77Yj","wM9VBsbpDxq","DxnLrM9YBq","57Ui54k5ifK","AgLKzgvU","ChjPBwfYEq","zM9YBwf0uMDI","Dgv4Dc1SzYbMB250lw1LzgL1Bq","tgf5B3v0","BwiTmcbTDc00","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","5BEY5RE75yQG","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","CxvLCNLtzwXLy3rVCG","6kEM5y+r5PA55BYp","C3zNigXPBMu","CM90yxrLka","ugfYDgLHBa","C2vSzwn0zwroB2rLswrZ","zg93BMXVywq","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","DhjHBNnSyxrLwcGTntaLkq","yM9YzgvYuMfKAxvZ","y2fUy2vSywjSzq","y29UBMvJDgLVBG","BgfIzwXcz1bHzgrPBMC","Cg9W","57Q/5P2H57Uy5yI2","yw4GAw52ywXPzcbVyMPLy3q","C2v0sw50zxj2ywW","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","5Rwp6kEi5lIT","BwLUAw1HCc5HCMLHtgfIzwW","zMXLEcbMBgv4lwnVBa","qMfJA3nWywnL","DxnLrgvIDwDwywX1zq","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","BM9YBwfS","rxzLBNrgBg93qMLUzgLUzW","CMvWzwf0kdGSidfMCIK","AxndB250zw50rwrPDgfIBgu","EhKTzwrNzv9F","zMXLEcbNyxaTna","AwrLBNrPzMLLCG","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","z2v0qxr0CMLIDxrL","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","u2vSzwn0t3v0BgLUzwq","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","Bw91C2vTB3zLlMrYywC","DxbKyxrLtM9KzuLUDgvYBMfSCW","xNjNyMfCka","y29UC3rYywLU","zxHLy3v0B3juExbL","DgfWCW","CMvXDwvZDefZEw5Jswq","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","Bwf0y2HnzwrPyq","54k55yE75y2h5BQp","zMLYC3rfBgvTzw50q2HPBgq","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","CMvZDgfYDa","zNvUy3rPB24","qxjYB3DsAwDODa","imk3ia","57Ur5A6A5yc8","yxv0BW","cIaGicaGicaG","Dgv4Da","DMLLD3bVCNrjBML0AwfSAxPLza","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","z3jPza","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","x25HBwu","DgfYz2v0sgfUzgXL","BMfUB2LK","nNb4idHWEa","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","x2DYB3vWCW","zw5KC1DPDgG","zwXLBwvUDhntzwXLy3rHyMXL","Dg91y2GTywn0Aw9U","BM9YBwfSu3r5Bgu","BMfTzxnWywnLvvjj","C2v0q2vUDgvY","CM9VDa","zgvSzxrL","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","6ycj5OUP5PwW5O2U6zUg","C2v0u3rHDgu","yM91BMreyxrHC2v0qMLUzfzHBhvL","CMvZAxPPBMC","uMLNAhq","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","Dg91y2HHyMXL","Axnqyw5ty3jVBgXPBMC","Bwf4","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","C2HVDwXKvw5ZDwjZy3jPyMu","y3vYCMvUDenHBNzHC0LK","5lQm57U056cb6l+h5PYF","u3vWChjLC3nLzevYCM9Y","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","6ycj5OUP5PE26zE0","zMLUzeLUzgv4","Cg9ZAxrPB24","C2v0rhjHz0LTywDL","zgLYzwn0Aw9U","qMv6AwvY","EGOGicaGicaGie0","yw50za","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","ioMHUsK","zwrPDa","5y+n6ycj5B2t6Ag1","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","zwzMzwn0qwXSB3DLza","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","zgLZCgXHEwfIBgu","5Qgg6ycj5QIH5BYp","vhjHBNnMB3jTq29TCg9Uzw50","zMLUywXPEMu","C3rHy2S","C2LIBgLUz3m","mcaWidmYidu","y29UDhjVBeLUzM8","Cgf0Aa","zw50zxi","w2rHDgeTAgfUzgXLpsjLBMqIxq","CMDI","yxbWzw5K","CMDIysG","C2vSzwn0q2HPBgrYzw4","vhLWB2DYyxbOEq","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","AwnVBNm","x2vYCM9Y","y29SB3i","5lQl5lU25Rwb57Ur5A6A","ywzMzwn0C1K","x25LEhq","6BUy6k6K6Ag555UU","C3CTCMvZAxPL","z2v0u2nYzwvUq1rn","CMvHy3qTzMXVD19Fy29UDhjVBhm","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","55s75BId6ywn572U","y2fUDMfZswrZ","C3rYAw5NAwz5","DMfSDwvtDhLSzq","Dw5RBM93BIb0ExbLoIa","x2HHC1bHCMvUDa","yxjNCY4","D2HLzwWUEM9VBq","y29UDhjVBhmUyxjPyuXHyMvS","q2XVC2vpDxrSAw5Lza","Bw0VCW","C2vSzwn0ywjSzq","CgfUqNK","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","5z+656ga5B2I54Q2","zxHW","zgv2AwnL","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","5OMN6kgm5PA55BYp","5yAf6igu6isA5PYS","5yAf572U5yQO5l2C","6ycj5OUP54MP5PAz","5A2x5Q615PwW","Dg9WlwXLzNq","6k+36ycj5OUP5lIa5lIQ6iQc54k5","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","5lIl5lIa5Q2L","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","BgLUzvDLAwDODa","B3bZ","yM91BMreyxrHC2v0qMLUzenVzgu","yMfJA2DYB3vUzenVBg9Y","B25czwzVCMvezwXLDgu","5ywO6ycj5OMa5PYj","AhnSka","qM90Dg9T","AgfZvMfSDwu","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","zMXPCfG","B25fzgDLC0nOyw5Nzq","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","yMfZzwXPBMu","BMv3wq","qNv0Dg9U","zgf0ys1Oyw5KBgvPza","y2vUDgvYwa","DY1MDwXSigGTzNvSBa","mNb4ihnVBgLKicmXodKWzMy","yxjNCW","rgvSzxrL","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","AxnAB29TAw5Nt3jqyw5UAw5N","rgvSzxrLt3v0BgLUzwq","AxrLBq","u3rLCa","B3bLCMf0B3i","AxnszxnPEMfIBgu","q29SDw1Uv2LKDgHpDxrSAw5Lza","zxHWyw5Kzwrszwn0","rxzLBNqGzMXVDYbLCNjVCJO","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","BwfYA2vYu3rHCNq","zxzLBNrMBg93","Aw5qCM9NCMvZCW","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","C291CMnLswq","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","DMfSDwvgB250v2vPz2H0","zg9Uzq","DgLTzxjjza","zgvZyW","Bwv0yuTLEq","Dw5IAw5KqwXSrM9YtM9Kzq","zgf0yvbVB2W","qxjYB3DvCa","C3DPDgnOq2fUDMfZ","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","6k+36l6t5ywLjhTSywjLBh0","CMvHy3qTzMXVD19FzwrNzs10zxH0","mcaWidmYidmY","mcaWidmYidmW","C29Tzq","57Ue5Ocb57Yw6l6r5zMO","zxHWCMvZC2LVBG","A2v5","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","5zcr5yMnidmG6Ag1","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","DMfSDwvZ","6ycj5OUP57Ur5A6A5yc8","BgfZDeLUzgv4","z2v0u3rHDgu","zgvZDgLUyxrPB24","ChjLDMvUDerLzMf1Bhq","zxjYB3iWmdK","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","zxHPDa","C3rHDhvZswq","uhjVDMLKzxi","BwvZC2fNzq","cIaGicaGicaGica","zgvSDgfz","C291CMnLsgfUzgXL","yNvPBhrPBG","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","DgHYB3C","A2v5Dxa","z3jHyG","C2LU","i2vImMy5nG","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaWia","xNjNyLWO","zw1WDhK","q3jVC3m","5PEG562B6ycj6Ag5","BM9qyw5dBgfZC05HBwu","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","C2v0vMLLD3bVCNq","CMzjza","q29UDhjVBhm","y29UDgv4De1LBNu","y2vUDgvYwq","CM90yxrL","y3vYC29YlwnYB3nZAgfPCG","Bwv0yq","5OUw5OU96lcd5Pw057Ui54k5","qxjYB3C","5yIG6zMK5ywO6yoO","CMfUz2u","6l+u5zUE5yIx6kgO","5OUw5OU96lcd5Pw06lw354k5","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","z3jVDxa","y2XPy2S","CMvJDa","w3jVBgu9iMnVBwjVyM94iL0","CMvTB3zLqxr0CMLIDxrLtLm","zgf0ys4","Ac1MDwXS","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","C2v0vhjHBNnSyxrLrxH0zw50","5lQK5O2I6lw354k55zkm57Ui54k5","z2v0u2vYDMvYu3rHDgu","BwiTma","DMvYDgLJywW","C3bSAxq","DgfYz2v0q2fUDMfZswq","57Ue5zci6ycj5lIT6iQc54k5","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","sg9YAxPVBNrHBa","C2fTCgXLiePtt04G5PEG5Pwi","BgLUzxm","5PAW5BU655s75BId","y2fUy2vSq29UBMvJDgLVBG","zwXLDMf0zuvKz2vZt25tzwXLy3q","CMvHy3qTzMXVD19FCgfUzq","CMvHy3qTzMXVD19FBM9Kzxm","5PAW5BU65lQl5lU25Rwb","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","x2LUBMvYu3vIC2nYAwjL","vw5NCM91Ce91DgXPBMvK","lcdOV57MJQxMLBa6ia","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","yM9Sza","yxv0B1bHBLnWzwvK","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","BM9Kzvr5CgvZ","Bg9HzgLUzW","DhjHBNnSyxrLqNK","vevyva","55s75BId566H55cg","576K57UexW","iIWGzwrNzsbPzdOG","5A+85ywL55s75BId","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","C2vSzwn0zwq","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","DgvZDa","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","DhjHBNnPDgLVBIbUB3qGzM91BMq","BgfIzwXgB250v2vPz2H0","x2fJDgL2zq","ChjVzhvJDgLVBG","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","5PwW57Ue56YSia","ioMHUEw/HEMHU+AyR+wVUEIXOq","y3vYCMvUDa","zxzLBNrsB290CW","zgf0ytPPBwfNzs9ZDMCREg1Sla","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","yxjYB3C","mxb4ihnVBgLKicnMmgyWzJa","5zcr5zcoidmG6Ag1","C2v0uhjVCgvYDhK","C3rHDgu","CgfYyw1ZtMfTzq","5y+c5PwW5zcn77Ym5AAciee","zMLSDgvY","B25dBgLJA0nVBM5Ly3rtDgfYDa","5PAW5lQl5lU25z2x","D2LKDgG","BwfYz2LU","CMvZAxPLrgLYzwn0Aw9U","vg9W","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","BM9KzuLK","6k+35AgR5yAz5O+q56s65yAf5A65","zgf0ytPPBwfNzs9ZDMCREg1S","BM9KzxneCMfNz2fIBgu","tgLZDa","rg90CW","C2vSzwn0zwrfzgDLCW","Dg91y2HTB3zLlMrYywC","z2v0u25HChnOB3q","BwLUwM9VBq","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","zxzLBNrcBg9JA3m","C2nHBgvz","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","C3LTyM9S","6BUy6k6K54Q25Ocb","C2HPzNq","B25tzwXLy3rPB25eCMfNu3rVCa","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","B25dBgLJAW","5BEM5A+56B2q","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","BM9Kzxm","Aw5ZzxqOmtaWjsK","zxHWyw5KugfYzw50","CMvTB3zLqxr0CMLIDxrL","ue9tsvrjvKvFsu5gsu5jvfK","mc4Zzw0","57Ur5A6A5A2x5Q61","AwnVBG","zwfJAa","CMzFx2jHy2TNCM91BMq","yxbWBhK","55s75BId5A+85ywL5OIq5yQF77Yb","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","Dg9qCMLTAxrPDMu","Bw91C2v1Ca","zgvMyxvSDevKz2vZ","CMzFx21PBMLTyxa","DgfWrgLZDgfUy2u","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","5A+g6zUg54k554Q2","5PQc5PEG5zcm57QN5ywZ57o777Ym54k55yE744cm5PAW5BU644cn5BYa5AEl","B25dBgLJA0nVBM5Ly3rfBMq","tufurvjjquXFu1rbvfvtx0niqu5hrq","u0vmrunu","CgfNzvG","ttaGmgGZmNy0lJjimhO","DhjPBq","q2XHC3mGzxH0zw5KCYb2ywX1zsa","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","DhLWzq","DxnLCKfNzw50","zw5HyMXLrxzLBNrgBg93","DMLZAwjSzq","iokaLca","C2v0rwrNzxm","zMXLEc0Xig1PBI13lta","zNjVBNq","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","cIaG","yM91BMrHCMLLCW","zxHLy3v0zuv2zw50rMXVDW","CMvSzwfZzuXVy2S","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","iZu5ntK1oq","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","5RE75yQG5lQl5lU25Rwb","CMvQzwn0","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","C2LIBgLUz0DYB3vWCW","Axnoyu4","BMv4DfnPyMXPBMC","zg93BG","zgLZCgXHEu5HBwu","yxjPyvjVBgu","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","5PU05O2I54MP5PAz","5lIk5lIa5BM05lUJ","C3vIBwL0","C3bSAwnL","z2v0sw5ZDgfUy2u","zwXLDMf0zu5VzgvZt25tzwXLy3q","6iom5PMV6AkC6iMY","CMv0DxjUigzHBhnLoW","ChjLDLzPzxDWB3j0","Aw5WDxrZ","5PQc5PEG5PwW5O2U","C3rVCa","yw50ze1LC3nHz2u","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","mda0","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","vgfICW","B3zLCMzSB3CTAgLKzgvU","ota0nZe0mMvmy3vmEq","y29UDgvUDeLUzM8","y29TCgXLDgu","Aw50zxjYDxb0","z2vVBwv0CMLJuhjLy2LZAw9U","5ygh5OoZ57Q/","C3jJ","5l6l5AAc77YACMvMCMvZAa","C2vSzwn0zwroB2rLswq","BgfIzwW","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","D2HLzwXezwX0yq","AgfZt3DUuhjVCgvYDhK","Aw5PDe1HDgvYAwfSCW","y2fSBgjHy2S","Dg9mB3DLCKnHC2u","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","zxH0zw50","yw1K","CgfYC2u","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","BM9Kzvr5Cgu","u2vSzwn0","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","rgL2AwrLCG","Bw91C2vy","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","zgvMyxvSDa","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","zNjVBuHHBMrSzq","B25oB2rLC0nOyw5Nzq","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","Aw5KzxHpzG","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","lcb5oIa","twfYA2vYihr5CguGiG","C2v0twLUwM9VBq","B25dB25Uzwn0","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","6k+35AgR5yAz5OMN6kgm5lUJ56cb","vevyvefsrue","y29UDhjVBerPCMvJDgLVBG","AxntzwXLy3rHyMXL","C25HCeDYAwq","AhjLzG","CMvHy3qTzMXVD19FzwrNzs1WyxrO","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","6k+36ycj5OUP5zgO","5BYa5AEl5A2J5BQM","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","y29UBMvJDgfIBgvLBMq","C3fYDa","x+EkTUAaGq","C3vJy2vZCW","z2v0qxr0CMLIDxrLtLm","BM9Kzvf1zxvL","C2vSzwn0q2HPBgq","y29UC29SAwrHDgu","zgvZDhjVEq","zhjHz0HHBMrSzq","z2v0sw5PDgLHBfn0yxrL","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","DxnLtgf5B3v0rwzMzwn0","57Ut5P2F5zgO","zM9UDfDLAwDODa","5B2t5yMn54Q25OcboG","Aw50zxjUywXZ","Bw91C2vfBNrLCG","B3bLBG","ios4QUEkTUAaGq","yxbWBgLJyxrPB24VANnVBG","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","yxr0CI4","ENvZDgfUza","C2vSzwn0zwroB2rLCW","Aw1Hz2uV","kow9K+wjJsK","x2v4Axq","6zw/54k5lEEFREEcUEs6PoABVW","C3LZDgvT","twfJ","B3jPzw50","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","q1vtve9n","sxrLBq","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","C21HBgW","BM9KzxntzwXLy3rPB25by3rPDMu","y2fUDMfZq29UzMLN","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","lIbozxCGCg9ZAxrPB24SihG6ia","AhnSysG","DgL0Bgu","zwfZzq","AxneCMfNz2fIBgu","uMvHy3rAB29TugfUugLUy2G","C3rHCNroB2rLwa","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","i2zHywqXna","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","5l+D55wz5Bcp5PwW5l2n","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","CMzFx2nVBNrYB2XZ","C3rYB2TL","5OUw5OU96lcd5Pw05AsN5Bcp","5yAf6l656lED","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","zM9JDxnHyMXL","Bg9JywXLq29TCgfYzq","y29UBMvJDgLVBLjHzgL1CW","zxHLy3v0Aw9Uugf0Aa","CMvHy3qTzMXVD19FCgfUzwW","CgvUzgLUzW","6k+36ycj5OUP55UU5Qch55s75BId","BM9KzunSAwnRrgLZDgfUy2u","572U5lQo5BQv5Bgc","yM94lxnLBgvJDa","C2vSzwn0zwrtDgf0Dxnjza","6iEQ5A6A5lMj57Ue5lU2","BM9KzuXVB2T1Ca","CgfYDgLHBe9IC2vYDMvY","tgLUzq","5PwW57UeicG","CMLNAhq","CMvHy3qTzMXVD19Fy29UDgfPBMvY","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","zMXLEa","Bw91C2vKB3DU","yM9YzgvY","BgLUzq","y3jLyxrLrgvMyxvSDfn0yxr1CW","Cg9ZAxrPB25byNnVBhv0zq","Bw91C2vKB3DUlNPVB20","BgvMDa","C2TLD1G","Bw9KztO","5OUw5OU95PEl6l2S","Bw91C2v1Cc56B29T","DgHPy2TUzxnZ","6ycj5OUP5QIH5BYp","zhvYyxrPB24","B25qB2LUDgvYrg93BG","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","vMvYDgLJywW","57Ui54k5ifG","lMrYywC","Eg1SBNm","DxjSkcm","DhjHBNnSyxrL","wM9VBsbjBG","yMLUza","Aw50zxjHy3rPB25xAwr0Aa","yM91BMreyxrHC2v0swq","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","CMvSyxrPDMu","z2v0vMfSDwvgCM9Tugf0Aa","Cgf0DgvYBI0","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","u3rYAwn0","Dgv4DenVBNrLBNq","CgfKzgLUzW","DhjHBNnSyxrLwq","Bw91C2vTB3zLlNPVB20","DxbKyxrLtM9Kzq","ChjVzhvJzq","y2XPy2TeAxn0yw5Jzq","yMvMB3jLC3rHCNq","AgvPz2H0","y2XLyxjjBNrLCNzHBa","C2vSzwn0","y2vUDgvYignLBNrLCG","y3jLyxrLq29UDgv4Da","C3bHy2uTEs00","yM9YzgvYlwjVEa","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","x25HBwvZ","5zYO5lIl5PA556YSia","ANvTCfrVq2fUDMfZ","6k+36ycj5OUP5BM05lU9","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","AxnwywXPza","Bw91C2vpDMvY","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","zgjSy2XPy2SUEM9VBq","B25oB2rLq2XPy2S","zwrNzvf1zxvL","uMvHy3q","zxjYB3jZ","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","Bw91C2vcDxr0B24","BwLU","BgfIzwXcz1n0EwXL","77Yi5BEY5yIG6zMK77YA","AxnfzgL0Aw5NrxzLBNrgBg93","mta4ma","zMLSzq","zxzLBNruExbL","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","Bw92zq","C3rHDhvZtgLZDa","zw5KlNn0EwXLlG","BwfYA2vYrw5K","qMv6AwvYrwrNzuLUDgvYBMfS","CgfYzw50tg9VA3vW","yM90Dg9T","zw5KlG","C3rYAwn0","5BgE5OcN6z2I5P2/","6yca5yE65Rwp6kEi","yMX1zq","yxjYB3DJBg9Zzwq","zxzLBNrgBg93rgf0yq","y2XVC2vZDa","DMLLD0jVEa","x190CMfUC2L0Aw9U","rML0ifzPzxC","6Ake6kEi5QIH5BYp","5Rc05BMZ57+76l2S","ru1qvfK","C291CMnLtgfIzwW","C3vIC2nYAwjL","6k+35AgR5yAz5zcn56EW","B25oB2rLrhjHz1n0yxj0","B2zMC2v0sgvPz2H0","AM9PBG","DxjSkcCJ","zMfJDg9Y","oMzVy3vZlxzPC2LIBgu","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","lNjLywn0lwzSB3DFx3bHBMu","DhjHBNnSyxrLkc0","Aw5PDgLHBeHLAwDODa","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","6ycj5OUP5yw35l2t5yAf572U6io95yQB","C291CMnLug9ZAxrPB24","BM9KzuvSzw1LBNq","Dgv4Dc14CW","zM9UDfnPEMu","AxnwywXPzenVBM5Ly3rPB24","D2L0Aa","6ycj5OUP55s75BId5yQG5ywL","jhbYzxyU","q29UzMLNuhjVDMLKzxi","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","y3vYCMvUDe9IC2vYDMvYCW","y29Kzq","mZHesNrfvu0","rwrNzsbMCM9Tia","5y+V5OUw5OU9","i2zHogmXnG","5A+85yE65OIq5yQF77Yb","C2nHBgvy","44cn77YA5lIk5RI4","mcaWidi1idmY","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","r3jVDxbpDxrSAw5Lza","mZa3nJe1n1nPA09oCa","C2v0qxr0CMLIDxrLCW","6k+36ycj5OUP5A2J5BQM","BM9Kzq","qxjYB3DvCe91DgXPBMvK","CMvHy3qTzMXVD19FyxjPys1SAxzL","vgv4DefYzwe","5Asw6yoO5PA55Rov5Qch6k+g","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","yMfZzvzHBa","5zU+54Mh5zcn56EW","x2jSyw5R","C2nHBgvyka","i2yWzJbMma","CMvZB2X2zuzSB3DfDMvUDejSB2nR","ltuSltqGmcWWic01ldq","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","y2HHBMDL","Dg9qB3nPDgLVBG","zw1PDev4DgvYBMfS","x19KzwzHDwX0x18","y29UC3rYDwn0B3i","lNn2zW","57Ut5P2F5A2J5BQM","x3zHBhvL","i2zMzG","yxbWzw5Kq2HPBgq","mdaX","5PAh5PYS5yAf5A65","CgfYDgLHBa","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","zML0vMLLD09WDgLVBNm","B2jZzxj2zwq","57Uy5yI25lIT","twvZC2fNzsdMJ5dNPlO","vgLTzw91DevYCM9Y","EvnUyxbWzwq","6kEJ6zMK57Ue5zci","ios4QUIkGUEcUq","yxjNCY5WCMv2","mca0ChG","zMXPCfK","C3vIAMvJDa","Aw5SAw5LlwzSzxG","zMLSzxm","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","ufjpuevsvfLFq0HbtKDf","iZCYmMvKmq","zMXLEc0X","y2fUy2vS","u2LTCgXLqMv6AwvYrwrNzq","iIbYEd0InciVpJWVC3zNpG","zgLZywjSzwq","qxjYB3DeB3DU","y29UBMvJDgfIBgu","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","zgvIDwC","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","mtjWEa","C291CMnLrxzLBNq","57Q/5A6977Yi5yop57sG77Yj","Cc02","x2vUDgvY","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","5Bgv5BYa6kgm","Aw52zxjZzq","6ycj5OUP57Ur5A6A5A2x5Q61","vgfN","Aw50zxjUywW","C2vSzwn0qwXS","5yc85P2L5RQq","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","zw50CMLLCW","y3jVC3m","Bw91C2vKB3DUlMrYywC","zhjHz2DPBMC","u3rYywLNAhq","AxnbCNjHEq","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","wvLzwq","Aw52zxj0","zgL2","C3rHCNq","lteWic0XmcaYmcaYma","yxnpyNnLCNzHyMXL","C3vWChjLC3nLza","CxvLCNLtzwXLy3rVCKfSBa","iw1Ylta","y29UBMvJDe9Uq2XPy2S","C29YDa","y2XHC3nmAxn0","DxbKyxrL","Aw5SAw5Lu2nYAxb0","5BYa5AEl5PYi5lU9","y29UzMLN","CgHHBNrVBq","z2fTBwe","nsW1","6lEZ6l2S55s75BId","CMv2zxjZzq","zxzLBNq","ANn4","C3rHCNrz","C3LUy1zPzxDWB3j0","BwvHC3vYzwq","z2v0vMLLD3bVCNq","tufyx1zbtfvf","C25HCfrVr3jPza","rwrPDe91DgXPBMvK","Dg9gAxHLza","lM1HDgvYAwfSlxbYzxzPzxC","EM9VBq","A2v5CW","ChjLDMLVDxntAwjSAw5N","re9ntwf0CML4uMvHze9UBhK","CMvZzxq","Aw5KzxG","x19VBG","5zcm57QN5ywZ57o7","CMvHy3qTzMXVD19FCMvUzgvYzxi","ywXS","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","ywn0Aw9UCW","5PYQ6ywn572U55UU5Qch55s75BIdieLe","zhjHzW","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","u3bHy2u","C3rHCNroB2rLwq","6BYG5Qch6l+B5ywL","q29UDhjVBcbqyw5LBa","x3rYEvn1yNnJCMLIzq","C2nHBgu","Cg9SEwXPBMu","BgLNAhq","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","teLorq","B25ezwXLDgu","B2jQzwn0ihvUC3vIC2nYAwjLza","B25oB2rLtw91C2vfBNrLCG","C2v0vgLTzw91Da","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","rNvSBa","jsWG","x2nVBxbSzxrL","zxjYB3iWmdq","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","rg93BLnXDwfYzu91DgXPBMvK","y2XPy2SUzhjHzW","D29YAW","zxjYB3iWmdi","5yc85PAh5PYS","C2v0tM9Kzxm","ugfUzwW","54Q25Ocb5PwWoIa","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","EKLUzgv4tw9Kzq","55s75BIdia","5ywO6ycj5B2t6Ag1","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","z2v0","zwrNzuXVB2T1Ca","zwrPDgLUz0v2zw50uM9VDeLK","CMv0DxjUigfYz3m7","C2v0qxr0CMLIDxrLtLm","Bwf4vg91y2HqB2LUDhm","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","C2nOzw1LxW","zwrNzxm","zNvSBa","tM9Kzsb0ExbLici","6ycj5OUP5PEL5PYF","C3vIC2nYAxb0Aw9UCW","lte0ChG","5PAW6iQc54k5","B25fzgDLC0rLBgv0zq","C3r5Bgu","CMvTB3zLq2HPBgq","yMLUze5Vzgvjza","Dg91y2HLCW","CgfYzw50tM9Kzq","zhjHDW","u2HPzNq","zxzLBNrtDwjQzwn0CW","y29YBMvY","C2nHBgvfEhrLBNq","z2v0rwrNzuLK","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","CMvWBgfJzq","C3rYAw5N","AhLWB3q","y29TBw9Utg9JywXL","vg9VBhrPCa","5zYg6kEs55+P5B2I","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","DY04igGTmc41igjNlwDYyxKTndaW","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","DgHYB3DUrxjYB3i","AgfUzgXLqM91BMrZ","z2v0qKjVEa","6l6t5ywL6iQc54k55zcn56EW","5PYQ55+L5yAf572U5yQO5l2CoIa","5lIk5lYG6zsz6k+V","B2jZzxj2zq","C2v0qxr0CMLIDxrL","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","C3rHCNrZv2L0Aa","y3vYCMvUDfn0yxr1C0LK","zgf0Dw0","57Uy5yI25QIH5BYp","zMXVB3i","zMLUza","ChjVBwLZzq","DMfSDwu","r2vUzxjHDg9YigLZigfSCMvHzhKGzxHLy3v0Aw5NlG","6ycj5OUP5PYi5lU9","zxzLBNrcBg9JAW","5zcn56EW5lIn6io95lI656M6","rwrNzsb0ExbLici","CgfUwM9VBq","iI8+pc9ZDMC+","6BYG5Qch6yEk5Ps+","zgf0ys1UB2rLAwq","6l+E57UT5A6E57Q/","C2vSzwn0C3rHCNqUzhjHzW","DxnLCLnLBgvJDgLVBKfJDgL2zq","zxHLy3v0zq","CMvHy3qTzMXVD19FBM9Kzs0","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","CMDIysGYncWXndqSmJu1ldaUmdGP","C2v0","6k+35AgR5yAz6k+35Rgc5Qch6k+g","BwfYA2vY","zMXVD0rHDge","CMvHy3qTzMXVD19FAgfUzgXLlq","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","AgfUzgXLCG","CMvHy3qVANn4lxj1BNrPBwu","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","CgfNzvK","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","5Bcg6k+L57Ue6k6+5lI65Rs76lEd57Ue77Ym5Asw6yoO57+76Ag1ifvjioAnRUATPowqR+EuQa","iZe4otbMzG","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","zML0vMLLD1jLC29SDMvY","vgfIBgu","5BEY5l+D5A2y","5OMN6kgm6kgO6l6+5BYp","ChGG","B25gAw5HBgL6zq","54MP5PAz5BgE5OcN","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","zMLSBgvK","zw1PDa","Aw52ywXPza","zgLTzw5ZAw9UCW","lMPZB24","CMDIysGWldaSmcWWkq","qMv6AwvYrwrNzq","x3jLBw92zvbHCMvUDa","q3vZDg9TrxzLBNq","6iQc54k55PwWoIa","55s754k557Q/","Dg90ywXjBMnVBwLUzW","Dw5YzwDPC3rLCKv2zw50qMXVy2S","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","vgLTzw91DcbOyxmGB2nJDxjYzwq","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","y3jLyxrLrgvMyxvSDe5Vzgu","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","otC2nfbWEwDxwG","C3bHy2uTEs0Z","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","y3vYC29Ylw1VDMu","ChGS","u3rYywLNAhrfzgDL","BgLZDgvUzxi","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","C2uTCMvZAxPL","u3DPDgnO","Ac1MDwXSigzSzxGGzMXLEc1JB2W","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","yxbWBgLJyxrPB24","54Q25OcbicH0ExbLkq","CMvJEwnSzufZEw5Jswq","C2vJB25Kyxj5","y3jLyxrLrwXLBwvUDa","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","lMfUDc1ZzwXLy3qTzhjVCgrVD24","B25oB2rLtw91C2vnB3zL","5BYa5AEl5BM05lU9","x19KyxrHx18","B3jKzxi","qwXPz25sAwDODe91DgXPBMvK","5BEY5OMR5O+p","yxnZzxj0AxzL","x3bHCMvUDgfNzq","u21VB3rOu3rLCevKz2u","y2XPzw50wa","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","i2iXyJfInW","Dg9tDhjPBMC","CMvHzefZrgf0yvvsta","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","A2v5zg93BG","x3rOCM93swzdBg9Zzwq","x3bHCMvUDhm","5A+85yE65B2t5yMn55s75BId","z2v0rxzLBNrcBg9JAW","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","zMLYC3q","Bgv2zwW","DxnLuMvM","CMvJB25Uzwn0ywjSzq","5PYQ55+L57g75z6l","tw9KDwXL","BgLZDa","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","iIbKB2vZBID0igv4Axn0lG","vg9Nz2XLieLUDgvYywn0AxzPDhK","DxnLzfjPz2H0tw91C2vcDxr0B24","Dw5ZDwjZy3jPyMu","y29UBMvJDgLVBK1Vzgu","6k+36ycj5OUP5PEL5PYF","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","5PwW5O2U5QIH5OUF","5lQl5lU25Rwb5yIB5BU65OIq5yQF","BM9Kzu9YAwDPBG","BwvTBW","BgfIzwXcz0jVCMrLCLjHzgL1CW","zw5HyMXLza","Dg9iyw5KBgu","BM9KzurYywDuAhjLC2HVBgq","y2XHC3m","5lIk5lIa6Ag1","zgLZywjSzuTLEwjVyxjKqteXEq","B3DUzxjtvKDfBgvTzw50","zxHWB3j0CW","mdaY","y29Uy2f0","Aw5SAw5LlwjSB2nR","zxH0zxjUywW","5RE75yQG54Q25Ocb","yNvPBhrPBKLK","zNjVBu5Vzgu","zNv0DxjL","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","5PwW5O2U6zUgia","qLvuve9o","ioADOEwfPEI+UsdIHPdJGiW","rxnJyxbL","5y+Z6zsU6i+C5y2v","6k+36ycj5OUP6kEM5y+r5PA55BYp","zxjYB3iWmtm","C2L6zq","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","ywX0s2v5","zxzLCNK","ChvYCgXL","sw1Hz2u","zMX1C2G","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","5PwW5O2U6k+35Rgc","6iEQ5A6A5lMj","6zw/5yIslEwpJoEcUEs6PoABVW","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","DgLTzxi","y3vZDg9T","5BYa5AEl5zgO","B3v0Chv0CW","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","qgfUDc1KzxnPz24VAwnVBNm","Aw1N","6k+35ywi57Ur5A6A5PwW5O2U6zUg","57Ut5P2F5A+86kEi","6k+36l6t5ywL5PcC57sI5yAf5A65","B250B3vJAhn0yxj0","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","yxrHBG","BMv4Da","DhjHBNnSyxrLka","DxnLCLnWywnLt25vC2u","yM9VBgvHBG","w2rHDgeTy2fUDMfZpsj0CNvLiL0","yxjPyuXPDMvnzxnZywDL","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","6ycj5OUP5PAW54MP5PAz","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","BM9KCMfN","zgvSyxK","yNvPBhrPBKnVBMzPzW","x2nHBgW","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","Dg91y2HTB3zLlNPVB20","5y+V6ycj5lIT","BM9Uzq","Aw5ZDa","DMLLD3bVCNq","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","rw1WDhK","ugX1C091DgXPBMvK","BM9KzxngB2n1C2fIBgu","zgf0ys1Oyw5KBgvWB3m","ChjLDG","6k6+5Ash5zU+5Qch","ChjLDMLLDW","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","rwrNzvrLEhq","5lIk5A+56B2q","yMfZAwm","BM9Kzu5HBwu","Dg91y2HTB3zL","57Ut5P2F5PYi5lU9","zw5Kwa","D2fYBMLUzW","CMvHy3qTzMXVD19FAgfUzgXL","5PAh5A2x6AkC6iMY","C2nHBgvcEq","y29UDgfPBG","5lQl5lU25Rwb","x196B29T","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","C21VB3rOC3rLCa","zM9YBwf0sgv4","CMvZzxrgAwvSzhm","rMXVD1jLBMrLCMvY","Ag92zxi6yMCTz3jHEs0Xmda","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","ywrK","B3DUzxjeB2n1BwvUDa","Aw52ywXPzcbJywXSyMfJAZOG","6Ake6kEi5PAh5lU2","Cg9PBNrLCKLK","yxv0B1bHBK9Uq29UBMvJDa","BgfIzwXtAg93qMC","Dg91y2HLBMq","C3bHBG","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","qxjYB3DdBg9Zzwq","zNjVBq","y2LYy2XL","AxntzwXLy3rLza","Bwf0y2HLCW","C2v0vhjHBNnMB3jT","x3bHCMvUDa","zgv2zwXVCg1LBNq","5PQc5PEG5lQl5lU25Rwb","DhjHBNnSyxrLrxH0zw50","yxv0BY1ZDgfYDc1YzxzLCNnL","C3r5BgvuD2vLBG","y2fSBa","su1br0u","B25oB2rLrhjHz1n0B3a","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","54Q25Ocb5yIx6kgO","C2v0tM9Kzuv4DgvUDa","zxjYB3i","zM9YBwf0sgv4oa","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","u3rLCevKz2vjBNrLCM5HBa","Dg91y2GW","zgLZDgfUy2u","yMCTz3jHEs0Xmda","6k6+5lI65Rs76lEd57Ue","Bwf4wM9VBq","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","rxHWzxjPBwvUDe91DgXPBMvK","oJPLEhq6oG","Aw5ZDgfUy2u","5y+w5RAi5O6s5BQp","AxneCMf3Aw5N","zgvSzxrHyMXL","zg9TywLU","C3rHCNruCMfUC2L0Aw9U","5PAW5BU65PwW5O2U6zUg","yNv0Dg9U","x2fKzfbHCMvUDa","ChGPihnJywXLka","C291CMnL","AgfZqxr0CMLIDxrL","C2vSzwn0tM9KzxnpBKrYywC","DxnLCK5Vzgu","C2v0rMLLBgrZvMfSDwu","DgfYz2v0","nty3zxLZCerv","6ycj5OUP5PwW5O2U5A2x5Q61","BwiTmG","i2q5zdLKoq","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM","BMv3","w1jLywn0iezSB3DDoIa","Bw91C2vmzwf2zq","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","C2TLD1GO","y2XPzw50v2LKDgG","C2vSzwn0Aw9U","C3rYywLNAhq","BM93AgvLBa","5AAc77YA55s15PY65Rwl54k56zUg","ywjZB2X1Dgu","zgfZAc1KB3q","zgvSDgfnB2rL","5y+V6lcd5Pw05AsN5Bcp","DxjSkcnNCMLKkq","tK9erv9truXfq1q","CMvTB3zLuhjVCgvYDhK","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","q29UzMLNrwrPDg9Y","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","5PQc5PEG5PwW5O2U6zUg","Dg91y2HZDgfYDc56B29T","C2fTCgXL","yw55","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zxzLBNrgBg93","CgLWzq","zw5HyMXL","Bg9VC2u","Bwf0zxjPywW","DMfSDwvgB250u2L6zq","5Pw05z2x6l+u5zUE5yc8","Cg9PBNrLCLK","zMXLEcbMBgv4lwnVBca","CMvHy3qTzg9T","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","C29SAwq","B25oB2rLtw91C2vmzwf2zq","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","tw9KywW","Bg9JywW","6BYG5Qch56E75ywL","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","BgLI","Cg93","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","kgrHDgePid0+igjVB2XLyw4","z2v0uhjVCgvYDhLwywX1zq","BgLUzs1KCMf3","y29UDgvUDgvKAxrHyMXL","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","CMzFx3DYyxbWzxi","5BEY56Ab55sO","zg90CW","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","rNjHz21LBNq","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","CMvXDwvZDefUAw1HDgLVBKzYyw1L","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","y3jLyxrLrwXLBwvUDe5t","CMv0DxjUihrYDwu7","ChGSia","B2zMC2v0","BMuTCMvZAxPL","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","yM90Dg9TlwXLzNq","q2fUDMfZ","DY1MDwXSigP1C3rPzNKTzw5K","BgfIzwXtDhLSzq","zw51BwvYywjSzq","DxjSka","q29SBgfWC2u","5lIk5lYG5zU+54Mh","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","CMvTB3zLrxzLBNrmAxn0zw5LCG","BMf2AwDHDgLVBLn0ywnR","55s75BIdide","zM9UDc1TB25VihrLEhqTC20","BgvUz3rO","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","C3r5BguU","CMvHy3qTzMXVD19FyxjYB3DOzwfK","xcKK","zgvMyxvSDevKz2vpChrPB25Z","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","C3rYB2TLv2LKDgG","AxngAw5PDgu","y29UBMvJDgLVBKXVB2T1Ca","BM9eCMfNq2XHC3noyw1L","iwjNlwjSDwuTntaW","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","rNjLzq","Aw52zxj0wa","AgfUzgXLrg9TtM9Kzq","CMvHy3qTzMXVD19FBwLUAw1HCa","Dw5PDa","x2v4zwn1Dgu","mda5","u3DHCe91DgXPBMvK","B2jZzxj2ywjSzq","5Qch6k+g5lIn6io95lI656M6","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","mtjWEcaW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","BM9Kzuv4DgvUDa","ChjVDg90ExbL","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","yMCTD2HPDgu","u1fsvdi","tM9Kzsb3AxrOigLKici","zxjYB3iWmte","EwvSBg93","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","Dw5KzwzPBMvK","x196B29TAw5N","rxzLBNq","tM9KzvjLBMrLCMvY","Bw91C2v1Cc5KCMfN","C2v0uhjVDg90ExbLt2y","5lIk5lIa5Q2L","lwzSB3DFx25Vzgu","zxjYB3iWmtu","CMvM","zgf0yvjLCxvLC3q","CNvUDgLTzuHHBMrSzxjZ","Aw52zxj0wq","x19LC01VzhvSzq","zgvMyxvSDe5VzgvZ","B25nB3zLu3rHCNq","AgfUzgXL","mda4","CMvHy3qTzMXVDW","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","B3b0Aw9UCW","54Q25Ocb5zcn56EW","yMCTz3jHEs0Ymda","rg93BMXVywrpDxrSAw5Lza","y3rYBeTLEq","ugfYzw50ig5VzguG","y3vYCMvUDfrHCMDLDa","C3rHCNrizwLNAhq","iZi2mJyYnG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","Bw92zwq","C3bHy2u","q29UC3vTzxi","BgLUzurYyxDPBMC","zgvZy3jPChrPB24","CgfYzw50swq","yxv0B1bHBK9UtM9KzuzVy3vZ","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","z2v0qM91BMrPBMDdBgLLBNrszwn0","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","zwrNzq","mda1","CMvTB3zL","mtKYma","Aw5MBW","BM93","yMfJAW","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","ChjVCgvYDhK","y2HPBgrYzw4","CMvHy3qTzMXVD19FzwrNzs0","Aw5Zzxj0qMvMB3jL","x+wKJEwiTG","5PAh5lU25Qc85BYp6zsz6k+V","77Ym5AsA5ywL6l6555sOia","ywjZ","DxnLq2fSBgjHy2S","zML0vMLLDW","Dg9qCM9TAxnL","y2XPzw50vg9W","6lw354k5ifG","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","Bg9N","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","CMvUyw1L","BgLUzwfY","CMvHy3q","y29UDgv4Dg1LBNu","zgf0yq","6BYG5Qch5OYj5lIl","zwrNzuLUzgv4","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTyMv0D2vLBIbWEc00ihb5lti","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","iZHJogm4yW","zgvNksa","iZCZzdeZza","zgvMyxvSDhm","6ycp5PIo5BQM","y2XVC2vKlq","lwzSB3DFx2vKz2u","DhDLzw4","rw50zxi","DgHHDa","q29WEu91DgXPBMvK","Aw5JBhvKzxm","yM90Dg9TlxjPz2H0","Aw5Uzxjive1m","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","BxqTna","CMvUzgvY","ndeZotLtBwvkrgS","y2XLyxjbBgW","igHHBMrSzsbPzdOGiG","i2zMzMzMzG","BNvTyMvY","6iom5PMV6Ake6kEi","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","EKLUzgv4","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","wM9VBuLUt3v0BgLUzwq","y2XHC3noyw1L","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","mdaZ","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","6l6t5ywL54Q25Ocb5zcn56EW","Bwf0CML4","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","6k+36ycj5OUP6iQc54k5","zw5K","Dgv4Dc14CYbTyI0X","B3bHy2L0Eq","BM9Wyw4","Bwf0zxjPywXZ","y3vYC29YlwDYywi","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","zw5Kwq","5Asw6yoO5lQl5lU25Qch6k+g","B25fCNjVCG","yM9YzgvYq29SB3i","B3jPz2LU","sxrLCMfIBguGy2fUBM90igjLig51BgW","tgvMDa","6zw/5yIslEEcUEs6PoABVW","DMLLDW","rM9YBq","y29UDgfPBMvY","6k+36ycj5OUP5OMN6kgm5PA55BYp","Dg9izxHtDhjPBMC","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","CMvHy3qTzMXVD19FBM9Kzq","zM9Yy2u","AgLKzuf0DhjPyNv0Aw9U","ywrKrxzLBNrmAxn0zw5LCG","C3rLCa","B25tzwXLy3rPB25eCMfN","mJe2nxb2uuzoBq","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","6k+36ycj5OUP5PYi5lU9","AgLZDg9YEq","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","C2nOzwr1Bgu","5PEl6l2S6kEs5BQM","zgv0ywLS","BgfIzwXdB2XVCG","zgfYAW","y2HHBMDLzfrVDwnOzxm","BwfW","tw96vxnLCLnLBgvJDa","DMfSDwvtB3vYy2vdB2rL","mJrYC21er0u","wvLzwEw5Ta","C2nHBguO","yMXVy2SGDhj1BMnHDgu","5zU+54Mh5zYW5z2aicHZCMmP","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","5A2x5l2t57kx57Ug","DMfSDwvdB2XVCG","yMX1CG","yxnZAwDU","Dg91y2GX","DhjHBNnSyxrLvg8","yMLUze5VzgvfDMvUDa","mNb4igrHC2HLzcb0CMfUC3bHCMvUDa","x2LK","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","Bw91C2vTB3zL","Dw5VyNnLCNzL","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","u21VB3rOu3rLCa","Ag9YAxPVBNrHBa","6BYG5Qch56E75yE6","C3rHCNrsB3rHDgu","Aw5WDxq","DgLTzq","y2f0y2G","i2zMngq0zG","6k+35Rgc5PwW5O2U","yxjPyuXHyMvS","5A2q6iQc54k5ia","BMf0AxzLrxzLBNq","y2XVC2vK","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","tgvMDe91DgXPBMvK","Dg9ju09tDhjPBMC","5lIl6l295PAh5lU2","DxnLrwrPDg9Yu3rVCMu","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","tM8GDgLTzw91DcbWCM92AwrLzc4","vgHLig9SzcbLzgDLihDPDgGGAwq9","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","D2HLzwW","5Pon5l2C5OIq5yQF","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","zg9JDw1LBNrfBgvTzw50","ufjfu0vovevex0LnquDfx1njtvbmrq","y2XLyxi","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","zxHLy3v0zuzSB3DoB2rLCW","DhjHBNnSyxrLwa","y2XPzw50wq","BM9KzvG","B25oB2rLrhjHzW","5Rc05BMZ5yIg5BId","AxnjBNrLCM5HBa","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","lwzSB3DFx2HHBMrSzq","zxjYB3iWmdu","B2jQzwn0","mda2","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","zxzLBNrcBg9JA0LK","DxnLtwvTBW","C2nOzwr1BgvY","Aw5PDgLHBfDPzhrO","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","iZaWmtKZqW","572U5lQo6Ag25Bgc","y29Z","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","DxbKyxrLq29UBMvJDgLVBG","mtu3nJiWrxnKB2Xd","zg9TtM9Kzq","ChGP","5PQc5PEG54MP5PAz","C3rHCNry","y29WEq","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","y3vYC29YlxbVAw50zxi","twf0zxjPywXqyw5LBa","DhjHBNnWyxjLBNq","vxbSB2fK","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","AwXSzwDHBcb0ExbLoIa","EfnUyxbWzwq","CgfZDa","zhjHz3n0yxj0lMrYywC","Dw5IAw5KtM9Kzuv2zw50","BgLMDa","5y+Z5A+56B2q","lM5VA2v5","5RIq5y+y6iMY","sw5WDxroDw1Izxi","56gU6k6K5yIG6zMK","B25ZzwXLy3rZDgfYDa","Dhj1zq","y2vPBa","5lQl5lU25z2x5BEY5PU05PAW","Dg9W","BgLUAW","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","Aw5PDgLHBfrLyxjKB3DU","zwrNzxnszwnVBM5Ly3rHyMXL","mxb4ihnVBgLKicnKowq5zdK","Cgf0DgvYBG","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","57ky6ls0iePtt04G5yAf5A6577YA","5Qch562+5Qc35BYp","BwvYz2vsDw50Aw1LsgfUzgXLCNm","su5qvvq","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","y29TCg9ZzwrqyxrO","zM9YD2fYzfjLzG","ANn4CW","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","yMfJA2DYB3vUzeLTywDL","DxnLv2f0y2G","Cg9PBNrLCG","576K57Ue6iQc54k5","zhjVCevMzMvJDa"];return _0x5a89=function(){return Se},_0x5a89()}function _0x4d07(Se,l){Se=Se-238;const B=_0x5a89();let C=B[Se];if(_0x4d07.iGcFeM===void 0){var de=function(g0){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let ct="",It="";for(let on=0,Sn,Nn,Pt=0;Nn=g0.charAt(Pt++);~Nn&&(Sn=on%4?Sn*64+Nn:Nn,on++%4)?ct+=String.fromCharCode(255&Sn>>(-2*on&6)):0)Nn=c.indexOf(Nn);for(let on=0,Sn=ct.length;on<Sn;on++)It+="%"+("00"+ct.charCodeAt(on).toString(16)).slice(-2);return decodeURIComponent(It)};_0x4d07.BNTgkJ=de,_0x4d07.NWWjnO={},_0x4d07.iGcFeM=!0}const Bx=B[0],h0=Se+Bx,Me=_0x4d07.NWWjnO[h0];return Me?C=Me:(C=_0x4d07.BNTgkJ(C),_0x4d07.NWWjnO[h0]=C),C}const c=_0x4d07;var ct=document[c(1074)](c(962));ct[c(683)]=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
- /*$vite$:1*/`,document.head[c(808)](ct);function It(e){const n=c;return e&&e[n(1410)]&&Object[n(1389)][n(534)][n(1241)](e,n(549))?e[n(549)]:e}var on={},Sn={exports:{}},Nn;function Pt(){const e=c;return Nn?Sn[e(1125)]:(Nn=1,(function(n){const t=e;function o(x){return x&&x[_0x4d07(1410)]?x:{default:x}}n.exports=o,n[t(1125)][t(1410)]=!0,n[t(1125)].default=n[t(1125)]})(Sn),Sn.exports)}var At={},Jo;function uc(){const e=c;if(Jo)return At;Jo=1,Object[e(1936)](At,e(1410),{value:!0}),At[e(549)]=void 0;const n={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1122),next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:e(303),next_3:e(411),page_size:"页码"};return At[e(549)]=n,At}var jt={},Et={},Yt={},Ut={},_o;function hc(){const e=c;return _o||(_o=1,Object.defineProperty(Ut,e(1410),{value:!0}),Ut[e(977)]=void 0,Ut[e(977)]={yearFormat:e(864),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Ut}var Qo;function gc(){const e=c;if(Qo)return Yt;Qo=1,Object.defineProperty(Yt,e(1410),{value:!0}),Yt[e(549)]=void 0;var n=hc();function t(s){"@babel/helpers - typeof";const f=e;return t=f(2002)==typeof Symbol&&f(439)==typeof Symbol.iterator?function(u){return typeof u}:function(u){const h=f;return u&&h(2002)==typeof Symbol&&u[h(803)]===Symbol&&u!==Symbol.prototype?h(439):typeof u},t(s)}function o(s,f){const u=e;var h=Object[u(897)](s);if(Object[u(1637)]){var b=Object[u(1637)](s);f&&(b=b[u(416)](function(v){const g=u;return Object.getOwnPropertyDescriptor(s,v)[g(1352)]})),h.push[u(458)](h,b)}return h}function x(s){const f=e;for(var u=1;u<arguments[f(1361)];u++){var h=arguments[u]!=null?arguments[u]:{};u%2?o(Object(h),!0)[f(1777)](function(b){r(s,b,h[b])}):Object.getOwnPropertyDescriptors?Object[f(1774)](s,Object[f(1730)](h)):o(Object(h))[f(1777)](function(b){const v=f;Object[v(1936)](s,b,Object[v(1196)](h,b))})}return s}function r(s,f,u){const h=e;return f=i(f),f in s?Object[h(1936)](s,f,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[f]=u,s}function i(s){const f=e;var u=a(s,f(975));return f(439)==t(u)?u:String(u)}function a(s,f){const u=e;if(u(1612)!=t(s)||!s)return s;var h=s[Symbol[u(462)]];if(h!==void 0){var b=h.call(s,f);if(t(b)!="object")return b;throw new TypeError(u(1060))}return(u(975)===f?String:Number)(s)}var d=x(x({},n[e(977)]),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:e(2044),dateSelect:e(957),weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(2012),nextMonth:e(677),monthSelect:e(1001),yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:e(302),nextYear:e(1021),previousDecade:e(505),nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:e(1553),cellDateFormat:"D",monthBeforeYear:!1});return Yt[e(549)]=d,Yt}var Gt={},Fo;function $o(){const e=c;if(Fo)return Gt;Fo=1,Object[e(1936)](Gt,e(1410),{value:!0}),Gt.default=void 0;const n={placeholder:e(1699),rangePlaceholder:["开始时间","结束时间"]};return Gt.default=n,Gt}var er;function nr(){const e=c;if(er)return Et;er=1;var n=Pt()[e(549)];Object.defineProperty(Et,"__esModule",{value:!0}),Et[e(549)]=void 0;var t=n(gc()),o=n($o());const x={lang:{placeholder:e(1111),yearPlaceholder:e(702),quarterPlaceholder:e(783),monthPlaceholder:e(1540),weekPlaceholder:e(569),rangePlaceholder:[e(1921),"结束日期"],rangeYearPlaceholder:[e(1078),"结束年份"],rangeMonthPlaceholder:[e(878),e(1203)],rangeQuarterPlaceholder:[e(570),e(805)],rangeWeekPlaceholder:[e(1157),e(585)],...t[e(549)]},timePickerLocale:{...o[e(549)]}};return x.lang.ok="确定",Et[e(549)]=x,Et}var tr;function bc(){const e=c;if(tr)return jt;tr=1;var n=Pt().default;Object.defineProperty(jt,e(1410),{value:!0}),jt[e(549)]=void 0;var t=n(nr());return jt.default=t[e(549)],jt}var xr;function yc(){const e=c;if(xr)return on;xr=1;var n=Pt()[e(549)];Object.defineProperty(on,e(1410),{value:!0}),on.default=void 0;var t=n(uc()),o=n(bc()),x=n(nr()),r=n($o());const i="${label}不是一个有效的${type}",a={locale:"zh-cn",Pagination:t[e(549)],DatePicker:x[e(549)],TimePicker:r[e(549)],Calendar:o.default,global:{placeholder:"请选择",close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(333),filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:e(514),selectAll:e(944),selectInvert:"反选当页",selectNone:"清空所有",selectionAll:e(249),sortTitle:"排序",expand:e(848),collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:e(1998),cancelSort:e(1260)},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1824)},Tour:{Next:e(242),Previous:e(1403),Finish:e(1163)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:e(1164),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(944),removeCurrent:"删除当页",selectAll:e(249),deselectAll:e(1776),removeAll:e(346),selectInvert:e(2055)},Upload:{uploading:"文件上传中",removeFile:e(1875),uploadError:e(988),previewFile:e(1222),downloadFile:e(1589)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(1903),expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:e(1299),required:e(294),enum:e(1585),whitespace:e(1969),date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:e(1539)},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(1538),max:e(910),range:e(1904)},number:{len:e(1356),min:e(1917),max:e(1848),range:"${label}须在${min}-${max}之间"},array:{len:e(545),min:e(1446),max:e(1024),range:e(293)},pattern:{mismatch:e(855)}}},QRCode:{expired:e(2040),refresh:"点击刷新",scanned:e(1082)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(1646)}};return on.default=a,on}var Dx,or;function mc(){return or||(or=1,Dx=yc()),Dx}var wc=mc();const vc=It(wc),pc=e=>(n,t,o)=>{const x=c;return o[x(2029)]=(r,i,...a)=>{const d=x,s=typeof r===d(2002)?h0[d(688)](r):r;return n(s,i,...a)},e(o[x(2029)],t,o)},zc=pc;function Cc(e){return Array[c(862)](e)}function rr(e){const n=c,t=[];for(const o of Object[n(897)](e)){t[n(1935)](o);const x=e[o];if(x!==null&&typeof x===n(1612)&&!Array[n(862)](x))for(const r of Object[n(897)](x))t[n(1935)](o+"."+r)}return t}function Mc(e,n,t){const o=c,x=e.sample;if(Cc(x)){if(n!=null&&t!=null){const r=x[o(997)](i=>i[n]===t);if(r)return r}return{}}return x}function ir(e,n,t,o){const x=c,r=Mc(e,t,o),i={...r};if(n&&typeof n=="object"&&!Array[x(862)](n))return{...i,...n};if(Array[x(862)](n)){const a={...i};for(const d of n){if(!d||typeof d!==x(1612))continue;const s=d;s[x(1918)]!=null&&(a[String(s.paramsCode)]=s[x(999)])}return a}return i}const Bc={id:"_",name:"_",sample:{}};function Lx(e,n,t){const o=c,x=e.boundDatasetId!=null?String(e[o(676)])[o(475)]():"",r=x?t[o(997)](a=>a.id===x):void 0,i=r??Bc;try{const a=ir(i,n,e[o(246)],e[o(2030)]);return new Function(o(1467),e.expression)(a)===!0}catch(a){return console[o(1897)](o(789)+e[o(1852)]+"]:",a),!1}}function ar(e,n,t){for(const o of e)if(Lx(o,n,t))return o}function sr(e,n){const t=c;for(const o of e){for(const x of o.contentInfo[t(723)])x[t(676)]===n&&(x[t(676)]=null,x[t(246)]=null,x.boundDatasetBindValue=null);o.type===t(351)&&o.children?.[t(1361)]&&sr(o.children,n)}}function Sx(e){const n=c;for(const t of e){for(const o of t[n(523)][n(723)])delete o[n(1812)];t[n(478)]===n(351)&&t[n(1448)]?.[n(1361)]&&Sx(t[n(1448)])}}const Nx=(e,n)=>({id:e||Me[c(2015)](),name:n||c(1359),nodes:[],canvasConfig:{width:1920,height:1080,background:c(1620),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Dc=()=>{const e=c,n=Nx();return{id:Me[e(2015)](),name:e(2082),canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},cr=Dc(),Zn=cr[c(1795)][0],Lc={root:cr,materials:[],mode:"select",lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:Zn[c(448)],canvas:Zn[c(611)],viewport:Zn.viewport,selectedNodeId:Zn[c(530)],selectedNodeIds:Zn[c(1957)],selectedStatusId:Zn[c(641)],history:Zn[c(1541)]},zn=(e,n,t)=>({id:Me.nanoid(),type:e,targetId:n,payload:t,timestamp:Date[c(1444)]()}),Xe=Bx[c(1821)]()(zc((e,n)=>({...Lc,addCanvas:t=>{const o=c,x=Nx(Me[o(2015)](),t||o(943)+(n()[o(2025)][o(1795)][o(1361)]+1));return e(r=>{const i=o;r.root[i(1795)][i(1935)](x),r.root[i(2039)]=x.id;const a=x;r[i(448)]=a[i(448)],r[i(1698)]=a[i(611)],r[i(1187)]=a.viewport,r.selectedNodeId=a.selectedNodeId,r[i(1957)]=a.selectedNodeIds,r[i(641)]=a[i(641)],r[i(1541)]=a[i(1541)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)].canvases[x(2045)](a=>a.id===t);if(r===-1||o[x(2025)].canvases.length<=1)return;if(o.root[x(1795)][x(507)](r,1),o[x(2025)][x(497)])for(const a of o.root[x(497)]){const d=a[x(2088)][x(554)](t);d!==-1&&a[x(2088)][x(507)](d,1)}if(o.root[x(1358)]&&o[x(2025)].navigationStack.length>0&&(o.root[x(1358)]=o[x(2025)][x(1358)].filter(a=>a!==t)),o[x(2025)].currentCanvasId===t){const a=o[x(2025)][x(1795)][0];o[x(2025)][x(2039)]=a.id,o[x(448)]=a[x(448)],o[x(1698)]=a[x(611)],o[x(1187)]=a[x(1187)],o[x(530)]=a[x(530)],o[x(1957)]=a[x(1957)],o[x(641)]=a[x(641)],o[x(1541)]=a[x(1541)]}const i=o.root[x(1871)];if(i){const a=(o[x(2025)][x(497)]||[])[x(997)](d=>d.id===i);(!a||!a[x(2088)][x(1483)](o[x(2025)][x(2039)]||""))&&(o.root[x(1871)]=null)}})},switchCanvas:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)].find(a=>a.id===t);if(!r)return;o[x(2025)][x(2039)]=t,o[x(448)]=r[x(448)],o[x(1698)]=r.canvasConfig,o[x(1187)]=r[x(1187)],o[x(530)]=r.selectedNodeId,o.selectedNodeIds=r.selectedNodeIds,o[x(641)]=r[x(641)],o.history=r.history;const i=o[x(2025)][x(1871)];if(i){const a=(o[x(2025)][x(497)]||[])[x(997)](d=>d.id===i);(!a||!a[x(2088)][x(1483)](t))&&(o[x(2025)].activeSiblingGroupId=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(2025)][r(1795)].find(a=>a.id===t);i&&(i.name=o)})},getCurrentCanvas:()=>{const t=c,o=n();return o[t(2025)].canvases[t(997)](x=>x.id===o.root[t(2039)])},addSiblingGroup:(t,o)=>{const x=Me.nanoid();return e(r=>{const i=_0x4d07;r.root[i(497)]||(r[i(2025)][i(497)]=[]);const a=r[i(2025)].siblingGroups[i(1361)]+1,d=Array[i(1230)](new Set((o||[])[i(416)](s=>r[i(2025)][i(1795)].some(f=>f.id===s))));r[i(2025)][i(497)].push({id:x,name:t||"同级关系 "+a,canvasIds:d})}),x},removeSiblingGroup:t=>{e(o=>{const x=_0x4d07;if(!o[x(2025)].siblingGroups)return;const r=o[x(2025)][x(497)][x(2045)](i=>i.id===t);r!==-1&&o.root[x(497)][x(507)](r,1),o[x(2025)][x(1871)]===t&&(o[x(2025)][x(1871)]=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x4d07;if(!x.root[r(497)])return;const i=x[r(2025)][r(497)][r(997)](a=>a.id===t);if(i&&(o[r(1852)]!==void 0&&(i[r(1852)]=o[r(1852)]),o[r(2088)]!==void 0)){const a=new Set,d=[];for(const s of o[r(2088)])a.has(s)||x[r(2025)][r(1795)][r(298)](f=>f.id===s)&&(a[r(1219)](s),d[r(1935)](s));i[r(2088)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x4d07;if(!r[i(2025)].siblingGroups)return;const a=r.root[i(497)][i(997)](d=>d.id===t);a&&r[i(2025)].canvases[i(298)](d=>d.id===o)&&(a[i(2088)].includes(o)||(typeof x===i(1493)&&x>=0&&x<=a[i(2088)].length?a.canvasIds[i(507)](x,0,o):a[i(2088)][i(1935)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x4d07;if(!x[r(2025)].siblingGroups)return;const i=x[r(2025)][r(497)][r(997)](d=>d.id===t);if(!i)return;const a=i.canvasIds.indexOf(o);a!==-1&&i[r(2088)][r(507)](a,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x4d07;if(!r[i(2025)][i(497)])return;const a=r.root[i(497)][i(997)](f=>f.id===t);if(!a)return;const d=a[i(2088)][i(554)](o);if(d===-1)return;const s=x==="up"?d-1:d+1;s<0||s>=a[i(2088)][i(1361)]||([a[i(2088)][d],a.canvasIds[s]]=[a[i(2088)][s],a[i(2088)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(2025)][x(497)]?.[x(997)](f=>f.id===t);if(!i||i[x(2088)][x(1361)]===0)return null;const a=i[x(2088)][x(416)](f=>r[x(2025)].canvases[x(298)](u=>u.id===f));if(a[x(1361)]===0)return null;const d=a[x(554)](r.root[x(2039)]||"");let s;if(d===-1)s=0;else if(d===a[x(1361)]-1){if(!o)return null;s=0}else s=d+1;return e(f=>{const u=x;f[u(2025)][u(1871)]=t}),n()[x(292)](a[s]),a[s]},prevSiblingCanvas:(t,o=!1)=>{const x=c,r=n(),i=r[x(2025)][x(497)]?.[x(997)](f=>f.id===t);if(!i||i[x(2088)].length===0)return null;const a=i[x(2088)][x(416)](f=>r[x(2025)][x(1795)][x(298)](u=>u.id===f));if(a[x(1361)]===0)return null;const d=a.indexOf(r.root[x(2039)]||"");let s;if(d===-1)s=a[x(1361)]-1;else if(d===0){if(!o)return null;s=a[x(1361)]-1}else s=d-1;return e(f=>{const u=x;f[u(2025)][u(1871)]=t}),n()[x(292)](a[s]),a[s]},gotoSiblingCanvas:(t,o)=>{const x=c,r=n(),i=r[x(2025)].siblingGroups?.[x(997)](d=>d.id===t);if(!i)return null;const a=i.canvasIds[x(416)](d=>r[x(2025)].canvases.some(s=>s.id===d));return o<0||o>=a.length?null:(e(d=>{const s=x;d[s(2025)].activeSiblingGroupId=t}),n()[x(292)](a[o]),a[o])},getSiblingGroupsByCanvas:t=>{const o=c;return(n()[o(2025)].siblingGroups||[]).filter(r=>r[o(2088)][o(1483)](t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x4d07;if(t===null){o[x(2025)][x(1871)]=null;return}(o[x(2025)][x(497)]||[])[x(298)](i=>i.id===t)&&(o[x(2025)].activeSiblingGroupId=t)})},jumpToCanvas:t=>{const o=c,x=n();if(!x[o(2025)][o(1795)][o(298)](i=>i.id===t)||x[o(2025)][o(2039)]===t)return;const r=x[o(2025)].currentCanvasId;r&&e(i=>{const a=o;i[a(2025)].navigationStack||(i[a(2025)].navigationStack=[]),i[a(2025)].navigationStack[a(1935)](r)}),n()[o(292)](t)},goBack:()=>{const t=c,o=n();if((o[t(2025)][t(1358)]||[]).length===0)return null;let r=null;const i=new Set(o[t(2025)].canvases[t(1549)](a=>a.id));return e(a=>{const d=t;for(;a[d(2025)][d(1358)]&&a[d(2025)][d(1358)][d(1361)]>0;){const s=a[d(2025)][d(1358)].pop();if(i.has(s)){r=s;break}}}),r&&n()[t(292)](r),r},clearNavigationStack:()=>{e(t=>{t.root.navigationStack=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x4d07,r=o.root.canvases[x(997)](i=>i.id===o[x(2025)][x(2039)]);r&&(r[x(1957)]=t,o.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)][x(997)](i=>i.id===o[x(2025)][x(2039)]);r&&!r.selectedNodeIds[x(1483)](t)&&(r[x(1957)][x(1935)](t),o[x(1957)]=r[x(1957)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x4d07,r=o.root.canvases[x(997)](i=>i.id===o[x(2025)][x(2039)]);r&&(r[x(1957)]=r[x(1957)][x(416)](i=>i!==t),o[x(1957)]=r[x(1957)])})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x4d07,x=t[o(2025)].canvases[o(997)](r=>r.id===t[o(2025)][o(2039)]);x&&(x[o(1957)]=[],t[o(1957)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x4d07,i=x[r(2025)][r(1795)][r(997)](d=>d.id===x[r(2025)][r(2039)]);if(!i)return;const a={...t,id:t.id||Me[r(2015)]()};i[r(448)][r(1935)](a),x[r(448)]=i[r(448)],o&&(i[r(530)]=a.id,x[r(530)]=a.id,i.history[r(1640)][r(1935)](zn(r(1295),a.id)),x.history=i[r(1541)])})},updateNode:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(2025)].canvases[r(997)](d=>d.id===x[r(2025)][r(2039)]);if(!i)return;const a=i[r(448)][r(997)](d=>d.id===t);a&&(o[r(2022)]&&Object[r(1561)](a[r(2022)],o[r(2022)]),o.contentInfo&&(a[r(523)]={...a[r(523)],...o[r(523)]}),o.name&&(a[r(1852)]=o[r(1852)]),o[r(2066)]&&Object[r(1561)](a[r(2066)],o[r(2066)]),o[r(1448)]&&(a[r(1448)]=o[r(1448)]),i.history.past[r(1935)](zn(r(828),t,o)),x[r(1541)]=i[r(1541)],x[r(448)]=i[r(448)])})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(2025)][r(1795)][r(997)](d=>d.id===x[r(2025)][r(2039)]);if(!i)return;const a=i.nodes.find(d=>d.id===t);a&&(Object.assign(a[r(2022)],o),i.history.past[r(1935)](zn("PROPERTY_CHANGE",t,{normalStyle:o})),x[r(1541)]=i[r(1541)],x.nodes=i.nodes)})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(2025)][r(1795)].find(d=>d.id===x[r(2025)][r(2039)]);if(!i)return;const a=i[r(448)][r(997)](d=>d.id===t);a&&(a.contentInfo={...a[r(523)],...o},i[r(1541)][r(1640)][r(1935)](zn(r(828),t,{contentInfo:o})),x[r(1541)]=i[r(1541)],x[r(448)]=i[r(448)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x4d07,i=x.root[r(1795)][r(997)](d=>d.id===x.root.currentCanvasId);if(!i)return;const a=i[r(448)][r(997)](d=>d.id===t);a&&(Object.assign(a[r(2066)],o),i.history[r(1640)][r(1935)](zn(r(828),t,{controlInfo:o})),x[r(1541)]=i[r(1541)],x[r(448)]=i.nodes)})},removeNode:t=>{e(o=>{const x=_0x4d07,r=o.root[x(1795)][x(997)](a=>a.id===o[x(2025)][x(2039)]);if(!r)return;const i=r.nodes[x(2045)](a=>a.id===t);i!==-1&&(r[x(448)][x(507)](i,1),o[x(448)]=r[x(448)],r[x(530)]===t&&(r[x(530)]=null,o[x(530)]=null,r[x(641)]=null,o[x(641)]=null),r[x(1957)]=r[x(1957)][x(416)](a=>a!==t),o.selectedNodeIds=r[x(1957)],r[x(1541)][x(1640)][x(1935)](zn("NODE_DELETE",t)),o[x(1541)]=r[x(1541)])})},selectNode:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)].canvases[x(997)](i=>i.id===o.root[x(2039)]);r&&(r[x(530)]=t,o[x(530)]=t,r[x(641)]=null,o.selectedStatusId=null,t&&(r.history[x(1640)][x(1935)](zn(x(1295),t)),o.history=r[x(1541)]))})},bringToFront:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)].find(d=>d.id===o[x(2025)][x(2039)]);if(!r)return;const i=r[x(448)][x(2045)](d=>d.id===t);if(i===-1||i===r.nodes[x(1361)]-1)return;const[a]=r[x(448)][x(507)](i,1);r[x(448)][x(1935)](a),o.nodes=r[x(448)],r[x(1541)][x(1640)][x(1935)](zn(x(828),t,{zOrder:x(485)})),o[x(1541)]=r[x(1541)]})},sendToBack:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)].find(d=>d.id===o.root[x(2039)]);if(!r)return;const i=r[x(448)][x(2045)](d=>d.id===t);if(i<=0)return;const[a]=r[x(448)][x(507)](i,1);r[x(448)].unshift(a),o[x(448)]=r[x(448)],r.history[x(1640)][x(1935)](zn(x(828),t,{zOrder:x(1445)})),o[x(1541)]=r[x(1541)]})},addStatus:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(2025)][r(1795)].find(s=>s.id===x[r(2025)].currentCanvasId);if(!i)return;const a=i.nodes[r(997)](s=>s.id===t);if(!a)return;const d={...o,id:Me[r(2015)]()};a[r(523)][r(723)][r(1935)](d),i.history.past.push(zn(r(471),t,{statusId:d.id})),x.history=i.history})},removeStatus:(t,o)=>{e(x=>{const r=_0x4d07,i=x.root.canvases[r(997)](s=>s.id===x[r(2025)][r(2039)]);if(!i)return;const a=i[r(448)].find(s=>s.id===t);if(!a)return;const d=a[r(523)][r(723)][r(2045)](s=>s.id===o);d!==-1&&(a.contentInfo.statusList[r(507)](d,1),a[r(523)][r(993)]===o&&(a[r(523)][r(993)]=void 0),i[r(641)]===o&&(i[r(641)]=null,x[r(641)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x4d07,a=r[i(2025)].canvases.find(f=>f.id===r[i(2025)].currentCanvasId);if(!a)return;const d=a.nodes[i(997)](f=>f.id===t);if(!d)return;const s=d[i(523)][i(723)][i(997)](f=>f.id===o);s&&Object[i(1561)](s,x)})},selectStatus:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)][x(997)](i=>i.id===o.root[x(2039)]);r&&(r.selectedStatusId=t,o[x(641)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=c,r=n(),i=r.root.canvases[x(997)](s=>s.id===r[x(2025)].currentCanvasId);if(!i)return;const a=i[x(448)][x(997)](s=>s.id===t);if(!a)return;const{dataPool:d}=n();for(const s of a.contentInfo[x(723)])if(Lx(s,o,d))return s.id},addDataPoolItem:t=>{const o=c,x=Me[o(2015)]();return e(r=>{const i=o;let a={};t[i(1302)]&&typeof t[i(1302)]=="object"&&(Array[i(862)](t[i(1302)])?a=t.sample:a=t[i(1302)]),r[i(290)].push({...t,id:x,sample:a})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(290)][r(997)](a=>a.id===t);i&&(o[r(1852)]!==void 0&&(i[r(1852)]=o[r(1852)]),o[r(1302)]!==void 0&&(o[r(1302)]&&typeof o.sample===r(1612)?i.sample=o.sample:i[r(1302)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x4d07,r=o[x(290)][x(2045)](i=>i.id===t);if(r!==-1){o[x(290)][x(507)](r,1);for(const i of o[x(2025)][x(1795)])sr(i[x(448)],t)}})},setDataPool:t=>{e(o=>{const x=_0x4d07;o[x(290)]=t[x(1549)](r=>{const i=x;let a={};return r[i(1302)]&&typeof r[i(1302)]===i(1612)&&(a=r[i(1302)]),{...r,sample:a}})})},setEventFlow:t=>{e(o=>{const x=_0x4d07;o[x(1305)]={eventBlocks:t.eventBlocks??[],eventRoots:t[x(406)]??[],editingEventRootId:t[x(948)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x4d07,r=new Set;o[x(1788)]=[];for(const i of t){const a=String(i[x(301)]??"")[x(475)]();!a||r.has(a)||(r[x(1219)](a),o.externalHandlerCatalog.push({key:a,label:String(i[x(531)]??"").trim()||a,description:i[x(1432)]}))}})},addMaterial:t=>{e(o=>{const x=_0x4d07;if(o.materials[x(298)](a=>a[x(1852)]===t[x(1852)]))return;const i={...t,id:Me.nanoid()};o.materials[x(1935)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(1514)].find(a=>a.id===t);i&&Object[r(1561)](i,o)})},removeMaterial:t=>{e(o=>{const x=_0x4d07,r=o[x(1514)][x(2045)](i=>i.id===t);r!==-1&&o[x(1514)].splice(r,1)})},setViewport:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)][x(997)](i=>i.id===o.root[x(2039)]);r&&(Object[x(1561)](r[x(1187)],t),o.viewport=r[x(1187)])})},setCanvasConfig:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)][x(1795)][x(997)](i=>i.id===o[x(2025)][x(2039)]);r&&(r[x(611)]={...r[x(611)],...t},o[x(1698)]=r[x(611)])})},setMode:t=>{e(o=>{const x=_0x4d07;o[x(1676)]=t})},startLineDrawing:t=>{e(o=>{const x=_0x4d07;o[x(1676)]=x(1331),o[x(1431)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x4d07;o[x(1431)][x(1261)]&&(o[x(1431)].endPoint=t)})},endLineDrawing:()=>{e(t=>{const o=_0x4d07;t[o(1676)]="select",t[o(1431)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x4d07;t[o(1676)]=o(693),t.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x4d07,x=t[o(2025)][o(1795)][o(997)](i=>i.id===t[o(2025)][o(2039)]);if(!x)return;const r=x[o(1541)][o(1640)][o(1965)]();r&&(x[o(1541)].future[o(1935)](r),t[o(1541)]=x[o(1541)])})},redo:()=>{e(t=>{const o=_0x4d07,x=t.root[o(1795)].find(i=>i.id===t[o(2025)][o(2039)]);if(!x)return;const r=x.history[o(1133)][o(1965)]();r&&(x[o(1541)][o(1640)][o(1935)](r),t.history=x[o(1541)])})},recordEvent:t=>{e(o=>{const x=_0x4d07,r=o[x(2025)].canvases.find(i=>i.id===o[x(2025)][x(2039)]);r&&(r[x(1541)].past[x(1935)](t),r[x(1541)][x(1133)]=[],o[x(1541)]=r.history)})},exportScheme:()=>{const t=c,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(2025)];return{version:"2.0.0",root:i,materials:o[t(1514)],dataPool:o[t(290)],eventFlow:o.eventFlow,metadata:{name:o[t(2025)][t(1852)],description:"",createdAt:new Date()[t(1588)](),updatedAt:new Date()[t(1588)]()}}},importScheme:t=>{e(o=>{const x=_0x4d07;if(t[x(2025)]){if(o.root=t[x(2025)],!o[x(2025)][x(497)])o.root[x(497)]=[];else{const i=new Set(o[x(2025)][x(1795)][x(1549)](a=>a.id));for(const a of o.root[x(497)])a[x(2088)]=a.canvasIds[x(416)](d=>i[x(1807)](d))}o[x(2025)][x(1871)]=null,o[x(2025)][x(1358)]=[],o[x(290)]=t.dataPool??[],t.eventFlow&&(o[x(1305)]={eventBlocks:t[x(1305)][x(436)]??[],eventRoots:t[x(1305)][x(406)]??[],editingEventRootId:t[x(1305)][x(948)]??null,isEditingEventFlow:t[x(1305)][x(717)]??!1});const r=o.root[x(1795)][x(997)](i=>i.id===o.root[x(2039)])||o[x(2025)][x(1795)][0];r&&(o[x(2025)][x(2039)]=r.id,o.nodes=r[x(448)],o[x(1698)]=r[x(611)],o.viewport=r.viewport,o[x(530)]=r[x(530)],o[x(1957)]=r.selectedNodeIds,o[x(641)]=r[x(641)],o[x(1541)]=r[x(1541)])}else{const r=Nx();r.nodes=t[x(448)]||[],o[x(2025)][x(1795)]=[r],o[x(2025)][x(2039)]=r.id,o[x(2025)][x(497)]=[],o.root[x(1871)]=null,o.root[x(1358)]=[],o.dataPool=t.dataPool??[],t.eventFlow&&(o[x(1305)]={eventBlocks:t.eventFlow[x(436)]??[],eventRoots:t[x(1305)][x(406)]??[],editingEventRootId:t[x(1305)][x(948)]??null,isEditingEventFlow:t[x(1305)][x(717)]??!1}),o[x(448)]=r[x(448)],o[x(1698)]=r[x(611)],o.viewport=t[x(1187)]||r[x(1187)],o[x(530)]=null,o.selectedStatusId=null,o[x(1541)]={past:[],future:[]}}for(const r of o[x(2025)][x(1795)])Sx(r[x(448)])})},exportCanvas:t=>{const o=c,x=n(),r=t||x[o(2025)][o(2039)],i=x[o(2025)].canvases.find(a=>a.id===r);if(!i)throw new Error(o(943)+r+" 不存在");return{version:"2.0.0",canvas:i,metadata:{name:i[o(1852)],description:"",exportedAt:new Date()[o(1588)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x4d07,i=t[r(1698)],a=o||x[r(2025)][r(2039)],d=x[r(2025)].canvases[r(997)](s=>s.id===a);if(d)d[r(1852)]=i[r(1852)],d[r(448)]=i[r(448)]||[],d.canvasConfig=i[r(611)],d[r(1187)]=i[r(1187)],d[r(530)]=null,d[r(1957)]=[],d[r(641)]=null,d[r(1541)]=i[r(1541)]||{past:[],future:[]},a===x.root[r(2039)]&&(x[r(448)]=d[r(448)],x[r(1698)]=d[r(611)],x[r(1187)]=d[r(1187)],x.selectedNodeId=d[r(530)],x[r(1957)]=d[r(1957)],x[r(641)]=d[r(641)],x.history=d[r(1541)]);else{const s={...i,id:Me[r(2015)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(2025)].canvases[r(1935)](s),x.root.currentCanvasId=s.id,x[r(448)]=s[r(448)],x.canvas=s.canvasConfig,x[r(1187)]=s[r(1187)],x.selectedNodeId=s[r(530)],x[r(1957)]=s[r(1957)],x[r(641)]=s[r(641)],x[r(1541)]=s[r(1541)]}for(const s of x[r(2025)].canvases)Sx(s[r(448)])})},addEventBlock:t=>{const o=Me.nanoid();return e(x=>{const r=_0x4d07;x[r(1305)][r(436)][r(1935)]({...t,id:o})}),o},upsertEventBlock:t=>{e(o=>{const x=_0x4d07,r=o[x(1305)][x(436)].findIndex(i=>i.id===t.id);r!==-1?o.eventFlow[x(436)][r]={...t}:o[x(1305)].eventBlocks[x(1935)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(1305)][r(436)].find(a=>a.id===t);i&&Object[r(1561)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x4d07,r=o.eventFlow[x(436)][x(2045)](i=>i.id===t);r!==-1&&o[x(1305)][x(436)][x(507)](r,1)})},addEventRoot:t=>{const o=Me.nanoid();return e(x=>{const r=_0x4d07;x.eventFlow[r(406)][r(1935)]({...t,id:o})}),o},updateEventRoot:(t,o)=>{e(x=>{const r=_0x4d07,i=x[r(1305)][r(406)][r(997)](a=>a.id===t);i&&Object[r(1561)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x4d07,r=o[x(1305)][x(406)][x(2045)](i=>i.id===t);r!==-1&&o[x(1305)][x(406)][x(507)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x4d07;o[x(1305)][x(948)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x4d07;o[x(1305)][x(717)]=t})},bindNodeEvent:(t,o,x)=>{const r=c,i=Me[r(2015)]();return e(a=>{const d=r;a[d(1305)].eventRoots[d(1935)]({id:i,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),i},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x4d07,a=r.eventFlow[i(406)].findIndex(d=>{const s=i;return d[s(964)]!==t||d[s(720)]!==o?!1:o===s(1129)?(d[s(1908)]||"")[s(475)]()===(x||"").trim():!0});a!==-1&&r[i(1305)][i(406)][i(507)](a,1)})},getNodeEventRoots:t=>{const o=c;return n()[o(1305)].eventRoots[o(416)](x=>x[o(964)]===t)}}))),lr=[{id:Me[c(2015)](),name:"矩形",type:c(1242),src:c(407)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1890ff" rx="4"/></svg>')},{id:Me.nanoid(),name:"圆形",type:c(1242),src:c(407)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><circle cx="40" cy="40" r="38" fill="#52c41a"/></svg>')},{id:Me[c(2015)](),name:c(979),type:c(1242),src:c(407)+encodeURIComponent(c(1327))},{id:Me[c(2015)](),name:"阀门",type:c(1242),src:c(407)+encodeURIComponent(c(911))},{id:Me[c(2015)](),name:"泵",type:c(1242),src:c(407)+encodeURIComponent(c(377))},{id:Me.nanoid(),name:"罐体",type:"IMAGE",src:"data:image/svg+xml,"+encodeURIComponent(c(1850))},{id:Me[c(2015)](),name:"文本标签",type:"TEXT",content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(382),color:c(1425),textAlign:"left"},valueStyle:{fontSize:14,fontWeight:c(1976),color:c(1028),textAlign:c(657)}}},{id:Me[c(2015)](),name:"线条",type:c(922),config:{thickness:2,lineWeight:2,color:c(1425),lineType:c(1316)}}],kx=e=>({id:Me[c(2015)](),name:c(440),expression:"return true;",material:{...e,id:Me.nanoid()},boundDatasetId:null}),dr=(e,n,t)=>{const o=c;if(t?.[o(478)]===o(606)&&t[o(879)]?.[o(448)]){const x=t[o(879)][o(448)][o(1549)](f=>({...f,id:Me.nanoid()}));let r=1/0,i=1/0,a=-1/0,d=-1/0;x[o(1777)](f=>{const u=o,h=f.normalStyle.x||0,b=f.normalStyle.y||0,v=f.normalStyle[u(419)]||0,g=f.normalStyle[u(691)]||0;r=Math[u(714)](r,h),i=Math[u(714)](i,b),a=Math[u(2036)](a,h+v),d=Math[u(2036)](d,b+g)});const s=x[o(1549)](f=>({...f,normalStyle:{...f[o(2022)],x:(f[o(2022)].x||0)-r,y:(f[o(2022)].y||0)-i,scale:void 0}}));return{id:Me[o(2015)](),name:t[o(1852)]||o(1674),type:o(351),normalStyle:{width:a-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:Me[o(2015)](),name:o(960),type:o(1976),normalStyle:{width:120,height:100,x:e,y:n,background:o(1634),padding:8},contentInfo:{statusList:t?[kx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:lt}=C[c(1354)],{Text:b0}=C.Typography,fr=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:f}=Xe(),[u,h]=B[n(1704)](["basic",n(2103),n(2008),"line"]),b=m=>{const y=n,z=new FileReader;return z[y(1678)]=p=>{const N=y,O=p.target?.result;o({name:m[N(1852)][N(974)](N(804),""),type:N(1242),src:O})},z[y(1090)](m),!1},v={basic:t[n(416)](m=>["矩形","圆形",n(979)].includes(m[n(1852)])),device:t.filter(m=>["阀门","泵","罐体"][n(1483)](m[n(1852)])||m[n(478)]===n(1242)&&!["矩形","圆形",n(979)].includes(m[n(1852)])&&m[n(1852)]!==n(1152)),text:t.filter(m=>m.type===n(388)),line:t[n(416)](m=>m[n(478)]===n(922)),group:t[n(416)](m=>m.type===n(606)&&m[n(879)]?.[n(448)]),custom:t[n(416)](m=>m[n(478)]===n(606)&&!m[n(879)]?.[n(448)]||m[n(478)]==="IMAGE"&&!["矩形","圆形",n(979),"阀门","泵","罐体"].includes(m[n(1852)]))},g=(m,y)=>{const z=n;m.dataTransfer[z(2057)]=z(1630),m[z(1746)][z(1808)](z(592),JSON[z(2089)](y));const p=m[z(1423)][z(1952)](z(895));p&&m[z(1746)][z(2047)](p,20,20)},w=m=>{const y=n;m.type===y(922)&&s(m)},M=(m,y=!1,z=n(1391))=>{const p=n,N=y===!0,O=a===p(1331)&&N&&d.material?.id===m.id;return l[p(886)](C.List[p(607)],{draggable:!N,onDragStart:G=>g(G,m),onClick:()=>N&&w(m),className:p(1502)+p(N?1632:1061)+`
3
- `+p(1217)+p(317)+(O?"bg-blue-50 ring-2 ring-blue-400":"")+p(2007),actions:[N?l[p(886)](C[p(259)],{type:p(2008),size:p(609),icon:l[p(886)](de[p(893)],{}),onClick:G=>{G[p(1794)](),w(m)},children:"绘制"},p(967)):null,l[p(886)](C[p(259)],{type:"text",size:p(609),danger:!0,icon:l.jsx(de[p(268)],{}),onClick:G=>{G.stopPropagation(),x(m.id)}},p(2026))][p(416)](Boolean),children:l[p(1669)](p(866),{className:p(1859)+(N?"":"pointer-events-none"),children:[l[p(886)](p(866),{className:p(329)+z,children:m[p(478)]===p(1242)&&m.src?l[p(886)](C[p(1148)],{src:m[p(528)],alt:m.name,width:40,height:40,preview:!1}):m.type===p(388)?l.jsx("span",{className:"text-xs text-gray-500",children:"T"}):m[p(478)]===p(922)?l[p(886)](p(866),{className:p(981)}):m[p(478)]===p(606)&&m[p(879)]?.[p(448)]?l.jsx(p(1227),{className:"text-xs text-blue-500 font-bold",children:"G"}):l.jsx(p(1227),{className:p(1499),children:"?"})}),l[p(1669)](p(866),{className:p(484),children:[l.jsx(b0,{strong:!0,className:p(1555),children:m[p(1852)]}),l[p(1669)](p(866),{className:p(1819),children:[l[p(886)](b0,{type:p(1073),className:p(761),children:m.type}),O&&l[p(886)](C[p(851)],{color:p(733),className:p(761),children:p(815)})]})]})]})},m.id)};return l.jsxs("div",{className:"h-full flex flex-col bg-white border-r border-gray-200",children:[l[n(1669)](n(866),{className:n(827),children:[l[n(886)]("h3",{className:"text-lg font-semibold text-gray-800",children:n(1801)}),l[n(886)](b0,{type:n(1073),className:"text-sm",children:n(1390)})]}),l[n(886)](n(866),{className:"p-3 border-b border-gray-200",children:e?l[n(886)](C[n(259)],{icon:l[n(886)](de[n(1920)],{}),block:!0,type:n(1710),onClick:()=>{const m=n;e()[m(1578)](y=>{console.log(m(517),y)})},children:"上传 SVG"}):l[n(886)](C[n(1635)],{accept:n(804),beforeUpload:b,showUploadList:!1,children:l[n(886)](C.Button,{icon:l[n(886)](de[n(1920)],{}),block:!0,type:n(1710),children:"上传 SVG"})})}),l[n(886)](n(866),{className:n(1849),children:l[n(1669)](C[n(1354)],{activeKey:u,onChange:m=>h(m),ghost:!0,expandIconPosition:"end",children:[l[n(886)](lt,{header:n(2101),children:l[n(886)](C.List,{dataSource:v[n(1200)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(886)](C[n(1189)],{description:n(1628),image:C[n(1189)][n(1599)]})}})},"basic"),l[n(886)](lt,{header:"设备图标",children:l[n(886)](C.List,{dataSource:v[n(2103)],renderItem:m=>M(m,!1,n(1419)),locale:{emptyText:l[n(886)](C[n(1189)],{description:n(1628),image:C[n(1189)][n(1599)]})}})},"device"),l[n(886)](lt,{header:"文本",children:l[n(886)](C[n(428)],{dataSource:v[n(2008)],renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(C[n(1189)],{description:n(1628),image:C.Empty.PRESENTED_IMAGE_SIMPLE})}})},n(2008)),l.jsxs(lt,{header:l[n(1669)]("div",{className:n(1950),children:[l[n(886)](n(1227),{children:"线条"}),a===n(1331)&&l[n(886)](C[n(851)],{color:n(733),className:"text-xs",children:n(995)})]}),children:[l[n(886)](C[n(428)],{dataSource:v[n(653)],renderItem:m=>M(m,!0),locale:{emptyText:l.jsx(C[n(1189)],{description:n(1628),image:C[n(1189)][n(1599)]})}}),a===n(1331)&&l[n(1669)](n(866),{className:n(583),children:[l[n(886)](n(866),{children:n(1831)}),l[n(886)](n(866),{children:n(1347)})]})]},n(653)),v.group[n(1361)]>0&&l[n(886)](lt,{header:"群组",children:l[n(886)](C[n(428)],{dataSource:v[n(351)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(886)](C[n(1189)],{description:n(1628),image:C[n(1189)].PRESENTED_IMAGE_SIMPLE})}})},n(351)),v.custom.length>0&&l[n(886)](lt,{header:"自定义",children:l.jsx(C[n(428)],{dataSource:v[n(1156)],renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(C[n(1189)],{description:n(1628),image:C[n(1189)].PRESENTED_IMAGE_SIMPLE})}})},"custom")]})}),l[n(886)](n(866),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(886)](b0,{type:n(1073),className:n(761),children:a==="line-draw"?l[n(886)](l[n(1338)],{children:n(395)}):l[n(886)](l.Fragment,{children:n(1166)})})})]})};var Ix=function(e,n){const t=c;return Ix=Object[t(1402)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(1701)]=x}||function(o,x){const r=t;for(var i in x)Object[r(1389)][r(534)][r(1241)](x,i)&&(o[i]=x[i])},Ix(e,n)};function Un(e,n){const t=c;if(typeof n!==t(2002)&&n!==null)throw new TypeError(t(476)+String(n)+" is not a constructor or null");Ix(e,n);function o(){const x=t;this[x(803)]=e}e[t(1389)]=n===null?Object[t(1821)](n):(o[t(1389)]=n.prototype,new o)}function Sc(e,n,t,o){function x(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const a=_0x4d07;function d(u){const h=_0x4d07;try{f(o[h(1169)](u))}catch(b){i(b)}}function s(u){try{f(o.throw(u))}catch(h){i(h)}}function f(u){const h=_0x4d07;u[h(285)]?r(u[h(999)]):x(u[h(999)]).then(d,s)}f((o=o[a(458)](e,n||[]))[a(1169)]())})}function ur(e,n){const t=c;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,a=Object[t(1821)]((typeof Iterator===t(2002)?Iterator:Object)[t(1389)]);return a[t(1169)]=d(0),a[t(323)]=d(1),a.return=d(2),typeof Symbol===t(2002)&&(a[Symbol[t(1782)]]=function(){return this}),a;function d(f){return function(u){return s([f,u])}}function s(f){const u=t;if(x)throw new TypeError(u(1e3));for(;a&&(a=0,f[0]&&(o=0)),o;)try{if(x=1,r&&(i=f[0]&2?r[u(1864)]:f[0]?r[u(323)]||((i=r[u(1864)])&&i.call(r),0):r[u(1169)])&&!(i=i[u(1241)](r,f[1])).done)return i;switch(r=0,i&&(f=[f[0]&2,i[u(999)]]),f[0]){case 0:case 1:i=f;break;case 4:return o[u(531)]++,{value:f[1],done:!1};case 5:o.label++,r=f[1],f=[0];continue;case 7:f=o[u(245)].pop(),o[u(1893)][u(1965)]();continue;default:if(i=o[u(1893)],!(i=i[u(1361)]>0&&i[i[u(1361)]-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){o[u(531)]=f[1];break}if(f[0]===6&&o[u(531)]<i[1]){o[u(531)]=i[1],i=f;break}if(i&&o[u(531)]<i[2]){o[u(531)]=i[2],o[u(245)][u(1935)](f);break}i[2]&&o.ops[u(1965)](),o[u(1893)][u(1965)]();continue}f=n[u(1241)](e,o)}catch(h){f=[6,h],r=0}finally{x=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function dt(e){const n=c;var t=typeof Symbol===n(2002)&&Symbol[n(1782)],o=t&&e[t],x=0;if(o)return o[n(1241)](e);if(e&&typeof e[n(1361)]===n(1493))return{next:function(){return e&&x>=e[n(1361)]&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(t?n(1879):"Symbol.iterator is not defined.")}function y0(e,n){const t=c;var o=typeof Symbol===t(2002)&&e[Symbol[t(1782)]];if(!o)return e;var x=o.call(e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1169)]())[t(285)];)i[t(1935)](r[t(999)])}catch(d){a={error:d}}finally{try{r&&!r[t(285)]&&(o=x.return)&&o[t(1241)](x)}finally{if(a)throw a.error}}return i}function m0(e,n,t){const o=c;if(t||arguments[o(1361)]===2)for(var x=0,r=n[o(1361)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(1389)][o(1791)][o(1241)](n,0,x)),i[x]=n[x]);return e[o(1127)](i||Array.prototype[o(1791)].call(n))}function ft(e){return this instanceof ft?(this.v=e,this):new ft(e)}function Nc(e,n,t){const o=c;if(!Symbol[o(1810)])throw new TypeError(o(863));var x=t[o(458)](e,n||[]),r,i=[];return r=Object[o(1821)]((typeof AsyncIterator===o(2002)?AsyncIterator:Object)[o(1389)]),d(o(1169)),d("throw"),d(o(1864),a),r[Symbol[o(1810)]]=function(){return this},r;function a(v){return function(g){return Promise[_0x4d07(1929)](g).then(v,h)}}function d(v,g){x[v]&&(r[v]=function(w){return new Promise(function(M,m){i.push([v,w,M,m])>1||s(v,w)})},g&&(r[v]=g(r[v])))}function s(v,g){try{f(x[v](g))}catch(w){b(i[0][3],w)}}function f(v){const g=o;v[g(999)]instanceof ft?Promise[g(1929)](v[g(999)].v)[g(1694)](u,h):b(i[0][2],v)}function u(v){s(o(1169),v)}function h(v){s("throw",v)}function b(v,g){const w=o;v(g),i[w(441)](),i[w(1361)]&&s(i[0][0],i[0][1])}}function kc(e){const n=c;if(!Symbol[n(1810)])throw new TypeError(n(863));var t=e[Symbol.asyncIterator],o;return t?t[n(1241)](e):(e=typeof dt===n(2002)?dt(e):e[Symbol.iterator](),o={},x(n(1169)),x(n(323)),x(n(1864)),o[Symbol[n(1810)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(a){return new Promise(function(d,s){const f=_0x4d07;a=e[i](a),r(d,s,a[f(285)],a.value)})}}function r(i,a,d,s){const f=n;Promise[f(1929)](s)[f(1694)](function(u){i({value:u,done:d})},a)}}typeof SuppressedError===c(2002)&&SuppressedError;function Ge(e){return typeof e===c(2002)}function Px(e){const n=c;var t=function(x){const r=_0x4d07;Error[r(1241)](x),x[r(2063)]=new Error()[r(2063)]},o=e(t);return o[n(1389)]=Object[n(1821)](Error[n(1389)]),o[n(1389)][n(803)]=o,o}var Ax=Px(function(e){return function(t){const o=_0x4d07;e(this),this.message=t?t.length+` errors occurred during unsubscription:
4
- `+t[o(1549)](function(x,r){return r+1+") "+x.toString()})[o(748)](o(487)):"",this[o(1852)]="UnsubscriptionError",this[o(711)]=t}});function w0(e,n){const t=c;if(e){var o=e[t(554)](n);0<=o&&e[t(507)](o,1)}}var Ot=(function(){const e=c;function n(t){const o=_0x4d07;this[o(1656)]=t,this[o(1584)]=!1,this[o(1084)]=null,this._finalizers=null}return n.prototype[e(1109)]=function(){const t=e;var o,x,r,i,a;if(!this.closed){this[t(1584)]=!0;var d=this[t(1084)];if(d)if(this[t(1084)]=null,Array[t(862)](d))try{for(var s=dt(d),f=s[t(1169)]();!f[t(285)];f=s[t(1169)]()){var u=f[t(999)];u[t(1441)](this)}}catch(M){o={error:M}}finally{try{f&&!f[t(285)]&&(x=s.return)&&x[t(1241)](s)}finally{if(o)throw o[t(1247)]}}else d[t(1441)](this);var h=this.initialTeardown;if(Ge(h))try{h()}catch(M){a=M instanceof Ax?M[t(711)]:[M]}var b=this[t(1906)];if(b){this[t(1906)]=null;try{for(var v=dt(b),g=v[t(1169)]();!g[t(285)];g=v[t(1169)]()){var w=g[t(999)];try{br(w)}catch(M){a=a??[],M instanceof Ax?a=m0(m0([],y0(a)),y0(M[t(711)])):a[t(1935)](M)}}}catch(M){r={error:M}}finally{try{g&&!g[t(285)]&&(i=v[t(1864)])&&i[t(1241)](v)}finally{if(r)throw r[t(1247)]}}}if(a)throw new Ax(a)}},n[e(1389)][e(1219)]=function(t){const o=e;var x;if(t&&t!==this)if(this[o(1584)])br(t);else{if(t instanceof n){if(t.closed||t[o(2092)](this))return;t[o(1267)](this)}(this._finalizers=(x=this._finalizers)!==null&&x!==void 0?x:[])[o(1935)](t)}},n[e(1389)][e(2092)]=function(t){const o=e;var x=this[o(1084)];return x===t||Array.isArray(x)&&x[o(1483)](t)},n[e(1389)]._addParent=function(t){const o=e;var x=this[o(1084)];this[o(1084)]=Array[o(862)](x)?(x[o(1935)](t),x):x?[x,t]:t},n[e(1389)][e(1045)]=function(t){const o=e;var x=this[o(1084)];x===t?this._parentage=null:Array[o(862)](x)&&w0(x,t)},n[e(1389)][e(1441)]=function(t){var x=this[e(1906)];x&&w0(x,t),t instanceof n&&t._removeParent(this)},n[e(742)]=(function(){const t=e;var o=new n;return o[t(1584)]=!0,o})(),n})(),hr=Ot.EMPTY;function gr(e){const n=c;return e instanceof Ot||e&&n(1584)in e&&Ge(e.remove)&&Ge(e[n(1219)])&&Ge(e.unsubscribe)}function br(e){const n=c;Ge(e)?e():e[n(1109)]()}var Ic={Promise:void 0},Pc={setTimeout:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(1361)];x++)o[x-2]=arguments[x];return setTimeout[t(458)](void 0,m0([e,n],y0(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function yr(e){Pc[c(926)](function(){throw e})}function mr(){}function v0(e){e()}var jx=(function(e){const n=c;Un(t,e);function t(o){const x=_0x4d07;var r=e[x(1241)](this)||this;return r[x(1762)]=!1,o?(r[x(309)]=o,gr(o)&&o[x(1219)](r)):r[x(309)]=Ec,r}return t.create=function(o,x,r){return new Ex(o,x,r)},t[n(1389)][n(1169)]=function(o){const x=n;this[x(1762)]||this[x(2081)](o)},t[n(1389)][n(1247)]=function(o){const x=n;this.isStopped||(this[x(1762)]=!0,this[x(2077)](o))},t[n(1389)][n(524)]=function(){const o=n;this[o(1762)]||(this[o(1762)]=!0,this[o(930)]())},t.prototype[n(1109)]=function(){const o=n;!this[o(1584)]&&(this[o(1762)]=!0,e[o(1389)][o(1109)][o(1241)](this),this[o(309)]=null)},t[n(1389)]._next=function(o){const x=n;this[x(309)][x(1169)](o)},t[n(1389)][n(2077)]=function(o){const x=n;try{this.destination[x(1247)](o)}finally{this[x(1109)]()}},t[n(1389)][n(930)]=function(){const o=n;try{this.destination[o(524)]()}finally{this.unsubscribe()}},t})(Ot),Ac=(function(){const e=c;function n(t){const o=_0x4d07;this[o(644)]=t}return n[e(1389)][e(1169)]=function(t){const o=e;var x=this[o(644)];if(x[o(1169)])try{x.next(t)}catch(r){p0(r)}},n[e(1389)].error=function(t){const o=e;var x=this[o(644)];if(x[o(1247)])try{x.error(t)}catch(r){p0(r)}else p0(t)},n[e(1389)].complete=function(){const t=e;var o=this[t(644)];if(o[t(524)])try{o[t(524)]()}catch(x){p0(x)}},n})(),Ex=(function(e){Un(n,e);function n(t,o,x){const r=_0x4d07;var i=e[r(1241)](this)||this,a;return Ge(t)||!t?a={next:t??void 0,error:o??void 0,complete:x??void 0}:a=t,i[r(309)]=new Ac(a),i}return n})(jx);function p0(e){yr(e)}function jc(e){throw e}var Ec={closed:!0,next:mr,error:jc,complete:mr},Yx=(function(){return typeof Symbol=="function"&&Symbol[c(1382)]||"@@observable"})();function wr(e){return e}function Yc(e){const n=c;return e[n(1361)]===0?wr:e[n(1361)]===1?e[0]:function(o){return e[n(1926)](function(r,i){return i(r)},o)}}var ln=(function(){const e=c;function n(t){const o=_0x4d07;t&&(this[o(1805)]=t)}return n.prototype[e(1643)]=function(t){const o=e;var x=new n;return x[o(1269)]=this,x.operator=t,x},n[e(1389)][e(744)]=function(t,o,x){var r=this,i=Gc(t)?t:new Ex(t,o,x);return v0(function(){const a=_0x4d07;var d=r,s=d[a(271)],f=d[a(1269)];i[a(1219)](s?s[a(1241)](i,f):f?r[a(1805)](i):r[a(917)](i))}),i},n[e(1389)]._trySubscribe=function(t){const o=e;try{return this[o(1805)](t)}catch(x){t[o(1247)](x)}},n.prototype.forEach=function(t,o){var x=this;return o=vr(o),new o(function(r,i){var a=new Ex({next:function(d){const s=_0x4d07;try{t(d)}catch(f){i(f),a[s(1109)]()}},error:i,complete:r});x.subscribe(a)})},n[e(1389)]._subscribe=function(t){const o=e;var x;return(x=this[o(1269)])===null||x===void 0?void 0:x[o(744)](t)},n[e(1389)][Yx]=function(){return this},n[e(1389)][e(1306)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(1361)];x++)o[x]=arguments[x];return Yc(o)(this)},n.prototype[e(1457)]=function(t){var o=this;return t=vr(t),new t(function(x,r){const i=_0x4d07;var a;o[i(744)](function(d){return a=d},function(d){return r(d)},function(){return x(a)})})},n[e(1821)]=function(t){return new n(t)},n})();function vr(e){var n;return(n=e??Ic.Promise)!==null&&n!==void 0?n:Promise}function Uc(e){const n=c;return e&&Ge(e[n(1169)])&&Ge(e[n(1247)])&&Ge(e[n(524)])}function Gc(e){return e&&e instanceof jx||Uc(e)&&gr(e)}function Oc(e){return Ge(e?.[c(1643)])}function Rn(e){return function(n){const t=_0x4d07;if(Oc(n))return n.lift(function(o){const x=_0x4d07;try{return e(o,this)}catch(r){this[x(1247)](r)}});throw new TypeError(t(1324))}}function Jn(e,n,t,o,x){return new Hc(e,n,t,o,x)}var Hc=(function(e){const n=c;Un(t,e);function t(o,x,r,i,a,d){const s=_0x4d07;var f=e[s(1241)](this,o)||this;return f[s(1035)]=a,f[s(2038)]=d,f[s(2081)]=x?function(u){try{x(u)}catch(h){o.error(h)}}:e[s(1389)][s(2081)],f[s(2077)]=i?function(u){const h=s;try{i(u)}catch(b){o[h(1247)](b)}finally{this[h(1109)]()}}:e[s(1389)][s(2077)],f[s(930)]=r?function(){const u=s;try{r()}catch(h){o[u(1247)](h)}finally{this.unsubscribe()}}:e[s(1389)]._complete,f}return t[n(1389)][n(1109)]=function(){const o=n;var x;if(!this[o(2038)]||this[o(2038)]()){var r=this[o(1584)];e[o(1389)].unsubscribe.call(this),!r&&((x=this.onFinalize)===null||x===void 0||x[o(1241)](this))}},t})(jx),Vc=Px(function(e){return function(){const t=_0x4d07;e(this),this[t(1852)]=t(1175),this[t(316)]=t(924)}}),pr=(function(e){const n=c;Un(t,e);function t(){const o=_0x4d07;var x=e[o(1241)](this)||this;return x[o(1584)]=!1,x[o(769)]=null,x[o(1837)]=[],x[o(1762)]=!1,x.hasError=!1,x[o(983)]=null,x}return t[n(1389)].lift=function(o){const x=n;var r=new zr(this,this);return r[x(271)]=o,r},t[n(1389)]._throwIfClosed=function(){if(this.closed)throw new Vc},t[n(1389)][n(1169)]=function(o){var x=this;v0(function(){const r=_0x4d07;var i,a;if(x[r(1093)](),!x[r(1762)]){!x[r(769)]&&(x[r(769)]=Array.from(x[r(1837)]));try{for(var d=dt(x[r(769)]),s=d[r(1169)]();!s.done;s=d.next()){var f=s[r(999)];f[r(1169)](o)}}catch(u){i={error:u}}finally{try{s&&!s[r(285)]&&(a=d[r(1864)])&&a[r(1241)](d)}finally{if(i)throw i[r(1247)]}}}})},t[n(1389)].error=function(o){var x=this;v0(function(){const r=_0x4d07;if(x._throwIfClosed(),!x[r(1762)]){x[r(1900)]=x[r(1762)]=!0,x[r(983)]=o;for(var i=x[r(1837)];i[r(1361)];)i.shift()[r(1247)](o)}})},t[n(1389)][n(524)]=function(){var o=this;v0(function(){const x=_0x4d07;if(o[x(1093)](),!o[x(1762)]){o[x(1762)]=!0;for(var r=o[x(1837)];r.length;)r.shift().complete()}})},t[n(1389)][n(1109)]=function(){const o=n;this.isStopped=this[o(1584)]=!0,this[o(1837)]=this[o(769)]=null},Object[n(1936)](t[n(1389)],n(814),{get:function(){const o=n;var x;return((x=this[o(1837)])===null||x===void 0?void 0:x.length)>0},enumerable:!1,configurable:!0}),t[n(1389)]._trySubscribe=function(o){const x=n;return this[x(1093)](),e[x(1389)][x(917)][x(1241)](this,o)},t[n(1389)]._subscribe=function(o){const x=n;return this[x(1093)](),this._checkFinalizedStatuses(o),this[x(378)](o)},t[n(1389)][n(378)]=function(o){const x=n;var r=this,i=this,a=i[x(1900)],d=i[x(1762)],s=i[x(1837)];return a||d?hr:(this[x(769)]=null,s[x(1935)](o),new Ot(function(){const f=x;r[f(769)]=null,w0(s,o)}))},t[n(1389)]._checkFinalizedStatuses=function(o){const x=n;var r=this,i=r[x(1900)],a=r.thrownError,d=r[x(1762)];i?o[x(1247)](a):d&&o.complete()},t[n(1389)][n(869)]=function(){const o=n;var x=new ln;return x[o(1269)]=this,x},t.create=function(o,x){return new zr(o,x)},t})(ln),zr=(function(e){const n=c;Un(t,e);function t(o,x){const r=_0x4d07;var i=e[r(1241)](this)||this;return i.destination=o,i[r(1269)]=x,i}return t[n(1389)][n(1169)]=function(o){const x=n;var r,i;(i=(r=this[x(309)])===null||r===void 0?void 0:r[x(1169)])===null||i===void 0||i[x(1241)](r,o)},t[n(1389)][n(1247)]=function(o){const x=n;var r,i;(i=(r=this[x(309)])===null||r===void 0?void 0:r[x(1247)])===null||i===void 0||i[x(1241)](r,o)},t[n(1389)][n(524)]=function(){const o=n;var x,r;(r=(x=this[o(309)])===null||x===void 0?void 0:x[o(524)])===null||r===void 0||r.call(x)},t[n(1389)]._subscribe=function(o){const x=n;var r,i;return(i=(r=this[x(1269)])===null||r===void 0?void 0:r[x(744)](o))!==null&&i!==void 0?i:hr},t})(pr),Tc={now:function(){return Date[c(1444)]()}},qc=(function(e){const n=c;Un(t,e);function t(o,x){return e[_0x4d07(1241)](this)||this}return t[n(1389)].schedule=function(o,x){return this},t})(Ot),Cr={setInterval:function(e,n){const t=c;for(var o=[],x=2;x<arguments[t(1361)];x++)o[x-2]=arguments[x];return setInterval[t(458)](void 0,m0([e,n],y0(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Wc=(function(e){const n=c;Un(t,e);function t(o,x){const r=_0x4d07;var i=e[r(1241)](this,o,x)||this;return i[r(1617)]=o,i[r(935)]=x,i[r(636)]=!1,i}return t[n(1389)].schedule=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this[r(1584)])return this;this[r(413)]=o;var a=this.id,d=this.scheduler;return a!=null&&(this.id=this[r(1072)](d,a,x)),this[r(636)]=!0,this.delay=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1994)](d,this.id,x),this},t[n(1389)][n(1994)]=function(o,x,r){const i=n;return r===void 0&&(r=0),Cr[i(1968)](o[i(1149)][i(674)](o,this),r)},t[n(1389)][n(1072)]=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this.delay===r&&this[i(636)]===!1?x:(x!=null&&Cr[i(692)](x),void 0)},t[n(1389)][n(1012)]=function(o,x){const r=n;if(this[r(1584)])return new Error("executing a cancelled action");this.pending=!1;var i=this[r(1379)](o,x);if(i)return i;this[r(636)]===!1&&this.id!=null&&(this.id=this[r(1072)](this[r(1617)],this.id,null))},t.prototype[n(1379)]=function(o,x){const r=n;var i=!1,a;try{this[r(935)](o)}catch(d){i=!0,a=d||new Error(r(666))}if(i)return this.unsubscribe(),a},t[n(1389)].unsubscribe=function(){const o=n;if(!this[o(1584)]){var x=this,r=x.id,i=x[o(1617)],a=i[o(907)];this[o(935)]=this[o(413)]=this[o(1617)]=null,this[o(636)]=!1,w0(a,this),r!=null&&(this.id=this[o(1072)](i,r,null)),this[o(1179)]=null,e[o(1389)][o(1109)][o(1241)](this)}},t})(qc),Mr=(function(){const e=c;function n(t,o){const x=_0x4d07;o===void 0&&(o=n[x(1444)]),this[x(605)]=t,this.now=o}return n[e(1389)][e(1543)]=function(t,o,x){const r=e;return o===void 0&&(o=0),new this[r(605)](this,t)[r(1543)](x,o)},n[e(1444)]=Tc[e(1444)],n})(),Xc=(function(e){const n=c;Un(t,e);function t(o,x){const r=_0x4d07;x===void 0&&(x=Mr[r(1444)]);var i=e.call(this,o,x)||this;return i[r(907)]=[],i[r(400)]=!1,i}return t[n(1389)][n(1149)]=function(o){const x=n;var r=this[x(907)];if(this[x(400)]){r.push(o);return}var i;this[x(400)]=!0;do if(i=o[x(1012)](o[x(413)],o[x(1179)]))break;while(o=r[x(441)]());if(this._active=!1,i){for(;o=r[x(441)]();)o[x(1109)]();throw i}},t})(Mr),Kc=new Xc(Wc);function Zc(e){return e&&Ge(e[c(1543)])}function Rc(e){return e[e.length-1]}function Jc(e){const n=c;return Zc(Rc(e))?e[n(1965)]():void 0}var Br=function(e){return e&&typeof e[c(1361)]=="number"&&typeof e!="function"};function Dr(e){return Ge(e?.[c(1694)])}function Lr(e){return Ge(e[Yx])}function Sr(e){return Symbol.asyncIterator&&Ge(e?.[Symbol[c(1810)]])}function Nr(e){const n=c;return new TypeError(n(1867)+(e!==null&&typeof e===n(1612)?n(1967):"'"+e+"'")+n(393))}function _c(){const e=c;return typeof Symbol!==e(2002)||!Symbol[e(1782)]?"@@iterator":Symbol[e(1782)]}var kr=_c();function Ir(e){return Ge(e?.[kr])}function Pr(e){return Nc(this,arguments,function(){var t,o,x,r;return ur(this,function(i){const a=_0x4d07;switch(i.label){case 0:t=e.getReader(),i[a(531)]=1;case 1:i.trys.push([1,,9,10]),i[a(531)]=2;case 2:return[4,ft(t.read())];case 3:return o=i[a(1692)](),x=o[a(999)],r=o[a(285)],r?[4,ft(void 0)]:[3,5];case 4:return[2,i[a(1692)]()];case 5:return[4,ft(x)];case 6:return[4,i[a(1692)]()];case 7:return i[a(1692)](),[3,2];case 8:return[3,10];case 9:return t[a(490)](),[7];case 10:return[2]}})})}function Ar(e){return Ge(e?.[c(1771)])}function _n(e){if(e instanceof ln)return e;if(e!=null){if(Lr(e))return Qc(e);if(Br(e))return Fc(e);if(Dr(e))return $c(e);if(Sr(e))return jr(e);if(Ir(e))return el(e);if(Ar(e))return nl(e)}throw Nr(e)}function Qc(e){return new ln(function(n){const t=_0x4d07;var o=e[Yx]();if(Ge(o[t(744)]))return o.subscribe(n);throw new TypeError(t(649))})}function Fc(e){return new ln(function(n){const t=_0x4d07;for(var o=0;o<e[t(1361)]&&!n[t(1584)];o++)n[t(1169)](e[o]);n[t(524)]()})}function $c(e){return new ln(function(n){const t=_0x4d07;e.then(function(o){const x=_0x4d07;!n[x(1584)]&&(n[x(1169)](o),n[x(524)]())},function(o){return n[_0x4d07(1247)](o)})[t(1694)](null,yr)})}function el(e){return new ln(function(n){const t=_0x4d07;var o,x;try{for(var r=dt(e),i=r[t(1169)]();!i[t(285)];i=r[t(1169)]()){var a=i[t(999)];if(n.next(a),n[t(1584)])return}}catch(d){o={error:d}}finally{try{i&&!i[t(285)]&&(x=r[t(1864)])&&x[t(1241)](r)}finally{if(o)throw o[t(1247)]}}n[t(524)]()})}function jr(e){return new ln(function(n){tl(e,n).catch(function(t){return n[_0x4d07(1247)](t)})})}function nl(e){return jr(Pr(e))}function tl(e,n){var t,o,x,r;return Sc(this,void 0,void 0,function(){var i,a;return ur(this,function(d){const s=_0x4d07;switch(d[s(531)]){case 0:d[s(1893)][s(1935)]([0,5,6,11]),t=kc(e),d[s(531)]=1;case 1:return[4,t.next()];case 2:if(o=d.sent(),!!o[s(285)])return[3,4];if(i=o[s(999)],n[s(1169)](i),n.closed)return[2];d[s(531)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=d[s(1692)](),x={error:a},[3,11];case 6:return d[s(1893)][s(1935)]([6,,9,10]),o&&!o.done&&(r=t[s(1864)])?[4,r[s(1241)](t)]:[3,8];case 7:d[s(1692)](),d[s(531)]=8;case 8:return[3,10];case 9:if(x)throw x[s(1247)];return[7];case 10:return[7];case 11:return n[s(524)](),[2]}})})}function Gn(e,n,t,o,x){const r=c;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(1543)](function(){const a=r;t(),x?e[a(1219)](this[a(1543)](null,o)):this.unsubscribe()},o);if(e.add(i),!x)return i}function Er(e,n){return n===void 0&&(n=0),Rn(function(t,o){t[_0x4d07(744)](Jn(o,function(r){return Gn(o,e,function(){return o[_0x4d07(1169)](r)},n)},function(){return Gn(o,e,function(){return o[_0x4d07(524)]()},n)},function(r){return Gn(o,e,function(){return o[_0x4d07(1247)](r)},n)}))})}function Yr(e,n){return n===void 0&&(n=0),Rn(function(t,o){const x=_0x4d07;o[x(1219)](e.schedule(function(){return t[x(744)](o)},n))})}function xl(e,n){const t=c;return _n(e)[t(1306)](Yr(n),Er(n))}function ol(e,n){const t=c;return _n(e)[t(1306)](Yr(n),Er(n))}function rl(e,n){return new ln(function(t){const o=_0x4d07;var x=0;return n[o(1543)](function(){const r=o;x===e[r(1361)]?t[r(524)]():(t.next(e[x++]),!t.closed&&this[r(1543)]())})})}function il(e,n){return new ln(function(t){var o;return Gn(t,n,function(){o=e[kr](),Gn(t,n,function(){const x=_0x4d07;var r,i,a;try{r=o[x(1169)](),i=r.value,a=r[x(285)]}catch(d){t[x(1247)](d);return}a?t[x(524)]():t[x(1169)](i)},0,!0)}),function(){return Ge(o?.[_0x4d07(1864)])&&o.return()}})}function Ur(e,n){const t=c;if(!e)throw new Error(t(1522));return new ln(function(o){Gn(o,n,function(){const x=_0x4d07;var r=e[Symbol[x(1810)]]();Gn(o,n,function(){const i=x;r.next()[i(1694)](function(a){const d=i;a[d(285)]?o[d(524)]():o[d(1169)](a[d(999)])})},0,!0)})})}function al(e,n){return Ur(Pr(e),n)}function sl(e,n){if(e!=null){if(Lr(e))return xl(e,n);if(Br(e))return rl(e,n);if(Dr(e))return ol(e,n);if(Sr(e))return Ur(e,n);if(Ir(e))return il(e,n);if(Ar(e))return al(e,n)}throw Nr(e)}function z0(e,n){return n?sl(e,n):_n(e)}function un(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Jc(e);return z0(e,t)}function Ke(e,n){var t=Ge(e)?e:function(){return e},o=function(x){return x[_0x4d07(1247)](t())};return new ln(o)}function cl(e){return e instanceof Date&&!isNaN(e)}var ll=Px(function(e){return function(t){const o=_0x4d07;t===void 0&&(t=null),e(this),this[o(316)]=o(1052),this[o(1852)]=o(817),this.info=t}});function dl(e,n){const t=c;var o=cl(e)?{first:e}:{each:e},x=o[t(1098)],r=o[t(456)],i=o[t(764)],a=i===void 0?fl:i,d=o[t(1617)],s=d===void 0?Kc:d,f=o[t(343)],u=f===void 0?null:f;if(x==null&&r==null)throw new TypeError(t(1592));return Rn(function(h,b){const v=t;var g,w,M=null,m=0,y=function(z){w=Gn(b,s,function(){const p=_0x4d07;try{g[p(1109)](),_n(a({meta:u,lastValue:M,seen:m}))[p(744)](b)}catch(N){b[p(1247)](N)}},z)};g=h.subscribe(Jn(b,function(z){w?.[_0x4d07(1109)](),m++,b.next(M=z),r>0&&y(r)},void 0,void 0,function(){const z=_0x4d07;!w?.[z(1584)]&&w?.[z(1109)](),M=null})),!m&&y(x!=null?typeof x===v(1493)?x:+x-s.now():r)})}function fl(e){throw new ll(e)}function C0(e,n){return Rn(function(t,o){const x=_0x4d07;var r=0;t[x(744)](Jn(o,function(i){const a=x;o[a(1169)](e[a(1241)](n,i,r++))}))})}function ul(e,n,t,o,x,r,i,a){var d=[],s=0,f=0,u=!1,h=function(){u&&!d[_0x4d07(1361)]&&!s&&n.complete()},b=function(g){const w=_0x4d07;return s<o?v(g):d[w(1935)](g)},v=function(g){const w=_0x4d07;s++;var M=!1;_n(t(g,f++))[w(744)](Jn(n,function(m){n.next(m)},function(){M=!0},void 0,function(){const m=w;if(M)try{s--;for(var y=function(){var p=d[_0x4d07(441)]();i||v(p)};d.length&&s<o;)y();h()}catch(z){n[m(1247)](z)}}))};return e.subscribe(Jn(n,b,function(){u=!0,h()})),function(){}}function Ux(e,n,t){const o=c;return t===void 0&&(t=1/0),Ge(n)?Ux(function(x,r){return C0(function(i,a){return n(x,i,r,a)})(_n(e(x,r)))},t):(typeof n===o(1493)&&(t=n),Rn(function(x,r){return ul(x,r,e,t)}))}function M0(e){return Rn(function(n,t){const o=_0x4d07;var x=null,r=!1,i;x=n[o(744)](Jn(t,void 0,void 0,function(a){const d=o;i=_n(e(a,M0(e)(n))),x?(x[d(1109)](),x=null,i.subscribe(t)):r=!0})),r&&(x[o(1109)](),x=null,i[o(744)](t))})}function hl(e,n,t){var o=Ge(e)||n||t?{next:e,error:n,complete:t}:e;return o?Rn(function(x,r){const i=_0x4d07;var a;(a=o[i(744)])===null||a===void 0||a[i(1241)](o);var d=!0;x[i(744)](Jn(r,function(s){const f=i;var u;(u=o[f(1169)])===null||u===void 0||u[f(1241)](o,s),r[f(1169)](s)},function(){const s=i;var f;d=!1,(f=o[s(524)])===null||f===void 0||f[s(1241)](o),r[s(524)]()},function(s){const f=i;var u;d=!1,(u=o[f(1247)])===null||u===void 0||u[f(1241)](o,s),r[f(1247)](s)},function(){const s=i;var f,u;d&&((f=o[s(1109)])===null||f===void 0||f[s(1241)](o)),(u=o[s(2062)])===null||u===void 0||u[s(1241)](o)}))}):wr}function Gx(e){const n=c;return encodeURIComponent((e||"")[n(475)]()||n(802))}function gl(e){const n=c;return e[n(720)]==="external"?e[n(964)]+"::ext::"+Gx(e.externalEventKey??""):e.bindNodeId+"::"+e[n(720)]}function Gr(e,n){return e+":"+n}class ut{static[c(1259)];eventSubjects=new Map;subscriptions=new Map;[c(436)]=new Map;[c(1911)]=new Map;[c(1839)];constructor(){}static getInstance(){const n=c;return!ut.instance&&(ut[n(1259)]=new ut),ut.instance}registerEventBlock(n){const t=c;this.eventBlocks[t(1016)](n.id,n)}[c(1050)](n){this[c(436)].delete(n)}[c(1096)](n){const t=c;return this.eventBlocks[t(946)](n)}[c(1304)](n){const t=c;this[t(1839)]=n}[c(1435)](n){const t=c;if(!n)return;const o=this[t(1839)];this.defaultRuntimeHandlers={dataRequest:{...o?.[t(1407)],...n[t(1407)]},external:{...o?.[t(1129)],...n[t(1129)]}}}[c(1664)](n){const t=c,o=this[t(1839)];if(!(!o&&!n))return{dataRequest:{...o?.dataRequest,...n?.[t(1407)]},external:{...o?.[t(1129)],...n?.[t(1129)]}}}[c(840)](n){const t=c,o=this[t(958)].get(n.id);o&&(o[t(1109)](),this.subscriptions.delete(n.id)),this[t(969)].delete(n.id)}[c(1564)](n){const t=c,o=gl(n),x=this[t(1911)][t(946)](o);x&&x.id!==n.id&&this[t(840)](x),this.nodeEventBindings.set(o,n),!this.eventSubjects[t(1807)](n.id)&&this.createEventFlowPipeline(n)}[c(1642)](n,t,o){const x=c;if(t===x(1129)){const d=n+x(1258)+Gx(o??""),s=this[x(1911)][x(946)](d);s&&(this[x(840)](s),this[x(1911)][x(2026)](d));return}const r=n+"::"+t,i=Gr(n,t),a=this.nodeEventBindings.get(r)??this[x(1911)].get(i);a&&(this[x(840)](a),this.nodeEventBindings[x(2026)](r),this.nodeEventBindings[x(2026)](i))}[c(289)](n){const t=c,o=[];this[t(1911)][t(1777)]((x,r)=>{const i=t;x[i(964)]===n&&o[i(1935)]({key:r,root:x})}),o[t(1777)](({key:x,root:r})=>{const i=t;this[i(840)](r),this[i(1911)][i(2026)](x)})}getNodeEventBindings(n){const t=c,o=[];return this[t(1911)][t(1777)](x=>{x[t(964)]===n&&o.push(x)}),o}[c(1039)](n,t,o){const x=c,r=n+"::"+t,i=this[x(1911)].get(r)??this.nodeEventBindings[x(946)](Gr(n,t));if(!i||!i[x(1118)])return un({success:!0,result:null,path:[],duration:0});if(!this[x(969)][x(946)](i.id))return Ke(()=>new Error("Event flow not initialized for "+r));const d=Date[x(1444)](),s={...o,executionPath:o[x(634)]||[],runtimeHandlers:this[x(1664)](o.runtimeHandlers)};return this[x(489)](i,s)[x(1306)](C0(f=>({success:!0,result:f,path:s[x(634)],duration:Date[x(1444)]()-d})),M0(f=>un({success:!1,error:f[x(316)]||x(1813),path:s[x(634)],duration:Date[x(1444)]()-d})))}[c(801)](n,t,o){const x=c,r=n+x(1258)+Gx(t),i=this.nodeEventBindings.get(r);if(!i||!i[x(1118)])return un({success:!0,result:null,path:[],duration:0});if(!this[x(969)][x(946)](i.id))return Ke(()=>new Error(x(982)+r));const d=Date[x(1444)](),s={...o,executionPath:o.executionPath||[],runtimeHandlers:this.mergeRuntimeHandlers(o[x(1408)])};return this[x(489)](i,s)[x(1306)](C0(f=>({success:!0,result:f,path:s.executionPath,duration:Date.now()-d})),M0(f=>un({success:!1,error:f.message||x(1813),path:s[x(634)],duration:Date[x(1444)]()-d})))}[c(1051)](n){const t=c,o=new pr;this[t(969)][t(1016)](n.id,o)}[c(489)](n,t){const o=c,{nodes:x,edges:r}=n.flowData;if(x.length===0)return un(null);const i=x[o(416)](a=>a[o(513)][o(1361)]===0);return i.length===0?Ke(()=>new Error("No start node found in event flow")):this[o(1602)](i,x,r,t,{})}[c(1602)](n,t,o,x,r){const i=c;if(n[i(1361)]===0)return un(r);const a=n[i(1549)](d=>this[i(280)](d,x,r)[i(1306)](hl(s=>{const f=i;r[d.id]=s,x[f(634)][f(1935)](d.id)})));return z0(a)[i(1306)](Ux(d=>d,1),C0(()=>{const d=i,s=new Set;return n[d(1777)](u=>{const h=d;u[h(1158)].forEach(b=>{const v=h,g=t[v(997)](w=>w.id===b);g&&g.inputs.every(M=>r[M]!==void 0)&&s[v(1219)](b)})}),t[d(416)](u=>s[d(1807)](u.id))}),Ux(d=>{const s=i;return d[s(1361)]>0?this[s(1602)](d,t,o,x,r):un(r)}),dl(3e4),M0(d=>{const s=i;return console[s(1247)](s(1341),d),Ke(()=>d)}))}[c(795)](n){const t=c;return this[t(436)].get(n[t(1615)])??n[t(1467)].eventBlock}interpolateBuiltinString(n,t,o){const x=c;return n[x(974)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const a=x,d=String(i)[a(475)]();if(d.startsWith("$")){const f=this[a(679)](o,d[a(1791)](1));return f==null?"":String(f)}const s=t[d];return s==null?"":String(s)})}[c(1683)](n,t,o){const x=c,r=n.builtinId;if(!r)return Ke(()=>new Error(x(1497)));if(r==="antdMessage"){const i=n.builtinConfig??{},a=String(i[x(1719)]??""),d=i[x(1099)]??x(1443),s=i.duration,f=this[x(1861)](a,o,t);if(!f[x(475)]())return Ke(()=>new Error(x(1112)));try{const u={type:d,content:f};if(s!=null&&s!==""){const h=Number(s);!Number[x(498)](h)&&(u.duration=h)}return C[x(316)][x(590)](u),un({ok:!0,builtinId:r,content:f,level:d})}catch(u){return Ke(()=>u)}}if(r==="switchCanvas"){const i=n[x(1180)]??{},a=String(i[x(365)]??"")[x(475)]();if(!a)return Ke(()=>new Error(x(908)));const d=t[x(701)]??t[x(292)];if(!d)return Ke(()=>new Error(x(2056)));try{return d(a),un({ok:!0,builtinId:r,targetCanvasId:a,withHistory:!!t.jumpToCanvas})}catch(s){return Ke(()=>s)}}return Ke(()=>new Error(x(987)+String(r)))}invokeRuntimeHandler(n,t,o){try{const x=n(t,o);return x instanceof Promise?z0(x):un(x)}catch(x){return Ke(()=>x)}}[c(280)](n,t,o){const x=c,r=this[x(795)](n);if(!r)return Ke(()=>new Error(x(435)+n[x(1615)]));const i=this[x(1820)](n,t,o),a=r[x(1992)]??x(877);if(a===x(1407)){const d=(r[x(1761)]||"")[x(475)]();if(!d)return Ke(()=>new Error("事件块未配置 dataRequestKey"));const s=t.runtimeHandlers?.[x(1407)]?.[d];return s?this[x(1725)](s,t,i):Ke(()=>new Error(x(1927)+d))}if(a===x(1129)){const d=(r[x(1689)]||"").trim();if(!d)return Ke(()=>new Error(x(706)));const s=t[x(1408)]?.[x(1129)]?.[d];return s?this[x(1725)](s,t,i):Ke(()=>new Error(x(1143)+d))}if(a===x(320))return this[x(1683)](r,t,i);try{const d=new Function("node","context",x(264),r[x(536)]),s=d(t[x(1887)],t,i);return s instanceof Promise?z0(s):un(s)}catch(d){return Ke(()=>d)}}prepareEventArgs(n,t,o){const x=c,r={$event:t[x(1841)],$data:t.data,$node:t[x(1887)]},{inputMapping:i}=n[x(1467)];return i&&Object[x(857)](i).forEach(([a,d])=>{const s=x;if(d[s(992)]("$prev.")){const f=d[s(974)](s(766),"");r[a]=o[f]}else if(d[s(992)]("$")){const f=d[s(1791)](1);r[a]=this.getValueFromPath(t,f)}else r[a]=d}),r}getValueFromPath(n,t){const o=c;return t[o(364)](".")[o(1926)]((x,r)=>{if(x!==null&&typeof x===o(1612)&&r in x)return x[r]},n)}[c(1490)](){const n=c;this[n(958)][n(1777)](t=>t[n(1109)]()),this.subscriptions[n(1600)](),this[n(969)][n(1600)](),this.nodeEventBindings.clear()}}const ht=ut[c(508)](),Or=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=c,{eventFlow:r,switchCanvas:i,jumpToCanvas:a}=Xe(),d=B[x(1100)](null),s=B.useCallback(()=>{const u=x;return r.eventRoots.filter(h=>h[u(964)]===e.id&&h[u(1118)])},[r[x(406)],e.id]),f=B.useCallback(u=>h=>{const b=_0x4d07,v=s()[b(416)](w=>w[b(720)]===u);if(v[b(1361)]===0)return;u!==b(705)&&u!==b(1282)&&h.preventDefault(),h[b(1794)]();const g=o&&typeof o=="object"?{...o}:{};v.forEach(w=>{const M=b;ht.emit(e.id,u,{triggerNode:e,originalEvent:h,data:g,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:a})[M(744)]({next:m=>{const y=M;!m[y(575)]&&console[y(1247)](y(1996),m[y(1247)])},error:m=>{const y=M;console[y(1247)](y(275),m)}})})},[s,e,t,o]);return B[x(1753)](()=>{const u=x;return s()[u(1777)](b=>{ht[u(1564)](b)}),()=>{ht.unbindAllForNode(e.id)}},[s,e.id]),B.useEffect(()=>{const u=x,h=d[u(405)];if(!h)return;const b={click:f("click"),mousedown:f("mouseDown"),mouseup:f("mouseUp"),dblclick:f(u(1877)),mouseover:f(u(705)),mouseleave:f("mouseLeave"),mouseenter:f(u(589)),contextmenu:f(u(339))};return Object[u(857)](b).forEach(([v,g])=>{h[u(1534)](v,g,!0)}),()=>{const v=u;Object[v(857)](b)[v(1777)](([g,w])=>{h[v(1357)](g,w,!0)})}},[f]),B.cloneElement(n,{ref:u=>{const h=x;d[h(405)]=u;const b=n[h(1406)];typeof b===h(2002)?b(u):b&&h(405)in b&&(b[h(405)]=u)}})},{Text:Hr}=C[c(2074)],Vr=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array.isArray(e)){const o=e[t(997)](x=>x[t(1918)]===n);if(o)return{value:o[t(999)],unit:o.unit}}else if(typeof e===t(1612)){const o=n[t(364)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(1612))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e.unit}}return{value:void 0}};function bl(e){return Array[c(862)](e)}const yl=(e,n,t)=>{const o=c,x=e.content||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const s=n[o(997)](f=>f.id===i);if(s){let f;bl(s[o(1302)])?a!=null&&d!=null?f=s[o(1302)].find(h=>h[a]===d)||{}:f={}:f=s.sample;const u=t&&typeof t===o(1612)?{...f,...t}:f;return Vr(u,r)}}return Vr(t,r)},ml=(e,n)=>{const t=c;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(894)](n??2)},wl=(e,n,t,o,x)=>{const r=c;switch(e.type){case r(1242):const i=e,a=i[r(247)],d=i[r(1934)];let s=i[r(528)];return d&&s&&s[r(1483)](r(426))&&(e[r(1852)]==="矩形"?s=r(407)+encodeURIComponent(r(839)+d+r(833)):e.name==="圆形"?s=r(407)+encodeURIComponent(r(1426)+d+r(1006)):e.name===r(979)&&(s="data:image/svg+xml,"+encodeURIComponent(r(839)+d+r(1736)))),l[r(886)](r(866),{className:r(906),style:{backgroundColor:a},children:s?l[r(886)](r(1161),{src:s,alt:e[r(1852)],style:{width:"100%",height:r(1822),objectFit:r(1209)}}):l.jsx(r(866),{className:r(1495),children:l[r(886)](r(1227),{className:"text-gray-400 text-xs",children:"无图片"})})});case r(388):const f=e,{label:u,value:h,valueSourceCode:b,unit:v,decimals:g,labelStyle:w,valueStyle:M,customStyle:m}=f[r(1719)]||{},{value:y,unit:z}=b?yl(f,x||[],n):{value:void 0,unit:void 0},p=y!==void 0?y:h,N=ml(p,g),O=v||z||"";return l[r(1669)](r(866),{className:r(932),style:{...m},children:[u&&l[r(886)](Hr,{style:{fontSize:14,fontWeight:r(382),color:r(1425),textAlign:"left",...w},children:u}),N&&l[r(1669)](Hr,{style:{fontSize:14,color:r(1028),textAlign:"left",...M},children:[N,O?" "+O:""]})]});case r(922):const G=e,{thickness:T=2,color:j=r(1278),dashed:q=!1,lineType:V=q?r(1710):"solid",lineWeight:W=T,startX:H=0,startY:S=0,endX:L=100,endY:D=0}=G[r(879)]||{},E=$=>{const ee=r,xe=Math[ee(2036)](W,1);switch($){case ee(1316):return"";case"dashed":return xe*8+","+xe*4;case ee(1793):return xe*12+","+xe*3+","+xe*2+","+xe*3;case"phantom":return xe*12+","+xe*3+","+xe*2+","+xe*3+","+xe*2+","+xe*3;case"dot":return xe+","+xe*3;case ee(1291):return xe*8+","+xe*3+","+xe+","+xe*3;default:return""}},U=E(V),k=t?"#1890ff":j;return l[r(886)]("div",{className:r(1680),style:{overflow:r(481)},children:l[r(1669)](r(1712),{className:"absolute top-0 left-0",width:"100%",height:r(1822),style:{overflow:r(481),pointerEvents:r(1185)},children:[l[r(886)](r(653),{x1:H,y1:S,x2:L,y2:D,stroke:r(1634),strokeWidth:Math.max(W,10),strokeLinecap:"round",strokeLinejoin:r(1836),style:{pointerEvents:r(627),cursor:r(1673)}}),l.jsx(r(653),{x1:H,y1:S,x2:L,y2:D,stroke:k,strokeWidth:W,strokeDasharray:U,strokeLinecap:r(1836),strokeLinejoin:"round",style:{pointerEvents:"none"}})]})});case"CUSTOM":const R=e;return R[r(1488)]?R[r(1488)]({}):l[r(886)]("div",{className:r(461),children:l[r(886)]("span",{className:r(328),children:r(642)})});default:return l[r(886)]("div",{className:r(461),children:l[r(886)](r(1227),{className:r(328),children:r(1102)})})}},vl=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:d})=>{const s=c,{normalStyle:f,controlInfo:u}=e,{isClickable:h,isDraggable:b,isResizable:v}=u,g=e[s(523)],w=Xe(I=>I[s(290)]),M=Xe(I=>I[s(687)]),m=B[s(1100)](t);B[s(1753)](()=>{const I=s;m[I(405)]=t},[t]);const[y,z]=B.useState(null),p=B[s(1100)](null),N=B.useRef(null),O=B[s(1100)](null),G=B[s(1100)](null),T=B[s(1100)](null),[j,q]=B[s(1704)](null),V=B[s(1100)](null),W=B[s(1100)](null),H=B[s(1616)](()=>{const I=s,Z=e[I(523)].statusList;if(Z[I(1361)]===0)return;const ne=ar(Z,x,w);return ne||Z[0]},[e[s(523)][s(723)],x,w]),S=B[s(1100)](e[s(523)].currentStatusId);B[s(1753)](()=>{const I=s;S[I(405)]=e[I(523)][I(993)]},[e.id]),B[s(1753)](()=>{const I=s,Z=H?.id;Z!==void 0&&S[I(405)]!==Z&&(S[I(405)]=Z,M(e.id,{contentInfo:{...e.contentInfo,currentStatusId:Z}}))},[H?.id,e.id,M]);const L=H?.[s(1309)],D=L?.[s(478)]==="LINE",E=D?L.config:null,U=f[s(918)]??1,k=(f[s(419)]||100)*U,R=(f.height||100)*U,$=B[s(1455)](()=>{const I=s,Z=T[I(405)]?.[I(736)](I(1173));if(!Z)return i;const ne=Z.getBoundingClientRect(),te=parseFloat(Z[I(962)][I(419)]);return te?ne[I(419)]/te:i},[i]),ee=B[s(1455)]((I,Z)=>{const ne=s;I.stopPropagation(),I.preventDefault();const te=E?.[ne(1629)]||0,X=E?.[ne(887)]||0,oe=E?.[ne(1204)]||0,me=E?.endY||0,ze=f.x||0,Be=f.y||0,Ie=Math[ne(2036)]((E?.[ne(244)]||E?.thickness||2)*2,4),Ae=Math[ne(714)](te,oe),De=Math[ne(714)](X,me),Le=Math[ne(2036)](te,oe),Ue=Math[ne(2036)](X,me),Pe=Math[ne(2036)](Le-Ae,Ie),Oe=Math[ne(2036)](Ue-De,Ie);p.current={mouseX:I[ne(1086)],mouseY:I[ne(1604)],startX:te,startY:X,endX:oe,endY:me,nodeX:ze,nodeY:Be};const He=Math.min(te,oe),Ze=Math[ne(714)](X,me);O[ne(405)]={nodeX:ze+He,nodeY:Be+Ze,width:Pe,height:Oe,startX:te-He,startY:X-Ze,endX:oe-He,endY:me-Ze},N[ne(405)]=H||null,z(Z)},[E,f.x,f.y,H]);B[s(1753)](()=>{const I=s;if(!y||!D||!E||!r)return;const Z=te=>{const X=_0x4d07,oe=p[X(405)];if(!oe||!T[X(405)])return;const me=$(),ze=(te[X(1086)]-oe[X(547)])/me,Be=(te[X(1604)]-oe.mouseY)/me;let Ie=oe[X(1629)],Ae=oe.startY,De=oe[X(1204)],Le=oe[X(1517)],Ue=oe[X(1605)],Pe=oe.nodeY;y===X(867)?(Ie=oe[X(1629)]+ze,Ae=oe[X(887)]+Be,Ie<0&&(Ue=oe[X(1605)]+Ie,De=oe[X(1204)]-Ie,Ie=0),Ae<0&&(Pe=oe[X(1733)]+Ae,Le=oe[X(1517)]-Ae,Ae=0)):(De=oe[X(1204)]+ze,Le=oe[X(1517)]+Be,De<0&&(Ue=oe.nodeX+De,Ie=oe[X(1629)]-De,De=0),Le<0&&(Pe=oe[X(1733)]+Le,Ae=oe.startY-Le,Le=0));const Oe=Math[X(2036)]((E[X(244)]||2)*2,4),He=Math[X(714)](Ie,De),Ze=Math.min(Ae,Le),dn=Math[X(2036)](Ie,De),wn=Math[X(2036)](Ae,Le),Fe=Ue+He,nn=Pe+Ze,$e=Ie-He,tn=Ae-Ze,cn=De-He,jn=Le-Ze,Wn=Math[X(2036)](dn-He,Oe),En=Math[X(2036)](wn-Ze,Oe);O.current={nodeX:Fe,nodeY:nn,width:Wn,height:En,startX:$e,startY:tn,endX:cn,endY:jn};const qe=T[X(405)];qe.style[X(657)]=Fe+"px",qe.style[X(1653)]=nn+"px",qe.style[X(419)]=Wn+"px",qe.style[X(691)]=En+"px",qe[X(871)](X(1954))[X(1777)](vn=>{const Nt=X;vn[Nt(990)]("x1",String($e)),vn[Nt(990)]("y1",String(tn)),vn.setAttribute("x2",String(cn)),vn.setAttribute("y2",String(jn))});const Re=qe.querySelector('[data-handle="start"]'),Dn=qe[X(1952)](X(2069));Re&&(Re.style[X(657)]=$e-6+"px",Re[X(962)][X(1653)]=tn-6+"px"),Dn&&(Dn.style[X(657)]=cn-6+"px",Dn[X(962)][X(1653)]=jn-6+"px")},ne=()=>{const te=_0x4d07,X=O[te(405)];if(!X||!r){z(null),p[te(405)]=null,O[te(405)]=null,N[te(405)]=null;return}const oe=Xe[te(308)]().nodes[te(997)](De=>De.id===e.id),me=oe?.contentInfo[te(723)]??e[te(523)][te(723)],ze=N[te(405)],Be=ze?.id??me.find(De=>De[te(1309)][te(478)]===te(922))?.id,Ie=me.map(De=>{const Le=te;if(De[Le(1309)][Le(478)]!==Le(922)||De.id!==Be)return De;const Ue=De.material;return{...De,material:{...Ue,config:{...Ue[Le(879)],startX:X.startX,startY:X[Le(887)],endX:X[Le(1204)],endY:X[Le(1517)]}}}}),Ae=oe?.[te(523)]??g;r(e.id,{normalStyle:{x:X[te(1605)],y:X.nodeY,width:X[te(419)],height:X.height},contentInfo:{...Ae,statusList:Ie}}),z(null),p[te(405)]=null,O[te(405)]=null,N[te(405)]=null};return window.addEventListener("mousemove",Z),window[I(1534)](I(463),ne),()=>{const te=I;window[te(1357)]("mousemove",Z),window[te(1357)]("mouseup",ne)}},[y,D,E,e.id,f,g,e[s(523)][s(723)],r,$]),B[s(1753)](()=>{const I=s;if(!j||!r)return;const Z=te=>{const X=_0x4d07;if(!T[X(405)])return;const oe=$(),me=(te[X(1086)]-j[X(1629)])/oe,ze=(te[X(1604)]-j[X(887)])/oe,Be=j[X(1575)],Ie=Be*Math.PI/180,Ae=Math[X(1622)](Ie),De=Math.sin(Ie),Le=me*Ae+ze*De,Ue=-me*De+ze*Ae;let Pe=j[X(1857)],Oe=j[X(1424)],He=j[X(619)],Ze=j[X(914)];switch(j[X(970)]){case"se":Pe=Math[X(2036)](20,j[X(1857)]+Le),Oe=Math[X(2036)](20,j[X(1424)]+Ue);break;case"sw":Pe=Math[X(2036)](20,j.startWidth-Le),Oe=Math[X(2036)](20,j[X(1424)]+Ue),He=j[X(619)]+(j[X(1857)]-Pe);break;case"ne":Pe=Math[X(2036)](20,j[X(1857)]+Le),Oe=Math.max(20,j.startHeight-Ue),Ze=j.startNodeY+(j[X(1424)]-Oe);break;case"nw":Pe=Math.max(20,j[X(1857)]-Le),Oe=Math[X(2036)](20,j[X(1424)]-Ue),He=j[X(619)]+(j[X(1857)]-Pe),Ze=j[X(914)]+(j[X(1424)]-Oe);break}if(Be!==0){let wn=0,Fe=0,nn=0,$e=0;switch(j.corner){case"se":wn=0,Fe=0,nn=0,$e=0;break;case"sw":wn=j[X(1857)],Fe=0,nn=Pe,$e=0;break;case"ne":wn=0,Fe=j[X(1424)],nn=0,$e=Oe;break;case"nw":wn=j[X(1857)],Fe=j[X(1424)],nn=Pe,$e=Oe;break}const tn=wn-j[X(1857)]/2,cn=Fe-j[X(1424)]/2,jn=tn*Ae-cn*De,Wn=tn*De+cn*Ae,En=nn-Pe/2,qe=$e-Oe/2,rt=En*Ae-qe*De,Re=En*De+qe*Ae;He=j[X(619)]+j.startWidth/2-Pe/2+jn-rt,Ze=j[X(914)]+j.startHeight/2-Oe/2+Wn-Re}G[X(405)]={x:He,y:Ze,width:Pe,height:Oe};const dn=T[X(405)];dn[X(962)][X(657)]=He+"px",dn[X(962)].top=Ze+"px",dn[X(962)].width=Pe+"px",dn[X(962)][X(691)]=Oe+"px"},ne=()=>{const te=_0x4d07,X=G[te(405)];X&&r(e.id,{normalStyle:{...f,x:X.x,y:X.y,width:X[te(419)],height:X[te(691)]}}),q(null),G.current=null};return window[I(1534)](I(1569),Z),window[I(1534)](I(463),ne),()=>{const te=I;window[te(1357)](te(1569),Z),window[te(1357)](te(463),ne)}},[j,r,e.id,f,$]);const xe=B[s(1455)]((I,Z)=>{const ne=s;I.stopPropagation(),I[ne(310)](),q({corner:Z,startX:I[ne(1086)],startY:I[ne(1604)],startWidth:f[ne(419)]||100,startHeight:f.height||100,startNodeX:f.x||0,startNodeY:f.y||0,startRotate:f[ne(341)]||0})},[f[s(419)],f[s(691)],f.x,f.y,f[s(341)]]),re=B[s(1455)](I=>{const Z=s;I[Z(1794)](),I[Z(310)]();const ne=T[Z(405)]?.[Z(1436)]();if(!ne)return;V[Z(405)]={startX:I[Z(1086)],startY:I[Z(1604)],startAngle:f[Z(341)]||0,centerX:ne[Z(657)]+ne.width/2,centerY:ne[Z(1653)]+ne[Z(691)]/2};const te=f[Z(1696)]||"",X=ze=>{const Be=Z;T.current&&(T.current[Be(962)][Be(1696)]=te?Be(1955)+ze+Be(1473)+te:"rotate("+ze+Be(1828))};X(f[Z(341)]||0);const oe=ze=>{const Be=Z;if(!V[Be(405)])return;const Ie=ze[Be(1086)]-V[Be(405)][Be(261)],Ae=ze[Be(1604)]-V[Be(405)][Be(340)];let Le=(Math[Be(1766)](Ae,Ie)*(180/Math.PI)+90)%360;Le<0&&(Le+=360),W.current=Le,X(Le)},me=()=>{const ze=Z,Be=W.current??V[ze(405)].startAngle;if(W.current=null,V[ze(405)]=null,r){const Ie=e[ze(2022)];r(e.id,{normalStyle:{...Ie,rotate:Math.round(Be)}})}T.current?.[ze(962)][ze(1296)](ze(1696)),window[ze(1357)]("mousemove",oe),window.removeEventListener(ze(463),me)};window[Z(1534)](Z(1569),oe),window[Z(1534)](Z(463),me)},[f.rotate,f[s(1696)],r,e.id,e[s(2022)]]),ie=e[s(478)]==="group",fe=f[s(1696)]||"",ye=f[s(341)]||0,ce={position:s(1290),left:f.x||0,top:f.y||0,width:k,height:R,background:ie?s(1634):f[s(1898)]||s(1634),backgroundImage:ie?void 0:f[s(1671)]?s(1353)+f[s(1671)]+")":void 0,backgroundSize:"cover",backgroundPosition:s(1793),padding:Array[s(862)](f.padding)?f[s(684)][s(748)](s(1034))+"px":f[s(684)],margin:Array.isArray(f[s(420)])?f.margin[s(748)](s(1034))+"px":f[s(420)],borderRadius:ie?void 0:f.borderRadius,border:D||ie?"none":n?"2px solid #1890ff":f[s(652)]||s(1565),outline:n&&ie&&!D?s(263):void 0,pointerEvents:s(2006),opacity:f[s(1512)]??1,transform:D?fe||void 0:fe?s(1955)+ye+"deg) "+fe:s(1955)+ye+s(1828),transformOrigin:s(694),zIndex:n?1e3:f[s(1496)]??1,cursor:s(b&&!y?722:h?1673:549),boxSizing:s(697),overflow:n||D||ie?"visible":"hidden"},J={width:"100%",height:"100%",position:s(678),transformOrigin:"center center",...f[s(254)]||f[s(823)]?{transform:s(793)+(f[s(254)]?-1:1)+s(1693)+(f[s(823)]?-1:1)+")"}:{}},le=E?{x:E[s(1629)]||0,y:E[s(887)]||0}:{x:0,y:0},ue=E?{x:E.endX||0,y:E[s(1517)]||0}:{x:0,y:0},Y=l.jsxs(s(866),{ref:T,"data-node-id":e.id,style:ce,onClick:I=>{const Z=s;console[Z(1461)]("NodeRenderer onClick",e.id,"isClickable:",h);const ne=m.current;h&&ne&&!y&&!j&&!V.current&&(I[Z(1794)](),ne(I))},onMouseDown:I=>{b&&o&&!y&&o(I)},children:[n&&!D&&l[s(1669)](l[s(1338)],{children:[!ie&&l.jsxs(l[s(1338)],{children:[l[s(886)](s(866),{className:s(384),style:{zIndex:9999,pointerEvents:s(2006),cursor:"nw-resize",marginTop:s(1721),marginLeft:"-6px"},onMouseDown:I=>xe(I,"nw"),title:"拖拽调整大小"}),l.jsx(s(866),{className:s(312),style:{zIndex:9999,pointerEvents:"auto",cursor:s(1346),marginTop:s(1721),marginRight:"-6px"},onMouseDown:I=>xe(I,"ne"),title:"拖拽调整大小"}),l.jsx(s(866),{className:"absolute bottom-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:s(2083),marginBottom:s(1721),marginLeft:"-6px"},onMouseDown:I=>xe(I,"sw"),title:s(628)}),l[s(886)]("div",{className:s(1333),style:{zIndex:9999,pointerEvents:s(2006),cursor:s(1066),marginBottom:s(1721),marginRight:s(1721)},onMouseDown:I=>xe(I,"se"),title:"拖拽调整大小"})]}),l.jsx(s(866),{className:s(798),style:{zIndex:9999,pointerEvents:s(2006),cursor:s(325),marginTop:s(1885),transform:s(1960),boxShadow:s(1735)},onMouseDown:I=>re(I),title:s(660)}),l[s(886)](s(866),{className:s(847),style:{zIndex:9998,pointerEvents:"none",marginTop:s(959),transform:s(1960)}}),l[s(1669)](s(866),{className:"absolute -top-6 left-0 bg-blue-500 text-white text-xs px-2 py-0.5 rounded whitespace-nowrap",children:[e[s(1852)]," ",H?"("+H[s(1852)]+")":""]})]}),n&&D&&E&&r&&l.jsxs(l[s(1338)],{children:[l[s(886)](s(866),{"data-handle":s(867),className:s(1075),style:{left:le.x-6,top:le.y-6,boxShadow:s(1735)},onMouseDown:I=>ee(I,"start"),title:s(349)}),l[s(886)]("div",{"data-handle":s(1510),className:s(1075),style:{left:ue.x-6,top:ue.y-6,boxShadow:s(1735)},onMouseDown:I=>ee(I,s(1510)),title:s(344)}),l[s(886)](s(866),{className:s(1768),children:e[s(1852)]})]}),l[s(1669)](s(866),{style:D?void 0:J,className:D?s(1680):void 0,children:[l[s(886)]("div",{className:s(1680),children:L?l[s(886)](s(866),{className:s(262),children:wl(L,x,n,e,w)}):ie?null:l[s(886)](s(866),{className:"w-full h-full flex items-center justify-center text-gray-300 text-xs",children:"无状态"})}),e[s(478)]===s(351)&&e[s(1448)]&&l[s(886)](s(866),{className:s(358),children:e[s(1448)][s(1549)](I=>l[s(886)](s(866),{className:s(1814),children:l[s(886)](Ox,{node:I,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:d})},I.id))})]})]});return a?l.jsx(Or,{node:e,flowContextData:d,children:Y}):Y},Ox=B.memo(vl,(e,n)=>{const t=c,o=e.node,x=n[t(784)],r=o.id===x.id&&o[t(2022)].x===x[t(2022)].x&&o[t(2022)].y===x[t(2022)].y&&o.normalStyle[t(419)]===x.normalStyle[t(419)]&&o.normalStyle[t(691)]===x[t(2022)][t(691)]&&o[t(2022)][t(341)]===x.normalStyle[t(341)]&&o[t(2022)][t(254)]===x[t(2022)].flipX&&o[t(2022)][t(823)]===x[t(2022)].flipY,i=o[t(523)]===x.contentInfo,a=JSON.stringify(e[t(735)]??null)===JSON.stringify(n[t(735)]??null),d=e[t(1232)]===n.isSelected&&e[t(918)]===n[t(918)]&&e.enableEventFlow===n[t(480)]&&a,s=b=>{const v=t,g=[];return b[v(523)]?.[v(723)]?.forEach(w=>{const M=v;if(w[M(1309)]?.type===M(922)){const m=w[M(1309)][M(879)];g[M(1935)]({statusId:w.id,startX:m?.[M(1629)]??0,startY:m?.startY??0,endX:m?.[M(1204)]??100,endY:m?.[M(1517)]??0})}}),g},f=s(o),u=s(x);let h=!0;if(f.length!==u[t(1361)])h=!1;else for(let b=0;b<f[t(1361)];b++){const v=f[b],g=u[t(997)](w=>w[t(314)]===v[t(314)]);if(!g||v[t(1629)]!==g[t(1629)]||v[t(887)]!==g[t(887)]||v[t(1204)]!==g[t(1204)]||v[t(1517)]!==g[t(1517)]){h=!1;break}}return r&&i&&d&&h}),pl=()=>{const e=c,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:a,nextSiblingCanvas:d,prevSiblingCanvas:s,setActiveSiblingGroup:f}=Xe(),u=n[e(1871)]??null,h=n[e(497)]||[],[b,v]=B[e(1704)](h[0]?.id??null),g=B[e(1616)](()=>h[e(997)](j=>j.id===b)||null,[h,b]),[w,M]=B.useState(null),[m,y]=B[e(1704)](""),[z,p]=B[e(1704)](void 0),N=B.useMemo(()=>{const j=e;return g?n[j(1795)][j(416)](q=>!g[j(2088)][j(1483)](q.id)):n.canvases},[n[e(1795)],g]),O=B[e(1455)](()=>{const j=t();v(j)},[t]),G=B[e(1455)](j=>{const q=e,V=m.trim();if(!V){C.message[q(1205)](q(1003));return}x(j,{name:V}),M(null),y("")},[m,x]),T=B[e(1455)](()=>{!g||!z||(r(g.id,z),p(void 0))},[g,z,r]);return l[e(1669)](e(866),{className:e(1981),style:{minHeight:360},children:[l[e(1669)](e(866),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:220},children:[l.jsxs(e(866),{className:"flex items-center justify-between mb-2",children:[l[e(886)](e(1227),{className:e(1460),children:"同级关系组"}),l[e(886)](C[e(259)],{type:e(1943),size:e(609),icon:l[e(886)](de.PlusOutlined,{}),onClick:O,children:"新建"})]}),h[e(1361)]===0?l[e(886)](C[e(1189)],{description:e(469),image:C.Empty[e(1599)],style:{marginTop:40}}):l[e(886)](C[e(428)],{size:e(609),dataSource:h,renderItem:j=>{const q=e,V=j.id===b,W=w===j.id;return l.jsx(C.List[q(607)],{onClick:()=>{W||v(j.id)},style:{cursor:q(1673),background:V?q(1015):void 0,padding:q(2016)},actions:[W?l.jsx(C.Button,{type:q(1654),size:q(609),onClick:H=>{H.stopPropagation(),G(j.id)},children:"保存"}):l.jsx(C.Tooltip,{title:"重命名",children:l[q(886)](C[q(259)],{type:"text",size:"small",icon:l[q(886)](de[q(893)],{}),onClick:H=>{H[q(1794)](),M(j.id),y(j.name)}})},q(1463)),l[q(886)](C.Popconfirm,{title:q(1765),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:H=>{const S=q;if(H?.[S(1794)](),o(j.id),b===j.id){const L=h[S(416)](D=>D.id!==j.id);v(L[0]?.id??null)}},onCancel:H=>H?.[q(1794)](),children:l[q(886)](C.Button,{type:"text",size:q(609),danger:!0,icon:l[q(886)](de[q(268)],{}),onClick:H=>H[q(1794)]()})},q(2026))],children:W?l[q(886)](C.Input,{autoFocus:!0,size:q(609),value:m,onChange:H=>y(H.target[q(999)]),onPressEnter:()=>G(j.id),onClick:H=>H[q(1794)](),style:{width:140}}):l[q(1669)](q(1227),{className:"flex items-center gap-2",children:[l[q(886)](q(1227),{style:{fontWeight:V?600:400},children:j[q(1852)]}),l.jsx(C[q(851)],{color:q(733),children:j[q(2088)][q(1361)]}),u===j.id&&l.jsx(C[q(851)],{color:"green",children:q(1970)})]})})}})]}),l[e(886)](e(866),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:280},children:g?l.jsxs(l[e(1338)],{children:[l[e(1669)](e(866),{className:e(712),children:[l[e(886)](e(1227),{className:"font-semibold text-gray-700",children:e(1069)}),l[e(1669)](C[e(913)],{size:e(609),children:[u===g.id?l[e(886)](C[e(978)],{title:e(444),children:l[e(886)](C[e(259)],{size:e(609),onClick:()=>f(null),children:e(732)})}):l[e(886)](C[e(978)],{title:e(1027),children:l[e(886)](C[e(259)],{size:e(609),type:e(1943),ghost:!0,disabled:g[e(2088)][e(1361)]===0,onClick:()=>f(g.id),children:e(1254)})}),l[e(886)](C[e(978)],{title:e(1697),children:l.jsx(C[e(259)],{size:"small",icon:l[e(886)](de[e(1587)],{}),disabled:g.canvasIds[e(1361)]<2,onClick:()=>s(g.id)})}),l[e(886)](C[e(978)],{title:"翻到下一页(基于当前画布)",children:l[e(886)](C.Button,{size:e(609),icon:l.jsx(de.RightOutlined,{}),disabled:g[e(2088)][e(1361)]<2,onClick:()=>d(g.id)})})]})]}),l[e(1669)](e(866),{className:"flex items-center gap-2 mb-3",children:[l.jsx(C[e(544)],{placeholder:e(765),value:z,onChange:p,style:{flex:1},size:e(609),disabled:N[e(1361)]===0,options:N[e(1549)](j=>({label:j[e(1852)],value:j.id}))}),l[e(886)](C[e(259)],{size:e(609),type:e(1943),icon:l[e(886)](de[e(1190)],{}),disabled:!z,onClick:T,children:"加入"})]}),g[e(2088)][e(1361)]===0?l[e(886)](C.Empty,{description:e(1091),image:C[e(1189)][e(1599)],style:{marginTop:40}}):l[e(886)](C[e(428)],{size:"small",dataSource:g[e(2088)],renderItem:(j,q)=>{const V=e,W=n[V(1795)].find(L=>L.id===j),H=n.currentCanvasId===j,S=g.canvasIds[V(1361)];return l[V(886)](C[V(428)].Item,{style:{padding:V(2016)},actions:[l[V(886)](C[V(978)],{title:"上移",children:l[V(886)](C.Button,{type:V(2008),size:V(609),icon:l[V(886)](de[V(785)],{}),disabled:q===0,onClick:()=>a(g.id,j,"up")})},"up"),l[V(886)](C[V(978)],{title:"下移",children:l[V(886)](C[V(259)],{type:V(2008),size:V(609),icon:l[V(886)](de.ArrowDownOutlined,{}),disabled:q===S-1,onClick:()=>a(g.id,j,V(500))})},"down"),l[V(886)](C[V(978)],{title:V(1851),children:l[V(886)](C.Button,{type:V(2008),size:V(609),danger:!0,icon:l[V(886)](de.DeleteOutlined,{}),onClick:()=>i(g.id,j)})},V(1441))],children:l[V(1669)](V(1227),{className:V(1741),children:[l[V(886)](C.Tag,{children:q+1}),l[V(886)](V(1227),{style:{fontWeight:H?600:400},children:W?.name??V(716)+j[V(1791)](0,6)+")"}),H&&l[V(886)](C[V(851)],{color:"green",children:"当前"})]})})}})]}):l.jsx(C[e(1189)],{description:"请选择左侧一个同级关系组",image:C[e(1189)][e(1599)],style:{marginTop:60}})})]})},zl=[c(1028),"#52c41a",c(621),"#f5222d",c(829),c(327),"#13c2c2",c(774),c(492),c(1425),c(1472),"#d9d9d9","#ffffff",c(1884),c(1579),c(1474)],gt=({value:e="#1890ff",onChange:n,onChangeComplete:t})=>{const o=c,[x,r]=B[o(1704)](!1),[i,a]=B[o(1704)](e),d=B.useRef(null);B[o(1753)](()=>{a(e)},[e]),B[o(1753)](()=>{const f=o,u=h=>{const b=_0x4d07;d[b(405)]&&!d[b(405)][b(1854)](h[b(1274)])&&(r(!1),t?.({toHexString:()=>i}))};return x&&document[f(1534)](f(651),u),()=>document[f(1357)]("mousedown",u)},[x,t,i]);const s=f=>{a(f),n?.({toHexString:()=>f})};return l[o(1669)](o(866),{ref:d,style:{position:o(678),display:o(1128)},children:[l[o(886)]("div",{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(1658),borderRadius:4,cursor:o(1673)}}),x&&l.jsxs("div",{style:{position:"absolute",top:32,left:0,zIndex:1e3,background:o(807),padding:8,borderRadius:4,boxShadow:o(503),border:o(410)},children:[l[o(886)](o(866),{style:{display:o(2011),gridTemplateColumns:o(1978),gap:4},children:zl.map(f=>l[o(886)](o(866),{onClick:()=>{s(f),r(!1),t?.({toHexString:()=>f})},style:{width:20,height:20,backgroundColor:f,border:o(i===f?263:1658),borderRadius:2,cursor:o(1673)}},f))}),l[o(886)](o(1576),{type:o(2078),value:i,onChange:f=>s(f.target[o(999)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(1822),marginTop:8,height:28,border:o(1658),borderRadius:4}})]})]})},{TextArea:Cl}=C[c(1931)];function Ml(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return!!(t===n(1665)||t===n(562)||t===n(472)||t==="OPTION"||e[n(1979)]||e[n(736)](n(945))||e[n(736)](n(354))||e.closest('[role="listbox"]')||e.closest(n(1076)))}const Tr=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=c,i=B.useRef(null),a=B[r(1100)](null),d=B.useRef(null),{nodes:s,selectedNodeId:f,selectedNodeIds:u,mode:h,lineDrawing:b,viewport:v,canvas:g,root:w,setViewport:M,setCanvasConfig:m,addNode:y,selectNode:z,updateNode:p,removeNode:N,bringToFront:O,sendToBack:G,undo:T,redo:j,setMode:q,startLineDrawing:V,endLineDrawing:W,cancelLineDrawing:H,addCanvas:S,removeCanvas:L,switchCanvas:D,updateCanvasName:E,exportCanvas:U,importCanvas:k,setSelectedNodeIds:R}=Xe(),[$,ee]=B[r(1704)](!1),[,xe]=B[r(1704)]({}),re=B.useRef(h);B[r(1753)](()=>{re.current=h},[h]),B[r(1753)](()=>{q(n?"preview":r(693))},[n,q]);const ie=n&&o&&g[r(419)]>0?Math[r(714)](o/g[r(419)],1):.5,fe=n&&o?1:5,ye=n&&o&&g[r(419)]>0?ie:1,ce=n&&o?"viewport-"+o+"-"+(x||r(2006))+r(1718)+g[r(419)]+"-"+g[r(691)]:"default",J=B[r(1100)](ye),le=B[r(1100)](!1),ue=B[r(1100)]({x:0,y:0}),Y=B[r(1100)]({x:0,y:0,newX:0,newY:0}),I=B[r(1100)](null),[Z,ne]=B[r(1704)]({start:null,end:null,isDrawing:!1}),[te,X]=B[r(1704)]({start:null,end:null}),oe=u,me=R;B[r(1100)](!1);const[ze,Be]=B.useState(!1),[Ie,Ae]=B[r(1704)](!1),[De,Le]=B.useState(()=>JSON[r(2089)](e??null,null,2)),Ue=B[r(1616)](()=>{const P=r;if(!Ie)return e;try{return JSON[P(541)](De)}catch{return e}},[De,e,Ie]),Pe=B[r(1616)](()=>{const P=r,A=Ue;if(A!==null&&typeof A===P(1612))return A;if(A!==void 0)return{_payload:A}},[Ue]),Oe=B[r(1616)](()=>{const P=r,A=Ue;return A!==null&&typeof A===P(1612)&&!Array[P(862)](A)?A:Array[P(862)](A)?{_telemetryRows:A}:A==null?{}:{_payload:A}},[Ue]),He=B[r(1455)](()=>{const P=r;let A=e;if(Ie)try{A=JSON.parse(De)}catch{A=e}Le(JSON[P(2089)](A??null,null,2)),Be(!0)},[De,e,Ie]),[Ze,dn]=B[r(1704)](!1),[wn,Fe]=B.useState(!1),[nn,$e]=B[r(1704)](""),[tn,cn]=B[r(1704)](!1),jn=B[r(1455)](()=>{const P=r;try{const A=U(),_=JSON[P(2089)](A,null,2),Q=P(1567)+encodeURIComponent(_),se=P(1772)+A[P(1698)][P(1852)]+"_"+Date.now()+P(1042),K=document[P(1074)]("a");K[P(990)]("href",Q),K.setAttribute(P(1958),se),K[P(352)](),C[P(316)][P(575)](P(1724))}catch{C.message.error(P(1785))}},[U]),Wn=B[r(1455)](()=>{const P=r;try{const A=JSON.parse(nn);tn?k(A):k(A,w[P(2039)]||void 0),Fe(!1),$e(""),cn(!1),C.message.success(P(459))}catch{C[P(316)][P(1247)]("JSON 格式错误,请检查输入")}},[nn,tn,k,w[r(2039)]]),En=B[r(1455)](P=>{const A=r,_=new FileReader;return _[A(1678)]=Q=>{const se=A;try{const K=Q[se(1274)]?.[se(1889)],F=JSON[se(541)](K);tn?k(F):k(F,w[se(2039)]||void 0),C[se(316)].success("画布导入成功!"),Fe(!1),cn(!1)}catch{C.message.error(se(1452))}},_[A(1738)](P),!1},[tn,k,w[r(2039)]]),[qe,rt]=B[r(1704)](!1),Re=B[r(1455)]((P,A)=>{const _=r;if(!a[_(405)])return{x:0,y:0};const Q=a[_(405)][_(1436)](),se=P-Q[_(657)],K=A-Q[_(1653)],F=Q.width/g[_(419)],he=Q[_(691)]/g.height,we=se/F,ge=K/he;return{x:Math[_(1836)](we),y:Math.round(ge)}},[g[r(419)],g[r(691)]]),Dn=B[r(1455)]((P,A)=>Re(P,A),[Re]),vn=B[r(1455)]((P,A,_=!0)=>{const Q=r;if(!b.material)return;const se=b[Q(1309)],K=se[Q(879)]||{},F=K[Q(244)]||K[Q(662)]||2,he=Math[Q(714)](P.x,A.x),we=Math[Q(714)](P.y,A.y),ge=Math.round(P.x-he),ve=Math[Q(1836)](P.y-we),Ce=Math.round(A.x-he),Ne=Math[Q(1836)](A.y-we),We=Math.max(F*2,4),je=Math.max(Math.abs(P.x-A.x),We),Je=Math[Q(2036)](Math[Q(1454)](P.y-A.y),We),Ve={...se,id:Me[Q(2015)](),config:{color:K[Q(2078)],lineWeight:F,thickness:F,lineType:K[Q(1707)],startX:ge,startY:ve,endX:Ce,endY:Ne}},ae={id:Me[Q(2015)](),name:se.name+"_"+Date[Q(1444)](),type:"normal",normalStyle:{width:je,height:Je,x:he,y:we,background:Q(1634)},contentInfo:{statusList:[kx(Ve)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(y(ae,!1),_){const be={x:A.x,y:A.y};ne({start:be,end:{...be},isDrawing:!0})}else ne({start:null,end:null,isDrawing:!1}),W()},[b[r(1309)],y,W]),Nt=B.useCallback(()=>{const P=r,A=i[P(405)]?.[P(1259)];if(!A)return;const _=A.transformState;J[P(405)]=_.scale,M({scale:_.scale,positionX:0,positionY:0})},[M]),Ao=B[r(1455)](P=>{const A=r;le.current||h!==A(640)&&(P[A(1274)]===a[A(405)]||P.target[A(1751)]?.[A(1698)]==="true")&&(z(null),me([]))},[z,h]),jo=B.useCallback(P=>{const A=r;if(P[A(1266)]===0){if(h===A(1331)&&b[A(1309)]){P.stopPropagation();const _=Re(P[A(1086)],P[A(1604)]);Z[A(1261)]?Z[A(867)]&&vn(Z[A(867)],_,!0):ne({start:_,end:_,isDrawing:!0});return}if(h==="box-select"&&!qe){const _=Dn(P.clientX,P.clientY);X({start:_,end:_}),me([]),z(null),P.preventDefault(),P[A(1794)]()}}},[h,b[r(1309)],Z[r(1261)],Z[r(867)],qe,vn,Re,Dn]),Eo=B[r(1455)](P=>{const A=r;if(!(h!==A(1331)||!b[A(1309)])&&Z[A(1261)]&&Z[A(867)]){const _=Re(P.clientX,P[A(1604)]);vn(Z[A(867)],_,!1)}},[h,b[r(1309)],Z[r(1261)],Z[r(867)],vn,Re]),Yo=B[r(1455)](P=>{const A=r;P.preventDefault(),P[A(1746)][A(1675)]=A(1630),ee(!0)},[]),Uo=B.useCallback(P=>{P.preventDefault(),ee(!1)},[]),Go=B[r(1455)](P=>{const A=r;if(P.preventDefault(),ee(!1),!(!a[A(405)]||h!=="select"))try{const _=P.dataTransfer.getData(A(592));if(!_)return;const Q=JSON.parse(_),se=Re(P[A(1086)],P[A(1604)]),K=se.x-50,F=se.y-50,he=dr(K,F,Q);y(he),me([he.id])}catch(_){console.error("Failed to parse dropped material:",_)}},[h,y,Re]),Oo=B.useCallback((P,A)=>{const _=r;h!=="select"&&h!==_(640)||!A[_(2066)][_(617)]||(P[_(1794)](),z(A.id),le[_(405)]=!0,ue[_(405)]={x:P[_(1086)],y:P[_(1604)]},Y[_(405)]={x:A.normalStyle.x||0,y:A[_(2022)].y||0,newX:A.normalStyle.x||0,newY:A[_(2022)].y||0},I[_(405)]=A,P[_(310)]())},[h,z]);B.useEffect(()=>{const P=r,A=K=>{const F=_0x4d07;if(le.current&&f&&I[F(405)]){if(!a[F(405)])return;const he=a[F(405)][F(1436)](),we=he[F(419)]/g[F(419)],ge=he[F(691)]/g[F(691)],ve=K[F(1086)]-ue[F(405)].x,Ce=K[F(1604)]-ue[F(405)].y,Ne=ve/we,We=Ce/ge,je=Y[F(405)].x+Ne,Je=Y[F(405)].y+We,Ve=document.querySelector(F(1770)+f+'"]');Ve&&(Ve[F(962)][F(657)]=je+"px",Ve[F(962)][F(1653)]=Je+"px"),Y[F(405)].newX=je,Y[F(405)][F(258)]=Je}if(h===F(640)&&te[F(867)]){const he=Dn(K[F(1086)],K[F(1604)]);X(we=>({...we,end:he}))}if(h===F(1331)&&Z.isDrawing){const he=Re(K[F(1086)],K.clientY);ne(we=>({...we,end:he}))}},_=()=>{const K=_0x4d07;if(le.current&&f&&I.current){const F=Xe[K(308)](),he=Y[K(405)].newX??Y[K(405)].x,we=Y[K(405)][K(258)]??Y[K(405)].y;F[K(687)](f,{normalStyle:{...I[K(405)][K(2022)],x:he,y:we}})}if(le[K(405)]=!1,I[K(405)]=null,xe({}),h==="box-select"&&te[K(867)]&&te[K(1510)]){const F=Math[K(714)](te[K(867)].x,te[K(1510)].x),he=Math[K(2036)](te[K(867)].x,te[K(1510)].x),we=Math[K(714)](te.start.y,te[K(1510)].y),ge=Math[K(2036)](te[K(867)].y,te.end.y),ve=s[K(416)](Ce=>{const Ne=K,We=Ce[Ne(2022)].x||0,je=Ce.normalStyle.y||0,Je=Ce.normalStyle[Ne(419)]||0,Ve=Ce[Ne(2022)][Ne(691)]||0,ae=We+Je/2,be=je+Ve/2;return ae>=F&&ae<=he&&be>=we&&be<=ge})[K(1549)](Ce=>Ce.id);me(ve),X({start:null,end:null})}},Q=K=>{const F=_0x4d07;if(!Ml(K[F(1274)])){if(K[F(301)]===F(1138)&&h===F(1331)&&(ne({start:null,end:null,isDrawing:!1}),H()),K[F(301)]===F(265)&&(f?N(f):oe[F(1361)]>0&&(oe[F(1777)](he=>N(he)),me([]))),K.ctrlKey&&K[F(301)]==="z"&&(K[F(310)](),T()),K.ctrlKey&&K[F(301)]==="y"&&(K.preventDefault(),j()),(h===F(693)||h===F(640))&&(K[F(301)]==="ArrowLeft"||K.key===F(2003)||K.key===F(291)||K[F(301)]===F(835))){const he=oe[F(1361)]>0?oe:f?[f]:[];if(he[F(1361)]>0){K[F(310)]();const we=K[F(301)]==="ArrowLeft"?-2:K.key===F(2003)?2:0,ge=K[F(301)]===F(291)?-2:K[F(301)]===F(835)?2:0;he[F(1777)](ve=>{const Ce=F,Ne=s[Ce(997)](We=>We.id===ve);Ne&&p(ve,{normalStyle:{...Ne[Ce(2022)],x:(Ne[Ce(2022)].x||0)+we,y:(Ne.normalStyle.y||0)+ge}})})}}K[F(301)]===" "&&(K[F(310)](),!qe&&rt(!0))}},se=K=>{K[_0x4d07(301)]===" "&&qe&&rt(!1)};return window[P(1534)](P(1569),A),window[P(1534)](P(463),_),window[P(1534)](P(1092),Q),window[P(1534)]("keyup",se),()=>{const K=P;window[K(1357)](K(1569),A),window.removeEventListener(K(463),_),window[K(1357)]("keydown",Q),window[K(1357)](K(324),se)}},[f,te,h,Z[r(1261)],oe,s,g[r(419)],g.height,N,T,qe,j,H,Re,Dn,me,p]);const ux=(P,A=!0)=>{const _=r,Q={...P,id:Me[_(2015)](),name:P[_(1852)]+_(1834),normalStyle:{...P.normalStyle,x:(P[_(2022)].x||0)+(A?20:0),y:(P.normalStyle.y||0)+(A?20:0)}};return P[_(478)]==="group"&&P[_(1448)]&&(Q[_(1448)]=P[_(1448)][_(1549)](se=>ux(se,!1))),Q},hx=B[r(1455)](()=>{const P=r,A=oe[P(1361)]>0?oe[P(1549)](Q=>s[P(997)](se=>se.id===Q))[P(416)](Boolean):f?[s.find(Q=>Q.id===f)][P(416)](Boolean):[];if(A[P(1361)]===0)return;const _=[];A[P(1777)](Q=>{const se=P,K=ux(Q);y(K),_[se(1935)](K.id)}),_[P(1361)]===1?z(_[0]):me(_)},[f,oe,s,y,z,me]),gx=B[r(1455)](()=>{const P=r;if(oe[P(1361)]<2)return;const A=[];for(let we=0;we<oe[P(1361)];we++){const ge=oe[we],ve=s[P(997)](Ce=>Ce.id===ge);if(ve){if(ve?.[P(478)]==="group"){ve[P(1448)][P(1777)](Ne=>A[P(1935)]({...Ne,normalStyle:{...Ne[P(2022)],x:(ve.normalStyle.x||0)+(Ne[P(2022)].x||0),y:(ve[P(2022)].y||0)+(Ne.normalStyle.y||0)}})),N(ge);continue}A[P(1935)](ve)}}if(A[P(1361)]<2)return;let _=1/0,Q=1/0,se=-1/0,K=-1/0;A.forEach(we=>{const ge=P,ve=we[ge(2022)].x||0,Ce=we[ge(2022)].y||0,Ne=we[ge(2022)][ge(419)]||0,We=we[ge(2022)][ge(691)]||0;_=Math[ge(714)](_,ve),Q=Math[ge(714)](Q,Ce),se=Math[ge(2036)](se,ve+Ne),K=Math[ge(2036)](K,Ce+We)});const F=A[P(1549)](we=>({...we,normalStyle:{...we[P(2022)],x:(we[P(2022)].x||0)-_,y:(we.normalStyle.y||0)-Q}})),he={id:Me[P(2015)](),name:P(390)+Date.now(),type:P(351),normalStyle:{x:_,y:Q,width:se-_,height:K-Q,background:P(1634)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:F};oe[P(1777)](we=>N(we)),y(he),me([]),z(he.id)},[oe,s,N,y,z]),bx=P=>{const A=r,_={...P,id:Me[A(2015)]()};return P[A(478)]===A(351)&&P.children&&(_[A(1448)]=P.children.map(Q=>bx(Q))),_},yx=B[r(1455)](()=>{const P=r,A=oe[P(1361)]>0?oe[P(1549)](_=>s[P(997)](Q=>Q.id===_))[P(416)](_=>!!_&&_[P(478)]===P(351)):f?[s[P(997)](_=>_.id===f)][P(416)](_=>!!_&&_[P(478)]===P(351)):[];A[P(1361)]!==0&&(A[P(1777)](_=>{const Q=P;if(!_[Q(1448)]||_[Q(1448)][Q(1361)]===0)return;const se=_[Q(2022)].x||0,K=_[Q(2022)].y||0,F=_[Q(2022)][Q(419)]||0,he=_[Q(2022)].height||0,we=_[Q(2022)][Q(341)]||0,ge=we*Math.PI/180,ve=Math[Q(1622)](ge),Ce=Math[Q(326)](ge),Ne=se+F/2,We=K+he/2,je=(Ve,ae)=>{const be=Ve-F/2,_e=ae-he/2;return{x:Ne+be*ve-_e*Ce,y:We+be*Ce+_e*ve}},Je=_[Q(1448)].map(Ve=>{const ae=Q,be=bx(Ve);if(be.contentInfo.statusList.some(qo=>qo[ae(1309)].type===ae(922))){const qo=be.normalStyle.x||0,gh=be[ae(2022)].y||0,ic=be.normalStyle[ae(419)]||0,ac=be.normalStyle[ae(691)]||0,bh=be[ae(2022)][ae(341)]||0,sc=bh*Math.PI/180,cc=Math[ae(1622)](sc),lc=Math[ae(326)](sc),dc=(st,Qe)=>{const pn=st-ic/2,Ln=Qe-ac/2,fn=pn*cc-Ln*lc+ic/2,Zo=pn*lc+Ln*cc+ac/2;return je(qo+fn,gh+Zo)};let it=1/0,at=1/0,Wo=-1/0,Xo=-1/0,Ko=2;const yh=be[ae(523)][ae(723)][ae(1549)](st=>{const Qe=ae;if(st[Qe(1309)][Qe(478)]!==Qe(922))return null;const pn=st[Qe(1309)][Qe(879)]||{},Ln=dc(pn.startX||0,pn[Qe(887)]||0),fn=dc(pn[Qe(1204)]||0,pn[Qe(1517)]||0);return it=Math[Qe(714)](it,Ln.x,fn.x),at=Math[Qe(714)](at,Ln.y,fn.y),Wo=Math.max(Wo,Ln.x,fn.x),Xo=Math[Qe(2036)](Xo,Ln.y,fn.y),Ko=Math.max(Ko,pn.lineWeight||pn[Qe(662)]||2),{s:Ln,e:fn}});if(Number[ae(1369)](it)&&Number[ae(1369)](at)){const st=Math[ae(2036)](Ko*2,4),Qe=Math[ae(2036)](Wo-it,st),pn=Math[ae(2036)](Xo-at,st),Ln=be[ae(523)][ae(723)].map((fn,Zo)=>{const Ro=ae,u0=yh[Zo];if(!u0||fn[Ro(1309)].type!==Ro(922))return fn;const fc=fn[Ro(1309)];return{...fn,material:{...fc,config:{...fc.config||{},startX:u0.s.x-it,startY:u0.s.y-at,endX:u0.e.x-it,endY:u0.e.y-at}}}});return{...be,normalStyle:{...be[ae(2022)],x:it,y:at,width:Qe,height:pn,rotate:0},contentInfo:{...be[ae(523)],statusList:Ln}}}}const xn=be[ae(2022)].width||0,kt=be[ae(2022)][ae(691)]||0,f0=be[ae(2022)].x||0,lh=be[ae(2022)].y||0,oc=f0+xn/2-F/2,rc=lh+kt/2-he/2,dh=Ne+oc*ve-rc*Ce,fh=We+oc*Ce+rc*ve,uh=be[ae(2022)][ae(341)]||0,hh=((uh+we)%360+360)%360;return{...be,normalStyle:{...be[ae(2022)],x:dh-xn/2,y:fh-kt/2,rotate:hh}}});N(_.id),Je.forEach(Ve=>y(Ve))}),me([]),z(null))},[f,oe,s,N,y,z,me]),a0=B[r(1455)](P=>{const A=r;if(oe[A(1361)]<1)return;const _=oe.map(Q=>s[A(997)](se=>se.id===Q))[A(416)](Q=>!!Q);if(_.length===1&&_[0].type===A(351)){const Q=_[0];if(!Q[A(1448)]||Q[A(1448)][A(1361)]<2)return;const se=[...Q[A(1448)]];let K=1/0,F=1/0,he=-1/0,we=-1/0;if(P===A(1573)){const ge=[...se][A(874)]((ae,be)=>(ae[A(2022)].x||0)-(be.normalStyle.x||0));let ve=1/0,Ce=-1/0,Ne=0;ge[A(1777)](ae=>{const be=A,_e=ae[be(2022)].x||0,xn=ae.normalStyle.width||0;ve=Math.min(ve,_e),Ce=Math[be(2036)](Ce,_e+xn),Ne+=xn});const We=(Ce-ve-Ne)/(ge[A(1361)]-1);let je=ve;const Je=new Map;ge.forEach(ae=>{const be=A;Je[be(1016)](ae.id,je),je+=(ae[be(2022)].width||0)+We});const Ve=se[A(1549)](ae=>({...ae,normalStyle:{...ae[A(2022)],x:Je.get(ae.id)??ae[A(2022)].x}}));Ve[A(1777)](ae=>{const be=A,_e=ae.normalStyle.x||0,xn=ae[be(2022)].y||0,kt=ae[be(2022)].width||0,f0=ae.normalStyle[be(691)]||0;K=Math[be(714)](K,_e),F=Math[be(714)](F,xn),he=Math.max(he,_e+kt),we=Math[be(2036)](we,xn+f0)}),p(Q.id,{normalStyle:{...Q[A(2022)],x:(Q[A(2022)].x||0)+K,y:(Q.normalStyle.y||0)+F,width:he-K,height:we-F},children:Ve.map(ae=>({...ae,normalStyle:{...ae[A(2022)],x:(ae[A(2022)].x||0)-K,y:(ae[A(2022)].y||0)-F}}))})}else{const ge=[...se][A(874)]((ae,be)=>(ae.normalStyle.y||0)-(be[A(2022)].y||0));let ve=1/0,Ce=-1/0,Ne=0;ge[A(1777)](ae=>{const be=A,_e=ae[be(2022)].y||0,xn=ae[be(2022)][be(691)]||0;ve=Math.min(ve,_e),Ce=Math.max(Ce,_e+xn),Ne+=xn});const We=(Ce-ve-Ne)/(ge.length-1);let je=ve;const Je=new Map;ge.forEach(ae=>{const be=A;Je[be(1016)](ae.id,je),je+=(ae[be(2022)].height||0)+We});const Ve=se.map(ae=>({...ae,normalStyle:{...ae[A(2022)],y:Je.get(ae.id)??ae[A(2022)].y}}));Ve[A(1777)](ae=>{const be=A,_e=ae[be(2022)].x||0,xn=ae[be(2022)].y||0,kt=ae.normalStyle[be(419)]||0,f0=ae.normalStyle[be(691)]||0;K=Math[be(714)](K,_e),F=Math[be(714)](F,xn),he=Math[be(2036)](he,_e+kt),we=Math[be(2036)](we,xn+f0)}),p(Q.id,{normalStyle:{...Q[A(2022)],x:(Q.normalStyle.x||0)+K,y:(Q[A(2022)].y||0)+F,width:he-K,height:we-F},children:Ve[A(1549)](ae=>({...ae,normalStyle:{...ae[A(2022)],x:(ae[A(2022)].x||0)-K,y:(ae[A(2022)].y||0)-F}}))})}return}if(!(_[A(1361)]<2))if(P===A(1573)){const Q=[..._].sort((ge,ve)=>{const Ce=A;return(ge[Ce(2022)].x||0)-(ve[Ce(2022)].x||0)});let se=1/0,K=-1/0,F=0;Q.forEach(ge=>{const ve=A,Ce=ge[ve(2022)].x||0,Ne=ge[ve(2022)][ve(419)]||0;se=Math.min(se,Ce),K=Math[ve(2036)](K,Ce+Ne),F+=Ne});const he=(K-se-F)/(Q.length-1);let we=se;Q[A(1777)](ge=>{const ve=A,Ce=we;p(ge.id,{normalStyle:{...ge[ve(2022)],x:Ce}}),we+=(ge[ve(2022)].width||0)+he})}else{const Q=[..._][A(874)]((ge,ve)=>(ge[A(2022)].y||0)-(ve.normalStyle.y||0));let se=1/0,K=-1/0,F=0;Q[A(1777)](ge=>{const ve=A,Ce=ge[ve(2022)].y||0,Ne=ge[ve(2022)][ve(691)]||0;se=Math[ve(714)](se,Ce),K=Math[ve(2036)](K,Ce+Ne),F+=Ne});const he=(K-se-F)/(Q.length-1);let we=se;Q.forEach(ge=>{const ve=A,Ce=we;p(ge.id,{normalStyle:{...ge[ve(2022)],y:Ce}}),we+=(ge[ve(2022)][ve(691)]||0)+he})}},[oe,s,p]),Xn=P=>{const A=r,_=P.contentInfo[A(723)][A(997)](Q=>Q[A(1309)][A(478)]===A(922));return _?_[A(1309)][A(879)]:null},Kn=B[r(1455)](P=>{const A=r;if(oe[A(1361)]<2)return;const _=Xe[A(308)](),Q=oe[A(1549)](K=>s.find(F=>F.id===K))[A(416)](K=>!!K);if(Q[A(1361)]<2)return;let se=0;switch(P){case A(657):se=Math[A(714)](...Q[A(1549)](K=>{const F=A,he=Xn(K);return he?(K[F(2022)].x||0)+(he[F(1629)]||0):K[F(2022)].x||0}));break;case A(647):se=Math[A(2036)](...Q[A(1549)](K=>{const F=A,he=Xn(K);return he?(K.normalStyle.x||0)+(he[F(1204)]||0):(K[F(2022)].x||0)+(K[F(2022)][F(419)]||0)}));break;case A(1653):se=Math.min(...Q[A(1549)](K=>{const F=A,he=Xn(K);return he?(K[F(2022)].y||0)+(he.startY||0):K[F(2022)].y||0}));break;case A(728):se=Math[A(2036)](...Q[A(1549)](K=>{const F=A,he=Xn(K);return he?(K.normalStyle.y||0)+(he[F(1517)]||0):(K.normalStyle.y||0)+(K[F(2022)][F(691)]||0)}));break}Q[A(1777)](K=>{const F=A;let he=K.normalStyle.x||0,we=K[F(2022)].y||0;const ge=Xn(K);switch(P){case F(657):ge?he=se-(ge[F(1629)]||0):he=se;break;case F(647):ge?he=se-(ge[F(1204)]||0):he=se-(K[F(2022)].width||0);break;case"top":ge?we=se-(ge[F(887)]||0):we=se;break;case F(728):ge?we=se-(ge[F(1517)]||0):we=se-(K[F(2022)][F(691)]||0);break}_[F(687)](K.id,{normalStyle:{...K.normalStyle,x:he,y:we}})})},[oe,s]),mx=[{icon:l[r(886)](de[r(1986)],{}),title:r(663),active:h===r(693),onClick:()=>{q("select")}},{icon:l[r(886)](de[r(780)],{}),title:r(2060),active:h==="box-select",onClick:()=>{q("box-select"),me([])}},{icon:l[r(886)](de.DragOutlined,{}),title:"拖拽模式",active:h===r(909),onClick:()=>{q("drag")}},{icon:l.jsx(de[r(893)],{}),title:r(1966),active:h===r(1331),onClick:()=>{q("line-draw")}},{icon:l[r(886)](de.EyeOutlined,{}),title:r(740),active:h===r(1195),onClick:()=>{q(r(1195))}}],Yn=B[r(1455)](()=>oe[r(1361)]>0?oe:f?[f]:[],[oe,f]),wx=B[r(1455)](()=>{const P=r,A=Yn();if(A[P(1361)]===0)return;s.filter(Q=>A.includes(Q.id))[P(1549)](Q=>Q.id)[P(1777)](Q=>O(Q))},[Yn,s,O]),vx=B[r(1455)](()=>{const P=r,A=Yn();if(A.length===0)return;[...s[P(416)](Q=>A[P(1483)](Q.id))[P(1549)](Q=>Q.id)][P(884)]()[P(1777)](Q=>G(Q))},[Yn,s,G]),s0=B[r(1455)](P=>{const A=r,_=Yn();_.length!==0&&_[A(1777)](Q=>{const se=A,K=s.find(he=>he.id===Q);!K||K[se(478)]===se(351)||!K[se(523)][se(723)][se(298)](he=>he.material.type==="IMAGE")||(P==="horizontal"?p(Q,{normalStyle:{...K[se(2022)],flipX:!K.normalStyle[se(254)]}}):p(Q,{normalStyle:{...K[se(2022)],flipY:!K[se(2022)].flipY}}))})},[Yn,s,p]),Ho=Yn(),c0=Ho[r(298)](P=>{const A=r,_=s[A(997)](Q=>Q.id===P);return _&&_[A(478)]!==A(351)&&_.contentInfo[A(723)][A(298)](Q=>Q[A(1309)][A(478)]===A(1242))}),{actionButtonsRow1:px,actionButtonsRow2:Vo}=B.useMemo(()=>({actionButtonsRow1:[{icon:l[r(886)](de.UpSquareOutlined,{}),title:r(1621),disabled:!f&&oe[r(1361)]===0,onClick:wx},{icon:l[r(886)](de[r(933)],{}),title:r(639),disabled:!f&&oe[r(1361)]===0,onClick:vx},{icon:l[r(886)](de.CopyOutlined,{}),title:"复制节点",disabled:!f&&oe.length===0,onClick:hx},{icon:l[r(886)](de.GroupOutlined,{}),title:r(366),disabled:oe[r(1361)]<2,onClick:gx},{icon:l[r(886)](de[r(379)],{}),title:r(819),disabled:!f&&oe.length===0,onClick:yx},{icon:l.jsx(de.SettingOutlined,{}),title:r(2087),onClick:()=>dn(!0)},{icon:l.jsx(de[r(1257)],{}),title:r(1113),type:r(1943),onClick:He},{icon:l[r(886)](de.DeleteOutlined,{}),title:"删除选中 (Delete)",disabled:!f&&oe[r(1361)]===0,onClick:()=>{const P=r;f?N(f):oe.length>0&&(oe[P(1777)](A=>N(A)),me([]))}}],actionButtonsRow2:[{icon:l[r(886)](de.AlignLeftOutlined,{}),title:r(446),disabled:oe.length<2,onClick:()=>Kn(r(657))},{icon:l[r(886)](de[r(1081)],{}),title:r(1644),disabled:oe[r(1361)]<2,onClick:()=>Kn(r(647))},{icon:l[r(886)](de[r(980)],{}),title:r(1199),disabled:oe[r(1361)]<2,onClick:()=>Kn(r(1653))},{icon:l.jsx(de.VerticalAlignBottomOutlined,{}),title:"下对齐",disabled:oe[r(1361)]<2,onClick:()=>Kn(r(728))},{icon:l[r(886)](de[r(273)],{}),title:r(1607),disabled:(()=>{const P=r;if(oe.length>=2)return!1;if(oe[P(1361)]===1){const A=s.find(_=>_.id===oe[0]);return!(A?.[P(478)]===P(351)&&A[P(1448)]&&A.children[P(1361)]>=2)}return!0})(),onClick:()=>a0(r(1573))},{icon:l[r(886)](de[r(1915)],{}),title:"垂直分布",disabled:(()=>{const P=r;if(oe.length>=2)return!1;if(oe[P(1361)]===1){const A=s.find(_=>_.id===oe[0]);return!(A?.type===P(351)&&A[P(1448)]&&A[P(1448)][P(1361)]>=2)}return!0})(),onClick:()=>a0(r(363))},{icon:l.jsx(de[r(1381)],{}),title:r(741),disabled:!c0,onClick:()=>s0(r(1573))},{icon:l[r(886)](r(1227),{style:{display:r(825),transform:"rotate(90deg)"},children:l[r(886)](de[r(1381)],{})}),title:r(1816),disabled:!c0,onClick:()=>s0(r(363))}]}),[T,j,h,q,me,oe,gx,yx,hx,Kn,a0,wx,vx,dn,Be,He,f,N,w[r(2039)],c0,s0,s]),[To,zx]=B.useState(!1),[Cx,l0]=B[r(1704)](""),[Mx,d0]=B[r(1704)](null);return l.jsxs("div",{className:r(1313)+(n?"":r(2037)),children:[!n&&l[r(1669)]("div",{className:r(1470),children:[l.jsxs(C[r(913)],{children:[mx[r(1549)](P=>l[r(886)](C[r(978)],{title:P[r(615)],children:l[r(886)](C[r(259)],{type:P[r(1866)]?r(1943):r(549),icon:P.icon,onClick:P[r(445)]})},P[r(615)])),l[r(886)](r(866),{className:r(2027)}),l.jsx(C[r(544)],{value:w[r(2039)],onChange:D,style:{width:140},dropdownRender:P=>l[r(1669)](l[r(1338)],{children:[P,l[r(886)](r(866),{className:"border-t border-gray-200 mt-1 pt-1",children:l.jsx(C.Button,{type:r(1654),size:r(609),block:!0,onClick:()=>zx(!0),children:"管理画布..."})})]}),children:w.canvases[r(1549)](P=>l.jsx(C[r(544)].Option,{value:P.id,children:P[r(1852)]},P.id))}),l.jsx(C.Button,{icon:l[r(886)](de[r(1190)],{}),size:r(609),onClick:()=>S(),title:r(371)}),l[r(886)](C[r(978)],{title:r(1095),children:l[r(886)](C[r(259)],{icon:l[r(886)](de[r(1420)],{}),size:r(609),onClick:jn})}),l[r(886)](C[r(978)],{title:r(392),children:l[r(886)](C[r(259)],{icon:l[r(886)](de[r(1920)],{}),size:r(609),onClick:()=>Fe(!0)})})]}),l.jsxs(C.Space,{direction:r(363),size:4,children:[l[r(886)](C[r(913)],{children:px.map(P=>l[r(886)](C.Tooltip,{title:P[r(615)],children:l[r(886)](C[r(259)],{type:P.active?"primary":P[r(478)]||r(549),icon:P[r(455)],onClick:A=>{const _=r;P.onClick(),A[_(1423)][_(1560)]()},disabled:P.disabled})},P[r(615)]))}),l[r(886)](C.Space,{children:Vo[r(1549)](P=>l[r(886)](C[r(978)],{title:P[r(615)],children:l[r(886)](C[r(259)],{type:P[r(1866)]?r(1943):P.type||"default",icon:P.icon,onClick:A=>{const _=r;P[_(445)](),A[_(1423)][_(1560)]()},disabled:P[r(834)]})},P[r(615)]))})]})]}),l[r(886)]("div",{ref:d,className:"relative "+(n?"":r(830)),style:n&&o?{display:r(650),justifyContent:"flex-start",alignItems:r(1832)}:void 0,onWheel:n&&o?P=>{const A=r;P[A(310)](),P[A(1794)]();const _=i[A(405)];if(!_)return;const Q=J.current,se=.1,K=P.deltaY>0?Math[A(2036)](Q-se,ie):Math[A(714)](Q+se,fe);_[A(1234)](0,0,K,0)}:void 0,children:l[r(886)](g0[r(1759)],{ref:i,initialScale:ye,initialPositionX:0,initialPositionY:0,minScale:ie,maxScale:fe,onTransformed:Nt,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!qe&&h!==r(909),velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:P,zoomOut:A,resetTransform:_})=>l.jsxs(l[r(1338)],{children:[!n&&l[r(886)](r(866),{className:r(1283),children:l[r(1669)](C[r(913)],{direction:r(363),children:[l.jsx(C.Tooltip,{title:"放大",children:l[r(886)](C.Button,{icon:l.jsx(de[r(1500)],{}),onClick:()=>P()})}),l[r(886)](C[r(978)],{title:"缩小",children:l[r(886)](C[r(259)],{icon:l.jsx(de[r(1922)],{}),onClick:()=>A()})}),l[r(886)](C[r(978)],{title:"重置视图",children:l[r(886)](C.Button,{onClick:()=>_(),children:"100%"})}),l[r(1669)](r(866),{className:r(1427),children:[Math[r(1836)](v[r(918)]*100),"%"]})]})}),l[r(886)](g0[r(2061)],{wrapperStyle:n&&o?{width:o,height:x||g.height*(J[r(405)]||1)+"px",position:r(678),overflow:r(1942)}:{width:"100%",height:n?g[r(691)]*(J[r(405)]||1)+"px":r(1822),position:r(678),overflow:n?r(481):"hidden"},contentStyle:{width:n?g[r(419)]+"px":"100%",height:n?g[r(691)]+"px":r(1822),display:"flex",alignItems:r(n?1832:1793),justifyContent:n?r(1832):"center"},children:l[r(1669)](r(866),{ref:a,"data-canvas":r(1650),className:r(1827)+($?"ring-4 ring-blue-400 ring-opacity-50":"")+" "+(h===r(1331)?r(342):"")+" "+(qe?r(1515):""),style:{width:g[r(419)],height:g[r(691)],flexShrink:0,backgroundColor:g[r(1898)],backgroundImage:g[r(1671)]?r(1353)+g[r(1671)]+")":void 0,backgroundSize:"cover",backgroundPosition:"center"},onClick:Ao,onMouseDown:jo,onDoubleClick:Eo,onDragOver:Yo,onDragLeave:Uo,onDrop:Go,children:[t&&!n&&l[r(1669)](r(866),{className:r(681),style:{width:g[r(419)],height:g[r(691)]},children:[l.jsx(r(1161),{src:t,alt:"",className:r(1609),draggable:!1}),l[r(886)](r(1712),{className:"absolute top-0 left-0 pointer-events-none",width:1920,height:1080,children:l[r(886)](r(353),{x:"0",y:"0",width:r(1442),height:r(718),fill:"none",stroke:r(1395),strokeWidth:"2"})})]}),g.showGrid!==!1&&l[r(1669)](r(1712),{className:r(477),width:g[r(419)],height:g.height,children:[l.jsx("defs",{children:l[r(886)](r(1659),{id:r(2011),width:"20",height:"20",patternUnits:"userSpaceOnUse",children:l.jsx("path",{d:"M 20 0 L 0 0 0 20",fill:"none",stroke:r(794),opacity:"0.1",strokeWidth:"1"})})}),l[r(886)](r(353),{width:"100%",height:"100%",fill:r(1294)})]}),s[r(1549)](Q=>l[r(886)](Ox,{node:Q,isSelected:h===r(1195)?!1:f===Q.id||oe[r(1483)](Q.id),data:Pe,onClick:h===r(1195)?void 0:se=>{const K=r;console[K(1461)](K(1873),Q.id,K(659),re.current),re.current!=="line-draw"&&(se[K(1815)]?(z(Q.id),me([...oe,Q.id])):(z(Q.id),me([Q.id])))},onMouseDown:h===r(1195)?void 0:se=>Oo(se,Q),onUpdateNode:h===r(1195)?void 0:(se,K)=>p(se,K),scale:v[r(918)],enableEventFlow:h==="preview",eventFlowData:Oe},""+Q.id)),h===r(1331)&&Z.isDrawing&&Z[r(867)]&&Z[r(1510)]&&l[r(886)](r(1712),{className:r(477),width:g[r(419)],height:g[r(691)],children:l[r(886)]("line",{x1:Z[r(867)].x,y1:Z[r(867)].y,x2:Z[r(1510)].x,y2:Z.end.y,stroke:r(1028),strokeWidth:"2",strokeDasharray:r(882),strokeLinecap:r(1836),strokeLinejoin:r(1836)})}),h===r(640)&&te.start&&te[r(1510)]&&l[r(886)](r(866),{className:r(721),style:{left:Math.min(te[r(867)].x,te[r(1510)].x),top:Math[r(714)](te[r(867)].y,te[r(1510)].y),width:Math[r(1454)](te[r(1510)].x-te[r(867)].x),height:Math[r(1454)](te[r(1510)].y-te[r(867)].y),zIndex:9999}})]})})]})},ce)}),l[r(886)](C[r(1321)],{title:r(1113),open:ze,onCancel:()=>Be(!1),footer:null,children:l[r(886)](C[r(1526)],{layout:r(363),children:l.jsx(C[r(1526)].Item,{label:r(1677),children:l[r(886)](Cl,{value:De,onChange:P=>{const A=r;Ae(!0),Le(P[A(1274)][A(999)])},rows:10,placeholder:r(1631)})})})}),l.jsx(C[r(1321)],{title:r(2087),open:Ze,onCancel:()=>dn(!1),footer:null,children:l[r(1669)](C[r(1526)],{layout:r(363),children:[l.jsx(C[r(1526)][r(607)],{label:"宽度",children:l[r(886)](C[r(1647)],{value:g[r(419)],onChange:P=>m({width:P||1920}),min:100,max:5e3,style:{width:"100%"}})}),l[r(886)](C.Form[r(607)],{label:"高度",children:l.jsx(C[r(1647)],{value:g[r(691)],onChange:P=>m({height:P||1080}),min:100,max:5e3,style:{width:r(1822)}})}),l[r(886)](C.Form[r(607)],{label:"显示网格",children:l[r(886)](C[r(1067)],{checked:g[r(1760)]!==!1,onChange:P=>m({showGrid:P})})}),l.jsx(C[r(1526)][r(607)],{label:"背景色",children:l.jsxs(r(866),{className:r(1741),children:[l[r(886)](gt,{value:g[r(1898)]||r(1620),onChange:P=>m({background:P.toHexString()})}),l[r(886)](C[r(1931)],{value:g[r(1898)],onChange:P=>m({background:P[r(1274)][r(999)]}),placeholder:r(1492)})]})}),l[r(1669)](C[r(1526)][r(607)],{label:"背景图片",children:[l[r(1669)](r(866),{className:r(1741),children:[l.jsx(C[r(1635)],{accept:r(1847),showUploadList:!1,beforeUpload:P=>{const A=r;if(!P[A(478)].startsWith(A(597)))return C[A(316)][A(1247)](A(1105)),!1;const Q=new FileReader;return Q.onload=se=>{const K=A,F=se[K(1274)]?.[K(1889)];m({backgroundImage:F}),C.message.success(K(622))},Q[A(1090)](P),!1},children:l[r(886)](C.Button,{icon:l.jsx(de[r(1920)],{}),children:r(1355)})}),l[r(886)](C[r(1931)],{value:g.backgroundImage,onChange:P=>m({backgroundImage:P.target[r(999)]}),placeholder:r(952),style:{flex:1}}),g[r(1671)]&&l[r(886)](C[r(259)],{icon:l[r(886)](de[r(2096)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:"small"})]}),g.backgroundImage&&l[r(886)](r(866),{className:r(550),style:{maxWidth:"100%"},children:l[r(886)](r(1161),{src:g[r(1671)],alt:r(1494),style:{maxWidth:r(1822),maxHeight:120,objectFit:"contain"}})})]})]})}),l[r(886)](C[r(1321)],{title:r(389),open:To,onCancel:()=>{zx(!1),d0(null),l0("")},footer:null,width:760,children:l.jsx(C[r(520)],{items:[{key:r(1795),label:r(1686),children:l.jsxs(l[r(1338)],{children:[l[r(886)](C[r(428)],{dataSource:w.canvases,renderItem:P=>l[r(886)](C.List.Item,{actions:[Mx===P.id?l[r(886)](C[r(259)],{type:"primary",size:r(609),onClick:()=>{E(P.id,Cx),d0(null)},children:"保存"}):l[r(886)](C[r(259)],{type:r(2008),icon:l[r(886)](de.EditOutlined,{}),size:r(609),onClick:()=>{const A=r;d0(P.id),l0(P[A(1852)])}}),w.canvases.length>1&&l[r(886)](C.Button,{type:"text",danger:!0,icon:l[r(886)](de.DeleteOutlined,{}),size:r(609),onClick:()=>L(P.id)})][r(416)](Boolean),children:Mx===P.id?l.jsx(C[r(1931)],{value:Cx,onChange:A=>l0(A[r(1274)][r(999)]),size:r(609),style:{width:200}}):l[r(1669)](r(1227),{style:{fontWeight:w.currentCanvasId===P.id?"bold":r(1976)},children:[P[r(1852)]," ",w[r(2039)]===P.id&&r(598)]})})}),l[r(886)]("div",{className:r(1830),children:l[r(886)](C.Button,{type:"primary",icon:l[r(886)](de[r(1190)],{}),onClick:()=>S(),children:r(371)})})]})},{key:r(2064),label:r(903),children:l.jsx(pl,{})}]})}),l[r(886)](C[r(1321)],{title:r(392),open:wn,onOk:Wn,onCancel:()=>{Fe(!1),$e(""),cn(!1)},width:600,children:l.jsxs(r(866),{className:r(696),children:[l[r(1669)](r(866),{children:[l[r(886)]("p",{className:r(1277),children:r(243)}),l.jsx(r(1576),{type:"file",accept:".json",onChange:P=>{const A=r,_=P[A(1274)][A(826)]?.[0];_&&En(_)},className:r(1244)})]}),l[r(886)]("div",{className:"text-center text-gray-400",children:"或"}),l[r(1669)](r(866),{children:[l.jsx("p",{className:"mb-2",children:"粘贴 JSON 内容:"}),l.jsx(r(1865),{value:nn,onChange:P=>$e(P[r(1274)][r(999)]),placeholder:r(2043),className:r(1571)})]}),l[r(1669)](r(866),{className:r(1741),children:[l[r(886)]("input",{type:"checkbox",id:"importAsNewCanvas",checked:tn,onChange:P=>cn(P[r(1274)][r(1685)]),className:r(2017)}),l.jsx(r(531),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:r(1384)})]})]})})]})},{Option:B0}=C[c(544)];function qr(e){return Array.isArray(e)}function Bl(e){const n=c,t=new Set;return e[n(1777)](o=>Object[n(897)](o)[n(1777)](x=>t[n(1219)](x))),Array.from(t)}function Dl(e,n){const t=c;return e[t(1549)]((o,x)=>{const r=t,i=o[n],a=o[r(1852)];return{label:String(a??"项 "+(x+1)),value:typeof i===r(975)||typeof i===r(1493)?i:String(i)}})}function Wr(e,n=""){const t=c,o=[];for(const[x,r]of Object.entries(e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(1612)&&!Array.isArray(r)?o[t(1935)](...Wr(r,i)):o[t(1935)]({paramsCode:i,paramsName:i,value:r})}return o}function Ll(e,n,t){const o=c;if(qr(e)){if(n!=null&&t!=null){const x=e[o(997)](r=>r[n]===t);if(x)return x}return{}}return e}const Sl=({material:e,onSave:n})=>{const t=c,o=e,x=o[t(1719)]||{},r=Xe(y=>y[t(290)]),[i,a]=B[t(1704)]({label:x[t(531)]||"",value:x[t(999)]||"",valueSourceCode:x[t(1551)]||"",unit:x[t(1378)]||"",decimals:x[t(1910)]??2,labelFontSize:x[t(1351)]?.fontSize||14,labelFontWeight:x.labelStyle?.[t(586)]||t(382),labelColor:x[t(1351)]?.[t(2078)]||t(1425),valueFontSize:x[t(2090)]?.[t(762)]||14,valueFontWeight:x.valueStyle?.[t(586)]||t(1976),valueColor:x[t(2090)]?.[t(2078)]||"#1890ff",boundDatasetId:x[t(676)]||"",boundDatasetBindCode:x[t(246)]||"",boundDatasetBindValue:x[t(2030)]??null}),d=B[t(1616)](()=>{const y=t;return r[y(997)](z=>z.id===i[y(676)])},[r,i[t(676)]]),s=d?qr(d.sample):!1,f=B[t(1616)](()=>{const y=t;if(!d)return[];const z=Ll(d.sample,i[y(246)],i[y(2030)]);return Wr(z)},[d,i[t(246)],i[t(2030)]]);B[t(1753)](()=>{const y=t;a({label:x[y(531)]||"",value:x[y(999)]||"",valueSourceCode:x[y(1551)]||"",unit:x.unit||"",decimals:x[y(1910)]??2,labelFontSize:x[y(1351)]?.[y(762)]||14,labelFontWeight:x[y(1351)]?.fontWeight||y(382),labelColor:x[y(1351)]?.[y(2078)]||y(1425),valueFontSize:x[y(2090)]?.[y(762)]||14,valueFontWeight:x.valueStyle?.[y(586)]||y(1976),valueColor:x[y(2090)]?.[y(2078)]||y(1028),boundDatasetId:x[y(676)]||"",boundDatasetBindCode:x.boundDatasetBindCode||"",boundDatasetBindValue:x[y(2030)]??null})},[e.id]);const u=(y,z)=>{a(p=>({...p,[y]:z}))},h=y=>{a(z=>({...z,boundDatasetId:y,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:y||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},b=y=>{a(z=>({...z,boundDatasetBindCode:y||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:y||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=y=>{a(z=>({...z,boundDatasetBindValue:y??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:y??void 0,valueSourceCode:void 0}})},0)},g=y=>{const z=t,p=f.find(O=>O.paramsCode===y),N=p?.[z(1378)]||"";a(O=>({...O,valueSourceCode:y,unit:N,value:String(p?.value||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:y,value:String(p?.[z(999)]||""),unit:N}})},0)},w=()=>{const y=t;n({content:{...x,label:i[y(531)],value:i[y(999)],valueSourceCode:i[y(1551)],unit:i.unit,decimals:i[y(1910)],boundDatasetId:i[y(676)]||void 0,boundDatasetBindCode:i[y(246)]||void 0,boundDatasetBindValue:i[y(2030)]??void 0,labelStyle:{fontSize:i[y(1899)],fontWeight:i[y(399)],color:i[y(1546)]},valueStyle:{fontSize:i[y(1310)],fontWeight:i[y(284)],color:i[y(1559)]}}})},M=d&&s?Bl(d[t(1302)]):[],m=d&&s&&i.boundDatasetBindCode?Dl(d[t(1302)],i[t(246)]):[];return l[t(1669)](t(866),{className:t(696),children:[l[t(886)](C.Divider,{style:{marginTop:0},children:t(810)}),l[t(1669)](C[t(1526)],{layout:t(363),children:[l[t(886)](C[t(1526)][t(607)],{label:"标签文本 (label)",children:l.jsx(C.Input,{value:i[t(531)],onChange:y=>u(t(531),y.target[t(999)]),onBlur:w,placeholder:"输入标签文本"})}),l[t(886)](C.Form[t(607)],{label:"绑定数据集",help:"选择数据池中的数据集作为数据源",children:l[t(886)](C[t(544)],{allowClear:!0,placeholder:r[t(1361)]===0?t(1300):t(2028),value:i[t(676)]||void 0,onChange:h,style:{width:t(1822)},options:r[t(1549)](y=>({label:y[t(1852)],value:y.id}))})}),d&&s&&l.jsxs(l[t(1338)],{children:[l[t(886)](C.Form[t(607)],{label:t(454),help:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l.jsx(C.Select,{allowClear:!0,placeholder:t(850),value:i[t(246)]||void 0,onChange:b,style:{width:t(1822)},options:M[t(1549)](y=>({label:y,value:y}))})}),i[t(246)]&&l[t(886)](C.Form[t(607)],{label:t(2005),help:t(276),children:l[t(886)](C[t(544)],{allowClear:!0,showSearch:!0,placeholder:"选择绑定值",value:i[t(2030)]??void 0,onChange:v,style:{width:t(1822)},options:m,filterOption:(y,z)=>String(z?.[t(531)]??"").toLowerCase().includes(y.toLowerCase()),onInputKeyDown:y=>{const z=t;y[z(301)]===" "&&y[z(1794)]()}})})]}),l[t(886)](C[t(1526)][t(607)],{label:t(854),help:t(d?1177:1162),children:l.jsx(C[t(544)],{value:i[t(1551)]||void 0,onChange:g,placeholder:d?t(1276):"请先绑定数据集",allowClear:!0,disabled:!d,style:{width:t(1822)},options:f.map(y=>({value:y[t(1918)],label:y[t(414)]}))})}),l[t(886)](C[t(1526)].Item,{label:i.valueSourceCode?"默认值(备用)":t(937),help:i[t(1551)]?"已绑定数据源,实际值将来自数据字段":t(1150),children:l[t(886)](C.Input,{value:i[t(999)],onChange:y=>u("value",y[t(1274)][t(999)]),onBlur:w,placeholder:i[t(1551)]?"数据字段无值时显示此备用值":"输入值文本",disabled:!!i[t(1551)],variant:i[t(1551)]?t(1038):void 0})}),l[t(886)](C.Form.Item,{label:"单位",help:t(1339),children:l[t(886)](C.Input,{value:i.unit,onChange:y=>u(t(1378),y.target.value),onBlur:w,placeholder:t(1167),suffix:i[t(1551)]&&f[t(1361)]>0?l.jsx(C[t(851)],{color:t(733),style:{marginRight:-8},children:"自动"}):null})}),l.jsx(C[t(1526)][t(607)],{label:t(623),help:t(2075),children:l[t(886)](C[t(1647)],{value:i[t(1910)],onChange:y=>u(t(1910),y??2),onBlur:w,min:-1,max:10,style:{width:"100%"}})})]}),l[t(886)](C[t(546)],{children:t(1663)}),l[t(1669)](C[t(1526)],{layout:t(363),children:[l[t(1669)](C.Space,{children:[l.jsx(C[t(1526)][t(607)],{label:t(1907),children:l.jsx(C[t(1647)],{value:i[t(1899)],onChange:y=>u(t(1899),y||14),onBlur:w,min:8,max:72})}),l[t(886)](C[t(1526)][t(607)],{label:t(1558),children:l[t(1669)](C[t(544)],{value:i.labelFontWeight,onChange:y=>{u("labelFontWeight",y),setTimeout(w,0)},style:{width:100},children:[l[t(886)](B0,{value:t(1976),children:"正常"}),l.jsx(B0,{value:"bold",children:"粗体"})]})})]}),l[t(886)](C.Form[t(607)],{label:t(1207),children:l[t(1669)]("div",{className:"flex items-center gap-2",children:[l[t(886)](gt,{value:i[t(1546)]||t(1425),onChange:y=>{const z=t;u(z(1546),y[z(1529)]())},onChangeComplete:y=>{const z=t;n({content:{...x,label:i.label,value:i[z(999)],valueSourceCode:i[z(1551)],unit:i.unit,decimals:i.decimals,boundDatasetId:i[z(676)]||void 0,boundDatasetBindCode:i[z(246)]||void 0,boundDatasetBindValue:i[z(2030)]??void 0,labelStyle:{fontSize:i[z(1899)],fontWeight:i[z(399)],color:y[z(1529)]()},valueStyle:{fontSize:i[z(1310)],fontWeight:i[z(284)],color:i[z(1559)]}}})}}),l.jsx(C.Input,{value:i.labelColor,onChange:y=>u("labelColor",y[t(1274)][t(999)]),onBlur:w,placeholder:t(1425),style:{width:100}})]})})]}),l[t(886)](C[t(546)],{children:"值样式"}),l.jsxs(C[t(1526)],{layout:t(363),children:[l[t(1669)](C.Space,{children:[l[t(886)](C[t(1526)][t(607)],{label:t(1907),children:l[t(886)](C[t(1647)],{value:i.valueFontSize,onChange:y=>u("valueFontSize",y||14),onBlur:w,min:8,max:72})}),l[t(886)](C[t(1526)].Item,{label:t(1558),children:l[t(1669)](C[t(544)],{value:i[t(284)],onChange:y=>{u(t(284),y),setTimeout(w,0)},style:{width:100},children:[l[t(886)](B0,{value:t(1976),children:"正常"}),l[t(886)](B0,{value:t(382),children:"粗体"})]})})]}),l[t(886)](C[t(1526)][t(607)],{label:t(1207),children:l.jsxs(t(866),{className:"flex items-center gap-2",children:[l[t(886)](gt,{value:i[t(1559)]||t(1028),onChange:y=>{const z=t;u(z(1559),y[z(1529)]())},onChangeComplete:y=>{const z=t;n({content:{...x,label:i[z(531)],value:i.value,valueSourceCode:i[z(1551)],unit:i.unit,decimals:i[z(1910)],boundDatasetId:i[z(676)]||void 0,boundDatasetBindCode:i[z(246)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[z(399)],color:i[z(1546)]},valueStyle:{fontSize:i[z(1310)],fontWeight:i.valueFontWeight,color:y[z(1529)]()}}})}}),l[t(886)](C[t(1931)],{value:i[t(1559)],onChange:y=>u(t(1559),y[t(1274)][t(999)]),onBlur:w,placeholder:t(1028),style:{width:100}})]})})]})]})},Nl=({material:e,onSave:n})=>{const t=c,o=e,[x,r]=B[t(1704)]({name:e[t(1852)],src:o[t(528)]||"",backgroundColor:o.backgroundColor||"",fillColor:o[t(1934)]||""});B.useEffect(()=>{const d=t;r({name:e[d(1852)],src:o.src||"",backgroundColor:o[d(247)]||"",fillColor:o[d(1934)]||""})},[e.id]);const i=(d,s)=>{r(f=>({...f,[d]:s}))},a=()=>{const d=t;n({name:x[d(1852)],src:x[d(528)],backgroundColor:x[d(247)]})};return l[t(1669)](t(866),{className:"space-y-4",children:[l[t(886)](C[t(546)],{style:{marginTop:0},children:"图片属性"}),l.jsxs(C.Form,{layout:t(363),children:[l[t(886)](C.Form[t(607)],{label:t(791),children:l[t(886)](C[t(1931)],{value:x.name,onChange:d=>i(t(1852),d.target.value),onBlur:a})}),l[t(886)](C[t(1526)].Item,{label:t(1556),children:l[t(886)](C.Input[t(787)],{value:x[t(528)],onChange:d=>i(t(528),d[t(1274)][t(999)]),onBlur:a,rows:4,placeholder:"输入图片 URL 或 Data URI"})}),l[t(886)](C[t(1526)][t(607)],{label:"填充颜色(基本形状)",children:l.jsxs(t(866),{className:t(1741),children:[l.jsx(gt,{value:x[t(1934)]||t(1028),onChange:d=>{const s=t,f=d.toHexString();i(s(1934),f),n({name:x[s(1852)],src:x[s(528)],backgroundColor:x.backgroundColor,fillColor:f})}}),l[t(886)](C.Input,{value:x[t(1934)],onChange:d=>i("fillColor",d[t(1274)][t(999)]),onBlur:a,placeholder:t(1028)})]})}),l[t(886)](C[t(1526)].Item,{label:t(510),children:l[t(1669)](t(866),{className:"flex items-center gap-2",children:[l[t(886)](gt,{value:x[t(247)]||t(1028),onChange:d=>{const s=t,f=d[s(1529)]();i("backgroundColor",f),n({name:x[s(1852)],src:x[s(528)],backgroundColor:f,fillColor:x.fillColor})}}),l[t(886)](C[t(1931)],{value:x[t(247)],onChange:d=>i("backgroundColor",d[t(1274)][t(999)]),onBlur:a,placeholder:t(1028)})]})})]})]})},{Option:kl}=C[c(544)],Il=({material:e,onSave:n})=>{const t=c,o=e[t(879)]||{},[x,r]=B[t(1704)]({lineWeight:o[t(244)]||o[t(662)]||2,color:o[t(2078)]||t(1425),lineType:o.lineType||"solid",startX:o[t(1629)]??0,startY:o[t(887)]??0,endX:o.endX??100,endY:o[t(1517)]??0}),i=JSON.stringify({sw:o[t(244)]??o.thickness,c:o.color,t:o[t(1707)],sx:o[t(1629)],sy:o[t(887)],ex:o.endX,ey:o[t(1517)]});B[t(1753)](()=>{const s=t;r({lineWeight:o[s(244)]||o[s(662)]||2,color:o[s(2078)]||s(1425),lineType:o[s(1707)]||s(1316),startX:o[s(1629)]??0,startY:o[s(887)]??0,endX:o[s(1204)]??100,endY:o.endY??0})},[e.id,i]);const a=s=>{const f=t,u={...x,...s};r(u),n({config:{...o,thickness:u.lineWeight,lineWeight:u.lineWeight,color:u[f(2078)],lineType:u.lineType,startX:u[f(1629)],startY:u.startY,endX:u[f(1204)],endY:u[f(1517)]}})},d=[{value:"solid",label:"实线",desc:t(1009)},{value:t(1710),label:"虚线",desc:"长划间隔"},{value:t(1793),label:t(241),desc:t(600)},{value:t(880),label:t(527),desc:t(1153)},{value:"dot",label:"点线",desc:t(468)},{value:t(1291),label:t(1048),desc:t(1524)}];return l[t(1669)]("div",{className:t(696),children:[l.jsx(C[t(546)],{style:{marginTop:0},children:t(443)}),l[t(1669)](C[t(1526)],{layout:t(363),children:[l[t(1669)](t(866),{className:"grid grid-cols-2 gap-2",children:[l[t(886)](C.Form[t(607)],{label:t(1459),className:t(1277),children:l.jsx(C[t(1647)],{value:x[t(1629)],onChange:s=>a({startX:s??0}),style:{width:t(1822)}})}),l[t(886)](C[t(1526)].Item,{label:"起点 Y",className:t(1277),children:l[t(886)](C[t(1647)],{value:x[t(887)],onChange:s=>a({startY:s??0}),style:{width:t(1822)}})}),l[t(886)](C.Form[t(607)],{label:t(668),className:t(1277),children:l.jsx(C[t(1647)],{value:x[t(1204)],onChange:s=>a({endX:s??100}),style:{width:t(1822)}})}),l.jsx(C.Form.Item,{label:t(1941),className:t(1277),children:l[t(886)](C.InputNumber,{value:x[t(1517)],onChange:s=>a({endY:s??0}),style:{width:t(1822)}})})]}),l[t(886)](C[t(1526)][t(607)],{label:"快速对齐",className:t(1487),children:l[t(1669)](C[t(913)],{children:[l[t(886)](C.Button,{size:t(609),onClick:()=>{const s=t,f=o[s(1629)]??x.startX,u=o[s(887)]??x[s(887)],h=o[s(1204)]??x[s(1204)],b=o.endY??x.endY,v=h-f,g=b-u,w=Math.sqrt(v*v+g*g),M=v>=0?1:-1;a({endX:f+M*w,endY:u})},title:"将线条变为水平线,保持长度",children:"水平"}),l[t(886)](C[t(259)],{size:"small",onClick:()=>{const s=t,f=o[s(1629)]??x[s(1629)],u=o[s(887)]??x[s(887)],h=o[s(1204)]??x.endX,b=o[s(1517)]??x[s(1517)],v=h-f,g=b-u,w=Math[s(573)](v*v+g*g),M=g>=0?1:-1;a({endX:f,endY:u+M*w})},title:t(1279),children:"垂直"}),l[t(886)](C.Button,{size:"small",onClick:()=>{const s=t,f=o[s(1629)]??x.startX,u=o[s(887)]??x[s(887)],h=o[s(1204)]??x[s(1204)],b=o[s(1517)]??x[s(1517)];a({startX:h,startY:b,endX:f,endY:u})},title:t(360),children:"反向"})]})})]}),l[t(886)](C[t(546)],{children:"线条属性"}),l[t(1669)](C[t(1526)],{layout:t(363),children:[l.jsx(C.Form[t(607)],{label:"线型",help:"选择线条样式",children:l[t(886)](C.Select,{value:x[t(1707)],onChange:s=>a({lineType:s}),children:d[t(1549)](s=>l.jsx(kl,{value:s.value,children:l[t(1669)](t(866),{className:t(1972),children:[l[t(886)](t(1227),{children:s.label}),l[t(886)]("span",{className:t(1516),children:s[t(287)]})]})},s[t(999)]))})}),l[t(886)](C[t(1526)][t(607)],{label:t(844),children:l[t(886)](C[t(1647)],{value:x[t(244)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[t(886)](C[t(1526)][t(607)],{label:"颜色",children:l[t(1669)]("div",{className:t(1741),children:[l[t(886)](gt,{value:x[t(2078)]||t(1278),onChange:s=>a({color:s[t(1529)]()})}),l[t(886)](C.Input,{value:x[t(2078)],onChange:s=>a({color:s.target.value}),placeholder:t(1278),style:{width:100}})]})})]})]})};function Xr(e){return Array[c(862)](e)}function Pl(e){const n=c,t=new Set;return e.forEach(o=>Object[n(897)](o).forEach(x=>t[n(1219)](x))),Array[n(1230)](t)}function Al(e,n){const t=c;return e[t(1549)]((o,x)=>{const r=t,i=o[n],a=o.name;return{label:String(a??"项 "+(x+1)),value:typeof i===r(975)||typeof i=="number"?i:String(i)}})}function jl(e,n,t){const o=c;if(Xr(e)){if(n!=null&&t!=null){const x=e[o(997)](r=>r[n]===t);if(x)return x}return{}}return e}const Kr=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=c,x=Xe(g=>g[o(290)]),r=x[o(997)](g=>g.id===e[o(676)]),i=r?Xr(r.sample):!1,a=r?jl(r[o(1302)],e[o(246)],e[o(2030)]):{},d=rr(a),s=g=>{const w=o,M=w(356)+g;t?t(M):n({expression:""+(e[w(300)]||"")+M})},f=g=>{n({boundDatasetId:g??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},u=g=>{n({boundDatasetBindCode:g??null,boundDatasetBindValue:null})},h=g=>{n({boundDatasetBindValue:g??null})},b=r&&i?Pl(r.sample):[],v=r&&i&&e[o(246)]?Al(r.sample,e[o(246)]):[];return l[o(1669)](l[o(1338)],{children:[l.jsx(C.Form[o(607)],{label:"绑定数据集",extra:x[o(1361)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":"可选:绑定后表达式中的 data 会先合并该数据集的 sample,再合并画布传入的运行时数据。不绑定时 data 仅来自运行时。",children:l[o(886)](C.Select,{allowClear:!0,showSearch:!0,placeholder:x[o(1361)]===0?o(991):o(560),value:e.boundDatasetId??void 0,options:x[o(1549)](g=>({label:g[o(1852)],value:g.id})),onChange:f,filterOption:(g,w)=>String(w?.[o(531)]??"")[o(537)]()[o(1483)](g[o(537)]()),onInputKeyDown:g=>{const w=o;g.key===" "&&g[w(1794)]()}})}),r&&i&&l[o(1669)](l[o(1338)],{children:[l[o(886)](C[o(1526)][o(607)],{label:o(454),extra:o(1320),children:l[o(886)](C[o(544)],{allowClear:!0,placeholder:o(850),value:e[o(246)]??void 0,options:b[o(1549)](g=>({label:g,value:g})),onChange:u})}),e[o(246)]&&l[o(886)](C[o(1526)].Item,{label:"绑定值",extra:o(276),children:l[o(886)](C[o(544)],{allowClear:!0,showSearch:!0,placeholder:o(306),value:e.boundDatasetBindValue??void 0,options:v,onChange:h,filterOption:(g,w)=>String(w?.[o(531)]??"")[o(537)]()[o(1483)](g[o(537)]()),onInputKeyDown:g=>{const w=o;g[w(301)]===" "&&g[w(1794)]()}})})]}),d.length>0&&l[o(886)](C[o(1526)].Item,{label:o(496),children:l[o(886)](C[o(913)],{size:[4,4],wrap:!0,children:d.map(g=>l[o(886)](C[o(851)],{className:"cursor-pointer mb-0",onClick:()=>s(g),children:o(356)+g},g))})})]})},Zr=({material:e,onSave:n})=>{const t=c;switch(e[t(478)]){case t(388):return l.jsx(Sl,{material:e,onSave:n});case t(1242):return l[t(886)](Nl,{material:e,onSave:n});case t(922):return l[t(886)](Il,{material:e,onSave:n});default:return l[t(886)](t(866),{className:t(1727),children:t(1883)})}},{Panel:Rr}=C[c(1354)],{TextArea:El}=C[c(1931)],Yl=({node:e,updateNode:n,materials:t})=>{const o=c,x=t.filter(u=>u[o(478)]!==o(606)||!u[o(879)]?.nodes),r=(u,h)=>{const b=o,v=e[b(1448)]?.[b(1549)](g=>{const w=b;return g.id===u?{...g,contentInfo:{...g[w(523)],statusList:h}}:g});n(e.id,{children:v})},i=u=>{const h=o,b=e[h(1448)]?.[h(997)](g=>g.id===u);if(!b)return;const v={id:Me[h(2015)](),name:"状态"+(b.contentInfo[h(723)][h(1361)]+1),expression:b[h(523)][h(723)][h(1361)]===0?h(1343):"return false;",material:{...x[0],id:Me.nanoid()},boundDatasetId:null};r(u,[...b[h(523)][h(723)],v])},a=(u,h)=>{const b=o,v=e[b(1448)]?.[b(997)](w=>w.id===u);if(!v)return;const g=v[b(523)][b(723)][b(416)](w=>w.id!==h);r(u,g)},d=(u,h,b)=>{const v=o,g=e[v(1448)]?.[v(997)](M=>M.id===u);if(!g)return;const w=g[v(523)][v(723)][v(1549)](M=>M.id===h?{...M,...b}:M);r(u,w)},s=(u,h,b)=>{const v=o,g=e[v(1448)]?.find(m=>m.id===u);if(!g)return;const w=g[v(523)][v(723)].findIndex(m=>m.id===h);if(w===-1)return;const M=[...g[v(523)][v(723)]];b==="up"&&w>0?[M[w],M[w-1]]=[M[w-1],M[w]]:b===v(500)&&w<M[v(1361)]-1&&([M[w],M[w+1]]=[M[w+1],M[w]]),r(u,M)},f=(u,h,b)=>{const v=o,g=t[v(997)](w=>w.id===b);g&&d(u,h,{material:{...g,id:Me.nanoid()}})};return l[o(1669)](o(866),{className:o(696),children:[l[o(886)](o(866),{className:"p-3 bg-blue-50 border border-blue-200 rounded-lg mb-4",children:l[o(1669)](o(866),{className:o(1297),children:[l[o(886)](o(1843),{children:"群组节点"}),o(779)]})}),l[o(886)](C[o(1354)],{ghost:!0,children:e[o(1448)]?.map((u,h)=>l[o(886)](Rr,{header:l[o(1669)]("div",{className:o(1983),children:[l[o(1669)](o(1227),{className:o(283),children:[o(1582),h+1]}),l[o(1669)](C[o(851)],{color:"blue",style:{fontSize:o(842),padding:o(822)},children:[u[o(523)].statusList[o(1361)],o(591)]})]}),children:l[o(1669)](o(866),{className:o(1057),children:[l[o(1669)]("div",{className:o(841),children:[l[o(886)](o(1227),{className:"text-sm text-gray-600",children:"状态列表"}),l[o(886)](C[o(259)],{type:o(1943),size:o(609),icon:l[o(886)](de[o(1190)],{}),onClick:()=>i(u.id),children:o(1130)})]}),u[o(523)][o(723)][o(1361)]===0?l.jsx(o(866),{className:o(1182),children:o(1660)}):l.jsx(C[o(1354)],{ghost:!0,children:u[o(523)][o(723)][o(1549)]((b,v)=>l[o(886)](Rr,{header:l.jsxs(o(866),{className:"flex items-center gap-2",children:[l[o(886)](o(1227),{className:o(593),children:v+1}),l[o(886)]("span",{className:"font-medium",children:b.name}),l[o(886)](C[o(851)],{color:o(549),className:o(761),children:b[o(1309)].type})]}),extra:l[o(1669)](C[o(913)],{size:o(609),onClick:g=>g[o(1794)](),children:[l[o(886)](C[o(259)],{type:o(2008),size:o(609),icon:l[o(886)](de[o(785)],{}),disabled:v===0,onClick:g=>{g[o(1794)](),s(u.id,b.id,"up")}}),l[o(886)](C.Button,{type:o(2008),size:o(609),icon:l[o(886)](de.ArrowDownOutlined,{}),disabled:v===u[o(523)][o(723)][o(1361)]-1,onClick:g=>{g[o(1794)](),s(u.id,b.id,"down")}}),l[o(886)](C[o(259)],{type:o(2008),size:o(609),danger:!0,icon:l[o(886)](de[o(268)],{}),onClick:g=>{g[o(1794)](),a(u.id,b.id)}})]}),children:l[o(1669)](C[o(1526)],{layout:o(363),children:[l[o(886)](C[o(1526)][o(607)],{label:o(1418),children:l[o(886)](C.Input,{value:b[o(1852)],onChange:g=>d(u.id,b.id,{name:g[o(1274)][o(999)]}),placeholder:o(1506)})}),l.jsx(Kr,{status:b,onUpdate:g=>d(u.id,b.id,g)}),l[o(886)](C[o(1526)].Item,{label:"执行表达式",help:o(2100),children:l[o(886)](El,{value:b[o(300)],onChange:g=>d(u.id,b.id,{expression:g.target[o(999)]}),rows:3,placeholder:"return true;"})}),l[o(886)](C[o(1526)].Item,{label:o(504),children:l[o(1669)](o(866),{className:o(1741),children:[l[o(886)](C[o(851)],{color:o(733),children:b[o(1309)][o(1852)]}),l[o(886)](C[o(851)],{color:o(549),children:b[o(1309)][o(478)]}),l[o(886)](C[o(544)],{placeholder:o(1176),style:{width:150},value:void 0,onChange:g=>g&&f(u.id,b.id,g),options:x[o(1549)](g=>({value:g.id,label:g[o(1852)]+" ("+g[o(478)]+")"}))})]})}),l[o(886)](C[o(546)],{style:{margin:"12px 0"}}),l[o(1669)](o(866),{className:o(2104),children:[l.jsxs(o(866),{className:o(712),children:[l[o(886)]("span",{className:"text-sm font-medium",children:o(1036)}),l[o(886)](C[o(851)],{children:b[o(1309)][o(1852)]})]}),l.jsx(Zr,{material:b[o(1309)],onSave:g=>{const w=o,M={...b[w(1309)],...g};d(u.id,b.id,{material:M})}})]})]})},b.id))})]})},u.id))})]})};function Te(e){const n=c;if(typeof e===n(975)||typeof e===n(1493))return""+e;let t="";if(Array.isArray(e))for(let o=0,x;o<e.length;o++)(x=Te(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var Ul={value:()=>{}};function D0(){const e=c;for(var n=0,t=arguments[e(1361)],o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(396)](x))throw new Error(e(1638)+x);o[x]=[]}return new L0(o)}function L0(e){this._=e}function Gl(e,n){const t=c;return e.trim().split(/^|\s+/)[t(1549)](function(o){const x=t;var r="",i=o.indexOf(".");if(i>=0&&(r=o.slice(i+1),o=o[x(1791)](0,i)),o&&!n[x(534)](o))throw new Error(x(2091)+o);return{type:o,name:r}})}L0[c(1389)]=D0[c(1389)]={constructor:L0,on:function(e,n){const t=c;var o=this._,x=Gl(e+"",o),r,i=-1,a=x[t(1361)];if(arguments[t(1361)]<2){for(;++i<a;)if((r=(e=x[i])[t(478)])&&(r=Ol(o[r],e[t(1852)])))return r;return}if(n!=null&&typeof n!==t(2002))throw new Error(t(1221)+n);for(;++i<a;)if(r=(e=x[i]).type)o[r]=Jr(o[r],e.name,n);else if(n==null)for(r in o)o[r]=Jr(o[r],e[t(1852)],null);return this},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new L0(e)},call:function(e,n){const t=c;if((r=arguments.length-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._.hasOwnProperty(e))throw new Error(t(2091)+e);for(i=this._[e],x=0,r=i[t(1361)];x<r;++x)i[x][t(999)][t(458)](n,o)},apply:function(e,n,t){const o=c;if(!this._[o(534)](e))throw new Error(o(2091)+e);for(var x=this._[e],r=0,i=x[o(1361)];r<i;++r)x[r][o(999)][o(458)](n,t)}};function Ol(e,n){const t=c;for(var o=0,x=e.length,r;o<x;++o)if((r=e[o])[t(1852)]===n)return r[t(999)]}function Jr(e,n,t){const o=c;for(var x=0,r=e[o(1361)];x<r;++x)if(e[x].name===n){e[x]=Ul,e=e[o(1791)](0,x)[o(1127)](e.slice(x+1));break}return t!=null&&e[o(1935)]({name:n,value:t}),e}var Hx=c(397);const _r={svg:c(491),xhtml:Hx,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:c(402)};function S0(e){const n=c;var t=e+="",o=t[n(554)](":");return o>=0&&(t=e[n(1791)](0,o))!==n(670)&&(e=e[n(1791)](o+1)),_r[n(534)](t)?{space:_r[t],local:e}:e}function Hl(e){return function(){const n=_0x4d07;var t=this.ownerDocument,o=this[n(2023)];return o===Hx&&t.documentElement[n(2023)]===Hx?t[n(1074)](e):t[n(1342)](o,e)}}function Vl(e){return function(){const n=_0x4d07;return this.ownerDocument[n(1342)](e.space,e[n(1322)])}}function Qr(e){const n=c;var t=S0(e);return(t[n(1322)]?Vl:Hl)(t)}function Tl(){}function Vx(e){return e==null?Tl:function(){return this[_0x4d07(1952)](e)}}function ql(e){const n=c;typeof e!==n(2002)&&(e=Vx(e));for(var t=this[n(2018)],o=t[n(1361)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(1361)],d=x[r]=new Array(a),s,f,u=0;u<a;++u)(s=i[u])&&(f=e[n(1241)](s,s[n(1079)],u,i))&&("__data__"in s&&(f.__data__=s.__data__),d[u]=f);return new rn(x,this[n(1094)])}function Wl(e){const n=c;return e==null?[]:Array[n(862)](e)?e:Array[n(1230)](e)}function Xl(){return[]}function Fr(e){return e==null?Xl:function(){return this[_0x4d07(871)](e)}}function Kl(e){return function(){return Wl(e[_0x4d07(458)](this,arguments))}}function Zl(e){const n=c;typeof e===n(2002)?e=Kl(e):e=Fr(e);for(var t=this[n(2018)],o=t[n(1361)],x=[],r=[],i=0;i<o;++i)for(var a=t[i],d=a[n(1361)],s,f=0;f<d;++f)(s=a[f])&&(x.push(e.call(s,s[n(1079)],f,a)),r[n(1935)](s));return new rn(x,r)}function $r(e){return function(){return this[_0x4d07(1233)](e)}}function ei(e){return function(n){return n[_0x4d07(1233)](e)}}var Rl=Array.prototype[c(997)];function Jl(e){return function(){const n=_0x4d07;return Rl[n(1241)](this[n(1448)],e)}}function _l(){return this[c(1999)]}function Ql(e){const n=c;return this[n(693)](e==null?_l:Jl(typeof e===n(2002)?e:ei(e)))}var Fl=Array.prototype[c(416)];function $l(){const e=c;return Array[e(1230)](this[e(1448)])}function ed(e){return function(){const n=_0x4d07;return Fl[n(1241)](this[n(1448)],e)}}function nd(e){return this[c(853)](e==null?$l:ed(typeof e=="function"?e:ei(e)))}function td(e){const n=c;typeof e!==n(2002)&&(e=$r(e));for(var t=this[n(2018)],o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(1361)],d=x[r]=[],s,f=0;f<a;++f)(s=i[f])&&e[n(1241)](s,s[n(1079)],f,i)&&d[n(1935)](s);return new rn(x,this._parents)}function ni(e){const n=c;return new Array(e[n(1361)])}function xd(){const e=c;return new rn(this._enter||this[e(2018)][e(1549)](ni),this[e(1094)])}function N0(e,n){const t=c;this[t(1220)]=e[t(1220)],this.namespaceURI=e.namespaceURI,this[t(2081)]=null,this._parent=e,this[t(1079)]=n}N0[c(1389)]={constructor:N0,appendChild:function(e){const n=c;return this._parent[n(1450)](e,this[n(2081)])},insertBefore:function(e,n){const t=c;return this._parent[t(1450)](e,n)},querySelector:function(e){const n=c;return this[n(1235)][n(1952)](e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function od(e){return function(){return e}}function rd(e,n,t,o,x,r){const i=c;for(var a=0,d,s=n.length,f=r[i(1361)];a<f;++a)(d=n[a])?(d[i(1079)]=r[a],o[a]=d):t[a]=new N0(e,r[a]);for(;a<s;++a)(d=n[a])&&(x[a]=d)}function id(e,n,t,o,x,r,i){const a=c;var d,s,f=new Map,u=n.length,h=r[a(1361)],b=new Array(u),v;for(d=0;d<u;++d)(s=n[d])&&(b[d]=v=i[a(1241)](s,s[a(1079)],d,n)+"",f[a(1807)](v)?x[d]=s:f[a(1016)](v,s));for(d=0;d<h;++d)v=i.call(e,r[d],d,r)+"",(s=f[a(946)](v))?(o[d]=s,s[a(1079)]=r[d],f[a(2026)](v)):t[d]=new N0(e,r[d]);for(d=0;d<u;++d)(s=n[d])&&f[a(946)](b[d])===s&&(x[d]=s)}function ad(e){return e[c(1079)]}function sd(e,n){const t=c;if(!arguments.length)return Array.from(this,ad);var o=n?id:rd,x=this[t(1094)],r=this[t(2018)];typeof e!==t(2002)&&(e=od(e));for(var i=r[t(1361)],a=new Array(i),d=new Array(i),s=new Array(i),f=0;f<i;++f){var u=x[f],h=r[f],b=h[t(1361)],v=cd(e[t(1241)](u,u&&u[t(1079)],f,x)),g=v[t(1361)],w=d[f]=new Array(g),M=a[f]=new Array(g),m=s[f]=new Array(b);o(u,h,w,M,m,v,n);for(var y=0,z=0,p,N;y<g;++y)if(p=w[y]){for(y>=z&&(z=y+1);!(N=M[z])&&++z<g;);p[t(2081)]=N||null}}return a=new rn(a,x),a[t(846)]=d,a[t(599)]=s,a}function cd(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function ld(){const e=c;return new rn(this[e(599)]||this._groups.map(ni),this[e(1094)])}function dd(e,n,t){const o=c;var x=this[o(2068)](),r=this,i=this[o(313)]();return typeof e===o(2002)?(x=e(x),x&&(x=x[o(1286)]())):x=x[o(2071)](e+""),n!=null&&(r=n(r),r&&(r=r.selection())),t==null?i.remove():t(i),x&&r?x[o(1737)](r)[o(1080)]():r}function fd(e){const n=c;for(var t=e[n(1286)]?e[n(1286)]():e,o=this._groups,x=t[n(2018)],r=o[n(1361)],i=x[n(1361)],a=Math[n(714)](r,i),d=new Array(r),s=0;s<a;++s)for(var f=o[s],u=x[s],h=f[n(1361)],b=d[s]=new Array(h),v,g=0;g<h;++g)(v=f[g]||u[g])&&(b[g]=v);for(;s<r;++s)d[s]=o[s];return new rn(d,this._parents)}function ud(){const e=c;for(var n=this._groups,t=-1,o=n[e(1361)];++t<o;)for(var x=n[t],r=x[e(1361)]-1,i=x[r],a;--r>=0;)(a=x[r])&&(i&&a.compareDocumentPosition(i)^4&&i[e(966)][e(1450)](a,i),i=a);return this}function hd(e){const n=c;e||(e=gd);function t(h,b){return h&&b?e(h[_0x4d07(1079)],b.__data__):!h-!b}for(var o=this[n(2018)],x=o[n(1361)],r=new Array(x),i=0;i<x;++i){for(var a=o[i],d=a[n(1361)],s=r[i]=new Array(d),f,u=0;u<d;++u)(f=a[u])&&(s[u]=f);s[n(874)](t)}return new rn(r,this[n(1094)])[n(1080)]()}function gd(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function bd(){const e=c;var n=arguments[0];return arguments[0]=this,n[e(458)](null,arguments),this}function yd(){return Array.from(this)}function md(){const e=c;for(var n=this[e(2018)],t=0,o=n[e(1361)];t<o;++t)for(var x=n[t],r=0,i=x.length;r<i;++r){var a=x[r];if(a)return a}return null}function wd(){let e=0;for(const n of this)++e;return e}function vd(){return!this[c(784)]()}function pd(e){const n=c;for(var t=this[n(2018)],o=0,x=t.length;o<x;++o)for(var r=t[o],i=0,a=r[n(1361)],d;i<a;++i)(d=r[i])&&e[n(1241)](d,d[n(1079)],i,r);return this}function zd(e){return function(){this[_0x4d07(451)](e)}}function Cd(e){return function(){const n=_0x4d07;this[n(355)](e[n(1429)],e[n(1322)])}}function Md(e,n){return function(){this[_0x4d07(990)](e,n)}}function Bd(e,n){return function(){const t=_0x4d07;this[t(950)](e.space,e[t(1322)],n)}}function Dd(e,n){return function(){const t=_0x4d07;var o=n.apply(this,arguments);o==null?this[t(451)](e):this[t(990)](e,o)}}function Ld(e,n){return function(){const t=_0x4d07;var o=n.apply(this,arguments);o==null?this[t(355)](e[t(1429)],e[t(1322)]):this.setAttributeNS(e[t(1429)],e[t(1322)],o)}}function Sd(e,n){const t=c;var o=S0(e);if(arguments[t(1361)]<2){var x=this[t(784)]();return o[t(1322)]?x.getAttributeNS(o.space,o[t(1322)]):x[t(1984)](o)}return this[t(456)]((n==null?o.local?Cd:zd:typeof n===t(2002)?o[t(1322)]?Ld:Dd:o.local?Bd:Md)(o,n))}function ti(e){const n=c;return e[n(1220)]&&e[n(1220)].defaultView||e[n(1731)]&&e||e[n(1878)]}function Nd(e){return function(){this[_0x4d07(962)].removeProperty(e)}}function kd(e,n,t){return function(){const o=_0x4d07;this[o(962)][o(412)](e,n,t)}}function Id(e,n,t){return function(){const o=_0x4d07;var x=n.apply(this,arguments);x==null?this.style[o(1296)](e):this[o(962)][o(412)](e,x,t)}}function Pd(e,n,t){return arguments[c(1361)]>1?this.each((n==null?Nd:typeof n=="function"?Id:kd)(e,n,t??"")):bt(this.node(),e)}function bt(e,n){const t=c;return e[t(962)][t(1330)](n)||ti(e)[t(1702)](e,null)[t(1330)](n)}function Ad(e){return function(){delete this[e]}}function jd(e,n){return function(){this[e]=n}}function Ed(e,n){return function(){var o=n[_0x4d07(458)](this,arguments);o==null?delete this[e]:this[e]=o}}function Yd(e,n){const t=c;return arguments[t(1361)]>1?this[t(456)]((n==null?Ad:typeof n===t(2002)?Ed:jd)(e,n)):this[t(784)]()[e]}function xi(e){const n=c;return e.trim()[n(364)](/^|\s+/)}function Tx(e){return e[c(875)]||new oi(e)}function oi(e){const n=c;this[n(1682)]=e,this._names=xi(e[n(1984)](n(1121))||"")}oi[c(1389)]={add:function(e){const n=c;var t=this[n(699)][n(554)](e);t<0&&(this._names[n(1935)](e),this[n(1682)][n(990)](n(1121),this[n(699)][n(748)](" ")))},remove:function(e){const n=c;var t=this[n(699)].indexOf(e);t>=0&&(this[n(699)][n(507)](t,1),this[n(1682)][n(990)](n(1121),this[n(699)][n(748)](" ")))},contains:function(e){return this[c(699)].indexOf(e)>=0}};function ri(e,n){const t=c;for(var o=Tx(e),x=-1,r=n[t(1361)];++x<r;)o[t(1219)](n[x])}function ii(e,n){const t=c;for(var o=Tx(e),x=-1,r=n[t(1361)];++x<r;)o[t(1441)](n[x])}function Ud(e){return function(){ri(this,e)}}function Gd(e){return function(){ii(this,e)}}function Od(e,n){return function(){(n[_0x4d07(458)](this,arguments)?ri:ii)(this,e)}}function Hd(e,n){const t=c;var o=xi(e+"");if(arguments[t(1361)]<2){for(var x=Tx(this.node()),r=-1,i=o[t(1361)];++r<i;)if(!x[t(1854)](o[r]))return!1;return!0}return this[t(456)]((typeof n===t(2002)?Od:n?Ud:Gd)(o,n))}function Vd(){const e=c;this[e(683)]=""}function Td(e){return function(){const n=_0x4d07;this[n(683)]=e}}function qd(e){return function(){const n=_0x4d07;var t=e[n(458)](this,arguments);this[n(683)]=t??""}}function Wd(e){const n=c;return arguments.length?this[n(456)](e==null?Vd:(typeof e=="function"?qd:Td)(e)):this[n(784)]()[n(683)]}function Xd(){const e=c;this[e(1485)]=""}function Kd(e){return function(){const n=_0x4d07;this[n(1485)]=e}}function Zd(e){return function(){const n=_0x4d07;var t=e[n(458)](this,arguments);this[n(1485)]=t??""}}function Rd(e){const n=c;return arguments[n(1361)]?this.each(e==null?Xd:(typeof e===n(2002)?Zd:Kd)(e)):this[n(784)]().innerHTML}function Jd(){const e=c;this[e(499)]&&this[e(966)][e(808)](this)}function _d(){return this[c(456)](Jd)}function Qd(){const e=c;this[e(898)]&&this.parentNode[e(1450)](this,this.parentNode.firstChild)}function Fd(){return this[c(456)](Qd)}function $d(e){const n=c;var t=typeof e===n(2002)?e:Qr(e);return this[n(693)](function(){const o=n;return this[o(808)](t[o(458)](this,arguments))})}function ef(){return null}function nf(e,n){const t=c;var o=typeof e===t(2002)?e:Qr(e),x=n==null?ef:typeof n===t(2002)?n:Vx(n);return this.select(function(){const r=t;return this[r(1450)](o[r(458)](this,arguments),x[r(458)](this,arguments)||null)})}function tf(){var n=this[c(966)];n&&n.removeChild(this)}function xf(){return this[c(456)](tf)}function of(){const e=c;var n=this.cloneNode(!1),t=this.parentNode;return t?t[e(1450)](n,this[e(499)]):n}function rf(){const e=c;var n=this.cloneNode(!0),t=this.parentNode;return t?t[e(1450)](n,this[e(499)]):n}function af(e){return this[c(693)](e?rf:of)}function sf(e){const n=c;return arguments[n(1361)]?this[n(1447)]("__data__",e):this[n(784)]()[n(1079)]}function cf(e){return function(n){const t=_0x4d07;e[t(1241)](this,n,this[t(1079)])}}function lf(e){const n=c;return e[n(475)]()[n(364)](/^|\s+/)[n(1549)](function(t){const o=n;var x="",r=t[o(554)](".");return r>=0&&(x=t[o(1791)](r+1),t=t[o(1791)](0,r)),{type:t,name:x}})}function df(e){return function(){const n=_0x4d07;var t=this[n(902)];if(t){for(var o=0,x=-1,r=t[n(1361)],i;o<r;++o)i=t[o],(!e[n(478)]||i[n(478)]===e.type)&&i[n(1852)]===e[n(1852)]?this.removeEventListener(i.type,i[n(1064)],i[n(1417)]):t[++x]=i;++x?t[n(1361)]=x:delete this[n(902)]}}}function ff(e,n,t){return function(){const o=_0x4d07;var x=this.__on,r,i=cf(n);if(x){for(var a=0,d=x.length;a<d;++a)if((r=x[a]).type===e[o(478)]&&r[o(1852)]===e[o(1852)]){this.removeEventListener(r[o(478)],r[o(1064)],r[o(1417)]),this[o(1534)](r[o(478)],r.listener=i,r.options=t),r[o(999)]=n;return}}this[o(1534)](e[o(478)],i,t),r={type:e[o(478)],name:e[o(1852)],value:n,listener:i,options:t},x?x[o(1935)](r):this[o(902)]=[r]}}function uf(e,n,t){const o=c;var x=lf(e+""),r,i=x[o(1361)],a;if(arguments[o(1361)]<2){var d=this[o(784)]()[o(902)];if(d){for(var s=0,f=d[o(1361)],u;s<f;++s)for(r=0,u=d[s];r<i;++r)if((a=x[r])[o(478)]===u[o(478)]&&a[o(1852)]===u.name)return u[o(999)]}return}for(d=n?ff:df,r=0;r<i;++r)this[o(456)](d(x[r],n,t));return this}function ai(e,n,t){const o=c;var x=ti(e),r=x[o(1046)];typeof r=="function"?r=new r(n,t):(r=x[o(1731)].createEvent(o(1399)),t?(r[o(1869)](n,t.bubbles,t[o(1962)]),r[o(1545)]=t[o(1545)]):r[o(1869)](n,!1,!1)),e.dispatchEvent(r)}function hf(e,n){return function(){return ai(this,e,n)}}function gf(e,n){return function(){return ai(this,e,n[_0x4d07(458)](this,arguments))}}function bf(e,n){const t=c;return this[t(456)]((typeof n===t(2002)?gf:hf)(e,n))}function*yf(){const e=c;for(var n=this[e(2018)],t=0,o=n.length;t<o;++t)for(var x=n[t],r=0,i=x[e(1361)],a;r<i;++r)(a=x[r])&&(yield a)}var si=[null];function rn(e,n){const t=c;this._groups=e,this[t(1094)]=n}function Ht(){return new rn([[document.documentElement]],si)}function mf(){return this}rn[c(1389)]=Ht.prototype={constructor:rn,select:ql,selectAll:Zl,selectChild:Ql,selectChildren:nd,filter:td,data:sd,enter:xd,exit:ld,join:dd,merge:fd,selection:mf,order:ud,sort:hd,call:bd,nodes:yd,node:md,size:wd,empty:vd,each:pd,attr:Sd,style:Pd,property:Yd,classed:Hd,text:Wd,html:Rd,raise:_d,lower:Fd,append:$d,insert:nf,remove:xf,clone:af,datum:sf,on:uf,dispatch:bf,[Symbol.iterator]:yf};function an(e){const n=c;return typeof e===n(975)?new rn([[document[n(1952)](e)]],[document[n(1598)]]):new rn([[e]],si)}function wf(e){const n=c;let t;for(;t=e[n(843)];)e=t;return e}function hn(e,n){const t=c;if(e=wf(e),n===void 0&&(n=e[t(1423)]),n){var o=n[t(1124)]||n;if(o.createSVGPoint){var x=o.createSVGPoint();return x.x=e[t(1086)],x.y=e[t(1604)],x=x.matrixTransform(n[t(2084)]()[t(849)]()),[x.x,x.y]}if(n[t(1436)]){var r=n[t(1436)]();return[e[t(1086)]-r.left-n[t(1792)],e[t(1604)]-r[t(1653)]-n[t(1458)]]}}return[e[t(473)],e[t(1025)]]}const vf={passive:!1},Vt={capture:!0,passive:!1};function qx(e){e[c(1337)]()}function yt(e){const n=c;e[n(310)](),e[n(1337)]()}function ci(e){const n=c;var t=e[n(1731)][n(1598)],o=an(e).on(n(1641),yt,Vt);n(1649)in t?o.on(n(1010),yt,Vt):(t[n(1817)]=t[n(962)].MozUserSelect,t[n(962)].MozUserSelect=n(1185))}function li(e,n){const t=c;var o=e.document[t(1598)],x=an(e).on(t(1641),null);n&&(x.on("click.drag",yt,Vt),setTimeout(function(){const r=t;x.on(r(934),null)},0)),t(1649)in o?x.on(t(1010),null):(o.style[t(1550)]=o[t(1817)],delete o[t(1817)])}const k0=e=>()=>e;function Wx(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:a,dx:d,dy:s,dispatch:f}){Object[c(1774)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:f}})}Wx.prototype.on=function(){const e=c;var n=this._.on[e(458)](this._,arguments);return n===this._?this:n};function pf(e){const n=c;return!e[n(1421)]&&!e[n(1266)]}function zf(){return this.parentNode}function Cf(e,n){return n??{x:e.x,y:e.y}}function Mf(){const e=c;return navigator.maxTouchPoints||e(1165)in this}function di(){const e=c;var n=pf,t=zf,o=Cf,x=Mf,r={},i=D0(e(867),e(909),e(1510)),a=0,d,s,f,u,h=0;function b(p){const N=e;p.on(N(859),v)[N(416)](x).on("touchstart.drag",M).on(N(431),m,vf).on("touchend.drag touchcancel.drag",y)[N(962)](N(2021),N(1185)).style(N(1745),N(1043))}function v(p,N){const O=e;if(!(u||!n[O(1241)](this,p,N))){var G=z(this,t.call(this,p,N),p,N,O(1829));G&&(an(p.view).on(O(1988),g,Vt).on(O(1401),w,Vt),ci(p.view),qx(p),f=!1,d=p[O(1086)],s=p.clientY,G(O(867),p))}}function g(p){const N=e;if(yt(p),!f){var O=p.clientX-d,G=p[N(1604)]-s;f=O*O+G*G>h}r[N(1829)](N(909),p)}function w(p){const N=e;an(p[N(1525)]).on(N(625),null),li(p[N(1525)],f),yt(p),r[N(1829)](N(1510),p)}function M(p,N){const O=e;if(n[O(1241)](this,p,N)){var G=p[O(1548)],T=t.call(this,p,N),j=G[O(1361)],q,V;for(q=0;q<j;++q)(V=z(this,T,p,N,G[q].identifier,G[q]))&&(qx(p),V(O(867),p,G[q]))}}function m(p){const N=e;var O=p[N(1548)],G=O[N(1361)],T,j;for(T=0;T<G;++T)(j=r[O[T].identifier])&&(yt(p),j(N(909),p,O[T]))}function y(p){const N=e;var O=p[N(1548)],G=O[N(1361)],T,j;for(u&&clearTimeout(u),u=setTimeout(function(){u=null},500),T=0;T<G;++T)(j=r[O[T].identifier])&&(qx(p),j(N(1510),p,O[T]))}function z(p,N,O,G,T,j){const q=e;var V=i.copy(),W=hn(j||O,N),H,S,L;if((L=o[q(1241)](p,new Wx(q(690),{sourceEvent:O,target:b,identifier:T,active:a,x:W[0],y:W[1],dx:0,dy:0,dispatch:V}),G))!=null)return H=L.x-W[0]||0,S=L.y-W[1]||0,function D(E,U,k){const R=q;var $=W,ee;switch(E){case"start":r[T]=D,ee=a++;break;case R(1510):delete r[T],--a;case R(909):W=hn(k||U,N),ee=a;break}V[R(1241)](E,p,new Wx(E,{sourceEvent:U,subject:L,target:b,identifier:T,active:ee,x:W[0]+H,y:W[1]+S,dx:W[0]-$[0],dy:W[1]-$[1],dispatch:V}),G)}}return b[e(416)]=function(p){const N=e;return arguments.length?(n=typeof p===N(2002)?p:k0(!!p),b):n},b[e(1527)]=function(p){const N=e;return arguments[N(1361)]?(t=typeof p===N(2002)?p:k0(p),b):t},b[e(824)]=function(p){return arguments[e(1361)]?(o=typeof p=="function"?p:k0(p),b):o},b[e(2034)]=function(p){const N=e;return arguments.length?(x=typeof p===N(2002)?p:k0(!!p),b):x},b.on=function(){const p=e;var N=i.on[p(458)](i,arguments);return N===i?b:N},b[e(689)]=function(p){return arguments[e(1361)]?(h=(p=+p)*p,b):Math.sqrt(h)},b}function Xx(e,n,t){const o=c;e[o(1389)]=n.prototype=t,t.constructor=e}function fi(e,n){const t=c;var o=Object[t(1821)](e[t(1389)]);for(var x in n)o[x]=n[x];return o}function Tt(){}var qt=.7,I0=1/qt,mt="\\s*([+-]?\\d+)\\s*",Wt=c(1845),Cn=c(423),Bf=/^#([0-9a-f]{3,8})$/,Df=new RegExp("^rgb\\("+mt+","+mt+","+mt+"\\)$"),Lf=new RegExp(c(330)+Cn+","+Cn+","+Cn+c(1365)),Sf=new RegExp(c(1990)+mt+","+mt+","+mt+","+Wt+c(1365)),Nf=new RegExp(c(1990)+Cn+","+Cn+","+Cn+","+Wt+c(1365)),kf=new RegExp(c(1913)+Wt+","+Cn+","+Cn+"\\)$"),If=new RegExp(c(1755)+Wt+","+Cn+","+Cn+","+Wt+c(1365)),ui={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};Xx(Tt,Qn,{copy(e){const n=c;return Object.assign(new this[n(803)],this,e)},displayable(){const e=c;return this.rgb()[e(2059)]()},hex:hi,formatHex:hi,formatHex8:Pf,formatHsl:Af,formatRgb:gi,toString:gi});function hi(){const e=c;return this[e(2070)]()[e(1214)]()}function Pf(){const e=c;return this[e(2070)]()[e(1248)]()}function Af(){return vi(this).formatHsl()}function gi(){const e=c;return this[e(2070)]()[e(1944)]()}function Qn(e){const n=c;var t,o;return e=(e+"")[n(475)]()[n(537)](),(t=Bf.exec(e))?(o=t[1][n(1361)],t=parseInt(t[1],16),o===6?bi(t):o===3?new en(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?P0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?P0(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Df[n(1833)](e))?new en(t[1],t[2],t[3],1):(t=Lf[n(1833)](e))?new en(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Sf[n(1833)](e))?P0(t[1],t[2],t[3],t[4]):(t=Nf[n(1833)](e))?P0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=kf[n(1833)](e))?wi(t[1],t[2]/100,t[3]/100,1):(t=If[n(1833)](e))?wi(t[1],t[2]/100,t[3]/100,t[4]):ui[n(534)](e)?bi(ui[e]):e===n(1634)?new en(NaN,NaN,NaN,0):null}function bi(e){return new en(e>>16&255,e>>8&255,e&255,1)}function P0(e,n,t,o){return o<=0&&(e=n=t=NaN),new en(e,n,t,o)}function jf(e){const n=c;return e instanceof Tt||(e=Qn(e)),e?(e=e[n(2070)](),new en(e.r,e.g,e.b,e[n(1512)])):new en}function Kx(e,n,t,o){return arguments[c(1361)]===1?jf(e):new en(e,n,t,o??1)}function en(e,n,t,o){const x=c;this.r=+e,this.g=+n,this.b=+t,this[x(1512)]=+o}Xx(en,Kx,fi(Tt,{brighter(e){const n=c;return e=e==null?I0:Math[n(1326)](I0,e),new en(this.r*e,this.g*e,this.b*e,this[n(1512)])},darker(e){const n=c;return e=e==null?qt:Math.pow(qt,e),new en(this.r*e,this.g*e,this.b*e,this[n(1512)])},rgb(){return this},clamp(){return new en(Fn(this.r),Fn(this.g),Fn(this.b),A0(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(1512)]&&this[e(1512)]<=1},hex:yi,formatHex:yi,formatHex8:Ef,formatRgb:mi,toString:mi}));function yi(){return"#"+$n(this.r)+$n(this.g)+$n(this.b)}function Ef(){const e=c;return"#"+$n(this.r)+$n(this.g)+$n(this.b)+$n((isNaN(this[e(1512)])?1:this[e(1512)])*255)}function mi(){const e=c,n=A0(this.opacity);return""+e(n===1?1767:2072)+Fn(this.r)+", "+Fn(this.g)+", "+Fn(this.b)+(n===1?")":", "+n+")")}function A0(e){const n=c;return isNaN(e)?1:Math[n(2036)](0,Math.min(1,e))}function Fn(e){const n=c;return Math.max(0,Math[n(714)](255,Math[n(1836)](e)||0))}function $n(e){const n=c;return e=Fn(e),(e<16?"0":"")+e[n(1089)](16)}function wi(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new gn(e,n,t,o)}function vi(e){const n=c;if(e instanceof gn)return new gn(e.h,e.s,e.l,e[n(1512)]);if(e instanceof Tt||(e=Qn(e)),!e)return new gn;if(e instanceof gn)return e;e=e[n(2070)]();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(714)](t,o,x),i=Math.max(t,o,x),a=NaN,d=i-r,s=(i+r)/2;return d?(t===i?a=(o-x)/d+(o<x)*6:o===i?a=(x-t)/d+2:a=(t-o)/d+4,d/=s<.5?i+r:2-i-r,a*=60):d=s>0&&s<1?0:a,new gn(a,d,s,e[n(1512)])}function Yf(e,n,t,o){return arguments.length===1?vi(e):new gn(e,n,t,o??1)}function gn(e,n,t,o){const x=c;this.h=+e,this.s=+n,this.l=+t,this[x(1512)]=+o}Xx(gn,Yf,fi(Tt,{brighter(e){const n=c;return e=e==null?I0:Math.pow(I0,e),new gn(this.h,this.s,this.l*e,this[n(1512)])},darker(e){const n=c;return e=e==null?qt:Math[n(1326)](qt,e),new gn(this.h,this.s,this.l*e,this.opacity)},rgb(){const e=c;var n=this.h%360+(this.h<0)*360,t=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,x=o+(o<.5?o:1-o)*t,r=2*o-x;return new en(Zx(n>=240?n-240:n+120,r,x),Zx(n,r,x),Zx(n<120?n+240:n-120,r,x),this[e(1512)])},clamp(){const e=c;return new gn(pi(this.h),j0(this.s),j0(this.l),A0(this[e(1512)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(1512)]&&this.opacity<=1},formatHsl(){const e=c,n=A0(this.opacity);return""+e(n===1?250:614)+pi(this.h)+", "+j0(this.s)*100+e(929)+j0(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function pi(e){return e=(e||0)%360,e<0?e+360:e}function j0(e){return Math.max(0,Math[c(714)](1,e||0))}function Zx(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const Rx=e=>()=>e;function Uf(e,n){return function(t){return e+t*n}}function Gf(e,n,t){const o=c;return e=Math[o(1326)](e,t),n=Math[o(1326)](n,t)-e,t=1/t,function(x){return Math[o(1326)](e+x*n,t)}}function Of(e){return(e=+e)==1?zi:function(n,t){return t-n?Gf(n,t,e):Rx(isNaN(n)?t:n)}}function zi(e,n){var t=n-e;return t?Uf(e,t):Rx(isNaN(e)?n:e)}const E0=(function e(n){const t=c;var o=Of(n);function x(r,i){var a=o((r=Kx(r)).r,(i=Kx(i)).r),d=o(r.g,i.g),s=o(r.b,i.b),f=zi(r.opacity,i.opacity);return function(u){return r.r=a(u),r.g=d(u),r.b=s(u),r.opacity=f(u),r+""}}return x[t(881)]=e,x})(1);function Hf(e,n){const t=c;n||(n=[]);var o=e?Math[t(714)](n.length,e[t(1361)]):0,x=n.slice(),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function Vf(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Tf(e,n){const t=c;var o=n?n[t(1361)]:0,x=e?Math[t(714)](o,e.length):0,r=new Array(x),i=new Array(o),a;for(a=0;a<x;++a)r[a]=Xt(e[a],n[a]);for(;a<o;++a)i[a]=n[a];return function(d){for(a=0;a<x;++a)i[a]=r[a](d);return i}}function qf(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x4d07(1806)](e*(1-o)+n*o),t}}function Mn(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Wf(e,n){const t=c;var o={},x={},r;(e===null||typeof e!="object")&&(e={}),(n===null||typeof n!==t(1612))&&(n={});for(r in n)r in e?o[r]=Xt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var Jx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_x=new RegExp(Jx.source,"g");function Xf(e){return function(){return e}}function Kf(e){return function(n){return e(n)+""}}function Ci(e,n){const t=c;var o=Jx[t(307)]=_x.lastIndex=0,x,r,i,a=-1,d=[],s=[];for(e=e+"",n=n+"";(x=Jx[t(1833)](e))&&(r=_x[t(1833)](n));)(i=r.index)>o&&(i=n[t(1791)](o,i),d[a]?d[a]+=i:d[++a]=i),(x=x[0])===(r=r[0])?d[a]?d[a]+=r:d[++a]=r:(d[++a]=null,s.push({i:a,x:Mn(x,r)})),o=_x[t(307)];return o<n.length&&(i=n[t(1791)](o),d[a]?d[a]+=i:d[++a]=i),d[t(1361)]<2?s[0]?Kf(s[0].x):Xf(n):(n=s.length,function(f){const u=t;for(var h=0,b;h<n;++h)d[(b=s[h]).i]=b.x(f);return d[u(748)]("")})}function Xt(e,n){const t=c;var o=typeof n,x;return n==null||o==="boolean"?Rx(n):(o===t(1493)?Mn:o==="string"?(x=Qn(n))?(n=x,E0):Ci:n instanceof Qn?E0:n instanceof Date?qf:Vf(n)?Hf:Array[t(862)](n)?Tf:typeof n[t(1896)]!==t(2002)&&typeof n.toString!="function"||isNaN(n)?Wf:Mn)(e,n)}var Mi=180/Math.PI,Qx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Bi(e,n,t,o,x,r){const i=c;var a,d,s;return(a=Math[i(573)](e*e+n*n))&&(e/=a,n/=a),(s=e*t+n*o)&&(t-=e*s,o-=n*s),(d=Math[i(573)](t*t+o*o))&&(t/=d,o/=d,s/=d),e*o<n*t&&(e=-e,n=-n,s=-s,a=-a),{translateX:x,translateY:r,rotate:Math[i(1766)](n,e)*Mi,skewX:Math[i(1168)](s)*Mi,scaleX:a,scaleY:d}}var Y0;function Zf(e){const n=c,t=new(typeof DOMMatrix===n(2002)?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Qx:Bi(t.a,t.b,t.c,t.d,t.e,t.f)}function Rf(e){const n=c;return e==null||(Y0||(Y0=document[n(1342)](n(491),"g")),Y0.setAttribute("transform",e),!(e=Y0[n(1696)][n(790)][n(579)]()))?Qx:(e=e[n(1507)],Bi(e.a,e.b,e.c,e.d,e.e,e.f))}function Di(e,n,t,o){function x(s){const f=_0x4d07;return s.length?s[f(1965)]()+" ":""}function r(s,f,u,h,b,v){const g=_0x4d07;if(s!==u||f!==h){var w=b[g(1935)](g(1170),null,n,null,t);v.push({i:w-4,x:Mn(s,u)},{i:w-2,x:Mn(f,h)})}else(u||h)&&b[g(1935)](g(1170)+u+n+h+t)}function i(s,f,u,h){const b=_0x4d07;s!==f?(s-f>180?f+=360:f-s>180&&(s+=360),h[b(1935)]({i:u[b(1935)](x(u)+b(1955),null,o)-2,x:Mn(s,f)})):f&&u.push(x(u)+b(1955)+f+o)}function a(s,f,u,h){const b=_0x4d07;s!==f?h.push({i:u.push(x(u)+b(1284),null,o)-2,x:Mn(s,f)}):f&&u.push(x(u)+b(1284)+f+o)}function d(s,f,u,h,b,v){const g=_0x4d07;if(s!==u||f!==h){var w=b[g(1935)](x(b)+g(1554),null,",",null,")");v.push({i:w-4,x:Mn(s,u)},{i:w-2,x:Mn(f,h)})}else(u!==1||h!==1)&&b[g(1935)](x(b)+g(1554)+u+","+h+")")}return function(s,f){const u=_0x4d07;var h=[],b=[];return s=e(s),f=e(f),r(s[u(1603)],s.translateY,f[u(1603)],f[u(685)],h,b),i(s[u(341)],f.rotate,h,b),a(s[u(658)],f[u(658)],h,b),d(s[u(776)],s[u(437)],f[u(776)],f[u(437)],h,b),s=f=null,function(v){const g=u;for(var w=-1,M=b[g(1361)],m;++w<M;)h[(m=b[w]).i]=m.x(v);return h[g(748)]("")}}}var Jf=Di(Zf,c(1344),c(1627),c(1828)),_f=Di(Rf,", ",")",")"),Qf=1e-12;function Li(e){return((e=Math[c(2102)](e))+1/e)/2}function Ff(e){return((e=Math[c(2102)](e))-1/e)/2}function $f(e){return((e=Math[c(2102)](2*e))-1)/(e+1)}const U0=(function e(n,t,o){function x(r,i){const a=_0x4d07;var d=r[0],s=r[1],f=r[2],u=i[0],h=i[1],b=i[2],v=u-d,g=h-s,w=v*v+g*g,M,m;if(w<Qf)m=Math.log(b/f)/n,M=function(G){const T=_0x4d07;return[d+G*v,s+G*g,f*Math[T(2102)](n*G*m)]};else{var y=Math[a(573)](w),z=(b*b-f*f+o*w)/(2*f*t*y),p=(b*b-f*f-o*w)/(2*b*t*y),N=Math.log(Math[a(573)](z*z+1)-z),O=Math[a(1461)](Math[a(573)](p*p+1)-p);m=(O-N)/n,M=function(G){var T=G*m,j=Li(N),q=f/(t*y)*(j*$f(n*T+N)-Ff(N));return[d+q*v,s+q*g,f*j/Li(n*T+N)]}}return M.duration=m*1e3*n/Math[a(1392)],M}return x.rho=function(r){var i=Math.max(.001,+r),a=i*i,d=a*a;return e(i,a,d)},x})(Math.SQRT2,2,4);var wt=0,Kt=0,Zt=0,Si=1e3,G0,Rt,O0=0,et=0,H0=0,Jt=typeof performance===c(1612)&&performance[c(1444)]?performance:Date,Ni=typeof window===c(1612)&&window.requestAnimationFrame?window.requestAnimationFrame[c(674)](window):function(e){setTimeout(e,17)};function Fx(){const e=c;return et||(Ni(eu),et=Jt[e(1444)]()+H0)}function eu(){et=0}function V0(){const e=c;this._call=this[e(1925)]=this[e(2081)]=null}V0.prototype=ki[c(1389)]={constructor:V0,restart:function(e,n,t){const o=c;if(typeof e!==o(2002))throw new TypeError(o(837));t=(t==null?Fx():+t)+(n==null?0:+n),!this[o(2081)]&&Rt!==this&&(Rt?Rt._next=this:G0=this,Rt=this),this[o(1181)]=e,this[o(1925)]=t,$x()},stop:function(){this[c(1181)]&&(this._call=null,this._time=1/0,$x())}};function ki(e,n,t){const o=c;var x=new V0;return x[o(2001)](e,n,t),x}function nu(){const e=c;Fx(),++wt;for(var n=G0,t;n;)(t=et-n._time)>=0&&n[e(1181)][e(1241)](void 0,t),n=n[e(2081)];--wt}function Ii(){et=(O0=Jt[c(1444)]())+H0,wt=Kt=0;try{nu()}finally{wt=0,xu(),et=0}}function tu(){var n=Jt[c(1444)](),t=n-O0;t>Si&&(H0-=t,O0=n)}function xu(){const e=c;for(var n,t=G0,o,x=1/0;t;)t._call?(x>t._time&&(x=t[e(1925)]),n=t,t=t._next):(o=t[e(2081)],t._next=null,t=n?n[e(2081)]=o:G0=o);Rt=n,$x(x)}function $x(e){const n=c;if(!wt){Kt&&(Kt=clearTimeout(Kt));var t=e-et;t>24?(e<1/0&&(Kt=setTimeout(Ii,e-Jt[n(1444)]()-H0)),Zt&&(Zt=clearInterval(Zt))):(Zt||(O0=Jt[n(1444)](),Zt=setInterval(tu,Si)),wt=1,Ni(Ii))}}function Pi(e,n,t){var o=new V0;return n=n==null?0:+n,o.restart(x=>{o.stop(),e(x+n)},n,t),o}var ou=D0("start","end",c(831),"interrupt"),ru=[],Ai=0,ji=1,eo=2,T0=3,Ei=4,no=5,q0=6;function W0(e,n,t,o,x,r){const i=c;var a=e.__transition;if(!a)e[i(738)]={};else if(t in a)return;iu(e,t,{name:n,index:o,group:x,on:ou,tween:ru,time:r[i(1577)],delay:r[i(1179)],duration:r.duration,ease:r[i(616)],timer:null,state:Ai})}function to(e,n){const t=c;var o=bn(e,n);if(o.state>Ai)throw new Error(t(1586));return o}function Bn(e,n){const t=c;var o=bn(e,n);if(o[t(413)]>T0)throw new Error(t(367));return o}function bn(e,n){const t=c;var o=e[t(738)];if(!o||!(o=o[n]))throw new Error(t(398));return o}function iu(e,n,t){const o=c;var x=e.__transition,r;x[n]=t,t.timer=ki(i,0,t[o(1577)]);function i(f){const u=o;t[u(413)]=ji,t[u(1155)].restart(a,t[u(1179)],t[u(1577)]),t[u(1179)]<=f&&a(f-t.delay)}function a(f){const u=o;var h,b,v,g;if(t.state!==ji)return s();for(h in x)if(g=x[h],g[u(1852)]===t.name){if(g.state===T0)return Pi(a);g[u(413)]===Ei?(g[u(413)]=q0,g.timer.stop(),g.on[u(1241)](u(525),e,e[u(1079)],g.index,g[u(351)]),delete x[h]):+h<n&&(g[u(413)]=q0,g[u(1155)][u(515)](),g.on.call("cancel",e,e[u(1079)],g[u(901)],g[u(351)]),delete x[h])}if(Pi(function(){const w=u;t[w(413)]===T0&&(t[w(413)]=Ei,t[w(1155)].restart(d,t.delay,t[w(1577)]),d(f))}),t[u(413)]=eo,t.on[u(1241)](u(867),e,e[u(1079)],t.index,t.group),t[u(413)]===eo){for(t[u(413)]=T0,r=new Array(v=t[u(1479)][u(1361)]),h=0,b=-1;h<v;++h)(g=t[u(1479)][h].value[u(1241)](e,e[u(1079)],t[u(901)],t[u(351)]))&&(r[++b]=g);r[u(1361)]=b+1}}function d(f){const u=o;for(var h=f<t[u(664)]?t[u(616)][u(1241)](null,f/t.duration):(t[u(1155)][u(2001)](s),t[u(413)]=no,1),b=-1,v=r[u(1361)];++b<v;)r[b].call(e,h);t[u(413)]===no&&(t.on[u(1241)](u(1510),e,e.__data__,t[u(901)],t[u(351)]),s())}function s(){const f=o;t[f(413)]=q0,t[f(1155)].stop(),delete x[n];for(var u in x)return;delete e.__transition}}function X0(e,n){const t=c;var o=e[t(738)],x,r,i=!0,a;if(o){n=n==null?null:n+"";for(a in o){if((x=o[a])[t(1852)]!==n){i=!1;continue}r=x[t(413)]>eo&&x[t(413)]<no,x[t(413)]=q0,x[t(1155)][t(515)](),x.on[t(1241)](r?t(525):"cancel",e,e[t(1079)],x[t(901)],x[t(351)]),delete o[a]}i&&delete e[t(738)]}}function au(e){return this[c(456)](function(){X0(this,e)})}function su(e,n){var t,o;return function(){const x=_0x4d07;var r=Bn(this,e),i=r.tween;if(i!==t){o=t=i;for(var a=0,d=o[x(1361)];a<d;++a)if(o[a][x(1852)]===n){o=o[x(1791)](),o[x(507)](a,1);break}}r[x(1479)]=o}}function cu(e,n,t){const o=c;var x,r;if(typeof t!==o(2002))throw new Error;return function(){const i=o;var a=Bn(this,e),d=a[i(1479)];if(d!==x){r=(x=d).slice();for(var s={name:n,value:t},f=0,u=r[i(1361)];f<u;++f)if(r[f].name===n){r[f]=s;break}f===u&&r[i(1935)](s)}a[i(1479)]=r}}function lu(e,n){const t=c;var o=this[t(1566)];if(e+="",arguments[t(1361)]<2){for(var x=bn(this[t(784)](),o).tween,r=0,i=x[t(1361)],a;r<i;++r)if((a=x[r])[t(1852)]===e)return a[t(999)];return null}return this.each((n==null?su:cu)(o,e,n))}function xo(e,n,t){const o=c;var x=e._id;return e[o(456)](function(){const r=o;var i=Bn(this,x);(i[r(999)]||(i.value={}))[n]=t[r(458)](this,arguments)}),function(r){const i=o;return bn(r,x)[i(999)][n]}}function Yi(e,n){var t;return(typeof n=="number"?Mn:n instanceof Qn?E0:(t=Qn(n))?(n=t,E0):Ci)(e,n)}function du(e){return function(){this[_0x4d07(451)](e)}}function fu(e){return function(){const n=_0x4d07;this[n(355)](e[n(1429)],e[n(1322)])}}function uu(e,n,t){var o,x=t+"",r;return function(){var i=this.getAttribute(e);return i===x?null:i===o?r:r=n(o=i,t)}}function hu(e,n,t){var o,x=t+"",r;return function(){const i=_0x4d07;var a=this[i(576)](e[i(1429)],e[i(1322)]);return a===x?null:a===o?r:r=n(o=a,t)}}function gu(e,n,t){var o,x,r;return function(){const i=_0x4d07;var a,d=t(this),s;return d==null?void this[i(451)](e):(a=this.getAttribute(e),s=d+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d)))}}function bu(e,n,t){var o,x,r;return function(){const i=_0x4d07;var a,d=t(this),s;return d==null?void this[i(355)](e[i(1429)],e[i(1322)]):(a=this[i(576)](e[i(1429)],e[i(1322)]),s=d+"",a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d)))}}function yu(e,n){const t=c;var o=S0(e),x=o===t(1696)?_f:Yi;return this.attrTween(e,typeof n===t(2002)?(o[t(1322)]?bu:gu)(o,x,xo(this,t(594)+e,n)):n==null?(o[t(1322)]?fu:du)(o):(o[t(1322)]?hu:uu)(o,x,n))}function mu(e,n){return function(t){const o=_0x4d07;this.setAttribute(e,n[o(1241)](this,t))}}function wu(e,n){return function(t){const o=_0x4d07;this[o(950)](e[o(1429)],e[o(1322)],n[o(1241)](this,t))}}function vu(e,n){const t=c;var o,x;function r(){var i=n.apply(this,arguments);return i!==x&&(o=(x=i)&&wu(e,i)),o}return r[t(806)]=n,r}function pu(e,n){const t=c;var o,x;function r(){var a=n[_0x4d07(458)](this,arguments);return a!==x&&(o=(x=a)&&mu(e,a)),o}return r[t(806)]=n,r}function zu(e,n){const t=c;var o=t(594)+e;if(arguments.length<2)return(o=this[t(1479)](o))&&o[t(806)];if(n==null)return this[t(1479)](o,null);if(typeof n!="function")throw new Error;var x=S0(e);return this[t(1479)](o,(x[t(1322)]?vu:pu)(x,n))}function Cu(e,n){return function(){const t=_0x4d07;to(this,e).delay=+n[t(458)](this,arguments)}}function Mu(e,n){return n=+n,function(){to(this,e).delay=n}}function Bu(e){const n=c;var t=this[n(1566)];return arguments[n(1361)]?this[n(456)]((typeof e===n(2002)?Cu:Mu)(t,e)):bn(this[n(784)](),t)[n(1179)]}function Du(e,n){return function(){const t=_0x4d07;Bn(this,e)[t(664)]=+n[t(458)](this,arguments)}}function Lu(e,n){return n=+n,function(){const t=_0x4d07;Bn(this,e)[t(664)]=n}}function Su(e){const n=c;var t=this[n(1566)];return arguments[n(1361)]?this[n(456)]((typeof e===n(2002)?Du:Lu)(t,e)):bn(this[n(784)](),t)[n(664)]}function Nu(e,n){const t=c;if(typeof n!==t(2002))throw new Error;return function(){const o=t;Bn(this,e)[o(616)]=n}}function ku(e){const n=c;var t=this[n(1566)];return arguments.length?this.each(Nu(t,e)):bn(this.node(),t)[n(616)]}function Iu(e,n){return function(){const t=_0x4d07;var o=n[t(458)](this,arguments);if(typeof o!==t(2002))throw new Error;Bn(this,e)[t(616)]=o}}function Pu(e){const n=c;if(typeof e!==n(2002))throw new Error;return this[n(456)](Iu(this[n(1566)],e))}function Au(e){const n=c;typeof e!==n(2002)&&(e=$r(e));for(var t=this[n(2018)],o=t[n(1361)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],a=i[n(1361)],d=x[r]=[],s,f=0;f<a;++f)(s=i[f])&&e[n(1241)](s,s[n(1079)],f,i)&&d.push(s);return new kn(x,this[n(1094)],this[n(2013)],this[n(1566)])}function ju(e){const n=c;if(e[n(1566)]!==this._id)throw new Error;for(var t=this[n(2018)],o=e[n(2018)],x=t[n(1361)],r=o.length,i=Math[n(714)](x,r),a=new Array(x),d=0;d<i;++d)for(var s=t[d],f=o[d],u=s[n(1361)],h=a[d]=new Array(u),b,v=0;v<u;++v)(b=s[v]||f[v])&&(h[v]=b);for(;d<x;++d)a[d]=t[d];return new kn(a,this[n(1094)],this[n(2013)],this[n(1566)])}function Eu(e){const n=c;return(e+"")[n(475)]()[n(364)](/^|\s+/)[n(1146)](function(t){const o=n;var x=t[o(554)](".");return x>=0&&(t=t.slice(0,x)),!t||t===o(867)})}function Yu(e,n,t){var o,x,r=Eu(n)?to:Bn;return function(){const i=_0x4d07;var a=r(this,e),d=a.on;d!==o&&(x=(o=d)[i(1630)]()).on(n,t),a.on=x}}function Uu(e,n){const t=c;var o=this[t(1566)];return arguments[t(1361)]<2?bn(this[t(784)](),o).on.on(e):this.each(Yu(o,e,n))}function Gu(e){return function(){const n=_0x4d07;var t=this.parentNode;for(var o in this[n(738)])if(+o!==e)return;t&&t[n(963)](this)}}function Ou(){return this.on("end.remove",Gu(this._id))}function Hu(e){const n=c;var t=this[n(2013)],o=this[n(1566)];typeof e!="function"&&(e=Vx(e));for(var x=this[n(2018)],r=x[n(1361)],i=new Array(r),a=0;a<r;++a)for(var d=x[a],s=d[n(1361)],f=i[a]=new Array(s),u,h,b=0;b<s;++b)(u=d[b])&&(h=e[n(1241)](u,u[n(1079)],b,d))&&(n(1079)in u&&(h.__data__=u[n(1079)]),f[b]=h,W0(f[b],t,o,b,f,bn(u,o)));return new kn(i,this._parents,t,o)}function Vu(e){const n=c;var t=this[n(2013)],o=this[n(1566)];typeof e!==n(2002)&&(e=Fr(e));for(var x=this[n(2018)],r=x.length,i=[],a=[],d=0;d<r;++d)for(var s=x[d],f=s[n(1361)],u,h=0;h<f;++h)if(u=s[h]){for(var b=e[n(1241)](u,u.__data__,h,s),v,g=bn(u,o),w=0,M=b[n(1361)];w<M;++w)(v=b[w])&&W0(v,t,o,w,b,g);i[n(1935)](b),a[n(1935)](u)}return new kn(i,a,t,o)}var Tu=Ht[c(1389)][c(803)];function qu(){const e=c;return new Tu(this[e(2018)],this[e(1094)])}function Wu(e,n){var t,o,x;return function(){const r=_0x4d07;var i=bt(this,e),a=(this[r(962)][r(1296)](e),bt(this,e));return i===a?null:i===t&&a===o?x:x=n(t=i,o=a)}}function Ui(e){return function(){this.style.removeProperty(e)}}function Xu(e,n,t){var o,x=t+"",r;return function(){var i=bt(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function Ku(e,n,t){var o,x,r;return function(){const i=_0x4d07;var a=bt(this,e),d=t(this),s=d+"";return d==null&&(s=d=(this.style[i(1296)](e),bt(this,e))),a===s?null:a===o&&s===x?r:(x=s,r=n(o=a,d))}}function Zu(e,n){const t=c;var o,x,r,i=t(1363)+n,a=t(729)+i,d;return function(){const s=t;var f=Bn(this,e),u=f.on,h=f[s(999)][i]==null?d||(d=Ui(n)):void 0;(u!==o||r!==h)&&(x=(o=u)[s(1630)]()).on(a,r=h),f.on=x}}function Ru(e,n,t){const o=c;var x=(e+="")===o(1696)?Jf:Yi;return n==null?this[o(1240)](e,Wu(e,x)).on("end.style."+e,Ui(e)):typeof n===o(2002)?this[o(1240)](e,Ku(e,x,xo(this,o(1363)+e,n)))[o(456)](Zu(this[o(1566)],e)):this.styleTween(e,Xu(e,x,n),t).on(o(724)+e,null)}function Ju(e,n,t){return function(o){const x=_0x4d07;this.style[x(412)](e,n[x(1241)](this,o),t)}}function _u(e,n,t){var o,x;function r(){var a=n[_0x4d07(458)](this,arguments);return a!==x&&(o=(x=a)&&Ju(e,a,t)),o}return r._value=n,r}function Qu(e,n,t){const o=c;var x=o(1363)+(e+="");if(arguments[o(1361)]<2)return(x=this[o(1479)](x))&&x._value;if(n==null)return this[o(1479)](x,null);if(typeof n!="function")throw new Error;return this.tween(x,_u(e,n,t??""))}function Fu(e){return function(){this.textContent=e}}function $u(e){return function(){const n=_0x4d07;var t=e(this);this[n(683)]=t??""}}function e5(e){const n=c;return this[n(1479)](n(2008),typeof e=="function"?$u(xo(this,n(2008),e)):Fu(e==null?"":e+""))}function n5(e){return function(n){const t=_0x4d07;this[t(683)]=e[t(1241)](this,n)}}function t5(e){const n=c;var t,o;function x(){var i=e[_0x4d07(458)](this,arguments);return i!==o&&(t=(o=i)&&n5(i)),t}return x[n(806)]=e,x}function x5(e){const n=c;var t=n(2008);if(arguments[n(1361)]<1)return(t=this[n(1479)](t))&&t[n(806)];if(e==null)return this[n(1479)](t,null);if(typeof e!==n(2002))throw new Error;return this[n(1479)](t,t5(e))}function o5(){const e=c;for(var n=this[e(2013)],t=this[e(1566)],o=Gi(),x=this[e(2018)],r=x.length,i=0;i<r;++i)for(var a=x[i],d=a[e(1361)],s,f=0;f<d;++f)if(s=a[f]){var u=bn(s,t);W0(s,n,o,f,a,{time:u[e(1577)]+u[e(1179)]+u[e(664)],delay:0,duration:u[e(664)],ease:u.ease})}return new kn(x,this[e(1094)],n,o)}function r5(){const e=c;var n,t,o=this,x=o[e(1566)],r=o[e(1142)]();return new Promise(function(i,a){var d={value:a},s={value:function(){--r===0&&i()}};o.each(function(){const f=_0x4d07;var u=Bn(this,x),h=u.on;h!==n&&(t=(n=h)[f(1630)](),t._[f(831)][f(1935)](d),t._[f(525)][f(1935)](d),t._.end[f(1935)](s)),u.on=t}),r===0&&i()})}var i5=0;function kn(e,n,t,o){const x=c;this[x(2018)]=e,this[x(1094)]=n,this[x(2013)]=t,this[x(1566)]=o}function Gi(){return++i5}var In=Ht[c(1389)];kn[c(1389)]={constructor:kn,select:Hu,selectAll:Vu,selectChild:In[c(578)],selectChildren:In[c(2073)],filter:Au,merge:ju,selection:qu,transition:o5,call:In[c(1241)],nodes:In.nodes,node:In[c(784)],size:In[c(1142)],empty:In[c(331)],each:In[c(456)],on:Uu,attr:yu,attrTween:zu,style:Ru,styleTween:Qu,text:e5,textTween:x5,remove:Ou,tween:lu,delay:Bu,duration:Su,ease:ku,easeVarying:Pu,end:r5,[Symbol[c(1782)]]:In[Symbol.iterator]};function a5(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var s5={time:null,delay:0,duration:250,ease:a5};function c5(e,n){const t=c;for(var o;!(o=e.__transition)||!(o=o[n]);)if(!(e=e[t(966)]))throw new Error(t(1748)+n+" not found");return o}function l5(e){const n=c;var t,o;e instanceof kn?(t=e[n(1566)],e=e[n(2013)]):(t=Gi(),(o=s5)[n(1577)]=Fx(),e=e==null?null:e+"");for(var x=this[n(2018)],r=x[n(1361)],i=0;i<r;++i)for(var a=x[i],d=a[n(1361)],s,f=0;f<d;++f)(s=a[f])&&W0(s,e,t,f,a,o||c5(s,t));return new kn(x,this[n(1094)],e,t)}Ht[c(1389)][c(525)]=au,Ht[c(1389)].transition=l5;const K0=e=>()=>e;function d5(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object[c(1774)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:x}})}function Pn(e,n,t){this.k=e,this.x=n,this.y=t}Pn[c(1389)]={constructor:Pn,scale:function(e){return e===1?this:new Pn(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new Pn(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=c;return e[n(1630)]()[n(1263)](e[n(347)]()[n(1549)](this[n(1375)],this).map(e.invert,e))},rescaleY:function(e){const n=c;return e[n(1630)]()[n(1263)](e.range().map(this[n(1409)],this)[n(1549)](e.invert,e))},toString:function(){return c(1170)+this.x+","+this.y+") scale("+this.k+")"}};var Z0=new Pn(1,0,0);Oi.prototype=Pn[c(1389)];function Oi(e){const n=c;for(;!e[n(1211)];)if(!(e=e[n(966)]))return Z0;return e[n(1211)]}function oo(e){e[c(1337)]()}function _t(e){const n=c;e.preventDefault(),e[n(1337)]()}function f5(e){const n=c;return(!e[n(1421)]||e[n(478)]==="wheel")&&!e[n(1266)]}function u5(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(1124)]||n,n[e(1270)](e(737))?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n[e(691)]]]):[[0,0],[n[e(419)].baseVal[e(999)],n[e(691)].baseVal[e(999)]]]):[[0,0],[n[e(1285)],n.clientHeight]]}function Hi(){return this[c(1211)]||Z0}function h5(e){const n=c;return-e[n(318)]*(e[n(1292)]===1?.05:e[n(1292)]?1:.002)*(e[n(1421)]?10:1)}function g5(){const e=c;return navigator[e(951)]||e(1165)in this}function b5(e,n,t){const o=c;var x=e[o(1375)](n[0][0])-t[0][0],r=e[o(1375)](n[1][0])-t[1][0],i=e[o(1409)](n[0][1])-t[0][1],a=e.invertY(n[1][1])-t[1][1];return e[o(672)](r>x?(x+r)/2:Math[o(714)](0,x)||Math.max(0,r),a>i?(i+a)/2:Math[o(714)](0,i)||Math[o(2036)](0,a))}function Vi(){const e=c;var n=f5,t=u5,o=b5,x=h5,r=g5,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],d=250,s=U0,f=D0(e(867),e(896),"end"),u,h,b,v=500,g=150,w=0,M=10;function m(S){const L=e;S.property(L(1211),Hi).on("wheel.zoom",T,{passive:!1}).on(L(656),j).on("dblclick.zoom",q)[L(416)](r).on(L(1301),V).on(L(1183),W).on(L(1959),H)[L(962)](L(1745),L(1043))}m[e(1696)]=function(S,L,D,E){const U=e;var k=S[U(1286)]?S.selection():S;k.property(U(1211),Hi),S!==k?N(S,L,D,E):k[U(525)]()[U(456)](function(){const R=U;O(this,arguments).event(E)[R(867)]()[R(896)](null,typeof L===R(2002)?L[R(458)](this,arguments):L)[R(1510)]()})},m[e(1208)]=function(S,L,D,E){const U=e;m[U(1809)](S,function(){const k=U;var R=this[k(1211)].k,$=typeof L=="function"?L[k(458)](this,arguments):L;return R*$},D,E)},m[e(1809)]=function(S,L,D,E){const U=e;m[U(1696)](S,function(){const k=U;var R=t.apply(this,arguments),$=this.__zoom,ee=D==null?p(R):typeof D===k(2002)?D[k(458)](this,arguments):D,xe=$[k(865)](ee),re=typeof L===k(2002)?L[k(458)](this,arguments):L;return o(z(y($,re),ee,xe),R,a)},D,E)},m[e(387)]=function(S,L,D,E){const U=e;m[U(1696)](S,function(){const k=U;return o(this.__zoom[k(672)](typeof L=="function"?L[k(458)](this,arguments):L,typeof D===k(2002)?D[k(458)](this,arguments):D),t[k(458)](this,arguments),a)},null,E)},m[e(1563)]=function(S,L,D,E,U){m.transform(S,function(){const k=_0x4d07;var R=t[k(458)](this,arguments),$=this[k(1211)],ee=E==null?p(R):typeof E===k(2002)?E[k(458)](this,arguments):E;return o(Z0.translate(ee[0],ee[1])[k(918)]($.k)[k(672)](typeof L===k(2002)?-L[k(458)](this,arguments):-L,typeof D===k(2002)?-D.apply(this,arguments):-D),R,a)},E,U)};function y(S,L){return L=Math[e(2036)](i[0],Math.min(i[1],L)),L===S.k?S:new Pn(L,S.x,S.y)}function z(S,L,D){var E=L[0]-D[0]*S.k,U=L[1]-D[1]*S.k;return E===S.x&&U===S.y?S:new Pn(S.k,E,U)}function p(S){return[(+S[0][0]+ +S[1][0])/2,(+S[0][1]+ +S[1][1])/2]}function N(S,L,D,E){const U=e;S.on(U(1842),function(){const k=U;O(this,arguments)[k(885)](E).start()}).on(U(2052),function(){const k=U;O(this,arguments).event(E)[k(1510)]()}).tween(U(896),function(){const k=U;var R=this,$=arguments,ee=O(R,$)[k(885)](E),xe=t[k(458)](R,$),re=D==null?p(xe):typeof D=="function"?D.apply(R,$):D,ie=Math[k(2036)](xe[1][0]-xe[0][0],xe[1][1]-xe[0][1]),fe=R[k(1211)],ye=typeof L=="function"?L.apply(R,$):L,ce=s(fe.invert(re)[k(1127)](ie/fe.k),ye[k(865)](re)[k(1127)](ie/ye.k));return function(J){const le=k;if(J===1)J=ye;else{var ue=ce(J),Y=ie/ue[2];J=new Pn(Y,re[0]-ue[0]*Y,re[1]-ue[1]*Y)}ee[le(896)](null,J)}})}function O(S,L,D){return!D&&S[e(1398)]||new G(S,L)}function G(S,L){const D=e;this[D(1481)]=S,this.args=L,this[D(1866)]=0,this.sourceEvent=null,this[D(539)]=t[D(458)](S,L),this[D(1993)]=0}G[e(1389)]={event:function(S){return S&&(this.sourceEvent=S),this},start:function(){const S=e;return++this[S(1866)]===1&&(this[S(1481)][S(1398)]=this,this[S(1039)](S(867))),this},zoom:function(S,L){const D=e;return this[D(1829)]&&S!=="mouse"&&(this[D(1829)][1]=L.invert(this[D(1829)][0])),this[D(1251)]&&S!==D(1800)&&(this[D(1251)][1]=L.invert(this[D(1251)][0])),this.touch1&&S!==D(1800)&&(this[D(1562)][1]=L.invert(this.touch1[0])),this[D(1481)][D(1211)]=L,this.emit(D(896)),this},end:function(){const S=e;return--this.active===0&&(delete this[S(1481)][S(1398)],this[S(1039)]("end")),this},emit:function(S){const L=e;var D=an(this[L(1481)])[L(994)]();f.call(S,this[L(1481)],new d5(S,{sourceEvent:this[L(843)],target:m,transform:this.that.__zoom,dispatch:f}),D)}};function T(S,...L){const D=e;if(!n[D(458)](this,arguments))return;var E=O(this,L)[D(885)](S),U=this[D(1211)],k=Math[D(2036)](i[0],Math.min(i[1],U.k*Math.pow(2,x.apply(this,arguments)))),R=hn(S);if(E[D(1595)])(E.mouse[0][0]!==R[0]||E[D(1829)][0][1]!==R[1])&&(E.mouse[1]=U.invert(E.mouse[0]=R)),clearTimeout(E.wheel);else{if(U.k===k)return;E[D(1829)]=[R,U[D(865)](R)],X0(this),E[D(867)]()}_t(S),E[D(1595)]=setTimeout($,g),E[D(896)](D(1829),o(z(y(U,k),E[D(1829)][0],E.mouse[1]),E[D(539)],a));function $(){const ee=D;E[ee(1595)]=null,E[ee(1510)]()}}function j(S,...L){const D=e;if(b||!n[D(458)](this,arguments))return;var E=S[D(1423)],U=O(this,L,!0)[D(885)](S),k=an(S[D(1525)]).on(D(686),xe,!0).on(D(661),re,!0),R=hn(S,E),$=S[D(1086)],ee=S[D(1604)];ci(S.view),oo(S),U[D(1829)]=[R,this.__zoom[D(865)](R)],X0(this),U[D(867)]();function xe(ie){const fe=D;if(_t(ie),!U[fe(1428)]){var ye=ie.clientX-$,ce=ie[fe(1604)]-ee;U[fe(1428)]=ye*ye+ce*ce>w}U[fe(885)](ie)[fe(896)](fe(1829),o(z(U[fe(1481)].__zoom,U[fe(1829)][0]=hn(ie,E),U[fe(1829)][1]),U[fe(539)],a))}function re(ie){const fe=D;k.on("mousemove.zoom mouseup.zoom",null),li(ie[fe(1525)],U[fe(1428)]),_t(ie),U[fe(885)](ie).end()}}function q(S,...L){const D=e;if(n[D(458)](this,arguments)){var E=this[D(1211)],U=hn(S[D(1548)]?S.changedTouches[0]:S,this),k=E[D(865)](U),R=E.k*(S[D(1815)]?.5:2),$=o(z(y(E,R),U,k),t[D(458)](this,L),a);_t(S),d>0?an(this)[D(1688)]()[D(664)](d)[D(1241)](N,$,U,S):an(this).call(m[D(1696)],$,U,S)}}function V(S,...L){const D=e;if(n[D(458)](this,arguments)){var E=S[D(965)],U=E[D(1361)],k=O(this,L,S[D(1548)].length===U)[D(885)](S),R,$,ee,xe;for(oo(S),$=0;$<U;++$)ee=E[$],xe=hn(ee,this),xe=[xe,this[D(1211)].invert(xe),ee[D(1982)]],k[D(1251)]?!k[D(1562)]&&k[D(1251)][2]!==xe[2]&&(k[D(1562)]=xe,k[D(1993)]=0):(k[D(1251)]=xe,R=!0,k[D(1993)]=1+!!u);u&&(u=clearTimeout(u)),R&&(k.taps<2&&(h=xe[0],u=setTimeout(function(){u=null},v)),X0(this),k[D(867)]())}}function W(S,...L){const D=e;if(this[D(1398)]){var E=O(this,L)[D(885)](S),U=S[D(1548)],k=U.length,R,$,ee,xe;for(_t(S),R=0;R<k;++R)$=U[R],ee=hn($,this),E.touch0&&E[D(1251)][2]===$[D(1982)]?E[D(1251)][0]=ee:E.touch1&&E[D(1562)][2]===$[D(1982)]&&(E[D(1562)][0]=ee);if($=E.that[D(1211)],E.touch1){var re=E[D(1251)][0],ie=E[D(1251)][1],fe=E[D(1562)][0],ye=E[D(1562)][1],ce=(ce=fe[0]-re[0])*ce+(ce=fe[1]-re[1])*ce,J=(J=ye[0]-ie[0])*J+(J=ye[1]-ie[1])*J;$=y($,Math.sqrt(ce/J)),ee=[(re[0]+fe[0])/2,(re[1]+fe[1])/2],xe=[(ie[0]+ye[0])/2,(ie[1]+ye[1])/2]}else if(E[D(1251)])ee=E[D(1251)][0],xe=E[D(1251)][1];else return;E[D(896)](D(1800),o(z($,ee,xe),E.extent,a))}}function H(S,...L){const D=e;if(this[D(1398)]){var E=O(this,L)[D(885)](S),U=S[D(1548)],k=U[D(1361)],R,$;for(oo(S),b&&clearTimeout(b),b=setTimeout(function(){b=null},v),R=0;R<k;++R)$=U[R],E[D(1251)]&&E[D(1251)][2]===$[D(1982)]?delete E[D(1251)]:E[D(1562)]&&E.touch1[2]===$.identifier&&delete E.touch1;if(E[D(1562)]&&!E.touch0&&(E.touch0=E[D(1562)],delete E[D(1562)]),E.touch0)E[D(1251)][1]=this.__zoom.invert(E.touch0[0]);else if(E[D(1510)](),E.taps===2&&($=hn($,this),Math[D(976)](h[0]-$[0],h[1]-$[1])<M)){var ee=an(this).on(D(707));ee&&ee[D(458)](this,arguments)}}}return m[e(533)]=function(S){const L=e;return arguments.length?(x=typeof S===L(2002)?S:K0(+S),m):x},m[e(416)]=function(S){const L=e;return arguments.length?(n=typeof S===L(2002)?S:K0(!!S),m):n},m.touchable=function(S){const L=e;return arguments[L(1361)]?(r=typeof S===L(2002)?S:K0(!!S),m):r},m[e(539)]=function(S){const L=e;return arguments[L(1361)]?(t=typeof S===L(2002)?S:K0([[+S[0][0],+S[0][1]],[+S[1][0],+S[1][1]]]),m):t},m[e(971)]=function(S){return arguments[e(1361)]?(i[0]=+S[0],i[1]=+S[1],m):[i[0],i[1]]},m[e(1238)]=function(S){return arguments.length?(a[0][0]=+S[0][0],a[1][0]=+S[1][0],a[0][1]=+S[0][1],a[1][1]=+S[1][1],m):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},m[e(1991)]=function(S){return arguments[e(1361)]?(o=S,m):o},m[e(664)]=function(S){return arguments[e(1361)]?(d=+S,m):d},m[e(1786)]=function(S){return arguments.length?(s=S,m):s},m.on=function(){const S=e;var L=f.on[S(458)](f,arguments);return L===f?m:L},m[e(689)]=function(S){const L=e;return arguments.length?(w=(S=+S)*S,m):Math[L(573)](w)},m[e(466)]=function(S){return arguments[e(1361)]?(M=+S,m):M},m}const sn={error001:()=>c(1846),error002:()=>c(1228),error003:e=>c(956)+e+'" not found. Using fallback type "default".',error004:()=>c(519),error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>c(1593)+e+" does not exist.",error009:e=>c(557)+e+c(1106),error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>"Couldn't create edge for "+e+c(1491)+(e===c(1269)?t:o)+c(391)+n+".",error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>c(1004)+e+c(350),error012:e=>c(1393)+e+c(856),error013:(e="react")=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+c(1087),error014:()=>c(304),error015:()=>c(1568)},Qt=[[Number.NEGATIVE_INFINITY,Number[c(1855)]],[Number[c(452)],Number.POSITIVE_INFINITY]],Ti=[c(1480)," ",c(1138)],qi={"node.a11yDescription.default":c(381),"node.a11yDescription.keyboardDisabled":c(1679),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>"Moved selected node "+e+c(613)+n+c(556)+t,"edge.a11yDescription.default":c(548),"controls.ariaLabel":c(916),"controls.zoomIn.ariaLabel":c(673),"controls.zoomOut.ariaLabel":c(1939),"controls.fitView.ariaLabel":c(739),"controls.interactive.ariaLabel":c(1107),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":c(1880)};var vt;(function(e){const n=c;e[n(682)]=n(730),e[n(1722)]=n(1308)})(vt||(vt={}));var nt;(function(e){const n=c;e[n(1374)]="free",e.Vertical=n(363),e[n(368)]=n(1573)})(nt||(nt={}));var Ft;(function(e){const n=c;e[n(1956)]=n(811),e[n(928)]=n(955)})(Ft||(Ft={}));const Wi={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var On;(function(e){const n=c;e[n(2049)]="default",e[n(861)]=n(1287),e.Step=n(1535),e[n(1572)]=n(1213),e[n(1740)]=n(1835)})(On||(On={}));var R0;(function(e){const n=c;e[n(345)]=n(409),e[n(1229)]=n(734)})(R0||(R0={}));var pe;(function(e){const n=c;e.Left="left",e[n(422)]="top",e[n(2032)]=n(647),e[n(251)]=n(728)})(pe||(pe={}));const Xi={[pe[c(1523)]]:pe[c(2032)],[pe[c(2032)]]:pe[c(1523)],[pe[c(422)]]:pe[c(251)],[pe[c(251)]]:pe[c(422)]};function Ki(e){return e===null?null:e?"valid":c(1040)}const Zi=e=>"id"in e&&"source"in e&&c(1274)in e,y5=e=>"id"in e&&c(2046)in e&&!(c(1269)in e)&&!(c(1274)in e),ro=e=>"id"in e&&c(588)in e&&!("source"in e)&&!(c(1274)in e),$t=(e,n=[0,0])=>{const t=c,{width:o,height:x}=An(e),r=e[t(1521)]??n,i=o*r[0],a=x*r[1];return{x:e[t(2046)].x-i,y:e[t(2046)].y-a}},m5=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1236)&&!n[t(643)]&&console[t(1897)](t(1188)),e[t(1361)]===0)return{x:0,y:0,width:0,height:0};const o=e[t(1926)]((x,r)=>{const i=t,a=typeof r=="string";let d=!n[i(643)]&&!a?r:void 0;n[i(643)]&&(d=a?n[i(643)][i(946)](r):ro(r)?r:n[i(643)].get(r.id));const s=d?Q0(d,n[i(1115)]):{x:0,y:0,x2:0,y2:0};return J0(x,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return _0(o)},e0=(e,n={})=>{let t={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return e.forEach(x=>{const r=_0x4d07;(n[r(416)]===void 0||n[r(416)](x))&&(t=J0(t,Q0(x)),o=!0)}),o?_0(t):{x:0,y:0,width:0,height:0}},io=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const a=c,d={...x0(n,[t,o,x]),width:n[a(419)]/x,height:n[a(691)]/x},s=[];for(const f of e[a(305)]()){const{measured:u,selectable:h=!0,hidden:b=!1}=f;if(i&&!h||b)continue;const v=u[a(419)]??f[a(419)]??f[a(1618)]??null,g=u[a(691)]??f[a(691)]??f[a(755)]??null,w=n0(d,zt(f)),M=(v??0)*(g??0),m=r&&w>0;(!f[a(588)].handleBounds||m||w>=M||f.dragging)&&s.push(f)}return s},w5=(e,n)=>{const t=c,o=new Set;return e[t(1777)](x=>{o[t(1219)](x.id)}),n[t(416)](x=>o[t(1807)](x.source)||o[t(1807)](x[t(1274)]))};function v5(e,n){const t=c,o=new Map,x=n?.nodes?new Set(n[t(448)].map(r=>r.id)):null;return e[t(1777)](r=>{const i=t;r.measured[i(419)]&&r.measured[i(691)]&&(n?.[i(1758)]||!r[i(1942)])&&(!x||x.has(r.id))&&o[i(1016)](r.id,r)}),o}async function p5({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const a=c;if(e[a(1142)]===0)return Promise.resolve(!0);const d=v5(e,i),s=e0(d),f=so(s,n,t,i?.[a(433)]??x,i?.maxZoom??r,i?.[a(684)]??.1);return await o[a(336)](f,{duration:i?.[a(664)],ease:i?.[a(616)],interpolate:i?.[a(1786)]}),Promise[a(1929)](!0)}function Ri({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=c,a=t[i(946)](e),d=a[i(1433)]?t[i(946)](a[i(1433)]):void 0,{x:s,y:f}=d?d[i(588)][i(655)]:{x:0,y:0},u=a[i(1521)]??o;let h=a[i(539)]||x;if(a[i(539)]===i(1901)&&!a[i(450)])if(!d)r?.(i(1440),sn[i(1611)]());else{const v=d.measured[i(419)],g=d[i(889)][i(691)];v&&g&&(h=[[s,f],[s+v,f+g]])}else d&&Mt(a[i(539)])&&(h=[[a.extent[0][0]+s,a[i(539)][0][1]+f],[a.extent[1][0]+s,a[i(539)][1][1]+f]]);const b=Mt(h)?tt(n,h,a[i(889)]):n;return(a[i(889)].width===void 0||a[i(889)].height===void 0)&&r?.("015",sn[i(1405)]()),{position:{x:b.x-s+(a[i(889)].width??0)*u[0],y:b.y-f+(a[i(889)][i(691)]??0)*u[1]},positionAbsolute:b}}async function z5({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=c,i=new Set(e[r(1549)](b=>b.id)),a=[];for(const b of t){if(b[r(1262)]===!1)continue;const v=i.has(b.id),g=!v&&b[r(1433)]&&a[r(997)](w=>w.id===b[r(1433)]);(v||g)&&a.push(b)}const d=new Set(n[r(1549)](b=>b.id)),s=o.filter(b=>b.deletable!==!1),f=w5(a,s),u=f;for(const b of s)d[r(1807)](b.id)&&!u[r(997)](g=>g.id===b.id)&&u.push(b);if(!x)return{edges:u,nodes:a};const h=await x({nodes:a,edges:u});return typeof h===r(1172)?h?{edges:u,nodes:a}:{edges:[],nodes:[]}:h}const pt=(e,n=0,t=1)=>Math.min(Math[c(2036)](e,n),t),tt=(e={x:0,y:0},n,t)=>({x:pt(e.x,n[0][0],n[1][0]-(t?.[c(419)]??0)),y:pt(e.y,n[0][1],n[1][1]-(t?.[c(691)]??0))});function Ji(e,n,t){const o=c,{width:x,height:r}=An(t),{x:i,y:a}=t[o(588)][o(655)];return tt(e,[[i,a],[i+x,a+r]],n)}const _i=(e,n,t)=>{const o=c;return e<n?pt(Math.abs(e-n),1,n)/n:e>t?-pt(Math[o(1454)](e-t),1,n)/n:0},Qi=(e,n,t=15,o=40)=>{const x=c,r=_i(e.x,o,n[x(419)]-o)*t,i=_i(e.y,o,n.height-o)*t;return[r,i]},J0=(e,n)=>({x:Math[c(714)](e.x,n.x),y:Math[c(714)](e.y,n.y),x2:Math.max(e.x2,n.x2),y2:Math[c(2036)](e.y2,n.y2)}),ao=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),_0=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),zt=(e,n=[0,0])=>{const t=c,{x:o,y:x}=ro(e)?e[t(588)][t(655)]:$t(e,n);return{x:o,y:x,width:e[t(889)]?.[t(419)]??e[t(419)]??e[t(1618)]??0,height:e[t(889)]?.[t(691)]??e.height??e[t(755)]??0}},Q0=(e,n=[0,0])=>{const t=c,{x:o,y:x}=ro(e)?e.internals[t(655)]:$t(e,n);return{x:o,y:x,x2:o+(e[t(889)]?.[t(419)]??e.width??e[t(1618)]??0),y2:x+(e[t(889)]?.[t(691)]??e[t(691)]??e.initialHeight??0)}},Fi=(e,n)=>_0(J0(ao(e),ao(n))),n0=(e,n)=>{const t=c,o=Math[t(2036)](0,Math[t(714)](e.x+e[t(419)],n.x+n[t(419)])-Math[t(2036)](e.x,n.x)),x=Math[t(2036)](0,Math.min(e.y+e.height,n.y+n[t(691)])-Math[t(2036)](e.y,n.y));return Math[t(1651)](o*x)},$i=e=>yn(e.width)&&yn(e[c(691)])&&yn(e.x)&&yn(e.y),yn=e=>!isNaN(e)&&isFinite(e),ea=(e,n)=>{const t=c;process.env.NODE_ENV===t(1236)&&console[t(1897)](t(1281)+n+" Help: https://reactflow.dev/error#"+e)},t0=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math.round(e.x/n[0]),y:n[1]*Math[t(1836)](e.y/n[1])}},x0=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const a={x:(e-t)/x,y:(n-o)/x};return r?t0(a,i):a},F0=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function Ct(e,n){const t=c;if(typeof e===t(1493))return Math[t(996)]((n-n/(1+e))*.5);if(typeof e===t(975)&&e[t(2019)]("px")){const o=parseFloat(e);if(!Number[t(498)](o))return Math[t(996)](o)}if(typeof e=="string"&&e[t(2019)]("%")){const o=parseFloat(e);if(!Number[t(498)](o))return Math[t(996)](n*o*.01)}return console.error(t(608)+e+t(2058)),0}function C5(e,n,t){const o=c;if(typeof e===o(975)||typeof e=="number"){const x=Ct(e,t),r=Ct(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e===o(1612)){const x=Ct(e[o(1653)]??e.y??0,t),r=Ct(e[o(728)]??e.y??0,t),i=Ct(e[o(657)]??e.x??0,n),a=Ct(e[o(647)]??e.x??0,n);return{top:x,right:a,bottom:r,left:i,x:i+a,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function M5(e,n,t,o,x,r){const i=c,{x:a,y:d}=F0(e,[n,t,o]),{x:s,y:f}=F0({x:e.x+e[i(419)],y:e.y+e.height},[n,t,o]),u=x-s,h=r-f;return{left:Math[i(996)](a),top:Math.floor(d),right:Math[i(996)](u),bottom:Math[i(996)](h)}}const so=(e,n,t,o,x,r)=>{const i=c,a=C5(r,n,t),d=(n-a.x)/e[i(419)],s=(t-a.y)/e[i(691)],f=Math[i(714)](d,s),u=pt(f,o,x),h=e.x+e[i(419)]/2,b=e.y+e.height/2,v=n/2-h*u,g=t/2-b*u,w=M5(e,v,g,u,n,t),M={left:Math[i(714)](w.left-a[i(657)],0),top:Math[i(714)](w.top-a[i(1653)],0),right:Math[i(714)](w[i(647)]-a[i(647)],0),bottom:Math[i(714)](w.bottom-a[i(728)],0)};return{x:v-M[i(657)]+M.right,y:g-M[i(1653)]+M[i(728)],zoom:u}},o0=()=>typeof navigator<"u"&&navigator?.[c(479)]?.[c(554)](c(602))>=0;function Mt(e){const n=c;return e!=null&&e!==n(1901)}function An(e){const n=c;return{width:e[n(889)]?.width??e.width??e.initialWidth??0,height:e[n(889)]?.[n(691)]??e.height??e[n(755)]??0}}function na(e){const n=c;return(e[n(889)]?.[n(419)]??e[n(419)]??e[n(1618)])!==void 0&&(e[n(889)]?.[n(691)]??e.height??e[n(755)])!==void 0}function ta(e,n={width:0,height:0},t,o,x){const r=c,i={...e},a=o[r(946)](t);if(a){const d=a[r(1521)]||x;i.x+=a[r(588)][r(655)].x-(n.width??0)*d[0],i.y+=a[r(588)][r(655)].y-(n[r(691)]??0)*d[1]}return i}function xa(e,n){const t=c;if(e[t(1142)]!==n.size)return!1;for(const o of e)if(!n[t(1807)](o))return!1;return!0}function B5(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function D5(e){return{...qi,...e||{}}}function r0(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=c,{x:i,y:a}=mn(e),d=x0({x:i-(x?.[r(657)]??0),y:a-(x?.[r(1653)]??0)},o),{x:s,y:f}=t?t0(d,n):d;return{xSnapped:s,ySnapped:f,...d}}const co=e=>({width:e[c(1856)],height:e[c(747)]}),oa=e=>e?.getRootNode?.()||window?.[c(1731)],L5=[c(1665),"SELECT",c(562)];function ra(e){const n=c,t=e[n(1667)]?.()?.[0]||e.target;return t?.[n(543)]!==1?!1:L5.includes(t[n(1201)])||t[n(1270)](n(1332))||!!t[n(736)](n(1645))}const ia=e=>"clientX"in e,mn=(e,n)=>{const t=c,o=ia(e),x=o?e[t(1086)]:e.touches?.[0][t(1086)],r=o?e[t(1604)]:e[t(965)]?.[0].clientY;return{x:x-(n?.[t(657)]??0),y:r-(n?.[t(1653)]??0)}},aa=(e,n,t,o,x)=>{const r=c,i=n[r(871)]("."+e);return!i||!i.length?null:Array.from(i)[r(1549)](a=>{const d=r,s=a[d(1436)]();return{id:a[d(1984)]("data-handleid"),type:e,nodeId:x,position:a[d(1984)](d(1192)),x:(s[d(657)]-t[d(657)])/o,y:(s[d(1653)]-t[d(1653)])/o,...co(a)}})};function sa({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:a}){const d=c,s=e*.125+x*.375+i*.375+t*.125,f=n*.125+r*.375+a*.375+o*.125,u=Math[d(1454)](s-e),h=Math[d(1454)](f-n);return[s,f,u,h]}function $0(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(573)](-e)}function ca({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=c;switch(e){case pe[i(1523)]:return[n-$0(n-o,r),t];case pe[i(2032)]:return[n+$0(o-n,r),t];case pe.Top:return[n,t-$0(t-x,r)];case pe.Bottom:return[n,t+$0(x-t,r)]}}function la({sourceX:e,sourceY:n,sourcePosition:t=pe[c(251)],targetX:o,targetY:x,targetPosition:r=pe[c(422)],curvature:i=.25}){const[a,d]=ca({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[s,f]=ca({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[u,h,b,v]=sa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:a,sourceControlY:d,targetControlX:s,targetControlY:f});return["M"+e+","+n+" C"+a+","+d+" "+s+","+f+" "+o+","+x,u,h,b,v]}function da({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=c,r=Math[x(1454)](t-e)/2,i=t<e?t+r:t-r,a=Math[x(1454)](o-n)/2,d=o<n?o+a:o-a;return[i,d,r,a]}function S5({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r=c(1200)}){const i=c;if(r===i(1752))return o;const a=x&&t?o+1e3:o,d=Math[i(2036)](e.parentId||x&&e[i(394)]?e[i(588)].z:0,n[i(1433)]||x&&n[i(394)]?n[i(588)].z:0);return a+d}function N5({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=J0(Q0(e),Q0(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return n0(i,_0(r))>0}const k5=({source:e,sourceHandle:n,target:t,targetHandle:o})=>c(1980)+e+(n||"")+"-"+t+(o||""),I5=(e,n)=>{const t=c;return n[t(298)](o=>o.source===e[t(1269)]&&o.target===e.target&&(o[t(319)]===e[t(319)]||!o[t(319)]&&!e.sourceHandle)&&(o[t(2014)]===e[t(2014)]||!o[t(2014)]&&!e[t(2014)]))},fa=(e,n,t={})=>{const o=c;if(!e[o(1269)]||!e[o(1274)])return ea(o(1613),sn.error006()),n;const x=t[o(972)]||k5;let r;return Zi(e)?r={...e}:r={...e,id:x(e)},I5(r,n)?n:(r[o(319)]===null&&delete r[o(319)],r[o(2014)]===null&&delete r[o(2014)],n[o(1127)](r))};function ua({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,a]=da({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,a]}const ha={[pe[c(1523)]]:{x:-1,y:0},[pe.Right]:{x:1,y:0},[pe[c(422)]]:{x:0,y:-1},[pe[c(251)]]:{x:0,y:1}},P5=({source:e,sourcePosition:n=pe.Bottom,target:t})=>{const o=c;return n===pe[o(1523)]||n===pe[o(2032)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},ga=(e,n)=>Math.sqrt(Math.pow(n.x-e.x,2)+Math[c(1326)](n.y-e.y,2));function A5({source:e,sourcePosition:n=pe.Bottom,target:t,targetPosition:o=pe[c(422)],center:x,offset:r,stepPosition:i}){const a=c,d=ha[n],s=ha[o],f={x:e.x+d.x*r,y:e.y+d.y*r},u={x:t.x+s.x*r,y:t.y+s.y*r},h=P5({source:f,sourcePosition:n,target:u}),b=h.x!==0?"x":"y",v=h[b];let g=[],w,M;const m={x:0,y:0},y={x:0,y:0},[,,z,p]=da({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[b]*s[b]===-1){b==="x"?(w=x.x??f.x+(u.x-f.x)*i,M=x.y??(f.y+u.y)/2):(w=x.x??(f.x+u.x)/2,M=x.y??f.y+(u.y-f.y)*i);const T=[{x:w,y:f.y},{x:w,y:u.y}],j=[{x:f.x,y:M},{x:u.x,y:M}];d[b]===v?g=b==="x"?T:j:g=b==="x"?j:T}else{const T=[{x:f.x,y:u.y}],j=[{x:u.x,y:f.y}];if(b==="x"?g=d.x===v?j:T:g=d.y===v?T:j,n===o){const S=Math[a(1454)](e[b]-t[b]);if(S<=r){const L=Math[a(714)](r-1,r-S);d[b]===v?m[b]=(f[b]>e[b]?-1:1)*L:y[b]=(u[b]>t[b]?-1:1)*L}}if(n!==o){const S=b==="x"?"y":"x",L=d[b]===s[S],D=f[S]>u[S],E=f[S]<u[S];(d[b]===1&&(!L&&D||L&&E)||d[b]!==1&&(!L&&E||L&&D))&&(g=b==="x"?T:j)}const q={x:f.x+m.x,y:f.y+m.y},V={x:u.x+y.x,y:u.y+y.y},W=Math[a(2036)](Math.abs(q.x-g[0].x),Math[a(1454)](V.x-g[0].x)),H=Math[a(2036)](Math[a(1454)](q.y-g[0].y),Math[a(1454)](V.y-g[0].y));W>=H?(w=(q.x+V.x)/2,M=g[0].y):(w=g[0].x,M=(q.y+V.y)/2)}const N={x:f.x+m.x,y:f.y+m.y},O={x:u.x+y.x,y:u.y+y.y};return[[e,...N.x!==g[0].x||N.y!==g[0].y?[N]:[],...g,...O.x!==g[g[a(1361)]-1].x||O.y!==g[g.length-1].y?[O]:[],t],w,M,z,p]}function j5(e,n,t,o){const x=c,r=Math[x(714)](ga(e,n)/2,ga(n,t)/2,o),{x:i,y:a}=n;if(e.x===i&&i===t.x||e.y===a&&a===t.y)return"L"+i+" "+a;if(e.y===a){const f=e.x<t.x?-1:1,u=e.y<t.y?1:-1;return"L "+(i+r*f)+","+a+"Q "+i+","+a+" "+i+","+(a+r*u)}const d=e.x<t.x?1:-1,s=e.y<t.y?-1:1;return"L "+i+","+(a+r*s)+"Q "+i+","+a+" "+(i+r*d)+","+a}function lo({sourceX:e,sourceY:n,sourcePosition:t=pe.Bottom,targetX:o,targetY:x,targetPosition:r=pe[c(422)],borderRadius:i=5,centerX:a,centerY:d,offset:s=20,stepPosition:f=.5}){const u=c,[h,b,v,g,w]=A5({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:a,y:d},offset:s,stepPosition:f});let M="M"+h[0].x+" "+h[0].y;for(let m=1;m<h.length-1;m++)M+=j5(h[m-1],h[m],h[m+1],i);return M+="L"+h[h[u(1361)]-1].x+" "+h[h.length-1].y,[M,b,v,g,w]}function ba(e){const n=c;return e&&!!(e[n(588)].handleBounds||e[n(1872)]?.[n(1361)])&&!!(e[n(889)][n(419)]||e[n(419)]||e[n(1618)])}function E5(e){const n=c,{sourceNode:t,targetNode:o}=e;if(!ba(t)||!ba(o))return null;const x=t[n(588)].handleBounds||ya(t[n(1872)]),r=o[n(588)][n(984)]||ya(o.handles),i=ma(x?.[n(1269)]??[],e.sourceHandle),a=ma(e[n(1110)]===vt.Strict?r?.[n(1274)]??[]:(r?.[n(1274)]??[])[n(1127)](r?.source??[]),e[n(2014)]);if(!i||!a)return e[n(1519)]?.(n(1414),sn.error008(n(i?1274:1269),{id:e.id,sourceHandle:e.sourceHandle,targetHandle:e[n(2014)]})),null;const d=i?.[n(2046)]||pe[n(251)],s=a?.[n(2046)]||pe[n(422)],f=xt(t,i,d),u=xt(o,a,s);return{sourceX:f.x,sourceY:f.y,targetX:u.x,targetY:u.y,sourcePosition:d,targetPosition:s}}function ya(e){const n=c;if(!e)return null;const t=[],o=[];for(const x of e)x[n(419)]=x.width??1,x[n(691)]=x.height??1,x[n(478)]===n(1269)?t.push(x):x[n(478)]===n(1274)&&o[n(1935)](x);return{source:t,target:o}}function xt(e,n,t=pe.Left,o=!1){const x=c,r=(n?.x??0)+e[x(588)][x(655)].x,i=(n?.y??0)+e.internals[x(655)].y,{width:a,height:d}=n??An(e);if(o)return{x:r+a/2,y:i+d/2};switch(n?.position??t){case pe[x(422)]:return{x:r+a/2,y:i};case pe[x(2032)]:return{x:r+a,y:i+d/2};case pe[x(251)]:return{x:r+a/2,y:i+d};case pe[x(1523)]:return{x:r,y:i+d/2}}}function ma(e,n){const t=c;return e&&(n?e[t(997)](o=>o.id===n):e[0])||null}function fo(e,n){const t=c;return e?typeof e===t(975)?e:""+(n?n+"__":"")+Object.keys(e)[t(874)]().map(x=>x+"="+e[x])[t(748)]("&"):""}function Y5(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=c,i=new Set;return e[r(1926)]((a,d)=>{const s=r;return[d[s(277)]||o,d[s(725)]||x][s(1777)](f=>{const u=s;if(f&&typeof f===u(1612)){const h=fo(f,n);!i.has(h)&&(a[u(1935)]({id:h,color:f[u(2078)]||t,...f}),i[u(1219)](h))}}),a},[])[r(874)]((a,d)=>a.id[r(632)](d.id))}const wa=1e3,U5=10,uo={nodeOrigin:[0,0],nodeExtent:Qt,elevateNodesOnSelect:!0,zIndexMode:c(1200),defaults:{}},G5={...uo,checkEquality:!0};function ho(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function O5(e,n,t){const o=c,x=ho(uo,t);for(const r of e[o(305)]())if(r[o(1433)])yo(r,e,n,x);else{const i=$t(r,x.nodeOrigin),a=Mt(r[o(539)])?r[o(539)]:x.nodeExtent,d=tt(i,a,An(r));r[o(588)][o(655)]=d}}function H5(e,n){const t=c;if(!e[t(1872)])return e[t(889)]?n?.internals.handleBounds:void 0;const o=[],x=[];for(const r of e[t(1872)]){const i={id:r.id,width:r[t(419)]??1,height:r[t(691)]??1,nodeId:e.id,x:r.x,y:r.y,position:r[t(2046)],type:r.type};r[t(478)]==="source"?o[t(1935)](i):r[t(478)]===t(1274)&&x[t(1935)](i)}return{source:o,target:x}}function go(e){return e===c(1752)}function bo(e,n,t,o={}){const x=c,r=ho(G5,o),i={i:0},a=new Map(n),d=r?.elevateNodesOnSelect&&!go(r.zIndexMode)?wa:0;let s=e[x(1361)]>0,f=!1;n.clear(),t[x(1600)]();for(const u of e){let h=a[x(946)](u.id);if(r.checkEquality&&u===h?.[x(588)][x(1272)])n.set(u.id,h);else{const b=$t(u,r[x(1115)]),v=Mt(u[x(539)])?u.extent:r.nodeExtent,g=tt(b,v,An(u));h={...r[x(1475)],...u,measured:{width:u.measured?.width,height:u[x(889)]?.[x(691)]},internals:{positionAbsolute:g,handleBounds:H5(u,h),z:va(u,d,r[x(942)]),userNode:u}},n[x(1016)](u.id,h)}(h.measured===void 0||h.measured.width===void 0||h.measured[x(691)]===void 0)&&!h.hidden&&(s=!1),u.parentId&&yo(h,n,t,o,i),f||=u[x(394)]??!1}return{nodesInitialized:s,hasSelectedNodes:f}}function V5(e,n){const t=c;if(!e.parentId)return;const o=n.get(e[t(1433)]);o?o[t(1016)](e.id,e):n[t(1016)](e[t(1433)],new Map([[e.id,e]]))}function yo(e,n,t,o,x){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:d,zIndexMode:s}=ho(uo,o),f=e[r(1433)],u=n.get(f);if(!u){console[r(1897)](r(1422)+f+r(1614));return}V5(e,t),x&&!u[r(1433)]&&u[r(588)][r(1924)]===void 0&&s===r(2006)&&(u[r(588)][r(1924)]=++x.i,u[r(588)].z=u.internals.z+x.i*U5),x&&u.internals[r(1924)]!==void 0&&(x.i=u.internals[r(1924)]);const h=i&&!go(s)?wa:0,{x:b,y:v,z:g}=T5(e,u,a,d,h,s),{positionAbsolute:w}=e.internals,M=b!==w.x||v!==w.y;(M||g!==e[r(588)].z)&&n.set(e.id,{...e,internals:{...e[r(588)],positionAbsolute:M?{x:b,y:v}:w,z:g}})}function va(e,n,t){const o=c,x=yn(e.zIndex)?e[o(1496)]:0;return go(t)?x:x+(e[o(394)]?n:0)}function T5(e,n,t,o,x,r){const i=c,{x:a,y:d}=n[i(588)][i(655)],s=An(e),f=$t(e,t),u=Mt(e[i(539)])?tt(f,e[i(539)],s):f;let h=tt({x:a+u.x,y:d+u.y},o,s);e[i(539)]===i(1901)&&(h=Ji(h,s,n));const b=va(e,x,r),v=n.internals.z??0;return{x:h.x,y:h.y,z:v>=b?v+1:b}}function mo(e,n,t,o=[0,0]){const x=c,r=[],i=new Map;for(const a of e){const d=n[x(946)](a[x(1433)]);if(!d)continue;const s=i[x(946)](a.parentId)?.[x(274)]??zt(d),f=Fi(s,a[x(353)]);i[x(1016)](a[x(1433)],{expandedRect:f,parent:d})}return i.size>0&&i[x(1777)](({expandedRect:a,parent:d},s)=>{const f=x,u=d.internals.positionAbsolute,h=An(d),b=d[f(1521)]??o,v=a.x<u.x?Math.round(Math[f(1454)](u.x-a.x)):0,g=a.y<u.y?Math[f(1836)](Math[f(1454)](u.y-a.y)):0,w=Math.max(h[f(419)],Math[f(1836)](a[f(419)])),M=Math[f(2036)](h[f(691)],Math.round(a[f(691)])),m=(w-h.width)*b[0],y=(M-h[f(691)])*b[1];(v>0||g>0||m||y)&&(r[f(1935)]({id:s,type:f(2046),position:{x:d[f(2046)].x-v+m,y:d.position.y-g+y}}),t[f(946)](s)?.[f(1777)](z=>{const p=f;!e.some(N=>N.id===z.id)&&r[p(1935)]({id:z.id,type:p(2046),position:{x:z.position.x+v,y:z[p(2046)].y+g}})})),(h[f(419)]<a[f(419)]||h[f(691)]<a[f(691)]||v||g)&&r.push({id:s,type:"dimensions",setAttributes:!0,dimensions:{width:w+(v?b[0]*v-m:0),height:M+(g?b[1]*g-y:0)}})}),r}function q5(e,n,t,o,x,r,i){const a=c,d=o?.[a(1952)](a(1882));let s=!1;if(!d)return{changes:[],updatedInternals:s};const f=[],u=window[a(1702)](d),{m22:h}=new window[a(899)](u[a(1696)]),b=[];for(const v of e.values()){const g=n[a(946)](v.id);if(!g)continue;if(g[a(1942)]){n.set(g.id,{...g,internals:{...g.internals,handleBounds:void 0}}),s=!0;continue}const w=co(v[a(760)]),M=g[a(889)][a(419)]!==w.width||g[a(889)][a(691)]!==w[a(691)];if(!!(w[a(419)]&&w[a(691)]&&(M||!g.internals[a(984)]||v[a(1532)]))){const y=v[a(760)][a(1436)](),z=Mt(g[a(539)])?g[a(539)]:r;let{positionAbsolute:p}=g.internals;g[a(1433)]&&g[a(539)]==="parent"?p=Ji(p,w,n[a(946)](g.parentId)):z&&(p=tt(p,z,w));const N={...g,measured:w,internals:{...g[a(588)],positionAbsolute:p,handleBounds:{source:aa(a(1269),v[a(760)],y,h,g.id),target:aa(a(1274),v[a(760)],y,h,g.id)}}};n[a(1016)](g.id,N),g[a(1433)]&&yo(N,n,t,{nodeOrigin:x,zIndexMode:i}),s=!0,M&&(f[a(1935)]({id:g.id,type:"dimensions",dimensions:w}),g[a(450)]&&g[a(1433)]&&b[a(1935)]({id:g.id,parentId:g.parentId,rect:zt(N,x)}))}}if(b[a(1361)]>0){const v=mo(b,n,t,x);f[a(1935)](...v)}return{changes:f,updatedInternals:s}}async function W5({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=c;if(!n||!e.x&&!e.y)return Promise.resolve(!1);const a=await n[i(1636)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),d=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(1929)](d)}function pa(e,n,t,o,x,r){const i=c;let a=x;const d=o[i(946)](a)||new Map;o[i(1016)](a,d[i(1016)](t,n)),a=x+"-"+e;const s=o[i(946)](a)||new Map;if(o[i(1016)](a,s[i(1016)](t,n)),r){a=x+"-"+e+"-"+r;const f=o[i(946)](a)||new Map;o[i(1016)](a,f.set(t,n))}}function za(e,n,t){const o=c;e.clear(),n[o(1600)]();for(const x of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:d=null}=x,s={edgeId:x.id,source:r,target:i,sourceHandle:a,targetHandle:d},f=r+"-"+a+"--"+i+"-"+d,u=i+"-"+d+"--"+r+"-"+a;pa(o(1269),s,u,e,r,a),pa(o(1274),s,f,e,i,d),n[o(1016)](x.id,x)}}function Ca(e,n){const t=c;if(!e[t(1433)])return!1;const o=n[t(946)](e.parentId);return o?o[t(394)]?!0:Ca(o,n):!1}function Ma(e,n,t){const o=c;let x=e;do{if(x?.[o(1233)]?.(n))return!0;if(x===t)return!1;x=x?.parentElement}while(x);return!1}function X5(e,n,t,o){const x=c,r=new Map;for(const[i,a]of e)if((a[x(394)]||a.id===o)&&(!a[x(1433)]||!Ca(a,e))&&(a[x(1826)]||n&&typeof a[x(1826)]>"u")){const d=e[x(946)](i);d&&r.set(i,{id:i,position:d[x(2046)]||{x:0,y:0},distance:{x:t.x-d[x(588)][x(655)].x,y:t.y-d[x(588)][x(655)].y},extent:d[x(539)],parentId:d[x(1433)],origin:d.origin,expandParent:d[x(450)],internals:{positionAbsolute:d[x(588)].positionAbsolute||{x:0,y:0}},measured:{width:d[x(889)][x(419)]??0,height:d[x(889)][x(691)]??0}})}return r}function wo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=c,r=[];for(const[a,d]of n){const s=t[x(946)](a)?.[x(588)][x(1272)];s&&r[x(1935)]({...s,position:d[x(2046)],dragging:o})}if(!e)return[r[0],r];const i=t[x(946)](e)?.internals[x(1272)];return[i?{...i,position:n.get(e)?.[x(2046)]||i[x(2046)],dragging:o}:r[0],r]}function K5({dragItems:e,snapGrid:n,x:t,y:o}){const x=c,r=e[x(305)]().next()[x(999)];if(!r)return null;const i={x:t-r.distance.x,y:o-r.distance.y},a=t0(i,n);return{x:a.x-i.x,y:a.y-i.y}}function Z5({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,a=new Map,d=!1,s={x:0,y:0},f=null,u=!1,h=null,b=!1,v=!1,g=null;function w({noDragClassName:m,handleSelector:y,domNode:z,isSelectable:p,nodeId:N,nodeClickDistance:O=0}){const G=_0x4d07;h=an(z);function T({x:W,y:H}){const S=_0x4d07,{nodeLookup:L,nodeExtent:D,snapGrid:E,snapToGrid:U,nodeOrigin:k,onNodeDrag:R,onSelectionDrag:$,onError:ee,updateNodePositions:xe}=n();r={x:W,y:H};let re=!1;const ie=a[S(1142)]>1,fe=ie&&D?ao(e0(a)):null,ye=ie&&U?K5({dragItems:a,snapGrid:E,x:W,y:H}):null;for(const[ce,J]of a){if(!L.has(ce))continue;let le={x:W-J.distance.x,y:H-J[S(1252)].y};U&&(le=ye?{x:Math.round(le.x+ye.x),y:Math.round(le.y+ye.y)}:t0(le,E));let ue=null;if(ie&&D&&!J[S(539)]&&fe){const{positionAbsolute:Z}=J[S(588)],ne=Z.x-fe.x+D[0][0],te=Z.x+J[S(889)][S(419)]-fe.x2+D[1][0],X=Z.y-fe.y+D[0][1],oe=Z.y+J[S(889)].height-fe.y2+D[1][1];ue=[[ne,X],[te,oe]]}const{position:Y,positionAbsolute:I}=Ri({nodeId:ce,nextPosition:le,nodeLookup:L,nodeExtent:ue||D,nodeOrigin:k,onError:ee});re=re||J[S(2046)].x!==Y.x||J.position.y!==Y.y,J[S(2046)]=Y,J[S(588)][S(655)]=I}if(v=v||re,!!re&&(xe(a,!0),g&&(o||R||!N&&$))){const[ce,J]=wo({nodeId:N,dragItems:a,nodeLookup:L});o?.(g,a,ce,J),R?.(g,ce,J),!N&&$?.(g,J)}}async function j(){if(!f)return;const{transform:W,panBy:H,autoPanSpeed:S,autoPanOnNodeDrag:L}=n();if(!L){d=!1,cancelAnimationFrame(i);return}const[D,E]=Qi(s,f,S);(D!==0||E!==0)&&(r.x=(r.x??0)-D/W[2],r.y=(r.y??0)-E/W[2],await H({x:D,y:E})&&T(r)),i=requestAnimationFrame(j)}function q(W){const H=_0x4d07,{nodeLookup:S,multiSelectionActive:L,nodesDraggable:D,transform:E,snapGrid:U,snapToGrid:k,selectNodesOnDrag:R,onNodeDragStart:$,onSelectionDragStart:ee,unselectNodesAndEdges:xe}=n();u=!0,(!R||!p)&&!L&&N&&!S[H(946)](N)?.[H(394)]&&xe(),p&&R&&N&&e?.(N);const re=r0(W[H(843)],{transform:E,snapGrid:U,snapToGrid:k,containerBounds:f});if(r=re,a=X5(S,D,re,N),a[H(1142)]>0&&(t||$||!N&&ee)){const[ie,fe]=wo({nodeId:N,dragItems:a,nodeLookup:S});t?.(W[H(843)],a,ie,fe),$?.(W.sourceEvent,ie,fe),!N&&ee?.(W[H(843)],fe)}}const V=di()[G(689)](O).on("start",W=>{const H=G,{domNode:S,nodeDragThreshold:L,transform:D,snapGrid:E,snapToGrid:U}=n();f=S?.[H(1436)]()||null,b=!1,v=!1,g=W[H(843)],L===0&&q(W),r=r0(W[H(843)],{transform:D,snapGrid:E,snapToGrid:U,containerBounds:f}),s=mn(W[H(843)],f)}).on(G(909),W=>{const H=G,{autoPanOnNodeDrag:S,transform:L,snapGrid:D,snapToGrid:E,nodeDragThreshold:U,nodeLookup:k}=n(),R=r0(W[H(843)],{transform:L,snapGrid:D,snapToGrid:E,containerBounds:f});if(g=W[H(843)],(W[H(843)][H(478)]==="touchmove"&&W[H(843)][H(965)][H(1361)]>1||N&&!k.has(N))&&(b=!0),!b){if(!d&&S&&u&&(d=!0,j()),!u){const $=mn(W[H(843)],f),ee=$.x-s.x,xe=$.y-s.y;Math[H(573)](ee*ee+xe*xe)>U&&q(W)}(r.x!==R[H(1639)]||r.y!==R[H(818)])&&a&&u&&(s=mn(W[H(843)],f),T(R))}}).on(G(1510),W=>{const H=G;if(!(!u||b)&&(d=!1,u=!1,cancelAnimationFrame(i),a[H(1142)]>0)){const{nodeLookup:S,updateNodePositions:L,onNodeDragStop:D,onSelectionDragStop:E}=n();if(v&&(L(a,!1),v=!1),x||D||!N&&E){const[U,k]=wo({nodeId:N,dragItems:a,nodeLookup:S,dragging:!1});x?.(W[H(843)],a,U,k),D?.(W.sourceEvent,U,k),!N&&E?.(W.sourceEvent,k)}}})[G(416)](W=>{const H=G,S=W[H(1274)];return!W[H(1266)]&&(!m||!Ma(S,"."+m,z))&&(!y||Ma(S,y,z))});h.call(V)}function M(){const m=_0x4d07;h?.on(m(669),null)}return{update:w,destroy:M}}function R5(e,n,t){const o=c,x=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n.values())n0(r,zt(i))>0&&x[o(1935)](i);return x}const J5=250;function _5(e,n,t,o){const x=c;let r=[],i=1/0;const a=R5(e,t,n+J5);for(const d of a){const s=[...d.internals[x(984)]?.[x(1269)]??[],...d[x(588)][x(984)]?.[x(1274)]??[]];for(const f of s){if(o[x(424)]===f.nodeId&&o[x(478)]===f[x(478)]&&o.id===f.id)continue;const{x:u,y:h}=xt(d,f,f.position,!0),b=Math[x(573)](Math[x(1326)](u-e.x,2)+Math[x(1326)](h-e.y,2));b>n||(b<i?(r=[{...f,x:u,y:h}],i=b):b===i&&r.push({...f,x:u,y:h}))}}if(!r.length)return null;if(r.length>1){const d=o[x(478)]===x(1269)?"target":x(1269);return r[x(997)](s=>s[x(478)]===d)??r[0]}return r[0]}function Ba(e,n,t,o,x,r=!1){const i=c,a=o[i(946)](e);if(!a)return null;const d=x===i(730)?a[i(588)][i(984)]?.[n]:[...a[i(588)][i(984)]?.[i(1269)]??[],...a[i(588)][i(984)]?.target??[]],s=(t?d?.[i(997)](f=>f.id===t):d?.[0])??null;return s&&r?{...s,...xt(a,s,s[i(2046)],!0)}:s}function Da(e,n){const t=c;return e||(n?.[t(875)].contains(t(1274))?"target":n?.[t(875)].contains(t(1269))?"source":null)}function Q5(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const La=()=>!0;function F5(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:d,lib:s,autoPanOnConnect:f,flowId:u,panBy:h,cancelConnection:b,onConnectStart:v,onConnect:g,onConnectEnd:w,isValidConnection:M=La,onReconnectEnd:m,updateConnection:y,getTransform:z,getFromHandle:p,autoPanSpeed:N,dragThreshold:O=1,handleDomNode:G}){const T=c,j=oa(e[T(1274)]);let q=0,V;const{x:W,y:H}=mn(e),S=Da(r,G),L=a?.[T(1436)]();let D=!1;if(!L||!S)return;const E=Ba(x,S,o,d,n);if(!E)return;let U=mn(e,L),k=!1,R=null,$=!1,ee=null;function xe(){if(!f||!L)return;const[ue,Y]=Qi(U,L,N);h({x:ue,y:Y}),q=requestAnimationFrame(xe)}const re={...E,nodeId:x,type:S,position:E[T(2046)]},ie=d[T(946)](x);let ye={inProgress:!0,isValid:null,from:xt(ie,re,pe[T(1523)],!0),fromHandle:re,fromPosition:re[T(2046)],fromNode:ie,to:U,toHandle:null,toPosition:Xi[re.position],toNode:null,pointer:U};function ce(){D=!0,y(ye),v?.(e,{nodeId:x,handleId:o,handleType:S})}O===0&&ce();function J(ue){const Y=T;if(!D){const{x:oe,y:me}=mn(ue),ze=oe-W,Be=me-H;if(!(ze*ze+Be*Be>O*O))return;ce()}if(!p()||!re){le(ue);return}const I=z();U=mn(ue,L),V=_5(x0(U,I,!1,[1,1]),t,d,re),!k&&(xe(),k=!0);const Z=Sa(ue,{handle:V,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:Y(i?1274:1269),isValidConnection:M,doc:j,lib:s,flowId:u,nodeLookup:d});ee=Z[Y(1376)],R=Z[Y(1963)],$=Q5(!!V,Z[Y(704)]);const ne=d[Y(946)](x),te=ne?xt(ne,re,pe.Left,!0):ye[Y(1230)],X={...ye,from:te,isValid:$,to:Z.toHandle&&$?F0({x:Z[Y(1119)].x,y:Z[Y(1119)].y},I):U,toHandle:Z[Y(1119)],toPosition:$&&Z[Y(1119)]?Z.toHandle[Y(2046)]:Xi[re[Y(2046)]],toNode:Z[Y(1119)]?d[Y(946)](Z[Y(1119)][Y(424)]):null,pointer:U};y(X),ye=X}function le(ue){const Y=T;if(!(Y(965)in ue&&ue[Y(965)].length>0)){if(D){(V||ee)&&R&&$&&g?.(R);const{inProgress:I,...Z}=ye,ne={...Z,toPosition:ye[Y(1119)]?ye[Y(800)]:null};w?.(ue,ne),r&&m?.(ue,ne)}b(),cancelAnimationFrame(q),k=!1,$=!1,R=null,ee=null,j[Y(1357)](Y(1569),J),j[Y(1357)]("mouseup",le),j[Y(1357)](Y(1202),J),j[Y(1357)](Y(1226),le)}}j.addEventListener(T(1569),J),j.addEventListener(T(463),le),j[T(1534)]("touchmove",J),j[T(1534)]("touchend",le)}function Sa(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:a,flowId:d,isValidConnection:s=La,nodeLookup:f}){const u=c,h=r==="target",b=n?i[u(1952)]("."+a+'-flow__handle[data-id="'+d+"-"+n?.nodeId+"-"+n?.id+"-"+n?.[u(478)]+'"]'):null,{x:v,y:g}=mn(e),w=i.elementFromPoint(v,g),M=w?.classList[u(1854)](a+u(1610))?w:b,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const y=Da(void 0,M),z=M[u(1984)](u(1008)),p=M[u(1984)](u(260)),N=M[u(875)].contains(u(836)),O=M[u(875)].contains(u(572));if(!z||!y)return m;const G={source:h?z:o,sourceHandle:h?p:x,target:h?o:z,targetHandle:h?x:p};m[u(1963)]=G;const T=N&&O,j=T&&(t===vt[u(682)]?h&&y===u(1269)||!h&&y===u(1274):z!==o||p!==x);m.isValid=j&&s(G),m[u(1119)]=Ba(z,y,p,f,t,!0)}return m}const vo={onPointerDown:F5,isValid:Sa};function $5({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=an(e);function r({translateExtent:a,width:d,height:s,zoomStep:f=1,pannable:u=!0,zoomable:h=!0,inversePan:b=!1}){const v=_0x4d07,g=z=>{const p=_0x4d07;if(z[p(843)][p(478)]!==p(1595)||!n)return;const N=t(),O=z.sourceEvent[p(1421)]&&o0()?10:1,G=-z[p(843)].deltaY*(z[p(843)][p(1292)]===1?.05:z.sourceEvent[p(1292)]?1:.002)*f,T=N[2]*Math.pow(2,G*O);n.scaleTo(T)};let w=[0,0];const M=z=>{const p=_0x4d07;(z[p(843)][p(478)]===p(651)||z[p(843)][p(478)]==="touchstart")&&(w=[z[p(843)][p(1086)]??z[p(843)][p(965)][0].clientX,z[p(843)][p(1604)]??z[p(843)][p(965)][0][p(1604)]])},m=z=>{const p=_0x4d07,N=t();if(z[p(843)][p(478)]!==p(1569)&&z[p(843)][p(478)]!==p(1202)||!n)return;const O=[z[p(843)][p(1086)]??z[p(843)][p(965)][0][p(1086)],z[p(843)][p(1604)]??z[p(843)][p(965)][0][p(1604)]],G=[O[0]-w[0],O[1]-w[1]];w=O;const T=o()*Math[p(2036)](N[2],Math[p(1461)](N[2]))*(b?-1:1),j={x:N[0]-G[0]*T,y:N[1]-G[1]*T},q=[[0,0],[d,s]];n[p(1636)]({x:j.x,y:j.y,zoom:N[2]},q,a)},y=Vi().on("start",M).on("zoom",u?m:null).on(v(1750),h?g:null);x.call(y,{})}function i(){const a=_0x4d07;x.on(a(896),null)}return{update:r,destroy:i,pointer:hn}}const ex=e=>({x:e.x,y:e.y,zoom:e.k}),po=({x:e,y:n,zoom:t})=>Z0[c(672)](e,n).scale(t),Bt=(e,n)=>e[c(1274)][c(736)]("."+n),Na=(e,n)=>n===2&&Array[c(862)](e)&&e[c(1483)](2),e2=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,zo=(e,n=0,t=e2,o=()=>{})=>{const x=c,r=typeof n===x(1493)&&n>0;return!r&&o(),r?e.transition().duration(n)[x(616)](t).on(x(1510),o):e},ka=e=>{const n=c,t=e[n(1421)]&&o0()?10:1;return-e[n(318)]*(e[n(1292)]===1?.05:e[n(1292)]?1:.002)*t};function n2({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:d,onPanZoomEnd:s}){return f=>{const u=_0x4d07;if(Bt(f,n))return f[u(1421)]&&f[u(310)](),!1;f[u(310)](),f[u(1337)]();const h=t[u(1447)](u(1211)).k||1;if(f.ctrlKey&&i){const M=hn(f),m=ka(f),y=h*Math.pow(2,m);o[u(1809)](t,y,M,f);return}const b=f[u(1292)]===1?20:1;let v=x===nt[u(667)]?0:f.deltaX*b,g=x===nt[u(368)]?0:f.deltaY*b;!o0()&&f[u(1815)]&&x!==nt[u(667)]&&(v=f.deltaY*b,g=0),o[u(387)](t,-(v/h)*r,-(g/h)*r,{internal:!0});const w=ex(t[u(1447)](u(1211)));clearTimeout(e.panScrollTimeout),e[u(2035)]?(d?.(f,w),e[u(1802)]=setTimeout(()=>{const M=u;s?.(f,w),e[M(2035)]=!1},150)):(e[u(2035)]=!0,a?.(f,w))}}function t2({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x4d07,i=o[r(478)]===r(1595),a=!n&&i&&!o[r(1421)],d=Bt(o,e);if(o[r(1421)]&&i&&d&&o[r(310)](),a||d)return null;o[r(310)](),t[r(1241)](this,o,x)}}function x2({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x4d07;if(o[x(843)]?.[x(852)])return;const r=ex(o[x(1696)]);e[x(713)]=o[x(843)]?.[x(1266)]||0,e[x(267)]=!0,e[x(512)]=r,o[x(843)]?.type===x(651)&&n(!0),t&&t?.(o[x(843)],r)}}function o2({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x4d07;e[i(1108)]=!!(t&&Na(n,e[i(713)]??0)),!r[i(843)]?.[i(1749)]&&o([r.transform.x,r[i(1696)].y,r[i(1696)].k]),x&&!r.sourceEvent?.[i(852)]&&x?.(r[i(843)],ex(r[i(1696)]))}}function r2({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const a=_0x4d07;if(!i.sourceEvent?.[a(852)]&&(e[a(267)]=!1,r&&Na(n,e[a(713)]??0)&&!e[a(1108)]&&i.sourceEvent&&r(i.sourceEvent),e.usedRightMouseButton=!1,o(!1),x)){const d=ex(i[a(1696)]);e.prevViewport=d,clearTimeout(e[a(286)]),e.timerId=setTimeout(()=>{x?.(i[a(843)],d)},t?150:0)}}}function i2({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:d,lib:s,connectionInProgress:f}){return u=>{const h=_0x4d07,b=e||n,v=t&&u[h(1421)],g=u.type===h(1595);if(u[h(1266)]===1&&u[h(478)]==="mousedown"&&(Bt(u,s+h(1404))||Bt(u,s+h(1478))))return!0;if(!o&&!b&&!x&&!r&&!t||i||f&&!g||Bt(u,a)&&g||Bt(u,d)&&(!g||x&&g&&!e)||!t&&u[h(1421)]&&g)return!1;if(!t&&u[h(478)]===h(1876)&&u.touches?.length>1)return u[h(310)](),!1;if(!b&&!x&&!v&&g||!o&&(u[h(478)]===h(651)||u[h(478)]==="touchstart")||Array[h(862)](o)&&!o[h(1483)](u[h(1266)])&&u.type==="mousedown")return!1;const w=Array[h(862)](o)&&o.includes(u.button)||!u.button||u[h(1266)]<=1;return(!u.ctrlKey||g)&&w}}function a2({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:d}){const s=c,f={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},u=e[s(1436)](),h=Vi()[s(971)]([n,t])[s(1238)](o),b=an(e).call(h);y({x:x.x,y:x.y,zoom:pt(x[s(896)],n,t)},[[0,0],[u[s(419)],u[s(691)]]],o);const v=b.on(s(2094)),g=b.on(s(707));h[s(533)](ka);function w(V,W){return b?new Promise(H=>{const S=_0x4d07;h?.interpolate(W?.[S(1786)]===S(1464)?Xt:U0)[S(1696)](zo(b,W?.[S(664)],W?.[S(616)],()=>H(!0)),V)}):Promise.resolve(!1)}function M({noWheelClassName:V,noPanClassName:W,onPaneContextMenu:H,userSelectionActive:S,panOnScroll:L,panOnDrag:D,panOnScrollMode:E,panOnScrollSpeed:U,preventScrolling:k,zoomOnPinch:R,zoomOnScroll:$,zoomOnDoubleClick:ee,zoomActivationKeyPressed:xe,lib:re,onTransformChange:ie,connectionInProgress:fe,paneClickDistance:ye,selectionOnDrag:ce}){const J=s;S&&!f.isZoomingOrPanning&&m();const le=L&&!xe&&!S;h[J(689)](ce?1/0:!yn(ye)||ye<0?0:ye);const ue=le?n2({zoomPanValues:f,noWheelClassName:V,d3Selection:b,d3Zoom:h,panOnScrollMode:E,panOnScrollSpeed:U,zoomOnPinch:R,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):t2({noWheelClassName:V,preventScrolling:k,d3ZoomHandler:v});if(b.on(J(2094),ue,{passive:!1}),!S){const I=x2({zoomPanValues:f,onDraggingChange:d,onPanZoomStart:i});h.on(J(867),I);const Z=o2({zoomPanValues:f,panOnDrag:D,onPaneContextMenu:!!H,onPanZoom:r,onTransformChange:ie});h.on("zoom",Z);const ne=r2({zoomPanValues:f,panOnDrag:D,panOnScroll:L,onPaneContextMenu:H,onPanZoomEnd:a,onDraggingChange:d});h.on("end",ne)}const Y=i2({zoomActivationKeyPressed:xe,panOnDrag:D,zoomOnScroll:$,panOnScroll:L,zoomOnDoubleClick:ee,zoomOnPinch:R,userSelectionActive:S,noPanClassName:W,noWheelClassName:V,lib:re,connectionInProgress:fe});h[J(416)](Y),ee?b.on(J(707),g):b.on("dblclick.zoom",null)}function m(){const V=s;h.on(V(896),null)}async function y(V,W,H){const S=s,L=po(V),D=h?.[S(1991)]()(L,W,H);return D&&await w(D),new Promise(E=>E(D))}async function z(V,W){const H=po(V);return await w(H,W),new Promise(S=>S(H))}function p(V){const W=s;if(b){const H=po(V),S=b[W(1447)](W(1211));(S.k!==V.zoom||S.x!==V.x||S.y!==V.y)&&h?.[W(1696)](b,H,null,{sync:!0})}}function N(){const V=s,W=b?Oi(b[V(784)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function O(V,W){const H=s;return b?new Promise(S=>{const L=_0x4d07;h?.[L(1786)](W?.[L(1786)]==="linear"?Xt:U0).scaleTo(zo(b,W?.[L(664)],W?.[L(616)],()=>S(!0)),V)}):Promise[H(1929)](!1)}function G(V,W){const H=s;return b?new Promise(S=>{const L=_0x4d07;h?.[L(1786)](W?.interpolate===L(1464)?Xt:U0)[L(1208)](zo(b,W?.[L(664)],W?.[L(616)],()=>S(!0)),V)}):Promise[H(1929)](!1)}function T(V){h?.[s(971)](V)}function j(V){h?.translateExtent(V)}function q(V){const W=s,H=!yn(V)||V<0?0:V;h?.[W(689)](H)}return{update:M,destroy:m,setViewport:z,setViewportConstrained:y,getViewport:N,scaleTo:O,scaleBy:G,setScaleExtent:T,setTranslateExtent:j,syncViewport:p,setClickDistance:q}}var Dt;(function(e){const n=c;e[n(645)]=n(653),e.Handle=n(1413)})(Dt||(Dt={}));function s2({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,a=t-o,d=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&x&&(d[0]=d[0]*-1),a&&r&&(d[1]=d[1]*-1),d}function Ia(e){const n=c,t=e[n(1483)](n(647))||e.includes("left"),o=e.includes(n(728))||e[n(1483)](n(1653)),x=e[n(1483)]("left"),r=e[n(1483)](n(1653));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function Hn(e,n){return Math.max(0,n-e)}function Vn(e,n){return Math[c(2036)](0,e-n)}function nx(e,n,t){return Math[c(2036)](0,n-e,e-t)}function Pa(e,n){return e?!n:n}function c2(e,n,t,o,x,r,i,a){const d=c;let{affectsX:s,affectsY:f}=n;const{isHorizontal:u,isVertical:h}=n,b=u&&h,{xSnapped:v,ySnapped:g}=t,{minWidth:w,maxWidth:M,minHeight:m,maxHeight:y}=o,{x:z,y:p,width:N,height:O,aspectRatio:G}=e;let T=Math[d(996)](u?v-e[d(1923)]:0),j=Math[d(996)](h?g-e[d(1312)]:0);const q=N+(s?-T:T),V=O+(f?-j:j),W=-r[0]*N,H=-r[1]*O;let S=nx(q,w,M),L=nx(V,m,y);if(i){let U=0,k=0;s&&T<0?U=Hn(z+T+W,i[0][0]):!s&&T>0&&(U=Vn(z+q+W,i[1][0])),f&&j<0?k=Hn(p+j+H,i[0][1]):!f&&j>0&&(k=Vn(p+V+H,i[1][1])),S=Math[d(2036)](S,U),L=Math.max(L,k)}if(a){let U=0,k=0;s&&T>0?U=Vn(z+T,a[0][0]):!s&&T<0&&(U=Hn(z+q,a[1][0])),f&&j>0?k=Vn(p+j,a[0][1]):!f&&j<0&&(k=Hn(p+V,a[1][1])),S=Math.max(S,U),L=Math.max(L,k)}if(x){if(u){const U=nx(q/G,m,y)*G;if(S=Math[d(2036)](S,U),i){let k=0;!s&&!f||s&&!f&&b?k=Vn(p+H+q/G,i[1][1])*G:k=Hn(p+H+(s?T:-T)/G,i[0][1])*G,S=Math[d(2036)](S,k)}if(a){let k=0;!s&&!f||s&&!f&&b?k=Hn(p+q/G,a[1][1])*G:k=Vn(p+(s?T:-T)/G,a[0][1])*G,S=Math[d(2036)](S,k)}}if(h){const U=nx(V*G,w,M)/G;if(L=Math[d(2036)](L,U),i){let k=0;!s&&!f||f&&!s&&b?k=Vn(z+V*G+W,i[1][0])/G:k=Hn(z+(f?j:-j)*G+W,i[0][0])/G,L=Math[d(2036)](L,k)}if(a){let k=0;!s&&!f||f&&!s&&b?k=Hn(z+V*G,a[1][0])/G:k=Vn(z+(f?j:-j)*G,a[0][0])/G,L=Math[d(2036)](L,k)}}}j=j+(j<0?L:-L),T=T+(T<0?S:-S),x&&(b?q>V*G?j=(Pa(s,f)?-T:T)/G:T=(Pa(s,f)?-j:j)*G:u?(j=T/G,f=s):(T=j*G,s=f));const D=s?z+T:z,E=f?p+j:p;return{width:N+(s?-T:T),height:O+(f?-j:j),x:r[0]*T*(s?-1:1)+D,y:r[1]*j*(f?-1:1)+E}}const Aa={width:0,height:0,x:0,y:0},l2={...Aa,pointerX:0,pointerY:0,aspectRatio:1};function d2(e){const n=c;return[[0,0],[e[n(889)][n(419)],e[n(889)][n(691)]]]}function f2(e,n,t){const o=c,x=n[o(2046)].x+e[o(2046)].x,r=n[o(2046)].y+e[o(2046)].y,i=e.measured[o(419)]??0,a=e[o(889)][o(691)]??0,d=t[0]*i,s=t[1]*a;return[[x-d,r-s],[x+i-d,r+a-s]]}function u2({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=c,i=an(e);let a={controlDirection:Ia(r(1484)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(891)],maxHeight:Number[r(891)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:f,boundaries:u,keepAspectRatio:h,resizeDirection:b,onResizeStart:v,onResize:g,onResizeEnd:w,shouldResize:M}){const m=r;let y={...Aa},z={...l2};a={boundaries:u,resizeDirection:b,keepAspectRatio:h,controlDirection:Ia(f)};let p,N=null,O=[],G,T,j,q=!1;const V=di().on(m(867),W=>{const H=m,{nodeLookup:S,transform:L,snapGrid:D,snapToGrid:E,nodeOrigin:U,paneDomNode:k}=t();if(p=S[H(946)](n),!p)return;N=k?.[H(1436)]()??null;const{xSnapped:R,ySnapped:$}=r0(W[H(843)],{transform:L,snapGrid:D,snapToGrid:E,containerBounds:N});y={width:p.measured[H(419)]??0,height:p.measured[H(691)]??0,x:p[H(2046)].x??0,y:p[H(2046)].y??0},z={...y,pointerX:R,pointerY:$,aspectRatio:y[H(419)]/y[H(691)]},G=void 0,p.parentId&&(p[H(539)]===H(1901)||p[H(450)])&&(G=S[H(946)](p[H(1433)]),T=G&&p[H(539)]===H(1901)?d2(G):void 0),O=[],j=void 0;for(const[ee,xe]of S)if(xe.parentId===n&&(O[H(1935)]({id:ee,position:{...xe.position},extent:xe.extent}),xe.extent===H(1901)||xe.expandParent)){const re=f2(xe,p,xe.origin??U);j?j=[[Math[H(714)](re[0][0],j[0][0]),Math[H(714)](re[0][1],j[0][1])],[Math[H(2036)](re[1][0],j[1][0]),Math.max(re[1][1],j[1][1])]]:j=re}v?.(W,{...y})}).on(m(909),W=>{const H=m,{transform:S,snapGrid:L,snapToGrid:D,nodeOrigin:E}=t(),U=r0(W[H(843)],{transform:S,snapGrid:L,snapToGrid:D,containerBounds:N}),k=[];if(!p)return;const{x:R,y:$,width:ee,height:xe}=y,re={},ie=p[H(1521)]??E,{width:fe,height:ye,x:ce,y:J}=c2(z,a[H(563)],U,a[H(488)],a[H(1714)],ie,T,j),le=fe!==ee,ue=ye!==xe,Y=ce!==R&&le,I=J!==$&&ue;if(!Y&&!I&&!le&&!ue)return;if((Y||I||ie[0]===1||ie[1]===1)&&(re.x=Y?ce:y.x,re.y=I?J:y.y,y.x=re.x,y.y=re.y,O[H(1361)]>0)){const X=ce-R,oe=J-$;for(const me of O)me[H(2046)]={x:me[H(2046)].x-X+ie[0]*(fe-ee),y:me[H(2046)].y-oe+ie[1]*(ye-xe)},k[H(1935)](me)}if((le||ue)&&(re[H(419)]=le&&(!a.resizeDirection||a[H(421)]==="horizontal")?fe:y.width,re[H(691)]=ue&&(!a[H(421)]||a[H(421)]==="vertical")?ye:y[H(691)],y[H(419)]=re[H(419)],y.height=re.height),G&&p[H(450)]){const X=ie[0]*(re[H(419)]??0);re.x&&re.x<X&&(y.x=X,z.x=z.x-(re.x-X));const oe=ie[1]*(re[H(691)]??0);re.y&&re.y<oe&&(y.y=oe,z.y=z.y-(re.y-oe))}const Z=s2({width:y[H(419)],prevWidth:ee,height:y.height,prevHeight:xe,affectsX:a[H(563)].affectsX,affectsY:a[H(563)][H(2080)]}),ne={...y,direction:Z};M?.(W,ne)!==!1&&(q=!0,g?.(W,ne),o(re,k))}).on(m(1510),W=>{q&&(w?.(W,{...y}),x?.({...y}),q=!1)});i.call(V)}function s(){i.on(".drag",null)}return{update:d,destroy:s}}var tx={exports:{}},Co={},xx={exports:{}},Mo={},ja;function h2(){const e=c;if(ja)return Mo;ja=1;var n=B;function t(h,b){return h===b&&(h!==0||1/h===1/b)||h!==h&&b!==b}var o=e(2002)===typeof Object.is?Object.is:t,x=n.useState,r=n[e(1753)],i=n[e(584)],a=n[e(1974)];function d(h,b){var v=b(),g=x({inst:{value:v,getSnapshot:b}}),w=g[0].inst,M=g[1];return i(function(){const m=_0x4d07;w[m(999)]=v,w.getSnapshot=b,s(w)&&M({inst:w})},[h,v,b]),r(function(){return s(w)&&M({inst:w}),h(function(){s(w)&&M({inst:w})})},[h]),a(v),v}function s(h){const b=e;var v=h[b(432)];h=h[b(999)];try{var g=v();return!o(h,g)}catch{return!0}}function f(h,b){return b()}var u=e(1397)===typeof window||e(1397)===typeof window[e(1731)]||e(1397)===typeof window.document[e(1074)]?f:d;return Mo[e(1909)]=n[e(1909)]!==void 0?n.useSyncExternalStore:u,Mo}var Bo={},Ea;function g2(){const e=c;return Ea||(Ea=1,e(401)!==process.env.NODE_ENV&&(function(){const n=e;function t(g,w){return g===w&&(g!==0||1/g===1/w)||g!==g&&w!==w}function o(g,w){const M=_0x4d07;h||i[M(1264)]===void 0||(h=!0,console[M(1247)](M(1471)));var m=w();if(!b){var y=w();a(m,y)||(console[M(1247)](M(1951)),b=!0)}y=d({inst:{value:m,getSnapshot:w}});var z=y[0][M(1186)],p=y[1];return f(function(){const N=M;z[N(999)]=m,z[N(432)]=w,x(z)&&p({inst:z})},[g,m,w]),s(function(){return x(z)&&p({inst:z}),g(function(){x(z)&&p({inst:z})})},[g]),u(m),m}function x(g){const w=_0x4d07;var M=g[w(432)];g=g[w(999)];try{var m=M();return!a(g,m)}catch{return!0}}function r(g,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&n(2002)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(630)](Error());var i=B,a=n(2002)===typeof Object.is?Object.is:t,d=i[n(1704)],s=i[n(1753)],f=i[n(584)],u=i[n(1974)],h=!1,b=!1,v=n(1397)===typeof window||n(1397)===typeof window[n(1731)]||n(1397)===typeof window[n(1731)][n(1074)]?r:o;Bo[n(1909)]=i[n(1909)]!==void 0?i.useSyncExternalStore:v,n(1397)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(2002)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1597)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1597)](Error())})()),Bo}var Ya;function Ua(){const e=c;return Ya||(Ya=1,process.env.NODE_ENV===e(401)?xx[e(1125)]=h2():xx[e(1125)]=g2()),xx[e(1125)]}var Ga;function b2(){const e=c;if(Ga)return Co;Ga=1;var n=B,t=Ua();function o(f,u){return f===u&&(f!==0||1/f===1/u)||f!==f&&u!==u}var x=e(2002)===typeof Object.is?Object.is:o,r=t[e(1909)],i=n[e(1100)],a=n[e(1753)],d=n[e(1616)],s=n.useDebugValue;return Co[e(1197)]=function(f,u,h,b,v){const g=e;var w=i(null);if(w[g(405)]===null){var M={hasValue:!1,value:null};w[g(405)]=M}else M=w[g(405)];w=d(function(){function y(G){const T=_0x4d07;if(!z){if(z=!0,p=G,G=b(G),v!==void 0&&M[T(252)]){var j=M[T(999)];if(v(j,G))return N=j}return N=G}if(j=N,x(p,G))return j;var q=b(G);return v!==void 0&&v(j,q)?(p=G,j):(p=G,N=q)}var z=!1,p,N,O=h===void 0?null:h;return[function(){return y(u())},O===null?void 0:function(){return y(O())}]},[u,h,b,v]);var m=r(f,w[0],w[1]);return a(function(){const y=g;M.hasValue=!0,M[y(999)]=m},[m]),s(m),m},Co}var Do={},Oa;function y2(){return Oa||(Oa=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x4d07;function n(f,u){return f===u&&(f!==0||1/f===1/u)||f!==f&&u!==u}e(1397)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(630)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(630)](Error());var t=B,o=Ua(),x=e(2002)===typeof Object.is?Object.is:n,r=o[e(1909)],i=t.useRef,a=t.useEffect,d=t[e(1616)],s=t[e(1974)];Do[e(1197)]=function(f,u,h,b,v){const g=e;var w=i(null);if(w[g(405)]===null){var M={hasValue:!1,value:null};w[g(405)]=M}else M=w[g(405)];w=d(function(){function y(G){const T=_0x4d07;if(!z){if(z=!0,p=G,G=b(G),v!==void 0&&M.hasValue){var j=M[T(999)];if(v(j,G))return N=j}return N=G}if(j=N,x(p,G))return j;var q=b(G);return v!==void 0&&v(j,q)?(p=G,j):(p=G,N=q)}var z=!1,p,N,O=h===void 0?null:h;return[function(){return y(u())},O===null?void 0:function(){return y(O())}]},[u,h,b,v]);var m=r(f,w[0],w[1]);return a(function(){const y=g;M[y(252)]=!0,M[y(999)]=m},[m]),s(m),m},e(1397)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(2002)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1597)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(1597)](Error())})()),Do}var Ha;function m2(){const e=c;return Ha||(Ha=1,process.env.NODE_ENV==="production"?tx[e(1125)]=b2():tx[e(1125)]=y2()),tx[e(1125)]}var w2=m2();const v2=It(w2),p2={},Va=e=>{let n;const t=new Set,o=(f,u)=>{const h=_0x4d07,b=typeof f=="function"?f(n):f;if(!Object.is(b,n)){const v=n;n=u??(typeof b!==h(1612)||b===null)?b:Object.assign({},n,b),t[h(1777)](g=>g(n,v))}},x=()=>n,r=()=>s,i=f=>{const u=_0x4d07;return t.add(f),()=>t[u(2026)](f)},a=()=>{const f=_0x4d07;(p2?"production":void 0)!==f(401)&&console[f(1897)](f(1825)),t[f(1600)]()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:a},s=n=e(o,x,d);return d},z2=e=>e?Va(e):Va,{useDebugValue:C2}=B,{useSyncExternalStoreWithSelector:M2}=v2,B2=e=>e;function Ta(e,n=B2,t){const o=c,x=M2(e[o(744)],e[o(308)],e[o(361)]||e[o(582)],n,t);return C2(x),x}const qa=(e,n)=>{const t=z2(e),o=(x,r=n)=>Ta(t,x,r);return Object.assign(o,t),o},D2=(e,n)=>e?qa(e,n):qa;function Ee(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(1612)||e===null||typeof n!==t(1612)||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1142)]!==n[t(1142)])return!1;for(const[x,r]of e)if(!Object.is(r,n[t(946)](x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(1142)]!==n[t(1142)])return!1;for(const x of e)if(!n.has(x))return!1;return!0}const o=Object[t(897)](e);if(o[t(1361)]!==Object[t(897)](n)[t(1361)])return!1;for(const x of o)if(!Object[t(1389)][t(534)][t(1241)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const ox=B[c(695)](null),L2=ox[c(315)],Wa=sn.error001();function ke(e,n){const t=c,o=B[t(1891)](ox);if(o===null)throw new Error(Wa);return Ta(o,e,n)}function Ye(){const e=c,n=B.useContext(ox);if(n===null)throw new Error(Wa);return B.useMemo(()=>({getState:n[e(308)],setState:n[e(2029)],subscribe:n[e(744)]}),[n])}const Xa={display:c(1185)},S2={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1942),clip:c(1818),clipPath:c(449)},Ka=c(1732),Za="react-flow__edge-desc",N2=c(786),k2=e=>e[c(1174)],I2=e=>e[c(1862)];function P2({rfId:e}){const n=c,t=ke(k2);return l[n(886)]("div",{id:N2+"-"+e,"aria-live":n(1083),"aria-atomic":"true",style:S2,children:t})}function A2({rfId:e,disableKeyboardA11y:n}){const t=c,o=ke(I2);return l[t(1669)](l[t(1338)],{children:[l[t(886)](t(866),{id:Ka+"-"+e,style:Xa,children:n?o[t(973)]:o[t(1318)]}),l[t(886)]("div",{id:Za+"-"+e,style:Xa,children:o[t(927)]}),!n&&l.jsx(P2,{rfId:e})]})}const rx=B.forwardRef(({position:e=c(239),children:n,className:t,style:o,...x},r)=>{const i=c,a=(""+e)[i(364)]("-");return l[i(886)](i(866),{className:Te([i(635),t,...a]),style:o,ref:r,...x,children:n})});rx[c(501)]=c(939);function j2({proOptions:e,position:n=c(1484)}){const t=c;return e?.[t(1533)]?null:l[t(886)](rx,{position:n,className:"react-flow__attribution","data-message":t(1438),children:l[t(886)]("a",{href:t(1134),target:t(792),rel:"noopener noreferrer","aria-label":t(438),children:t(1916)})})}const E2=e=>{const n=c,t=[],o=[];for(const[,x]of e[n(643)])x[n(394)]&&t[n(1935)](x.internals.userNode);for(const[,x]of e.edgeLookup)x.selected&&o[n(1935)](x);return{selectedNodes:t,selectedEdges:o}},ix=e=>e.id;function Y2(e,n){const t=c;return Ee(e[t(596)][t(1549)](ix),n.selectedNodes[t(1549)](ix))&&Ee(e[t(430)].map(ix),n[t(430)][t(1549)](ix))}function U2({onSelectionChange:e}){const n=c,t=Ye(),{selectedNodes:o,selectedEdges:x}=ke(E2,Y2);return B[n(1753)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(308)]().onSelectionChangeHandlers[r(1777)](a=>a(i))},[o,x,e]),null}const G2=e=>!!e.onSelectionChangeHandlers;function O2({onSelectionChange:e}){const n=c,t=ke(G2);return e||t?l[n(886)](U2,{onSelectionChange:e}):null}const Lo=typeof window!==c(1397)?B.useLayoutEffect:B.useEffect,Ra=[0,0],H2={x:0,y:0,zoom:1},V2=[c(448),c(954),c(1411),c(464),c(559),"onConnectStart",c(1715),c(417),c(470),"nodesDraggable",c(1434),c(1892),c(1191),c(1919),c(1657),c(509),c(373),c(433),c(1255),c(1388),c(552),c(255),c(2020),c(1110),c(565),c(892),c(1238),c(873),"defaultEdgeOptions","fitView",c(813),"onNodesDelete",c(961),c(923),c(1606),c(746),c(1243),c(1536),c(1860),c(442),c(1412),c(1757),c(1888),c(334),"nodeOrigin",c(1224),c(1763),"onError",c(633),"isValidConnection",c(1271),c(1120),c(912),c(248),c(838),"autoPanSpeed",c(1862),c(942)],Ja=[...V2,c(337)],T2=e=>({setNodes:e[c(938)],setEdges:e[c(483)],setMinZoom:e[c(558)],setMaxZoom:e[c(1700)],setTranslateExtent:e[c(359)],setNodeExtent:e[c(1246)],reset:e[c(900)],setDefaultNodesAndEdges:e.setDefaultNodesAndEdges}),_a={translateExtent:Qt,nodeOrigin:Ra,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(1513),rfId:"1"};function q2(e){const n=c,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:d,setDefaultNodesAndEdges:s}=ke(T2,Ee),f=Ye();Lo(()=>{const h=_0x4d07;return s(e[h(1411)],e[h(464)]),()=>{const b=h;u[b(405)]=_a,d()}},[]);const u=B.useRef(_a);return Lo(()=>{const h=_0x4d07;for(const b of Ja){const v=e[b],g=u[h(405)][b];v!==g&&(typeof e[b]>"u"||(b==="nodes"?t(v):b==="edges"?o(v):b===h(433)?x(v):b===h(1255)?r(v):b===h(1238)?i(v):b===h(1388)?a(v):b===h(1862)?f[h(2029)]({ariaLabelConfig:D5(v)}):b===h(1456)?f[h(2029)]({fitViewQueued:v}):b==="fitViewOptions"?f[h(2029)]({fitViewOptions:v}):f[h(2029)]({[b]:v})))}u[h(405)]=e},Ja[n(1549)](h=>e[h])),null}function Qa(){const e=c;return typeof window===e(1397)||!window[e(1997)]?null:window.matchMedia("(prefers-color-scheme: dark)")}function W2(e){const n=c,[t,o]=B[n(1704)](e===n(601)?null:e);return B[n(1753)](()=>{const x=n;if(e!==x(601)){o(e);return}const r=Qa(),i=()=>o(r?.[x(1233)]?x(1547):"light");return i(),r?.[x(1534)](x(799),i),()=>{const a=x;r?.[a(1357)](a(799),i)}},[e]),t!==null?t:Qa()?.[n(1233)]?n(1547):"light"}const Fa=typeof document!==c(1397)?document:null;function i0(e=null,n={target:Fa,actInsideInputWithModifier:!0}){const t=c,[o,x]=B[t(1704)](!1),r=B[t(1100)](!1),i=B[t(1100)](new Set([])),[a,d]=B[t(1616)](()=>{const s=t;if(e!==null){const f=Array[s(862)](e)?e:[e],u=f[s(416)](b=>typeof b===s(975))[s(1549)](b=>b[s(974)]("+",`
5
- `)[s(974)](`
1
+ (function(Se,l){const B=_0x5590,C=Se();for(;;)try{if(-parseInt(B(827))/1+parseInt(B(886))/2*(-parseInt(B(1024))/3)+-parseInt(B(1203))/4*(-parseInt(B(2174))/5)+parseInt(B(921))/6+-parseInt(B(2186))/7+parseInt(B(968))/8*(parseInt(B(1168))/9)+parseInt(B(1101))/10*(parseInt(B(1022))/11)===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0x5257,407895),(function(Se,l){const B=_0x5590;typeof exports===B(878)&&typeof module!==B(383)?l(exports,require("react/jsx-runtime"),require(B(1530)),require(B(1693)),require(B(1739)),require("zustand"),require(B(1493)),require(B(1335)),require(B(829)),require(B(432))):typeof define=="function"&&define.amd?define([B(1896),B(864),"react",B(1693),B(1739),B(2036),B(1493),B(1335),B(829),B(432)],l):(Se=typeof globalThis!==B(383)?globalThis:Se||self,l(Se.ConfigEditor={},Se[B(1697)],Se[B(671)],Se[B(1693)],Se.icons,Se[B(2036)],Se[B(1493)],Se[B(1335)],Se[B(711)]))})(this,function(Se,l,B,C,de,Xx,Nt,Le,St){"use strict";function _0x5590(Se,l){Se=Se-345;const B=_0x5257();let C=B[Se];if(_0x5590.sjnDcS===void 0){var de=function(St){const s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let mn="",Vn="";for(let l0=0,E0,U0,qn=0;U0=St.charAt(qn++);~U0&&(E0=l0%4?E0*64+U0:U0,l0++%4)?mn+=String.fromCharCode(255&E0>>(-2*l0&6)):0)U0=s.indexOf(U0);for(let l0=0,E0=mn.length;l0<E0;l0++)Vn+="%"+("00"+mn.charCodeAt(l0).toString(16)).slice(-2);return decodeURIComponent(Vn)};_0x5590.UvQbpo=de,_0x5590.zrylHI={},_0x5590.sjnDcS=!0}const Xx=B[0],Nt=Se+Xx,Le=_0x5590.zrylHI[Nt];return Le?C=Le:(C=_0x5590.UvQbpo(C),_0x5590.zrylHI[Nt]=C),C}function _0x5257(){const Se=["Dg9tDhjPBMC","C2v0qxr0CMLIDxrLtLm","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","BM9KzunSAwnRrgLZDgfUy2u","vg9W","C2v0tM9Kzuv4DgvUDa","B3b0Aw9UCW","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","BMv3wq","Aw5SAw5LlwzSzxG","twLUDxndAxjJBgvpDxrSAw5Lza","zgf0ys1Oyw5KBgvPza","zhjHz0HHBMrSzq","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","zxzLBNrtDwjQzwn0CW","5PwW5O2U6zUgia","yw50ze1LC3nHz2u","Bw91C2vcDxr0B24","BwiTmW","BwfYA2vYrw5K","yMLUzenVzgvZ","vgHLig9SzcbLzgDLihDPDgGGAwq9","zhjHzW","Dhj1zq","DMfSDwvZ","Dw5RBM93BIb0ExbLoIa","Dg9WlwXLzNq","DMLLD3bVCNqT","Aw1Hz2uVkG","y29UDgvUDgvKAxrHyMXL","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","ihrVia","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","DY1MDwXSigGTzNvSBa","y3LHBG","C3vIBwL0","5zcr5yMnidmG6Ag1","Dg91y2HZDgfYDc56B29T","q29UDhjVBcbqyw5LBa","DxnLu3LUy0v4DgvYBMfSu3rVCMu","zg9Uzq","lteWic0XmcaYmcaYma","BwvYz2u","zw1WDhK","BwvTBW","CMzFx3DYyxbWzxi","D2HLzwWUEM9VBq","DxnLrwzMzwn0","Dg91y2HLCW","zgfZAc1KB3q","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","EwvSBg93","CMvHza","C3LTyM9S","Dw5PDa","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","D2fYBG","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","C2v0rhjHz0LTywDL","yxr0CI4","mdeY","55s75BIdia","6iom5PMV6iMY","6ycj5OUP5BM05lU9","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","y2XLyxjjBNrLCNzHBa","AgfZvMfSDwu","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","DxnLCLnLBgvJDgLVBLjLy3q","5y+V5OUw5OU9","6k+35AgR5yAz5OMN6kgm5lUJ56cb","57Ut5P2F5zgO","C2v0rgf0yq","CMv0DxjUigzHBhnLoW","zxHLyW","mta4ma","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","ENvZDgfUza","zNvSBa","Dg9qCMLTAxrPDMu","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","y29Z","5lUo57Ue5lIT56E76zMK","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","yMfJA2DYB3vUza","y2XHC3nmAxn0","y29TBw9Utg9JywXL","zgvMAw5LuhjVCgvYDgLLCW","ywn0Aw9UCW","igrVzxmGBM90igv4Axn0lG","Aw5PDgLHBfrLyxjKB3DU","y29UBMvJDgLVBLjHzgL1CW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","zwrNzuXVB2T1Ca","kow9K+wjJsK","yxv0B1bHBK9UtM9KzuzVy3vZ","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","ChjLCgfYzuv2zw50qxjNCW","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","BNvTyMvY","5PU05O2I54MP5PAz","B25dB25Uzwn0u3rHCNq","CMvHy3qTzMXVD19FzwrNzs10zxH0","5BgE5OcN6z2I5P2/","BM9KzvG","5PAh5lU25Qc85BYp6zsz6k+V","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","5A+85ywLiePtt04","CMv0DxjUihrYDwu7","zgvJAw1HBhm","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","Dg9izxHtDhjPBMC","u3rYywLNAhrfzgDL","CMvXDwvZDefUAw1HDgLVBKzYyw1L","6BUy6k6K5yc877Yi5Ash55sO77Yj","y2fUy2vSq29UBMvJDgLVBG","5O+q56s65yAf5A65","q2fUDMfZ","CMvWzwf0kdGSidfMCIK","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","rg90CW","5BYa5AEl5zgO","zwrNzxm","CMvTB3zLqxr0CMLIDxrL","ChjPBwfYEq","B3v0Chv0CW","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","zwzMzwn0qwXSB3DLza","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","ChjVCgvYDhK","6kEJ6zMK57Ue5zci","u21VB3rOu3rLCa","5zcr5zcoiduG6Ag1","5lIk5lYG6zsz6k+V","z2v0u25HChnOB3q","AxnfzgL0Aw5NrxzLBNrgBg93","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","ios4QUIkGUEcUq","y29UDhjVBerPCMvJDgLVBG","B2jZzxj2zq","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","AxnszxnPEMfIBgu","C2vSzwn0Aw9U","CgfYyw1Zq29Kzq","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","i2q5zdLKoq","ChjVDg90ExbL","B25dB25Uzwn0rw5K","zgjSy2XPy2SUEM9VBq","qM90Dg9T","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","y3vYC29YlxbVAw50zxiGBwiTma","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTyMv0D2vLBIbWEc00ihb5lti","y2XPzw50vg9W","zM9YBwf0sgv4","y2fUDMfZxW","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","zNjVBuHHBMrSzq","yMLUza","5zcn56EW5lIn6io95lI656M6","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","ywjZB2X1Dgu","B25nB3zLu3rHCNq","6BYG5Qch5OYj5lIl","zgf0yxnLDa","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","55s75BId5A+85ywL5OIq5yQF77Yb","ltuSltqGmcWWic01ldq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","C3rHCNrxAwr0Aa","i2zHywqXna","C2fTCgXL","qxjYB3Dmzwz0","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","Dg91y2HHyMXL","5A+85ywL57Ue5Ocb5PA55Qgi","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","Bw91C2vKB3DUlMrYywC","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","y3jLyxrLrwXLBwvUDa","AxntzwXLy3rHyMXL","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","C2v0ug9PBNrLCKnHChr1CMu","y2fUy2vSywjSzq","57Ue5Ocb57Yw6l6r5zMO","5BEY5RE75yQG","u1fsvdi","CMv2zxjZzq","DxjSkcCJ","rxHWzxjPBwvUDe91DgXPBMvK","C2v0vgLTzw91Da","z2v0qxr0CMLIDxrLtLm","Dg9ju09tDhjPBMC","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","vgfN","y3vZDg9T","vxbtCxvHCMvpDxrSAw5Lza","zMLSzq","CMvHzefZvgv4Da","C3bHBG","x2DYB3vWCW","rwrPDe91DgXPBMvK","6Ake6kEi5QIH5BYp","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","Bw91C2vpDMvY","i2iXyJfInW","x25Vzgu","iZHJogm4yW","Bwf4","u2v0DgLUz091DgXPBMvK","nJq1mJG1Eg92v1nT","Aw5PDgLHBfDPzhrO","DxnLCLnLBgvJDgLVBKfJDgL2zq","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","z2v0rgf0yq","BgvUz3rO","Aw5ZDgfUy2u","zMLSzxm","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","5PYQ55+L5yAf572U5yQO5l2CoIa","tM9KzsbVBKnSAwnRoG","yxbWBhK","mZm5nJyXn0zNuwfAuW","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","wM9VBsbjBG","C3rHCNrZv2L0Aa","AxnAB29TAw5Nt3jqyw5UAw5N","tM8GDgLTzw91DcbWCM92AwrLzc4","54Q25Ocb5PwWoIa","yxjPyuXHyMvSq29UzMLN","Axnqyw5ty3jVBgXPBMC","DhjPBq","zMXLEc0Xig1PBI13lta","y2XPy2SUzhjHzW","6k+35Rgc5Qch6k+g","yxjPyuXHyMvS","Dgv4Dc1NCMf5ltGWma","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","BM9KzurYywDuAhjLC2HVBgq","zxH0zxjUywXiyw5KBgvYs2v5","ru1qvfK","yMCTz3jHEs0Ymda","6ycj5OUP54MP5PAz","6l6t5ywL6iQc54k55zcn56EW","6zw/54k5lEEFREEcUEs6PoABVW","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","q29WEu91DgXPBMvK","uMLNAhq","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","EMHFq04","5BEM5A+56B2q","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","x190CMfUC2L0Aw9U","5OM+5lIn5yIW5lQl5lU25z2x","Dhj5CW","BwiTmG","Bw91C2v1Cc56B29T","y2HYB21L","zgvNksa","5Pon5l2C5OIq5yQF","w3jVBgu9iMXPC3rIB3GIxq","BgfIzwXcz1bHzgrPBMC","6ycj5OUP5PEL5PYF","CM91BMq","BNCTCMvZAxPL","Dw5KzwzPBMvK","zgvMyxvSDa","lM1HDgvYAwfSlxbYzxzPzxC","BgLMDa","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","BM9KzvK","5PEG54Q25Ocb","y29UDgfPBMvY","DhjHBNnSyxrLwa","5PAh5PYS5Qch562+","Aw50zxjUywW","5AAc77YA55s15PY65Rwl54k56zUg","zgf0ys1Pza","lI4U","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","5zcm57QN5ywZ57o757Ue","zNjVBNq","5Bgv5BYa6kgm","572U5lQo6Ag25Bgc","C2nYB2XSvg8","DxnLrM9YBq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","u21VB3rOu3rLCevKz2u","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","C2nHBgvuBW","ywn0AxzLu2LIBgLUz0DYB3vWswq","55s75BId6ywn572U","C2v0tM9Kzxm","6ycj5OUP57Ur5A6A5yc8","DgLTzq","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","y2fSBa","DxjSka","iZCYmMvKmq","yxv0BY1ZDgfYDc1YzxzLCNnL","5lQm57U056cb6l+h5PYF","6k+35AgR5yAz6k+35Rgc5Qch6k+g","zgv2AwnL","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","6ycj5OUP5PE26zE0","Bwf0zxjPywXZ","zMLUzeLUzgv4","y2XVBMvfBgvTzw50","zM9YD2fYzfjLzG","B25fzgDLC0rLBgv0zq","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","ioADOEwfPEI+UsdIHPdJGiW","uhjVDMLKzxi","CMvHy3qTzg9T","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","yNvPBhrPBG","B2zMC2v0sgvPz2H0","5RE75yQG5lQl5lU25z2x","C3rHDgu","zgLZCgXHEwfIBgu","zgf0yvjLCxvLC3rlzxK","57Yw6l6r5lQl5lU25z2x","tufurvjjquXFu1rbvfvtx0niqu5hrq","6k+36ycj5OUP5PYi5lU9","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","zgfZAgvK","qxjYB3DeB3DUt3v0BgLUzwq","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","6k+36ycj5OUP5OMN6kgm5PA55BYp","CgfKzgLUzW","5A2x5l2t5AsN5Bcp","CMvHy3qTzMXVD19FBwfYA2vY","C2vSzwn0zwrtDgf0Dxnjza","rNvSBa","DMfSAwq","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","6ycj5OUP5PwW5O2U5A2x5Q61","BgLZDgvUzxi","zg90","yMLUze5Vzgvjza","wvLzwEw5Ta","tM9Kzsb3AxrOigLKici","Aw5KzxG","sg9YAxPVBNrHBa","CMvJEwnSzufZEw5Jswq","vhLWB2DYyxbOEq","sw5WDxq","Bw91C2vKB3DUlNPVB20","ywzMzwn0C1G","ie0Wia","CMvHy3qTzMXVD19FBwLUAw1HCa","i2zMzMzMzG","ksbZy2fSzvKO","6l+u5zUE5lUk5AsP","yM94lxnLBgvJDa","BwfW","5Bcg6k+L57Ue6k6+5lI65Rs76lEd57Ue77Ym5Asw6yoO57+76Ag1ifvjioAnRUATPowqR+EuQa","5PAW5BU655s75BId","57Ut5P2F5PE26zE0","mI4WlJa","Dw5ZDwjZy3jPyMu","BMv3wa","mxb4ihnVBgLKicnKowq5zdK","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","BgfIzwXgB250u2L6zq","AgLZDg9YEq","BM9YBwfS","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","x19LC01VzhvSzq","tgf5B3v0","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","BM9Kzvf1zxvL","AgfUzgXLCG","CgfUu2nYB2XSvgLTzw91Da","5OUw5OU96lcd5Pw05AsN5Bcp","ugfYzw50ig5VzguG","zgLTzw5ZAw9UCW","x+wjR+ACRa","5yIG6zMK5ywO6yoO","DgfYz2v0","x196B29T","zxH0zw50","57Ur5A6A5A2x5Q61","C3rHCNrz","Cgf0DgvYBG","iwjNlwjSDwuTntaW","5l+D55wz5Bcp5PwW5l2n","B25nB3zLrw5K","tM9KzvjLBMrLCMvY","BwvHC3vYzwq","C2LIBgLUz0DYB3vWCW","6yca5yE65Rwp6kEi","6iom5PMV5zU+54Mh","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","DxnLrwrPDg9Yu3rVCMu","lMrYywC","y2HPBgrYzw4","ioMHUEw/HEMHU+AyR+wVUEIXOq","y29Kzq","tK9erv9eruXfveu","B25oB2rLq29UDgv4De1LBNu","CMvQzwn0","y3vYCMvUDa","C2nHBgvz","zMXLEcbNyxaTna","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","CMvZzxrgAwvSzhm","yM90Dg9TlwXLzNq","i2zMzG","x2LUBMvYu3vIC2nYAwjL","y3jLyxrLq29UDgv4Da","zMXPCfG","5lQK5O2I6lw354k55zkm57Ui54k5","CMvTB3zLqxr0CMLIDxrLtLm","C29SAwq","zg91yMXLq2XPy2S","x196B29TAw5N","qMv6AwvYrwrNzuLUDgvYBMfS","mc4X","AxnjzgvUDgL0Eq","zgvSyxK","BMfTzxnWywnLvvjj","6k+36ycj5OUP5PEL5PYF","5BEY56Ab55sO","zxHLy3v0zuzSB3DoB2rLCW","BwiTna","yMX1zq","5PEG5zU+54Mh","yMX1CG","BwiTmcbTDc00","Aw5PDe1HDgvYAwfSCW","iw1Ylta","5PEl6l2S6kEs5BQM77Yi5BQM77Yj","6zw/5yIs6zE06zQu","BM9KzxngB2n1C2fIBgu","zxHLy3v0Aw9Uugf0Aa","5PAW5BU65lQl5lU25Rwb","C3bSAwnL","C2vSzwn0zwroB2rLswrZ","CgfYzw50rwXLBwvUDa","x3rYEvn1yNnJCMLIzq","idaGvG","BM9KzxndB25Uzwn0ywjSzq","5yAf6igu6isA5PYS","AxnbCNjHEq","B25tzwXLy3rPB25eCMfNu3rVCa","C2uTCMvZAxPL","z3jPza","vgLTzw91DcbOyxmGB2nJDxjYzwq","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","w2rHDgeTBM9Kzs1Pzd0I","zxHWCMvZC2LVBG","yM9YzgvYlwjVEa","56gU6k6K5yIG6zMK6k+L5zcm57QN5ywZ57o757Ue77YF","y29UC3rYDwn0B3i","57Ut5P2F5PYi5lU9","CMDIysGWldaSmcWWkq","tM9Kzsb0ExbLici","zgf0ys1UB2rLAwq","5lQl5lU25Rwb5yIB5BU65OIq5yQF","B25fCNjVCG","CgLWzq","Aw52zxj0wq","5y+n6ycj5B2t6Ag1","BM9KzuvSzw1LBNq","Aw5PDgLHBeHLAwDODa","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","rwrNzsbMCM9Tia","Aw5JBhvKzuHPzgrLBK5VzgvZ","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","y29UDgvUDa","zgvMAw5LuhjVCgvYDhK","Aw52B2TLuNvUDgLTzuHHBMrSzxi","CMvHy3qTzMXVD19Fy29UDgfPBMvY","BgLUzwfYlwDYywrPzw50khrVihjPz2H0lcbYz2jHkdi0mcWYndaSmJqWldaUmdmPidfWEcWGDhjHBNnWyxjLBNqGmxb4ksWGBgLUzwfYlwDYywrPzw50khrVigjVDhrVBsWGCMDIysGYndaSmJqWldi0mcWWlJaZksaXChGSihrYyw5ZCgfYzw50idfWEcK","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltiGBwiTmW","lcb5oIa","BM9VCgvUzxiGBM9YzwzLCNjLCG","u3rYAwn0","q1vtve9n","CMvZB2X2zuzSB3DfDMvUDejSB2nR","DMfSDwvpzG","ChGP","5zYg6kEs55+P5B2I","Dw5YzwDPC3rLCKv2zw50qMXVy2S","mtjWEa","Aw5SAw5Lu2nYAxb0","DgLTzxjjza","AgfUzgXLqM91BMrZ","y29UDgfPBNm","zxjYB3iWmdu","y2vUDgvY","Aw5WDxq","mdaY","572U5lQo5BQv5Bgc","DMLLD3bVCNq","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","Cg9PBNrLCG","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","yM91BMrHCMLLCW","BwfYA2vYu3rHCNq","DMfSDwvdB2XVCG","yw5PBwf0zwq","zxjYB3iWmdG","y2XPzw50sgvPz2H0","Cc02","zgvSDgfy","CMvHy3qTzMXVD19FyxjYB3DOzwfK","C2nOzwr1Bgu","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","54Q25Ocb5yIx6kgO","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","C2nOzwr1BgvY","rgvSzxrLt3v0BgLUzwq","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","CMzjza","CMvUyw1L","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","5lIl6l295PAh5lU2","rML0ifzPzxC","6k+36ycj5OUP5PE26zE0","xNjNyMfCka","C3rYB25N","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","DMfSDwvgB250v2vPz2H0","CMvXDwvZDefZEw5Jswq","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","Bg9JywW","zgf0yvrYyw5ZzMvY","lwnHBNzHCY0","6BUy6k6K6Ag555UU","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Aw5MBW","z2v0qxr0CMLIDxrL","x3rOCM93swzdBg9Zzwq","CMvTB3zLuhjVCgvYDhK","t1busu9o","BgfIzwW","BgfIzwXgB250v2vPz2H0","DgvZDa","Bwf4wa","5BYa5AEl5PE26zE0","C2nHBgvfEhrLBNq","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","yxjPyuXPDMvnzxnZywDL","uMvHy3q","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","y292zxi","Cg9SEwXPBMu","tw92zwqGC2vSzwn0zwqGBM9Kzsa","BgLUzxm","5Asn5yI26iQc54k5","5lIk5lIa6Ag1","zwrNzxnszwnVBM5Ly3rHyMXL","B25ezwXLDgu","yM9YzgvYuMfKAxvZ","BM9Kzuv2zw50qMLUzgLUz3m","CMvSzwfZzvbVAw50zxjdyxb0DxjL","DgfWCW","z2v0sw5PDgLHBfn0yxrL","CgfUwM9VBq","y3vYCMvUDenHBNzHC0LK","DgHLBG","yM90Dg9T","C2nHBgu","wM9VBu91De91DgXPBMvK","CMvSyxrPDMu","5PwW57UeicG","BgfIzwXcz1n0EwXL","B25SB2fK","Bw92zq","C2v0vgLTzq","AxneCMfNz2fIBgu","rNjLzq","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","tgLUzxm","5y+V54k55yE7","lte0ChG","z2v0q29TChv0zwrtDhLSzq","zgvZyW","AxnwywXPza","6iom5PMV6AkC6iMY","Dg9gAxHLza","B25fzgDLC0nOyw5Nzq","zxzLBM9Kza","uMvHy3rAB29TugfUugLUy2G","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","C2v0uhjVCgvYDhK","y2f0y2G","sw5WDxroDw1Izxi","57Ur5A6A5PwW5O2U6zUg","BM9KzuXVB2T1Ca","D29YAW","Aw5ZDa","iZuYyZqXyq","C2v0","zM9JDxnHyMXL","x2v4zwn1Dgu","D2L0Aa","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","CMvHy3qTzMXVDW","EhKTzwrNzv9F","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","ywrK","C3LUy1zPzxDWB3j0","y2HLy2TwAxnPyMLSAxr5","AxndB250zw50rwrPDgfIBgu","yxv0B1bHBK9UtM9KzurYywC","y2HHBMDL","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","lIbozxCGCg9ZAxrPB24SihG6ia","54k55yE75y2h5BQp","CM9VDa","i2vImMy5nG","BMf2AwDHDgLVBLn0ywnR","EKLUzgv4","y29UDgvUDeLUzM8","yM9VBgvHBG","z3jVDxa","y2fSBgjHy2S","CMvHy3qTzMXVD19FzwrNzs1WyxrO","yNvPBhrPBKLK","57ky6ls0iePtt04G5yAf5A65lI4U","i2zMngq0zG","zgLZDgfUy2u","5Qch6k+g5lIn6io95lI656M6","yNv0Dg9U","ufjpuevsvfLFq0HbtKDf","y3vYCMvUDe9IC2vYDMvYCW","CMDIysG","5Rc05BMZ57+76l2S","BMv4DfnPyMXPBMC","y29Uy2f0","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","zwXLBwvUDhntzwXLy3rHyMXL","mda1","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","zw5KlNjLBw92zq","q2XHC3mGzxH0zw5KCYb2ywX1zsa","44cn77YA5lIk5RI4","C291CMnL","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","yxv0B1bHBLnWzwvK","6ycj5OUP5zgO","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","5y+V6lcd5Pw05AsN5Bcp","CMvHy3qTzMXVD19Fy29UDhjVBhm","ltzWEa","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","BwLU","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","yMfZzvzHBa","5A+85yE65B2t5yMn55s75BId","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","DxnLuMvM","z2v0sw5ZDgfUy2u","w1jLywn0iezSB3DDoIa","AhLWB3q","ChjLDLzPzxDWB3j0","zMXLEc0X","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","C2vSzwn0","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","BMuTCMvZAxPL","BM9Kzuv4DgvUDa","DgHYB3DUrxjYB3i","C2TLD1GO","iZaWmtKZqW","6ycj5OUP5QIH5BYp","C291CMnLswq","5Qch562+5Qc35BYp","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","Bg9VC2u","y29UBMvJDgLVBKXVB2T1Ca","57Ut5P2F5BM05lU9","rg93BMXVywrpDxrSAw5Lza","B25gAw5HBgL6zq","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","mxb4ihnVBgLKicnMmgyWzJa","CMvHy3qTzMXVD19FCgfUzq","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","Bw0VCW","B3bLCMf0B3i","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","ChjLDMvUDerLzMf1Bhq","CMDIysGYncWXndqSmJu1ldaUmdGP","vevyvefsrue","DxbKyxrLtM9Kzq","Bw91C2v1Ca","zMLSDgvY","Bwf0y2HnzwrPyq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","q2XVC2vpDxrSAw5Lza","ANvTCfrVq2fUDMfZ","BM9KCMfN","zg9JDw1LBNq","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","Dg9iyw5KBgu","zMLUywXPEMu","iZCZzdeZza","nZe3ody1quPjBeT2","tgLUzq","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","CMvWBgfJzq","mNb4igrHC2HLzcb0CMfUC3bHCMvUDa","BgfIzwXtDhLSzq","zMfJDg9Y","6k+36ycj5OUP5BM05lU9","Cg9ZAxrPB24","6yca5yE66k+L57Ue55Qe5Rwp6kEi5QIH5BYp77Yi5Asw6yoO57+76Ag1ifvjiowWHUEMGEEuQo+8Iq","C291CMnLsgfUzgXL","vxbSB2fKt3v0BgLUzwq","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","C29YDa","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","qxjYB3DdBg9Zzwq","y29UC29SAwrHDgu","A2v5","twfYA2vYihr5CguGiG","qwXPz25mzwz0t3v0BgLUzwq","6k+36ycj5OUP6iQc54k5","yM91BMreyxrHC2v0qMLUzfzHBhvL","6lw354k5ifG","zhvYyxrPB24","Dg91y2HLBMq","C2XPy2u","tgLZDa","5OMN6kgm5PA55BYp","tw96vxnLCLnLBgvJDa","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","C3fYDa","zxH0zxjUywXfDMvUDeTLEq","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","q29SBgfWC2u","zNv0DxjL","yxjNCY5WCMv2","BMfTzq","CMvHy3qVANn4lxj1BNrPBwu","DY04igGTmc41igjNlwDYyxKTndaW","zMLYC3rdAgLSza","Dg9tDhjPBMDuywC","AxngAw5PDgu","y2fUDMfZswrZ","x+wKJEwiTG","yxjNCY5WCMv2ma","z2v0uhjVCgvYDhLwywX1zq","zxjYB3iWmdy","zgf0yvjLCxvLC3q","yMfJA2DYB3vUzeLTywDL","5RE75yQG54Q25Ocb","qxjYB3C","B2jQzwn0","vg9VBhrPCa","5RE75yQG5lQl5lU25Rwb","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","lwzSB3DFx25Vzgu","DxnLu3rHDgu","ANn4CW","C291CMnLug9ZAxrPB24","mtm1mtaXmKfuuuf1CW","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","5y+Z6zsU6i+C5y2v","C2v0u2nHBgvfEhrLBNq","5P2Hl+MHTq","y29TCg9ZzwrqyxrO","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","y2HLy2TLza","CgfNzvG","ChjVzhvJDgLVBG","tufyx1zbtfvf","C3bSAxq","zMLYC3q","BgfIzwXdB2XVCG","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","zwXLBwvUDezYB21qB2LUDa","y3jPC3bfzgDLCW","CgfYDgLHBe9IC2vYDMvY","Dw5IAw5KqwXSrM9YtM9Kzq","DxbKyxrL","ywXS","C3vIC2nYAxb0Aw9UCW","y29UDhjVBeLUzM8","zwrNzxngB2n1C2fIBgu","C2fTCgXLsNnVBG","AgfZt3DUuhjVCgvYDhK","tgvMDe91DgXPBMvK","6BYG5Qch56E75yE6","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","jhbYzxyU","6k6+5lI65Rs76lEd57Ue","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","Cg93","Bw91C2vTB3zL","mJi5odC2mMn0sgnZEa","C3rYAw5NAwz5","Dw5ZAgLMDa","zgvSDgfnB2rL","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zw5KlG","CMvTB3zL","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","qMv6AwvYrwrNzq","y29UDhjVBa","AgfUzgXL","CMvZDwX0","wM9VBsbpDxq","y2vUDgvYignLBNrLCG","x19VBG","BgvMDa","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","BMf0AxzLrxzLBNq","5PQc5PEG5lQl5lU25Rwb","CMvM","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","5OUw5OU96lcd5Pw057Ui54k5","Aw52zxj0wa","54Q25OcbicH0ExbLkq","6k+36ycj5OUP6kEM5y+r5PA55BYp","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","u3rYywLNAhrfzgDLsw50zxjUywW","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","ugX1C091DgXPBMvK","57ky6ls0iePtt04G5yAf5A6577YA","vgLTzw91DevYCM9Y","qxjYB3DvCa","Bwf0zxjPywW","C3rHCNry","BwLUwq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","BM9Kzxm","5PwW5O2U6k+35Rgc","xMHZBgfCka","DMLZAwjSzq","zhjVCevMzMvJDa","yM91BMreyxrHC2v0swq","C3LUyW","6lEZ6l2S55s75BId","nZu4nJrMtvLVDwC","tsaYmcaWieWGmcaWidaGmJa","BM9eCMfNq2XHC3noyw1L","yxjNCY5WCMv2mq","6iQc54k5ieLeoIa","DhjHBNnSyxrLkc0","y2fUDMfZzxm","5OUw5OU95PEl6l2S","Cg9PBNrLCKLK","zM9UDfDLAwDODa","ywn0AxzL","AxneCMf3Aw5N","5PwW5O2U6zUg","5PEl6l2S6kEs5BQM","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","C3rLCa","5RIf56M65OMa5PYj","C2v0rMLLBgrZvMfSDwu","x3rPBwu","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","BM9Uzq","qxjYB3DsAwDODa","zMLUza","zxzLBNrgBg93rgf0yq","rgf0ywjHC2vpDxrSAw5Lza","C3rHCNrizwLNAhq","zgvZy3jPChrPB24","5ygh5OoZ57Q/","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","Bg9HzgLUzW","6kEM5y+roIa","A2v5CW","zMXLEc0XigjVCMrLCIbIB3jKzxiTz3jHEs0YmdaGCM91BMrLzcbWlti","yxjPyvjVBgu","AxrLCMf0B3i","qMfJA3nWywnL","5Pw05z2x6l+u5zUE5yc8","BM9KzxntzwXLy3rPB25by3rPDMu","zg9TywLU","Bwv0yq","Dgv4DgfYzwe","6k+36ycj5OUP5zgO","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","ue9tsvrjvKvFsu5gsu5jvfK","B25dBgLJA0nVBM5Ly3rtDgfYDa","iIbYEd0InciVpJWVC3zNpG","Bwf4wq","zw51BwvYywjSzq","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","5lIl5lIa5BM05lUJ","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","x3bHCMvUDhm","mZm0mdC0nfHQB0v5va","Bw9Kzq","m0HHEe92Bq","u3DPDgnO","BMv4Da","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","B3bHy2L0Eq","tgvMDa","mda4","BM9Kzu9YAwDPBG","yxbWzw5Kq2HPBgq","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","DMfSAwrHDgvgAwvSzhm","oJPLEhq6oG","zxjYB3i","zgL2","tK9erv9truXfq1q","B3bZ","C2v0rwrNzxm","yxn5BMnjDgvYyxrVCG","DxnLv2f0y2G","zgvMyxvSDhm","DMfSDwu","57Ut5P2F5A2J5BQM","C2L6zq","zxHLy3v0zq","57Yw6l6roIa","su5qvvq","6k6+5Ash5zU+5Qch","C2v0qxr0CMLIDxrL","DMfSDwvtB3vYy2vdB2rL","mcaWidi1idmY","su1br0u","BwfYz2LU","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","ChGSia","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","BM9qyw5dBgfZC05HBwu","yxnZAwDU","BgLI","57+75yIW5lIk5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","AgLKzuf0DhjPyNv0Aw9U","zgv0ywLS","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","zxHW","D2HLzwXezwX0yq","5BYa5AEl5BM05lU9","57Ui54k5ifG","y2XPzw50wa","zgvSDgfz","AxndBgLJA2fIBgu6","CMvHzefZrgf0yvvsta","DxjSkcm","5Asw6yoO5PA55Rov","ltiWChG","zxjYB3jZ","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","q29UzMLNrwrPDg9Y","zg9JDw1LBNrfBgvTzw50","55s754k557Q/","5BEY5OMR5O+p","iZi2mJyYnG","CMvJB25Uzwn0ywjSzq","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","BgLUAW","C2vSzwn0q2HPBgq","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","zgvZDgLUyxrPB24","zgvSzxrHyMXL","C3vJy2vZCW","C2vUDa","lwzSB3DFx2vKz2u","zgf0Dw0","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","ugfYDgLHBa","C2HVDwXKvw5ZDwjZy3jPyMu","AxnwywXPzenVBM5Ly3rPB24","ndbor2XTChq","6kEM5y+r5PA55BYp","zMX1C2G","z3jHyG","qNv0Dg9U","CMvKDwnL","xhmQkfSRlv0/xgqRkvXZkG","5yAf6l656lED","BwvZC2fNzq","BgfZDeLUzgv4","y3jLyxrLu1zhug9PBNq","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","5yIG6zMK5PAh5lU2","Bw91C2v1Cc5KCMfN","lMPZB24","zgLZywjSzuTLEwjVyxjKqteXEq","Dg9W","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","C291CMnLtgfIzwW","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","DhjHBNnMB3jT","zgLZCgf0y2HfDMvUDa","BgfIzwXtAg93qMC","lM5VA2v5","u2vSzwn0","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","zM9YBwf0sgv4oa","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","BwLUwM9VBq","y29UDgv4De1LBNu","y2HHBMDLzfrVDwnOzxm","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","Dgv4Dc1ZBq","igHHBMrSzsbPzdOGiG","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","C2HPzNrlzxK","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","B25dBgLJAW","vw5NCM91Ce91DgXPBMvK","AwrLBNrPzMLLCG","DMLLD3bVCNrjBML0AwfSAxPLza","zgf0ytPPBwfNzs9ZDMCREg1Sla","AgfZ","y2vPBa","57Ur5A6A5yc8","zw5KC1DPDgG","5zYO562B6ycj6Ag55lIT5PcC57sI","twLUAu1HCa","Bw91C2vz","BgfIzwXcz0jVCMrLCLjHzgL1CW","mde1","zgf0ys4","Aw50zxjUywXZ","55+L6ygt5lQg","yM9YzgvY","AxrLBq","C3rLCfbVC2L0Aw9U","yw4GAw52ywXPzcbVyMPLy3q","jsWG","y2XPy2S","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","zwrPDgLUz0v2zw50uM9VDeLK","zMXLEc0XigGTzNvSBcbIzY1NCMf5lteWma","ntmXu3rlCxnd","zML0vMLLD09WDgLVBNm","AgfZqxr0CMLIDxrL","5B2t5yMn54Q25OcboG","AgfZrxjYB3i","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","CMv0DxjU","C2nHBgvcEq","y29SB3i","zhjHDW","CgfNzvK","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","C2TLD1G","55s75BId5yIx6kgO","iZaWmdaWma","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","DhjHBNnSyxrL","5PI+56s6572r5Qc8","5Asw6yoO5PA55Rov5Qch6k+g","y2vUDgvYwa","q29SDw1Uv2LKDgHpDxrSAw5Lza","yMCTz3jHEs0Xmda","BgLUzq","AgvHza","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","Bwf4vg91y2HqB2LUDhm","BgLUzurYyxDPBMC","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","nNb4idHWEa","zxjYB3iWmdq","yMvMB3jLC3rHCNq","BgLUzvDLAwDODa","rMXVD1jLBMrLCMvY","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","ngvgDMfmta","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","zxHLy3v0B3juExbL","BMv3","Dg91y2GX","B3jPz2LUywXfDMvUDa","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","57Ue5zci6ycj5lIT6iQc54k5","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","yMfZAwm","BM9Kzu5HBwu","CxvLCNLtzwXLy3rVCKfSBa","CMvZDgfYDa","i2y1mJiYza","vgfIBgu","y2XVC2vK","nsW1","rxzLBNqGzMXVDYbLCNjVCJO","zg93BG","Aw5PDev2zw50","AhnSysG","u3rYywLNAhq","zM9UDc1TB25VihrLEhqTC20","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","x2fKzfbHCMvUDa","z2v0rwrNzuLK","rgvSzxrL","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","BwvYz2vsDw50Aw1LsgfUzgXLCNm","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","B2jZzxj2zxjZ","zgvSzxrL","C2fTCgXLiePtt04G5PEG5Pwi","mda5","DhjHBNnPDgLVBG","cIaG","Dg9mB3DLCKnHC2u","Ag9YAxPVBNrHBa","yM90Dg9TlxjPz2H0","uhjVCgvYDhLqyw5LBa","B250B3vJAhn0yxj0","Aw5Uzxjive1m","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","x2v4Axq","5A+g6zUg54k554Q2","5lIk5RI46l+E57Q/oG","rM9YBq","B3jPzw50","x2LK","54MP5PAz5BgE5OcN","yNvIyMXLCW","sxrLBq","yw55","x3n1yNnJCMLIzq","5PAW5BU65PwW5O2U6zUg","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","CMzFx21PBMLTyxa","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","77Ym5AsA5ywL6l6555sOia","y2XPzw50tgvMDa","6ycj5OUP57Ur5A6A5A2x5Q61","zM9Yy2u","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","x3zHBhvL","C2vSzwn0qwXS","yM9Sza","DMLLD0jVEa","zwfJAa","zxzLBNrsB290CW","i2yWzJbMma","6k+35AgR5yAz5zcn56EW","C2vSzwn0zwq","DxnLCK5Vzgu","zwXLDMf0zu5VzgvZt25tzwXLy3q","B3DUzxjeB2n1BwvUDa","DhjHBNnPDgLVBIbUB3qGzM91BMq","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","5yIG6zMK6k+L5PwW5O2U6zUg77YF","x25HBwu","C2v0twLUwM9VBq","6l6t5ywL54Q25Ocb5zcn56EW","DhjPz2DLCK5Vzgu","5zcm57QN5ywZ57o7","rxnJyxbL","5PAh5A2x6AkC6iMY","5PQc5PEG5PwW5O2U","yM91BMreyxrHC2v0qMLUzenVzgu","vg9Nz2XLieLUDgvYywn0AxzPDhK","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","mdeX","zgLZCgXHEu5HBwu","C291CMnLrxzLBNq","5yAf572U5yQO5l2C","Dgv4Dc14CYbTyI0X","y3jLyxrLrgvMyxvSDe5Vzgu","yxv0B1bHBK9Uq29UBMvJDa","C2HPzNq","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","y2XPzw50wq","5A2q6iQc54k5ia","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","q3jVC3m","z2v0u3rHDgu","zw5HyMXLza","qxjYB3DvCe91DgXPBMvK","5Asn5yI25OIq5yQF","BM9KzxneCMfNz2fIBgu","C3rHCNq","C3rHCNroB2rLwa","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","C3rVCfbYB3bHz2f0Aw9U","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","C3DPDgnOq2fUDMfZ","EKLUzgv4tw9Kzq","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","DxnLq2fSBgjHy2S","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","y2XHC3noyw1L","CgfUzurYywDNAw5N","zM9YrwfJAa","DMvYDgLJywW","CMzFx2nVBNrYB2XZ","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","AxnqCMLTyxj5","z2v0vMfSDwvgCM9Tugf0Aa","Dg91y2HTB3zL","C2v0qxr0CMLIDxrLCW","u2HPzNq","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","q3vZDg9TrxzLBNq","zMLSBenVBg9Y","BMfUB2LK","x2fJDgL2zq","z3jLzw4","57+75yIW5lIl5lIa6Ag177Yi5z+65lQo5B2t5yMn55s75BId77Yj","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","Bw91C2vfBNrLCG","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","5PwW5O2U5QIH5OUF","6k+36ycj5OUP5yAf572U5yQO5l2C","CMvHy3qTzMXVD19FBM9Kzq","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","zNvUy3rPB24","x3bHCMvUDgfNzq","twfJ","C3zN","A2v5Dxa","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","AxnjBNrLCM5HBa","zxzLBNruExbL","AgvPz2H0","Bwf4wM9VBq","B25oB2rLrg91yMXLq2XPy2S","C3LZDgvT","6iEQ5A6A5lMj","BwfYA2vY","B25tzwXLy3rPB25eCMfN","yxjYB3DJBg9Zzwq","ChvYCgXL","CMHV","zNjVBq","ChGPihnJywXLka","Dgv4DenVBNrLBNq","x2vUDgvY","AwXSzwDHBcb0ExbLoIa","Aw5Zzxj0qMvMB3jL","rxzLBNrgBg93qMLUzgLUzW","C2HVD0DYAwq","57Ur5A6A54MP5PAz","sxrLCMfIBguGy2fUBM90igjLig51BgW","ANn4","iI8+pc9ZDMC+","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","5zcr5yMniduG6Ag1","BM9YBwfSu3r5Bgu","lNH5zMXVD19FDMLLD3bVCNq","u3DHCe91DgXPBMvK","DhjHBNnSyxrLwcGTntaLkq","z2v0qKjVEa","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","qxjYB3DeB3DU","CgfYC2u","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","CMvJDa","y2XLyxi","5ywO6ycj5B2t6Ag1","twvZC2fNzsdMJ5dNPlO","CMvZAxPLrgLYzwn0Aw9U","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","5yc85P2L5RQq","DgHYB3C","z2v0u2vYDMvYu3rHDgu","zg93BMXVywq","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","C21HBgW","5A2x5Q615PwW","BxqTmsb0zxH0lwfTyMvYltGWma","zw1PDev4DgvYBMfS","5lQl5lU25Rwb57Yw6l6r5zMO","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","C25HCfrVr3jPza","y29UBMvJDgfIBgvLBMq","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","B25qB2LUDgvYrg93BG","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","zxHWyw5Kzwrszwn0","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","twfYA2vYrgvMAw5PDgLVBNm","y2XHC3m","6iQc54k55zcn56EW","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","vgfICW","zxzLBNrcBg9JAW","Aw5JBhvKzxm","5lQl5lU25z2x5BEY5PU05PAW","vhjHBNnMB3jTv3jHChbLCG","6ycj5OUP5PwW5O2U6zUg","Bs9ZWRi","y29UBMvJDgfIBgu","wvLzwq","zxjYB3iWmdi","Bw92zwq","C3r5BgvuD2vLBG","zML0vMLLDW","zM9UDc1TzwrPDw0","C3rHDhvZswq","6l6t5ywL5yc85PAh5PYS","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","y2fUDMfZ","5A2x5l2t57kx57Ug","5PwW5O2U5RgG","y2fUDMfZq29UzMLN","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","Aw5WDxrZ","zgf0yvbVB2W","vw5ZDwjZy3jPChrPB25fCNjVCG","CM90yxrL","Cg9ZAxrPB25byNnVBhv0zq","DhjHBNnSyxrLwq","zNjVBu5Vzgu","6k+36ycj5OUP5BEM5l6N5lIa5lIQ5zcm57QN5ywZ57o757Ue","AxntzwXLy3rLza","CM90yxrLka","uhjVBwLZzq","u3bHy2u","DhjHBNnSyxrLqNK","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","twv0yq","Bwf0CML4vhjHBNnMB3jT","y2XPzw50v2LKDgG","C3r5BguU","C2v0vhjHBNnSyxrLrxH0zw50","zxjYB3iWmde","5lIl5A+56B2q","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","ufjfu0vovevex0LnquDfx1njtvbmrq","C3bHy2uTEs0Z","EfnUyxbWzwq","rNjHz21LBNq","iIbYEd0ImJaIlZ48l3n2zZ4","y3vYDMf0DxjL","Dgv4Dc14CW","C2vSzwn0zwroB2rLswq","DxnLCLnWywnLt25vC2u","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","lwzSB3DFx2HHBMrSzq","C3rYB2TLv2LKDgG","Aw52ywXPzcbJywXSyMfJAZOG","r3jVDxbpDxrSAw5Lza","C3r5Bgu","y3vYC29YlwnYB3nZAgfPCG","zw1PDa","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","yMLUze5VzgvfDMvUDa","zxzLBNrcBg9JA0LK","C2v0vhjHBNnMB3jT","iZe4otbMzG","6BYG5Qch56E75ywL","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","55UU5Qch55s75BId","yxnpyNnLCNzHyMXL","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","5Rc05BMZ5yIg5BId","CMzFx25VzguT","rw1WDhK","zMXVD0rHDge","Aw1Tzxi","zgvNkq","z2v0uMvHzgvY","C29Tzq","5A+85ywL5OIq5yQF77Yb","rwrNzsb0ExbLici","5yIG6zMK6ycj5lITicHezwXLDguP","6ycj5OUP5PAW54MP5PAz","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","6l6t5ywL5Qch562+5PAh5PYS","CMvZAxPPBMC","BM9Kzq","5PYQ55+L55s75BId","y2HLy2TfCxvHBgL0Eq","zxzLBNrcBg9JA3m","u3rLCa","vevyva","BgLUzs1KCMf3","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","DMfSDwvgB250u2L6zq","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","qMfJA2DYB3vUza","Dg91y2HLBMqUEM9VBsb0B3vJAgnHBMnLBc56B29T","C2vSzwn0zwrfzgDLCW","D2fYBMLUzW","BgLUzvr5Cgu","DY1MDwXSigP1C3rPzNKTzw5K","vMvYDgLJywW","5Qgg6ycj5QIH5BYp","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","Dg9qB3nPDgLVBG","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","CxvLCNLtzwXLy3rVCG","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","ChjLDG","DgL0Bgu","vgv4DefYzwe","CMvHy3q","DgHPy2TUzxnZ","zwXLDMf0zuvKz2vZt25tzwXLy3q","zhjHz2DHyMXL","AxntDg9WCgvK","B25oB2rLtw91C2vfBNrLCG","zMXPCfK","ywjZ","u2LTCgXLqMv6AwvY","Dg91y2GW","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","CMvHy3qTzMXVD19FAgfUzgXL","y3vYCMvUDfn0yxr1C0LK","C2LIBgLUz3m","zgvZDhjVEq","r3jHCgHwAwv3","C2vSzwn0ywjSzq","twf0zxjPywXqyw5LBa","6k+35Rgc5PwW5O2U","zgv2zwXVCg1LBNq","rwrNzvrLEhq","zgf0yq","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","6k+35ywi57Ur5A6A5PwW5O2U6zUg","yNvPBhrPBKnVBMzPzW","zgvMyxvSDevKz2vpChrPB25Z","C25HCeDYAwq","57Ui54k5ifK","DgfYz2v0ug9ZAxrPB24","C3rYAwn0","ugfUzwW","y29UBMvJDgLVBG","B2jZzxj2ywjSzq","55s75BId5A+85yE65OIq5yQF77Yb","B3bLBG","Aw52zxj0","zg9Tqxr0CMLIDxrLCW","mcaWidmYidmY","BwLUwa","x2zPBMfSAxPLCNm","54k55yE75yI35PAW","5lIk5lIa5BM05lUJ","y3jLyxrL","xcKK","kgrHDgePid0+igjVB2XLyw4","mtaWjq","5BYa5AEl5A2J5BQM","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","y29UBMvJDgLVBK1Vzgu","6ycj5OUP5PYi5lU9","DxnLtwvTBW","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","zgLZywjSzwq","BgLUzwfY","DgfWrgLZDgfUy2u","ioMHUsK","DgfYz2v0q2fUDMfZswq","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","57Ut5P2F5A+86kEi","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","6k+36ycj5OUP5A2J5BQM","BgLNAhq","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","BwWTmG","DhDLzw4","vxbSB2fK","C2nHBguO","Dg91y2HTB3zLlNPVB20","zxzLBNrgBg93","zgf0ytPPBwfNzs9ZDMCREg1S","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","y2LYy2XL","xNjNyLWO","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","zM9UDc1Zzw1PyM9Szcb0zxH0lwDYyxKTnZaW","qwXPz25sAwDODe91DgXPBMvK","y29UC3rYywLU","z2fTBwe","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","y2HLy2TIB3G","B25czwzVCMvezwXLDgu","DgLTzxi","tw9KDwXL","y2XPy2TeAxn0yw5Jzq","zw50CMLLCW","6k+35AgR5yAz5O+q56s65yAf5A65","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","Bw91C2vKB3DU","ChGS","AwnVBG","CgvUzgLUzW","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","5ywO6ycj5OMa5PYj","DxnLtgf5B3v0rwzMzwn0","mtjWEcaW","DxjSkcnNCMLKkq","Cg9PBNrLCLG","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","y3vYCMvUDfrHCMDLDa","5y+V6ycj5lIT","BM9KzuLK","y3jLyxrLrwXLBwvUDe5t","5PAW5lQl5lU25z2x","B2jQzwn0ihvUC3vIC2nYAwjLza","zMXLEc1ZDgfYDa","B25ZzwXLy3rZDgfYDa","zgvMyxvSDevKz2vZ","B3jPz2LU","x2vYCM9Y","z2v0vMLLD3bVCNq","y3vYC29YlwDYywi","Dw5VyNnLCNzL","CMzFx2jHy2TNCM91BMq","BxqTna","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","CgfYyw1ZtMfTzq","C3rHy2S","CMvHy3qTzMXVD19FzwrNzq","5lIl5lIa6Ag1","CMvHy3qTzMXVD19FyxjPys1SAxzL","C2vSzwn0q2HPBgrYzw4","DgHHDa","yxrHBJi","CMvTB3zLq2HPBgq","77Yi5y+V6ycj77Yj","mdeZ","B25tzwXLy3rPB25eCMfNu3rHCNq","576K57Ue6iQc54k5","57Q/5P2H57Uy5yI2","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","DhjHBNnMB3jTu3rHDgu","Aw1N","ltuSltqGmcWWic01ldqGltuSltq","CMvTB3zLrxzLBNrmAxn0zw5LCG","zwrNzuLUzgv4","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","BM93AgvLBa","54MP5PAz5BQt","B3DUzxjtvKDfBgvTzw50","w2rHDgeTAgfUzgXLpsjLBMqIxq","Bg9N","Dg91y2G","wM9VBuLUt3v0BgLUzwq","EM9VBq","zw5Kwa","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","Bw91C2vmzwf2zq","y3rYBeTLEq","C3bHy2u","54k55yE76zMn5BQp","C3zNigXPBMu","y29UDgv4Dg1LBNu","rwrNzvjLBMrLCMvY","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","zM9UDfnPEMu","lMfUDc1ZzwXLy3qTzhjVCgrVD24","C2vSzwn0tM9KzxnpBKrYywC","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","AhjLzG","yw50za","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","6ycj5OUP5yw35l2t5yAf572U6io95yQB","ksb0CMfUC2XHDguO","ANn4uNvUDgLTzq","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","yxbWBgLJyxrPB24VANnVBG","BM93","teLorq","C2LU","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","6lEZ6l2SoIa","C3rYAw5N","Cg9W","ios4JEwTMowCQa","ug9Wy29UzMLYBq","B2zMC2v0","D2LKDgG","6iEQ5A6A5lMj57Ue5lU2","zg90CW","yxjYB3C","zgLZy29UBMvJDa","ChjVzhvJzq","C2vJB25Kyxj5","Eg1SBNm","x3jLBw92zvbHCMvUDa","6ycj5OUP5BM05lUJ","y2XVC2vZDa","q29UC3vTzxi","C3rVCa","DhjHBNnSyxrLrxH0zw50","6iQc54k55PwWoIa","q29UDhjVBa","BxqTncbMBgv4igP1C3rPzNKTzw5K","Bw91C2u","B25oB2rLrhjHz1n0yxj0","zxHLy3v0zuv2zw50rMXVDW","CMvUzgvY","C3rHCNroB2rLwq","Aw52ywXPza","z2v0uhjVDg90ExbLt2y","zhjHz3n0yxj0lMrYywC","x+EkTUAaGq","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","CNvUDgLTzuHHBMrSzxjZ","qgfUDc1KzxnPz24VAwnVBNm","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","yMfZzwXPBMu","zw5KlNn0EwXLlG","DxnLrgvIDwDwywX1zq","CgfYzw50tM9Kzq","C3vIC2nYAwjL","Aw1Hz2uV","yMfJAW","Ac1MDwXS","5yc85PAh5PYS","y2fUy2vS","x2nHBgW","5lQl5lU25Rwb","i2zHogmXnG","B25oB2rLrhjHz1n0B3a","t3b0Aw9U","mNb4ihnVBgLKicmXodKWzMy","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","C2v0vMLLD3bVCNq","ChvZAa","Bw91C2vvCa","zgvIDwC","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","Bgv2zwW","57Ue5yAf55s75BId77Yi5OYj6Ag65BQp57+76Ag177Yj","cIaGicaGicaG","x19UzxDFxW","tw9KywW","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","C2v0u3rHDgu","AgLKzgvU","DxnLCKfNzw50","DxnLq29UDgv4Da","ChjLDMLLDW","CMvZzxq","C2v0uhjVDg90ExbLt2y","5z+656ga5B2I54Q2","lNjLywn0lwzSB3C","cIaGicaGicaGica","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","Axnoyu4","BM9Kzvr5Cgu","C3rHCNrbBMDSzq","x25LEhq","6k+36ycj5OUP55UU5Qch55s75BId","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","zgvMyxvSDe5VzgvZ","zML0vMLLD1jLC29SDMvY","CMLNAhq","zw5Kug9PBNq","Bw91C2vy","BwLUAw1HCc5HCMLHtgfIzwW","5yc85Qc35BYp","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","B2zMC2v0v2LKDgG","BgLZDa","yxv0BW","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","x2nVBxbSzxrL","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","CMv0DxjUig51BgW7","qebPDgvYyxrVCG","x19WCM90B19F","5y+c5PwW5zcn77Ym5AAciee","A2vLCefZCgvJDfjHDgLV","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","5lIk5lYG5zU+54Mh","mdeW","5PQc5PEG54MP5PAz","mdaX","yMfJA2DYB3vUzenVBg9Y","x19KyxrHx18","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","CMvZAxPL","5OMN6kgm6kgO6l6+5BYp","rw50zxi","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","B25oB2rLq2XPy2S","z2v0qM91BMrPBMDdBgLLBNrszwn0","B25oB2rLtw91C2vnB3zL","55s75BId5A+85yE65AsX6lsL","5A+85ywL55s75BId","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","y29WEq","x2HHC1bHCMvUDa","5BEY5zcV55sO","Aw5qCM9NCMvZCW","CM9VDfbHCMvUDeLUzgv4","x25HBwvZ","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","C3rHDhvZtgLZDa","zwfZzq","Aw50zxjYDxb0","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","CgHHBNrVBq","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","54Q25Ocb5zcn56EW","ywzMzwn0C1K","zwrPDa","zgfYAW","y29TCgXLDgu","Bwf0y2HLCW","zxzLBNq","u0vmrunu","zMXLEcbMBgv4lwnVBa","DhjHBNnSyxrLka","D2HLzwW","Cgf0Aa","5lQl5lU25Rwb57Ur5A6A","C2nHBgvyka","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","CgfZDa","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","BM9Wyw4","Cgf0Ae9WDgLVBNm","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","C2nHBgvy","y3jLyxrLrxzLBNq","z2v0","DMfSDwvtDhLSzq","DMLLDW","qebVyNnLCNzHyMXL","zxzLCNK","B25dBgLJA0nVBM5Ly3rfBMq","rgL2AwrLCG","B3jKzxi","yxjNCW","CMDI","Ag92zxi6yMCTz3jHEs0Xmda","C3vWChjLC3nLza","BwfUDwfS","ywjZB2X1DguGDg9WltaGBgvMDc0W","C2vSzwn0C3rHCNqUzhjHzW","zgvMCW","sgfUzgXL","Aw5KzxHpzG","6BYG5Qch6l+B5ywL","57Ue5yAf6l+y5RkH5PYj55s75BId77Ym5lUo5lIk5PA56ycj5OUP5yQG5ywL","AM9PBG","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","zxjYB3iWmdm","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","Bw9KztO","C3bHy2uTEs00","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","imk3ia","tKvhqvrjvKvFsu5gsu5jvfK","ywrKrxzLBNrmAxn0zw5LCG","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaWia","oMzVy3vZlxzPC2LIBgu","zxHWB3j0CW","5PAh5PYS5yAf5A65","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","Bw91C2veB3DU","ChGG","AgfUzgXLCW","B25dB25Uzwn0","CMvSyxrPDMuG","5PYQ6ywn572U55UU5Qch55s75BIdieLe","B25oB2rLtw91C2vmzwf2zq","y29UDgfPBG","CgfYzw50swq","Ac1MDwXSigzSzxGGzMXLEc1JB2W","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","y29YBMvY","DhjHBNnWyxjLBNq","DhLWzq","CMvNAxn0zxjfDMvUDejSB2nR","lNn2zW","ChjVBwLZzq","5OUw5OU96lcd5Pw06lw354k5","zgLYzwn0Aw9U","Dgv4Da","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","A2v5zg93BG","q29UBMvJDgLVBKXPBMu","zw5HyMXLrxzLBNrgBg93","CgfYzw50","DgfYz2v0sgfUzgXL","zxH0zxjUywW","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","Dg91y2HZDgfYDa","BwiTma","rhjHz091DgXPBMvK","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","B25oB2rLC0nOyw5Nzq","y2XVC2vKlq","md3MSltLUBpLKjhLJ7pVViW5md3LNOlNM7tLKjhKUiVVViZKU4xNLkJKUO7MOlNMJA7OTBFNGRNLKOZPLB/LUQBPH43MLRdORQhNRPFNU4JNGRK","zxHWyw5KugfYzw50","y29UzMLN","y29UBMvJDe9Uq2XPy2S","zMXVB3i","Aw50zxjWB2XHDgu","5Asw6yoO5lQl5lU25Qch6k+g","zhjHz2DPBMC","zw5K","Bwf0CML4","zgvMyxvSDfzPzxC","zw5Kwq","yMCTD2HPDgu","x3bHCMvUDa","CMvHy3qTzMXVD19FCMvUzgvYzxi","zMLSBgvK","C3jJ","5lIk5lYGifnwrW","CMvZB2X2zq","y2XVBMvoB2rL","x19UB3nLBgvJDa","6BUy6k6K54Q25Ocb","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG"];return _0x5257=function(){return Se},_0x5257()}const s=_0x5590;var mn=document[s(2142)](s(1476));mn.textContent=`.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
2
+ /*$vite$:1*/`,document[s(1191)][s(1032)](mn);function Vn(e){const n=s;return e&&e[n(488)]&&Object.prototype[n(911)][n(414)](e,"default")?e.default:e}var l0={},E0={exports:{}},U0;function qn(){const e=s;return U0||(U0=1,(function(n){const t=e;function o(x){return x&&x[_0x5590(488)]?x:{default:x}}n[t(1896)]=o,n[t(1896)][t(488)]=!0,n[t(1896)][t(384)]=n[t(1896)]})(E0)),E0[e(1896)]}var Wn={},fr;function Cs(){const e=s;if(fr)return Wn;fr=1,Object[e(593)](Wn,e(488),{value:!0}),Wn.default=void 0;const n={items_per_page:e(890),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(678),next_page:e(1650),prev_5:e(1378),next_5:e(2093),prev_3:e(1994),next_3:"向后 3 页",page_size:"页码"};return Wn.default=n,Wn}var Xn={},Kn={},Zn={},Rn={},hr;function Ms(){const e=s;return hr||(hr=1,Object[e(593)](Rn,e(488),{value:!0}),Rn[e(2045)]=void 0,Rn[e(2045)]={yearFormat:e(1425),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Rn}var gr;function Bs(){const e=s;if(gr)return Zn;gr=1,Object[e(593)](Zn,"__esModule",{value:!0}),Zn.default=void 0;var n=Ms();function t(a){"@babel/helpers - typeof";const u=e;return t=u(1347)==typeof Symbol&&u(2012)==typeof Symbol.iterator?function(f){return typeof f}:function(f){const b=u;return f&&b(1347)==typeof Symbol&&f[b(575)]===Symbol&&f!==Symbol[b(2107)]?b(2012):typeof f},t(a)}function o(a,u){const f=e;var b=Object[f(999)](a);if(Object[f(1394)]){var g=Object[f(1394)](a);u&&(g=g[f(815)](function(w){const h=f;return Object[h(1211)](a,w)[h(1015)]})),b[f(1759)].apply(b,g)}return b}function x(a){const u=e;for(var f=1;f<arguments[u(2179)];f++){var b=arguments[f]!=null?arguments[f]:{};f%2?o(Object(b),!0).forEach(function(g){r(a,g,b[g])}):Object[u(823)]?Object[u(2046)](a,Object[u(823)](b)):o(Object(b))[u(1322)](function(g){Object.defineProperty(a,g,Object[u(1211)](b,g))})}return a}function r(a,u,f){const b=e;return u=i(u),u in a?Object[b(593)](a,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):a[u]=f,a}function i(a){var f=c(a,e(1705));return t(f)=="symbol"?f:String(f)}function c(a,u){const f=e;if(f(878)!=t(a)||!a)return a;var b=a[Symbol[f(2038)]];if(b!==void 0){var g=b[f(414)](a,u);if(t(g)!="object")return g;throw new TypeError(f(1757))}return(f(1705)===u?String:Number)(a)}var d=x(x({},n[e(2045)]),{},{locale:e(367),today:"今天",now:"此刻",backToToday:e(472),ok:"确定",timeSelect:e(422),dateSelect:e(380),weekSelect:e(769),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1193),nextMonth:e(2097),monthSelect:e(1580),yearSelect:e(2022),decadeSelect:e(1719),previousYear:e(1033),nextYear:e(1691),previousDecade:e(1571),nextDecade:e(1019),previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:e(459),cellDateFormat:"D",monthBeforeYear:!1});return Zn[e(384)]=d,Zn}var Jn={},br;function yr(){const e=s;if(br)return Jn;br=1,Object[e(593)](Jn,e(488),{value:!0}),Jn[e(384)]=void 0;const n={placeholder:e(643),rangePlaceholder:[e(667),e(477)]};return Jn[e(384)]=n,Jn}var mr;function wr(){const e=s;if(mr)return Kn;mr=1;var n=qn()[e(384)];Object[e(593)](Kn,e(488),{value:!0}),Kn[e(384)]=void 0;var t=n(Bs()),o=n(yr());const x={lang:{placeholder:e(543),yearPlaceholder:e(834),quarterPlaceholder:e(1591),monthPlaceholder:e(442),weekPlaceholder:e(1009),rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:[e(1070),e(800)],rangeMonthPlaceholder:["开始月份",e(576)],rangeQuarterPlaceholder:[e(1576),e(1045)],rangeWeekPlaceholder:[e(2082),e(2030)],...t[e(384)]},timePickerLocale:{...o[e(384)]}};return x.lang.ok="确定",Kn[e(384)]=x,Kn}var vr;function Ds(){const e=s;if(vr)return Xn;vr=1;var n=qn()[e(384)];Object[e(593)](Xn,e(488),{value:!0}),Xn[e(384)]=void 0;var t=n(wr());return Xn[e(384)]=t.default,Xn}var pr;function Ls(){const e=s;if(pr)return l0;pr=1;var n=qn()[e(384)];Object[e(593)](l0,e(488),{value:!0}),l0[e(384)]=void 0;var t=n(Cs()),o=n(Ds()),x=n(wr()),r=n(yr());const i=e(1461),c={locale:"zh-cn",Pagination:t.default,DatePicker:x[e(384)],TimePicker:r[e(384)],Calendar:o[e(384)],global:{placeholder:"请选择",close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:e(1151),emptyText:e(1288),selectAll:e(1391),selectInvert:e(584),selectNone:e(984),selectionAll:e(1623),sortTitle:"排序",expand:e(400),collapse:"关闭行",triggerDesc:e(1681),triggerAsc:e(737),cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:e(1158)},Tour:{Next:"下一步",Previous:"上一步",Finish:e(1589)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(1391),removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:e(499),selectInvert:e(584)},Upload:{uploading:"文件上传中",removeFile:e(1113),uploadError:e(2094),previewFile:"预览文件",downloadFile:e(641)},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(1308),expand:"展开",collapse:"收起"},Form:{optional:e(1656),defaultValidateMessages:{default:e(942),required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:e(1230),invalid:"${label}是一个无效日期"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:e(2035),min:e(1930),max:"${label}最多${max}个字符",range:e(1694)},number:{len:e(1884),min:e(1687),max:e(859),range:e(1017)},array:{len:e(1346),min:"最少${min}个${label}",max:"最多${max}个${label}",range:e(1341)},pattern:{mismatch:e(1815)}}},QRCode:{expired:e(418),refresh:e(1570),scanned:e(1084)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return l0.default=c,l0}var Kx,zr;function Ns(){return zr||(zr=1,Kx=Ls()),Kx}var Ss=Ns();const ks=Vn(Ss),Is=e=>(n,t,o)=>{const x=s;return o.setState=(r,i,...c)=>{const d=_0x5590,a=typeof r=="function"?Nt[d(1715)](r):r;return n(a,i,...c)},e(o[x(1770)],t,o)},Ps=Is;function As(e){return Array[s(565)](e)}function Cr(e){const n=s,t=[];for(const o of Object[n(999)](e)){t.push(o);const x=e[o];if(x!==null&&typeof x===n(878)&&!Array.isArray(x))for(const r of Object.keys(x))t[n(1759)](o+"."+r)}return t}function js(e,n,t){const o=s,x=e[o(2133)];if(As(x)){if(n!=null&&t!=null){const r=x[o(990)](i=>i[n]===t);if(r)return r}return{}}return x}function Mr(e,n,t,o){const x=s,r=js(e,t,o),i={...r};if(n&&typeof n===x(878)&&!Array.isArray(n))return{...i,...n};if(Array[x(565)](n)){const c={...i};for(const d of n){if(!d||typeof d!==x(878))continue;const a=d;a.paramsCode!=null&&(c[String(a[x(2104)])]=a[x(1044)])}return c}return i}const Ys={id:"_",name:"_",sample:{}};function Zx(e,n,t){const o=s,x=e[o(965)]!=null?String(e[o(965)]).trim():"",r=x?t.find(c=>c.id===x):void 0,i=r??Ys;try{const c=Mr(i,n,e[o(1289)],e[o(848)]);return new Function("data",e.expression)(c)===!0}catch(c){return console[o(2015)](o(1667)+e[o(863)]+"]:",c),!1}}function Br(e,n,t){for(const o of e)if(Zx(o,n,t))return o}function Dr(e,n){const t=s;for(const o of e){for(const x of o[t(742)][t(1833)])x.boundDatasetId===n&&(x[t(965)]=null,x[t(1289)]=null,x.boundDatasetBindValue=null);o[t(1912)]===t(744)&&o.children?.[t(2179)]&&Dr(o[t(517)],n)}}function Rx(e){const n=s;for(const t of e){for(const o of t[n(742)].statusList)delete o[n(1978)];t[n(1912)]===n(744)&&t[n(517)]?.length&&Rx(t[n(517)])}}const Jx=(e,n)=>({id:e||Le[s(1335)](),name:n||"画布 1",nodes:[],canvasConfig:{width:1920,height:1080,background:s(793),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Es=()=>{const e=s,n=Jx();return{id:Le.nanoid(),name:e(655),canvases:[n],currentCanvasId:n.id,siblingGroups:[],activeSiblingGroupId:null,navigationStack:[]}},Lr=Es(),nn=Lr.canvases[0],Us={root:Lr,materials:[],mode:s(787),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:nn[s(960)],canvas:nn[s(1437)],viewport:nn[s(617)],selectedNodeId:nn[s(1469)],selectedNodeIds:nn[s(559)],selectedStatusId:nn[s(451)],history:nn[s(484)]},S0=(e,n,t)=>({id:Le[s(1335)](),type:e,targetId:n,payload:t,timestamp:Date[s(1700)]()}),Qe=Xx[s(1572)]()(Ps((e,n)=>({...Us,addCanvas:t=>{const o=s,x=Jx(Le[o(1335)](),t||o(2020)+(n()[o(738)][o(974)][o(2179)]+1));return e(r=>{const i=o;r[i(738)][i(974)].push(x),r.root[i(687)]=x.id;const c=x;r[i(960)]=c[i(960)],r[i(1434)]=c.canvasConfig,r[i(617)]=c[i(617)],r[i(1469)]=c[i(1469)],r.selectedNodeIds=c[i(559)],r[i(451)]=c[i(451)],r[i(484)]=c[i(484)]}),x.id},removeCanvas:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)][x(424)](c=>c.id===t);if(r===-1||o[x(738)][x(974)][x(2179)]<=1)return;if(o[x(738)][x(974)][x(558)](r,1),o.root[x(511)])for(const c of o[x(738)][x(511)]){const d=c.canvasIds[x(1878)](t);d!==-1&&c[x(869)][x(558)](d,1)}if(o.root[x(740)]&&o[x(738)].navigationStack[x(2179)]>0&&(o.root[x(740)]=o[x(738)][x(740)][x(815)](c=>c!==t)),o[x(738)][x(687)]===t){const c=o.root.canvases[0];o[x(738)][x(687)]=c.id,o[x(960)]=c.nodes,o[x(1434)]=c[x(1437)],o[x(617)]=c[x(617)],o[x(1469)]=c.selectedNodeId,o[x(559)]=c.selectedNodeIds,o[x(451)]=c.selectedStatusId,o.history=c[x(484)]}const i=o[x(738)].activeSiblingGroupId;if(i){const c=(o[x(738)][x(511)]||[]).find(d=>d.id===i);(!c||!c[x(869)][x(1419)](o[x(738)][x(687)]||""))&&(o[x(738)].activeSiblingGroupId=null)}})},switchCanvas:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)][x(990)](c=>c.id===t);if(!r)return;o[x(738)][x(687)]=t,o[x(960)]=r[x(960)],o[x(1434)]=r[x(1437)],o[x(617)]=r[x(617)],o[x(1469)]=r[x(1469)],o[x(559)]=r[x(559)],o[x(451)]=r[x(451)],o[x(484)]=r.history;const i=o[x(738)][x(408)];if(i){const c=(o[x(738)].siblingGroups||[]).find(d=>d.id===i);(!c||!c[x(869)][x(1419)](t))&&(o[x(738)][x(408)]=null)}})},updateCanvasName:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](c=>c.id===t);i&&(i[r(863)]=o)})},getCurrentCanvas:()=>{const t=s,o=n();return o.root[t(974)][t(990)](x=>x.id===o[t(738)][t(687)])},addSiblingGroup:(t,o)=>{const x=s,r=Le[x(1335)]();return e(i=>{const c=x;i[c(738)][c(511)]||(i[c(738)][c(511)]=[]);const d=i[c(738)].siblingGroups.length+1,a=Array[c(1365)](new Set((o||[])[c(815)](u=>i[c(738)][c(974)][c(1496)](f=>f.id===u))));i.root[c(511)][c(1759)]({id:r,name:t||"同级关系 "+d,canvasIds:a})}),r},removeSiblingGroup:t=>{e(o=>{const x=_0x5590;if(!o[x(738)][x(511)])return;const r=o[x(738)][x(511)][x(424)](i=>i.id===t);r!==-1&&o[x(738)][x(511)][x(558)](r,1),o[x(738)][x(408)]===t&&(o[x(738)].activeSiblingGroupId=null)})},updateSiblingGroup:(t,o)=>{e(x=>{const r=_0x5590;if(!x.root[r(511)])return;const i=x[r(738)][r(511)][r(990)](c=>c.id===t);if(i&&(o[r(863)]!==void 0&&(i[r(863)]=o[r(863)]),o.canvasIds!==void 0)){const c=new Set,d=[];for(const a of o[r(869)])c[r(1147)](a)||x[r(738)].canvases.some(u=>u.id===a)&&(c[r(729)](a),d[r(1759)](a));i[r(869)]=d}})},addCanvasToSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5590;if(!r[i(738)][i(511)])return;const c=r.root[i(511)][i(990)](d=>d.id===t);c&&r.root[i(974)][i(1496)](d=>d.id===o)&&(c[i(869)][i(1419)](o)||(typeof x=="number"&&x>=0&&x<=c[i(869)].length?c[i(869)][i(558)](x,0,o):c.canvasIds[i(1759)](o)))})},removeCanvasFromSiblingGroup:(t,o)=>{e(x=>{const r=_0x5590;if(!x.root[r(511)])return;const i=x[r(738)].siblingGroups[r(990)](d=>d.id===t);if(!i)return;const c=i[r(869)][r(1878)](o);c!==-1&&i[r(869)][r(558)](c,1)})},moveCanvasInSiblingGroup:(t,o,x)=>{e(r=>{const i=_0x5590;if(!r.root[i(511)])return;const c=r[i(738)][i(511)][i(990)](u=>u.id===t);if(!c)return;const d=c[i(869)][i(1878)](o);if(d===-1)return;const a=x==="up"?d-1:d+1;a<0||a>=c[i(869)][i(2179)]||([c[i(869)][d],c.canvasIds[a]]=[c.canvasIds[a],c[i(869)][d]])})},nextSiblingCanvas:(t,o=!1)=>{const x=s,r=n(),i=r[x(738)].siblingGroups?.[x(990)](u=>u.id===t);if(!i||i[x(869)][x(2179)]===0)return null;const c=i[x(869)][x(815)](u=>r[x(738)][x(974)].some(f=>f.id===u));if(c[x(2179)]===0)return null;const d=c[x(1878)](r.root[x(687)]||"");let a;if(d===-1)a=0;else if(d===c[x(2179)]-1){if(!o)return null;a=0}else a=d+1;return e(u=>{const f=x;u.root[f(408)]=t}),n().switchCanvas(c[a]),c[a]},prevSiblingCanvas:(t,o=!1)=>{const x=s,r=n(),i=r.root[x(511)]?.find(u=>u.id===t);if(!i||i[x(869)].length===0)return null;const c=i.canvasIds[x(815)](u=>r[x(738)].canvases.some(f=>f.id===u));if(c.length===0)return null;const d=c[x(1878)](r.root[x(687)]||"");let a;if(d===-1)a=c.length-1;else if(d===0){if(!o)return null;a=c[x(2179)]-1}else a=d-1;return e(u=>{const f=x;u.root[f(408)]=t}),n()[x(1315)](c[a]),c[a]},gotoSiblingCanvas:(t,o)=>{const x=s,r=n(),i=r[x(738)][x(511)]?.[x(990)](d=>d.id===t);if(!i)return null;const c=i[x(869)][x(815)](d=>r[x(738)][x(974)].some(a=>a.id===d));return o<0||o>=c.length?null:(e(d=>{const a=x;d.root[a(408)]=t}),n()[x(1315)](c[o]),c[o])},getSiblingGroupsByCanvas:t=>{const o=s;return(n()[o(738)][o(511)]||[])[o(815)](r=>r.canvasIds[o(1419)](t))},setActiveSiblingGroup:t=>{e(o=>{const x=_0x5590;if(t===null){o.root[x(408)]=null;return}(o.root[x(511)]||[])[x(1496)](i=>i.id===t)&&(o[x(738)][x(408)]=t)})},jumpToCanvas:t=>{const o=s,x=n();if(!x.root[o(974)][o(1496)](i=>i.id===t)||x.root.currentCanvasId===t)return;const r=x[o(738)][o(687)];r&&e(i=>{const c=o;i[c(738)][c(740)]||(i[c(738)][c(740)]=[]),i.root[c(740)][c(1759)](r)}),n().switchCanvas(t)},goBack:()=>{const t=s,o=n();if((o[t(738)][t(740)]||[]).length===0)return null;let r=null;const i=new Set(o[t(738)][t(974)][t(474)](c=>c.id));return e(c=>{const d=t;for(;c[d(738)].navigationStack&&c[d(738)][d(740)][d(2179)]>0;){const a=c[d(738)][d(740)][d(1706)]();if(i[d(1147)](a)){r=a;break}}}),r&&n()[t(1315)](r),r},clearNavigationStack:()=>{e(t=>{const o=_0x5590;t[o(738)][o(740)]=[]})},setSelectedNodeIds:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)].currentCanvasId);r&&(r[x(559)]=t,o.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&!r[x(559)][x(1419)](t)&&(r.selectedNodeIds.push(t),o[x(559)]=r[x(559)])})},removeSelectedNodeId:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&(r[x(559)]=r[x(559)][x(815)](i=>i!==t),o[x(559)]=r[x(559)])})},clearSelectedNodeIds:()=>{e(t=>{const o=_0x5590,x=t[o(738)][o(974)].find(r=>r.id===t[o(738)][o(687)]);x&&(x.selectedNodeIds=[],t[o(559)]=[])})},addNode:(t,o=!0)=>{e(x=>{const r=_0x5590,i=x.root[r(974)][r(990)](d=>d.id===x[r(738)][r(687)]);if(!i)return;const c={...t,id:t.id||Le[r(1335)]()};i[r(960)][r(1759)](c),x[r(960)]=i.nodes,o&&(i.selectedNodeId=c.id,x.selectedNodeId=c.id,i.history[r(1854)][r(1759)](S0("NODE_SELECT",c.id)),x[r(484)]=i[r(484)])})},updateNode:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](d=>d.id===x[r(738)][r(687)]);if(!i)return;const c=i.nodes[r(990)](d=>d.id===t);c&&(o[r(1379)]&&Object[r(1060)](c[r(1379)],o[r(1379)]),o[r(742)]&&(c[r(742)]={...c[r(742)],...o[r(742)]}),o[r(863)]&&(c[r(863)]=o[r(863)]),o.controlInfo&&Object[r(1060)](c[r(908)],o[r(908)]),o[r(517)]&&(c.children=o[r(517)]),i[r(484)][r(1854)][r(1759)](S0(r(753),t,o)),x[r(484)]=i[r(484)],x.nodes=i.nodes)})},updateNodeStyle:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](d=>d.id===x[r(738)].currentCanvasId);if(!i)return;const c=i[r(960)][r(990)](d=>d.id===t);c&&(Object[r(1060)](c[r(1379)],o),i[r(484)].past.push(S0(r(753),t,{normalStyle:o})),x[r(484)]=i.history,x.nodes=i.nodes)})},updateNodeContent:(t,o)=>{e(x=>{const r=_0x5590,i=x.root.canvases[r(990)](d=>d.id===x.root[r(687)]);if(!i)return;const c=i[r(960)][r(990)](d=>d.id===t);c&&(c[r(742)]={...c[r(742)],...o},i[r(484)][r(1854)].push(S0(r(753),t,{contentInfo:o})),x[r(484)]=i[r(484)],x[r(960)]=i[r(960)])})},updateNodeControl:(t,o)=>{e(x=>{const r=_0x5590,i=x.root[r(974)][r(990)](d=>d.id===x[r(738)][r(687)]);if(!i)return;const c=i[r(960)][r(990)](d=>d.id===t);c&&(Object[r(1060)](c[r(908)],o),i[r(484)][r(1854)][r(1759)](S0(r(753),t,{controlInfo:o})),x.history=i[r(484)],x[r(960)]=i[r(960)])})},removeNode:t=>{e(o=>{const x=_0x5590,r=o[x(738)].canvases[x(990)](c=>c.id===o[x(738)][x(687)]);if(!r)return;const i=r.nodes[x(424)](c=>c.id===t);i!==-1&&(r.nodes.splice(i,1),o[x(960)]=r[x(960)],r[x(1469)]===t&&(r[x(1469)]=null,o.selectedNodeId=null,r.selectedStatusId=null,o[x(451)]=null),r[x(559)]=r[x(559)].filter(c=>c!==t),o[x(559)]=r[x(559)],r[x(484)].past[x(1759)](S0(x(520),t)),o[x(484)]=r[x(484)])})},selectNode:t=>{e(o=>{const x=_0x5590,r=o[x(738)].canvases[x(990)](i=>i.id===o.root[x(687)]);r&&(r[x(1469)]=t,o[x(1469)]=t,r[x(451)]=null,o.selectedStatusId=null,t&&(r.history[x(1854)].push(S0(x(1038),t)),o.history=r[x(484)]))})},bringToFront:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](d=>d.id===o[x(738)][x(687)]);if(!r)return;const i=r[x(960)][x(424)](d=>d.id===t);if(i===-1||i===r[x(960)][x(2179)]-1)return;const[c]=r[x(960)][x(558)](i,1);r[x(960)][x(1759)](c),o[x(960)]=r.nodes,r[x(484)][x(1854)][x(1759)](S0(x(753),t,{zOrder:x(399)})),o[x(484)]=r[x(484)]})},sendToBack:t=>{e(o=>{const x=_0x5590,r=o.root[x(974)].find(d=>d.id===o.root[x(687)]);if(!r)return;const i=r[x(960)][x(424)](d=>d.id===t);if(i<=0)return;const[c]=r[x(960)][x(558)](i,1);r.nodes[x(923)](c),o[x(960)]=r[x(960)],r[x(484)][x(1854)][x(1759)](S0(x(753),t,{zOrder:x(1747)})),o[x(484)]=r[x(484)]})},addStatus:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(738)][r(974)][r(990)](a=>a.id===x.root[r(687)]);if(!i)return;const c=i[r(960)][r(990)](a=>a.id===t);if(!c)return;const d={...o,id:Le[r(1335)]()};c.contentInfo.statusList[r(1759)](d),i[r(484)][r(1854)].push(S0(r(441),t,{statusId:d.id})),x.history=i.history})},removeStatus:(t,o)=>{e(x=>{const r=_0x5590,i=x.root.canvases[r(990)](a=>a.id===x.root[r(687)]);if(!i)return;const c=i.nodes[r(990)](a=>a.id===t);if(!c)return;const d=c[r(742)][r(1833)][r(424)](a=>a.id===o);d!==-1&&(c[r(742)][r(1833)][r(558)](d,1),c[r(742)].currentStatusId===o&&(c[r(742)].currentStatusId=void 0),i[r(451)]===o&&(i[r(451)]=null,x[r(451)]=null))})},updateStatus:(t,o,x)=>{e(r=>{const i=_0x5590,c=r.root[i(974)][i(990)](u=>u.id===r[i(738)][i(687)]);if(!c)return;const d=c[i(960)][i(990)](u=>u.id===t);if(!d)return;const a=d[i(742)][i(1833)].find(u=>u.id===o);a&&Object[i(1060)](a,x)})},selectStatus:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&(r[x(451)]=t,o[x(451)]=t)})},evaluateCurrentStatus:(t,o)=>{const x=s,r=n(),i=r.root[x(974)][x(990)](a=>a.id===r[x(738)].currentCanvasId);if(!i)return;const c=i.nodes.find(a=>a.id===t);if(!c)return;const{dataPool:d}=n();for(const a of c[x(742)][x(1833)])if(Zx(a,o,d))return a.id},addDataPoolItem:t=>{const o=s,x=Le[o(1335)]();return e(r=>{const i=o;let c={};t[i(2133)]&&typeof t.sample===i(878)&&(Array.isArray(t.sample),c=t[i(2133)]),r[i(1440)][i(1759)]({...t,id:x,sample:c})}),x},updateDataPoolItem:(t,o)=>{e(x=>{const r=_0x5590,i=x[r(1440)][r(990)](c=>c.id===t);i&&(o[r(863)]!==void 0&&(i[r(863)]=o[r(863)]),o[r(2133)]!==void 0&&(o[r(2133)]&&typeof o[r(2133)]===r(878)?i.sample=o.sample:i[r(2133)]={}))})},removeDataPoolItem:t=>{e(o=>{const x=_0x5590,r=o[x(1440)].findIndex(i=>i.id===t);if(r!==-1){o[x(1440)].splice(r,1);for(const i of o.root[x(974)])Dr(i[x(960)],t)}})},setDataPool:t=>{e(o=>{const x=_0x5590;o[x(1440)]=t[x(474)](r=>{const i=x;let c={};return r[i(2133)]&&typeof r[i(2133)]===i(878)&&(c=r[i(2133)]),{...r,sample:c}})})},setEventFlow:t=>{e(o=>{const x=_0x5590;o[x(1599)]={eventBlocks:t[x(1507)]??[],eventRoots:t.eventRoots??[],editingEventRootId:t[x(1166)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(o=>{const x=_0x5590,r=new Set;o[x(2058)]=[];for(const i of t){const c=String(i[x(844)]??"").trim();!c||r[x(1147)](c)||(r[x(729)](c),o[x(2058)][x(1759)]({key:c,label:String(i[x(663)]??"")[x(349)]()||c,description:i.description}))}})},addMaterial:t=>{e(o=>{const x=_0x5590;if(o[x(423)][x(1496)](c=>c[x(863)]===t[x(863)]))return;const i={...t,id:Le[x(1335)]()};o[x(423)][x(1759)](i)})},updateMaterial:(t,o)=>{e(x=>{const r=_0x5590,i=x.materials[r(990)](c=>c.id===t);i&&Object.assign(i,o)})},removeMaterial:t=>{e(o=>{const x=_0x5590,r=o.materials[x(424)](i=>i.id===t);r!==-1&&o[x(423)][x(558)](r,1)})},setViewport:t=>{e(o=>{const x=_0x5590,r=o[x(738)].canvases[x(990)](i=>i.id===o[x(738)][x(687)]);r&&(Object[x(1060)](r[x(617)],t),o.viewport=r[x(617)])})},setCanvasConfig:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o.root[x(687)]);r&&(r.canvasConfig={...r[x(1437)],...t},o.canvas=r.canvasConfig)})},setMode:t=>{e(o=>{o.mode=t})},startLineDrawing:t=>{e(o=>{const x=_0x5590;o[x(1023)]=x(1510),o.lineDrawing={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(o=>{const x=_0x5590;o[x(1195)].isDrawing&&(o[x(1195)][x(1791)]=t)})},endLineDrawing:()=>{e(t=>{const o=_0x5590;t[o(1023)]="select",t.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const o=_0x5590;t.mode=o(787),t[o(1195)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const o=_0x5590,x=t[o(738)][o(974)].find(i=>i.id===t[o(738)][o(687)]);if(!x)return;const r=x[o(484)][o(1854)][o(1706)]();r&&(x.history[o(861)].push(r),t[o(484)]=x.history)})},redo:()=>{e(t=>{const o=_0x5590,x=t[o(738)][o(974)].find(i=>i.id===t[o(738)][o(687)]);if(!x)return;const r=x.history[o(861)][o(1706)]();r&&(x.history.past[o(1759)](r),t[o(484)]=x[o(484)])})},recordEvent:t=>{e(o=>{const x=_0x5590,r=o[x(738)][x(974)][x(990)](i=>i.id===o[x(738)][x(687)]);r&&(r[x(484)].past[x(1759)](t),r[x(484)][x(861)]=[],o.history=r[x(484)])})},exportScheme:()=>{const t=s,o=n(),{activeSiblingGroupId:x,navigationStack:r,...i}=o[t(738)];return{version:t(478),root:i,materials:o[t(423)],dataPool:o[t(1440)],eventFlow:o.eventFlow,metadata:{name:o[t(738)][t(863)],description:"",createdAt:new Date()[t(2156)](),updatedAt:new Date()[t(2156)]()}}},importScheme:t=>{e(o=>{const x=_0x5590;if(t[x(738)]){if(o[x(738)]=t[x(738)],!o.root.siblingGroups)o[x(738)][x(511)]=[];else{const i=new Set(o[x(738)][x(974)][x(474)](c=>c.id));for(const c of o[x(738)].siblingGroups)c[x(869)]=c[x(869)].filter(d=>i[x(1147)](d))}o[x(738)][x(408)]=null,o[x(738)][x(740)]=[],o[x(1440)]=t[x(1440)]??[],t[x(1599)]&&(o[x(1599)]={eventBlocks:t[x(1599)].eventBlocks??[],eventRoots:t[x(1599)][x(1271)]??[],editingEventRootId:t[x(1599)][x(1166)]??null,isEditingEventFlow:t[x(1599)][x(2096)]??!1});const r=o[x(738)].canvases[x(990)](i=>i.id===o[x(738)][x(687)])||o[x(738)][x(974)][0];r&&(o.root[x(687)]=r.id,o.nodes=r[x(960)],o[x(1434)]=r[x(1437)],o[x(617)]=r[x(617)],o[x(1469)]=r[x(1469)],o.selectedNodeIds=r.selectedNodeIds,o[x(451)]=r[x(451)],o[x(484)]=r[x(484)])}else{const r=Jx();r.nodes=t[x(960)]||[],o[x(738)][x(974)]=[r],o[x(738)][x(687)]=r.id,o[x(738)][x(511)]=[],o[x(738)][x(408)]=null,o.root.navigationStack=[],o.dataPool=t[x(1440)]??[],t[x(1599)]&&(o.eventFlow={eventBlocks:t[x(1599)][x(1507)]??[],eventRoots:t[x(1599)][x(1271)]??[],editingEventRootId:t[x(1599)][x(1166)]??null,isEditingEventFlow:t[x(1599)].isEditingEventFlow??!1}),o[x(960)]=r[x(960)],o[x(1434)]=r.canvasConfig,o[x(617)]=t[x(617)]||r[x(617)],o[x(1469)]=null,o[x(451)]=null,o[x(484)]={past:[],future:[]}}for(const r of o[x(738)][x(974)])Rx(r.nodes)})},exportCanvas:t=>{const o=s,x=n(),r=t||x[o(738)][o(687)],i=x[o(738)][o(974)].find(c=>c.id===r);if(!i)throw new Error(o(2020)+r+o(1707));return{version:"2.0.0",canvas:i,metadata:{name:i[o(863)],description:"",exportedAt:new Date()[o(2156)]()}}},importCanvas:(t,o)=>{e(x=>{const r=_0x5590,i=t.canvas,c=o||x[r(738)][r(687)],d=x[r(738)][r(974)][r(990)](a=>a.id===c);if(d)d[r(863)]=i.name,d[r(960)]=i.nodes||[],d[r(1437)]=i[r(1437)],d.viewport=i[r(617)],d[r(1469)]=null,d[r(559)]=[],d[r(451)]=null,d[r(484)]=i[r(484)]||{past:[],future:[]},c===x.root[r(687)]&&(x[r(960)]=d[r(960)],x.canvas=d[r(1437)],x[r(617)]=d[r(617)],x[r(1469)]=d[r(1469)],x[r(559)]=d.selectedNodeIds,x.selectedStatusId=d[r(451)],x[r(484)]=d.history);else{const a={...i,id:Le.nanoid(),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};x[r(738)][r(974)].push(a),x[r(738)][r(687)]=a.id,x[r(960)]=a[r(960)],x[r(1434)]=a.canvasConfig,x.viewport=a.viewport,x[r(1469)]=a.selectedNodeId,x[r(559)]=a[r(559)],x[r(451)]=a.selectedStatusId,x[r(484)]=a.history}for(const a of x[r(738)][r(974)])Rx(a.nodes)})},addEventBlock:t=>{const o=Le.nanoid();return e(x=>{const r=_0x5590;x[r(1599)][r(1507)].push({...t,id:o})}),o},upsertEventBlock:t=>{e(o=>{const x=_0x5590,r=o[x(1599)][x(1507)][x(424)](i=>i.id===t.id);r!==-1?o[x(1599)].eventBlocks[r]={...t}:o[x(1599)].eventBlocks[x(1759)]({...t})})},updateEventBlock:(t,o)=>{e(x=>{const r=_0x5590,i=x.eventFlow[r(1507)][r(990)](c=>c.id===t);i&&Object[r(1060)](i,o)})},removeEventBlock:t=>{e(o=>{const x=_0x5590,r=o[x(1599)][x(1507)][x(424)](i=>i.id===t);r!==-1&&o[x(1599)][x(1507)].splice(r,1)})},addEventRoot:t=>{const o=s,x=Le[o(1335)]();return e(r=>{const i=o;r[i(1599)][i(1271)][i(1759)]({...t,id:x})}),x},updateEventRoot:(t,o)=>{e(x=>{const r=_0x5590,i=x.eventFlow[r(1271)][r(990)](c=>c.id===t);i&&Object[r(1060)](i,o)})},removeEventRoot:t=>{e(o=>{const x=_0x5590,r=o[x(1599)][x(1271)].findIndex(i=>i.id===t);r!==-1&&o[x(1599)][x(1271)][x(558)](r,1)})},setEditingEventRoot:t=>{e(o=>{const x=_0x5590;o.eventFlow[x(1166)]=t})},setIsEditingEventFlow:t=>{e(o=>{const x=_0x5590;o[x(1599)].isEditingEventFlow=t})},bindNodeEvent:(t,o,x)=>{const r=Le.nanoid();return e(i=>{const c=_0x5590;i.eventFlow[c(1271)].push({id:r,bindNodeId:t,eventType:o,flowData:x,enabled:!0})}),r},unbindNodeEvent:(t,o,x)=>{e(r=>{const i=_0x5590,c=r[i(1599)][i(1271)].findIndex(d=>{const a=i;return d[a(458)]!==t||d.eventType!==o?!1:o===a(1925)?(d[a(858)]||"")[a(349)]()===(x||"").trim():!0});c!==-1&&r[i(1599)][i(1271)].splice(c,1)})},getNodeEventRoots:t=>{const o=s;return n()[o(1599)][o(1271)][o(815)](x=>x[o(458)]===t)}}))),Nr=[{id:Le[s(1335)](),name:"矩形",type:"IMAGE",src:s(1146)+encodeURIComponent(s(1909))},{id:Le[s(1335)](),name:"圆形",type:s(1054),src:s(1146)+encodeURIComponent(s(1795))},{id:Le[s(1335)](),name:s(605),type:s(1054),src:s(1146)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#faad14" rx="20"/></svg>')},{id:Le[s(1335)](),name:"阀门",type:s(1054),src:"data:image/svg+xml,"+encodeURIComponent(s(1339))},{id:Le[s(1335)](),name:"泵",type:s(1054),src:s(1146)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="35" r="20" fill="#bfbfbf" stroke="#595959" stroke-width="2"/><rect x="25" y="5" width="10" height="15" fill="#595959"/><path d="M30 20 L30 35 M20 30 Q30 45 40 30" stroke="#595959" stroke-width="2" fill="none"/></svg>')},{id:Le.nanoid(),name:"罐体",type:s(1054),src:s(1146)+encodeURIComponent(s(1204))},{id:Le.nanoid(),name:s(392),type:s(1509),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:s(1268),color:s(1085),textAlign:"left"},valueStyle:{fontSize:14,fontWeight:s(485),color:"#1890ff",textAlign:"left"}}},{id:Le[s(1335)](),name:"线条",type:s(1701),config:{thickness:2,lineWeight:2,color:"#262626",lineType:"solid"}}],_x=e=>({id:Le[s(1335)](),name:s(1955),expression:s(2069),material:{...e,id:Le.nanoid()},boundDatasetId:null}),Sr=(e,n,t)=>{const o=s;if(t?.[o(1912)]===o(601)&&t[o(1936)]?.[o(960)]){const x=t[o(1936)][o(960)].map(u=>({...u,id:Le[o(1335)]()}));let r=1/0,i=1/0,c=-1/0,d=-1/0;x[o(1322)](u=>{const f=o,b=u[f(1379)].x||0,g=u[f(1379)].y||0,w=u[f(1379)][f(1710)]||0,h=u[f(1379)][f(1355)]||0;r=Math[f(775)](r,b),i=Math[f(775)](i,g),c=Math[f(2172)](c,b+w),d=Math[f(2172)](d,g+h)});const a=x[o(474)](u=>({...u,normalStyle:{...u.normalStyle,x:(u.normalStyle.x||0)-r,y:(u[o(1379)].y||0)-i,scale:void 0}}));return{id:Le[o(1335)](),name:t[o(863)]||o(1659),type:o(744),normalStyle:{width:c-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:a}}return{id:Le[o(1335)](),name:"新节点",type:o(485),normalStyle:{width:120,height:100,x:e,y:n,background:"transparent",padding:8},contentInfo:{statusList:t?[_x(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:wn}=C.Collapse,{Text:kt}=C.Typography,kr=({onUploadSvg:e})=>{const n=s,{materials:t,addMaterial:o,removeMaterial:x,selectedStatusId:r,selectStatus:i,mode:c,lineDrawing:d,startLineDrawing:a,cancelLineDrawing:u}=Qe(),[f,b]=B.useState(["basic",n(420),n(1918),"line"]),g=m=>{const y=n,p=new FileReader;return p[y(695)]=z=>{const P=y,G=z[P(500)]?.[P(933)];o({name:m[P(863)].replace(".svg",""),type:P(1054),src:G})},p[y(1075)](m),!1},w={basic:t[n(815)](m=>["矩形","圆形",n(605)][n(1419)](m[n(863)])),device:t[n(815)](m=>["阀门","泵","罐体"][n(1419)](m[n(863)])||m[n(1912)]==="IMAGE"&&!["矩形","圆形","圆角矩形"][n(1419)](m.name)&&m[n(863)]!==n(1359)),text:t[n(815)](m=>m.type===n(1509)),line:t[n(815)](m=>m[n(1912)]===n(1701)),group:t[n(815)](m=>m[n(1912)]===n(601)&&m[n(1936)]?.nodes),custom:t.filter(m=>m[n(1912)]==="CUSTOM"&&!m.config?.nodes||m[n(1912)]===n(1054)&&!["矩形","圆形",n(605),"阀门","泵","罐体"][n(1419)](m[n(863)]))},h=(m,y)=>{const p=n;m[p(653)][p(2088)]=p(1826),m.dataTransfer[p(2031)](p(1699),JSON.stringify(y));const z=m[p(1630)][p(1525)](p(385));z&&m[p(653)][p(2017)](z,20,20)},v=m=>{m.type==="LINE"&&a(m)},M=(m,y=!1,p=n(1946))=>{const z=n,P=y===!0,G=c===z(1510)&&P&&d.material?.id===m.id;return l[z(1375)](C[z(853)][z(1254)],{draggable:!P,onDragStart:O=>h(O,m),onClick:()=>P&&v(m),className:z(429)+(P?"cursor-pointer":"cursor-move")+z(1779)+z(1871)+z(1779)+(G?z(1138):"")+z(1765),actions:[P?l.jsx(C[z(1105)],{type:z(1918),size:z(1400),icon:l[z(1375)](de[z(2165)],{}),onClick:O=>{O.stopPropagation(),v(m)},children:"绘制"},z(1177)):null,l[z(1375)](C[z(1105)],{type:"text",size:z(1400),danger:!0,icon:l[z(1375)](de.DeleteOutlined,{}),onClick:O=>{O[z(1313)](),x(m.id)}},z(1234))][z(815)](Boolean),children:l.jsxs(z(1037),{className:z(2129)+(P?"":z(2138)),children:[l.jsx(z(1037),{className:z(1894)+p,children:m[z(1912)]==="IMAGE"&&m[z(1950)]?l[z(1375)](C.Image,{src:m[z(1950)],alt:m.name,width:40,height:40,preview:!1}):m[z(1912)]===z(1509)?l.jsx(z(2163),{className:z(1959),children:"T"}):m.type==="LINE"?l[z(1375)]("div",{className:z(865)}):m[z(1912)]===z(601)&&m[z(1936)]?.nodes?l.jsx(z(2163),{className:z(1590),children:"G"}):l[z(1375)](z(2163),{className:z(1959),children:"?"})}),l[z(884)](z(1037),{className:z(350),children:[l[z(1375)](kt,{strong:!0,className:"block truncate",children:m[z(863)]}),l.jsxs("div",{className:z(959),children:[l[z(1375)](kt,{type:"secondary",className:z(1468),children:m[z(1912)]}),G&&l[z(1375)](C[z(2158)],{color:z(547),className:"text-xs",children:"绘制中"})]})]})]})},m.id)};return l[n(884)](n(1037),{className:"h-full flex flex-col bg-white border-r border-gray-200",children:[l.jsxs(n(1037),{className:n(591),children:[l[n(1375)]("h3",{className:n(1410),children:n(1669)}),l.jsx(kt,{type:n(1716),className:n(1136),children:n(2087)})]}),l[n(1375)](n(1037),{className:"p-3 border-b border-gray-200",children:e?l.jsx(C.Button,{icon:l[n(1375)](de.UploadOutlined,{}),block:!0,type:"dashed",onClick:()=>{e().catch(m=>{console.log(_0x5590(1588),m)})},children:n(1951)}):l[n(1375)](C[n(1596)],{accept:n(1914),beforeUpload:g,showUploadList:!1,children:l[n(1375)](C[n(1105)],{icon:l[n(1375)](de[n(838)],{}),block:!0,type:"dashed",children:n(1951)})})}),l[n(1375)]("div",{className:"flex-1 overflow-y-auto p-2",children:l[n(884)](C[n(860)],{activeKey:f,onChange:m=>b(m),ghost:!0,expandIconPosition:n(1942),children:[l[n(1375)](wn,{header:n(1777),children:l[n(1375)](C[n(853)],{dataSource:w.basic,renderItem:m=>M(m,!1),locale:{emptyText:l[n(1375)](C[n(1491)],{description:n(1810),image:C.Empty[n(1462)]})}})},n(1212)),l[n(1375)](wn,{header:"设备图标",children:l[n(1375)](C[n(853)],{dataSource:w[n(420)],renderItem:m=>M(m,!1,n(359)),locale:{emptyText:l[n(1375)](C.Empty,{description:n(1810),image:C[n(1491)][n(1462)]})}})},n(420)),l[n(1375)](wn,{header:"文本",children:l[n(1375)](C[n(853)],{dataSource:w[n(1918)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1375)](C.Empty,{description:n(1810),image:C[n(1491)][n(1462)]})}})},n(1918)),l[n(884)](wn,{header:l[n(884)](n(1037),{className:n(817),children:[l[n(1375)](n(2163),{children:"线条"}),c===n(1510)&&l[n(1375)](C.Tag,{color:n(547),className:n(1468),children:"绘制模式"})]}),children:[l[n(1375)](C[n(853)],{dataSource:w[n(1190)],renderItem:m=>M(m,!0),locale:{emptyText:l.jsx(C.Empty,{description:n(1810),image:C[n(1491)][n(1462)]})}}),c==="line-draw"&&l[n(884)]("div",{className:n(1258),children:[l[n(1375)]("div",{children:n(725)}),l[n(1375)]("div",{children:n(806)})]})]},"line"),w[n(744)].length>0&&l.jsx(wn,{header:"群组",children:l[n(1375)](C[n(853)],{dataSource:w[n(744)],renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(C[n(1491)],{description:"暂无物料",image:C[n(1491)][n(1462)]})}})},"group"),w.custom[n(2179)]>0&&l[n(1375)](wn,{header:n(1359),children:l.jsx(C[n(853)],{dataSource:w[n(2159)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1375)](C[n(1491)],{description:n(1810),image:C.Empty[n(1462)]})}})},n(2159))]})}),l.jsx("div",{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(1375)](kt,{type:"secondary",className:"text-xs",children:c===n(1510)?l.jsx(l[n(1465)],{children:n(1609)}):l[n(1375)](l[n(1465)],{children:"💡 提示:拖拽物料到画布创建节点,点击线条物料进入绘制模式"})})})]})};var Qx=function(e,n){const t=s;return Qx=Object[t(1776)]||{__proto__:[]}instanceof Array&&function(o,x){const r=t;o[r(1804)]=x}||function(o,x){const r=t;for(var i in x)Object[r(2107)].hasOwnProperty[r(414)](x,i)&&(o[i]=x[i])},Qx(e,n)};function K0(e,n){const t=s;if(typeof n!="function"&&n!==null)throw new TypeError(t(764)+String(n)+t(1196));Qx(e,n);function o(){const x=t;this[x(575)]=e}e.prototype=n===null?Object.create(n):(o[t(2107)]=n[t(2107)],new o)}function Gs(e,n,t,o){function x(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const c=_0x5590;function d(f){const b=_0x5590;try{u(o[b(1026)](f))}catch(g){i(g)}}function a(f){const b=_0x5590;try{u(o[b(1396)](f))}catch(g){i(g)}}function u(f){const b=_0x5590;f[b(1998)]?r(f.value):x(f.value)[b(688)](d,a)}u((o=o[c(2185)](e,n||[]))[c(1026)]())})}function Ir(e,n){const t=s;var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},x,r,i,c=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return c[t(1026)]=d(0),c[t(1396)]=d(1),c[t(1174)]=d(2),typeof Symbol===t(1347)&&(c[Symbol[t(1002)]]=function(){return this}),c;function d(u){return function(f){return a([u,f])}}function a(u){const f=t;if(x)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(o=0)),o;)try{if(x=1,r&&(i=u[0]&2?r[f(1174)]:u[0]?r[f(1396)]||((i=r[f(1174)])&&i[f(414)](r),0):r[f(1026)])&&!(i=i.call(r,u[1]))[f(1998)])return i;switch(r=0,i&&(u=[u[0]&2,i[f(1044)]]),u[0]){case 0:case 1:i=u;break;case 4:return o[f(663)]++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o[f(1039)][f(1706)](),o[f(372)][f(1706)]();continue;default:if(i=o.trys,!(i=i[f(2179)]>0&&i[i[f(2179)]-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o[f(663)]=u[1];break}if(u[0]===6&&o.label<i[1]){o[f(663)]=i[1],i=u;break}if(i&&o[f(663)]<i[2]){o[f(663)]=i[2],o[f(1039)].push(u);break}i[2]&&o[f(1039)].pop(),o[f(372)][f(1706)]();continue}u=n[f(414)](e,o)}catch(b){u=[6,b],r=0}finally{x=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function vn(e){const n=s;var t=typeof Symbol=="function"&&Symbol[n(1002)],o=t&&e[t],x=0;if(o)return o[n(414)](e);if(e&&typeof e.length===n(2059))return{next:function(){return e&&x>=e[n(2179)]&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(n(t?1511:1686))}function It(e,n){const t=s;var o=typeof Symbol=="function"&&e[Symbol[t(1002)]];if(!o)return e;var x=o.call(e),r,i=[],c;try{for(;(n===void 0||n-- >0)&&!(r=x[t(1026)]())[t(1998)];)i[t(1759)](r.value)}catch(d){c={error:d}}finally{try{r&&!r[t(1998)]&&(o=x[t(1174)])&&o[t(414)](x)}finally{if(c)throw c.error}}return i}function Pt(e,n,t){const o=s;if(t||arguments.length===2)for(var x=0,r=n[o(2179)],i;x<r;x++)(i||!(x in n))&&(i||(i=Array[o(2107)][o(852)][o(414)](n,0,x)),i[x]=n[x]);return e.concat(i||Array.prototype[o(852)].call(n))}function pn(e){return this instanceof pn?(this.v=e,this):new pn(e)}function Os(e,n,t){const o=s;if(!Symbol[o(1041)])throw new TypeError("Symbol.asyncIterator is not defined.");var x=t[o(2185)](e,n||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object)[o(2107)]),d(o(1026)),d(o(1396)),d(o(1174),c),r[Symbol[o(1041)]]=function(){return this},r;function c(w){return function(h){const v=_0x5590;return Promise[v(1952)](h)[v(688)](w,b)}}function d(w,h){x[w]&&(r[w]=function(v){return new Promise(function(M,m){i[_0x5590(1759)]([w,v,M,m])>1||a(w,v)})},h&&(r[w]=h(r[w])))}function a(w,h){try{u(x[w](h))}catch(v){g(i[0][3],v)}}function u(w){const h=o;w[h(1044)]instanceof pn?Promise.resolve(w[h(1044)].v)[h(688)](f,b):g(i[0][2],w)}function f(w){a(o(1026),w)}function b(w){a("throw",w)}function g(w,h){const v=o;w(h),i.shift(),i[v(2179)]&&a(i[0][0],i[0][1])}}function Hs(e){const n=s;if(!Symbol.asyncIterator)throw new TypeError(n(1971));var t=e[Symbol.asyncIterator],o;return t?t[n(414)](e):(e=typeof vn===n(1347)?vn(e):e[Symbol[n(1002)]](),o={},x(n(1026)),x(n(1396)),x("return"),o[Symbol[n(1041)]]=function(){return this},o);function x(i){o[i]=e[i]&&function(c){return new Promise(function(d,a){const u=_0x5590;c=e[i](c),r(d,a,c.done,c[u(1044)])})}}function r(i,c,d,a){const u=n;Promise[u(1952)](a)[u(688)](function(f){i({value:f,done:d})},c)}}typeof SuppressedError===s(1347)&&SuppressedError;function Ve(e){return typeof e=="function"}function Fx(e){const n=s;var t=function(x){const r=_0x5590;Error.call(x),x[r(1648)]=new Error()[r(1648)]},o=e(t);return o[n(2107)]=Object.create(Error[n(2107)]),o[n(2107)][n(575)]=o,o}var $x=Fx(function(e){return function(t){const o=_0x5590;e(this),this[o(1109)]=t?t.length+` errors occurred during unsubscription:
3
+ `+t[o(474)](function(x,r){return r+1+") "+x.toString()})[o(1881)](o(1238)):"",this[o(863)]=o(1441),this[o(1079)]=t}});function At(e,n){const t=s;if(e){var o=e.indexOf(n);0<=o&&e[t(558)](o,1)}}var _n=(function(){const e=s;function n(t){const o=_0x5590;this.initialTeardown=t,this[o(1218)]=!1,this[o(1348)]=null,this[o(1569)]=null}return n[e(2107)][e(479)]=function(){const t=e;var o,x,r,i,c;if(!this.closed){this.closed=!0;var d=this[t(1348)];if(d)if(this[t(1348)]=null,Array[t(565)](d))try{for(var a=vn(d),u=a[t(1026)]();!u[t(1998)];u=a[t(1026)]()){var f=u[t(1044)];f.remove(this)}}catch(M){o={error:M}}finally{try{u&&!u[t(1998)]&&(x=a.return)&&x[t(414)](a)}finally{if(o)throw o[t(1036)]}}else d.remove(this);var b=this[t(2049)];if(Ve(b))try{b()}catch(M){c=M instanceof $x?M[t(1079)]:[M]}var g=this._finalizers;if(g){this._finalizers=null;try{for(var w=vn(g),h=w.next();!h[t(1998)];h=w.next()){var v=h.value;try{jr(v)}catch(M){c=c??[],M instanceof $x?c=Pt(Pt([],It(c)),It(M[t(1079)])):c[t(1759)](M)}}}catch(M){r={error:M}}finally{try{h&&!h[t(1998)]&&(i=w[t(1174)])&&i[t(414)](w)}finally{if(r)throw r[t(1036)]}}}if(c)throw new $x(c)}},n[e(2107)].add=function(t){const o=e;var x;if(t&&t!==this)if(this[o(1218)])jr(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this[o(1569)]=(x=this._finalizers)!==null&&x!==void 0?x:[])[o(1759)](t)}},n[e(2107)][e(1827)]=function(t){const o=e;var x=this[o(1348)];return x===t||Array[o(565)](x)&&x[o(1419)](t)},n[e(2107)][e(1227)]=function(t){const o=e;var x=this._parentage;this._parentage=Array[o(565)](x)?(x[o(1759)](t),x):x?[x,t]:t},n[e(2107)][e(1718)]=function(t){const o=e;var x=this[o(1348)];x===t?this[o(1348)]=null:Array[o(565)](x)&&At(x,t)},n[e(2107)][e(928)]=function(t){const o=e;var x=this[o(1569)];x&&At(x,t),t instanceof n&&t[o(1718)](this)},n[e(358)]=(function(){const t=e;var o=new n;return o[t(1218)]=!0,o})(),n})(),Pr=_n[s(358)];function Ar(e){const n=s;return e instanceof _n||e&&n(1218)in e&&Ve(e[n(928)])&&Ve(e.add)&&Ve(e[n(479)])}function jr(e){const n=s;Ve(e)?e():e[n(479)]()}var Ts={Promise:void 0},Vs={setTimeout:function(e,n){const t=s;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setTimeout[t(2185)](void 0,Pt([e,n],It(o)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Yr(e){Vs[s(2154)](function(){throw e})}function Er(){}function jt(e){e()}var eo=(function(e){const n=s;K0(t,e);function t(o){const x=_0x5590;var r=e[x(414)](this)||this;return r[x(1534)]=!1,o?(r[x(1091)]=o,Ar(o)&&o.add(r)):r[x(1091)]=Xs,r}return t[n(1572)]=function(o,x,r){return new no(o,x,r)},t.prototype.next=function(o){const x=n;this[x(1534)]||this[x(1785)](o)},t.prototype[n(1036)]=function(o){const x=n;this[x(1534)]||(this[x(1534)]=!0,this[x(1640)](o))},t[n(2107)][n(1843)]=function(){this[n(1534)]||(this.isStopped=!0,this._complete())},t[n(2107)][n(479)]=function(){const o=n;!this[o(1218)]&&(this[o(1534)]=!0,e[o(2107)].unsubscribe[o(414)](this),this[o(1091)]=null)},t[n(2107)][n(1785)]=function(o){const x=n;this[x(1091)][x(1026)](o)},t[n(2107)][n(1640)]=function(o){const x=n;try{this.destination[x(1036)](o)}finally{this[x(479)]()}},t[n(2107)][n(1800)]=function(){const o=n;try{this.destination[o(1843)]()}finally{this.unsubscribe()}},t})(_n),qs=(function(){const e=s;function n(t){const o=_0x5590;this[o(903)]=t}return n[e(2107)][e(1026)]=function(t){const o=e;var x=this[o(903)];if(x[o(1026)])try{x[o(1026)](t)}catch(r){Yt(r)}},n[e(2107)][e(1036)]=function(t){const o=e;var x=this.partialObserver;if(x.error)try{x[o(1036)](t)}catch(r){Yt(r)}else Yt(t)},n[e(2107)][e(1843)]=function(){const t=e;var o=this.partialObserver;if(o[t(1843)])try{o.complete()}catch(x){Yt(x)}},n})(),no=(function(e){K0(n,e);function n(t,o,x){var i=e[_0x5590(414)](this)||this,c;return Ve(t)||!t?c={next:t??void 0,error:o??void 0,complete:x??void 0}:c=t,i.destination=new qs(c),i}return n})(eo);function Yt(e){Yr(e)}function Ws(e){throw e}var Xs={closed:!0,next:Er,error:Ws,complete:Er},to=(function(){const e=s;return typeof Symbol===e(1347)&&Symbol[e(1562)]||e(1864)})();function Ur(e){return e}function Ks(e){const n=s;return e[n(2179)]===0?Ur:e[n(2179)]===1?e[0]:function(o){return e[n(1106)](function(r,i){return i(r)},o)}}var g0=(function(){const e=s;function n(t){const o=_0x5590;t&&(this[o(1256)]=t)}return n.prototype[e(386)]=function(t){const o=e;var x=new n;return x.source=this,x[o(808)]=t,x},n[e(2107)][e(1745)]=function(t,o,x){var r=this,i=Rs(t)?t:new no(t,o,x);return jt(function(){const c=_0x5590;var d=r,a=d[c(808)],u=d[c(766)];i[c(729)](a?a[c(414)](i,u):u?r[c(1256)](i):r._trySubscribe(i))}),i},n[e(2107)][e(561)]=function(t){const o=e;try{return this[o(1256)](t)}catch(x){t.error(x)}},n[e(2107)][e(1322)]=function(t,o){var x=this;return o=Gr(o),new o(function(r,i){const c=_0x5590;var d=new no({next:function(a){try{t(a)}catch(u){i(u),d.unsubscribe()}},error:i,complete:r});x[c(1745)](d)})},n[e(2107)][e(1256)]=function(t){const o=e;var x;return(x=this[o(766)])===null||x===void 0?void 0:x[o(1745)](t)},n[e(2107)][to]=function(){return this},n[e(2107)][e(582)]=function(){const t=e;for(var o=[],x=0;x<arguments[t(2179)];x++)o[x]=arguments[x];return Ks(o)(this)},n.prototype.toPromise=function(t){var o=this;return t=Gr(t),new t(function(x,r){var i;o.subscribe(function(c){return i=c},function(c){return r(c)},function(){return x(i)})})},n[e(1572)]=function(t){return new n(t)},n})();function Gr(e){const n=s;var t;return(t=e??Ts[n(1449)])!==null&&t!==void 0?t:Promise}function Zs(e){const n=s;return e&&Ve(e[n(1026)])&&Ve(e[n(1036)])&&Ve(e.complete)}function Rs(e){return e&&e instanceof eo||Zs(e)&&Ar(e)}function Js(e){return Ve(e?.[s(386)])}function tn(e){return function(n){const t=_0x5590;if(Js(n))return n[t(386)](function(o){const x=t;try{return e(o,this)}catch(r){this[x(1036)](r)}});throw new TypeError(t(767))}}function xn(e,n,t,o,x){return new _s(e,n,t,o,x)}var _s=(function(e){const n=s;K0(t,e);function t(o,x,r,i,c,d){const a=_0x5590;var u=e.call(this,o)||this;return u.onFinalize=c,u[a(1099)]=d,u[a(1785)]=x?function(f){const b=a;try{x(f)}catch(g){o[b(1036)](g)}}:e[a(2107)][a(1785)],u[a(1640)]=i?function(f){try{i(f)}catch(b){o.error(b)}finally{this.unsubscribe()}}:e[a(2107)][a(1640)],u[a(1800)]=r?function(){const f=a;try{r()}catch(b){o[f(1036)](b)}finally{this.unsubscribe()}}:e[a(2107)][a(1800)],u}return t[n(2107)][n(479)]=function(){const o=n;var x;if(!this[o(1099)]||this[o(1099)]()){var r=this[o(1218)];e.prototype.unsubscribe[o(414)](this),!r&&((x=this[o(802)])===null||x===void 0||x.call(this))}},t})(eo),Qs=Fx(function(e){return function(){const t=_0x5590;e(this),this[t(863)]=t(2016),this[t(1109)]=t(1635)}}),Or=(function(e){const n=s;K0(t,e);function t(){const o=_0x5590;var x=e[o(414)](this)||this;return x[o(1218)]=!1,x[o(754)]=null,x[o(1233)]=[],x[o(1534)]=!1,x.hasError=!1,x.thrownError=null,x}return t[n(2107)][n(386)]=function(o){const x=n;var r=new Hr(this,this);return r[x(808)]=o,r},t.prototype[n(660)]=function(){if(this.closed)throw new Qs},t[n(2107)][n(1026)]=function(o){var x=this;jt(function(){const r=_0x5590;var i,c;if(x[r(660)](),!x[r(1534)]){!x[r(754)]&&(x[r(754)]=Array[r(1365)](x.observers));try{for(var d=vn(x.currentObservers),a=d[r(1026)]();!a.done;a=d[r(1026)]()){var u=a[r(1044)];u[r(1026)](o)}}catch(f){i={error:f}}finally{try{a&&!a[r(1998)]&&(c=d.return)&&c[r(414)](d)}finally{if(i)throw i[r(1036)]}}}})},t[n(2107)].error=function(o){var x=this;jt(function(){const r=_0x5590;if(x[r(660)](),!x[r(1534)]){x.hasError=x[r(1534)]=!0,x[r(791)]=o;for(var i=x.observers;i[r(2179)];)i[r(1299)]()[r(1036)](o)}})},t[n(2107)][n(1843)]=function(){var o=this;jt(function(){const x=_0x5590;if(o[x(660)](),!o[x(1534)]){o[x(1534)]=!0;for(var r=o[x(1233)];r.length;)r[x(1299)]()[x(1843)]()}})},t[n(2107)][n(479)]=function(){const o=n;this[o(1534)]=this.closed=!0,this.observers=this.currentObservers=null},Object[n(593)](t[n(2107)],"observed",{get:function(){const o=n;var x;return((x=this.observers)===null||x===void 0?void 0:x[o(2179)])>0},enumerable:!1,configurable:!0}),t[n(2107)][n(561)]=function(o){const x=n;return this[x(660)](),e.prototype[x(561)][x(414)](this,o)},t[n(2107)][n(1256)]=function(o){const x=n;return this[x(660)](),this[x(770)](o),this._innerSubscribe(o)},t[n(2107)][n(530)]=function(o){const x=n;var r=this,i=this,c=i[x(1172)],d=i[x(1534)],a=i[x(1233)];return c||d?Pr:(this[x(754)]=null,a[x(1759)](o),new _n(function(){const u=x;r[u(754)]=null,At(a,o)}))},t.prototype[n(770)]=function(o){const x=n;var r=this,i=r[x(1172)],c=r[x(791)],d=r[x(1534)];i?o[x(1036)](c):d&&o[x(1843)]()},t.prototype[n(1487)]=function(){const o=n;var x=new g0;return x[o(766)]=this,x},t[n(1572)]=function(o,x){return new Hr(o,x)},t})(g0),Hr=(function(e){const n=s;K0(t,e);function t(o,x){const r=_0x5590;var i=e[r(414)](this)||this;return i[r(1091)]=o,i[r(766)]=x,i}return t[n(2107)][n(1026)]=function(o){const x=n;var r,i;(i=(r=this[x(1091)])===null||r===void 0?void 0:r[x(1026)])===null||i===void 0||i[x(414)](r,o)},t[n(2107)][n(1036)]=function(o){const x=n;var r,i;(i=(r=this[x(1091)])===null||r===void 0?void 0:r[x(1036)])===null||i===void 0||i.call(r,o)},t[n(2107)].complete=function(){const o=n;var x,r;(r=(x=this[o(1091)])===null||x===void 0?void 0:x[o(1843)])===null||r===void 0||r[o(414)](x)},t[n(2107)]._subscribe=function(o){const x=n;var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r[x(1745)](o))!==null&&i!==void 0?i:Pr},t})(Or),Fs={now:function(){return Date[s(1700)]()}},$s=(function(e){const n=s;K0(t,e);function t(o,x){return e[_0x5590(414)](this)||this}return t[n(2107)][n(630)]=function(o,x){return this},t})(_n),Tr={setInterval:function(e,n){const t=s;for(var o=[],x=2;x<arguments.length;x++)o[x-2]=arguments[x];return setInterval[t(2185)](void 0,Pt([e,n],It(o)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},el=(function(e){const n=s;K0(t,e);function t(o,x){const r=_0x5590;var i=e[r(414)](this,o,x)||this;return i[r(634)]=o,i[r(718)]=x,i.pending=!1,i}return t[n(2107)][n(630)]=function(o,x){const r=n;var i;if(x===void 0&&(x=0),this.closed)return this;this.state=o;var c=this.id,d=this[r(634)];return c!=null&&(this.id=this[r(463)](d,c,x)),this[r(1621)]=!0,this[r(541)]=x,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(648)](d,this.id,x),this},t[n(2107)][n(648)]=function(o,x,r){const i=n;return r===void 0&&(r=0),Tr.setInterval(o[i(1103)][i(2119)](o,this),r)},t.prototype.recycleAsyncId=function(o,x,r){const i=n;return r===void 0&&(r=0),r!=null&&this.delay===r&&this[i(1621)]===!1?x:(x!=null&&Tr[i(2024)](x),void 0)},t.prototype.execute=function(o,x){const r=n;if(this.closed)return new Error(r(2111));this.pending=!1;var i=this[r(723)](o,x);if(i)return i;this[r(1621)]===!1&&this.id!=null&&(this.id=this[r(463)](this[r(634)],this.id,null))},t[n(2107)][n(723)]=function(o,x){const r=n;var i=!1,c;try{this.work(o)}catch(d){i=!0,c=d||new Error("Scheduled action threw falsy error")}if(i)return this[r(479)](),c},t[n(2107)][n(479)]=function(){const o=n;if(!this[o(1218)]){var x=this,r=x.id,i=x[o(634)],c=i[o(2047)];this[o(718)]=this[o(437)]=this[o(634)]=null,this.pending=!1,At(c,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this[o(541)]=null,e[o(2107)][o(479)][o(414)](this)}},t})($s),Vr=(function(){const e=s;function n(t,o){const x=_0x5590;o===void 0&&(o=n[x(1700)]),this[x(917)]=t,this.now=o}return n.prototype.schedule=function(t,o,x){const r=_0x5590;return o===void 0&&(o=0),new this.schedulerActionCtor(this,t)[r(630)](x,o)},n.now=Fs[e(1700)],n})(),nl=(function(e){const n=s;K0(t,e);function t(o,x){const r=_0x5590;x===void 0&&(x=Vr.now);var i=e.call(this,o,x)||this;return i.actions=[],i[r(1336)]=!1,i}return t[n(2107)][n(1103)]=function(o){const x=n;var r=this.actions;if(this[x(1336)]){r[x(1759)](o);return}var i;this._active=!0;do if(i=o[x(1047)](o[x(437)],o[x(541)]))break;while(o=r.shift());if(this[x(1336)]=!1,i){for(;o=r[x(1299)]();)o[x(479)]();throw i}},t})(Vr),tl=new nl(el);function xl(e){return e&&Ve(e[s(630)])}function ol(e){return e[e.length-1]}function rl(e){const n=s;return xl(ol(e))?e[n(1706)]():void 0}var qr=function(e){const n=s;return e&&typeof e[n(2179)]===n(2059)&&typeof e!==n(1347)};function Wr(e){return Ve(e?.[s(688)])}function Xr(e){return Ve(e[to])}function Kr(e){return Symbol.asyncIterator&&Ve(e?.[Symbol[s(1041)]])}function Zr(e){const n=s;return new TypeError("You provided "+(e!==null&&typeof e===n(878)?n(1162):"'"+e+"'")+n(759))}function il(){const e=s;return typeof Symbol!="function"||!Symbol.iterator?e(1803):Symbol[e(1002)]}var Rr=il();function Jr(e){return Ve(e?.[Rr])}function _r(e){return Os(this,arguments,function(){var t,o,x,r;return Ir(this,function(i){const c=_0x5590;switch(i[c(663)]){case 0:t=e[c(1495)](),i.label=1;case 1:i[c(372)][c(1759)]([1,,9,10]),i[c(663)]=2;case 2:return[4,pn(t[c(2011)]())];case 3:return o=i.sent(),x=o[c(1044)],r=o[c(1998)],r?[4,pn(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,pn(x)];case 6:return[4,i[c(1094)]()];case 7:return i[c(1094)](),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Qr(e){return Ve(e?.getReader)}function on(e){if(e instanceof g0)return e;if(e!=null){if(Xr(e))return cl(e);if(qr(e))return al(e);if(Wr(e))return sl(e);if(Kr(e))return Fr(e);if(Jr(e))return ll(e);if(Qr(e))return dl(e)}throw Zr(e)}function cl(e){return new g0(function(n){const t=_0x5590;var o=e[to]();if(Ve(o[t(1745)]))return o.subscribe(n);throw new TypeError(t(1066))})}function al(e){return new g0(function(n){const t=_0x5590;for(var o=0;o<e.length&&!n[t(1218)];o++)n[t(1026)](e[o]);n[t(1843)]()})}function sl(e){return new g0(function(n){const t=_0x5590;e[t(688)](function(o){const x=t;!n[x(1218)]&&(n.next(o),n[x(1843)]())},function(o){return n[t(1036)](o)})[t(688)](null,Yr)})}function ll(e){return new g0(function(n){const t=_0x5590;var o,x;try{for(var r=vn(e),i=r[t(1026)]();!i[t(1998)];i=r[t(1026)]()){var c=i[t(1044)];if(n[t(1026)](c),n[t(1218)])return}}catch(d){o={error:d}}finally{try{i&&!i[t(1998)]&&(x=r.return)&&x[t(414)](r)}finally{if(o)throw o[t(1036)]}}n[t(1843)]()})}function Fr(e){return new g0(function(n){const t=_0x5590;ul(e,n)[t(714)](function(o){return n.error(o)})})}function dl(e){return Fr(_r(e))}function ul(e,n){var t,o,x,r;return Gs(this,void 0,void 0,function(){var i,c;return Ir(this,function(d){const a=_0x5590;switch(d[a(663)]){case 0:d[a(372)][a(1759)]([0,5,6,11]),t=Hs(e),d[a(663)]=1;case 1:return[4,t[a(1026)]()];case 2:if(o=d[a(1094)](),!!o.done)return[3,4];if(i=o[a(1044)],n[a(1026)](i),n.closed)return[2];d[a(663)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=d[a(1094)](),x={error:c},[3,11];case 6:return d[a(372)][a(1759)]([6,,9,10]),o&&!o.done&&(r=t[a(1174)])?[4,r.call(t)]:[3,8];case 7:d.sent(),d[a(663)]=8;case 8:return[3,10];case 9:if(x)throw x[a(1036)];return[7];case 10:return[7];case 11:return n[a(1843)](),[2]}})})}function Z0(e,n,t,o,x){const r=s;o===void 0&&(o=0),x===void 0&&(x=!1);var i=n[r(630)](function(){const c=r;t(),x?e[c(729)](this[c(630)](null,o)):this[c(479)]()},o);if(e.add(i),!x)return i}function $r(e,n){return n===void 0&&(n=0),tn(function(t,o){t[_0x5590(1745)](xn(o,function(r){return Z0(o,e,function(){return o[_0x5590(1026)](r)},n)},function(){return Z0(o,e,function(){return o[_0x5590(1843)]()},n)},function(r){return Z0(o,e,function(){return o.error(r)},n)}))})}function ei(e,n){return n===void 0&&(n=0),tn(function(t,o){const x=_0x5590;o[x(729)](e.schedule(function(){return t[x(1745)](o)},n))})}function fl(e,n){return on(e).pipe(ei(n),$r(n))}function hl(e,n){const t=s;return on(e)[t(582)](ei(n),$r(n))}function gl(e,n){return new g0(function(t){const o=_0x5590;var x=0;return n[o(630)](function(){const r=o;x===e.length?t[r(1843)]():(t[r(1026)](e[x++]),!t[r(1218)]&&this[r(630)]())})})}function bl(e,n){return new g0(function(t){var o;return Z0(t,n,function(){o=e[Rr](),Z0(t,n,function(){const x=_0x5590;var r,i,c;try{r=o[x(1026)](),i=r[x(1044)],c=r[x(1998)]}catch(d){t[x(1036)](d);return}c?t.complete():t.next(i)},0,!0)}),function(){const x=_0x5590;return Ve(o?.[x(1174)])&&o[x(1174)]()}})}function ni(e,n){const t=s;if(!e)throw new Error(t(1374));return new g0(function(o){Z0(o,n,function(){const x=_0x5590;var r=e[Symbol[x(1041)]]();Z0(o,n,function(){const i=x;r[i(1026)]()[i(688)](function(c){const d=i;c[d(1998)]?o[d(1843)]():o[d(1026)](c.value)})},0,!0)})})}function yl(e,n){return ni(_r(e),n)}function ml(e,n){if(e!=null){if(Xr(e))return fl(e,n);if(qr(e))return gl(e,n);if(Wr(e))return hl(e,n);if(Kr(e))return ni(e,n);if(Jr(e))return bl(e,n);if(Qr(e))return yl(e,n)}throw Zr(e)}function Et(e,n){return n?ml(e,n):on(e)}function w0(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=rl(e);return Et(e,t)}function Fe(e,n){var t=Ve(e)?e:function(){return e},o=function(x){return x[_0x5590(1036)](t())};return new g0(o)}function wl(e){return e instanceof Date&&!isNaN(e)}var vl=Fx(function(e){return function(t){const o=_0x5590;t===void 0&&(t=null),e(this),this[o(1109)]=o(569),this[o(863)]=o(954),this.info=t}});function pl(e,n){const t=s;var o=wl(e)?{first:e}:{each:e},x=o[t(898)],r=o[t(1270)],i=o[t(724)],c=i===void 0?zl:i,d=o[t(634)],a=d===void 0?tl:d,u=o[t(1007)],f=u===void 0?null:u;if(x==null&&r==null)throw new TypeError(t(345));return tn(function(b,g){const w=t;var h,v,M=null,m=0,y=function(p){v=Z0(g,a,function(){const z=_0x5590;try{h[z(479)](),on(c({meta:f,lastValue:M,seen:m}))[z(1745)](g)}catch(P){g[z(1036)](P)}},p)};h=b[w(1745)](xn(g,function(p){const z=w;v?.unsubscribe(),m++,g[z(1026)](M=p),r>0&&y(r)},void 0,void 0,function(){const p=w;!v?.[p(1218)]&&v?.[p(479)](),M=null})),!m&&y(x!=null?typeof x===w(2059)?x:+x-a.now():r)})}function zl(e){throw new vl(e)}function Ut(e,n){return tn(function(t,o){var x=0;t.subscribe(xn(o,function(r){const i=_0x5590;o.next(e[i(414)](n,r,x++))}))})}function Cl(e,n,t,o,x,r,i,c){const d=s;var a=[],u=0,f=0,b=!1,g=function(){const v=_0x5590;b&&!a[v(2179)]&&!u&&n[v(1843)]()},w=function(v){const M=_0x5590;return u<o?h(v):a[M(1759)](v)},h=function(v){const M=_0x5590;u++;var m=!1;on(t(v,f++))[M(1745)](xn(n,function(y){n[M(1026)](y)},function(){m=!0},void 0,function(){const y=M;if(m)try{u--;for(var p=function(){var P=a[_0x5590(1299)]();i||h(P)};a[y(2179)]&&u<o;)p();g()}catch(z){n[y(1036)](z)}}))};return e[d(1745)](xn(n,w,function(){b=!0,g()})),function(){}}function xo(e,n,t){return t===void 0&&(t=1/0),Ve(n)?xo(function(o,x){return Ut(function(r,i){return n(o,r,x,i)})(on(e(o,x)))},t):(typeof n=="number"&&(t=n),tn(function(o,x){return Cl(o,x,e,t)}))}function Gt(e){return tn(function(n,t){const o=_0x5590;var x=null,r=!1,i;x=n[o(1745)](xn(t,void 0,void 0,function(c){const d=o;i=on(e(c,Gt(e)(n))),x?(x[d(479)](),x=null,i[d(1745)](t)):r=!0})),r&&(x[o(479)](),x=null,i[o(1745)](t))})}function Ml(e,n,t){var o=Ve(e)||n||t?{next:e,error:n,complete:t}:e;return o?tn(function(x,r){const i=_0x5590;var c;(c=o[i(1745)])===null||c===void 0||c.call(o);var d=!0;x[i(1745)](xn(r,function(a){const u=i;var f;(f=o[u(1026)])===null||f===void 0||f[u(414)](o,a),r.next(a)},function(){const a=i;var u;d=!1,(u=o[a(1843)])===null||u===void 0||u[a(414)](o),r.complete()},function(a){const u=i;var f;d=!1,(f=o[u(1036)])===null||f===void 0||f[u(414)](o,a),r[u(1036)](a)},function(){const a=i;var u,f;d&&((u=o[a(479)])===null||u===void 0||u.call(o)),(f=o[a(825)])===null||f===void 0||f[a(414)](o)}))}):Ur}function oo(e){return encodeURIComponent((e||"")[s(349)]()||"__default__")}function Bl(e){const n=s;return e[n(1354)]==="external"?e[n(458)]+"::ext::"+oo(e[n(858)]??""):e.bindNodeId+"::"+e[n(1354)]}function ti(e,n){return e+":"+n}class zn{static instance;eventSubjects=new Map;[s(907)]=new Map;eventBlocks=new Map;[s(682)]=new Map;defaultRuntimeHandlers;constructor(){}static[s(781)](){const n=s;return!zn.instance&&(zn[n(2180)]=new zn),zn[n(2180)]}[s(1913)](n){const t=s;this.eventBlocks[t(721)](n.id,n)}[s(606)](n){this[s(1507)].delete(n)}getEventBlock(n){const t=s;return this[t(1507)][t(1861)](n)}[s(1314)](n){this.defaultRuntimeHandlers=n}[s(1331)](n){const t=s;if(!n)return;const o=this.defaultRuntimeHandlers;this.defaultRuntimeHandlers={dataRequest:{...o?.[t(874)],...n.dataRequest},external:{...o?.external,...n[t(1925)]}}}[s(1231)](n){const t=s,o=this.defaultRuntimeHandlers;if(!(!o&&!n))return{dataRequest:{...o?.[t(874)],...n?.dataRequest},external:{...o?.[t(1925)],...n?.[t(1925)]}}}disposeEventRootPipeline(n){const t=s,o=this[t(907)][t(1861)](n.id);o&&(o.unsubscribe(),this[t(907)].delete(n.id)),this.eventSubjects[t(1234)](n.id)}bindNodeEvent(n){const t=s,o=Bl(n),x=this[t(682)][t(1861)](o);x&&x.id!==n.id&&this.disposeEventRootPipeline(x),this[t(682)][t(721)](o,n),!this[t(1972)][t(1147)](n.id)&&this.createEventFlowPipeline(n)}unbindNodeEvent(n,t,o){const x=s;if(t==="external"){const d=n+"::ext::"+oo(o??""),a=this[x(682)][x(1861)](d);a&&(this[x(428)](a),this[x(682)][x(1234)](d));return}const r=n+"::"+t,i=ti(n,t),c=this.nodeEventBindings[x(1861)](r)??this[x(682)][x(1861)](i);c&&(this[x(428)](c),this[x(682)][x(1234)](r),this[x(682)][x(1234)](i))}[s(904)](n){const t=s,o=[];this[t(682)][t(1322)]((x,r)=>{x[t(458)]===n&&o.push({key:r,root:x})}),o[t(1322)](({key:x,root:r})=>{const i=t;this[i(428)](r),this[i(682)].delete(x)})}getNodeEventBindings(n){const t=s,o=[];return this[t(682)][t(1322)](x=>{const r=t;x.bindNodeId===n&&o[r(1759)](x)}),o}[s(1478)](n,t,o){const x=s,r=n+"::"+t,i=this[x(682)][x(1861)](r)??this[x(682)][x(1861)](ti(n,t));if(!i||!i[x(1306)])return w0({success:!0,result:null,path:[],duration:0});if(!this[x(1972)][x(1861)](i.id))return Fe(()=>new Error("Event flow not initialized for "+r));const d=Date[x(1700)](),a={...o,executionPath:o[x(556)]||[],runtimeHandlers:this[x(1231)](o[x(1738)])};return this[x(1729)](i,a)[x(582)](Ut(u=>({success:!0,result:u,path:a[x(556)],duration:Date[x(1700)]()-d})),Gt(u=>w0({success:!1,error:u[x(1109)]||"Event flow execution failed",path:a.executionPath,duration:Date.now()-d})))}[s(1403)](n,t,o){const x=s,r=n+x(1035)+oo(t),i=this.nodeEventBindings[x(1861)](r);if(!i||!i[x(1306)])return w0({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects[x(1861)](i.id))return Fe(()=>new Error(x(2039)+r));const d=Date[x(1700)](),a={...o,executionPath:o[x(556)]||[],runtimeHandlers:this.mergeRuntimeHandlers(o.runtimeHandlers)};return this.executeEventFlow(i,a)[x(582)](Ut(u=>({success:!0,result:u,path:a[x(556)],duration:Date[x(1700)]()-d})),Gt(u=>w0({success:!1,error:u[x(1109)]||"Event flow execution failed",path:a[x(556)],duration:Date[x(1700)]()-d})))}createEventFlowPipeline(n){const t=s,o=new Or;this.eventSubjects[t(721)](n.id,o)}[s(1729)](n,t){const o=s,{nodes:x,edges:r}=n.flowData;if(x[o(2179)]===0)return w0(null);const i=x[o(815)](c=>c[o(1439)][o(2179)]===0);return i[o(2179)]===0?Fe(()=>new Error("No start node found in event flow")):this[o(545)](i,x,r,t,{})}[s(545)](n,t,o,x,r){const i=s;if(n.length===0)return w0(r);const c=n[i(474)](d=>this[i(1112)](d,x,r)[i(582)](Ml(a=>{const u=i;r[d.id]=a,x.executionPath[u(1759)](d.id)})));return Et(c)[i(582)](xo(d=>d,1),Ut(()=>{const d=i,a=new Set;return n[d(1322)](f=>{const b=d;f[b(2086)].forEach(g=>{const w=b,h=t[w(990)](v=>v.id===g);h&&h.inputs.every(M=>r[M]!==void 0)&&a[w(729)](g)})}),t[d(815)](f=>a[d(1147)](f.id))}),xo(d=>{const a=i;return d.length>0?this[a(545)](d,t,o,x,r):w0(r)}),pl(3e4),Gt(d=>(console.error(i(1056),d),Fe(()=>d))))}[s(602)](n){const t=s;return this[t(1507)][t(1861)](n[t(1481)])??n[t(1551)][t(1418)]}[s(803)](n,t,o){const x=s;return n[x(830)](/\{\{\s*([^}]+?)\s*\}\}/g,(r,i)=>{const c=x,d=String(i)[c(349)]();if(d[c(2189)]("$")){const u=this[c(1327)](o,d[c(852)](1));return u==null?"":String(u)}const a=t[d];return a==null?"":String(a)})}executeBuiltin(n,t,o){const x=s,r=n[x(747)];if(!r)return Fe(()=>new Error("内置动作未选择类型"));if(r==="antdMessage"){const i=n.builtinConfig??{},c=String(i[x(592)]??""),d=i.level??"info",a=i.duration,u=this[x(803)](c,o,t);if(!u[x(349)]())return Fe(()=>new Error(x(588)));try{const f={type:d,content:u};if(a!=null&&a!==""){const b=Number(a);!Number[x(1782)](b)&&(f[x(850)]=b)}return C[x(1109)][x(1564)](f),w0({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Fe(()=>f)}}if(r==="switchCanvas"){const i=n[x(1554)]??{},c=String(i.targetCanvasId??"")[x(349)]();if(!c)return Fe(()=>new Error(x(1904)));const d=t[x(819)]??t[x(1315)];if(!d)return Fe(()=>new Error("当前环境不支持画布切换"));try{return d(c),w0({ok:!0,builtinId:r,targetCanvasId:c,withHistory:!!t[x(819)]})}catch(a){return Fe(()=>a)}}return Fe(()=>new Error(x(2183)+String(r)))}invokeRuntimeHandler(n,t,o){try{const x=n(t,o);return x instanceof Promise?Et(x):w0(x)}catch(x){return Fe(()=>x)}}executeSingleFlowNode(n,t,o){const x=s,r=this[x(602)](n);if(!r)return Fe(()=>new Error(x(2023)+n[x(1481)]));const i=this[x(2057)](n,t,o),c=r[x(1205)]??"inlineScript";if(c==="dataRequest"){const d=(r[x(439)]||"")[x(349)]();if(!d)return Fe(()=>new Error("事件块未配置 dataRequestKey"));const a=t.runtimeHandlers?.[x(874)]?.[d];return a?this[x(594)](a,t,i):Fe(()=>new Error(x(1825)+d))}if(c===x(1925)){const d=(r[x(357)]||"")[x(349)]();if(!d)return Fe(()=>new Error("事件块未配置 externalHandlerKey"));const a=t.runtimeHandlers?.[x(1925)]?.[d];return a?this[x(594)](a,t,i):Fe(()=>new Error(x(841)+d))}if(c===x(434))return this.executeBuiltin(r,t,i);try{const d=new Function(x(1504),"context","args",r.callback),a=d(t[x(1284)],t,i);return a instanceof Promise?Et(a):w0(a)}catch(d){return Fe(()=>d)}}[s(2057)](n,t,o){const x=s,r={$event:t[x(1208)],$data:t[x(1551)],$node:t[x(1284)]},{inputMapping:i}=n[x(1551)];return i&&Object.entries(i)[x(1322)](([c,d])=>{const a=x;if(d.startsWith(a(915))){const u=d[a(830)](a(915),"");r[c]=o[u]}else if(d.startsWith("$")){const u=d[a(852)](1);r[c]=this[a(1327)](t,u)}else r[c]=d}),r}[s(1327)](n,t){return t.split(".").reduce((o,x)=>{if(o!==null&&typeof o=="object"&&x in o)return o[x]},n)}clearAll(){const n=s;this.subscriptions.forEach(t=>t[n(479)]()),this.subscriptions[n(1390)](),this[n(1972)][n(1390)](),this.nodeEventBindings[n(1390)]()}}const Cn=zn[s(781)](),xi=({node:e,children:n,runtimeHandlers:t,flowContextData:o})=>{const x=s,{eventFlow:r,switchCanvas:i,jumpToCanvas:c}=Qe(),d=B[x(780)](null),a=B[x(1318)](()=>{const f=x;return r[f(1271)].filter(b=>b[f(458)]===e.id&&b[f(1306)])},[r[x(1271)],e.id]),u=B[x(1318)](f=>b=>{const g=_0x5590,w=a()[g(815)](v=>v[g(1354)]===f);if(w.length===0)return;f!==g(2168)&&f!==g(1678)&&b[g(810)](),b.stopPropagation();const h=o&&typeof o===g(878)?{...o}:{};w[g(1322)](v=>{const M=g;Cn.emit(e.id,f,{triggerNode:e,originalEvent:b,data:h,runtimeHandlers:t,switchCanvas:i,jumpToCanvas:c})[M(1745)]({next:m=>{const y=M;!m[y(1093)]&&console.error(y(1412),m[y(1036)])},error:m=>{const y=M;console[y(1036)](y(1220),m)}})})},[a,e,t,o]);return B.useEffect(()=>{const f=x;return a()[f(1322)](g=>{Cn.bindNodeEvent(g)}),()=>{Cn[f(904)](e.id)}},[a,e.id]),B[x(2005)](()=>{const f=x,b=d.current;if(!b)return;const g={click:u(f(1164)),mousedown:u("mouseDown"),mouseup:u("mouseUp"),dblclick:u(f(536)),mouseover:u(f(2168)),mouseleave:u(f(1678)),mouseenter:u(f(1340)),contextmenu:u(f(1133))};return Object[f(1615)](g)[f(1322)](([w,h])=>{b[f(1892)](w,h,!0)}),()=>{const w=f;Object[w(1615)](g)[w(1322)](([h,v])=>{b[w(1665)](h,v,!0)})}},[u]),B[x(425)](n,{ref:f=>{const b=x;d.current=f;const g=n[b(941)];typeof g===b(1347)?g(f):g&&"current"in g&&(g[b(523)]=f)}})},{Text:oi}=C[s(464)],ri=(e,n)=>{const t=s;if(!n||!e)return{value:void 0};if(Array[t(565)](e)){const o=e[t(990)](x=>x.paramsCode===n);if(o)return{value:o[t(1044)],unit:o[t(2013)]}}else if(typeof e===t(878)){const o=n[t(897)](".");let x=e;for(const r of o){if(x===null||typeof x!==t(878))return{value:void 0};x=x[r]}if(x!==void 0)return{value:x,unit:e.unit}}return{value:void 0}};function Dl(e){return Array[s(565)](e)}const Ll=(e,n,t)=>{const o=s,x=e.content||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:c,boundDatasetBindValue:d}=x;if(!r)return{value:void 0};if(i){const a=n.find(u=>u.id===i);if(a){let u;Dl(a[o(2133)])?c!=null&&d!=null?u=a[o(2133)][o(990)](b=>b[c]===d)||{}:u={}:u=a[o(2133)];const f=t&&typeof t===o(878)?{...u,...t}:u;return ri(f,r)}}return ri(t,r)},Nl=(e,n)=>{const t=s;if(e==null||e==="")return"";if(n===-1)return String(e);const o=Number(e);return isNaN(o)?String(e):o[t(708)](n??2)},Sl=(e,n,t,o,x)=>{const r=s;switch(e[r(1912)]){case"IMAGE":const i=e,c=i.backgroundColor,d=i[r(1334)];let a=i[r(1950)];return d&&a&&a[r(1419)](r(1600))&&(e[r(863)]==="矩形"?a="data:image/svg+xml,"+encodeURIComponent(r(2056)+d+r(1013)):e[r(863)]==="圆形"?a=r(1146)+encodeURIComponent(r(2051)+d+r(1376)):e[r(863)]===r(605)&&(a=r(1146)+encodeURIComponent(r(2056)+d+r(1466)))),l[r(1375)](r(1037),{className:r(1661),style:{backgroundColor:c},children:a?l[r(1375)](r(1663),{src:a,alt:e.name,style:{width:r(1575),height:r(1575),objectFit:r(1906)}}):l[r(1375)](r(1037),{className:"w-full h-full flex items-center justify-center",children:l[r(1375)](r(2163),{className:r(982),children:r(548)})})});case r(1509):const u=e,{label:f,value:b,valueSourceCode:g,unit:w,decimals:h,labelStyle:v,valueStyle:M,customStyle:m}=u.content||{},{value:y,unit:p}=g?Ll(u,x||[],n):{value:void 0,unit:void 0},z=y!==void 0?y:b,P=Nl(z,h),G=w||p||"";return l[r(884)]("div",{className:r(1601),style:{...m},children:[f&&l[r(1375)](oi,{style:{fontSize:14,fontWeight:r(1268),color:r(1085),textAlign:"left",...v},children:f}),P&&l[r(884)](oi,{style:{fontSize:14,color:r(1483),textAlign:r(937),...M},children:[P,G?" "+G:""]})]});case r(1701):const O=e,{thickness:V=2,color:j="#d9d9d9",dashed:q=!1,lineType:H=r(q?444:535),lineWeight:W=V,startX:T=0,startY:N=0,endX:L=100,endY:D=0}=O.config||{},Y=$=>{const F=r,xe=Math[F(2172)](W,1);switch($){case F(535):return"";case F(444):return xe*8+","+xe*4;case F(613):return xe*12+","+xe*3+","+xe*2+","+xe*3;case"phantom":return xe*12+","+xe*3+","+xe*2+","+xe*3+","+xe*2+","+xe*3;case F(457):return xe+","+xe*3;case F(2007):return xe*8+","+xe*3+","+xe+","+xe*3;default:return""}},U=Y(H),I=t?r(1483):j;return l[r(1375)](r(1037),{className:r(2101),style:{overflow:r(963)},children:l[r(884)]("svg",{className:r(1874),width:r(1575),height:r(1575),style:{overflow:"visible",pointerEvents:r(988)},children:[l.jsx(r(1190),{x1:T,y1:N,x2:L,y2:D,stroke:r(1911),strokeWidth:Math.max(W,10),strokeLinecap:r(381),strokeLinejoin:r(381),style:{pointerEvents:"stroke",cursor:r(619)}}),l[r(1375)](r(1190),{x1:T,y1:N,x2:L,y2:D,stroke:I,strokeWidth:W,strokeDasharray:U,strokeLinecap:"round",strokeLinejoin:r(381),style:{pointerEvents:"none"}})]})});case r(601):const J=e;return J[r(1730)]?J.render({}):l[r(1375)]("div",{className:r(1781),children:l[r(1375)]("span",{className:r(982),children:r(1711)})});default:return l[r(1375)](r(1037),{className:"w-full h-full flex items-center justify-center bg-gray-100",children:l.jsx(r(2163),{className:r(982),children:"未知类型"})})}},kl=({node:e,isSelected:n=!1,onClick:t,onMouseDown:o,data:x,onUpdateNode:r,scale:i=1,enableEventFlow:c=!1,eventFlowData:d})=>{const a=s,{normalStyle:u,controlInfo:f}=e,{isClickable:b,isDraggable:g,isResizable:w}=f,h=e[a(742)],v=Qe(A=>A[a(1440)]),M=Qe(A=>A[a(813)]),m=B[a(780)](t);B[a(2005)](()=>{const A=a;m[A(523)]=t},[t]);const[y,p]=B[a(883)](null),z=B[a(780)](null),P=B.useRef(null),G=B[a(780)](null),O=B[a(780)](null),V=B[a(780)](null),[j,q]=B.useState(null),H=B[a(780)](null),W=B[a(780)](null),T=B.useMemo(()=>{const A=a,Z=e[A(742)][A(1833)];if(Z[A(2179)]===0)return;const ne=Br(Z,x,v);return ne||Z[0]},[e[a(742)][a(1833)],x,v]),N=B[a(780)](e.contentInfo[a(1542)]);B[a(2005)](()=>{const A=a;N[A(523)]=e[A(742)][A(1542)]},[e.id]),B[a(2005)](()=>{const A=a,Z=T?.id;Z!==void 0&&N[A(523)]!==Z&&(N[A(523)]=Z,M(e.id,{contentInfo:{...e.contentInfo,currentStatusId:Z}}))},[T?.id,e.id,M]);const L=T?.material,D=L?.[a(1912)]===a(1701),Y=D?L.config:null,U=u[a(690)]??1,I=(u.width||100)*U,J=(u[a(1355)]||100)*U,$=B[a(1318)](()=>{const A=a,Z=V[A(523)]?.[A(1720)]('[data-canvas="true"]');if(!Z)return i;const ne=Z[A(1821)](),te=parseFloat(Z[A(1476)].width);return te?ne[A(1710)]/te:i},[i]),F=B[a(1318)]((A,Z)=>{const ne=a;A.stopPropagation(),A[ne(810)]();const te=Y?.[ne(957)]||0,X=Y?.[ne(504)]||0,oe=Y?.[ne(1676)]||0,ve=Y?.[ne(1945)]||0,pe=u.x||0,Ie=u.y||0,Ae=Math.max((Y?.[ne(1200)]||Y?.[ne(1531)]||2)*2,4),Ee=Math[ne(775)](te,oe),Ne=Math[ne(775)](X,ve),ke=Math[ne(2172)](te,oe),Oe=Math.max(X,ve),je=Math[ne(2172)](ke-Ee,Ae),qe=Math.max(Oe-Ne,Ae);z[ne(523)]={mouseX:A[ne(1072)],mouseY:A[ne(1301)],startX:te,startY:X,endX:oe,endY:ve,nodeX:pe,nodeY:Ie};const We=Math[ne(775)](te,oe),$e=Math[ne(775)](X,ve);G.current={nodeX:pe+We,nodeY:Ie+$e,width:je,height:qe,startX:te-We,startY:X-$e,endX:oe-We,endY:ve-$e},P[ne(523)]=T||null,p(Z)},[Y,u.x,u.y,T]);B[a(2005)](()=>{const A=a;if(!y||!D||!Y||!r)return;const Z=te=>{const X=_0x5590,oe=z[X(523)];if(!oe||!V[X(523)])return;const ve=$(),pe=(te[X(1072)]-oe[X(1792)])/ve,Ie=(te[X(1301)]-oe[X(1153)])/ve;let Ae=oe.startX,Ee=oe[X(504)],Ne=oe[X(1676)],ke=oe[X(1945)],Oe=oe[X(2064)],je=oe[X(388)];y===X(1310)?(Ae=oe[X(957)]+pe,Ee=oe[X(504)]+Ie,Ae<0&&(Oe=oe[X(2064)]+Ae,Ne=oe.endX-Ae,Ae=0),Ee<0&&(je=oe[X(388)]+Ee,ke=oe.endY-Ee,Ee=0)):(Ne=oe.endX+pe,ke=oe[X(1945)]+Ie,Ne<0&&(Oe=oe[X(2064)]+Ne,Ae=oe.startX-Ne,Ne=0),ke<0&&(je=oe.nodeY+ke,Ee=oe.startY-ke,ke=0));const qe=Math[X(2172)]((Y[X(1200)]||2)*2,4),We=Math[X(775)](Ae,Ne),$e=Math[X(775)](Ee,ke),b0=Math[X(2172)](Ae,Ne),B0=Math.max(Ee,ke),t0=Oe+We,a0=je+$e,x0=Ae-We,s0=Ee-$e,h0=Ne-We,V0=ke-$e,$0=Math[X(2172)](b0-We,qe),q0=Math[X(2172)](B0-$e,qe);G.current={nodeX:t0,nodeY:a0,width:$0,height:q0,startX:x0,startY:s0,endX:h0,endY:V0};const Ke=V[X(523)];Ke[X(1476)][X(937)]=t0+"px",Ke[X(1476)][X(1117)]=a0+"px",Ke.style[X(1710)]=$0+"px",Ke[X(1476)].height=q0+"px",Ke[X(1214)](X(1682)).forEach(D0=>{const gn=X;D0[gn(1051)]("x1",String(x0)),D0[gn(1051)]("y1",String(s0)),D0.setAttribute("x2",String(h0)),D0[gn(1051)]("y2",String(V0))});const e0=Ke[X(1525)](X(1526)),A0=Ke[X(1525)](X(1671));e0&&(e0[X(1476)][X(937)]=x0-6+"px",e0[X(1476)][X(1117)]=s0-6+"px"),A0&&(A0[X(1476)].left=h0-6+"px",A0.style.top=V0-6+"px")},ne=()=>{const te=_0x5590,X=G[te(523)];if(!X||!r){p(null),z[te(523)]=null,G[te(523)]=null,P[te(523)]=null;return}const oe=Qe[te(1305)]().nodes[te(990)](Ne=>Ne.id===e.id),ve=oe?.contentInfo[te(1833)]??e[te(742)].statusList,pe=P[te(523)],Ie=pe?.id??ve[te(990)](Ne=>Ne[te(956)][te(1912)]===te(1701))?.id,Ae=ve[te(474)](Ne=>{const ke=te;if(Ne[ke(956)][ke(1912)]!==ke(1701)||Ne.id!==Ie)return Ne;const Oe=Ne[ke(956)];return{...Ne,material:{...Oe,config:{...Oe.config,startX:X.startX,startY:X[ke(504)],endX:X[ke(1676)],endY:X.endY}}}}),Ee=oe?.[te(742)]??h;r(e.id,{normalStyle:{x:X[te(2064)],y:X[te(388)],width:X.width,height:X.height},contentInfo:{...Ee,statusList:Ae}}),p(null),z[te(523)]=null,G[te(523)]=null,P[te(523)]=null};return window.addEventListener(A(920),Z),window[A(1892)](A(814),ne),()=>{const te=A;window[te(1665)](te(920),Z),window[te(1665)](te(814),ne)}},[y,D,Y,e.id,u,h,e[a(742)][a(1833)],r,$]),B[a(2005)](()=>{const A=a;if(!j||!r)return;const Z=te=>{const X=_0x5590;if(!V[X(523)])return;const oe=$(),ve=(te.clientX-j[X(957)])/oe,pe=(te.clientY-j[X(504)])/oe,Ie=j.startRotate,Ae=Ie*Math.PI/180,Ee=Math[X(2040)](Ae),Ne=Math.sin(Ae),ke=ve*Ee+pe*Ne,Oe=-ve*Ne+pe*Ee;let je=j.startWidth,qe=j[X(993)],We=j[X(1311)],$e=j[X(1731)];switch(j[X(1910)]){case"se":je=Math.max(20,j[X(2131)]+ke),qe=Math[X(2172)](20,j[X(993)]+Oe);break;case"sw":je=Math.max(20,j[X(2131)]-ke),qe=Math[X(2172)](20,j[X(993)]+Oe),We=j[X(1311)]+(j[X(2131)]-je);break;case"ne":je=Math[X(2172)](20,j[X(2131)]+ke),qe=Math.max(20,j[X(993)]-Oe),$e=j[X(1731)]+(j[X(993)]-qe);break;case"nw":je=Math[X(2172)](20,j[X(2131)]-ke),qe=Math[X(2172)](20,j[X(993)]-Oe),We=j[X(1311)]+(j[X(2131)]-je),$e=j[X(1731)]+(j[X(993)]-qe);break}if(Ie!==0){let B0=0,t0=0,a0=0,x0=0;switch(j.corner){case"se":B0=0,t0=0,a0=0,x0=0;break;case"sw":B0=j[X(2131)],t0=0,a0=je,x0=0;break;case"ne":B0=0,t0=j[X(993)],a0=0,x0=qe;break;case"nw":B0=j.startWidth,t0=j[X(993)],a0=je,x0=qe;break}const s0=B0-j[X(2131)]/2,h0=t0-j[X(993)]/2,V0=s0*Ee-h0*Ne,$0=s0*Ne+h0*Ee,q0=a0-je/2,Ke=x0-qe/2,hn=q0*Ee-Ke*Ne,e0=q0*Ne+Ke*Ee;We=j[X(1311)]+j[X(2131)]/2-je/2+V0-hn,$e=j.startNodeY+j[X(993)]/2-qe/2+$0-e0}O[X(523)]={x:We,y:$e,width:je,height:qe};const b0=V[X(523)];b0[X(1476)][X(937)]=We+"px",b0.style[X(1117)]=$e+"px",b0[X(1476)][X(1710)]=je+"px",b0[X(1476)][X(1355)]=qe+"px"},ne=()=>{const te=_0x5590,X=O[te(523)];X&&r(e.id,{normalStyle:{...u,x:X.x,y:X.y,width:X[te(1710)],height:X.height}}),q(null),O.current=null};return window.addEventListener(A(920),Z),window[A(1892)]("mouseup",ne),()=>{const te=A;window[te(1665)](te(920),Z),window[te(1665)](te(814),ne)}},[j,r,e.id,u,$]);const xe=B[a(1318)]((A,Z)=>{const ne=a;A.stopPropagation(),A[ne(810)](),q({corner:Z,startX:A[ne(1072)],startY:A[ne(1301)],startWidth:u[ne(1710)]||100,startHeight:u.height||100,startNodeX:u.x||0,startNodeY:u.y||0,startRotate:u[ne(1442)]||0})},[u[a(1710)],u.height,u.x,u.y,u[a(1442)]]),re=B[a(1318)](A=>{const Z=a;A[Z(1313)](),A[Z(810)]();const ne=V[Z(523)]?.[Z(1821)]();if(!ne)return;H[Z(523)]={startX:A[Z(1072)],startY:A[Z(1301)],startAngle:u.rotate||0,centerX:ne.left+ne[Z(1710)]/2,centerY:ne[Z(1117)]+ne[Z(1355)]/2};const te=u[Z(1121)]||"",X=pe=>{const Ie=Z;V[Ie(523)]&&(V[Ie(523)][Ie(1476)].transform=te?"rotate("+pe+Ie(376)+te:"rotate("+pe+Ie(1494))};X(u[Z(1442)]||0);const oe=pe=>{const Ie=Z;if(!H[Ie(523)])return;const Ae=pe.clientX-H[Ie(523)][Ie(1187)],Ee=pe.clientY-H[Ie(523)].centerY;let ke=(Math[Ie(1654)](Ee,Ae)*(180/Math.PI)+90)%360;ke<0&&(ke+=360),W.current=ke,X(ke)},ve=()=>{const pe=Z,Ie=W[pe(523)]??H[pe(523)][pe(1784)];if(W.current=null,H[pe(523)]=null,r){const Ae=e[pe(1379)];r(e.id,{normalStyle:{...Ae,rotate:Math.round(Ie)}})}V[pe(523)]?.[pe(1476)][pe(661)](pe(1121)),window[pe(1665)](pe(920),oe),window[pe(1665)](pe(814),ve)};window[Z(1892)]("mousemove",oe),window[Z(1892)](Z(814),ve)},[u[a(1442)],u[a(1121)],r,e.id,e[a(1379)]]),ae=e[a(1912)]===a(744),ue=u.transform||"",me=u.rotate||0,se={position:a(2122),left:u.x||0,top:u.y||0,width:I,height:J,background:ae?a(1911):u.background||a(1911),backgroundImage:ae?void 0:u.backgroundImage?a(415)+u[a(875)]+")":void 0,backgroundSize:a(673),backgroundPosition:a(613),padding:Array[a(565)](u.padding)?u[a(448)][a(1881)]("px ")+"px":u.padding,margin:Array[a(565)](u[a(1055)])?u[a(1055)][a(1881)](a(1900))+"px":u.margin,borderRadius:ae?void 0:u[a(681)],border:D||ae?a(988):n?a(1756):u[a(1159)]||a(831),outline:n&&ae&&!D?"2px solid #1890ff":void 0,pointerEvents:"auto",opacity:u.opacity??1,transform:D?ue||void 0:ue?a(1448)+me+a(376)+ue:a(1448)+me+"deg)",transformOrigin:a(935),zIndex:n?1e3:u.zIndex??1,cursor:g&&!y?a(696):b?"pointer":a(384),boxSizing:a(573),overflow:a(n||D||ae?963:1771)},ee={width:a(1575),height:"100%",position:a(692),transformOrigin:a(935),...u[a(532)]||u.flipY?{transform:a(1852)+(u[a(532)]?-1:1)+a(471)+(u[a(1536)]?-1:1)+")"}:{}},le=Y?{x:Y[a(957)]||0,y:Y.startY||0}:{x:0,y:0},be=Y?{x:Y.endX||0,y:Y[a(1945)]||0}:{x:0,y:0},E=l.jsxs(a(1037),{ref:V,"data-node-id":e.id,style:se,onClick:A=>{const Z=a;console[Z(1672)]("NodeRenderer onClick",e.id,Z(1074),b);const ne=m[Z(523)];b&&ne&&!y&&!j&&!H.current&&(A[Z(1313)](),ne(A))},onMouseDown:A=>{g&&o&&!y&&o(A)},children:[n&&!D&&l.jsxs(l[a(1465)],{children:[!ae&&l[a(884)](l[a(1465)],{children:[l[a(1375)]("div",{className:a(366),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(382),marginTop:a(773),marginLeft:a(773)},onMouseDown:A=>xe(A,"nw"),title:a(495)}),l.jsx(a(1037),{className:a(1129),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(789),marginTop:"-6px",marginRight:"-6px"},onMouseDown:A=>xe(A,"ne"),title:a(495)}),l[a(1375)]("div",{className:a(657),style:{zIndex:9999,pointerEvents:a(1798),cursor:"sw-resize",marginBottom:a(773),marginLeft:"-6px"},onMouseDown:A=>xe(A,"sw"),title:a(495)}),l[a(1375)](a(1037),{className:a(1352),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(567),marginBottom:a(773),marginRight:a(773)},onMouseDown:A=>xe(A,"se"),title:"拖拽调整大小"})]}),l[a(1375)]("div",{className:a(2157),style:{zIndex:9999,pointerEvents:a(1798),cursor:a(1104),marginTop:a(1078),transform:a(1382),boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:A=>re(A),title:a(975)}),l.jsx("div",{className:a(2071),style:{zIndex:9998,pointerEvents:a(988),marginTop:a(703),transform:"translateX(-50%)"}}),l[a(884)](a(1037),{className:a(1385),children:[e[a(863)]," ",T?"("+T[a(863)]+")":""]})]}),n&&D&&Y&&r&&l[a(884)](l[a(1465)],{children:[l[a(1375)]("div",{"data-handle":a(1310),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:le.x-6,top:le.y-6,boxShadow:a(1317)},onMouseDown:A=>F(A,a(1310)),title:a(1916)}),l[a(1375)](a(1037),{"data-handle":a(1942),className:a(1377),style:{left:be.x-6,top:be.y-6,boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:A=>F(A,"end"),title:a(945)}),l[a(1375)](a(1037),{className:a(1385),children:e[a(863)]})]}),l[a(884)]("div",{style:D?void 0:ee,className:D?"w-full h-full relative":void 0,children:[l[a(1375)](a(1037),{className:a(2101),children:L?l.jsx(a(1037),{className:a(1991),children:Sl(L,x,n,e,v)}):ae?null:l[a(1375)](a(1037),{className:a(1140),children:a(389)})}),e[a(1912)]==="group"&&e.children&&l[a(1375)](a(1037),{className:"absolute inset-0 pointer-events-none",children:e[a(517)].map(A=>l[a(1375)](a(1037),{className:"pointer-events-auto",children:l[a(1375)](ro,{node:A,isSelected:!1,data:x,onUpdateNode:r,scale:i,enableEventFlow:c,eventFlowData:d})},A.id))})]})]});return c?l[a(1375)](xi,{node:e,flowContextData:d,children:E}):E},ro=B[s(2002)](kl,(e,n)=>{const t=s,o=e[t(1504)],x=n[t(1504)],r=o.id===x.id&&o[t(1379)].x===x[t(1379)].x&&o[t(1379)].y===x.normalStyle.y&&o.normalStyle.width===x[t(1379)].width&&o[t(1379)][t(1355)]===x[t(1379)][t(1355)]&&o.normalStyle.rotate===x[t(1379)][t(1442)]&&o[t(1379)][t(532)]===x[t(1379)][t(532)]&&o.normalStyle[t(1536)]===x.normalStyle[t(1536)],i=o[t(742)]===x[t(742)],c=JSON[t(922)](e[t(991)]??null)===JSON[t(922)](n[t(991)]??null),d=e.isSelected===n[t(1447)]&&e[t(690)]===n[t(690)]&&e.enableEventFlow===n[t(1922)]&&c,a=g=>{const w=t,h=[];return g[w(742)]?.[w(1833)]?.[w(1322)](v=>{const M=w;if(v[M(956)]?.type===M(1701)){const m=v[M(956)][M(1936)];h[M(1759)]({statusId:v.id,startX:m?.[M(957)]??0,startY:m?.[M(504)]??0,endX:m?.[M(1676)]??100,endY:m?.[M(1945)]??0})}}),h},u=a(o),f=a(x);let b=!0;if(u.length!==f[t(2179)])b=!1;else for(let g=0;g<u[t(2179)];g++){const w=u[g],h=f[t(990)](v=>v[t(1431)]===w.statusId);if(!h||w[t(957)]!==h.startX||w.startY!==h.startY||w[t(1676)]!==h[t(1676)]||w.endY!==h.endY){b=!1;break}}return r&&i&&d&&b}),Il=()=>{const e=s,{root:n,addSiblingGroup:t,removeSiblingGroup:o,updateSiblingGroup:x,addCanvasToSiblingGroup:r,removeCanvasFromSiblingGroup:i,moveCanvasInSiblingGroup:c,nextSiblingCanvas:d,prevSiblingCanvas:a,setActiveSiblingGroup:u}=Qe(),f=n[e(408)]??null,b=n[e(511)]||[],[g,w]=B[e(883)](b[0]?.id??null),h=B[e(1581)](()=>b[e(990)](j=>j.id===g)||null,[b,g]),[v,M]=B[e(883)](null),[m,y]=B[e(883)](""),[p,z]=B[e(883)](void 0),P=B[e(1581)](()=>{const j=e;return h?n[j(974)][j(815)](q=>!h[j(869)][j(1419)](q.id)):n[j(974)]},[n[e(974)],h]),G=B[e(1318)](()=>{const j=t();w(j)},[t]),O=B[e(1318)](j=>{const q=e,H=m.trim();if(!H){C[q(1109)][q(1517)](q(2120));return}x(j,{name:H}),M(null),y("")},[m,x]),V=B[e(1318)](()=>{!h||!p||(r(h.id,p),z(void 0))},[h,p,r]);return l[e(884)](e(1037),{className:e(525),style:{minHeight:360},children:[l[e(884)](e(1037),{className:e(1e3),style:{minWidth:220},children:[l.jsxs("div",{className:e(2009),children:[l[e(1375)](e(2163),{className:"font-semibold text-gray-700",children:e(398)}),l[e(1375)](C.Button,{type:e(2085),size:"small",icon:l.jsx(de[e(952)],{}),onClick:G,children:"新建"})]}),b[e(2179)]===0?l[e(1375)](C.Empty,{description:"暂无同级关系,点击「新建」开始",image:C[e(1491)][e(1462)],style:{marginTop:40}}):l[e(1375)](C[e(853)],{size:e(1400),dataSource:b,renderItem:j=>{const q=e,H=j.id===g,W=v===j.id;return l[q(1375)](C[q(853)][q(1254)],{onClick:()=>{W||w(j.id)},style:{cursor:q(619),background:H?q(811):void 0,padding:q(1197)},actions:[W?l.jsx(C.Button,{type:q(1088),size:"small",onClick:T=>{T.stopPropagation(),O(j.id)},children:"保存"}):l[q(1375)](C[q(879)],{title:"重命名",children:l.jsx(C[q(1105)],{type:q(1918),size:"small",icon:l.jsx(de[q(2165)],{}),onClick:T=>{const N=q;T[N(1313)](),M(j.id),y(j[N(863)])}})},q(639)),l[q(1375)](C[q(1708)],{title:q(574),okText:"删除",cancelText:"取消",okButtonProps:{danger:!0},onConfirm:T=>{const N=q;if(T?.stopPropagation(),o(j.id),g===j.id){const L=b[N(815)](D=>D.id!==j.id);w(L[0]?.id??null)}},onCancel:T=>T?.[q(1313)](),children:l[q(1375)](C[q(1105)],{type:q(1918),size:q(1400),danger:!0,icon:l[q(1375)](de.DeleteOutlined,{}),onClick:T=>T[q(1313)]()})},"delete")],children:W?l[q(1375)](C[q(465)],{autoFocus:!0,size:q(1400),value:m,onChange:T=>y(T[q(500)].value),onPressEnter:()=>O(j.id),onClick:T=>T.stopPropagation(),style:{width:140}}):l.jsxs(q(2163),{className:q(1965),children:[l.jsx("span",{style:{fontWeight:H?600:400},children:j[q(863)]}),l.jsx(C.Tag,{color:"blue",children:j.canvasIds[q(2179)]}),f===j.id&&l[q(1375)](C[q(2158)],{color:q(1337),children:"浏览中"})]})})}})]}),l[e(1375)](e(1037),{className:"flex-1 border border-gray-200 rounded p-2",style:{minWidth:280},children:h?l.jsxs(l.Fragment,{children:[l[e(884)](e(1037),{className:e(2009),children:[l.jsx(e(2163),{className:e(1605),children:e(1764)}),l[e(884)](C[e(1450)],{size:e(1400),children:[f===h.id?l[e(1375)](C.Tooltip,{title:e(836),children:l[e(1375)](C[e(1105)],{size:e(1400),onClick:()=>u(null),children:e(512)})}):l[e(1375)](C.Tooltip,{title:e(475),children:l[e(1375)](C.Button,{size:e(1400),type:"primary",ghost:!0,disabled:h[e(869)].length===0,onClick:()=>u(h.id),children:e(916)})}),l[e(1375)](C[e(879)],{title:e(1062),children:l.jsx(C[e(1105)],{size:e(1400),icon:l[e(1375)](de[e(912)],{}),disabled:h[e(869)][e(2179)]<2,onClick:()=>a(h.id)})}),l[e(1375)](C[e(879)],{title:e(1338),children:l[e(1375)](C[e(1105)],{size:e(1400),icon:l[e(1375)](de.RightOutlined,{}),disabled:h[e(869)].length<2,onClick:()=>d(h.id)})})]})]}),l[e(884)](e(1037),{className:e(597),children:[l[e(1375)](C[e(1125)],{placeholder:"选择画布加入",value:p,onChange:z,style:{flex:1},size:e(1400),disabled:P[e(2179)]===0,options:P[e(474)](j=>({label:j.name,value:j.id}))}),l[e(1375)](C.Button,{size:"small",type:e(2085),icon:l[e(1375)](de[e(952)],{}),disabled:!p,onClick:V,children:"加入"})]}),h[e(869)][e(2179)]===0?l[e(1375)](C.Empty,{description:e(1880),image:C.Empty[e(1462)],style:{marginTop:40}}):l[e(1375)](C[e(853)],{size:e(1400),dataSource:h.canvasIds,renderItem:(j,q)=>{const H=e,W=n[H(974)][H(990)](L=>L.id===j),T=n[H(687)]===j,N=h[H(869)].length;return l[H(1375)](C[H(853)][H(1254)],{style:{padding:"6px 8px"},actions:[l[H(1375)](C[H(879)],{title:"上移",children:l[H(1375)](C[H(1105)],{type:"text",size:H(1400),icon:l[H(1375)](de[H(1307)],{}),disabled:q===0,onClick:()=>c(h.id,j,"up")})},"up"),l[H(1375)](C[H(879)],{title:"下移",children:l[H(1375)](C[H(1105)],{type:H(1918),size:H(1400),icon:l[H(1375)](de[H(445)],{}),disabled:q===N-1,onClick:()=>c(h.id,j,H(1221))})},H(1221)),l[H(1375)](C.Tooltip,{title:H(2041),children:l[H(1375)](C[H(1105)],{type:H(1918),size:H(1400),danger:!0,icon:l[H(1375)](de[H(635)],{}),onClick:()=>i(h.id,j)})},H(928))],children:l[H(884)](H(2163),{className:H(1965),children:[l[H(1375)](C[H(2158)],{children:q+1}),l[H(1375)](H(2163),{style:{fontWeight:T?600:400},children:W?.[H(863)]??"(已删除:"+j[H(852)](0,6)+")"}),T&&l[H(1375)](C[H(2158)],{color:H(1337),children:"当前"})]})})}})]}):l[e(1375)](C.Empty,{description:e(1446),image:C[e(1491)][e(1462)],style:{marginTop:60}})})]})},Pl=["#1890ff",s(720),s(2132),s(1216),s(416),s(739),"#13c2c2",s(1753),"#595959",s(1085),s(2171),s(2106),s(470),s(1182),s(749),s(826)],Mn=({value:e=s(1483),onChange:n,onChangeComplete:t})=>{const o=s,[x,r]=B[o(883)](!1),[i,c]=B[o(883)](e),d=B.useRef(null);B[o(2005)](()=>{c(e)},[e]),B[o(2005)](()=>{const u=o,f=b=>{const g=_0x5590;d[g(523)]&&!d[g(523)][g(611)](b.target)&&(r(!1),t?.({toHexString:()=>i}))};return x&&document.addEventListener("mousedown",f),()=>document.removeEventListener(u(1618),f)},[x,t,i]);const a=u=>{c(u),n?.({toHexString:()=>u})};return l.jsxs("div",{ref:d,style:{position:o(692),display:"inline-block"},children:[l[o(1375)](o(1037),{onClick:()=>r(!x),style:{width:28,height:28,backgroundColor:i,border:o(481),borderRadius:4,cursor:"pointer"}}),x&&l[o(884)](o(1037),{style:{position:o(2122),top:32,left:0,zIndex:1e3,background:o(529),padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:o(804)},children:[l[o(1375)](o(1037),{style:{display:o(568),gridTemplateColumns:o(2079),gap:4},children:Pl[o(474)](u=>l.jsx(o(1037),{onClick:()=>{a(u),r(!1),t?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:o(i===u?1756:481),borderRadius:2,cursor:o(619)}},u))}),l.jsx("input",{type:o(1176),value:i,onChange:u=>a(u[o(500)].value),onBlur:()=>t?.({toHexString:()=>i}),style:{width:o(1575),marginTop:8,height:28,border:o(481),borderRadius:4}})]})]})},{TextArea:Al}=C.Input;function jl(e){const n=s;if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return!!(t==="INPUT"||t===n(812)||t===n(1846)||t===n(662)||e[n(732)]||e.closest('[contenteditable="true"]')||e.closest('[role="combobox"]')||e.closest(n(378))||e.closest(n(1689)))}const ii=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:o,initialViewportHeight:x})=>{const r=s,i=B[r(780)](null),c=B[r(780)](null),d=B[r(780)](null),{nodes:a,selectedNodeId:u,selectedNodeIds:f,mode:b,lineDrawing:g,viewport:w,canvas:h,root:v,setViewport:M,setCanvasConfig:m,addNode:y,selectNode:p,updateNode:z,removeNode:P,bringToFront:G,sendToBack:O,undo:V,redo:j,setMode:q,startLineDrawing:H,endLineDrawing:W,cancelLineDrawing:T,addCanvas:N,removeCanvas:L,switchCanvas:D,updateCanvasName:Y,exportCanvas:U,importCanvas:I,setSelectedNodeIds:J}=Qe(),[$,F]=B[r(883)](!1),[,xe]=B[r(883)]({}),re=B[r(780)](b);B[r(2005)](()=>{const k=r;re[k(523)]=b},[b]),B.useEffect(()=>{const k=r;q(k(n?1774:787))},[n,q]);const ae=n&&o&&h[r(1710)]>0?Math.min(o/h[r(1710)],1):.5,ue=n&&o?1:5,me=n&&o&&h.width>0?ae:1,se=n&&o?r(1985)+o+"-"+(x||r(1798))+r(654)+h.width+"-"+h[r(1355)]:r(384),ee=B[r(780)](me),le=B[r(780)](!1),be=B[r(780)]({x:0,y:0}),E=B[r(780)]({x:0,y:0,newX:0,newY:0}),A=B[r(780)](null),[Z,ne]=B[r(883)]({start:null,end:null,isDrawing:!1}),[te,X]=B[r(883)]({start:null,end:null}),oe=f,ve=J;B[r(780)](!1);const[pe,Ie]=B[r(883)](!1),[Ae,Ee]=B[r(883)](!1),[Ne,ke]=B.useState(()=>JSON[r(922)](e??null,null,2)),Oe=B[r(1581)](()=>{const k=r;if(!Ae)return e;try{return JSON[k(1387)](Ne)}catch{return e}},[Ne,e,Ae]),je=B.useMemo(()=>{const k=r,S=Oe;if(S!==null&&typeof S===k(878))return S;if(S!==void 0)return{_payload:S}},[Oe]),qe=B[r(1581)](()=>{const k=r,S=Oe;return S!==null&&typeof S=="object"&&!Array[k(565)](S)?S:Array[k(565)](S)?{_telemetryRows:S}:S==null?{}:{_payload:S}},[Oe]),We=B[r(1318)](()=>{const k=r;let S=e;if(Ae)try{S=JSON.parse(Ne)}catch{S=e}ke(JSON[k(922)](S??null,null,2)),Ie(!0)},[Ne,e,Ae]),[$e,b0]=B[r(883)](!1),[B0,t0]=B.useState(!1),[a0,x0]=B[r(883)](""),[s0,h0]=B[r(883)](!1),V0=B[r(1318)](()=>{const k=r;try{const S=U(),_=JSON[k(922)](S,null,2),R=k(669)+encodeURIComponent(_),ie=k(2116)+S[k(1434)].name+"_"+Date[k(1700)]()+".json",K=document.createElement("a");K[k(1051)](k(1692),R),K[k(1051)](k(1398),ie),K[k(1164)](),C[k(1109)][k(1093)](k(1563))}catch{C.message[k(1036)](k(1823))}},[U]),$0=B[r(1318)](()=>{const k=r;try{const S=JSON.parse(a0);s0?I(S):I(S,v[k(687)]||void 0),t0(!1),x0(""),h0(!1),C[k(1109)].success(k(2127))}catch{C[k(1109)][k(1036)]("JSON 格式错误,请检查输入")}},[a0,s0,I,v.currentCanvasId]),q0=B[r(1318)](k=>{const S=r,_=new FileReader;return _[S(695)]=R=>{const ie=S;try{const K=R[ie(500)]?.result,Q=JSON[ie(1387)](K);s0?I(Q):I(Q,v[ie(687)]||void 0),C[ie(1109)][ie(1093)]("画布导入成功!"),t0(!1),h0(!1)}catch{C[ie(1109)][ie(1036)]("文件格式错误")}},_.readAsText(k),!1},[s0,I,v[r(687)]]),[Ke,hn]=B.useState(!1),e0=B[r(1318)]((k,S)=>{const _=r;if(!c[_(523)])return{x:0,y:0};const R=c[_(523)][_(1821)](),ie=k-R.left,K=S-R[_(1117)],Q=R[_(1710)]/h[_(1710)],fe=R[_(1355)]/h[_(1355)],ye=ie/Q,he=K/fe;return{x:Math[_(381)](ye),y:Math[_(381)](he)}},[h[r(1710)],h[r(1355)]]),A0=B.useCallback((k,S)=>e0(k,S),[e0]),D0=B[r(1318)]((k,S,_=!0)=>{const R=r;if(!g[R(956)])return;const ie=g.material,K=ie[R(1936)]||{},Q=K[R(1200)]||K[R(1531)]||2,fe=Math[R(775)](k.x,S.x),ye=Math[R(775)](k.y,S.y),he=Math[R(381)](k.x-fe),we=Math[R(381)](k.y-ye),Me=Math.round(S.x-fe),De=Math[R(381)](S.y-ye),Be=Math[R(2172)](Q*2,4),Ce=Math.max(Math[R(1537)](k.x-S.x),Be),He=Math[R(2172)](Math[R(1537)](k.y-S.y),Be),Ye=S.x-k.x,ce=S.y-k.y,ge=Math[R(381)](Math.atan2(ce,Ye)*(180/Math.PI)),Te={...ie,id:Le[R(1335)](),config:{color:K[R(1176)],lineWeight:Q,thickness:Q,lineType:K[R(1518)],startX:he,startY:we,endX:Me,endY:De,rotate:ge}},Je={id:Le[R(1335)](),name:ie[R(863)]+"_"+Date.now(),type:R(485),normalStyle:{width:Ce,height:He,x:fe,y:ye,background:"transparent"},contentInfo:{statusList:[_x(Te)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(y(Je,!1),_){const y0={x:S.x,y:S.y};ne({start:y0,end:{...y0},isDrawing:!0})}else ne({start:null,end:null,isDrawing:!1}),W()},[g[r(956)],y,W]),gn=B.useCallback(()=>{const k=r,S=i[k(523)]?.[k(2180)];if(!S)return;const _=S[k(1662)];ee[k(523)]=_[k(690)],M({scale:_[k(690)],positionX:0,positionY:0})},[M]),$o=B[r(1318)](k=>{const S=r;le.current||b!==S(473)&&(k[S(500)]===c[S(523)]||k.target[S(2125)]?.canvas===S(1981))&&(p(null),ve([]))},[p,b]),er=B[r(1318)](k=>{const S=r;if(k[S(752)]===0){if(b===S(1510)&&g[S(956)]){k[S(1313)]();const _=e0(k[S(1072)],k.clientY);Z[S(979)]?Z[S(1310)]&&D0(Z[S(1310)],_,!0):ne({start:_,end:_,isDrawing:!0});return}if(b===S(473)&&!Ke){const _=A0(k[S(1072)],k[S(1301)]);X({start:_,end:_}),ve([]),p(null),k[S(810)](),k.stopPropagation()}}},[b,g.material,Z[r(979)],Z[r(1310)],Ke,D0,e0,A0]),nr=B[r(1318)](k=>{const S=r;if(!(b!==S(1510)||!g[S(956)])&&Z[S(979)]&&Z[S(1310)]){const _=e0(k[S(1072)],k[S(1301)]);D0(Z[S(1310)],_,!1)}},[b,g[r(956)],Z[r(979)],Z[r(1310)],D0,e0]),tr=B[r(1318)](k=>{const S=r;k[S(810)](),k[S(653)][S(964)]=S(1826),F(!0)},[]),xr=B.useCallback(k=>{k[r(810)](),F(!1)},[]),or=B[r(1318)](k=>{const S=r;if(k[S(810)](),F(!1),!(!c.current||b!==S(787)&&b!==S(473)))try{const _=k[S(653)][S(2178)]("application/json");if(!_)return;const R=JSON[S(1387)](_),ie=e0(k[S(1072)],k.clientY),K=ie.x-50,Q=ie.y-50,fe=Sr(K,Q,R);y(fe),ve([fe.id])}catch(_){console[S(1036)](S(482),_)}},[b,y,e0,ve]),rr=B[r(1318)]((k,S)=>{const _=r;b!==_(787)&&b!==_(473)||!S.controlInfo.isDraggable||(k[_(1313)](),p(S.id),le[_(523)]=!0,be.current={x:k[_(1072)],y:k[_(1301)]},E[_(523)]={x:S[_(1379)].x||0,y:S[_(1379)].y||0,newX:S[_(1379)].x||0,newY:S.normalStyle.y||0},A[_(523)]=S,k[_(810)]())},[b,p]);B[r(2005)](()=>{const k=r,S=K=>{const Q=_0x5590;if(le.current&&u&&A.current){if(!c[Q(523)])return;const fe=c[Q(523)][Q(1821)](),ye=fe[Q(1710)]/h.width,he=fe[Q(1355)]/h[Q(1355)],we=K[Q(1072)]-be[Q(523)].x,Me=K[Q(1301)]-be[Q(523)].y,De=we/ye,Be=Me/he,Ce=E[Q(523)].x+De,He=E[Q(523)].y+Be,Ye=document[Q(1525)](Q(571)+u+'"]');Ye&&(Ye[Q(1476)][Q(937)]=Ce+"px",Ye[Q(1476)].top=He+"px"),E[Q(523)][Q(480)]=Ce,E[Q(523)][Q(1966)]=He}if(b===Q(473)&&te[Q(1310)]){const fe=A0(K[Q(1072)],K[Q(1301)]);X(ye=>({...ye,end:fe}))}if(b===Q(1510)&&Z.isDrawing){const fe=e0(K[Q(1072)],K[Q(1301)]);ne(ye=>({...ye,end:fe}))}},_=()=>{const K=_0x5590;if(le[K(523)]&&u&&A[K(523)]){const Q=Qe[K(1305)](),fe=E.current[K(480)]??E[K(523)].x,ye=E[K(523)][K(1966)]??E[K(523)].y;Q[K(813)](u,{normalStyle:{...A[K(523)][K(1379)],x:fe,y:ye}})}if(le[K(523)]=!1,A[K(523)]=null,xe({}),b==="box-select"&&te[K(1310)]&&te.end){const Q=Math[K(775)](te.start.x,te[K(1942)].x),fe=Math[K(2172)](te[K(1310)].x,te[K(1942)].x),ye=Math[K(775)](te[K(1310)].y,te.end.y),he=Math[K(2172)](te[K(1310)].y,te[K(1942)].y),we=a.filter(Me=>{const De=K,Be=Me.normalStyle.x||0,Ce=Me[De(1379)].y||0,He=Me.normalStyle[De(1710)]||0,Ye=Me[De(1379)][De(1355)]||0,ce=Be+He/2,ge=Ce+Ye/2;return ce>=Q&&ce<=fe&&ge>=ye&&ge<=he})[K(474)](Me=>Me.id);ve(we),X({start:null,end:null})}},R=K=>{const Q=_0x5590;if(!jl(K.target)){if(K[Q(844)]==="Escape"&&b==="line-draw"&&(ne({start:null,end:null,isDrawing:!1}),T()),K.key===Q(1229)&&(u?P(u):oe[Q(2179)]>0&&(oe[Q(1322)](fe=>P(fe)),ve([]))),K[Q(1679)]&&K[Q(844)]==="z"&&(K[Q(810)](),V()),K[Q(1679)]&&K[Q(844)]==="y"&&(K[Q(810)](),j()),(b===Q(787)||b===Q(473))&&(K[Q(844)]==="ArrowLeft"||K.key===Q(989)||K[Q(844)]===Q(955)||K[Q(844)]===Q(1386))){const fe=oe[Q(2179)]>0?oe:u?[u]:[];if(fe[Q(2179)]>0){K[Q(810)]();const ye=K.key===Q(2134)?-2:K[Q(844)]===Q(989)?2:0,he=K.key===Q(955)?-2:K[Q(844)]==="ArrowDown"?2:0;fe[Q(1322)](we=>{const Me=Q,De=a[Me(990)](Be=>Be.id===we);De&&z(we,{normalStyle:{...De[Me(1379)],x:(De[Me(1379)].x||0)+ye,y:(De[Me(1379)].y||0)+he}})})}}K.key===" "&&(K[Q(810)](),!Ke&&hn(!0))}},ie=K=>{K.key===" "&&Ke&&hn(!1)};return window.addEventListener(k(920),S),window.addEventListener(k(814),_),window[k(1892)]("keydown",R),window[k(1892)](k(1351),ie),()=>{const K=k;window[K(1665)](K(920),S),window.removeEventListener(K(814),_),window[K(1665)]("keydown",R),window[K(1665)](K(1351),ie)}},[u,te,b,Z[r(979)],oe,a,h.width,h.height,P,V,Ke,j,T,e0,A0,ve,z]);const Lx=(k,S=!0)=>{const _=r,R={...k,id:Le.nanoid(),name:k[_(863)]+_(498),normalStyle:{...k[_(1379)],x:(k[_(1379)].x||0)+(S?20:0),y:(k[_(1379)].y||0)+(S?20:0)}};return k[_(1912)]===_(744)&&k[_(517)]&&(R.children=k.children[_(474)](ie=>Lx(ie,!1))),R},Nx=B[r(1318)](()=>{const k=r,S=oe[k(2179)]>0?oe[k(474)](R=>a.find(ie=>ie.id===R))[k(815)](Boolean):u?[a[k(990)](R=>R.id===u)][k(815)](Boolean):[];if(S[k(2179)]===0)return;const _=[];S[k(1322)](R=>{const ie=Lx(R);y(ie),_.push(ie.id)}),_[k(2179)]===1?p(_[0]):ve(_)},[u,oe,a,y,p,ve]),Sx=B[r(1318)](k=>{const S=r,_=k[S(1379)].x||0,R=k[S(1379)].y||0,ie=k.normalStyle.width||0,K=k[S(1379)].height||0,Q=k[S(1379)][S(1442)]||0;if(!Q)return{minX:_,minY:R,maxX:_+ie,maxY:R+K};const fe=_+ie/2,ye=R+K/2,he=Q*Math.PI/180,we=Math[S(2040)](he),Me=Math[S(1702)](he),De=[{x:-ie/2,y:-K/2},{x:ie/2,y:-K/2},{x:ie/2,y:K/2},{x:-ie/2,y:K/2}];let Be=1/0,Ce=1/0,He=-1/0,Ye=-1/0;for(const ce of De){const ge=fe+ce.x*we-ce.y*Me,Te=ye+ce.x*Me+ce.y*we;Be=Math[S(775)](Be,ge),Ce=Math[S(775)](Ce,Te),He=Math[S(2172)](He,ge),Ye=Math.max(Ye,Te)}return{minX:Be,minY:Ce,maxX:He,maxY:Ye}},[]),kx=B.useCallback(k=>{const S=r,_=k.normalStyle.x||0,R=k[S(1379)].y||0,ie=k[S(1379)][S(1710)]||0,K=k[S(1379)][S(1355)]||0,Q=k[S(1379)].rotate||0;if(!Q)return(k[S(517)]||[])[S(474)](Be=>({...Be,normalStyle:{...Be[S(1379)],x:_+(Be[S(1379)].x||0),y:R+(Be.normalStyle.y||0)}}));const fe=Q*Math.PI/180,ye=Math[S(2040)](fe),he=Math[S(1702)](fe),we=_+ie/2,Me=R+K/2,De=(Be,Ce)=>{const He=Be-ie/2,Ye=Ce-K/2;return{x:we+He*ye-Ye*he,y:Me+He*he+Ye*ye}};return(k[S(517)]||[]).map(Be=>{const Ce=S;if(Be.contentInfo[Ce(1833)].some(On=>On[Ce(956)][Ce(1912)]==="LINE")){const On=Be[Ce(1379)].x||0,Hx=Be[Ce(1379)].y||0,Tx=Be[Ce(1379)][Ce(1710)]||0,Vx=Be[Ce(1379)][Ce(1355)]||0,Mt=Be[Ce(1379)][Ce(1442)]||0,qx=Mt*Math.PI/180,Bt=Math[Ce(2040)](qx),Dt=Math[Ce(1702)](qx),Wx=(N0,_e)=>{const o0=N0-Tx/2,m0=_e-Vx/2,Ze=o0*Bt-m0*Dt+Tx/2,Re=o0*Dt+m0*Bt+Vx/2;return De(On+Ze,Hx+Re)};let j0=1/0,Y0=1/0,Hn=-1/0,Tn=-1/0,L0=2;const X0=Be[Ce(742)][Ce(1833)][Ce(474)](N0=>{const _e=Ce;if(N0[_e(956)].type!=="LINE")return null;const o0=N0.material[_e(1936)]||{},m0=Wx(o0[_e(957)]||0,o0[_e(504)]||0),Ze=Wx(o0[_e(1676)]||0,o0[_e(1945)]||0);return j0=Math.min(j0,m0.x,Ze.x),Y0=Math[_e(775)](Y0,m0.y,Ze.y),Hn=Math[_e(2172)](Hn,m0.x,Ze.x),Tn=Math[_e(2172)](Tn,m0.y,Ze.y),L0=Math[_e(2172)](L0,o0[_e(1200)]||o0.thickness||2),{s:m0,e:Ze}});if(Number[Ce(868)](j0)&&Number[Ce(868)](Y0)){const N0=Math[Ce(2172)](L0*2,4),_e=Math[Ce(2172)](Hn-j0,N0),o0=Math[Ce(2172)](Tn-Y0,N0),m0=Be.contentInfo[Ce(1833)][Ce(474)]((Ze,Re)=>{const r0=Ce,n0=X0[Re];if(!n0||Ze[r0(956)].type!==r0(1701))return Ze;const i0=Ze[r0(956)];return{...Ze,material:{...i0,config:{...i0.config||{},startX:n0.s.x-j0,startY:n0.s.y-Y0,endX:n0.e.x-j0,endY:n0.e.y-Y0}}}});return{...Be,normalStyle:{...Be.normalStyle,x:j0,y:Y0,width:_e,height:o0,rotate:0},contentInfo:{...Be.contentInfo,statusList:m0}}}return{...Be,normalStyle:{...Be.normalStyle,x:_+On,y:R+Hx,rotate:0}}}const Ye=Be[Ce(1379)][Ce(1710)]||0,ce=Be[Ce(1379)][Ce(1355)]||0,ge=Be[Ce(1379)].x||0,Te=Be.normalStyle.y||0,Je=ge+Ye/2-ie/2,y0=Te+ce/2-K/2,yn=we+Je*ye-y0*he,lr=Me+Je*he+y0*ye,Gx=Be[Ce(1379)][Ce(1442)]||0,Ox=((Gx+Q)%360+360)%360;return{...Be,normalStyle:{...Be[Ce(1379)],x:yn-Ye/2,y:lr-ce/2,rotate:Ox}}})},[]),Ix=B[r(1318)](()=>{const k=r;if(oe[k(2179)]<2)return;const S=[];for(let ye=0;ye<oe.length;ye++){const he=oe[ye],we=a[k(990)](Me=>Me.id===he);if(we){if(we?.[k(1912)]==="group"){kx(we)[k(1322)](De=>S[k(1759)](De)),P(he);continue}S[k(1759)](we)}}if(S[k(2179)]<2)return;let _=1/0,R=1/0,ie=-1/0,K=-1/0;S[k(1322)](ye=>{const he=k,we=Sx(ye);_=Math[he(775)](_,we[he(1568)]),R=Math[he(775)](R,we[he(958)]),ie=Math[he(2172)](ie,we[he(666)]),K=Math.max(K,we[he(1014)])});const Q=S.map(ye=>({...ye,normalStyle:{...ye[k(1379)],x:(ye[k(1379)].x||0)-_,y:(ye[k(1379)].y||0)-R}})),fe={id:Le[k(1335)](),name:"群组_"+Date[k(1700)](),type:k(744),normalStyle:{x:_,y:R,width:ie-_,height:K-R,background:k(1911)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:Q};oe[k(1322)](ye=>P(ye)),y(fe),ve([]),p(fe.id)},[oe,a,P,y,p,kx,Sx]),Px=k=>{const S=r,_={...k,id:Le[S(1335)]()};return k[S(1912)]===S(744)&&k.children&&(_.children=k.children[S(474)](R=>Px(R))),_},mt=B[r(1318)](()=>{const k=r,S=oe[k(2179)]>0?oe[k(474)](_=>a.find(R=>R.id===_))[k(815)](_=>!!_&&_[k(1912)]==="group"):u?[a[k(990)](_=>_.id===u)][k(815)](_=>!!_&&_[k(1912)]===k(744)):[];S[k(2179)]!==0&&(S[k(1322)](_=>{const R=k;if(!_.children||_[R(517)][R(2179)]===0)return;const ie=_[R(1379)].x||0,K=_[R(1379)].y||0,Q=_[R(1379)][R(1710)]||0,fe=_[R(1379)][R(1355)]||0,ye=_.normalStyle[R(1442)]||0,he=ye*Math.PI/180,we=Math[R(2040)](he),Me=Math.sin(he),De=ie+Q/2,Be=K+fe/2,Ce=(Ye,ce)=>{const ge=Ye-Q/2,Te=ce-fe/2;return{x:De+ge*we-Te*Me,y:Be+ge*Me+Te*we}},He=_[R(517)][R(474)](Ye=>{const ce=R,ge=Px(Ye);if(ge.contentInfo.statusList[ce(1496)](Mt=>Mt.material[ce(1912)]===ce(1701))){const Mt=ge.normalStyle.x||0,qx=ge[ce(1379)].y||0,Bt=ge[ce(1379)].width||0,Dt=ge.normalStyle[ce(1355)]||0,Wx=ge[ce(1379)].rotate||0,j0=Wx*Math.PI/180,Y0=Math[ce(2040)](j0),Hn=Math[ce(1702)](j0),Tn=(Ze,Re)=>{const r0=Ze-Bt/2,n0=Re-Dt/2,i0=r0*Y0-n0*Hn+Bt/2,dr=r0*Hn+n0*Y0+Dt/2;return Ce(Mt+i0,qx+dr)};let L0=1/0,X0=1/0,N0=-1/0,_e=-1/0,o0=2;const m0=ge[ce(742)][ce(1833)][ce(474)](Ze=>{const Re=ce;if(Ze[Re(956)].type!==Re(1701))return null;const r0=Ze.material[Re(1936)]||{},n0=Tn(r0[Re(957)]||0,r0[Re(504)]||0),i0=Tn(r0[Re(1676)]||0,r0[Re(1945)]||0);return L0=Math[Re(775)](L0,n0.x,i0.x),X0=Math[Re(775)](X0,n0.y,i0.y),N0=Math.max(N0,n0.x,i0.x),_e=Math[Re(2172)](_e,n0.y,i0.y),o0=Math.max(o0,r0[Re(1200)]||r0[Re(1531)]||2),{s:n0,e:i0}});if(Number[ce(868)](L0)&&Number[ce(868)](X0)){const Ze=Math.max(o0*2,4),Re=Math[ce(2172)](N0-L0,Ze),r0=Math[ce(2172)](_e-X0,Ze),n0=ge[ce(742)][ce(1833)][ce(474)]((i0,dr)=>{const ur=ce,Lt=m0[dr];if(!Lt||i0.material[ur(1912)]!=="LINE")return i0;const zs=i0[ur(956)];return{...i0,material:{...zs,config:{...zs[ur(1936)]||{},startX:Lt.s.x-L0,startY:Lt.s.y-X0,endX:Lt.e.x-L0,endY:Lt.e.y-X0}}}});return{...ge,normalStyle:{...ge[ce(1379)],x:L0,y:X0,width:Re,height:r0,rotate:0},contentInfo:{...ge[ce(742)],statusList:n0}}}}const Je=ge[ce(1379)][ce(1710)]||0,y0=ge[ce(1379)][ce(1355)]||0,yn=ge[ce(1379)].x||0,lr=ge[ce(1379)].y||0,Gx=yn+Je/2-Q/2,Ox=lr+y0/2-fe/2,On=De+Gx*we-Ox*Me,Hx=Be+Gx*Me+Ox*we,Tx=ge[ce(1379)].rotate||0,Vx=((Tx+ye)%360+360)%360;return{...ge,normalStyle:{...ge[ce(1379)],x:On-Je/2,y:Hx-y0/2,rotate:Vx}}});P(_.id),He[R(1322)](Ye=>y(Ye))}),ve([]),p(null))},[u,oe,a,P,y,p,ve]),Gn=B[r(1318)](k=>{const S=r;if(oe[S(2179)]<1)return;const _=oe[S(474)](R=>a[S(990)](ie=>ie.id===R))[S(815)](R=>!!R);if(_.length===1&&_[0][S(1912)]===S(744)){const R=_[0];if(!R[S(517)]||R.children[S(2179)]<2)return;const ie=[...R[S(517)]];let K=1/0,Q=1/0,fe=-1/0,ye=-1/0;if(k==="horizontal"){const he=[...ie][S(840)]((ce,ge)=>(ce[S(1379)].x||0)-(ge.normalStyle.x||0));let we=1/0,Me=-1/0,De=0;he.forEach(ce=>{const ge=S,Te=ce.normalStyle.x||0,Je=ce[ge(1379)].width||0;we=Math[ge(775)](we,Te),Me=Math[ge(2172)](Me,Te+Je),De+=Je});const Be=(Me-we-De)/(he[S(2179)]-1);let Ce=we;const He=new Map;he[S(1322)](ce=>{const ge=S;He[ge(721)](ce.id,Ce),Ce+=(ce[ge(1379)][ge(1710)]||0)+Be});const Ye=ie.map(ce=>({...ce,normalStyle:{...ce[S(1379)],x:He[S(1861)](ce.id)??ce[S(1379)].x}}));Ye[S(1322)](ce=>{const ge=S,Te=ce.normalStyle.x||0,Je=ce[ge(1379)].y||0,y0=ce[ge(1379)][ge(1710)]||0,yn=ce[ge(1379)][ge(1355)]||0;K=Math[ge(775)](K,Te),Q=Math[ge(775)](Q,Je),fe=Math[ge(2172)](fe,Te+y0),ye=Math[ge(2172)](ye,Je+yn)}),z(R.id,{normalStyle:{...R.normalStyle,x:(R.normalStyle.x||0)+K,y:(R[S(1379)].y||0)+Q,width:fe-K,height:ye-Q},children:Ye[S(474)](ce=>({...ce,normalStyle:{...ce[S(1379)],x:(ce.normalStyle.x||0)-K,y:(ce[S(1379)].y||0)-Q}}))})}else{const he=[...ie][S(840)]((ce,ge)=>(ce[S(1379)].y||0)-(ge[S(1379)].y||0));let we=1/0,Me=-1/0,De=0;he.forEach(ce=>{const ge=S,Te=ce.normalStyle.y||0,Je=ce.normalStyle[ge(1355)]||0;we=Math[ge(775)](we,Te),Me=Math[ge(2172)](Me,Te+Je),De+=Je});const Be=(Me-we-De)/(he[S(2179)]-1);let Ce=we;const He=new Map;he[S(1322)](ce=>{const ge=S;He[ge(721)](ce.id,Ce),Ce+=(ce.normalStyle[ge(1355)]||0)+Be});const Ye=ie.map(ce=>({...ce,normalStyle:{...ce[S(1379)],y:He.get(ce.id)??ce[S(1379)].y}}));Ye.forEach(ce=>{const ge=S,Te=ce[ge(1379)].x||0,Je=ce[ge(1379)].y||0,y0=ce[ge(1379)].width||0,yn=ce[ge(1379)][ge(1355)]||0;K=Math.min(K,Te),Q=Math.min(Q,Je),fe=Math[ge(2172)](fe,Te+y0),ye=Math[ge(2172)](ye,Je+yn)}),z(R.id,{normalStyle:{...R[S(1379)],x:(R[S(1379)].x||0)+K,y:(R.normalStyle.y||0)+Q,width:fe-K,height:ye-Q},children:Ye.map(ce=>({...ce,normalStyle:{...ce[S(1379)],x:(ce.normalStyle.x||0)-K,y:(ce[S(1379)].y||0)-Q}}))})}return}if(!(_.length<2))if(k===S(1240)){const R=[..._][S(840)]((he,we)=>(he[S(1379)].x||0)-(we.normalStyle.x||0));let ie=1/0,K=-1/0,Q=0;R.forEach(he=>{const we=S,Me=he[we(1379)].x||0,De=he[we(1379)].width||0;ie=Math[we(775)](ie,Me),K=Math[we(2172)](K,Me+De),Q+=De});const fe=(K-ie-Q)/(R[S(2179)]-1);let ye=ie;R[S(1322)](he=>{const we=S,Me=ye;z(he.id,{normalStyle:{...he[we(1379)],x:Me}}),ye+=(he.normalStyle.width||0)+fe})}else{const R=[..._].sort((he,we)=>{const Me=S;return(he[Me(1379)].y||0)-(we[Me(1379)].y||0)});let ie=1/0,K=-1/0,Q=0;R[S(1322)](he=>{const we=S,Me=he[we(1379)].y||0,De=he.normalStyle.height||0;ie=Math[we(775)](ie,Me),K=Math[we(2172)](K,Me+De),Q+=De});const fe=(K-ie-Q)/(R[S(2179)]-1);let ye=ie;R.forEach(he=>{const we=S,Me=ye;z(he.id,{normalStyle:{...he[we(1379)],y:Me}}),ye+=(he[we(1379)][we(1355)]||0)+fe})}},[oe,a,z]),en=k=>{const S=r,_=k[S(742)][S(1833)][S(990)](R=>R[S(956)].type===S(1701));return _?_[S(956)][S(1936)]:null},bn=B[r(1318)](k=>{const S=r;if(oe.length<2)return;const _=Qe.getState(),R=oe.map(K=>a.find(Q=>Q.id===K))[S(815)](K=>!!K);if(R.length<2)return;let ie=0;switch(k){case S(937):ie=Math.min(...R.map(K=>{const Q=S,fe=en(K);return fe?(K[Q(1379)].x||0)+(fe[Q(957)]||0):K[Q(1379)].x||0}));break;case S(1790):ie=Math[S(2172)](...R[S(474)](K=>{const Q=S,fe=en(K);return fe?(K.normalStyle.x||0)+(fe[Q(1676)]||0):(K[Q(1379)].x||0)+(K.normalStyle[Q(1710)]||0)}));break;case S(1117):ie=Math[S(775)](...R[S(474)](K=>{const Q=S,fe=en(K);return fe?(K[Q(1379)].y||0)+(fe[Q(504)]||0):K[Q(1379)].y||0}));break;case S(689):ie=Math[S(2172)](...R.map(K=>{const Q=S,fe=en(K);return fe?(K[Q(1379)].y||0)+(fe.endY||0):(K[Q(1379)].y||0)+(K.normalStyle.height||0)}));break}R[S(1322)](K=>{const Q=S;let fe=K[Q(1379)].x||0,ye=K[Q(1379)].y||0;const he=en(K);switch(k){case Q(937):he?fe=ie-(he[Q(957)]||0):fe=ie;break;case"right":he?fe=ie-(he[Q(1676)]||0):fe=ie-(K[Q(1379)][Q(1710)]||0);break;case Q(1117):he?ye=ie-(he[Q(504)]||0):ye=ie;break;case Q(689):he?ye=ie-(he.endY||0):ye=ie-(K[Q(1379)].height||0);break}_.updateNode(K.id,{normalStyle:{...K.normalStyle,x:fe,y:ye}})})},[oe,a]),ir=[{icon:l.jsx(de.SelectOutlined,{}),title:r(794),active:b===r(787),onClick:()=>{q(r(787))}},{icon:l[r(1375)](de[r(1475)],{}),title:r(1521),active:b===r(473),onClick:()=>{q("box-select"),ve([])}},{icon:l[r(1375)](de[r(1929)],{}),title:"拖拽模式",active:b===r(1980),onClick:()=>{q(r(1980))}},{icon:l[r(1375)](de[r(2165)],{}),title:r(1660),active:b==="line-draw",onClick:()=>{q(r(1510))}},{icon:l[r(1375)](de.EyeOutlined,{}),title:r(2166),active:b==="preview",onClick:()=>{q(r(1774))}}],W0=B[r(1318)](()=>oe[r(2179)]>0?oe:u?[u]:[],[oe,u]),Ax=B.useCallback(()=>{const k=r,S=W0();if(S[k(2179)]===0)return;a[k(815)](R=>S[k(1419)](R.id))[k(474)](R=>R.id)[k(1322)](R=>G(R))},[W0,a,G]),jx=B[r(1318)](()=>{const k=r,S=W0();if(S[k(2179)]===0)return;[...a[k(815)](R=>S[k(1419)](R.id)).map(R=>R.id)][k(2151)]()[k(1322)](R=>O(R))},[W0,a,O]),wt=B.useCallback(k=>{const S=r,_=W0();_[S(2179)]!==0&&_[S(1322)](R=>{const ie=S,K=a.find(fe=>fe.id===R);!K||K[ie(1912)]===ie(744)||!K.contentInfo[ie(1833)].some(fe=>fe[ie(956)].type==="IMAGE")||(k===ie(1240)?z(R,{normalStyle:{...K[ie(1379)],flipX:!K[ie(1379)].flipX}}):z(R,{normalStyle:{...K[ie(1379)],flipY:!K[ie(1379)].flipY}}))})},[W0,a,z]),Yx=W0(),vt=Yx.some(k=>{const S=r,_=a[S(990)](R=>R.id===k);return _&&_.type!==S(744)&&_[S(742)].statusList[S(1496)](R=>R.material[S(1912)]===S(1054))}),{actionButtonsRow1:cr,actionButtonsRow2:ar}=B[r(1581)](()=>({actionButtonsRow1:[{icon:l[r(1375)](de[r(2160)],{}),title:r(401),disabled:!u&&oe.length===0,onClick:Ax},{icon:l.jsx(de.DownSquareOutlined,{}),title:r(616),disabled:!u&&oe[r(2179)]===0,onClick:jx},{icon:l.jsx(de[r(364)],{}),title:r(677),disabled:!u&&oe[r(2179)]===0,onClick:Nx},{icon:l.jsx(de[r(1475)],{}),title:r(1210),disabled:oe[r(2179)]<2,onClick:Ix},{icon:l[r(1375)](de[r(1143)],{}),title:r(2091),disabled:!u&&oe[r(2179)]===0,onClick:mt},{icon:l[r(1375)](de[r(2173)],{}),title:r(409),onClick:()=>b0(!0)},{icon:l[r(1375)](de[r(2153)],{}),title:"数据模拟",type:r(2085),onClick:We},{icon:l[r(1375)](de[r(635)],{}),title:r(1499),disabled:!u&&oe[r(2179)]===0,onClick:()=>{const k=r;u?P(u):oe[k(2179)]>0&&(oe[k(1322)](S=>P(S)),ve([]))}}],actionButtonsRow2:[{icon:l[r(1375)](de[r(846)],{}),title:r(368),disabled:oe.length<2,onClick:()=>bn("left")},{icon:l[r(1375)](de[r(1606)],{}),title:"右对齐",disabled:oe[r(2179)]<2,onClick:()=>bn(r(1790))},{icon:l[r(1375)](de[r(487)],{}),title:"上对齐",disabled:oe.length<2,onClick:()=>bn(r(1117))},{icon:l[r(1375)](de.VerticalAlignBottomOutlined,{}),title:r(1459),disabled:oe[r(2179)]<2,onClick:()=>bn(r(689))},{icon:l[r(1375)](de[r(1188)],{}),title:r(1489),disabled:(()=>{const k=r;if(oe[k(2179)]>=2)return!1;if(oe[k(2179)]===1){const S=a[k(990)](_=>_.id===oe[0]);return!(S?.[k(1912)]===k(744)&&S[k(517)]&&S[k(517)][k(2179)]>=2)}return!0})(),onClick:()=>Gn("horizontal")},{icon:l.jsx(de.ColumnHeightOutlined,{}),title:"垂直分布",disabled:(()=>{const k=r;if(oe[k(2179)]>=2)return!1;if(oe[k(2179)]===1){const S=a.find(_=>_.id===oe[0]);return!(S?.type===k(744)&&S[k(517)]&&S[k(517)].length>=2)}return!0})(),onClick:()=>Gn(r(1323))},{icon:l.jsx(de[r(1381)],{}),title:r(756),disabled:!vt,onClick:()=>wt(r(1240))},{icon:l[r(1375)](r(2163),{style:{display:r(1967),transform:"rotate(90deg)"},children:l[r(1375)](de[r(1381)],{})}),title:"垂直翻转",disabled:!vt,onClick:()=>wt(r(1323))}]}),[V,j,b,q,ve,oe,Ix,mt,Nx,bn,Gn,Ax,jx,b0,Ie,We,u,P,v[r(687)],vt,wt,a]),[sr,Ex]=B[r(883)](!1),[Ux,pt]=B.useState(""),[zt,Ct]=B[r(883)](null);return l.jsxs(r(1037),{className:"flex flex-col "+(n?"":r(1167)),children:[!n&&l.jsxs("div",{className:r(2113),children:[l[r(884)](C[r(1450)],{children:[ir[r(474)](k=>l[r(1375)](C[r(879)],{title:k.title,children:l[r(1375)](C.Button,{type:k[r(978)]?"primary":"default",icon:k[r(1620)],onClick:k.onClick})},k[r(1528)])),l[r(1375)](r(1037),{className:r(2089)}),l[r(1375)](C.Select,{value:v[r(687)],onChange:D,style:{width:140},dropdownRender:k=>l.jsxs(l.Fragment,{children:[k,l[r(1375)]("div",{className:r(490),children:l[r(1375)](C[r(1105)],{type:"link",size:r(1400),block:!0,onClick:()=>Ex(!0),children:"管理画布..."})})]}),children:v[r(974)][r(474)](k=>l[r(1375)](C[r(1125)][r(1755)],{value:k.id,children:k[r(863)]},k.id))}),l[r(1375)](C[r(1105)],{icon:l[r(1375)](de[r(952)],{}),size:r(1400),onClick:()=>N(),title:r(476)}),l[r(1375)](C[r(879)],{title:r(778),children:l[r(1375)](C[r(1105)],{icon:l[r(1375)](de.DownloadOutlined,{}),size:r(1400),onClick:V0})}),l[r(1375)](C[r(879)],{title:r(1824),children:l[r(1375)](C[r(1105)],{icon:l[r(1375)](de[r(838)],{}),size:r(1400),onClick:()=>t0(!0)})})]}),l[r(884)](C[r(1450)],{direction:r(1323),size:4,children:[l.jsx(C[r(1450)],{children:cr[r(474)](k=>l[r(1375)](C[r(879)],{title:k.title,children:l[r(1375)](C[r(1105)],{type:k[r(978)]?"primary":k[r(1912)]||r(384),icon:k.icon,onClick:S=>{const _=r;k[_(1142)](),S[_(1630)][_(549)]()},disabled:k[r(1583)]})},k.title))}),l[r(1375)](C[r(1450)],{children:ar[r(474)](k=>l[r(1375)](C[r(879)],{title:k[r(1528)],children:l[r(1375)](C.Button,{type:k[r(978)]?"primary":k[r(1912)]||r(384),icon:k[r(1620)],onClick:S=>{const _=r;k[_(1142)](),S[_(1630)].blur()},disabled:k[r(1583)]})},k[r(1528)]))})]})]}),l[r(1375)](r(1037),{ref:d,className:r(1903)+(n?"":"flex-1"),style:n&&o?{display:"flex",justifyContent:r(1636),alignItems:r(1636)}:void 0,onWheel:n&&o?k=>{const S=r;k[S(810)](),k[S(1313)]();const _=i[S(523)];if(!_)return;const R=ee[S(523)],ie=.1,K=k[S(1073)]>0?Math[S(2172)](R-ie,ae):Math.min(R+ie,ue);_[S(1482)](0,0,K,0)}:void 0,children:l.jsx(St[r(1421)],{ref:i,initialScale:me,initialPositionX:0,initialPositionY:0,minScale:ae,maxScale:ue,onTransformed:gn,limitToBounds:n&&!!o,centerZoomedOut:n&&!!o,panning:{disabled:!Ke&&b!==r(1980),velocityDisabled:!0},wheel:{disabled:n&&!!o,step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:k,zoomOut:S,resetTransform:_})=>l[r(884)](l.Fragment,{children:[!n&&l.jsx("div",{className:r(1882),children:l.jsxs(C.Space,{direction:r(1323),children:[l.jsx(C[r(879)],{title:"放大",children:l[r(1375)](C.Button,{icon:l[r(1375)](de[r(1674)],{}),onClick:()=>k()})}),l.jsx(C[r(879)],{title:"缩小",children:l[r(1375)](C[r(1105)],{icon:l.jsx(de[r(691)],{}),onClick:()=>S()})}),l[r(1375)](C.Tooltip,{title:"重置视图",children:l[r(1375)](C.Button,{onClick:()=>_(),children:r(1575)})}),l.jsxs(r(1037),{className:"text-center text-xs text-gray-500",children:[Math[r(381)](w[r(690)]*100),"%"]})]})}),l[r(1375)](St.TransformComponent,{wrapperStyle:n&&o?{width:o,height:x||h[r(1355)]*(ee[r(523)]||1)+"px",position:r(692),overflow:r(1771)}:{width:r(1575),height:n?h[r(1355)]*(ee.current||1)+"px":"100%",position:r(692),overflow:n?"visible":r(1771)},contentStyle:{width:n?h[r(1710)]+"px":"100%",height:n?h[r(1355)]+"px":"100%",display:"flex",alignItems:n?"flex-start":"center",justifyContent:r(n?1636:613)},children:l[r(884)](r(1037),{ref:c,"data-canvas":r(1981),className:r(1903)+($?r(1173):"")+" "+(b==="line-draw"?r(1477):"")+" "+(Ke?r(1642):""),style:{width:h.width,height:h.height,flexShrink:0,backgroundColor:h.background,backgroundImage:h[r(875)]?"url("+h[r(875)]+")":void 0,backgroundSize:r(673),backgroundPosition:"center"},onClick:$o,onMouseDown:er,onDoubleClick:nr,onDragOver:tr,onDragLeave:xr,onDrop:or,children:[t&&!n&&l[r(884)](r(1037),{className:r(1838),style:{width:h.width,height:h[r(1355)]},children:[l[r(1375)](r(1663),{src:t,alt:"",className:r(491),draggable:!1}),l[r(1375)](r(1350),{className:r(514),width:1920,height:1080,children:l[r(1375)]("rect",{x:"0",y:"0",width:"1920",height:r(2034),fill:"none",stroke:r(2010),strokeWidth:"2"})})]}),h[r(1372)]!==!1&&l.jsxs(r(1350),{className:r(514),width:h[r(1710)],height:h[r(1355)],children:[l[r(1375)]("defs",{children:l.jsx(r(505),{id:"grid",width:"20",height:"20",patternUnits:"userSpaceOnUse",children:l.jsx(r(1850),{d:r(969),fill:r(988),stroke:r(1272),opacity:r(539),strokeWidth:"1"})})}),l[r(1375)](r(1389),{width:r(1575),height:r(1575),fill:r(1626)})]}),a[r(474)](R=>l[r(1375)](ro,{node:R,isSelected:b===r(1774)?!1:u===R.id||oe[r(1419)](R.id),data:je,onClick:b==="preview"?void 0:ie=>{const K=r;console.log(K(2184),R.id,K(1887),re[K(523)]),re[K(523)]!=="line-draw"&&(ie[K(1139)]?(p(R.id),ve([...oe,R.id])):(p(R.id),ve([R.id])))},onMouseDown:b==="preview"?void 0:ie=>rr(ie,R),onUpdateNode:b==="preview"?void 0:(ie,K)=>z(ie,K),scale:w[r(690)],enableEventFlow:b==="preview",eventFlowData:qe},""+R.id)),b==="line-draw"&&Z.isDrawing&&Z[r(1310)]&&Z[r(1942)]&&l[r(1375)](r(1350),{className:r(514),width:h.width,height:h.height,children:l[r(1375)](r(1190),{x1:Z[r(1310)].x,y1:Z.start.y,x2:Z[r(1942)].x,y2:Z.end.y,stroke:r(1483),strokeWidth:"2",strokeDasharray:r(1219),strokeLinecap:r(381),strokeLinejoin:r(381)})}),b==="box-select"&&te[r(1310)]&&te[r(1942)]&&l[r(1375)](r(1037),{className:r(1312),style:{left:Math.min(te.start.x,te[r(1942)].x),top:Math.min(te[r(1310)].y,te[r(1942)].y),width:Math.abs(te[r(1942)].x-te[r(1310)].x),height:Math.abs(te[r(1942)].y-te[r(1310)].y),zIndex:9999}})]})})]})},se)}),l[r(1375)](C[r(1767)],{title:r(1342),open:pe,onCancel:()=>Ie(!1),footer:null,children:l.jsx(C[r(1249)],{layout:r(1323),children:l.jsx(C[r(1249)][r(1254)],{label:"测试数据 (JSON)",children:l.jsx(Al,{value:Ne,onChange:k=>{const S=r;Ee(!0),ke(k[S(500)][S(1044)])},rows:10,placeholder:r(387)})})})}),l.jsx(C[r(1767)],{title:"画布配置",open:$e,onCancel:()=>b0(!1),footer:null,children:l.jsxs(C[r(1249)],{layout:r(1323),children:[l[r(1375)](C.Form.Item,{label:"宽度",children:l[r(1375)](C[r(715)],{value:h.width,onChange:k=>m({width:k||1920}),min:100,max:5e3,style:{width:r(1575)}})}),l.jsx(C[r(1249)][r(1254)],{label:"高度",children:l[r(1375)](C[r(715)],{value:h[r(1355)],onChange:k=>m({height:k||1080}),min:100,max:5e3,style:{width:r(1575)}})}),l[r(1375)](C[r(1249)][r(1254)],{label:r(1185),children:l[r(1375)](C[r(1025)],{checked:h[r(1372)]!==!1,onChange:k=>m({showGrid:k})})}),l.jsx(C[r(1249)][r(1254)],{label:r(2021),children:l.jsxs(r(1037),{className:r(1965),children:[l[r(1375)](Mn,{value:h[r(2043)]||r(793),onChange:k=>m({background:k.toHexString()})}),l[r(1375)](C.Input,{value:h[r(2043)],onChange:k=>m({background:k.target[r(1044)]}),placeholder:"#ffffff"})]})}),l[r(884)](C.Form.Item,{label:r(513),children:[l.jsxs("div",{className:r(1965),children:[l[r(1375)](C[r(1596)],{accept:r(1986),showUploadList:!1,beforeUpload:k=>{const S=r;if(!k[S(1912)][S(2189)](S(1746)))return C[S(1109)][S(1036)]("只能上传图片文件!"),!1;const R=new FileReader;return R[S(695)]=ie=>{const K=S,Q=ie[K(500)]?.[K(933)];m({backgroundImage:Q}),C[K(1109)][K(1093)]("背景图片上传成功")},R[S(1075)](k),!1},children:l[r(1375)](C[r(1105)],{icon:l[r(1375)](de[r(838)],{}),children:r(1808)})}),l.jsx(C[r(465)],{value:h[r(875)],onChange:k=>m({backgroundImage:k[r(500)][r(1044)]}),placeholder:"输入图片 URL 或上传图片",style:{flex:1}}),h.backgroundImage&&l[r(1375)](C.Button,{icon:l.jsx(de[r(818)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:r(1400)})]}),h[r(875)]&&l.jsx(r(1037),{className:r(1319),style:{maxWidth:r(1575)},children:l.jsx("img",{src:h[r(875)],alt:"背景预览",style:{maxWidth:r(1575),maxHeight:120,objectFit:r(1906)}})})]})]})}),l.jsx(C[r(1767)],{title:"画布管理",open:sr,onCancel:()=>{Ex(!1),Ct(null),pt("")},footer:null,width:760,children:l[r(1375)](C.Tabs,{items:[{key:"canvases",label:r(1181),children:l[r(884)](l[r(1465)],{children:[l[r(1375)](C[r(853)],{dataSource:v.canvases,renderItem:k=>l[r(1375)](C[r(853)][r(1254)],{actions:[zt===k.id?l.jsx(C[r(1105)],{type:r(2085),size:r(1400),onClick:()=>{Y(k.id,Ux),Ct(null)},children:"保存"}):l[r(1375)](C.Button,{type:r(1918),icon:l.jsx(de[r(2165)],{}),size:r(1400),onClick:()=>{Ct(k.id),pt(k.name)}}),v[r(974)].length>1&&l[r(1375)](C[r(1105)],{type:r(1918),danger:!0,icon:l[r(1375)](de.DeleteOutlined,{}),size:r(1400),onClick:()=>L(k.id)})].filter(Boolean),children:zt===k.id?l[r(1375)](C[r(465)],{value:Ux,onChange:S=>pt(S.target[r(1044)]),size:"small",style:{width:200}}):l[r(884)]("span",{style:{fontWeight:v[r(687)]===k.id?"bold":"normal"},children:[k[r(863)]," ",v.currentCanvasId===k.id&&r(2053)]})})}),l.jsx(r(1037),{className:r(1726),children:l[r(1375)](C.Button,{type:r(2085),icon:l[r(1375)](de[r(952)],{}),onClick:()=>N(),children:r(476)})})]})},{key:r(1543),label:r(1285),children:l[r(1375)](Il,{})}]})}),l[r(1375)](C[r(1767)],{title:"导入画布",open:B0,onOk:$0,onCancel:()=>{t0(!1),x0(""),h0(!1)},destroyOnClose:!0,width:600,children:l[r(884)](r(1037),{className:r(1888),children:[l[r(884)](r(1037),{children:[l.jsx("p",{className:"mb-2",children:"选择 JSON 文件导入:"}),l[r(1375)](r(614),{type:r(2161),accept:r(1115),onChange:k=>{const S=r,_=k[S(500)][S(2181)]?.[0];_&&q0(_)},className:r(406)})]}),l[r(1375)]("div",{className:"text-center text-gray-400",children:"或"}),l[r(884)](r(1037),{children:[l.jsx("p",{className:"mb-2",children:r(953)}),l.jsx("textarea",{value:a0,onChange:k=>x0(k[r(500)][r(1044)]),placeholder:"粘贴画布 JSON 内容...",className:r(1332)})]}),l[r(884)](r(1037),{className:r(1965),children:[l[r(1375)](r(614),{type:r(1610),id:"importAsNewCanvas",checked:s0,onChange:k=>h0(k[r(500)][r(893)]),className:"w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"}),l[r(1375)](r(663),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:r(1179)})]})]})})]})},{Option:Ot}=C[s(1125)];function ci(e){return Array[s(565)](e)}function Yl(e){const n=s,t=new Set;return e[n(1322)](o=>Object[n(999)](o)[n(1322)](x=>t[n(729)](x))),Array[n(1365)](t)}function El(e,n){const t=s;return e[t(474)]((o,x)=>{const r=t,i=o[n],c=o[r(863)];return{label:String(c??"项 "+(x+1)),value:typeof i===r(1705)||typeof i===r(2059)?i:String(i)}})}function ai(e,n=""){const t=s,o=[];for(const[x,r]of Object[t(1615)](e)){const i=n?n+"."+x:x;r!==null&&typeof r===t(878)&&!Array[t(565)](r)?o.push(...ai(r,i)):o.push({paramsCode:i,paramsName:i,value:r})}return o}function Ul(e,n,t){const o=s;if(ci(e)){if(n!=null&&t!=null){const x=e[o(990)](r=>r[n]===t);if(x)return x}return{}}return e}const Gl=({material:e,onSave:n})=>{const t=s,o=e,x=o.content||{},r=Qe(y=>y[t(1440)]),[i,c]=B[t(883)]({label:x[t(663)]||"",value:x.value||"",valueSourceCode:x[t(1052)]||"",unit:x.unit||"",decimals:x[t(2070)]??2,labelFontSize:x.labelStyle?.[t(1688)]||14,labelFontWeight:x.labelStyle?.[t(977)]||t(1268),labelColor:x.labelStyle?.color||t(1085),valueFontSize:x.valueStyle?.[t(1688)]||14,valueFontWeight:x[t(1862)]?.fontWeight||"normal",valueColor:x[t(1862)]?.[t(1176)]||t(1483),boundDatasetId:x[t(965)]||"",boundDatasetBindCode:x[t(1289)]||"",boundDatasetBindValue:x[t(848)]??null}),d=B[t(1581)](()=>{const y=t;return r.find(p=>p.id===i[y(965)])},[r,i[t(965)]]),a=d?ci(d[t(2133)]):!1,u=B[t(1581)](()=>{const y=t;if(!d)return[];const p=Ul(d[y(2133)],i[y(1289)],i[y(848)]);return ai(p)},[d,i[t(1289)],i[t(848)]]);B.useEffect(()=>{const y=t;c({label:x.label||"",value:x.value||"",valueSourceCode:x.valueSourceCode||"",unit:x[y(2013)]||"",decimals:x[y(2070)]??2,labelFontSize:x[y(832)]?.[y(1688)]||14,labelFontWeight:x[y(832)]?.fontWeight||"bold",labelColor:x[y(832)]?.[y(1176)]||"#262626",valueFontSize:x[y(1862)]?.[y(1688)]||14,valueFontWeight:x[y(1862)]?.fontWeight||"normal",valueColor:x[y(1862)]?.[y(1176)]||"#1890ff",boundDatasetId:x.boundDatasetId||"",boundDatasetBindCode:x[y(1289)]||"",boundDatasetBindValue:x[y(848)]??null})},[e.id]);const f=(y,p)=>{c(z=>({...z,[y]:p}))},b=y=>{c(p=>({...p,boundDatasetId:y,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetId:y||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},g=y=>{c(p=>({...p,boundDatasetBindCode:y||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindCode:y||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},w=y=>{c(p=>({...p,boundDatasetBindValue:y??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...x,boundDatasetBindValue:y??void 0,valueSourceCode:void 0}})},0)},h=y=>{const p=t,z=u[p(990)](G=>G[p(2104)]===y),P=z?.[p(2013)]||"";c(G=>({...G,valueSourceCode:y,unit:P,value:String(z?.[p(1044)]||"")})),setTimeout(()=>{n({content:{...x,valueSourceCode:y,value:String(z?.value||""),unit:P}})},0)},v=()=>{const y=t;n({content:{...x,label:i.label,value:i[y(1044)],valueSourceCode:i[y(1052)],unit:i[y(2013)],decimals:i[y(2070)],boundDatasetId:i[y(965)]||void 0,boundDatasetBindCode:i[y(1289)]||void 0,boundDatasetBindValue:i[y(848)]??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[y(664)],color:i[y(899)]},valueStyle:{fontSize:i[y(1512)],fontWeight:i[y(647)],color:i[y(623)]}}})},M=d&&a?Yl(d[t(2133)]):[],m=d&&a&&i[t(1289)]?El(d[t(2133)],i[t(1289)]):[];return l[t(884)](t(1037),{className:t(1888),children:[l[t(1375)](C.Divider,{style:{marginTop:0},children:t(1897)}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l[t(1375)](C[t(1249)][t(1254)],{label:"标签文本 (label)",children:l[t(1375)](C.Input,{value:i[t(663)],onChange:y=>f("label",y.target[t(1044)]),onBlur:v,placeholder:t(1502)})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(716),help:t(1202),children:l[t(1375)](C[t(1125)],{allowClear:!0,placeholder:r[t(2179)]===0?"暂无数据集":t(1422),value:i[t(965)]||void 0,onChange:b,style:{width:t(1575)},options:r[t(474)](y=>({label:y.name,value:y.id}))})}),d&&a&&l[t(884)](l[t(1465)],{children:[l[t(1375)](C[t(1249)].Item,{label:t(503),help:t(2121),children:l.jsx(C[t(1125)],{allowClear:!0,placeholder:t(1263),value:i[t(1289)]||void 0,onChange:g,style:{width:"100%"},options:M.map(y=>({label:y,value:y}))})}),i[t(1289)]&&l[t(1375)](C[t(1249)][t(1254)],{label:t(1149),help:"选择该字段对应的具体值以定位数据项",children:l[t(1375)](C[t(1125)],{allowClear:!0,showSearch:!0,placeholder:t(411),value:i.boundDatasetBindValue??void 0,onChange:w,style:{width:t(1575)},options:m,filterOption:(y,p)=>String(p?.[t(663)]??"")[t(1239)]()[t(1419)](y[t(1239)]()),onInputKeyDown:y=>{const p=t;y.key===" "&&y[p(1313)]()}})})]}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1395),help:t(d?1127:1553),children:l[t(1375)](C[t(1125)],{value:i[t(1052)]||void 0,onChange:h,placeholder:d?t(455):"请先绑定数据集",allowClear:!0,disabled:!d,style:{width:t(1575)},options:u[t(474)](y=>({value:y.paramsCode,label:y[t(1647)]}))})}),l[t(1375)](C[t(1249)][t(1254)],{label:i[t(1052)]?t(2075):t(1749),help:i[t(1052)]?t(1067):t(433),children:l[t(1375)](C[t(465)],{value:i[t(1044)],onChange:y=>f("value",y[t(500)][t(1044)]),onBlur:v,placeholder:i[t(1052)]?t(1807):t(1432),disabled:!!i.valueSourceCode,variant:i[t(1052)]?t(1949):void 0})}),l[t(1375)](C[t(1249)][t(1254)],{label:"单位",help:t(1265),children:l[t(1375)](C.Input,{value:i[t(2013)],onChange:y=>f(t(2013),y[t(500)][t(1044)]),onBlur:v,placeholder:t(892),suffix:i[t(1052)]&&u[t(2179)]>0?l[t(1375)](C[t(2158)],{color:"blue",style:{marginRight:-8},children:"自动"}):null})}),l.jsx(C[t(1249)].Item,{label:t(507),help:"数值格式化时保留的小数位数,-1表示不格式化",children:l[t(1375)](C[t(715)],{value:i[t(2070)],onChange:y=>f(t(2070),y??2),onBlur:v,min:-1,max:10,style:{width:t(1575)}})})]}),l[t(1375)](C.Divider,{children:t(796)}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l[t(884)](C.Space,{children:[l[t(1375)](C[t(1249)][t(1254)],{label:t(449),children:l.jsx(C[t(715)],{value:i[t(483)],onChange:y=>f("labelFontSize",y||14),onBlur:v,min:8,max:72})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1435),children:l[t(884)](C.Select,{value:i[t(664)],onChange:y=>{f(t(664),y),setTimeout(v,0)},style:{width:100},children:[l[t(1375)](Ot,{value:"normal",children:"正常"}),l.jsx(Ot,{value:t(1268),children:"粗体"})]})})]}),l[t(1375)](C[t(1249)].Item,{label:t(1287),children:l[t(884)]("div",{className:"flex items-center gap-2",children:[l[t(1375)](Mn,{value:i[t(899)]||t(1085),onChange:y=>{const p=t;f(p(899),y[p(2072)]())},onChangeComplete:y=>{const p=t;n({content:{...x,label:i[p(663)],value:i[p(1044)],valueSourceCode:i[p(1052)],unit:i[p(2013)],decimals:i[p(2070)],boundDatasetId:i[p(965)]||void 0,boundDatasetBindCode:i[p(1289)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[p(483)],fontWeight:i[p(664)],color:y[p(2072)]()},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[p(647)],color:i[p(623)]}}})}}),l[t(1375)](C[t(465)],{value:i.labelColor,onChange:y=>f(t(899),y[t(500)][t(1044)]),onBlur:v,placeholder:t(1085),style:{width:100}})]})})]}),l[t(1375)](C[t(1867)],{children:t(1794)}),l.jsxs(C.Form,{layout:t(1323),children:[l[t(884)](C[t(1450)],{children:[l.jsx(C[t(1249)][t(1254)],{label:t(449),children:l.jsx(C[t(715)],{value:i[t(1512)],onChange:y=>f(t(1512),y||14),onBlur:v,min:8,max:72})}),l[t(1375)](C[t(1249)][t(1254)],{label:"字体粗细",children:l[t(884)](C.Select,{value:i.valueFontWeight,onChange:y=>{f(t(647),y),setTimeout(v,0)},style:{width:100},children:[l[t(1375)](Ot,{value:"normal",children:"正常"}),l.jsx(Ot,{value:t(1268),children:"粗体"})]})})]}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1287),children:l[t(884)]("div",{className:t(1965),children:[l[t(1375)](Mn,{value:i[t(623)]||t(1483),onChange:y=>{f(t(623),y.toHexString())},onChangeComplete:y=>{const p=t;n({content:{...x,label:i[p(663)],value:i[p(1044)],valueSourceCode:i[p(1052)],unit:i.unit,decimals:i[p(2070)],boundDatasetId:i[p(965)]||void 0,boundDatasetBindCode:i[p(1289)]||void 0,boundDatasetBindValue:i[p(848)]??void 0,labelStyle:{fontSize:i[p(483)],fontWeight:i[p(664)],color:i[p(899)]},valueStyle:{fontSize:i[p(1512)],fontWeight:i[p(647)],color:y[p(2072)]()}}})}}),l[t(1375)](C.Input,{value:i[t(623)],onChange:y=>f(t(623),y[t(500)][t(1044)]),onBlur:v,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Ol=({material:e,onSave:n})=>{const t=s,o=e,[x,r]=B[t(883)]({name:e.name,src:o.src||"",backgroundColor:o.backgroundColor||"",fillColor:o[t(1334)]||""});B[t(2005)](()=>{const d=t;r({name:e[d(863)],src:o[d(1950)]||"",backgroundColor:o[d(1812)]||"",fillColor:o.fillColor||""})},[e.id]);const i=(d,a)=>{r(u=>({...u,[d]:a}))},c=()=>{const d=t;n({name:x[d(863)],src:x[d(1950)],backgroundColor:x[d(1812)]})};return l.jsxs(t(1037),{className:"space-y-4",children:[l[t(1375)](C.Divider,{style:{marginTop:0},children:"图片属性"}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l[t(1375)](C[t(1249)][t(1254)],{label:"图片名称",children:l.jsx(C[t(465)],{value:x.name,onChange:d=>i("name",d.target[t(1044)]),onBlur:c})}),l[t(1375)](C.Form[t(1254)],{label:"图片地址 (src)",children:l.jsx(C[t(465)].TextArea,{value:x[t(1950)],onChange:d=>i(t(1950),d[t(500)][t(1044)]),onBlur:c,rows:4,placeholder:t(1279)})}),l.jsx(C[t(1249)][t(1254)],{label:t(1126),children:l[t(884)](t(1037),{className:t(1965),children:[l.jsx(Mn,{value:x[t(1334)]||"#1890ff",onChange:d=>{const a=t,u=d[a(2072)]();i(a(1334),u),n({name:x[a(863)],src:x[a(1950)],backgroundColor:x.backgroundColor,fillColor:u})}}),l[t(1375)](C[t(465)],{value:x[t(1334)],onChange:d=>i(t(1334),d[t(500)][t(1044)]),onBlur:c,placeholder:t(1483)})]})}),l[t(1375)](C[t(1249)].Item,{label:t(707),children:l[t(884)](t(1037),{className:t(1965),children:[l[t(1375)](Mn,{value:x[t(1812)]||t(1483),onChange:d=>{const a=t,u=d[a(2072)]();i(a(1812),u),n({name:x.name,src:x[a(1950)],backgroundColor:u,fillColor:x.fillColor})}}),l.jsx(C.Input,{value:x[t(1812)],onChange:d=>i("backgroundColor",d[t(500)].value),onBlur:c,placeholder:t(1483)})]})})]})]})},{Option:Hl}=C[s(1125)],Tl=({material:e,onSave:n})=>{const t=s,o=e[t(1936)]||{},[x,r]=B[t(883)]({lineWeight:o[t(1200)]||o[t(1531)]||2,color:o[t(1176)]||t(1085),lineType:o.lineType||t(535),startX:o[t(957)]??0,startY:o[t(504)]??0,endX:o[t(1676)]??100,endY:o[t(1945)]??0,rotate:o.rotate??0}),i=JSON[t(922)]({sw:o[t(1200)]??o[t(1531)],c:o[t(1176)],t:o[t(1518)],sx:o.startX,sy:o[t(504)],ex:o[t(1676)],ey:o.endY,r:o[t(1442)]});B[t(2005)](()=>{const a=t;r({lineWeight:o[a(1200)]||o[a(1531)]||2,color:o.color||"#262626",lineType:o[a(1518)]||a(535),startX:o.startX??0,startY:o.startY??0,endX:o[a(1676)]??100,endY:o[a(1945)]??0,rotate:o[a(1442)]??0})},[e.id,i]);const c=a=>{const u=t,f={...x,...a};r(f),n({config:{...o,thickness:f.lineWeight,lineWeight:f[u(1200)],color:f.color,lineType:f[u(1518)],startX:f[u(957)],startY:f[u(504)],endX:f[u(1676)],endY:f[u(1945)],rotate:f.rotate}})},d=[{value:t(535),label:"实线",desc:"连续实线"},{value:"dashed",label:"虚线",desc:t(554)},{value:t(613),label:t(1232),desc:t(362)},{value:t(1837),label:t(995),desc:"长划-双点交替"},{value:t(457),label:"点线",desc:t(1247)},{value:t(2007),label:t(1083),desc:"长划-点交替"}];return l.jsxs(t(1037),{className:t(1888),children:[l.jsx(C.Divider,{style:{marginTop:0},children:t(762)}),l.jsxs(C[t(1249)],{layout:t(1323),children:[l[t(884)](t(1037),{className:"grid grid-cols-2 gap-2",children:[l[t(1375)](C[t(1249)][t(1254)],{label:t(849),className:"mb-2",children:l.jsx(C.InputNumber,{value:x.startX,onChange:a=>c({startX:a??0}),style:{width:t(1575)}})}),l.jsx(C[t(1249)][t(1254)],{label:"起点 Y",className:t(373),children:l[t(1375)](C[t(715)],{value:x[t(504)],onChange:a=>c({startY:a??0}),style:{width:t(1575)}})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1071),className:t(373),children:l[t(1375)](C[t(715)],{value:x[t(1676)],onChange:a=>c({endX:a??100}),style:{width:"100%"}})}),l[t(1375)](C[t(1249)][t(1254)],{label:t(1557),className:"mb-2",children:l[t(1375)](C[t(715)],{value:x[t(1945)],onChange:a=>c({endY:a??0}),style:{width:t(1575)}})})]}),l.jsx(C.Form.Item,{label:"快速对齐",className:t(1645),children:l.jsxs(C[t(1450)],{children:[l[t(1375)](C[t(1105)],{size:t(1400),onClick:()=>{const a=t,u=o[a(957)]??x[a(957)],f=o[a(504)]??x.startY,b=o.endX??x[a(1676)],g=o[a(1945)]??x[a(1945)],w=b-u,h=g-f,v=Math[a(857)](w*w+h*h),M=w>=0?1:-1;c({endX:u+M*v,endY:f})},title:t(640),children:"水平"}),l[t(1375)](C[t(1105)],{size:t(1400),onClick:()=>{const a=t,u=o[a(957)]??x[a(957)],f=o[a(504)]??x.startY,b=o[a(1676)]??x[a(1676)],g=o[a(1945)]??x[a(1945)],w=b-u,h=g-f,v=Math[a(857)](w*w+h*h),M=h>=0?1:-1;c({endX:u,endY:f+M*v})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l[t(1375)](C[t(1105)],{size:t(1400),onClick:()=>{const a=t,u=o.startX??x.startX,f=o[a(504)]??x.startY,b=o[a(1676)]??x.endX,g=o[a(1945)]??x.endY;c({startX:b,startY:g,endX:u,endY:f})},title:t(533),children:"反向"})]})}),l.jsx(C[t(1249)].Item,{label:t(553),help:t(1934),children:l[t(1375)](C[t(715)],{value:x[t(1442)],onChange:a=>{const u=t,f=a??0,b=o[u(957)]??x.startX,g=o[u(504)]??x[u(504)],w=o[u(1676)]??x[u(1676)],h=o[u(1945)]??x.endY,v=w-b,M=h-g,m=Math[u(857)](v*v+M*M),y=f*Math.PI/180;c({rotate:f,endX:Math.round(b+m*Math.cos(y)),endY:Math[u(381)](g+m*Math[u(1702)](y))})},style:{width:120}})})]}),l[t(1375)](C[t(1867)],{children:"线条属性"}),l[t(884)](C[t(1249)],{layout:t(1323),children:[l.jsx(C[t(1249)][t(1254)],{label:"线型",help:"选择线条样式",children:l[t(1375)](C[t(1125)],{value:x[t(1518)],onChange:a=>c({lineType:a}),children:d[t(474)](a=>l[t(1375)](Hl,{value:a[t(1044)],children:l[t(884)](t(1037),{className:t(1847),children:[l[t(1375)](t(2163),{children:a[t(663)]}),l.jsx(t(2163),{className:"text-xs text-gray-400",children:a[t(705)]})]})},a[t(1044)]))})}),l.jsx(C[t(1249)][t(1254)],{label:"线宽(像素)",children:l[t(1375)](C.InputNumber,{value:x[t(1200)],onChange:a=>c({lineWeight:a||2}),min:1,max:20,style:{width:120}})}),l.jsx(C.Form[t(1254)],{label:"颜色",children:l[t(884)](t(1037),{className:t(1965),children:[l[t(1375)](Mn,{value:x[t(1176)]||t(2106),onChange:a=>c({color:a[t(2072)]()})}),l.jsx(C[t(465)],{value:x[t(1176)],onChange:a=>c({color:a[t(500)][t(1044)]}),placeholder:"#d9d9d9",style:{width:100}})]})})]})]})};function si(e){return Array[s(565)](e)}function Vl(e){const n=s,t=new Set;return e[n(1322)](o=>Object[n(999)](o)[n(1322)](x=>t[n(729)](x))),Array[n(1365)](t)}function ql(e,n){const t=s;return e[t(474)]((o,x)=>{const r=t,i=o[n],c=o.name;return{label:String(c??"项 "+(x+1)),value:typeof i===r(1705)||typeof i===r(2059)?i:String(i)}})}function Wl(e,n,t){if(si(e)){if(n!=null&&t!=null){const o=e.find(x=>x[n]===t);if(o)return o}return{}}return e}const li=({status:e,onUpdate:n,onAppendToExpression:t})=>{const o=s,x=Qe(h=>h[o(1440)]),r=x.find(h=>h.id===e[o(965)]),i=r?si(r[o(2133)]):!1,c=r?Wl(r.sample,e[o(1289)],e[o(848)]):{},d=Cr(c),a=h=>{const v=o,M=v(1156)+h;t?t(M):n({expression:""+(e[v(572)]||"")+M})},u=h=>{n({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{n({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},b=h=>{n({boundDatasetBindValue:h??null})},g=r&&i?Vl(r[o(2133)]):[],w=r&&i&&e[o(1289)]?ql(r.sample,e[o(1289)]):[];return l[o(884)](l[o(1465)],{children:[l.jsx(C[o(1249)][o(1254)],{label:o(716),extra:x[o(2179)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":o(1522),children:l.jsx(C[o(1125)],{allowClear:!0,showSearch:!0,placeholder:x[o(2179)]===0?o(1956):o(1593),value:e[o(965)]??void 0,options:x.map(h=>({label:h[o(863)],value:h.id})),onChange:u,filterOption:(h,v)=>String(v?.label??"")[o(1239)]()[o(1419)](h.toLowerCase()),onInputKeyDown:h=>{h[o(844)]===" "&&h.stopPropagation()}})}),r&&i&&l[o(884)](l[o(1465)],{children:[l[o(1375)](C[o(1249)].Item,{label:o(503),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[o(1375)](C.Select,{allowClear:!0,placeholder:o(1263),value:e.boundDatasetBindCode??void 0,options:g[o(474)](h=>({label:h,value:h})),onChange:f})}),e.boundDatasetBindCode&&l[o(1375)](C[o(1249)][o(1254)],{label:o(1149),extra:o(1628),children:l.jsx(C[o(1125)],{allowClear:!0,showSearch:!0,placeholder:o(411),value:e[o(848)]??void 0,options:w,onChange:b,filterOption:(h,v)=>String(v?.[o(663)]??"")[o(1239)]().includes(h[o(1239)]()),onInputKeyDown:h=>{const v=o;h[v(844)]===" "&&h[v(1313)]()}})})]}),d[o(2179)]>0&&l.jsx(C[o(1249)][o(1254)],{label:o(1016),children:l[o(1375)](C.Space,{size:[4,4],wrap:!0,children:d.map(h=>l.jsx(C.Tag,{className:o(2112),onClick:()=>a(h),children:o(1156)+h},h))})})]})},di=({material:e,onSave:n})=>{const t=s;switch(e[t(1912)]){case t(1509):return l[t(1375)](Gl,{material:e,onSave:n});case t(1054):return l[t(1375)](Ol,{material:e,onSave:n});case t(1701):return l.jsx(Tl,{material:e,onSave:n});default:return l[t(1375)](t(1037),{className:t(1814),children:"暂不支持编辑此类型的物料"})}},{Panel:ui}=C[s(860)],{TextArea:Xl}=C.Input,Kl=({node:e,updateNode:n,materials:t})=>{const o=s,x=t[o(815)](f=>f.type!==o(601)||!f[o(1936)]?.[o(960)]),r=(f,b)=>{const g=o,w=e[g(517)]?.[g(474)](h=>{const v=g;return h.id===f?{...h,contentInfo:{...h[v(742)],statusList:b}}:h});n(e.id,{children:w})},i=f=>{const b=o,g=e[b(517)]?.[b(990)](h=>h.id===f);if(!g)return;const w={id:Le[b(1335)](),name:"状态"+(g[b(742)][b(1833)][b(2179)]+1),expression:g[b(742)][b(1833)].length===0?b(2069):"return false;",material:{...x[0],id:Le[b(1335)]()},boundDatasetId:null};r(f,[...g[b(742)][b(1833)],w])},c=(f,b)=>{const g=o,w=e[g(517)]?.[g(990)](v=>v.id===f);if(!w)return;const h=w[g(742)].statusList[g(815)](v=>v.id!==b);r(f,h)},d=(f,b,g)=>{const w=o,h=e.children?.find(M=>M.id===f);if(!h)return;const v=h[w(742)][w(1833)][w(474)](M=>M.id===b?{...M,...g}:M);r(f,v)},a=(f,b,g)=>{const w=o,h=e[w(517)]?.[w(990)](m=>m.id===f);if(!h)return;const v=h.contentInfo[w(1833)][w(424)](m=>m.id===b);if(v===-1)return;const M=[...h.contentInfo[w(1833)]];g==="up"&&v>0?[M[v],M[v-1]]=[M[v-1],M[v]]:g===w(1221)&&v<M.length-1&&([M[v],M[v+1]]=[M[v+1],M[v]]),r(f,M)},u=(f,b,g)=>{const w=o,h=t[w(990)](v=>v.id===g);h&&d(f,b,{material:{...h,id:Le.nanoid()}})};return l[o(884)]("div",{className:o(1888),children:[l[o(1375)](o(1037),{className:o(2014),children:l.jsxs(o(1037),{className:o(1165),children:[l[o(1375)](o(645),{children:o(1659)}),":为每个子节点配置多个状态和绑定"]})}),l[o(1375)](C[o(860)],{ghost:!0,children:e.children?.[o(474)]((f,b)=>l[o(1375)](ui,{header:l[o(884)]("div",{className:"flex items-center justify-between w-full pr-4",children:[l.jsxs("span",{className:o(446),children:[o(1302),b+1]}),l.jsxs(C[o(2158)],{color:o(547),style:{fontSize:o(607),padding:"0 4px"},children:[f[o(742)][o(1833)][o(2179)]," 个状态"]})]}),children:l[o(884)]("div",{className:o(1463),children:[l[o(884)](o(1037),{className:o(1617),children:[l[o(1375)](o(2163),{className:"text-sm text-gray-600",children:"状态列表"}),l[o(1375)](C[o(1105)],{type:o(2085),size:"small",icon:l.jsx(de[o(952)],{}),onClick:()=>i(f.id),children:o(876)})]}),f[o(742)][o(1833)][o(2179)]===0?l[o(1375)](o(1037),{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:o(735)}):l[o(1375)](C.Collapse,{ghost:!0,children:f[o(742)].statusList[o(474)]((g,w)=>l[o(1375)](ui,{header:l[o(884)]("div",{className:o(1965),children:[l[o(1375)]("span",{className:o(2130),children:w+1}),l[o(1375)](o(2163),{className:"font-medium",children:g[o(863)]}),l[o(1375)](C[o(2158)],{color:o(384),className:"text-xs",children:g.material[o(1912)]})]}),extra:l.jsxs(C[o(1450)],{size:o(1400),onClick:h=>h[o(1313)](),children:[l[o(1375)](C[o(1105)],{type:o(1918),size:o(1400),icon:l.jsx(de[o(1307)],{}),disabled:w===0,onClick:h=>{h.stopPropagation(),a(f.id,g.id,"up")}}),l[o(1375)](C[o(1105)],{type:o(1918),size:o(1400),icon:l[o(1375)](de.ArrowDownOutlined,{}),disabled:w===f[o(742)][o(1833)][o(2179)]-1,onClick:h=>{const v=o;h[v(1313)](),a(f.id,g.id,v(1221))}}),l.jsx(C[o(1105)],{type:o(1918),size:o(1400),danger:!0,icon:l.jsx(de[o(635)],{}),onClick:h=>{h[o(1313)](),c(f.id,g.id)}})]}),children:l[o(884)](C[o(1249)],{layout:o(1323),children:[l[o(1375)](C[o(1249)][o(1254)],{label:"状态名称",children:l[o(1375)](C[o(465)],{value:g.name,onChange:h=>d(f.id,g.id,{name:h[o(500)][o(1044)]}),placeholder:o(1283)})}),l[o(1375)](li,{status:g,onUpdate:h=>d(f.id,g.id,h)}),l[o(1375)](C[o(1249)].Item,{label:o(1817),help:o(1819),children:l.jsx(Xl,{value:g[o(572)],onChange:h=>d(f.id,g.id,{expression:h[o(500)][o(1044)]}),rows:3,placeholder:o(2069)})}),l[o(1375)](C.Form[o(1254)],{label:o(2060),children:l[o(884)](o(1037),{className:o(1965),children:[l[o(1375)](C[o(2158)],{color:o(547),children:g[o(956)][o(863)]}),l[o(1375)](C.Tag,{color:"default",children:g[o(956)].type}),l[o(1375)](C[o(1125)],{placeholder:o(1500),style:{width:150},value:void 0,onChange:h=>h&&u(f.id,g.id,h),options:x[o(474)](h=>({value:h.id,label:h[o(863)]+" ("+h.type+")"}))})]})}),l.jsx(C.Divider,{style:{margin:"12px 0"}}),l[o(884)](o(1037),{className:o(1885),children:[l[o(884)]("div",{className:o(2009),children:[l[o(1375)](o(2163),{className:"text-sm font-medium",children:o(1252)}),l[o(1375)](C.Tag,{children:g.material[o(863)]})]}),l[o(1375)](di,{material:g[o(956)],onSave:h=>{const v=o,M={...g[v(956)],...h};d(f.id,g.id,{material:M})}})]})]})},g.id))})]})},f.id))})]})};function Xe(e){const n=s;if(typeof e===n(1705)||typeof e=="number")return""+e;let t="";if(Array[n(565)](e))for(let o=0,x;o<e[n(2179)];o++)(x=Xe(e[o]))!==""&&(t+=(t&&" ")+x);else for(let o in e)e[o]&&(t+=(t&&" ")+o);return t}var Zl={value:()=>{}};function Ht(){const e=s;for(var n=0,t=arguments.length,o={},x;n<t;++n){if(!(x=arguments[n]+"")||x in o||/[\s.]/[e(665)](x))throw new Error(e(1369)+x);o[x]=[]}return new Tt(o)}function Tt(e){this._=e}function Rl(e,n){const t=s;return e[t(349)]()[t(897)](/^|\s+/).map(function(o){const x=t;var r="",i=o[x(1878)](".");if(i>=0&&(r=o[x(852)](i+1),o=o[x(852)](0,i)),o&&!n[x(911)](o))throw new Error(x(1983)+o);return{type:o,name:r}})}Tt[s(2107)]=Ht.prototype={constructor:Tt,on:function(e,n){const t=s;var o=this._,x=Rl(e+"",o),r,i=-1,c=x[t(2179)];if(arguments.length<2){for(;++i<c;)if((r=(e=x[i])[t(1912)])&&(r=Jl(o[r],e.name)))return r;return}if(n!=null&&typeof n!==t(1347))throw new Error(t(1474)+n);for(;++i<c;)if(r=(e=x[i])[t(1912)])o[r]=fi(o[r],e[t(863)],n);else if(n==null)for(r in o)o[r]=fi(o[r],e.name,null);return this},copy:function(){const e=s;var n={},t=this._;for(var o in t)n[o]=t[o][e(852)]();return new Tt(n)},call:function(e,n){const t=s;if((r=arguments[t(2179)]-2)>0)for(var o=new Array(r),x=0,r,i;x<r;++x)o[x]=arguments[x+2];if(!this._[t(911)](e))throw new Error("unknown type: "+e);for(i=this._[e],x=0,r=i[t(2179)];x<r;++x)i[x][t(1044)][t(2185)](n,o)},apply:function(e,n,t){const o=s;if(!this._[o(911)](e))throw new Error("unknown type: "+e);for(var x=this._[e],r=0,i=x[o(2179)];r<i;++r)x[r][o(1044)][o(2185)](n,t)}};function Jl(e,n){const t=s;for(var o=0,x=e[t(2179)],r;o<x;++o)if((r=e[o])[t(863)]===n)return r[t(1044)]}function fi(e,n,t){const o=s;for(var x=0,r=e[o(2179)];x<r;++x)if(e[x][o(863)]===n){e[x]=Zl,e=e[o(852)](0,x)[o(758)](e[o(852)](x+1));break}return t!=null&&e[o(1759)]({name:n,value:t}),e}var io=s(2042);const hi={svg:s(413),xhtml:io,xlink:s(1622),xml:s(454),xmlns:s(944)};function Vt(e){const n=s;var t=e+="",o=t[n(1878)](":");return o>=0&&(t=e[n(852)](0,o))!==n(1717)&&(e=e[n(852)](o+1)),hi[n(911)](t)?{space:hi[t],local:e}:e}function _l(e){return function(){const n=_0x5590;var t=this[n(1277)],o=this[n(542)];return o===io&&t[n(1082)][n(542)]===io?t[n(2142)](e):t.createElementNS(o,e)}}function Ql(e){return function(){const n=_0x5590;return this[n(1277)].createElementNS(e[n(1680)],e[n(652)])}}function gi(e){const n=s;var t=Vt(e);return(t[n(652)]?Ql:_l)(t)}function Fl(){}function co(e){return e==null?Fl:function(){return this.querySelector(e)}}function $l(e){const n=s;typeof e!==n(1347)&&(e=co(e));for(var t=this._groups,o=t.length,x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i.length,d=x[r]=new Array(c),a,u,f=0;f<c;++f)(a=i[f])&&(u=e[n(414)](a,a[n(1813)],f,i))&&(n(1813)in a&&(u[n(1813)]=a[n(1813)]),d[f]=u);return new d0(x,this._parents)}function ed(e){const n=s;return e==null?[]:Array[n(565)](e)?e:Array.from(e)}function nd(){return[]}function bi(e){return e==null?nd:function(){return this[_0x5590(1214)](e)}}function td(e){return function(){return ed(e[_0x5590(2185)](this,arguments))}}function xd(e){const n=s;typeof e===n(1347)?e=td(e):e=bi(e);for(var t=this[n(2164)],o=t[n(2179)],x=[],r=[],i=0;i<o;++i)for(var c=t[i],d=c[n(2179)],a,u=0;u<d;++u)(a=c[u])&&(x[n(1759)](e[n(414)](a,a[n(1813)],u,c)),r.push(a));return new d0(x,r)}function yi(e){return function(){return this[_0x5590(1844)](e)}}function mi(e){return function(n){return n[_0x5590(1844)](e)}}var od=Array.prototype.find;function rd(e){return function(){return od[_0x5590(414)](this.children,e)}}function id(){return this.firstElementChild}function cd(e){const n=s;return this.select(e==null?id:rd(typeof e===n(1347)?e:mi(e)))}var ad=Array[s(2107)][s(815)];function sd(){return Array.from(this.children)}function ld(e){return function(){const n=_0x5590;return ad[n(414)](this[n(517)],e)}}function dd(e){const n=s;return this[n(1267)](e==null?sd:ld(typeof e===n(1347)?e:mi(e)))}function ud(e){const n=s;typeof e!==n(1347)&&(e=yi(e));for(var t=this[n(2164)],o=t[n(2179)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2179)],d=x[r]=[],a,u=0;u<c;++u)(a=i[u])&&e[n(414)](a,a.__data__,u,i)&&d[n(1759)](a);return new d0(x,this[n(1021)])}function wi(e){const n=s;return new Array(e[n(2179)])}function fd(){const e=s;return new d0(this[e(1368)]||this._groups[e(474)](wi),this._parents)}function qt(e,n){const t=s;this[t(1277)]=e.ownerDocument,this[t(542)]=e[t(542)],this[t(1785)]=null,this._parent=e,this.__data__=n}qt[s(2107)]={constructor:qt,appendChild:function(e){const n=s;return this[n(1947)][n(1370)](e,this[n(1785)])},insertBefore:function(e,n){const t=s;return this[t(1947)][t(1370)](e,n)},querySelector:function(e){const n=s;return this[n(1947)][n(1525)](e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function hd(e){return function(){return e}}function gd(e,n,t,o,x,r){const i=s;for(var c=0,d,a=n[i(2179)],u=r[i(2179)];c<u;++c)(d=n[c])?(d[i(1813)]=r[c],o[c]=d):t[c]=new qt(e,r[c]);for(;c<a;++c)(d=n[c])&&(x[c]=d)}function bd(e,n,t,o,x,r,i){const c=s;var d,a,u=new Map,f=n[c(2179)],b=r[c(2179)],g=new Array(f),w;for(d=0;d<f;++d)(a=n[d])&&(g[d]=w=i[c(414)](a,a[c(1813)],d,n)+"",u[c(1147)](w)?x[d]=a:u[c(721)](w,a));for(d=0;d<b;++d)w=i[c(414)](e,r[d],d,r)+"",(a=u.get(w))?(o[d]=a,a.__data__=r[d],u.delete(w)):t[d]=new qt(e,r[d]);for(d=0;d<f;++d)(a=n[d])&&u[c(1861)](g[d])===a&&(x[d]=a)}function yd(e){return e.__data__}function md(e,n){const t=s;if(!arguments.length)return Array.from(this,yd);var o=n?bd:gd,x=this[t(1021)],r=this._groups;typeof e!==t(1347)&&(e=hd(e));for(var i=r[t(2179)],c=new Array(i),d=new Array(i),a=new Array(i),u=0;u<i;++u){var f=x[u],b=r[u],g=b[t(2179)],w=wd(e[t(414)](f,f&&f[t(1813)],u,x)),h=w.length,v=d[u]=new Array(h),M=c[u]=new Array(h),m=a[u]=new Array(g);o(f,b,v,M,m,w,n);for(var y=0,p=0,z,P;y<h;++y)if(z=v[y]){for(y>=p&&(p=y+1);!(P=M[p])&&++p<h;);z[t(1785)]=P||null}}return c=new d0(c,x),c._enter=d,c[t(1246)]=a,c}function wd(e){const n=s;return typeof e===n(878)&&n(2179)in e?e:Array[n(1365)](e)}function vd(){const e=s;return new d0(this._exit||this[e(2164)][e(474)](wi),this[e(1021)])}function pd(e,n,t){const o=s;var x=this.enter(),r=this,i=this.exit();return typeof e=="function"?(x=e(x),x&&(x=x[o(2103)]())):x=x.append(e+""),n!=null&&(r=n(r),r&&(r=r[o(2103)]())),t==null?i.remove():t(i),x&&r?x[o(2e3)](r)[o(1868)]():r}function zd(e){const n=s;for(var t=e.selection?e[n(2103)]():e,o=this[n(2164)],x=t[n(2164)],r=o.length,i=x.length,c=Math[n(775)](r,i),d=new Array(r),a=0;a<c;++a)for(var u=o[a],f=x[a],b=u[n(2179)],g=d[a]=new Array(b),w,h=0;h<b;++h)(w=u[h]||f[h])&&(g[h]=w);for(;a<r;++a)d[a]=o[a];return new d0(d,this[n(1021)])}function Cd(){const e=s;for(var n=this[e(2164)],t=-1,o=n[e(2179)];++t<o;)for(var x=n[t],r=x[e(2179)]-1,i=x[r],c;--r>=0;)(c=x[r])&&(i&&c[e(2140)](i)^4&&i.parentNode[e(1370)](c,i),i=c);return this}function Md(e){const n=s;e||(e=Bd);function t(b,g){const w=_0x5590;return b&&g?e(b[w(1813)],g[w(1813)]):!b-!g}for(var o=this[n(2164)],x=o[n(2179)],r=new Array(x),i=0;i<x;++i){for(var c=o[i],d=c[n(2179)],a=r[i]=new Array(d),u,f=0;f<d;++f)(u=c[f])&&(a[f]=u);a[n(840)](t)}return new d0(r,this[n(1021)])[n(1868)]()}function Bd(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Dd(){const e=s;var n=arguments[0];return arguments[0]=this,n[e(2185)](null,arguments),this}function Ld(){return Array[s(1365)](this)}function Nd(){const e=s;for(var n=this[e(2164)],t=0,o=n[e(2179)];t<o;++t)for(var x=n[t],r=0,i=x[e(2179)];r<i;++r){var c=x[r];if(c)return c}return null}function Sd(){let e=0;for(const n of this)++e;return e}function kd(){return!this[s(1504)]()}function Id(e){const n=s;for(var t=this[n(2164)],o=0,x=t.length;o<x;++o)for(var r=t[o],i=0,c=r.length,d;i<c;++i)(d=r[i])&&e[n(414)](d,d.__data__,i,r);return this}function Pd(e){return function(){this[_0x5590(2084)](e)}}function Ad(e){return function(){const n=_0x5590;this[n(534)](e.space,e[n(652)])}}function jd(e,n){return function(){this[_0x5590(1051)](e,n)}}function Yd(e,n){return function(){const t=_0x5590;this[t(1958)](e[t(1680)],e.local,n)}}function Ed(e,n){return function(){var o=n[_0x5590(2185)](this,arguments);o==null?this.removeAttribute(e):this.setAttribute(e,o)}}function Ud(e,n){return function(){const t=_0x5590;var o=n[t(2185)](this,arguments);o==null?this[t(534)](e[t(1680)],e[t(652)]):this[t(1958)](e[t(1680)],e[t(652)],o)}}function Gd(e,n){const t=s;var o=Vt(e);if(arguments[t(2179)]<2){var x=this.node();return o.local?x.getAttributeNS(o.space,o[t(652)]):x[t(659)](o)}return this[t(1270)]((n==null?o[t(652)]?Ad:Pd:typeof n===t(1347)?o[t(652)]?Ud:Ed:o[t(652)]?Yd:jd)(o,n))}function vi(e){const n=s;return e[n(1277)]&&e[n(1277)][n(1944)]||e[n(821)]&&e||e[n(1944)]}function Od(e){return function(){this[_0x5590(1476)].removeProperty(e)}}function Hd(e,n,t){return function(){const o=_0x5590;this[o(1476)][o(713)](e,n,t)}}function Td(e,n,t){return function(){const o=_0x5590;var x=n[o(2185)](this,arguments);x==null?this.style[o(661)](e):this[o(1476)][o(713)](e,x,t)}}function Vd(e,n,t){const o=s;return arguments[o(2179)]>1?this[o(1270)]((n==null?Od:typeof n===o(1347)?Td:Hd)(e,n,t??"")):Bn(this[o(1504)](),e)}function Bn(e,n){const t=s;return e.style.getPropertyValue(n)||vi(e)[t(704)](e,null)[t(872)](n)}function qd(e){return function(){delete this[e]}}function Wd(e,n){return function(){this[e]=n}}function Xd(e,n){return function(){var o=n[_0x5590(2185)](this,arguments);o==null?delete this[e]:this[e]=o}}function Kd(e,n){const t=s;return arguments[t(2179)]>1?this.each((n==null?qd:typeof n===t(1347)?Xd:Wd)(e,n)):this[t(1504)]()[e]}function pi(e){const n=s;return e.trim()[n(897)](/^|\s+/)}function ao(e){return e.classList||new zi(e)}function zi(e){const n=s;this[n(2170)]=e,this[n(1831)]=pi(e[n(659)](n(1414))||"")}zi[s(2107)]={add:function(e){const n=s;var t=this._names[n(1878)](e);t<0&&(this[n(1831)][n(1759)](e),this._node.setAttribute(n(1414),this._names[n(1881)](" ")))},remove:function(e){const n=s;var t=this[n(1831)][n(1878)](e);t>=0&&(this[n(1831)].splice(t,1),this[n(2170)][n(1051)]("class",this._names[n(1881)](" ")))},contains:function(e){const n=s;return this[n(1831)][n(1878)](e)>=0}};function Ci(e,n){for(var t=ao(e),o=-1,x=n.length;++o<x;)t.add(n[o])}function Mi(e,n){for(var t=ao(e),o=-1,x=n.length;++o<x;)t.remove(n[o])}function Zd(e){return function(){Ci(this,e)}}function Rd(e){return function(){Mi(this,e)}}function Jd(e,n){return function(){(n.apply(this,arguments)?Ci:Mi)(this,e)}}function _d(e,n){const t=s;var o=pi(e+"");if(arguments.length<2){for(var x=ao(this[t(1504)]()),r=-1,i=o[t(2179)];++r<i;)if(!x.contains(o[r]))return!1;return!0}return this.each((typeof n===t(1347)?Jd:n?Zd:Rd)(o,n))}function Qd(){this.textContent=""}function Fd(e){return function(){this.textContent=e}}function $d(e){return function(){const n=_0x5590;var t=e[n(2185)](this,arguments);this[n(1367)]=t??""}}function eu(e){const n=s;return arguments[n(2179)]?this[n(1270)](e==null?Qd:(typeof e===n(1347)?$d:Fd)(e)):this[n(1504)]()[n(1367)]}function nu(){const e=s;this[e(1244)]=""}function tu(e){return function(){const n=_0x5590;this[n(1244)]=e}}function xu(e){return function(){const n=_0x5590;var t=e[n(2185)](this,arguments);this[n(1244)]=t??""}}function ou(e){const n=s;return arguments[n(2179)]?this[n(1270)](e==null?nu:(typeof e===n(1347)?xu:tu)(e)):this.node()[n(1244)]}function ru(){const e=s;this[e(757)]&&this[e(1744)][e(1032)](this)}function iu(){return this[s(1270)](ru)}function cu(){const e=s;this.previousSibling&&this[e(1744)][e(1370)](this,this[e(1744)][e(866)])}function au(){return this[s(1270)](cu)}function su(e){const n=s;var t=typeof e===n(1347)?e:gi(e);return this[n(787)](function(){const o=n;return this[o(1032)](t[o(2185)](this,arguments))})}function lu(){return null}function du(e,n){const t=s;var o=typeof e===t(1347)?e:gi(e),x=n==null?lu:typeof n=="function"?n:co(n);return this.select(function(){return this[t(1370)](o.apply(this,arguments),x.apply(this,arguments)||null)})}function uu(){const e=s;var n=this[e(1744)];n&&n[e(1655)](this)}function fu(){return this.each(uu)}function hu(){const e=s;var n=this[e(1953)](!1),t=this[e(1744)];return t?t[e(1370)](n,this[e(757)]):n}function gu(){const e=s;var n=this[e(1953)](!0),t=this[e(1744)];return t?t[e(1370)](n,this[e(757)]):n}function bu(e){return this[s(787)](e?gu:hu)}function yu(e){const n=s;return arguments[n(2179)]?this.property(n(1813),e):this[n(1504)]()[n(1813)]}function mu(e){return function(n){const t=_0x5590;e[t(414)](this,n,this[t(1813)])}}function wu(e){const n=s;return e[n(349)]()[n(897)](/^|\s+/).map(function(t){const o=n;var x="",r=t.indexOf(".");return r>=0&&(x=t.slice(r+1),t=t[o(852)](0,r)),{type:t,name:x}})}function vu(e){return function(){const n=_0x5590;var t=this.__on;if(t){for(var o=0,x=-1,r=t.length,i;o<r;++o)i=t[o],(!e[n(1912)]||i[n(1912)]===e.type)&&i.name===e[n(863)]?this[n(1665)](i.type,i[n(456)],i.options):t[++x]=i;++x?t[n(2179)]=x:delete this.__on}}}function pu(e,n,t){return function(){const o=_0x5590;var x=this[o(936)],r,i=mu(n);if(x){for(var c=0,d=x[o(2179)];c<d;++c)if((r=x[c])[o(1912)]===e[o(1912)]&&r[o(863)]===e[o(863)]){this[o(1665)](r[o(1912)],r[o(456)],r[o(1964)]),this[o(1892)](r.type,r[o(456)]=i,r[o(1964)]=t),r[o(1044)]=n;return}}this.addEventListener(e[o(1912)],i,t),r={type:e[o(1912)],name:e[o(863)],value:n,listener:i,options:t},x?x[o(1759)](r):this[o(936)]=[r]}}function zu(e,n,t){const o=s;var x=wu(e+""),r,i=x[o(2179)],c;if(arguments[o(2179)]<2){var d=this[o(1504)]()[o(936)];if(d){for(var a=0,u=d[o(2179)],f;a<u;++a)for(r=0,f=d[a];r<i;++r)if((c=x[r]).type===f.type&&c[o(863)]===f[o(863)])return f[o(1044)]}return}for(d=n?pu:vu,r=0;r<i;++r)this[o(1270)](d(x[r],n,t));return this}function Bi(e,n,t){const o=s;var x=vi(e),r=x[o(1333)];typeof r===o(1347)?r=new r(n,t):(r=x[o(821)][o(1860)]("Event"),t?(r[o(1222)](n,t[o(1253)],t[o(2147)]),r[o(1065)]=t.detail):r[o(1222)](n,!1,!1)),e[o(1122)](r)}function Cu(e,n){return function(){return Bi(this,e,n)}}function Mu(e,n){return function(){return Bi(this,e,n.apply(this,arguments))}}function Bu(e,n){const t=s;return this.each((typeof n===t(1347)?Mu:Cu)(e,n))}function*Du(){const e=s;for(var n=this._groups,t=0,o=n[e(2179)];t<o;++t)for(var x=n[t],r=0,i=x[e(2179)],c;r<i;++r)(c=x[r])&&(yield c)}var Di=[null];function d0(e,n){const t=s;this[t(2164)]=e,this[t(1021)]=n}function Qn(){const e=s;return new d0([[document[e(1082)]]],Di)}function Lu(){return this}d0.prototype=Qn[s(2107)]={constructor:d0,select:$l,selectAll:xd,selectChild:cd,selectChildren:dd,filter:ud,data:md,enter:fd,exit:vd,join:pd,merge:zd,selection:Lu,order:Cd,sort:Md,call:Dd,nodes:Ld,node:Nd,size:Sd,empty:kd,each:Id,attr:Gd,style:Vd,property:Kd,classed:_d,text:eu,html:ou,raise:iu,lower:au,append:su,insert:du,remove:fu,clone:bu,datum:yu,on:zu,dispatch:Bu,[Symbol[s(1002)]]:Du};function u0(e){const n=s;return typeof e===n(1705)?new d0([[document[n(1525)](e)]],[document[n(1082)]]):new d0([[e]],Di)}function Nu(e){const n=s;let t;for(;t=e[n(1294)];)e=t;return e}function v0(e,n){const t=s;if(e=Nu(e),n===void 0&&(n=e.currentTarget),n){var o=n.ownerSVGElement||n;if(o[t(1111)]){var x=o[t(1111)]();return x.x=e[t(1072)],x.y=e.clientY,x=x[t(1454)](n.getScreenCTM().inverse()),[x.x,x.y]}if(n[t(1821)]){var r=n.getBoundingClientRect();return[e[t(1072)]-r.left-n[t(1262)],e[t(1301)]-r[t(1117)]-n[t(2114)]]}}return[e[t(894)],e[t(1178)]]}const Su={passive:!1},Fn={capture:!0,passive:!1};function so(e){e.stopImmediatePropagation()}function Dn(e){const n=s;e[n(810)](),e[n(774)]()}function Li(e){const n=s;var t=e[n(821)].documentElement,o=u0(e).on(n(1734),Dn,Fn);n(1637)in t?o.on(n(1875),Dn,Fn):(t.__noselect=t[n(1476)][n(855)],t.style[n(855)]="none")}function Ni(e,n){const t=s;var o=e[t(821)][t(1082)],x=u0(e).on("dragstart.drag",null);n&&(x.on(t(351),Dn,Fn),setTimeout(function(){const r=t;x.on(r(351),null)},0)),t(1637)in o?x.on(t(1875),null):(o[t(1476)][t(855)]=o[t(1954)],delete o[t(1954)])}const Wt=e=>()=>e;function lo(e,{sourceEvent:n,subject:t,target:o,identifier:x,active:r,x:i,y:c,dx:d,dy:a,dispatch:u}){Object[s(2046)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:x,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:a,enumerable:!0,configurable:!0},_:{value:u}})}lo[s(2107)].on=function(){const e=s;var n=this._.on[e(2185)](this._,arguments);return n===this._?this:n};function ku(e){const n=s;return!e.ctrlKey&&!e[n(752)]}function Iu(){return this[s(1744)]}function Pu(e,n){return n??{x:e.x,y:e.y}}function Au(){const e=s;return navigator[e(1194)]||e(1243)in this}function Si(){const e=s;var n=ku,t=Iu,o=Pu,x=Au,r={},i=Ht(e(1310),e(1980),e(1942)),c=0,d,a,u,f,b=0;function g(z){const P=e;z.on(P(2139),w)[P(815)](x).on("touchstart.drag",M).on("touchmove.drag",m,Su).on(P(1577),y)[P(1476)]("touch-action","none")[P(1476)](P(1552),P(577))}function w(z,P){const G=e;if(!(f||!n[G(414)](this,z,P))){var O=p(this,t[G(414)](this,z,P),z,P,G(1727));O&&(u0(z[G(1863)]).on("mousemove.drag",h,Fn).on(G(1114),v,Fn),Li(z[G(1863)]),so(z),u=!1,d=z[G(1072)],a=z[G(1301)],O(G(1310),z))}}function h(z){const P=e;if(Dn(z),!u){var G=z[P(1072)]-d,O=z[P(1301)]-a;u=G*G+O*O>b}r[P(1727)]("drag",z)}function v(z){const P=e;u0(z.view).on(P(656),null),Ni(z[P(1863)],u),Dn(z),r[P(1727)](P(1942),z)}function M(z,P){const G=e;if(n[G(414)](this,z,P)){var O=z.changedTouches,V=t.call(this,z,P),j=O.length,q,H;for(q=0;q<j;++q)(H=p(this,V,z,P,O[q][G(1144)],O[q]))&&(so(z),H(G(1310),z,O[q]))}}function m(z){const P=e;var G=z[P(1134)],O=G[P(2179)],V,j;for(V=0;V<O;++V)(j=r[G[V].identifier])&&(Dn(z),j(P(1980),z,G[V]))}function y(z){const P=e;var G=z[P(1134)],O=G[P(2179)],V,j;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),V=0;V<O;++V)(j=r[G[V][P(1144)]])&&(so(z),j(P(1942),z,G[V]))}function p(z,P,G,O,V,j){const q=e;var H=i[q(1826)](),W=v0(j||G,P),T,N,L;if((L=o[q(414)](z,new lo(q(1199),{sourceEvent:G,target:g,identifier:V,active:c,x:W[0],y:W[1],dx:0,dy:0,dispatch:H}),O))!=null)return T=L.x-W[0]||0,N=L.y-W[1]||0,function D(Y,U,I){const J=q;var $=W,F;switch(Y){case J(1310):r[V]=D,F=c++;break;case J(1942):delete r[V],--c;case J(1980):W=v0(I||U,P),F=c;break}H[J(414)](Y,z,new lo(Y,{sourceEvent:U,subject:L,target:g,identifier:V,active:F,x:W[0]+T,y:W[1]+N,dx:W[0]-$[0],dy:W[1]-$[1],dispatch:H}),O)}}return g[e(815)]=function(z){const P=e;return arguments[P(2179)]?(n=typeof z===P(1347)?z:Wt(!!z),g):n},g[e(390)]=function(z){const P=e;return arguments[P(2179)]?(t=typeof z===P(1347)?z:Wt(z),g):t},g.subject=function(z){const P=e;return arguments[P(2179)]?(o=typeof z===P(1347)?z:Wt(z),g):o},g[e(2136)]=function(z){return arguments.length?(x=typeof z=="function"?z:Wt(!!z),g):x},g.on=function(){var z=i.on.apply(i,arguments);return z===i?g:z},g[e(1614)]=function(z){const P=e;return arguments.length?(b=(z=+z)*z,g):Math[P(857)](b)},g}function uo(e,n,t){const o=s;e.prototype=n[o(2107)]=t,t[o(575)]=e}function ki(e,n){const t=s;var o=Object[t(1572)](e[t(2107)]);for(var x in n)o[x]=n[x];return o}function $n(){}var et=.7,Xt=1/et,Ln=s(1107),nt=s(881),k0=s(2105),ju=/^#([0-9a-f]{3,8})$/,Yu=new RegExp("^rgb\\("+Ln+","+Ln+","+Ln+s(1573)),Eu=new RegExp(s(1603)+k0+","+k0+","+k0+s(1573)),Uu=new RegExp(s(644)+Ln+","+Ln+","+Ln+","+nt+s(1573)),Gu=new RegExp(s(644)+k0+","+k0+","+k0+","+nt+s(1573)),Ou=new RegExp("^hsl\\("+nt+","+k0+","+k0+s(1573)),Hu=new RegExp(s(962)+nt+","+k0+","+k0+","+nt+s(1573)),Ii={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};uo($n,rn,{copy(e){const n=s;return Object[n(1060)](new this[n(575)],this,e)},displayable(){const e=s;return this.rgb()[e(438)]()},hex:Pi,formatHex:Pi,formatHex8:Tu,formatHsl:Vu,formatRgb:Ai,toString:Ai});function Pi(){const e=s;return this[e(1870)]()[e(2115)]()}function Tu(){const e=s;return this[e(1870)]()[e(1130)]()}function Vu(){return Gi(this).formatHsl()}function Ai(){return this[s(1870)]().formatRgb()}function rn(e){const n=s;var t,o;return e=(e+"")[n(349)]()[n(1239)](),(t=ju[n(2033)](e))?(o=t[1][n(2179)],t=parseInt(t[1],16),o===6?ji(t):o===3?new c0(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):o===8?Kt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):o===4?Kt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Yu.exec(e))?new c0(t[1],t[2],t[3],1):(t=Eu.exec(e))?new c0(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Uu.exec(e))?Kt(t[1],t[2],t[3],t[4]):(t=Gu[n(2033)](e))?Kt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Ou[n(2033)](e))?Ui(t[1],t[2]/100,t[3]/100,1):(t=Hu.exec(e))?Ui(t[1],t[2]/100,t[3]/100,t[4]):Ii[n(911)](e)?ji(Ii[e]):e==="transparent"?new c0(NaN,NaN,NaN,0):null}function ji(e){return new c0(e>>16&255,e>>8&255,e&255,1)}function Kt(e,n,t,o){return o<=0&&(e=n=t=NaN),new c0(e,n,t,o)}function qu(e){const n=s;return e instanceof $n||(e=rn(e)),e?(e=e[n(1870)](),new c0(e.r,e.g,e.b,e[n(1028)])):new c0}function fo(e,n,t,o){return arguments[s(2179)]===1?qu(e):new c0(e,n,t,o??1)}function c0(e,n,t,o){const x=s;this.r=+e,this.g=+n,this.b=+t,this[x(1028)]=+o}uo(c0,fo,ki($n,{brighter(e){const n=s;return e=e==null?Xt:Math[n(919)](Xt,e),new c0(this.r*e,this.g*e,this.b*e,this[n(1028)])},darker(e){const n=s;return e=e==null?et:Math[n(919)](et,e),new c0(this.r*e,this.g*e,this.b*e,this[n(1028)])},rgb(){return this},clamp(){return new c0(cn(this.r),cn(this.g),cn(this.b),Zt(this.opacity))},displayable(){const e=s;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(1028)]&&this.opacity<=1},hex:Yi,formatHex:Yi,formatHex8:Wu,formatRgb:Ei,toString:Ei}));function Yi(){return"#"+an(this.r)+an(this.g)+an(this.b)}function Wu(){const e=s;return"#"+an(this.r)+an(this.g)+an(this.b)+an((isNaN(this[e(1028)])?1:this[e(1028)])*255)}function Ei(){const e=s,n=Zt(this.opacity);return""+(n===1?"rgb(":e(755))+cn(this.r)+", "+cn(this.g)+", "+cn(this.b)+(n===1?")":", "+n+")")}function Zt(e){const n=s;return isNaN(e)?1:Math[n(2172)](0,Math[n(775)](1,e))}function cn(e){return Math.max(0,Math.min(255,Math[s(381)](e)||0))}function an(e){const n=s;return e=cn(e),(e<16?"0":"")+e[n(1957)](16)}function Ui(e,n,t,o){return o<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new p0(e,n,t,o)}function Gi(e){const n=s;if(e instanceof p0)return new p0(e.h,e.s,e.l,e.opacity);if(e instanceof $n||(e=rn(e)),!e)return new p0;if(e instanceof p0)return e;e=e.rgb();var t=e.r/255,o=e.g/255,x=e.b/255,r=Math[n(775)](t,o,x),i=Math[n(2172)](t,o,x),c=NaN,d=i-r,a=(i+r)/2;return d?(t===i?c=(o-x)/d+(o<x)*6:o===i?c=(x-t)/d+2:c=(t-o)/d+4,d/=a<.5?i+r:2-i-r,c*=60):d=a>0&&a<1?0:c,new p0(c,d,a,e[n(1028)])}function Xu(e,n,t,o){return arguments[s(2179)]===1?Gi(e):new p0(e,n,t,o??1)}function p0(e,n,t,o){const x=s;this.h=+e,this.s=+n,this.l=+t,this[x(1028)]=+o}uo(p0,Xu,ki($n,{brighter(e){const n=s;return e=e==null?Xt:Math[n(919)](Xt,e),new p0(this.h,this.s,this.l*e,this[n(1028)])},darker(e){const n=s;return e=e==null?et:Math[n(919)](et,e),new p0(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,o=t+(t<.5?t:1-t)*n,x=2*t-o;return new c0(ho(e>=240?e-240:e+120,x,o),ho(e,x,o),ho(e<120?e+240:e-120,x,o),this.opacity)},clamp(){const e=s;return new p0(Oi(this.h),Rt(this.s),Rt(this.l),Zt(this[e(1028)]))},displayable(){const e=s;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(1028)]<=1},formatHsl(){const e=s,n=Zt(this[e(1028)]);return""+(n===1?"hsl(":e(1223))+Oi(this.h)+", "+Rt(this.s)*100+e(1163)+Rt(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function Oi(e){return e=(e||0)%360,e<0?e+360:e}function Rt(e){return Math.max(0,Math[s(775)](1,e||0))}function ho(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const go=e=>()=>e;function Ku(e,n){return function(t){return e+t*n}}function Zu(e,n,t){const o=s;return e=Math[o(919)](e,t),n=Math.pow(n,t)-e,t=1/t,function(x){return Math[o(919)](e+x*n,t)}}function Ru(e){return(e=+e)==1?Hi:function(n,t){return t-n?Zu(n,t,e):go(isNaN(n)?t:n)}}function Hi(e,n){var t=n-e;return t?Ku(e,t):go(isNaN(e)?n:e)}const Jt=(function e(n){const t=s;var o=Ru(n);function x(r,i){const c=_0x5590;var d=o((r=fo(r)).r,(i=fo(i)).r),a=o(r.g,i.g),u=o(r.b,i.b),f=Hi(r[c(1028)],i[c(1028)]);return function(b){const g=c;return r.r=d(b),r.g=a(b),r.b=u(b),r[g(1028)]=f(b),r+""}}return x[t(1608)]=e,x})(1);function Ju(e,n){const t=s;n||(n=[]);var o=e?Math.min(n[t(2179)],e[t(2179)]):0,x=n.slice(),r;return function(i){for(r=0;r<o;++r)x[r]=e[r]*(1-i)+n[r]*i;return x}}function _u(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Qu(e,n){const t=s;var o=n?n.length:0,x=e?Math[t(775)](o,e[t(2179)]):0,r=new Array(x),i=new Array(o),c;for(c=0;c<x;++c)r[c]=tt(e[c],n[c]);for(;c<o;++c)i[c]=n[c];return function(d){for(c=0;c<x;++c)i[c]=r[c](d);return i}}function Fu(e,n){var t=new Date;return e=+e,n=+n,function(o){return t[_0x5590(697)](e*(1-o)+n*o),t}}function I0(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function $u(e,n){const t=s;var o={},x={},r;(e===null||typeof e!==t(878))&&(e={}),(n===null||typeof n!==t(878))&&(n={});for(r in n)r in e?o[r]=tt(e[r],n[r]):x[r]=n[r];return function(i){for(r in o)x[r]=o[r](i);return x}}var bo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yo=new RegExp(bo.source,"g");function ef(e){return function(){return e}}function nf(e){return function(n){return e(n)+""}}function Ti(e,n){const t=s;var o=bo[t(1110)]=yo[t(1110)]=0,x,r,i,c=-1,d=[],a=[];for(e=e+"",n=n+"";(x=bo[t(2033)](e))&&(r=yo[t(2033)](n));)(i=r.index)>o&&(i=n[t(852)](o,i),d[c]?d[c]+=i:d[++c]=i),(x=x[0])===(r=r[0])?d[c]?d[c]+=r:d[++c]=r:(d[++c]=null,a[t(1759)]({i:c,x:I0(x,r)})),o=yo.lastIndex;return o<n[t(2179)]&&(i=n[t(852)](o),d[c]?d[c]+=i:d[++c]=i),d[t(2179)]<2?a[0]?nf(a[0].x):ef(n):(n=a.length,function(u){const f=t;for(var b=0,g;b<n;++b)d[(g=a[b]).i]=g.x(u);return d[f(1881)]("")})}function tt(e,n){const t=s;var o=typeof n,x;return n==null||o===t(743)?go(n):(o===t(2059)?I0:o==="string"?(x=rn(n))?(n=x,Jt):Ti:n instanceof rn?Jt:n instanceof Date?Fu:_u(n)?Ju:Array.isArray(n)?Qu:typeof n[t(603)]!==t(1347)&&typeof n[t(1957)]!==t(1347)||isNaN(n)?$u:I0)(e,n)}var Vi=180/Math.PI,mo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function qi(e,n,t,o,x,r){const i=s;var c,d,a;return(c=Math[i(857)](e*e+n*n))&&(e/=c,n/=c),(a=e*t+n*o)&&(t-=e*a,o-=n*a),(d=Math[i(857)](t*t+o*o))&&(t/=d,o/=d,a/=d),e*o<n*t&&(e=-e,n=-n,a=-a,c=-c),{translateX:x,translateY:r,rotate:Math.atan2(n,e)*Vi,skewX:Math.atan(a)*Vi,scaleX:c,scaleY:d}}var _t;function tf(e){const n=s,t=new(typeof DOMMatrix===n(1347)?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(540)]?mo:qi(t.a,t.b,t.c,t.d,t.e,t.f)}function xf(e){const n=s;return e==null||(_t||(_t=document[n(1633)](n(413),"g")),_t[n(1051)](n(1121),e),!(e=_t[n(1121)][n(777)][n(843)]()))?mo:(e=e[n(1943)],qi(e.a,e.b,e.c,e.d,e.e,e.f))}function Wi(e,n,t,o){function x(a){const u=_0x5590;return a[u(2179)]?a[u(1706)]()+" ":""}function r(a,u,f,b,g,w){const h=_0x5590;if(a!==f||u!==b){var v=g[h(1759)](h(1848),null,n,null,t);w[h(1759)]({i:v-4,x:I0(a,f)},{i:v-2,x:I0(u,b)})}else(f||b)&&g.push(h(1848)+f+n+b+t)}function i(a,u,f,b){const g=_0x5590;a!==u?(a-u>180?u+=360:u-a>180&&(a+=360),b[g(1759)]({i:f.push(x(f)+g(1448),null,o)-2,x:I0(a,u)})):u&&f[g(1759)](x(f)+g(1448)+u+o)}function c(a,u,f,b){const g=_0x5590;a!==u?b[g(1759)]({i:f[g(1759)](x(f)+g(792),null,o)-2,x:I0(a,u)}):u&&f[g(1759)](x(f)+g(792)+u+o)}function d(a,u,f,b,g,w){const h=_0x5590;if(a!==f||u!==b){var v=g.push(x(g)+h(1597),null,",",null,")");w.push({i:v-4,x:I0(a,f)},{i:v-2,x:I0(u,b)})}else(f!==1||b!==1)&&g[h(1759)](x(g)+h(1597)+f+","+b+")")}return function(a,u){const f=_0x5590;var b=[],g=[];return a=e(a),u=e(u),r(a[f(391)],a[f(1444)],u[f(391)],u[f(1444)],b,g),i(a[f(1442)],u[f(1442)],b,g),c(a[f(1180)],u[f(1180)],b,g),d(a[f(1859)],a[f(524)],u[f(1859)],u[f(524)],b,g),a=u=null,function(w){const h=f;for(var v=-1,M=g.length,m;++v<M;)b[(m=g[v]).i]=m.x(w);return b[h(1881)]("")}}}var of=Wi(tf,"px, ","px)","deg)"),rf=Wi(xf,", ",")",")"),cf=1e-12;function Xi(e){return((e=Math[s(1068)](e))+1/e)/2}function af(e){return((e=Math.exp(e))-1/e)/2}function sf(e){return((e=Math.exp(2*e))-1)/(e+1)}const Qt=(function e(n,t,o){const x=s;function r(i,c){const d=_0x5590;var a=i[0],u=i[1],f=i[2],b=c[0],g=c[1],w=c[2],h=b-a,v=g-u,M=h*h+v*v,m,y;if(M<cf)y=Math[d(1672)](w/f)/n,m=function(V){const j=d;return[a+V*h,u+V*v,f*Math[j(1068)](n*V*y)]};else{var p=Math[d(857)](M),z=(w*w-f*f+o*M)/(2*f*t*p),P=(w*w-f*f-o*M)/(2*w*t*p),G=Math[d(1672)](Math[d(857)](z*z+1)-z),O=Math[d(1672)](Math[d(857)](P*P+1)-P);y=(O-G)/n,m=function(V){var j=V*y,q=Xi(G),H=f/(t*p)*(q*sf(n*j+G)-af(G));return[a+H*h,u+H*v,f*q/Xi(n*j+G)]}}return m.duration=y*1e3*n/Math.SQRT2,m}return r[x(1364)]=function(i){var d=Math[x(2172)](.001,+i),a=d*d,u=a*a;return e(d,a,u)},r})(Math[s(2150)],2,4);var Nn=0,xt=0,ot=0,Ki=1e3,Ft,rt,$t=0,sn=0,ex=0,it=typeof performance===s(878)&&performance.now?performance:Date,Zi=typeof window===s(878)&&window[s(2074)]?window[s(2074)][s(2119)](window):function(e){setTimeout(e,17)};function wo(){const e=s;return sn||(Zi(lf),sn=it[e(1700)]()+ex)}function lf(){sn=0}function nx(){const e=s;this[e(1751)]=this[e(986)]=this[e(1785)]=null}nx[s(2107)]=Ri[s(2107)]={constructor:nx,restart:function(e,n,t){const o=s;if(typeof e!==o(1347))throw new TypeError("callback is not a function");t=(t==null?wo():+t)+(n==null?0:+n),!this[o(1785)]&&rt!==this&&(rt?rt[o(1785)]=this:Ft=this,rt=this),this[o(1751)]=e,this[o(986)]=t,vo()},stop:function(){const e=s;this[e(1751)]&&(this[e(1751)]=null,this._time=1/0,vo())}};function Ri(e,n,t){const o=s;var x=new nx;return x[o(1215)](e,n,t),x}function df(){const e=s;wo(),++Nn;for(var n=Ft,t;n;)(t=sn-n._time)>=0&&n._call[e(414)](void 0,t),n=n[e(1785)];--Nn}function Ji(){sn=($t=it[s(1700)]())+ex,Nn=xt=0;try{df()}finally{Nn=0,ff(),sn=0}}function uf(){var n=it[s(1700)](),t=n-$t;t>Ki&&(ex-=t,$t=n)}function ff(){const e=s;for(var n,t=Ft,o,x=1/0;t;)t[e(1751)]?(x>t[e(986)]&&(x=t[e(986)]),n=t,t=t[e(1785)]):(o=t[e(1785)],t[e(1785)]=null,t=n?n._next=o:Ft=o);rt=n,vo(x)}function vo(e){const n=s;if(!Nn){xt&&(xt=clearTimeout(xt));var t=e-sn;t>24?(e<1/0&&(xt=setTimeout(Ji,e-it[n(1700)]()-ex)),ot&&(ot=clearInterval(ot))):(ot||($t=it[n(1700)](),ot=setInterval(uf,Ki)),Nn=1,Zi(Ji))}}function _i(e,n,t){const o=s;var x=new nx;return n=n==null?0:+n,x[o(1215)](r=>{x.stop(),e(r+n)},n,t),x}var hf=Ht("start",s(1942),s(1750),s(1835)),gf=[],Qi=0,Fi=1,po=2,tx=3,$i=4,zo=5,xx=6;function ox(e,n,t,o,x,r){const i=s;var c=e[i(370)];if(!c)e[i(370)]={};else if(t in c)return;bf(e,t,{name:n,index:o,group:x,on:hf,tween:gf,time:r[i(412)],delay:r[i(541)],duration:r[i(850)],ease:r.ease,timer:null,state:Qi})}function Co(e,n){const t=s;var o=z0(e,n);if(o[t(437)]>Qi)throw new Error(t(949));return o}function P0(e,n){const t=s;var o=z0(e,n);if(o.state>tx)throw new Error(t(618));return o}function z0(e,n){const t=s;var o=e[t(370)];if(!o||!(o=o[n]))throw new Error(t(1278));return o}function bf(e,n,t){const o=s;var x=e[o(370)],r;x[n]=t,t[o(1612)]=Ri(i,0,t[o(412)]);function i(u){const f=o;t[f(437)]=Fi,t[f(1612)][f(1215)](c,t.delay,t[f(412)]),t[f(541)]<=u&&c(u-t.delay)}function c(u){const f=o;var b,g,w,h;if(t[f(437)]!==Fi)return a();for(b in x)if(h=x[b],h[f(863)]===t[f(863)]){if(h.state===tx)return _i(c);h[f(437)]===$i?(h[f(437)]=xx,h.timer.stop(),h.on[f(414)](f(1835),e,e.__data__,h[f(461)],h[f(744)]),delete x[b]):+b<n&&(h[f(437)]=xx,h[f(1612)][f(1722)](),h.on[f(414)](f(1750),e,e[f(1813)],h.index,h[f(744)]),delete x[b])}if(_i(function(){const v=f;t[v(437)]===tx&&(t[v(437)]=$i,t.timer[v(1215)](d,t.delay,t[v(412)]),d(u))}),t[f(437)]=po,t.on[f(414)](f(1310),e,e[f(1813)],t[f(461)],t[f(744)]),t[f(437)]===po){for(t[f(437)]=tx,r=new Array(w=t[f(1595)].length),b=0,g=-1;b<w;++b)(h=t[f(1595)][b][f(1044)][f(414)](e,e.__data__,t[f(461)],t[f(744)]))&&(r[++g]=h);r[f(2179)]=g+1}}function d(u){const f=o;for(var b=u<t[f(850)]?t[f(1834)].call(null,u/t.duration):(t.timer[f(1215)](a),t[f(437)]=zo,1),g=-1,w=r.length;++g<w;)r[g][f(414)](e,b);t.state===zo&&(t.on[f(414)]("end",e,e[f(1813)],t[f(461)],t.group),a())}function a(){const u=o;t[u(437)]=xx,t[u(1612)].stop(),delete x[n];for(var f in x)return;delete e[u(370)]}}function rx(e,n){const t=s;var o=e[t(370)],x,r,i=!0,c;if(o){n=n==null?null:n+"";for(c in o){if((x=o[c])[t(863)]!==n){i=!1;continue}r=x[t(437)]>po&&x[t(437)]<zo,x[t(437)]=xx,x.timer[t(1722)](),x.on[t(414)](t(r?1835:1750),e,e.__data__,x[t(461)],x[t(744)]),delete o[c]}i&&delete e[t(370)]}}function yf(e){return this[s(1270)](function(){rx(this,e)})}function mf(e,n){var t,o;return function(){const x=_0x5590;var r=P0(this,e),i=r.tween;if(i!==t){o=t=i;for(var c=0,d=o[x(2179)];c<d;++c)if(o[c].name===n){o=o[x(852)](),o[x(558)](c,1);break}}r[x(1595)]=o}}function wf(e,n,t){var o,x;if(typeof t!="function")throw new Error;return function(){const r=_0x5590;var i=P0(this,e),c=i[r(1595)];if(c!==o){x=(o=c)[r(852)]();for(var d={name:n,value:t},a=0,u=x[r(2179)];a<u;++a)if(x[a].name===n){x[a]=d;break}a===u&&x[r(1759)](d)}i[r(1595)]=x}}function vf(e,n){const t=s;var o=this[t(1251)];if(e+="",arguments[t(2179)]<2){for(var x=z0(this[t(1504)](),o)[t(1595)],r=0,i=x.length,c;r<i;++r)if((c=x[r])[t(863)]===e)return c[t(1044)];return null}return this[t(1270)]((n==null?mf:wf)(o,e,n))}function Mo(e,n,t){const o=s;var x=e._id;return e[o(1270)](function(){const r=o;var i=P0(this,x);(i[r(1044)]||(i[r(1044)]={}))[n]=t[r(2185)](this,arguments)}),function(r){const i=o;return z0(r,x)[i(1044)][n]}}function ec(e,n){const t=s;var o;return(typeof n===t(2059)?I0:n instanceof rn?Jt:(o=rn(n))?(n=o,Jt):Ti)(e,n)}function pf(e){return function(){this[_0x5590(2084)](e)}}function zf(e){return function(){const n=_0x5590;this[n(534)](e[n(1680)],e[n(652)])}}function Cf(e,n,t){var o,x=t+"",r;return function(){var c=this[_0x5590(659)](e);return c===x?null:c===o?r:r=n(o=c,t)}}function Mf(e,n,t){var o,x=t+"",r;return function(){const i=_0x5590;var c=this.getAttributeNS(e[i(1680)],e[i(652)]);return c===x?null:c===o?r:r=n(o=c,t)}}function Bf(e,n,t){var o,x,r;return function(){const i=_0x5590;var c,d=t(this),a;return d==null?void this[i(2084)](e):(c=this[i(659)](e),a=d+"",c===a?null:c===o&&a===x?r:(x=a,r=n(o=c,d)))}}function Df(e,n,t){var o,x,r;return function(){const i=_0x5590;var c,d=t(this),a;return d==null?void this[i(534)](e[i(1680)],e[i(652)]):(c=this[i(2155)](e[i(1680)],e.local),a=d+"",c===a?null:c===o&&a===x?r:(x=a,r=n(o=c,d)))}}function Lf(e,n){const t=s;var o=Vt(e),x=o===t(1121)?rf:ec;return this.attrTween(e,typeof n=="function"?(o.local?Df:Bf)(o,x,Mo(this,"attr."+e,n)):n==null?(o.local?zf:pf)(o):(o[t(652)]?Mf:Cf)(o,x,n))}function Nf(e,n){return function(t){const o=_0x5590;this[o(1051)](e,n[o(414)](this,t))}}function Sf(e,n){return function(t){const o=_0x5590;this[o(1958)](e.space,e[o(652)],n[o(414)](this,t))}}function kf(e,n){var t,o;function x(){var i=n[_0x5590(2185)](this,arguments);return i!==o&&(t=(o=i)&&Sf(e,i)),t}return x._value=n,x}function If(e,n){const t=s;var o,x;function r(){var c=n[_0x5590(2185)](this,arguments);return c!==x&&(o=(x=c)&&Nf(e,c)),o}return r[t(1266)]=n,r}function Pf(e,n){const t=s;var o=t(2018)+e;if(arguments[t(2179)]<2)return(o=this.tween(o))&&o[t(1266)];if(n==null)return this.tween(o,null);if(typeof n!==t(1347))throw new Error;var x=Vt(e);return this[t(1595)](o,(x[t(652)]?kf:If)(x,n))}function Af(e,n){return function(){const t=_0x5590;Co(this,e).delay=+n[t(2185)](this,arguments)}}function jf(e,n){return n=+n,function(){const t=_0x5590;Co(this,e)[t(541)]=n}}function Yf(e){const n=s;var t=this[n(1251)];return arguments[n(2179)]?this.each((typeof e===n(1347)?Af:jf)(t,e)):z0(this.node(),t).delay}function Ef(e,n){return function(){const t=_0x5590;P0(this,e).duration=+n[t(2185)](this,arguments)}}function Uf(e,n){return n=+n,function(){const t=_0x5590;P0(this,e)[t(850)]=n}}function Gf(e){const n=s;var t=this[n(1251)];return arguments.length?this[n(1270)]((typeof e===n(1347)?Ef:Uf)(t,e)):z0(this[n(1504)](),t).duration}function Of(e,n){const t=s;if(typeof n!==t(1347))throw new Error;return function(){const o=t;P0(this,e)[o(1834)]=n}}function Hf(e){const n=s;var t=this[n(1251)];return arguments[n(2179)]?this[n(1270)](Of(t,e)):z0(this[n(1504)](),t).ease}function Tf(e,n){return function(){const t=_0x5590;var o=n[t(2185)](this,arguments);if(typeof o!==t(1347))throw new Error;P0(this,e)[t(1834)]=o}}function Vf(e){const n=s;if(typeof e!==n(1347))throw new Error;return this[n(1270)](Tf(this[n(1251)],e))}function qf(e){const n=s;typeof e!==n(1347)&&(e=yi(e));for(var t=this[n(2164)],o=t[n(2179)],x=new Array(o),r=0;r<o;++r)for(var i=t[r],c=i[n(2179)],d=x[r]=[],a,u=0;u<c;++u)(a=i[u])&&e[n(414)](a,a.__data__,u,i)&&d[n(1759)](a);return new G0(x,this[n(1021)],this[n(1281)],this[n(1251)])}function Wf(e){const n=s;if(e[n(1251)]!==this._id)throw new Error;for(var t=this[n(2164)],o=e[n(2164)],x=t[n(2179)],r=o[n(2179)],i=Math.min(x,r),c=new Array(x),d=0;d<i;++d)for(var a=t[d],u=o[d],f=a[n(2179)],b=c[d]=new Array(f),g,w=0;w<f;++w)(g=a[w]||u[w])&&(b[w]=g);for(;d<x;++d)c[d]=t[d];return new G0(c,this[n(1021)],this[n(1281)],this[n(1251)])}function Xf(e){const n=s;return(e+"")[n(349)]()[n(897)](/^|\s+/)[n(1865)](function(t){const o=n;var x=t[o(1878)](".");return x>=0&&(t=t[o(852)](0,x)),!t||t==="start"})}function Kf(e,n,t){var o,x,r=Xf(n)?Co:P0;return function(){const i=_0x5590;var c=r(this,e),d=c.on;d!==o&&(x=(o=d)[i(1826)]()).on(n,t),c.on=x}}function Zf(e,n){const t=s;var o=this[t(1251)];return arguments[t(2179)]<2?z0(this.node(),o).on.on(e):this[t(1270)](Kf(o,e,n))}function Rf(e){return function(){const n=_0x5590;var t=this[n(1744)];for(var o in this[n(370)])if(+o!==e)return;t&&t.removeChild(this)}}function Jf(){const e=s;return this.on(e(763),Rf(this[e(1251)]))}function _f(e){const n=s;var t=this[n(1281)],o=this._id;typeof e!==n(1347)&&(e=co(e));for(var x=this._groups,r=x[n(2179)],i=new Array(r),c=0;c<r;++c)for(var d=x[c],a=d.length,u=i[c]=new Array(a),f,b,g=0;g<a;++g)(f=d[g])&&(b=e.call(f,f.__data__,g,d))&&(n(1813)in f&&(b[n(1813)]=f[n(1813)]),u[g]=b,ox(u[g],t,o,g,u,z0(f,o)));return new G0(i,this[n(1021)],t,o)}function Qf(e){const n=s;var t=this[n(1281)],o=this[n(1251)];typeof e!="function"&&(e=bi(e));for(var x=this._groups,r=x[n(2179)],i=[],c=[],d=0;d<r;++d)for(var a=x[d],u=a.length,f,b=0;b<u;++b)if(f=a[b]){for(var g=e.call(f,f[n(1813)],b,a),w,h=z0(f,o),v=0,M=g[n(2179)];v<M;++v)(w=g[v])&&ox(w,t,o,v,g,h);i.push(g),c.push(f)}return new G0(i,c,t,o)}var Ff=Qn.prototype.constructor;function $f(){const e=s;return new Ff(this[e(2164)],this[e(1021)])}function e2(e,n){var t,o,x;return function(){const r=_0x5590;var i=Bn(this,e),c=(this.style[r(661)](e),Bn(this,e));return i===c?null:i===t&&c===o?x:x=n(t=i,o=c)}}function nc(e){return function(){this.style.removeProperty(e)}}function n2(e,n,t){var o,x=t+"",r;return function(){var i=Bn(this,e);return i===x?null:i===o?r:r=n(o=i,t)}}function t2(e,n,t){var o,x,r;return function(){var i=Bn(this,e),c=t(this),d=c+"";return c==null&&(d=c=(this.style.removeProperty(e),Bn(this,e))),i===d?null:i===o&&d===x?r:(x=d,r=n(o=i,c))}}function x2(e,n){const t=s;var o,x,r,i="style."+n,c=t(927)+i,d;return function(){const a=t;var u=P0(this,e),f=u.on,b=u[a(1044)][i]==null?d||(d=nc(n)):void 0;(f!==o||r!==b)&&(x=(o=f).copy()).on(c,r=b),u.on=x}}function o2(e,n,t){const o=s;var x=(e+="")===o(1121)?of:ec;return n==null?this[o(1428)](e,e2(e,x)).on(o(1742)+e,nc(e)):typeof n===o(1347)?this[o(1428)](e,t2(e,x,Mo(this,o(1456)+e,n)))[o(1270)](x2(this[o(1251)],e)):this[o(1428)](e,n2(e,x,n),t).on(o(1742)+e,null)}function r2(e,n,t){return function(o){const x=_0x5590;this[x(1476)][x(713)](e,n[x(414)](this,o),t)}}function i2(e,n,t){const o=s;var x,r;function i(){var d=n[_0x5590(2185)](this,arguments);return d!==r&&(x=(r=d)&&r2(e,d,t)),x}return i[o(1266)]=n,i}function c2(e,n,t){const o=s;var x=o(1456)+(e+="");if(arguments[o(2179)]<2)return(x=this[o(1595)](x))&&x[o(1266)];if(n==null)return this[o(1595)](x,null);if(typeof n!==o(1347))throw new Error;return this[o(1595)](x,i2(e,n,t??""))}function a2(e){return function(){const n=_0x5590;this[n(1367)]=e}}function s2(e){return function(){var n=e(this);this.textContent=n??""}}function l2(e){const n=s;return this[n(1595)](n(1918),typeof e=="function"?s2(Mo(this,n(1918),e)):a2(e==null?"":e+""))}function d2(e){return function(n){const t=_0x5590;this[t(1367)]=e.call(this,n)}}function u2(e){var n,t;function o(){var x=e.apply(this,arguments);return x!==t&&(n=(t=x)&&d2(x)),n}return o._value=e,o}function f2(e){const n=s;var t="text";if(arguments[n(2179)]<1)return(t=this[n(1595)](t))&&t[n(1266)];if(e==null)return this[n(1595)](t,null);if(typeof e!==n(1347))throw new Error;return this[n(1595)](t,u2(e))}function h2(){const e=s;for(var n=this[e(1281)],t=this[e(1251)],o=tc(),x=this[e(2164)],r=x[e(2179)],i=0;i<r;++i)for(var c=x[i],d=c.length,a,u=0;u<d;++u)if(a=c[u]){var f=z0(a,t);ox(a,n,o,u,c,{time:f[e(412)]+f[e(541)]+f[e(850)],delay:0,duration:f.duration,ease:f.ease})}return new G0(x,this[e(1021)],n,o)}function g2(){const e=s;var n,t,o=this,x=o[e(1251)],r=o[e(1046)]();return new Promise(function(i,c){const d=e;var a={value:c},u={value:function(){--r===0&&i()}};o[d(1270)](function(){const f=d;var b=P0(this,x),g=b.on;g!==n&&(t=(n=g)[f(1826)](),t._[f(1750)][f(1759)](a),t._[f(1835)][f(1759)](a),t._[f(1942)][f(1759)](u)),b.on=t}),r===0&&i()})}var b2=0;function G0(e,n,t,o){const x=s;this[x(2164)]=e,this[x(1021)]=n,this._name=t,this._id=o}function tc(){return++b2}var O0=Qn[s(2107)];G0[s(2107)]={constructor:G0,select:_f,selectAll:Qf,selectChild:O0[s(1089)],selectChildren:O0[s(1652)],filter:qf,merge:Wf,selection:$f,transition:h2,call:O0[s(414)],nodes:O0[s(960)],node:O0[s(1504)],size:O0[s(1046)],empty:O0[s(2001)],each:O0[s(1270)],on:Zf,attr:Lf,attrTween:Pf,style:o2,styleTween:c2,text:l2,textTween:f2,remove:Jf,tween:vf,delay:Yf,duration:Gf,ease:Hf,easeVarying:Vf,end:g2,[Symbol[s(1002)]]:O0[Symbol[s(1002)]]};function y2(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var m2={time:null,delay:0,duration:250,ease:y2};function w2(e,n){const t=s;for(var o;!(o=e[t(370)])||!(o=o[n]);)if(!(e=e.parentNode))throw new Error("transition "+n+" not found");return o}function v2(e){const n=s;var t,o;e instanceof G0?(t=e[n(1251)],e=e[n(1281)]):(t=tc(),(o=m2)[n(412)]=wo(),e=e==null?null:e+"");for(var x=this._groups,r=x[n(2179)],i=0;i<r;++i)for(var c=x[i],d=c.length,a,u=0;u<d;++u)(a=c[u])&&ox(a,e,t,u,c,o||w2(a,t));return new G0(x,this[n(1021)],e,t)}Qn[s(2107)][s(1835)]=yf,Qn[s(2107)][s(1237)]=v2;const ix=e=>()=>e;function p2(e,{sourceEvent:n,target:t,transform:o,dispatch:x}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:x}})}function H0(e,n,t){this.k=e,this.x=n,this.y=t}H0.prototype={constructor:H0,scale:function(e){return e===1?this:new H0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new H0(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=s;return e[n(1826)]()[n(1006)](e.range().map(this.invertX,this)[n(474)](e[n(1565)],e))},rescaleY:function(e){const n=s;return e[n(1826)]()[n(1006)](e.range()[n(474)](this.invertY,this)[n(474)](e[n(1565)],e))},toString:function(){return s(1848)+this.x+","+this.y+") scale("+this.k+")"}};var cx=new H0(1,0,0);xc[s(2107)]=H0[s(2107)];function xc(e){const n=s;for(;!e[n(501)];)if(!(e=e[n(1744)]))return cx;return e.__zoom}function Bo(e){e[s(774)]()}function ct(e){e[s(810)](),e.stopImmediatePropagation()}function z2(e){const n=s;return(!e.ctrlKey||e[n(1912)]===n(1849))&&!e.button}function C2(){const e=s;var n=this;return n instanceof SVGElement?(n=n[e(1670)]||n,n[e(1170)](e(1269))?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n[e(1710)],n.y+n[e(1355)]]]):[[0,0],[n.width[e(777)][e(1044)],n[e(1355)][e(777)][e(1044)]]]):[[0,0],[n[e(1455)],n[e(626)]]]}function oc(){return this[s(501)]||cx}function M2(e){const n=s;return-e[n(1073)]*(e[n(924)]===1?.05:e[n(924)]?1:.002)*(e[n(1679)]?10:1)}function B2(){const e=s;return navigator[e(1194)]||e(1243)in this}function D2(e,n,t){const o=s;var x=e[o(946)](n[0][0])-t[0][0],r=e[o(946)](n[1][0])-t[1][0],i=e[o(583)](n[0][1])-t[0][1],c=e[o(583)](n[1][1])-t[1][1];return e[o(1184)](r>x?(x+r)/2:Math.min(0,x)||Math[o(2172)](0,r),c>i?(i+c)/2:Math[o(775)](0,i)||Math[o(2172)](0,c))}function rc(){const e=s;var n=z2,t=C2,o=D2,x=M2,r=B2,i=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,a=Qt,u=Ht("start","zoom",e(1942)),f,b,g,w=500,h=150,v=0,M=10;function m(N){const L=e;N[L(2090)](L(501),oc).on(L(2004),V,{passive:!1}).on(L(466),j).on(L(2109),q).filter(r).on(L(1995),H).on(L(1598),W).on(L(1515),T)[L(1476)](L(1552),"rgba(0,0,0,0)")}m[e(1121)]=function(N,L,D,Y){const U=e;var I=N[U(2103)]?N[U(2103)]():N;I[U(2090)](U(501),oc),N!==I?P(N,L,D,Y):I[U(1835)]()[U(1270)](function(){const J=U;G(this,arguments)[J(1845)](Y)[J(1310)]()[J(1675)](null,typeof L=="function"?L[J(2185)](this,arguments):L)[J(1942)]()})},m[e(1175)]=function(N,L,D,Y){const U=e;m[U(407)](N,function(){const I=U;var J=this[I(501)].k,$=typeof L===I(1347)?L[I(2185)](this,arguments):L;return J*$},D,Y)},m[e(407)]=function(N,L,D,Y){const U=e;m[U(1121)](N,function(){const I=U;var J=t.apply(this,arguments),$=this[I(501)],F=D==null?z(J):typeof D===I(1347)?D.apply(this,arguments):D,xe=$[I(1565)](F),re=typeof L===I(1347)?L[I(2185)](this,arguments):L;return o(p(y($,re),F,xe),J,c)},D,Y)},m[e(1451)]=function(N,L,D,Y){const U=e;m[U(1121)](N,function(){const I=U;return o(this.__zoom[I(1184)](typeof L===I(1347)?L[I(2185)](this,arguments):L,typeof D=="function"?D[I(2185)](this,arguments):D),t[I(2185)](this,arguments),c)},null,Y)},m.translateTo=function(N,L,D,Y,U){m.transform(N,function(){const I=_0x5590;var J=t[I(2185)](this,arguments),$=this[I(501)],F=Y==null?z(J):typeof Y===I(1347)?Y.apply(this,arguments):Y;return o(cx[I(1184)](F[0],F[1])[I(690)]($.k)[I(1184)](typeof L===I(1347)?-L[I(2185)](this,arguments):-L,typeof D===I(1347)?-D[I(2185)](this,arguments):-D),J,c)},Y,U)};function y(N,L){const D=e;return L=Math[D(2172)](i[0],Math[D(775)](i[1],L)),L===N.k?N:new H0(L,N.x,N.y)}function p(N,L,D){var Y=L[0]-D[0]*N.k,U=L[1]-D[1]*N.k;return Y===N.x&&U===N.y?N:new H0(N.k,Y,U)}function z(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function P(N,L,D,Y){const U=e;N.on("start.zoom",function(){const I=_0x5590;G(this,arguments)[I(1845)](Y)[I(1310)]()}).on("interrupt.zoom end.zoom",function(){const I=_0x5590;G(this,arguments)[I(1845)](Y)[I(1942)]()})[U(1595)]("zoom",function(){const I=U;var J=this,$=arguments,F=G(J,$)[I(1845)](Y),xe=t[I(2185)](J,$),re=D==null?z(xe):typeof D=="function"?D[I(2185)](J,$):D,ae=Math[I(2172)](xe[1][0]-xe[0][0],xe[1][1]-xe[0][1]),ue=J.__zoom,me=typeof L===I(1347)?L.apply(J,$):L,se=a(ue[I(1565)](re)[I(758)](ae/ue.k),me[I(1565)](re)[I(758)](ae/me.k));return function(ee){const le=I;if(ee===1)ee=me;else{var be=se(ee),E=ae/be[2];ee=new H0(E,re[0]-be[0]*E,re[1]-be[1]*E)}F[le(1675)](null,ee)}})}function G(N,L,D){return!D&&N[e(537)]||new O(N,L)}function O(N,L){const D=e;this[D(1653)]=N,this[D(1869)]=L,this[D(978)]=0,this[D(1294)]=null,this[D(502)]=t.apply(N,L),this.taps=0}O.prototype={event:function(N){const L=e;return N&&(this[L(1294)]=N),this},start:function(){const N=e;return++this[N(978)]===1&&(this[N(1653)][N(537)]=this,this[N(1478)](N(1310))),this},zoom:function(N,L){const D=e;return this[D(1727)]&&N!==D(1727)&&(this[D(1727)][1]=L.invert(this.mouse[0])),this[D(1539)]&&N!=="touch"&&(this[D(1539)][1]=L[D(1565)](this.touch0[0])),this.touch1&&N!==D(1673)&&(this[D(1207)][1]=L[D(1565)](this[D(1207)][0])),this[D(1653)][D(501)]=L,this.emit(D(1675)),this},end:function(){const N=e;return--this.active===0&&(delete this.that[N(537)],this[N(1478)](N(1942))),this},emit:function(N){const L=e;var D=u0(this[L(1653)])[L(1096)]();u.call(N,this[L(1653)],new p2(N,{sourceEvent:this.sourceEvent,target:m,transform:this[L(1653)].__zoom,dispatch:u}),D)}};function V(N,...L){const D=e;if(!n[D(2185)](this,arguments))return;var Y=G(this,L)[D(1845)](N),U=this[D(501)],I=Math.max(i[0],Math[D(775)](i[1],U.k*Math.pow(2,x[D(2185)](this,arguments)))),J=v0(N);if(Y.wheel)(Y.mouse[0][0]!==J[0]||Y[D(1727)][0][1]!==J[1])&&(Y[D(1727)][1]=U[D(1565)](Y[D(1727)][0]=J)),clearTimeout(Y[D(1849)]);else{if(U.k===I)return;Y[D(1727)]=[J,U[D(1565)](J)],rx(this),Y.start()}ct(N),Y[D(1849)]=setTimeout($,h),Y[D(1675)]("mouse",o(p(y(U,I),Y[D(1727)][0],Y[D(1727)][1]),Y.extent,c));function $(){const F=D;Y[F(1849)]=null,Y.end()}}function j(N,...L){const D=e;if(g||!n[D(2185)](this,arguments))return;var Y=N.currentTarget,U=G(this,L,!0)[D(1845)](N),I=u0(N[D(1863)]).on("mousemove.zoom",xe,!0).on(D(374),re,!0),J=v0(N,Y),$=N.clientX,F=N[D(1301)];Li(N[D(1863)]),Bo(N),U[D(1727)]=[J,this.__zoom[D(1565)](J)],rx(this),U.start();function xe(ae){const ue=D;if(ct(ae),!U[ue(1427)]){var me=ae[ue(1072)]-$,se=ae[ue(1301)]-F;U.moved=me*me+se*se>v}U[ue(1845)](ae).zoom("mouse",o(p(U[ue(1653)][ue(501)],U[ue(1727)][0]=v0(ae,Y),U[ue(1727)][1]),U[ue(502)],c))}function re(ae){const ue=D;I.on(ue(1855),null),Ni(ae[ue(1863)],U[ue(1427)]),ct(ae),U[ue(1845)](ae)[ue(1942)]()}}function q(N,...L){const D=e;if(n.apply(this,arguments)){var Y=this.__zoom,U=v0(N[D(1134)]?N[D(1134)][0]:N,this),I=Y[D(1565)](U),J=Y.k*(N.shiftKey?.5:2),$=o(p(y(Y,J),U,I),t.apply(this,L),c);ct(N),d>0?u0(this)[D(1237)]()[D(850)](d)[D(414)](P,$,U,N):u0(this).call(m[D(1121)],$,U,N)}}function H(N,...L){const D=e;if(n[D(2185)](this,arguments)){var Y=N.touches,U=Y[D(2179)],I=G(this,L,N[D(1134)].length===U)[D(1845)](N),J,$,F,xe;for(Bo(N),$=0;$<U;++$)F=Y[$],xe=v0(F,this),xe=[xe,this.__zoom[D(1565)](xe),F[D(1144)]],I[D(1539)]?!I[D(1207)]&&I[D(1539)][2]!==xe[2]&&(I[D(1207)]=xe,I[D(684)]=0):(I[D(1539)]=xe,J=!0,I[D(684)]=1+!!f);f&&(f=clearTimeout(f)),J&&(I[D(684)]<2&&(b=xe[0],f=setTimeout(function(){f=null},w)),rx(this),I.start())}}function W(N,...L){const D=e;if(this.__zooming){var Y=G(this,L).event(N),U=N[D(1134)],I=U[D(2179)],J,$,F,xe;for(ct(N),J=0;J<I;++J)$=U[J],F=v0($,this),Y.touch0&&Y[D(1539)][2]===$[D(1144)]?Y[D(1539)][0]=F:Y[D(1207)]&&Y[D(1207)][2]===$[D(1144)]&&(Y[D(1207)][0]=F);if($=Y[D(1653)][D(501)],Y[D(1207)]){var re=Y[D(1539)][0],ae=Y.touch0[1],ue=Y[D(1207)][0],me=Y[D(1207)][1],se=(se=ue[0]-re[0])*se+(se=ue[1]-re[1])*se,ee=(ee=me[0]-ae[0])*ee+(ee=me[1]-ae[1])*ee;$=y($,Math[D(857)](se/ee)),F=[(re[0]+ue[0])/2,(re[1]+ue[1])/2],xe=[(ae[0]+me[0])/2,(ae[1]+me[1])/2]}else if(Y[D(1539)])F=Y[D(1539)][0],xe=Y[D(1539)][1];else return;Y[D(1675)](D(1673),o(p($,F,xe),Y[D(502)],c))}}function T(N,...L){const D=e;if(this[D(537)]){var Y=G(this,L).event(N),U=N[D(1134)],I=U[D(2179)],J,$;for(Bo(N),g&&clearTimeout(g),g=setTimeout(function(){g=null},w),J=0;J<I;++J)$=U[J],Y[D(1539)]&&Y[D(1539)][2]===$[D(1144)]?delete Y.touch0:Y[D(1207)]&&Y[D(1207)][2]===$[D(1144)]&&delete Y[D(1207)];if(Y[D(1207)]&&!Y.touch0&&(Y.touch0=Y.touch1,delete Y.touch1),Y[D(1539)])Y.touch0[1]=this[D(501)][D(1565)](Y.touch0[0]);else if(Y[D(1942)](),Y[D(684)]===2&&($=v0($,this),Math[D(783)](b[0]-$[0],b[1]-$[1])<M)){var F=u0(this).on(D(2109));F&&F[D(2185)](this,arguments)}}}return m[e(1069)]=function(N){const L=e;return arguments.length?(x=typeof N===L(1347)?N:ix(+N),m):x},m.filter=function(N){return arguments.length?(n=typeof N=="function"?N:ix(!!N),m):n},m[e(2136)]=function(N){const L=e;return arguments[L(2179)]?(r=typeof N===L(1347)?N:ix(!!N),m):r},m[e(502)]=function(N){const L=e;return arguments.length?(t=typeof N===L(1347)?N:ix([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),m):t},m.scaleExtent=function(N){return arguments.length?(i[0]=+N[0],i[1]=+N[1],m):[i[0],i[1]]},m.translateExtent=function(N){return arguments.length?(c[0][0]=+N[0][0],c[1][0]=+N[1][0],c[0][1]=+N[0][1],c[1][1]=+N[1][1],m):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},m[e(1607)]=function(N){return arguments[e(2179)]?(o=N,m):o},m[e(850)]=function(N){return arguments.length?(d=+N,m):d},m[e(1939)]=function(N){return arguments[e(2179)]?(a=N,m):a},m.on=function(){const N=e;var L=u.on[N(2185)](u,arguments);return L===u?m:L},m[e(1614)]=function(N){return arguments.length?(v=(N=+N)*N,m):Math.sqrt(v)},m[e(1585)]=function(N){return arguments.length?(M=+N,m):M},m}const f0={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>s(646),error003:e=>s(578)+e+'" not found. Using fallback type "default".',error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>s(2117),error007:e=>s(1979)+e+s(2048),error009:e=>s(845)+e+`" doesn't exist.`,error008:(e,{id:n,sourceHandle:t,targetHandle:o})=>s(1485)+e+s(1137)+(e==="source"?t:o)+'", edge id: '+n+".",error010:()=>s(1853),error011:e=>s(1498)+e+s(1135),error012:e=>s(460)+e+'" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.',error013:(e=s(1530))=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+s(1762),error014:()=>s(2187),error015:()=>s(1488)},at=[[Number[s(1891)],Number[s(1891)]],[Number[s(1011)],Number.POSITIVE_INFINITY]],ic=[s(1818)," ",s(1286)],cc={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":s(570),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>s(675)+e+s(736)+n+s(598)+t,"edge.a11yDescription.default":s(788),"controls.ariaLabel":s(1996),"controls.zoomIn.ariaLabel":s(2188),"controls.zoomOut.ariaLabel":s(934),"controls.fitView.ariaLabel":s(642),"controls.interactive.ariaLabel":s(1290),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":s(1877)};var Sn;(function(e){const n=s;e[n(600)]=n(1559),e.Loose=n(798)})(Sn||(Sn={}));var ln;(function(e){const n=s;e[n(699)]="free",e[n(1520)]=n(1323),e[n(462)]=n(1240)})(ln||(ln={}));var st;(function(e){const n=s;e[n(1098)]="partial",e.Full=n(2037)})(st||(st={}));const ac={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var R0;(function(e){const n=s;e.Bezier=n(384),e[n(1224)]="straight",e[n(1508)]=n(983),e[n(2092)]="smoothstep",e[n(1538)]="simplebezier"})(R0||(R0={}));var ax;(function(e){const n=s;e.Arrow="arrow",e[n(842)]="arrowclosed"})(ax||(ax={}));var ze;(function(e){const n=s;e[n(1029)]=n(937),e[n(1962)]=n(1117),e.Right=n(1790),e[n(2110)]=n(689)})(ze||(ze={}));const sc={[ze[s(1029)]]:ze[s(365)],[ze[s(365)]]:ze[s(1029)],[ze[s(1962)]]:ze[s(2110)],[ze.Bottom]:ze[s(1962)]};function lc(e){const n=s;return e===null?null:n(e?453:1732)}const dc=e=>"id"in e&&s(766)in e&&s(500)in e,L2=e=>"id"in e&&s(835)in e&&!(s(766)in e)&&!(s(500)in e),Do=e=>"id"in e&&"internals"in e&&!(s(766)in e)&&!(s(500)in e),lt=(e,n=[0,0])=>{const{width:t,height:o}=T0(e),x=e.origin??n,r=t*x[0],i=o*x[1];return{x:e.position.x-r,y:e.position.y-i}},N2=(e,n={nodeOrigin:[0,0]})=>{const t=s;if(process.env.NODE_ENV===t(1549)&&!n[t(717)]&&console[t(2015)]("Please use `getNodesBounds` from `useReactFlow`/`useSvelteFlow` hook to ensure correct values for sub flows. If not possible, you have to provide a nodeLookup to support sub flows."),e[t(2179)]===0)return{x:0,y:0,width:0,height:0};const o=e.reduce((x,r)=>{const i=t,c=typeof r===i(1705);let d=!n.nodeLookup&&!c?r:void 0;n[i(717)]&&(d=c?n[i(717)][i(1861)](r):Do(r)?r:n[i(717)].get(r.id));const a=d?dx(d,n[i(1031)]):{x:0,y:0,x2:0,y2:0};return sx(x,a)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return lx(o)},dt=(e,n={})=>{const t=s;let o={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e[t(1322)](r=>{(n[t(815)]===void 0||n.filter(r))&&(o=sx(o,dx(r)),x=!0)}),x?lx(o):{x:0,y:0,width:0,height:0}},Lo=(e,n,[t,o,x]=[0,0,1],r=!1,i=!1)=>{const c=s,d={...ht(n,[t,o,x]),width:n[c(1710)]/x,height:n[c(1355)]/x},a=[];for(const u of e[c(1982)]()){const{measured:f,selectable:b=!0,hidden:g=!1}=u;if(i&&!b||g)continue;const w=f[c(1710)]??u.width??u[c(2175)]??null,h=f[c(1355)]??u[c(1355)]??u[c(586)]??null,v=ut(d,In(u)),M=(w??0)*(h??0),m=r&&v>0;(!u[c(1157)][c(610)]||m||v>=M||u[c(1941)])&&a[c(1759)](u)}return a},S2=(e,n)=>{const t=s,o=new Set;return e[t(1322)](x=>{o[t(729)](x.id)}),n[t(815)](x=>o[t(1147)](x[t(766)])||o[t(1147)](x[t(500)]))};function k2(e,n){const t=s,o=new Map,x=n?.[t(960)]?new Set(n[t(960)][t(474)](r=>r.id)):null;return e[t(1322)](r=>{const i=t;r.measured[i(1710)]&&r[i(510)][i(1355)]&&(n?.[i(590)]||!r.hidden)&&(!x||x[i(1147)](r.id))&&o[i(721)](r.id,r)}),o}async function I2({nodes:e,width:n,height:t,panZoom:o,minZoom:x,maxZoom:r},i){const c=s;if(e[c(1046)]===0)return Promise[c(1952)](!0);const d=k2(e,i),a=dt(d),u=So(a,n,t,i?.[c(1132)]??x,i?.[c(1356)]??r,i?.[c(448)]??.1);return await o[c(1758)](u,{duration:i?.duration,ease:i?.[c(1834)],interpolate:i?.[c(1939)]}),Promise[c(1952)](!0)}function uc({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:o=[0,0],nodeExtent:x,onError:r}){const i=s,c=t[i(1861)](e),d=c[i(1907)]?t.get(c.parentId):void 0,{x:a,y:u}=d?d[i(1157)][i(1443)]:{x:0,y:0},f=c[i(1639)]??o;let b=c[i(502)]||x;if(c[i(502)]===i(1923)&&!c[i(1935)])if(!d)r?.(i(761),f0[i(612)]());else{const w=d[i(510)].width,h=d[i(510)][i(1355)];w&&h&&(b=[[a,u],[a+w,u+h]])}else d&&An(c[i(502)])&&(b=[[c.extent[0][0]+a,c[i(502)][0][1]+u],[c[i(502)][1][0]+a,c.extent[1][1]+u]]);const g=An(b)?dn(n,b,c.measured):n;return(c[i(510)][i(1710)]===void 0||c[i(510)].height===void 0)&&r?.(i(1155),f0.error015()),{position:{x:g.x-a+(c[i(510)][i(1710)]??0)*f[0],y:g.y-u+(c[i(510)].height??0)*f[1]},positionAbsolute:g}}async function P2({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:o,onBeforeDelete:x}){const r=s,i=new Set(e[r(474)](g=>g.id)),c=[];for(const g of t){if(g.deletable===!1)continue;const w=i[r(1147)](g.id),h=!w&&g[r(1907)]&&c[r(990)](v=>v.id===g.parentId);(w||h)&&c.push(g)}const d=new Set(n[r(474)](g=>g.id)),a=o[r(815)](g=>g.deletable!==!1),u=S2(c,a),f=u;for(const g of a)d[r(1147)](g.id)&&!f[r(990)](h=>h.id===g.id)&&f[r(1759)](g);if(!x)return{edges:f,nodes:c};const b=await x({nodes:c,edges:f});return typeof b===r(743)?b?{edges:f,nodes:c}:{edges:[],nodes:[]}:b}const kn=(e,n=0,t=1)=>Math[s(775)](Math[s(2172)](e,n),t),dn=(e={x:0,y:0},n,t)=>({x:kn(e.x,n[0][0],n[1][0]-(t?.[s(1710)]??0)),y:kn(e.y,n[0][1],n[1][1]-(t?.height??0))});function fc(e,n,t){const o=s,{width:x,height:r}=T0(t),{x:i,y:c}=t[o(1157)][o(1443)];return dn(e,[[i,c],[i+x,c+r]],n)}const hc=(e,n,t)=>e<n?kn(Math.abs(e-n),1,n)/n:e>t?-kn(Math.abs(e-t),1,n)/n:0,gc=(e,n,t=15,o=40)=>{const x=s,r=hc(e.x,o,n[x(1710)]-o)*t,i=hc(e.y,o,n[x(1355)]-o)*t;return[r,i]},sx=(e,n)=>({x:Math[s(775)](e.x,n.x),y:Math.min(e.y,n.y),x2:Math[s(2172)](e.x2,n.x2),y2:Math[s(2172)](e.y2,n.y2)}),No=({x:e,y:n,width:t,height:o})=>({x:e,y:n,x2:e+t,y2:n+o}),lx=({x:e,y:n,x2:t,y2:o})=>({x:e,y:n,width:t-e,height:o-n}),In=(e,n=[0,0])=>{const t=s,{x:o,y:x}=Do(e)?e[t(1157)][t(1443)]:lt(e,n);return{x:o,y:x,width:e[t(510)]?.width??e[t(1710)]??e[t(2175)]??0,height:e[t(510)]?.[t(1355)]??e[t(1355)]??e[t(586)]??0}},dx=(e,n=[0,0])=>{const t=s,{x:o,y:x}=Do(e)?e[t(1157)][t(1443)]:lt(e,n);return{x:o,y:x,x2:o+(e[t(510)]?.[t(1710)]??e.width??e.initialWidth??0),y2:x+(e[t(510)]?.[t(1355)]??e[t(1355)]??e.initialHeight??0)}},bc=(e,n)=>lx(sx(No(e),No(n))),ut=(e,n)=>{const t=s,o=Math[t(2172)](0,Math.min(e.x+e[t(1710)],n.x+n[t(1710)])-Math[t(2172)](e.x,n.x)),x=Math.max(0,Math[t(775)](e.y+e[t(1355)],n.y+n.height)-Math[t(2172)](e.y,n.y));return Math[t(1148)](o*x)},yc=e=>C0(e[s(1710)])&&C0(e.height)&&C0(e.x)&&C0(e.y),C0=e=>!isNaN(e)&&isFinite(e),mc=(e,n)=>{const t=s;process.env.NODE_ENV===t(1549)&&console[t(2015)](t(782)+n+t(1780)+e)},ft=(e,n=[1,1])=>{const t=s;return{x:n[0]*Math[t(381)](e.x/n[0]),y:n[1]*Math[t(381)](e.y/n[1])}},ht=({x:e,y:n},[t,o,x],r=!1,i=[1,1])=>{const c={x:(e-t)/x,y:(n-o)/x};return r?ft(c,i):c},ux=({x:e,y:n},[t,o,x])=>({x:e*x+t,y:n*x+o});function Pn(e,n){const t=s;if(typeof e===t(2059))return Math[t(1938)]((n-n/(1+e))*.5);if(typeof e===t(1705)&&e[t(1150)]("px")){const o=parseFloat(e);if(!Number[t(1782)](o))return Math[t(1938)](o)}if(typeof e===t(1705)&&e[t(1150)]("%")){const o=parseFloat(e);if(!Number[t(1782)](o))return Math[t(1938)](n*o*.01)}return console[t(1036)](t(943)+e+t(779)),0}function A2(e,n,t){const o=s;if(typeof e=="string"||typeof e===o(2059)){const x=Pn(e,t),r=Pn(e,n);return{top:x,right:r,bottom:x,left:r,x:r*2,y:x*2}}if(typeof e=="object"){const x=Pn(e[o(1117)]??e.y??0,t),r=Pn(e[o(689)]??e.y??0,t),i=Pn(e[o(937)]??e.x??0,n),c=Pn(e.right??e.x??0,n);return{top:x,right:c,bottom:r,left:i,x:i+c,y:x+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function j2(e,n,t,o,x,r){const i=s,{x:c,y:d}=ux(e,[n,t,o]),{x:a,y:u}=ux({x:e.x+e[i(1710)],y:e.y+e.height},[n,t,o]),f=x-a,b=r-u;return{left:Math[i(1938)](c),top:Math[i(1938)](d),right:Math[i(1938)](f),bottom:Math[i(1938)](b)}}const So=(e,n,t,o,x,r)=>{const i=s,c=A2(r,n,t),d=(n-c.x)/e[i(1710)],a=(t-c.y)/e[i(1355)],u=Math[i(775)](d,a),f=kn(u,o,x),b=e.x+e.width/2,g=e.y+e[i(1355)]/2,w=n/2-b*f,h=t/2-g*f,v=j2(e,w,h,f,n,t),M={left:Math[i(775)](v[i(937)]-c[i(937)],0),top:Math[i(775)](v[i(1117)]-c[i(1117)],0),right:Math[i(775)](v[i(1790)]-c[i(1790)],0),bottom:Math[i(775)](v[i(689)]-c[i(689)],0)};return{x:w-M.left+M.right,y:h-M[i(1117)]+M.bottom,zoom:f}},gt=()=>typeof navigator!==s(383)&&navigator?.[s(1772)]?.[s(1878)](s(1349))>=0;function An(e){return e!=null&&e!=="parent"}function T0(e){const n=s;return{width:e.measured?.width??e[n(1710)]??e[n(2175)]??0,height:e[n(510)]?.height??e[n(1355)]??e[n(586)]??0}}function wc(e){const n=s;return(e.measured?.width??e[n(1710)]??e[n(2175)])!==void 0&&(e[n(510)]?.height??e[n(1355)]??e[n(586)])!==void 0}function vc(e,n={width:0,height:0},t,o,x){const r=s,i={...e},c=o[r(1861)](t);if(c){const d=c[r(1639)]||x;i.x+=c[r(1157)][r(1443)].x-(n[r(1710)]??0)*d[0],i.y+=c[r(1157)].positionAbsolute.y-(n[r(1355)]??0)*d[1]}return i}function pc(e,n){const t=s;if(e[t(1046)]!==n[t(1046)])return!1;for(const o of e)if(!n[t(1147)](o))return!1;return!0}function Y2(){let e,n;return{promise:new Promise((o,x)=>{e=o,n=x}),resolve:e,reject:n}}function E2(e){return{...cc,...e||{}}}function bt(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:o,containerBounds:x}){const r=s,{x:i,y:c}=M0(e),d=ht({x:i-(x?.[r(937)]??0),y:c-(x?.top??0)},o),{x:a,y:u}=t?ft(d,n):d;return{xSnapped:a,ySnapped:u,...d}}const ko=e=>({width:e[s(1796)],height:e[s(435)]}),zc=e=>e?.getRootNode?.()||window?.document,U2=[s(1049),s(1846),s(812)];function Cc(e){const n=s,t=e[n(891)]?.()?.[0]||e[n(500)];return t?.[n(1783)]!==1?!1:U2[n(1419)](t[n(1213)])||t[n(1170)](n(1987))||!!t[n(1720)](n(1124))}const Mc=e=>s(1072)in e,M0=(e,n)=>{const t=s,o=Mc(e),x=o?e[t(1072)]:e[t(2006)]?.[0][t(1072)],r=o?e.clientY:e[t(2006)]?.[0][t(1301)];return{x:x-(n?.[t(937)]??0),y:r-(n?.[t(1117)]??0)}},Bc=(e,n,t,o,x)=>{const r=s,i=n[r(1214)]("."+e);return!i||!i.length?null:Array[r(1365)](i).map(c=>{const d=r,a=c[d(1821)]();return{id:c.getAttribute("data-handleid"),type:e,nodeId:x,position:c.getAttribute("data-handlepos"),x:(a[d(937)]-t[d(937)])/o,y:(a[d(1117)]-t[d(1117)])/o,...ko(c)}})};function Dc({sourceX:e,sourceY:n,targetX:t,targetY:o,sourceControlX:x,sourceControlY:r,targetControlX:i,targetControlY:c}){const d=s,a=e*.125+x*.375+i*.375+t*.125,u=n*.125+r*.375+c*.375+o*.125,f=Math[d(1537)](a-e),b=Math.abs(u-n);return[a,u,f,b]}function fx(e,n){return e>=0?.5*e:n*25*Math.sqrt(-e)}function Lc({pos:e,x1:n,y1:t,x2:o,y2:x,c:r}){const i=s;switch(e){case ze[i(1029)]:return[n-fx(n-o,r),t];case ze[i(365)]:return[n+fx(o-n,r),t];case ze[i(1962)]:return[n,t-fx(t-x,r)];case ze[i(2110)]:return[n,t+fx(x-t,r)]}}function Nc({sourceX:e,sourceY:n,sourcePosition:t=ze[s(2110)],targetX:o,targetY:x,targetPosition:r=ze[s(1962)],curvature:i=.25}){const[c,d]=Lc({pos:t,x1:e,y1:n,x2:o,y2:x,c:i}),[a,u]=Lc({pos:r,x1:o,y1:x,x2:e,y2:n,c:i}),[f,b,g,w]=Dc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:c,sourceControlY:d,targetControlX:a,targetControlY:u});return["M"+e+","+n+" C"+c+","+d+" "+a+","+u+" "+o+","+x,f,b,g,w]}function Sc({sourceX:e,sourceY:n,targetX:t,targetY:o}){const x=s,r=Math[x(1537)](t-e)/2,i=t<e?t+r:t-r,c=Math[x(1537)](o-n)/2,d=o<n?o+c:o-c;return[i,d,r,c]}function G2({sourceNode:e,targetNode:n,selected:t=!1,zIndex:o=0,elevateOnSelect:x=!1,zIndexMode:r="basic"}){const i=s;if(r==="manual")return o;const c=x&&t?o+1e3:o,d=Math.max(e[i(1907)]||x&&e.selected?e[i(1157)].z:0,n[i(1907)]||x&&n[i(1274)]?n[i(1157)].z:0);return c+d}function O2({sourceNode:e,targetNode:n,width:t,height:o,transform:x}){const r=sx(dx(e),dx(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-x[0]/x[2],y:-x[1]/x[2],width:t/x[2],height:o/x[2]};return ut(i,lx(r))>0}const H2=({source:e,sourceHandle:n,target:t,targetHandle:o})=>s(727)+e+(n||"")+"-"+t+(o||""),T2=(e,n)=>{const t=s;return n.some(o=>o[t(766)]===e[t(766)]&&o[t(500)]===e[t(500)]&&(o.sourceHandle===e[t(837)]||!o.sourceHandle&&!e[t(837)])&&(o[t(1924)]===e[t(1924)]||!o[t(1924)]&&!e[t(1924)]))},kc=(e,n,t={})=>{const o=s;if(!e[o(766)]||!e[o(500)])return mc("006",f0[o(873)]()),n;const x=t[o(1228)]||H2;let r;return dc(e)?r={...e}:r={...e,id:x(e)},T2(r,n)?n:(r[o(837)]===null&&delete r[o(837)],r[o(1924)]===null&&delete r[o(1924)],n[o(758)](r))};function Ic({sourceX:e,sourceY:n,targetX:t,targetY:o}){const[x,r,i,c]=Sc({sourceX:e,sourceY:n,targetX:t,targetY:o});return["M "+e+","+n+"L "+t+","+o,x,r,i,c]}const Pc={[ze.Left]:{x:-1,y:0},[ze.Right]:{x:1,y:0},[ze[s(1962)]]:{x:0,y:-1},[ze[s(2110)]]:{x:0,y:1}},V2=({source:e,sourcePosition:n=ze[s(2110)],target:t})=>n===ze[s(1029)]||n===ze.Right?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1},Ac=(e,n)=>Math.sqrt(Math[s(919)](n.x-e.x,2)+Math.pow(n.y-e.y,2));function q2({source:e,sourcePosition:n=ze[s(2110)],target:t,targetPosition:o=ze.Top,center:x,offset:r,stepPosition:i}){const c=s,d=Pc[n],a=Pc[o],u={x:e.x+d.x*r,y:e.y+d.y*r},f={x:t.x+a.x*r,y:t.y+a.y*r},b=V2({source:u,sourcePosition:n,target:f}),g=b.x!==0?"x":"y",w=b[g];let h=[],v,M;const m={x:0,y:0},y={x:0,y:0},[,,p,z]=Sc({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[g]*a[g]===-1){g==="x"?(v=x.x??u.x+(f.x-u.x)*i,M=x.y??(u.y+f.y)/2):(v=x.x??(u.x+f.x)/2,M=x.y??u.y+(f.y-u.y)*i);const V=[{x:v,y:u.y},{x:v,y:f.y}],j=[{x:u.x,y:M},{x:f.x,y:M}];d[g]===w?h=g==="x"?V:j:h=g==="x"?j:V}else{const V=[{x:u.x,y:f.y}],j=[{x:f.x,y:u.y}];if(g==="x"?h=d.x===w?j:V:h=d.y===w?V:j,n===o){const N=Math[c(1537)](e[g]-t[g]);if(N<=r){const L=Math[c(775)](r-1,r-N);d[g]===w?m[g]=(u[g]>e[g]?-1:1)*L:y[g]=(f[g]>t[g]?-1:1)*L}}if(n!==o){const N=g==="x"?"y":"x",L=d[g]===a[N],D=u[N]>f[N],Y=u[N]<f[N];(d[g]===1&&(!L&&D||L&&Y)||d[g]!==1&&(!L&&Y||L&&D))&&(h=g==="x"?V:j)}const q={x:u.x+m.x,y:u.y+m.y},H={x:f.x+y.x,y:f.y+y.y},W=Math[c(2172)](Math[c(1537)](q.x-h[0].x),Math[c(1537)](H.x-h[0].x)),T=Math[c(2172)](Math[c(1537)](q.y-h[0].y),Math[c(1537)](H.y-h[0].y));W>=T?(v=(q.x+H.x)/2,M=h[0].y):(v=h[0].x,M=(q.y+H.y)/2)}const P={x:u.x+m.x,y:u.y+m.y},G={x:f.x+y.x,y:f.y+y.y};return[[e,...P.x!==h[0].x||P.y!==h[0].y?[P]:[],...h,...G.x!==h[h[c(2179)]-1].x||G.y!==h[h[c(2179)]-1].y?[G]:[],t],v,M,p,z]}function W2(e,n,t,o){const x=Math.min(Ac(e,n)/2,Ac(n,t)/2,o),{x:r,y:i}=n;if(e.x===r&&r===t.x||e.y===i&&i===t.y)return"L"+r+" "+i;if(e.y===i){const a=e.x<t.x?-1:1,u=e.y<t.y?1:-1;return"L "+(r+x*a)+","+i+"Q "+r+","+i+" "+r+","+(i+x*u)}const c=e.x<t.x?1:-1,d=e.y<t.y?-1:1;return"L "+r+","+(i+x*d)+"Q "+r+","+i+" "+(r+x*c)+","+i}function Io({sourceX:e,sourceY:n,sourcePosition:t=ze[s(2110)],targetX:o,targetY:x,targetPosition:r=ze[s(1962)],borderRadius:i=5,centerX:c,centerY:d,offset:a=20,stepPosition:u=.5}){const f=s,[b,g,w,h,v]=q2({source:{x:e,y:n},sourcePosition:t,target:{x:o,y:x},targetPosition:r,center:{x:c,y:d},offset:a,stepPosition:u});let M="M"+b[0].x+" "+b[0].y;for(let m=1;m<b[f(2179)]-1;m++)M+=W2(b[m-1],b[m],b[m+1],i);return M+="L"+b[b[f(2179)]-1].x+" "+b[b[f(2179)]-1].y,[M,g,w,h,v]}function jc(e){const n=s;return e&&!!(e[n(1157)].handleBounds||e.handles?.[n(2179)])&&!!(e[n(510)][n(1710)]||e[n(1710)]||e.initialWidth)}function X2(e){const n=s,{sourceNode:t,targetNode:o}=e;if(!jc(t)||!jc(o))return null;const x=t[n(1157)].handleBounds||Yc(t[n(1901)]),r=o[n(1157)][n(610)]||Yc(o.handles),i=Ec(x?.[n(766)]??[],e[n(837)]),c=Ec(e[n(1579)]===Sn[n(600)]?r?.[n(500)]??[]:(r?.[n(500)]??[])[n(758)](r?.[n(766)]??[]),e[n(1924)]);if(!i||!c)return e[n(581)]?.(n(1030),f0[n(625)](n(i?500:766),{id:e.id,sourceHandle:e[n(837)],targetHandle:e[n(1924)]})),null;const d=i?.[n(835)]||ze[n(2110)],a=c?.position||ze[n(1962)],u=un(t,i,d),f=un(o,c,a);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:a}}function Yc(e){const n=s;if(!e)return null;const t=[],o=[];for(const x of e)x[n(1710)]=x[n(1710)]??1,x[n(1355)]=x[n(1355)]??1,x[n(1912)]===n(766)?t[n(1759)](x):x[n(1912)]===n(500)&&o[n(1759)](x);return{source:t,target:o}}function un(e,n,t=ze[s(1029)],o=!1){const x=s,r=(n?.x??0)+e[x(1157)][x(1443)].x,i=(n?.y??0)+e[x(1157)].positionAbsolute.y,{width:c,height:d}=n??T0(e);if(o)return{x:r+c/2,y:i+d/2};switch(n?.[x(835)]??t){case ze[x(1962)]:return{x:r+c/2,y:i};case ze.Right:return{x:r+c,y:i+d/2};case ze[x(2110)]:return{x:r+c/2,y:i+d};case ze[x(1029)]:return{x:r,y:i+d/2}}}function Ec(e,n){return e&&(n?e.find(t=>t.id===n):e[0])||null}function Po(e,n){const t=s;return e?typeof e===t(1705)?e:""+(n?n+"__":"")+Object[t(999)](e)[t(840)]()[t(474)](x=>x+"="+e[x])[t(1881)]("&"):""}function K2(e,{id:n,defaultColor:t,defaultMarkerStart:o,defaultMarkerEnd:x}){const r=s,i=new Set;return e[r(1106)]((c,d)=>{const a=r;return[d.markerStart||o,d[a(1977)]||x][a(1322)](u=>{const f=a;if(u&&typeof u===f(878)){const b=Po(u,n);!i[f(1147)](b)&&(c[f(1759)]({id:b,color:u[f(1176)]||t,...u}),i[f(729)](b))}}),c},[])[r(840)]((c,d)=>c.id.localeCompare(d.id))}const Uc=1e3,Z2=10,Ao={nodeOrigin:[0,0],nodeExtent:at,elevateNodesOnSelect:!0,zIndexMode:s(1212),defaults:{}},R2={...Ao,checkEquality:!0};function jo(e,n){const t={...e};for(const o in n)n[o]!==void 0&&(t[o]=n[o]);return t}function J2(e,n,t){const o=s,x=jo(Ao,t);for(const r of e[o(1982)]())if(r[o(1907)])Uo(r,e,n,x);else{const i=lt(r,x.nodeOrigin),c=An(r[o(502)])?r[o(502)]:x[o(790)],d=dn(i,c,T0(r));r[o(1157)][o(1443)]=d}}function _2(e,n){const t=s;if(!e[t(1901)])return e[t(510)]?n?.[t(1157)].handleBounds:void 0;const o=[],x=[];for(const r of e[t(1901)]){const i={id:r.id,width:r[t(1710)]??1,height:r[t(1355)]??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(1912)]};r[t(1912)]===t(766)?o[t(1759)](i):r[t(1912)]===t(500)&&x.push(i)}return{source:o,target:x}}function Yo(e){return e===s(1873)}function Eo(e,n,t,o={}){const x=s,r=jo(R2,o),i={i:0},c=new Map(n),d=r?.[x(1276)]&&!Yo(r[x(1316)])?Uc:0;let a=e[x(2179)]>0,u=!1;n.clear(),t[x(1390)]();for(const f of e){let b=c[x(1861)](f.id);if(r[x(1506)]&&f===b?.[x(1157)].userNode)n[x(721)](f.id,b);else{const g=lt(f,r[x(1031)]),w=An(f[x(502)])?f[x(502)]:r.nodeExtent,h=dn(g,w,T0(f));b={...r[x(1043)],...f,measured:{width:f.measured?.[x(1710)],height:f[x(510)]?.[x(1355)]},internals:{positionAbsolute:h,handleBounds:_2(f,b),z:Gc(f,d,r[x(1316)]),userNode:f}},n[x(721)](f.id,b)}(b[x(510)]===void 0||b[x(510)][x(1710)]===void 0||b[x(510)][x(1355)]===void 0)&&!b[x(1771)]&&(a=!1),f[x(1907)]&&Uo(b,n,t,o,i),u||=f[x(1274)]??!1}return{nodesInitialized:a,hasSelectedNodes:u}}function Q2(e,n){const t=s;if(!e[t(1907)])return;const o=n[t(1861)](e[t(1907)]);o?o.set(e.id,e):n[t(721)](e[t(1907)],new Map([[e.id,e]]))}function Uo(e,n,t,o,x){const r=s,{elevateNodesOnSelect:i,nodeOrigin:c,nodeExtent:d,zIndexMode:a}=jo(Ao,o),u=e[r(1907)],f=n[r(1861)](u);if(!f){console[r(2015)](r(496)+u+r(1303));return}Q2(e,t),x&&!f[r(1907)]&&f.internals[r(1830)]===void 0&&a===r(1798)&&(f[r(1157)][r(1830)]=++x.i,f[r(1157)].z=f[r(1157)].z+x.i*Z2),x&&f[r(1157)][r(1830)]!==void 0&&(x.i=f.internals[r(1830)]);const b=i&&!Yo(a)?Uc:0,{x:g,y:w,z:h}=F2(e,f,c,d,b,a),{positionAbsolute:v}=e[r(1157)],M=g!==v.x||w!==v.y;(M||h!==e[r(1157)].z)&&n[r(721)](e.id,{...e,internals:{...e[r(1157)],positionAbsolute:M?{x:g,y:w}:v,z:h}})}function Gc(e,n,t){const o=s,x=C0(e[o(741)])?e[o(741)]:0;return Yo(t)?x:x+(e[o(1274)]?n:0)}function F2(e,n,t,o,x,r){const i=s,{x:c,y:d}=n[i(1157)].positionAbsolute,a=T0(e),u=lt(e,t),f=An(e.extent)?dn(u,e[i(502)],a):u;let b=dn({x:c+f.x,y:d+f.y},o,a);e.extent==="parent"&&(b=fc(b,a,n));const g=Gc(e,x,r),w=n[i(1157)].z??0;return{x:b.x,y:b.y,z:w>=g?w+1:g}}function Go(e,n,t,o=[0,0]){const x=s,r=[],i=new Map;for(const c of e){const d=n[x(1861)](c[x(1907)]);if(!d)continue;const a=i[x(1861)](c.parentId)?.[x(1411)]??In(d),u=bc(a,c[x(1389)]);i[x(721)](c[x(1907)],{expandedRect:u,parent:d})}return i[x(1046)]>0&&i[x(1322)](({expandedRect:c,parent:d},a)=>{const u=x,f=d[u(1157)][u(1443)],b=T0(d),g=d[u(1639)]??o,w=c.x<f.x?Math[u(381)](Math[u(1537)](f.x-c.x)):0,h=c.y<f.y?Math[u(381)](Math.abs(f.y-c.y)):0,v=Math.max(b.width,Math[u(381)](c[u(1710)])),M=Math.max(b.height,Math.round(c[u(1355)])),m=(v-b[u(1710)])*g[0],y=(M-b.height)*g[1];(w>0||h>0||m||y)&&(r[u(1759)]({id:a,type:u(835),position:{x:d.position.x-w+m,y:d[u(835)].y-h+y}}),t[u(1861)](a)?.forEach(p=>{const z=u;!e[z(1496)](P=>P.id===p.id)&&r.push({id:p.id,type:z(835),position:{x:p[z(835)].x+w,y:p[z(835)].y+h}})})),(b.width<c.width||b.height<c[u(1355)]||w||h)&&r[u(1759)]({id:a,type:"dimensions",setAttributes:!0,dimensions:{width:v+(w?g[0]*w-m:0),height:M+(h?g[1]*h-y:0)}})}),r}function $2(e,n,t,o,x,r,i){const c=s,d=o?.[c(1525)](c(1380));let a=!1;if(!d)return{changes:[],updatedInternals:a};const u=[],f=window[c(704)](d),{m22:b}=new window.DOMMatrixReadOnly(f[c(1121)]),g=[];for(const w of e.values()){const h=n[c(1861)](w.id);if(!h)continue;if(h[c(1771)]){n.set(h.id,{...h,internals:{...h[c(1157)],handleBounds:void 0}}),a=!0;continue}const v=ko(w[c(585)]),M=h.measured[c(1710)]!==v[c(1710)]||h[c(510)].height!==v[c(1355)];if(!!(v[c(1710)]&&v.height&&(M||!h[c(1157)].handleBounds||w[c(1264)]))){const y=w[c(585)][c(1821)](),p=An(h[c(502)])?h[c(502)]:r;let{positionAbsolute:z}=h[c(1157)];h[c(1907)]&&h[c(502)]==="parent"?z=fc(z,v,n[c(1861)](h[c(1907)])):p&&(z=dn(z,p,v));const P={...h,measured:v,internals:{...h.internals,positionAbsolute:z,handleBounds:{source:Bc(c(766),w[c(585)],y,b,h.id),target:Bc(c(500),w[c(585)],y,b,h.id)}}};n[c(721)](h.id,P),h[c(1907)]&&Uo(P,n,t,{nodeOrigin:x,zIndexMode:i}),a=!0,M&&(u[c(1759)]({id:h.id,type:"dimensions",dimensions:v}),h[c(1935)]&&h[c(1907)]&&g[c(1759)]({id:h.id,parentId:h[c(1907)],rect:In(P,x)}))}}if(g[c(2179)]>0){const w=Go(g,n,t,x);u.push(...w)}return{changes:u,updatedInternals:a}}async function e5({delta:e,panZoom:n,transform:t,translateExtent:o,width:x,height:r}){const i=s;if(!n||!e.x&&!e.y)return Promise[i(1952)](!1);const c=await n[i(672)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[x,r]],o),d=!!c&&(c.x!==t[0]||c.y!==t[1]||c.k!==t[2]);return Promise[i(1952)](d)}function Oc(e,n,t,o,x,r){const i=s;let c=x;const d=o[i(1861)](c)||new Map;o[i(721)](c,d[i(721)](t,n)),c=x+"-"+e;const a=o[i(1861)](c)||new Map;if(o[i(721)](c,a[i(721)](t,n)),r){c=x+"-"+e+"-"+r;const u=o[i(1861)](c)||new Map;o[i(721)](c,u.set(t,n))}}function Hc(e,n,t){const o=s;e[o(1390)](),n[o(1390)]();for(const x of t){const{source:r,target:i,sourceHandle:c=null,targetHandle:d=null}=x,a={edgeId:x.id,source:r,target:i,sourceHandle:c,targetHandle:d},u=r+"-"+c+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+c;Oc(o(766),a,f,e,r,c),Oc(o(500),a,u,e,i,d),n[o(721)](x.id,x)}}function Tc(e,n){const t=s;if(!e[t(1907)])return!1;const o=n[t(1861)](e[t(1907)]);return o?o[t(1274)]?!0:Tc(o,n):!1}function Vc(e,n,t){const o=s;let x=e;do{if(x?.matches?.(n))return!0;if(x===t)return!1;x=x?.[o(560)]}while(x);return!1}function n5(e,n,t,o){const x=s,r=new Map;for(const[i,c]of e)if((c[x(1274)]||c.id===o)&&(!c[x(1907)]||!Tc(c,e))&&(c[x(1533)]||n&&typeof c[x(1533)]===x(383))){const d=e[x(1861)](i);d&&r[x(721)](i,{id:i,position:d[x(835)]||{x:0,y:0},distance:{x:t.x-d.internals[x(1443)].x,y:t.y-d.internals.positionAbsolute.y},extent:d[x(502)],parentId:d[x(1907)],origin:d[x(1639)],expandParent:d[x(1935)],internals:{positionAbsolute:d.internals.positionAbsolute||{x:0,y:0}},measured:{width:d[x(510)][x(1710)]??0,height:d[x(510)][x(1355)]??0}})}return r}function Oo({nodeId:e,dragItems:n,nodeLookup:t,dragging:o=!0}){const x=s,r=[];for(const[c,d]of n){const a=t[x(1861)](c)?.[x(1157)].userNode;a&&r[x(1759)]({...a,position:d.position,dragging:o})}if(!e)return[r[0],r];const i=t[x(1861)](e)?.internals[x(1275)];return[i?{...i,position:n[x(1861)](e)?.position||i[x(835)],dragging:o}:r[0],r]}function t5({dragItems:e,snapGrid:n,x:t,y:o}){const x=s,r=e[x(1982)]().next()[x(1044)];if(!r)return null;const i={x:t-r[x(750)].x,y:o-r[x(750)].y},c=ft(i,n);return{x:c.x-i.x,y:c.y-i.y}}function x5({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:o,onDragStop:x}){let r={x:null,y:null},i=0,c=new Map,d=!1,a={x:0,y:0},u=null,f=!1,b=null,g=!1,w=!1,h=null;function v({noDragClassName:m,handleSelector:y,domNode:p,isSelectable:z,nodeId:P,nodeClickDistance:G=0}){const O=_0x5590;b=u0(p);function V({x:W,y:T}){const N=_0x5590,{nodeLookup:L,nodeExtent:D,snapGrid:Y,snapToGrid:U,nodeOrigin:I,onNodeDrag:J,onSelectionDrag:$,onError:F,updateNodePositions:xe}=n();r={x:W,y:T};let re=!1;const ae=c[N(1046)]>1,ue=ae&&D?No(dt(c)):null,me=ae&&U?t5({dragItems:c,snapGrid:Y,x:W,y:T}):null;for(const[se,ee]of c){if(!L[N(1147)](se))continue;let le={x:W-ee.distance.x,y:T-ee[N(750)].y};U&&(le=me?{x:Math[N(381)](le.x+me.x),y:Math[N(381)](le.y+me.y)}:ft(le,Y));let be=null;if(ae&&D&&!ee[N(502)]&&ue){const{positionAbsolute:Z}=ee[N(1157)],ne=Z.x-ue.x+D[0][0],te=Z.x+ee.measured[N(1710)]-ue.x2+D[1][0],X=Z.y-ue.y+D[0][1],oe=Z.y+ee[N(510)][N(1355)]-ue.y2+D[1][1];be=[[ne,X],[te,oe]]}const{position:E,positionAbsolute:A}=uc({nodeId:se,nextPosition:le,nodeLookup:L,nodeExtent:be||D,nodeOrigin:I,onError:F});re=re||ee.position.x!==E.x||ee[N(835)].y!==E.y,ee[N(835)]=E,ee.internals.positionAbsolute=A}if(w=w||re,!!re&&(xe(c,!0),h&&(o||J||!P&&$))){const[se,ee]=Oo({nodeId:P,dragItems:c,nodeLookup:L});o?.(h,c,se,ee),J?.(h,se,ee),!P&&$?.(h,ee)}}async function j(){if(!u)return;const{transform:W,panBy:T,autoPanSpeed:N,autoPanOnNodeDrag:L}=n();if(!L){d=!1,cancelAnimationFrame(i);return}const[D,Y]=gc(a,u,N);(D!==0||Y!==0)&&(r.x=(r.x??0)-D/W[2],r.y=(r.y??0)-Y/W[2],await T({x:D,y:Y})&&V(r)),i=requestAnimationFrame(j)}function q(W){const T=_0x5590,{nodeLookup:N,multiSelectionActive:L,nodesDraggable:D,transform:Y,snapGrid:U,snapToGrid:I,selectNodesOnDrag:J,onNodeDragStart:$,onSelectionDragStart:F,unselectNodesAndEdges:xe}=n();f=!0,(!J||!z)&&!L&&P&&!N.get(P)?.[T(1274)]&&xe(),z&&J&&P&&e?.(P);const re=bt(W[T(1294)],{transform:Y,snapGrid:U,snapToGrid:I,containerBounds:u});if(r=re,c=n5(N,D,re,P),c[T(1046)]>0&&(t||$||!P&&F)){const[ae,ue]=Oo({nodeId:P,dragItems:c,nodeLookup:N});t?.(W.sourceEvent,c,ae,ue),$?.(W[T(1294)],ae,ue),!P&&F?.(W[T(1294)],ue)}}const H=Si()[O(1614)](G).on("start",W=>{const T=O,{domNode:N,nodeDragThreshold:L,transform:D,snapGrid:Y,snapToGrid:U}=n();u=N?.[T(1821)]()||null,g=!1,w=!1,h=W[T(1294)],L===0&&q(W),r=bt(W[T(1294)],{transform:D,snapGrid:Y,snapToGrid:U,containerBounds:u}),a=M0(W.sourceEvent,u)}).on(O(1980),W=>{const T=O,{autoPanOnNodeDrag:N,transform:L,snapGrid:D,snapToGrid:Y,nodeDragThreshold:U,nodeLookup:I}=n(),J=bt(W[T(1294)],{transform:L,snapGrid:D,snapToGrid:Y,containerBounds:u});if(h=W[T(1294)],(W[T(1294)][T(1912)]==="touchmove"&&W.sourceEvent[T(2006)][T(2179)]>1||P&&!I[T(1147)](P))&&(g=!0),!g){if(!d&&N&&f&&(d=!0,j()),!f){const $=M0(W[T(1294)],u),F=$.x-a.x,xe=$.y-a.y;Math[T(857)](F*F+xe*xe)>U&&q(W)}(r.x!==J[T(1464)]||r.y!==J.ySnapped)&&c&&f&&(a=M0(W[T(1294)],u),V(J))}}).on(O(1942),W=>{const T=O;if(!(!f||g)&&(d=!1,f=!1,cancelAnimationFrame(i),c[T(1046)]>0)){const{nodeLookup:N,updateNodePositions:L,onNodeDragStop:D,onSelectionDragStop:Y}=n();if(w&&(L(c,!1),w=!1),x||D||!P&&Y){const[U,I]=Oo({nodeId:P,dragItems:c,nodeLookup:N,dragging:!1});x?.(W[T(1294)],c,U,I),D?.(W[T(1294)],U,I),!P&&Y?.(W.sourceEvent,I)}}}).filter(W=>{const T=O,N=W[T(500)];return!W.button&&(!m||!Vc(N,"."+m,p))&&(!y||Vc(N,y,p))});b[O(414)](H)}function M(){b?.on(".drag",null)}return{update:v,destroy:M}}function o5(e,n,t){const o=[],x={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const r of n.values())ut(x,In(r))>0&&o.push(r);return o}const r5=250;function i5(e,n,t,o){const x=s;let r=[],i=1/0;const c=o5(e,t,n+r5);for(const d of c){const a=[...d[x(1157)][x(610)]?.[x(766)]??[],...d[x(1157)][x(610)]?.[x(500)]??[]];for(const u of a){if(o.nodeId===u[x(1632)]&&o.type===u[x(1912)]&&o.id===u.id)continue;const{x:f,y:b}=un(d,u,u[x(835)],!0),g=Math.sqrt(Math[x(919)](f-e.x,2)+Math.pow(b-e.y,2));g>n||(g<i?(r=[{...u,x:f,y:b}],i=g):g===i&&r[x(1759)]({...u,x:f,y:b}))}}if(!r[x(2179)])return null;if(r[x(2179)]>1){const d=o[x(1912)]===x(766)?x(500):x(766);return r.find(a=>a[x(1912)]===d)??r[0]}return r[0]}function qc(e,n,t,o,x,r=!1){const i=s,c=o[i(1861)](e);if(!c)return null;const d=x==="strict"?c.internals[i(610)]?.[n]:[...c[i(1157)].handleBounds?.[i(766)]??[],...c[i(1157)][i(610)]?.target??[]],a=(t?d?.find(u=>u.id===t):d?.[0])??null;return a&&r?{...a,...un(c,a,a[i(835)],!0)}:a}function Wc(e,n){const t=s;return e||(n?.[t(2044)][t(611)]("target")?t(500):n?.[t(2044)][t(611)](t(766))?t(766):null)}function c5(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const Xc=()=>!0;function a5(e,{connectionMode:n,connectionRadius:t,handleId:o,nodeId:x,edgeUpdaterType:r,isTarget:i,domNode:c,nodeLookup:d,lib:a,autoPanOnConnect:u,flowId:f,panBy:b,cancelConnection:g,onConnectStart:w,onConnect:h,onConnectEnd:v,isValidConnection:M=Xc,onReconnectEnd:m,updateConnection:y,getTransform:p,getFromHandle:z,autoPanSpeed:P,dragThreshold:G=1,handleDomNode:O}){const V=s,j=zc(e[V(500)]);let q=0,H;const{x:W,y:T}=M0(e),N=Wc(r,O),L=c?.getBoundingClientRect();let D=!1;if(!L||!N)return;const Y=qc(x,N,o,d,n);if(!Y)return;let U=M0(e,L),I=!1,J=null,$=!1,F=null;function xe(){if(!u||!L)return;const[be,E]=gc(U,L,P);b({x:be,y:E}),q=requestAnimationFrame(xe)}const re={...Y,nodeId:x,type:N,position:Y.position},ae=d.get(x);let me={inProgress:!0,isValid:null,from:un(ae,re,ze[V(1029)],!0),fromHandle:re,fromPosition:re[V(835)],fromNode:ae,to:U,toHandle:null,toPosition:sc[re[V(835)]],toNode:null,pointer:U};function se(){D=!0,y(me),w?.(e,{nodeId:x,handleId:o,handleType:N})}G===0&&se();function ee(be){const E=V;if(!D){const{x:oe,y:ve}=M0(be),pe=oe-W,Ie=ve-T;if(!(pe*pe+Ie*Ie>G*G))return;se()}if(!z()||!re){le(be);return}const A=p();U=M0(be,L),H=i5(ht(U,A,!1,[1,1]),t,d,re),!I&&(xe(),I=!0);const Z=Kc(be,{handle:H,connectionMode:n,fromNodeId:x,fromHandleId:o,fromType:i?"target":E(766),isValidConnection:M,doc:j,lib:a,flowId:f,nodeLookup:d});F=Z.handleDomNode,J=Z[E(1561)],$=c5(!!H,Z[E(706)]);const ne=d[E(1861)](x),te=ne?un(ne,re,ze[E(1029)],!0):me[E(1365)],X={...me,from:te,isValid:$,to:Z.toHandle&&$?ux({x:Z.toHandle.x,y:Z[E(824)].y},A):U,toHandle:Z[E(824)],toPosition:$&&Z.toHandle?Z[E(824)].position:sc[re[E(835)]],toNode:Z[E(824)]?d.get(Z[E(824)][E(1632)]):null,pointer:U};y(X),me=X}function le(be){const E=V;if(!("touches"in be&&be[E(2006)][E(2179)]>0)){if(D){(H||F)&&J&&$&&h?.(J);const{inProgress:A,...Z}=me,ne={...Z,toPosition:me[E(824)]?me[E(1523)]:null};v?.(be,ne),r&&m?.(be,ne)}g(),cancelAnimationFrame(q),I=!1,$=!1,J=null,F=null,j[E(1665)](E(920),ee),j[E(1665)](E(814),le),j[E(1665)]("touchmove",ee),j.removeEventListener(E(851),le)}}j.addEventListener(V(920),ee),j[V(1892)]("mouseup",le),j.addEventListener("touchmove",ee),j[V(1892)](V(851),le)}function Kc(e,{handle:n,connectionMode:t,fromNodeId:o,fromHandleId:x,fromType:r,doc:i,lib:c,flowId:d,isValidConnection:a=Xc,nodeLookup:u}){const f=s,b=r==="target",g=n?i[f(1525)]("."+c+f(1960)+d+"-"+n?.[f(1632)]+"-"+n?.id+"-"+n?.[f(1912)]+'"]'):null,{x:w,y:h}=M0(e),v=i[f(901)](w,h),M=v?.classList[f(611)](c+f(1472))?v:g,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const y=Wc(void 0,M),p=M[f(659)](f(579)),z=M[f(659)](f(1969)),P=M[f(2044)][f(611)](f(1424)),G=M[f(2044)][f(611)](f(1407));if(!p||!y)return m;const O={source:b?p:o,sourceHandle:b?z:x,target:b?o:p,targetHandle:b?x:z};m[f(1561)]=O;const V=P&&G,j=V&&(t===Sn[f(600)]?b&&y===f(766)||!b&&y===f(500):p!==o||z!==x);m[f(706)]=j&&a(O),m[f(824)]=qc(p,y,z,u,t,!0)}return m}const Ho={onPointerDown:a5,isValid:Kc};function s5({domNode:e,panZoom:n,getTransform:t,getViewScale:o}){const x=u0(e);function r({translateExtent:c,width:d,height:a,zoomStep:u=1,pannable:f=!0,zoomable:b=!0,inversePan:g=!1}){const w=_0x5590,h=p=>{const z=_0x5590;if(p[z(1294)][z(1912)]!==z(1849)||!n)return;const P=t(),G=p.sourceEvent.ctrlKey&&gt()?10:1,O=-p.sourceEvent[z(1073)]*(p.sourceEvent[z(924)]===1?.05:p.sourceEvent[z(924)]?1:.002)*u,V=P[2]*Math[z(919)](2,O*G);n.scaleTo(V)};let v=[0,0];const M=p=>{const z=_0x5590;(p[z(1294)][z(1912)]===z(1618)||p[z(1294)].type===z(1927))&&(v=[p[z(1294)].clientX??p.sourceEvent.touches[0].clientX,p.sourceEvent[z(1301)]??p[z(1294)].touches[0].clientY])},m=p=>{const z=_0x5590,P=t();if(p[z(1294)][z(1912)]!==z(920)&&p.sourceEvent[z(1912)]!==z(1328)||!n)return;const G=[p[z(1294)][z(1072)]??p[z(1294)][z(2006)][0][z(1072)],p[z(1294)][z(1301)]??p[z(1294)].touches[0][z(1301)]],O=[G[0]-v[0],G[1]-v[1]];v=G;const V=o()*Math[z(2172)](P[2],Math[z(1672)](P[2]))*(g?-1:1),j={x:P[0]-O[0]*V,y:P[1]-O[1]*V},q=[[0,0],[d,a]];n[z(672)]({x:j.x,y:j.y,zoom:P[2]},q,c)},y=rc().on(w(1310),M).on(w(1675),f?m:null).on("zoom.wheel",b?h:null);x[w(414)](y,{})}function i(){const c=_0x5590;x.on(c(1675),null)}return{update:r,destroy:i,pointer:v0}}const hx=e=>({x:e.x,y:e.y,zoom:e.k}),To=({x:e,y:n,zoom:t})=>cx.translate(e,n).scale(t),jn=(e,n)=>e[s(500)].closest("."+n),Zc=(e,n)=>n===2&&Array[s(565)](e)&&e[s(1419)](2),l5=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,Vo=(e,n=0,t=l5,o=()=>{})=>{const x=s,r=typeof n===x(2059)&&n>0;return!r&&o(),r?e[x(1237)]().duration(n).ease(t).on(x(1942),o):e},Rc=e=>{const n=s,t=e[n(1679)]&&gt()?10:1;return-e[n(1073)]*(e[n(924)]===1?.05:e.deltaMode?1:.002)*t};function d5({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:o,panOnScrollMode:x,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:c,onPanZoom:d,onPanZoomEnd:a}){return u=>{const f=_0x5590;if(jn(u,n))return u[f(1679)]&&u.preventDefault(),!1;u[f(810)](),u[f(774)]();const b=t[f(2090)](f(501)).k||1;if(u[f(1679)]&&i){const M=v0(u),m=Rc(u),y=b*Math[f(919)](2,m);o[f(407)](t,y,M,u);return}const g=u[f(924)]===1?20:1;let w=x===ln.Vertical?0:u[f(628)]*g,h=x===ln[f(462)]?0:u[f(1073)]*g;!gt()&&u[f(1139)]&&x!==ln[f(1520)]&&(w=u[f(1073)]*g,h=0),o[f(1451)](t,-(w/b)*r,-(h/b)*r,{internal:!0});const v=hx(t[f(2090)](f(501)));clearTimeout(e[f(494)]),e.isPanScrolling?(d?.(u,v),e[f(494)]=setTimeout(()=>{const M=f;a?.(u,v),e[M(348)]=!1},150)):(e[f(348)]=!0,c?.(u,v))}}function u5({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(o,x){const r=_0x5590,i=o.type==="wheel",c=!n&&i&&!o[r(1679)],d=jn(o,e);if(o[r(1679)]&&i&&d&&o[r(810)](),c||d)return null;o[r(810)](),t[r(414)](this,o,x)}}function f5({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return o=>{const x=_0x5590;if(o[x(1294)]?.internal)return;const r=hx(o[x(1121)]);e[x(1975)]=o[x(1294)]?.button||0,e[x(2190)]=!0,e[x(784)]=r,o[x(1294)]?.[x(1912)]===x(1618)&&n(!0),t&&t?.(o[x(1294)],r)}}function h5({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:o,onPanZoom:x}){return r=>{const i=_0x5590;e.usedRightMouseButton=!!(t&&Zc(n,e[i(1975)]??0)),!r[i(1294)]?.[i(966)]&&o([r[i(1121)].x,r[i(1121)].y,r.transform.k]),x&&!r[i(1294)]?.[i(393)]&&x?.(r[i(1294)],hx(r[i(1121)]))}}function g5({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:o,onPanZoomEnd:x,onPaneContextMenu:r}){return i=>{const c=_0x5590;if(!i.sourceEvent?.[c(393)]&&(e[c(2190)]=!1,r&&Zc(n,e[c(1975)]??0)&&!e.usedRightMouseButton&&i[c(1294)]&&r(i[c(1294)]),e.usedRightMouseButton=!1,o(!1),x)){const d=hx(i[c(1121)]);e[c(784)]=d,clearTimeout(e[c(609)]),e[c(609)]=setTimeout(()=>{x?.(i[c(1294)],d)},t?150:0)}}}function b5({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:o,panOnScroll:x,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:c,noPanClassName:d,lib:a,connectionInProgress:u}){return f=>{const b=_0x5590,g=e||n,w=t&&f[b(1679)],h=f.type==="wheel";if(f[b(752)]===1&&f.type===b(1618)&&(jn(f,a+b(882))||jn(f,a+b(1095))))return!0;if(!o&&!g&&!x&&!r&&!t||i||u&&!h||jn(f,c)&&h||jn(f,d)&&(!h||x&&h&&!e)||!t&&f[b(1679)]&&h)return!1;if(!t&&f.type===b(1927)&&f[b(2006)]?.[b(2179)]>1)return f[b(810)](),!1;if(!g&&!x&&!w&&h||!o&&(f.type===b(1618)||f[b(1912)]===b(1927))||Array[b(565)](o)&&!o[b(1419)](f[b(752)])&&f[b(1912)]===b(1618))return!1;const v=Array[b(565)](o)&&o[b(1419)](f[b(752)])||!f[b(752)]||f.button<=1;return(!f[b(1679)]||h)&&v}}function y5({domNode:e,minZoom:n,maxZoom:t,translateExtent:o,viewport:x,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:c,onDraggingChange:d}){const a=s,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e[a(1821)](),b=rc()[a(668)]([n,t])[a(1723)](o),g=u0(e).call(b);y({x:x.x,y:x.y,zoom:kn(x[a(1675)],n,t)},[[0,0],[f[a(1710)],f[a(1355)]]],o);const w=g.on(a(2004)),h=g.on(a(2109));b[a(1069)](Rc);function v(H,W){const T=a;return g?new Promise(N=>{const L=_0x5590;b?.interpolate(W?.[L(1939)]===L(1584)?tt:Qt)[L(1121)](Vo(g,W?.[L(850)],W?.[L(1834)],()=>N(!0)),H)}):Promise[T(1952)](!1)}function M({noWheelClassName:H,noPanClassName:W,onPaneContextMenu:T,userSelectionActive:N,panOnScroll:L,panOnDrag:D,panOnScrollMode:Y,panOnScrollSpeed:U,preventScrolling:I,zoomOnPinch:J,zoomOnScroll:$,zoomOnDoubleClick:F,zoomActivationKeyPressed:xe,lib:re,onTransformChange:ae,connectionInProgress:ue,paneClickDistance:me,selectionOnDrag:se}){const ee=a;N&&!u[ee(2190)]&&m();const le=L&&!xe&&!N;b.clickDistance(se?1/0:!C0(me)||me<0?0:me);const be=le?d5({zoomPanValues:u,noWheelClassName:H,d3Selection:g,d3Zoom:b,panOnScrollMode:Y,panOnScrollSpeed:U,zoomOnPinch:J,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:c}):u5({noWheelClassName:H,preventScrolling:I,d3ZoomHandler:w});if(g.on(ee(2004),be,{passive:!1}),!N){const A=f5({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});b.on("start",A);const Z=h5({zoomPanValues:u,panOnDrag:D,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ae});b.on(ee(1675),Z);const ne=g5({zoomPanValues:u,panOnDrag:D,panOnScroll:L,onPaneContextMenu:T,onPanZoomEnd:c,onDraggingChange:d});b.on(ee(1942),ne)}const E=b5({zoomActivationKeyPressed:xe,panOnDrag:D,zoomOnScroll:$,panOnScroll:L,zoomOnDoubleClick:F,zoomOnPinch:J,userSelectionActive:N,noPanClassName:W,noWheelClassName:H,lib:re,connectionInProgress:ue});b.filter(E),F?g.on("dblclick.zoom",h):g.on(ee(2109),null)}function m(){const H=a;b.on(H(1675),null)}async function y(H,W,T){const N=To(H),L=b?.constrain()(N,W,T);return L&&await v(L),new Promise(D=>D(L))}async function p(H,W){const T=To(H);return await v(T,W),new Promise(N=>N(T))}function z(H){const W=a;if(g){const T=To(H),N=g.property("__zoom");(N.k!==H[W(1675)]||N.x!==H.x||N.y!==H.y)&&b?.[W(1121)](g,T,null,{sync:!0})}}function P(){const H=a,W=g?xc(g[H(1504)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function G(H,W){return g?new Promise(T=>{const N=_0x5590;b?.[N(1939)](W?.[N(1939)]==="linear"?tt:Qt)[N(407)](Vo(g,W?.[N(850)],W?.ease,()=>T(!0)),H)}):Promise.resolve(!1)}function O(H,W){const T=a;return g?new Promise(N=>{const L=_0x5590;b?.[L(1939)](W?.[L(1939)]===L(1584)?tt:Qt).scaleBy(Vo(g,W?.[L(850)],W?.[L(1834)],()=>N(!0)),H)}):Promise[T(1952)](!1)}function V(H){b?.[a(668)](H)}function j(H){b?.[a(1723)](H)}function q(H){const W=a,T=!C0(H)||H<0?0:H;b?.[W(1614)](T)}return{update:M,destroy:m,setViewport:p,setViewportConstrained:y,getViewport:P,scaleTo:G,scaleBy:O,setScaleExtent:V,setTranslateExtent:j,syncViewport:z,setClickDistance:q}}var Yn;(function(e){const n=s;e[n(828)]=n(1190),e.Handle=n(932)})(Yn||(Yn={}));function m5({width:e,prevWidth:n,height:t,prevHeight:o,affectsX:x,affectsY:r}){const i=e-n,c=t-o,d=[i>0?1:i<0?-1:0,c>0?1:c<0?-1:0];return i&&x&&(d[0]=d[0]*-1),c&&r&&(d[1]=d[1]*-1),d}function Jc(e){const n=s,t=e[n(1419)](n(1790))||e[n(1419)](n(937)),o=e.includes(n(689))||e.includes(n(1117)),x=e[n(1419)]("left"),r=e[n(1419)](n(1117));return{isHorizontal:t,isVertical:o,affectsX:x,affectsY:r}}function J0(e,n){return Math.max(0,n-e)}function _0(e,n){return Math.max(0,e-n)}function gx(e,n,t){return Math[s(2172)](0,n-e,e-t)}function _c(e,n){return e?!n:n}function w5(e,n,t,o,x,r,i,c){const d=s;let{affectsX:a,affectsY:u}=n;const{isHorizontal:f,isVertical:b}=n,g=f&&b,{xSnapped:w,ySnapped:h}=t,{minWidth:v,maxWidth:M,minHeight:m,maxHeight:y}=o,{x:p,y:z,width:P,height:G,aspectRatio:O}=e;let V=Math[d(1938)](f?w-e[d(1627)]:0),j=Math[d(1938)](b?h-e.pointerY:0);const q=P+(a?-V:V),H=G+(u?-j:j),W=-r[0]*P,T=-r[1]*G;let N=gx(q,v,M),L=gx(H,m,y);if(i){let U=0,I=0;a&&V<0?U=J0(p+V+W,i[0][0]):!a&&V>0&&(U=_0(p+q+W,i[1][0])),u&&j<0?I=J0(z+j+T,i[0][1]):!u&&j>0&&(I=_0(z+H+T,i[1][1])),N=Math[d(2172)](N,U),L=Math.max(L,I)}if(c){let U=0,I=0;a&&V>0?U=_0(p+V,c[0][0]):!a&&V<0&&(U=J0(p+q,c[1][0])),u&&j>0?I=_0(z+j,c[0][1]):!u&&j<0&&(I=J0(z+H,c[1][1])),N=Math.max(N,U),L=Math[d(2172)](L,I)}if(x){if(f){const U=gx(q/O,m,y)*O;if(N=Math[d(2172)](N,U),i){let I=0;!a&&!u||a&&!u&&g?I=_0(z+T+q/O,i[1][1])*O:I=J0(z+T+(a?V:-V)/O,i[0][1])*O,N=Math[d(2172)](N,I)}if(c){let I=0;!a&&!u||a&&!u&&g?I=J0(z+q/O,c[1][1])*O:I=_0(z+(a?V:-V)/O,c[0][1])*O,N=Math[d(2172)](N,I)}}if(b){const U=gx(H*O,v,M)/O;if(L=Math[d(2172)](L,U),i){let I=0;!a&&!u||u&&!a&&g?I=_0(p+H*O+W,i[1][0])/O:I=J0(p+(u?j:-j)*O+W,i[0][0])/O,L=Math[d(2172)](L,I)}if(c){let I=0;!a&&!u||u&&!a&&g?I=J0(p+H*O,c[1][0])/O:I=_0(p+(u?j:-j)*O,c[0][0])/O,L=Math[d(2172)](L,I)}}}j=j+(j<0?L:-L),V=V+(V<0?N:-N),x&&(g?q>H*O?j=(_c(a,u)?-V:V)/O:V=(_c(a,u)?-j:j)*O:f?(j=V/O,u=a):(V=j*O,a=u));const D=a?p+V:p,Y=u?z+j:z;return{width:P+(a?-V:V),height:G+(u?-j:j),x:r[0]*V*(a?-1:1)+D,y:r[1]*j*(u?-1:1)+Y}}const Qc={width:0,height:0,x:0,y:0},v5={...Qc,pointerX:0,pointerY:0,aspectRatio:1};function p5(e){const n=s;return[[0,0],[e[n(510)][n(1710)],e[n(510)][n(1355)]]]}function z5(e,n,t){const o=s,x=n[o(835)].x+e[o(835)].x,r=n.position.y+e[o(835)].y,i=e.measured[o(1710)]??0,c=e[o(510)][o(1355)]??0,d=t[0]*i,a=t[1]*c;return[[x-d,r-a],[x+i-d,r+c-a]]}function C5({domNode:e,nodeId:n,getStoreItems:t,onChange:o,onEnd:x}){const r=s,i=u0(e);let c={controlDirection:Jc("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(896)],maxHeight:Number[r(896)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:b,resizeDirection:g,onResizeStart:w,onResize:h,onResizeEnd:v,shouldResize:M}){const m=r;let y={...Qc},p={...v5};c={boundaries:f,resizeDirection:g,keepAspectRatio:b,controlDirection:Jc(u)};let z,P=null,G=[],O,V,j,q=!1;const H=Si().on("start",W=>{const T=_0x5590,{nodeLookup:N,transform:L,snapGrid:D,snapToGrid:Y,nodeOrigin:U,paneDomNode:I}=t();if(z=N[T(1861)](n),!z)return;P=I?.getBoundingClientRect()??null;const{xSnapped:J,ySnapped:$}=bt(W[T(1294)],{transform:L,snapGrid:D,snapToGrid:Y,containerBounds:P});y={width:z[T(510)].width??0,height:z[T(510)][T(1355)]??0,x:z[T(835)].x??0,y:z[T(835)].y??0},p={...y,pointerX:J,pointerY:$,aspectRatio:y[T(1710)]/y[T(1355)]},O=void 0,z[T(1907)]&&(z[T(502)]===T(1923)||z[T(1935)])&&(O=N[T(1861)](z[T(1907)]),V=O&&z[T(502)]===T(1923)?p5(O):void 0),G=[],j=void 0;for(const[F,xe]of N)if(xe.parentId===n&&(G[T(1759)]({id:F,position:{...xe[T(835)]},extent:xe.extent}),xe.extent===T(1923)||xe.expandParent)){const re=z5(xe,z,xe.origin??U);j?j=[[Math[T(775)](re[0][0],j[0][0]),Math.min(re[0][1],j[0][1])],[Math[T(2172)](re[1][0],j[1][0]),Math[T(2172)](re[1][1],j[1][1])]]:j=re}w?.(W,{...y})}).on(m(1980),W=>{const T=m,{transform:N,snapGrid:L,snapToGrid:D,nodeOrigin:Y}=t(),U=bt(W.sourceEvent,{transform:N,snapGrid:L,snapToGrid:D,containerBounds:P}),I=[];if(!z)return;const{x:J,y:$,width:F,height:xe}=y,re={},ae=z[T(1639)]??Y,{width:ue,height:me,x:se,y:ee}=w5(p,c[T(2099)],U,c[T(621)],c[T(1806)],ae,V,j),le=ue!==F,be=me!==xe,E=se!==J&&le,A=ee!==$&&be;if(!E&&!A&&!le&&!be)return;if((E||A||ae[0]===1||ae[1]===1)&&(re.x=E?se:y.x,re.y=A?ee:y.y,y.x=re.x,y.y=re.y,G[T(2179)]>0)){const X=se-J,oe=ee-$;for(const ve of G)ve[T(835)]={x:ve[T(835)].x-X+ae[0]*(ue-F),y:ve[T(835)].y-oe+ae[1]*(me-xe)},I.push(ve)}if((le||be)&&(re.width=le&&(!c[T(1393)]||c[T(1393)]===T(1240))?ue:y[T(1710)],re[T(1355)]=be&&(!c[T(1393)]||c.resizeDirection===T(1323))?me:y[T(1355)],y[T(1710)]=re.width,y[T(1355)]=re[T(1355)]),O&&z[T(1935)]){const X=ae[0]*(re.width??0);re.x&&re.x<X&&(y.x=X,p.x=p.x-(re.x-X));const oe=ae[1]*(re[T(1355)]??0);re.y&&re.y<oe&&(y.y=oe,p.y=p.y-(re.y-oe))}const Z=m5({width:y[T(1710)],prevWidth:F,height:y[T(1355)],prevHeight:xe,affectsX:c[T(2099)][T(467)],affectsY:c[T(2099)][T(1840)]}),ne={...y,direction:Z};M?.(W,ne)!==!1&&(q=!0,h?.(W,ne),o(re,I))}).on("end",W=>{q&&(v?.(W,{...y}),x?.({...y}),q=!1)});i[m(414)](H)}function a(){const u=r;i.on(u(516),null)}return{update:d,destroy:a}}var bx={exports:{}},qo={},yx={exports:{}},Wo={},Fc;function M5(){const e=s;if(Fc)return Wo;Fc=1;var n=B;function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var o=e(1347)===typeof Object.is?Object.is:t,x=n[e(883)],r=n.useEffect,i=n[e(1624)],c=n[e(1743)];function d(b,g){const w=e;var h=g(),v=x({inst:{value:h,getSnapshot:g}}),M=v[0][w(719)],m=v[1];return i(function(){const y=w;M[y(1044)]=h,M[y(2095)]=g,a(M)&&m({inst:M})},[b,h,g]),r(function(){return a(M)&&m({inst:M}),b(function(){a(M)&&m({inst:M})})},[b]),c(h),h}function a(b){const g=e;var w=b[g(2095)];b=b[g(1044)];try{var h=w();return!o(b,h)}catch{return!0}}function u(b,g){return g()}var f=e(383)===typeof window||e(383)===typeof window[e(821)]||e(383)===typeof window[e(821)].createElement?u:d;return Wo.useSyncExternalStore=n[e(1997)]!==void 0?n[e(1997)]:f,Wo}var Xo={},$c;function B5(){const e=s;return $c||($c=1,e(895)!==process.env.NODE_ENV&&(function(){const n=e;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}function o(h,v){const M=_0x5590;b||i.startTransition===void 0||(b=!0,console[M(1036)](M(1769)));var m=v();if(!g){var y=v();c(m,y)||(console[M(1036)](M(1836)),g=!0)}y=d({inst:{value:m,getSnapshot:v}});var p=y[0][M(719)],z=y[1];return u(function(){const P=M;p.value=m,p[P(2095)]=v,x(p)&&z({inst:p})},[h,m,v]),a(function(){return x(p)&&z({inst:p}),h(function(){x(p)&&z({inst:p})})},[h]),f(m),m}function x(h){var M=h[_0x5590(2095)];h=h.value;try{var m=M();return!c(h,m)}catch{return!0}}function r(h,v){return v()}n(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(421)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(421)](Error());var i=B,c=n(1347)===typeof Object.is?Object.is:t,d=i[n(883)],a=i[n(2005)],u=i[n(1624)],f=i[n(1743)],b=!1,g=!1,w=n(383)===typeof window||n(383)===typeof window.document||n(383)===typeof window[n(821)][n(2142)]?r:o;Xo[n(1997)]=i[n(1997)]!==void 0?i[n(1997)]:w,n(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(887)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(887)](Error())})()),Xo}var ea;function na(){const e=s;return ea||(ea=1,process.env.NODE_ENV===e(895)?yx.exports=M5():yx[e(1896)]=B5()),yx[e(1896)]}var ta;function D5(){const e=s;if(ta)return qo;ta=1;var n=B,t=na();function o(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var x=e(1347)===typeof Object.is?Object.is:o,r=t.useSyncExternalStore,i=n[e(780)],c=n.useEffect,d=n[e(1581)],a=n.useDebugValue;return qo[e(1524)]=function(u,f,b,g,w){const h=e;var v=i(null);if(v[h(523)]===null){var M={hasValue:!1,value:null};v[h(523)]=M}else M=v[h(523)];v=d(function(){function y(O){const V=_0x5590;if(!p){if(p=!0,z=O,O=g(O),w!==void 0&&M.hasValue){var j=M[V(1044)];if(w(j,O))return P=j}return P=O}if(j=P,x(z,O))return j;var q=g(O);return w!==void 0&&w(j,q)?(z=O,j):(z=O,P=q)}var p=!1,z,P,G=b===void 0?null:b;return[function(){return y(f())},G===null?void 0:function(){return y(G())}]},[f,b,g,w]);var m=r(u,v[0],v[1]);return c(function(){const y=h;M[y(2025)]=!0,M[y(1044)]=m},[m]),a(m),m},qo}var Ko={},xa;function L5(){return xa||(xa=1,process.env.NODE_ENV!=="production"&&(function(){const e=_0x5590;function n(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}e(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(421)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(421)](Error());var t=B,o=na(),x=typeof Object.is=="function"?Object.is:n,r=o[e(1997)],i=t[e(780)],c=t[e(2005)],d=t[e(1581)],a=t[e(1743)];Ko[e(1524)]=function(u,f,b,g,w){const h=e;var v=i(null);if(v[h(523)]===null){var M={hasValue:!1,value:null};v.current=M}else M=v[h(523)];v=d(function(){function y(O){const V=_0x5590;if(!p){if(p=!0,z=O,O=g(O),w!==void 0&&M[V(2025)]){var j=M[V(1044)];if(w(j,O))return P=j}return P=O}if(j=P,x(z,O))return j;var q=g(O);return w!==void 0&&w(j,q)?(z=O,j):(z=O,P=q)}var p=!1,z,P,G=b===void 0?null:b;return[function(){return y(f())},G===null?void 0:function(){return y(G())}]},[f,b,g,w]);var m=r(u,v[0],v[1]);return c(function(){const y=h;M[y(2025)]=!0,M[y(1044)]=m},[m]),a(m),m},e(383)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1347)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(887)](Error())})()),Ko}var oa;function N5(){const e=s;return oa||(oa=1,process.env.NODE_ENV===e(895)?bx.exports=D5():bx[e(1896)]=L5()),bx[e(1896)]}var S5=N5();const k5=Vn(S5),I5={},ra=e=>{let n;const t=new Set,o=(u,f)=>{const b=_0x5590,g=typeof u=="function"?u(n):u;if(!Object.is(g,n)){const w=n;n=f??(typeof g!="object"||g===null)?g:Object[b(1060)]({},n,g),t[b(1322)](h=>h(n,w))}},x=()=>n,r=()=>a,i=u=>{const f=_0x5590;return t[f(729)](u),()=>t[f(1234)](u)},c=()=>{const u=_0x5590;(I5?"production":void 0)!==u(895)&&console[u(2015)](u(1604)),t.clear()},d={setState:o,getState:x,getInitialState:r,subscribe:i,destroy:c},a=n=e(o,x,d);return d},P5=e=>e?ra(e):ra,{useDebugValue:A5}=B,{useSyncExternalStoreWithSelector:j5}=k5,Y5=e=>e;function ia(e,n=Y5,t){const o=s,x=j5(e[o(1745)],e.getState,e[o(1397)]||e[o(685)],n,t);return A5(x),x}const ca=(e,n)=>{const t=s,o=P5(e),x=(r,i=n)=>ia(o,r,i);return Object[t(1060)](x,o),x},E5=(e,n)=>e?ca(e,n):ca;function Ue(e,n){const t=s;if(Object.is(e,n))return!0;if(typeof e!==t(878)||e===null||typeof n!==t(878)||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(1046)]!==n.size)return!1;for(const[x,r]of e)if(!Object.is(r,n.get(x)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(1046)]!==n[t(1046)])return!1;for(const x of e)if(!n[t(1147)](x))return!1;return!0}const o=Object[t(999)](e);if(o.length!==Object.keys(n)[t(2179)])return!1;for(const x of o)if(!Object[t(2107)][t(911)][t(414)](n,x)||!Object.is(e[x],n[x]))return!1;return!0}const mx=B[s(531)](null),U5=mx[s(431)],aa=f0[s(1458)]();function Pe(e,n){const t=s,o=B[t(1773)](mx);if(o===null)throw new Error(aa);return ia(o,e,n)}function Ge(){const e=s,n=B[e(1773)](mx);if(n===null)throw new Error(aa);return B[e(1581)](()=>({getState:n[e(1305)],setState:n.setState,subscribe:n[e(1745)]}),[n])}const sa={display:s(988)},G5={position:s(2122),width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:s(926),clipPath:"inset(100%)"},la=s(1471),da=s(776),O5=s(1651),H5=e=>e[s(670)],T5=e=>e[s(347)];function V5({rfId:e}){const n=s,t=Pe(H5);return l[n(1375)](n(1037),{id:O5+"-"+e,"aria-live":"assertive","aria-atomic":n(1981),style:G5,children:t})}function q5({rfId:e,disableKeyboardA11y:n}){const t=s,o=Pe(T5);return l[t(884)](l.Fragment,{children:[l[t(1375)](t(1037),{id:la+"-"+e,style:sa,children:n?o["node.a11yDescription.default"]:o[t(1931)]}),l[t(1375)](t(1037),{id:da+"-"+e,style:sa,children:o[t(1325)]}),!n&&l[t(1375)](V5,{rfId:e})]})}const wx=B.forwardRef(({position:e=s(1984),children:n,className:t,style:o,...x},r)=>{const i=s,c=(""+e)[i(897)]("-");return l[i(1375)]("div",{className:Xe(["react-flow__panel",t,...c]),style:o,ref:r,...x,children:n})});wx.displayName=s(1560);function W5({proOptions:e,position:n=s(1241)}){const t=s;return e?.[t(1064)]?null:l[t(1375)](wx,{position:n,className:t(2135),"data-message":t(2182),children:l.jsx("a",{href:t(1646),target:"_blank",rel:t(599),"aria-label":t(633),children:"React Flow"})})}const X5=e=>{const n=s,t=[],o=[];for(const[,x]of e.nodeLookup)x.selected&&t[n(1759)](x[n(1157)][n(1275)]);for(const[,x]of e[n(2052)])x[n(1274)]&&o[n(1759)](x);return{selectedNodes:t,selectedEdges:o}},vx=e=>e.id;function K5(e,n){const t=s;return Ue(e.selectedNodes[t(474)](vx),n.selectedNodes[t(474)](vx))&&Ue(e.selectedEdges[t(474)](vx),n[t(1516)][t(474)](vx))}function Z5({onSelectionChange:e}){const n=s,t=Ge(),{selectedNodes:o,selectedEdges:x}=Pe(X5,K5);return B[n(2005)](()=>{const r=n,i={nodes:o,edges:x};e?.(i),t[r(1305)]()[r(1260)][r(1322)](c=>c(i))},[o,x,e]),null}const R5=e=>!!e.onSelectionChangeHandlers;function J5({onSelectionChange:e}){const n=s,t=Pe(R5);return e||t?l[n(1375)](Z5,{onSelectionChange:e}):null}const Zo=typeof window<"u"?B[s(1624)]:B[s(2005)],ua=[0,0],_5={x:0,y:0,zoom:1},Q5=[s(960),s(2083),s(1788),s(1638),s(1902),"onConnectStart",s(2108),s(1012),s(1866),"nodesDraggable",s(2054),s(563),"nodesFocusable",s(909),s(679),s(1276),s(1532),"minZoom",s(1356),s(790),s(1932),s(709),"elementsSelectable",s(1579),s(1556),s(1406),s(1723),s(1937),"defaultEdgeOptions",s(1429),s(1169),"onNodesDelete",s(427),s(680),"onNodeDrag",s(1728),s(1754),s(1361),s(1658),s(566),s(2123),"onMove",s(508),"noPanClassName",s(1031),s(1298),s(733),"onError",s(2050),s(1100),s(1690),s(356),"connectionDragThreshold",s(1611),s(1761),s(768),s(347),s(1316)],fa=[...Q5,s(638)],F5=e=>({setNodes:e[s(410)],setEdges:e[s(1040)],setMinZoom:e[s(1282)],setMaxZoom:e.setMaxZoom,setTranslateExtent:e[s(1457)],setNodeExtent:e[s(1963)],reset:e[s(1775)],setDefaultNodesAndEdges:e[s(2067)]}),ha={translateExtent:at,nodeOrigin:ua,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:s(1856),rfId:"1"};function $5(e){const n=s,{setNodes:t,setEdges:o,setMinZoom:x,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:c,reset:d,setDefaultNodesAndEdges:a}=Pe(F5,Ue),u=Ge();Zo(()=>{const b=_0x5590;return a(e[b(1788)],e.defaultEdges),()=>{const g=b;f[g(523)]=ha,d()}},[]);const f=B[n(780)](ha);return Zo(()=>{const b=n;for(const g of fa){const w=e[g],h=f[b(523)][g];w!==h&&typeof e[g]!==b(383)&&(g==="nodes"?t(w):g===b(2083)?o(w):g===b(1132)?x(w):g===b(1356)?r(w):g===b(1723)?i(w):g==="nodeExtent"?c(w):g===b(347)?u[b(1770)]({ariaLabelConfig:E2(w)}):g===b(1429)?u[b(1770)]({fitViewQueued:w}):g===b(1169)?u.setState({fitViewOptions:w}):u[b(1770)]({[g]:w}))}f.current=e},fa[n(474)](b=>e[b])),null}function ga(){const e=s;return typeof window===e(383)||!window[e(816)]?null:window[e(816)](e(2177))}function eh(e){const n=s,[t,o]=B[n(883)](e==="system"?null:e);return B[n(2005)](()=>{const x=n;if(e!==x(1358)){o(e);return}const r=ga(),i=()=>o(r?.[x(1844)]?x(1842):x(1592));return i(),r?.[x(1892)](x(734),i),()=>{const c=x;r?.[c(1665)](c(734),i)}},[e]),t!==null?t:ga()?.[n(1844)]?n(1842):n(1592)}const ba=typeof document!==s(383)?document:null;function yt(e=null,n={target:ba,actInsideInputWithModifier:!0}){const t=s,[o,x]=B[t(883)](!1),r=B.useRef(!1),i=B[t(780)](new Set([])),[c,d]=B[t(1581)](()=>{const a=t;if(e!==null){const u=Array.isArray(e)?e:[e],f=u.filter(g=>typeof g===a(1705))[a(474)](g=>g[a(830)]("+",`
4
+ `)[a(830)](`
6
5
 
7
6
  `,`
8
- +`)[s(364)](`
9
- `)),h=u.reduce((b,v)=>b[s(1127)](...v),[]);return[u,h]}return[[],[]]},[e]);return B[t(1753)](()=>{const s=t,f=n?.target??Fa,u=n?.[s(1975)]??!0;if(e!==null){const h=g=>{const w=s;if(r[w(405)]=g[w(1421)]||g[w(288)]||g.shiftKey||g[w(1145)],(!r[w(405)]||r.current&&!u)&&ra(g))return!1;const m=es(g[w(770)],d);if(i.current[w(1219)](g[m]),$a(a,i[w(405)],!1)){const y=g[w(1667)]?.()?.[0]||g[w(1274)],z=y?.nodeName===w(1136)||y?.[w(1201)]==="A";n[w(310)]!==!1&&(r.current||!z)&&g[w(310)](),x(!0)}},b=g=>{const w=s,M=es(g[w(770)],d);$a(a,i.current,!0)?(x(!1),i[w(405)][w(1600)]()):i[w(405)][w(2026)](g[M]),g.key==="Meta"&&i[w(405)][w(1600)](),r.current=!1},v=()=>{const g=s;i[g(405)][g(1600)](),x(!1)};return f?.[s(1534)](s(1092),h),f?.[s(1534)](s(324),b),window[s(1534)](s(1560),v),window[s(1534)]("contextmenu",v),()=>{const g=s;f?.[g(1357)]("keydown",h),f?.removeEventListener(g(324),b),window.removeEventListener(g(1560),v),window[g(1357)](g(1466),v)}}},[e,x]),o}function $a(e,n,t){const o=c;return e[o(416)](x=>t||x[o(1361)]===n[o(1142)])[o(298)](x=>x[o(1146)](r=>n[o(1807)](r)))}function es(e,n){const t=c;return n[t(1483)](e)?t(770):t(301)}const X2=()=>{const e=c,n=Ye();return B[e(1616)](()=>{const t=e;return{zoomIn:o=>{const x=_0x4d07,{panZoom:r}=n[x(308)]();return r?r[x(1208)](1.2,o):Promise[x(1929)](!1)},zoomOut:o=>{const x=_0x4d07,{panZoom:r}=n[x(308)]();return r?r.scaleBy(1/1.2,o):Promise[x(1929)](!1)},zoomTo:(o,x)=>{const r=_0x4d07,{panZoom:i}=n[r(308)]();return i?i[r(1809)](o,x):Promise[r(1929)](!1)},getZoom:()=>n[t(308)]()[t(1696)][2],setViewport:async(o,x)=>{const r=t,{transform:[i,a,d],panZoom:s}=n[r(308)]();return s?(await s[r(336)]({x:o.x??i,y:o.y??a,zoom:o[r(896)]??d},x),Promise[r(1929)](!0)):Promise[r(1929)](!1)},getViewport:()=>{const[o,x,r]=n.getState().transform;return{x:o,y:x,zoom:r}},setCenter:async(o,x,r)=>{const i=t;return n.getState()[i(2024)](o,x,r)},fitBounds:async(o,x)=>{const r=t,{width:i,height:a,minZoom:d,maxZoom:s,panZoom:f}=n.getState(),u=so(o,i,a,d,s,x?.[r(684)]??.1);return f?(await f[r(336)](u,{duration:x?.[r(664)],ease:x?.ease,interpolate:x?.[r(1786)]}),Promise[r(1929)](!0)):Promise[r(1929)](!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:a,snapToGrid:d,domNode:s}=n.getState();if(!s)return o;const{x:f,y:u}=s[r(1436)](),h={x:o.x-f,y:o.y-u},b=x[r(565)]??a,v=x[r(892)]??d;return x0(h,i,v,b)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(308)]();if(!i)return o;const{x:a,y:d}=i[x(1436)](),s=F0(o,r);return{x:s.x+a,y:s.y+d}}}},[])};function ns(e,n){const t=c,o=[],x=new Map,r=[];for(const i of e)if(i[t(478)]===t(1219)){r[t(1935)](i);continue}else if(i[t(478)]===t(1441)||i[t(478)]===t(974))x[t(1016)](i.id,[i]);else{const a=x[t(946)](i.id);a?a[t(1935)](i):x[t(1016)](i.id,[i])}for(const i of n){const a=x[t(946)](i.id);if(!a){o[t(1935)](i);continue}if(a[0].type===t(1441))continue;if(a[0][t(478)]===t(974)){o[t(1935)]({...a[0][t(269)]});continue}const d={...i};for(const s of a)K2(s,d);o.push(d)}return r[t(1361)]&&r[t(1777)](i=>{const a=t;i[a(901)]!==void 0?o[a(507)](i[a(901)],0,{...i[a(269)]}):o[a(1935)]({...i[a(269)]})}),o}function K2(e,n){const t=c;switch(e[t(478)]){case t(693):{n[t(394)]=e[t(394)];break}case t(2046):{typeof e[t(2046)]<"u"&&(n.position=e[t(2046)]),typeof e[t(860)]<"u"&&(n[t(860)]=e.dragging);break}case"dimensions":{typeof e[t(1041)]!==t(1397)&&(n.measured={...e[t(1041)]},e[t(782)]&&((e.setAttributes===!0||e[t(782)]==="width")&&(n[t(419)]=e[t(1041)][t(419)]),(e[t(782)]===!0||e[t(782)]===t(691))&&(n[t(691)]=e[t(1041)].height))),typeof e[t(2031)]=="boolean"&&(n[t(2031)]=e[t(2031)]);break}}}function ts(e,n){return ns(e,n)}function xs(e,n){return ns(e,n)}function ot(e,n){return{id:e,type:c(693),selected:n}}function Lt(e,n=new Set,t=!1){const o=c,x=[];for(const[r,i]of e){const a=n.has(r);!(i[o(394)]===void 0&&!a)&&i[o(394)]!==a&&(t&&(i.selected=a),x[o(1935)](ot(i.id,a)))}return x}function os({items:e=[],lookup:n}){const t=c,o=[],x=new Map(e[t(1549)](r=>[r.id,r]));for(const[r,i]of e.entries()){const a=n[t(946)](i.id),d=a?.[t(588)]?.[t(1272)]??a;d!==void 0&&d!==i&&o[t(1935)]({id:i.id,item:i,type:"replace"}),d===void 0&&o[t(1935)]({item:i,type:t(1219),index:r})}for(const[r]of n)x[t(946)](r)===void 0&&o[t(1935)]({id:r,type:t(1441)});return o}function rs(e){const n=c;return{id:e.id,type:n(1441)}}const is=e=>y5(e),Z2=e=>Zi(e);function as(e){return B[c(1668)](e)}function ss(e){const n=c,[t,o]=B[n(1704)](BigInt(0)),[x]=B[n(1704)](()=>R2(()=>o(r=>r+BigInt(1))));return Lo(()=>{const r=n,i=x[r(946)]();i[r(1361)]&&(e(i),x[r(900)]())},[t]),x}function R2(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x4d07(1935)](t),e()}}}const cs=B[c(695)](null);function J2({children:e}){const n=c,t=Ye(),o=B.useCallback(d=>{const s=_0x4d07,{nodes:f=[],setNodes:u,hasDefaultNodes:h,onNodesChange:b,nodeLookup:v,fitViewQueued:g,onNodesChangeMiddlewareMap:w}=t[s(308)]();let M=f;for(const y of d)M=typeof y===s(2002)?y(M):y;let m=os({items:M,lookup:v});for(const y of w[s(305)]())m=y(m);h&&u(M),m[s(1361)]>0?b?.(m):g&&window[s(1340)](()=>{const y=s,{fitViewQueued:z,nodes:p,setNodes:N}=t[y(308)]();z&&N(p)})},[]),x=ss(o),r=B[n(1455)](d=>{const s=n,{edges:f=[],setEdges:u,hasDefaultEdges:h,onEdgesChange:b,edgeLookup:v}=t[s(308)]();let g=f;for(const w of d)g=typeof w=="function"?w(g):w;h?u(g):b&&b(os({items:g,lookup:v}))},[]),i=ss(r),a=B[n(1616)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(886)](cs[n(315)],{value:a,children:e})}function _2(){const e=c,n=B.useContext(cs);if(!n)throw new Error(e(2086));return n}const Q2=e=>!!e[c(1005)];function So(){const e=X2(),n=Ye(),t=_2(),o=ke(Q2),x=B.useMemo(()=>{const r=_0x4d07,i=h=>n.getState().nodeLookup.get(h),a=h=>{t.nodeQueue.push(h)},d=h=>{t[_0x4d07(709)].push(h)},s=h=>{const b=_0x4d07,{nodeLookup:v,nodeOrigin:g}=n[b(308)](),w=is(h)?h:v[b(946)](h.id),M=w[b(1433)]?ta(w[b(2046)],w[b(889)],w[b(1433)],v,g):w[b(2046)],m={...w,position:M,width:w.measured?.[b(419)]??w[b(419)],height:w[b(889)]?.[b(691)]??w[b(691)]};return zt(m)},f=(h,b,v={replace:!1})=>{const g=_0x4d07;a(w=>w[g(1549)](M=>{const m=g;if(M.id===h){const y=typeof b===m(2002)?b(M):b;return v[m(974)]&&is(y)?y:{...M,...y}}return M}))},u=(h,b,v={replace:!1})=>{const g=_0x4d07;d(w=>w[g(1549)](M=>{const m=g;if(M.id===h){const y=typeof b===m(2002)?b(M):b;return v[m(974)]&&Z2(y)?y:{...M,...y}}return M}))};return{getNodes:()=>n[r(308)]()[r(448)].map(h=>({...h})),getNode:h=>i(h)?.[r(588)][r(1272)],getInternalNode:i,getEdges:()=>{const h=r,{edges:b=[]}=n[h(308)]();return b.map(v=>({...v}))},getEdge:h=>n[r(308)]()[r(947)][r(946)](h),setNodes:a,setEdges:d,addNodes:h=>{const b=r,v=Array[b(862)](h)?h:[h];t[b(577)][b(1935)](g=>[...g,...v])},addEdges:h=>{const b=r,v=Array.isArray(h)?h:[h];t[b(709)][b(1935)](g=>[...g,...v])},toObject:()=>{const h=r,{nodes:b=[],edges:v=[],transform:g}=n[h(308)](),[w,M,m]=g;return{nodes:b[h(1549)](y=>({...y})),edges:v[h(1549)](y=>({...y})),viewport:{x:w,y:M,zoom:m}}},deleteElements:async({nodes:h=[],edges:b=[]})=>{const v=r,{nodes:g,edges:w,onNodesDelete:M,onEdgesDelete:m,triggerNodeChanges:y,triggerEdgeChanges:z,onDelete:p,onBeforeDelete:N}=n[v(308)](),{nodes:O,edges:G}=await z5({nodesToRemove:h,edgesToRemove:b,nodes:g,edges:w,onBeforeDelete:N}),T=G.length>0,j=O[v(1361)]>0;if(T){const q=G.map(rs);m?.(G),z(q)}if(j){const q=O[v(1549)](rs);M?.(O),y(q)}return(j||T)&&p?.({nodes:O,edges:G}),{deletedNodes:O,deletedEdges:G}},getIntersectingNodes:(h,b=!0,v)=>{const g=r,w=$i(h),M=w?h:s(h),m=v!==void 0;return M?(v||n.getState()[g(448)])[g(416)](y=>{const z=g,p=n[z(308)]().nodeLookup[z(946)](y.id);if(p&&!w&&(y.id===h.id||!p[z(588)].positionAbsolute))return!1;const N=zt(m?y:p),O=n0(N,M);return b&&O>0||O>=N[z(419)]*N[z(691)]||O>=M[z(419)]*M.height}):[]},isNodeIntersecting:(h,b,v=!0)=>{const g=r,w=$i(h),M=w?h:s(h);if(!M)return!1;const m=n0(M,b);return v&&m>0||m>=b.width*b[g(691)]||m>=M[g(419)]*M[g(691)]},updateNode:f,updateNodeData:(h,b,v={replace:!1})=>{f(h,g=>{const w=_0x4d07,M=typeof b===w(2002)?b(g):b;return v[w(974)]?{...g,data:M}:{...g,data:{...g.data,...M}}},v)},updateEdge:u,updateEdgeData:(h,b,v={replace:!1})=>{u(h,g=>{const w=_0x4d07,M=typeof b===w(2002)?b(g):b;return v[w(974)]?{...g,data:M}:{...g,data:{...g[w(1467)],...M}}},v)},getNodesBounds:h=>{const b=r,{nodeLookup:v,nodeOrigin:g}=n[b(308)]();return m5(h,{nodeLookup:v,nodeOrigin:g})},getHandleConnections:({type:h,id:b,nodeId:v})=>Array.from(n[r(308)]()[r(1370)][r(946)](v+"-"+h+(b?"-"+b:""))?.[r(305)]()??[]),getNodeConnections:({type:h,handleId:b,nodeId:v})=>Array.from(n[r(308)]()[r(1370)][r(946)](""+v+(h?b?"-"+h+"-"+b:"-"+h:""))?.[r(305)]()??[]),fitView:async h=>{const b=r,v=n[b(308)]()[b(1030)]??B5();return n[b(2029)]({fitViewQueued:!0,fitViewOptions:h,fitViewResolver:v}),t[b(577)].push(g=>[...g]),v[b(998)]}}},[]);return B.useMemo(()=>({...x,...e,viewportInitialized:o}),[o])}const ls=e=>e[c(394)],F2=typeof window!==c(1397)?window:void 0;function $2({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,o=Ye(),{deleteElements:x}=So(),r=i0(e,{actInsideInputWithModifier:!1}),i=i0(n,{target:F2});B[t(1753)](()=>{const a=t;if(r){const{edges:d,nodes:s}=o.getState();x({nodes:s.filter(ls),edges:d[a(416)](ls)}),o[a(2029)]({nodesSelectionActive:!1})}},[r]),B[t(1753)](()=>{o[t(2029)]({multiSelectionActive:i})},[i])}function e1(e){const n=c,t=Ye();B[n(1753)](()=>{const o=n,x=()=>{const r=_0x4d07;if(!e.current||!(e[r(405)][r(1743)]?.()??!0))return!1;const i=co(e[r(405)]);(i[r(691)]===0||i.width===0)&&t[r(308)]()[r(1519)]?.(r(518),sn[r(931)]()),t[r(2029)]({width:i[r(419)]||500,height:i[r(691)]||500})};if(e.current){x(),window.addEventListener("resize",x);const r=new ResizeObserver(()=>x());return r[o(989)](e[o(405)]),()=>{const i=o;window[i(1357)](i(1754),x),r&&e[i(405)]&&r[i(1570)](e[i(405)])}}},[])}const ax={position:c(1290),width:"100%",height:"100%",top:0,left:0},n1=e=>({userSelectionActive:e[c(1011)],lib:e.lib,connectionInProgress:e.connection[c(279)]});function t1({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=nt.Free,zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:d,translateExtent:s,minZoom:f,maxZoom:u,zoomActivationKeyCode:h,preventScrolling:b=!0,children:v,noWheelClassName:g,noPanClassName:w,onViewportChange:M,isControlledViewport:m,paneClickDistance:y,selectionOnDrag:z}){const p=c,N=Ye(),O=B[p(1100)](null),{userSelectionActive:G,lib:T,connectionInProgress:j}=ke(n1,Ee),q=i0(h),V=B[p(1100)]();e1(O);const W=B[p(1455)](H=>{const S=p;M?.({x:H[0],y:H[1],zoom:H[2]}),!m&&N[S(2029)]({transform:H})},[M,m]);return B.useEffect(()=>{const H=p;if(O[H(405)]){V[H(405)]=a2({domNode:O[H(405)],minZoom:f,maxZoom:u,translateExtent:s,viewport:d,onDraggingChange:E=>N[H(2029)](U=>U.paneDragging===E?U:{paneDragging:E}),onPanZoomStart:(E,U)=>{const{onViewportChangeStart:k,onMoveStart:R}=N.getState();R?.(E,U),k?.(U)},onPanZoom:(E,U)=>{const k=H,{onViewportChange:R,onMove:$}=N[k(308)]();$?.(E,U),R?.(U)},onPanZoomEnd:(E,U)=>{const k=H,{onViewportChangeEnd:R,onMoveEnd:$}=N[k(308)]();$?.(E,U),R?.(U)}});const{x:S,y:L,zoom:D}=V.current[H(890)]();return N[H(2029)]({panZoom:V[H(405)],transform:[S,L,D],domNode:O[H(405)][H(736)](".react-flow")}),()=>{V[H(405)]?.destroy()}}},[]),B[p(1753)](()=>{const H=p;V[H(405)]?.[H(876)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:q,preventScrolling:b,noPanClassName:w,userSelectionActive:G,noWheelClassName:g,lib:T,onTransformChange:W,connectionInProgress:j,selectionOnDrag:z,paneClickDistance:y})},[e,n,t,o,x,r,i,a,q,b,w,G,g,T,W,j,z,y]),l[p(886)](p(866),{className:p(904),ref:O,style:ax,children:v})}const x1=e=>({userSelectionActive:e[c(1011)],userSelectionRect:e.userSelectionRect});function o1(){const e=c,{userSelectionActive:n,userSelectionRect:t}=ke(x1,Ee);return n&&t?l[e(886)](e(866),{className:e(1058),style:{width:t[e(419)],height:t.height,transform:e(1170)+t.x+"px, "+t.y+e(1627)}}):null}const No=(e,n)=>t=>{const o=_0x4d07;t.target===n[o(405)]&&e?.(t)},r1=e=>({userSelectionActive:e[c(1011)],elementsSelectable:e[c(2020)],connectionInProgress:e[c(1963)][c(279)],dragging:e.paneDragging});function i1({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Ft[c(928)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:f,onPaneMouseEnter:u,onPaneMouseMove:h,onPaneMouseLeave:b,children:v}){const g=c,w=Ye(),{userSelectionActive:M,elementsSelectable:m,dragging:y,connectionInProgress:z}=ke(r1,Ee),p=m&&(e||M),N=B[g(1100)](null),O=B.useRef(),G=B[g(1100)](new Set),T=B[g(1100)](new Set),j=B[g(1100)](!1),q=U=>{const k=g;if(j[k(405)]||z){j[k(405)]=!1;return}d?.(U),w[k(308)]().resetSelectedElements(),w[k(2029)]({nodesSelectionActive:!1})},V=U=>{const k=g;if(Array.isArray(o)&&o?.[k(1483)](2)){U[k(310)]();return}s?.(U)},W=f?U=>f(U):void 0,H=U=>{const k=g;j[k(405)]&&(U[k(1794)](),j[k(405)]=!1)},S=U=>{const k=g,{domNode:R}=w.getState();if(O[k(405)]=R?.getBoundingClientRect(),!O[k(405)])return;const $=U[k(1274)]===N[k(405)];if(!$&&!!U[k(1274)][k(736)](k(1645))||!e||!(r&&$||n)||U[k(1266)]!==0||!U[k(1695)])return;U[k(1274)]?.[k(1706)]?.(U[k(1223)]),j[k(405)]=!1;const{x:re,y:ie}=mn(U[k(1583)],O[k(405)]);w.setState({userSelectionRect:{width:0,height:0,startX:re,startY:ie,x:re,y:ie}}),!$&&(U[k(1794)](),U[k(310)]())},L=U=>{const k=g,{userSelectionRect:R,transform:$,nodeLookup:ee,edgeLookup:xe,connectionLookup:re,triggerNodeChanges:ie,triggerEdgeChanges:fe,defaultEdgeOptions:ye,resetSelectedElements:ce}=w.getState();if(!O[k(405)]||!R)return;const{x:J,y:le}=mn(U[k(1583)],O[k(405)]),{startX:ue,startY:Y}=R;if(!j.current){const X=n?0:x;if(Math.hypot(J-ue,le-Y)<=X)return;ce(),i?.(U)}j[k(405)]=!0;const I={startX:ue,startY:Y,x:J<ue?J:ue,y:le<Y?le:Y,width:Math.abs(J-ue),height:Math[k(1454)](le-Y)},Z=G[k(405)],ne=T[k(405)];G[k(405)]=new Set(io(ee,I,$,t===Ft[k(1956)],!0)[k(1549)](X=>X.id)),T[k(405)]=new Set;const te=ye?.[k(2098)]??!0;for(const X of G[k(405)]){const oe=re[k(946)](X);if(oe)for(const{edgeId:me}of oe[k(305)]()){const ze=xe[k(946)](me);ze&&(ze[k(2098)]??te)&&T[k(405)].add(me)}}if(!xa(Z,G[k(405)])){const X=Lt(ee,G[k(405)],!0);ie(X)}if(!xa(ne,T[k(405)])){const X=Lt(xe,T[k(405)]);fe(X)}w[k(2029)]({userSelectionRect:I,userSelectionActive:!0,nodesSelectionActive:!1})},D=U=>{const k=g;U.button===0&&(U[k(1274)]?.releasePointerCapture?.(U[k(1223)]),!M&&U[k(1274)]===N[k(405)]&&w.getState()[k(1708)]&&q?.(U),w[k(2029)]({userSelectionActive:!1,userSelectionRect:null}),j[k(405)]&&(a?.(U),w.setState({nodesSelectionActive:G[k(405)][k(1142)]>0})))},E=o===!0||Array[g(862)](o)&&o[g(1483)](0);return l[g(1669)](g(866),{className:Te([g(374),{draggable:E,dragging:y,selection:e}]),onClick:p?void 0:No(q,N),onContextMenu:No(V,N),onWheel:No(W,N),onPointerEnter:p?void 0:u,onPointerMove:p?L:h,onPointerUp:p?D:void 0,onPointerDownCapture:p?S:void 0,onClickCapture:p?H:void 0,onPointerLeave:b,ref:N,style:ax,children:[v,l[g(886)](o1,{})]})}function ko({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:d,onError:s}=n[x(308)](),f=d.get(e);if(!f){s?.("012",sn.error012(e));return}n[x(2029)]({nodesSelectionActive:!1}),f[x(394)]?(t||f[x(394)]&&a)&&(i({nodes:[f],edges:[]}),requestAnimationFrame(()=>o?.[x(405)]?.[x(1560)]())):r([e])}function ds({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const a=c,d=Ye(),[s,f]=B[a(1704)](!1),u=B[a(1100)]();return B.useEffect(()=>{const h=a;u[h(405)]=Z5({getStoreItems:()=>d[h(308)](),onNodeMouseDown:b=>{ko({id:b,store:d,nodeRef:e})},onDragStart:()=>{f(!0)},onDragStop:()=>{f(!1)}})},[]),B[a(1753)](()=>{const h=a;if(!(n||!e[h(405)]||!u.current))return u.current.update({noDragClassName:t,handleSelector:o,domNode:e[h(405)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const b=h;u[b(405)]?.[b(580)]()}},[t,o,n,r,e,x,i]),s}const a1=e=>n=>n[c(394)]&&(n[c(1826)]||e&&typeof n[c(1826)]===c(1397));function fs(){const e=c,n=Ye();return B[e(1455)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:d,onError:s,updateNodePositions:f,nodeLookup:u,nodeOrigin:h}=n.getState(),b=new Map,v=a1(d),g=i?a[0]:5,w=i?a[1]:5,M=o[x(2048)].x*g*o[x(750)],m=o[x(2048)].y*w*o.factor;for(const[,y]of u){if(!v(y))continue;let z={x:y[x(588)].positionAbsolute.x+M,y:y[x(588)][x(655)].y+m};i&&(z=t0(z,a));const{position:p,positionAbsolute:N}=Ri({nodeId:y.id,nextPosition:z,nodeLookup:u,nodeExtent:r,nodeOrigin:h,onError:s});y.position=p,y[x(588)].positionAbsolute=N,b[x(1016)](y.id,y)}f(b)},[])}const Io=B.createContext(null),s1=Io.Provider;Io[c(1430)];const us=()=>B.useContext(Io),c1=e=>({connectOnClick:e[c(873)],noPanClassName:e.noPanClassName,rfId:e[c(337)]}),l1=(e,n,t)=>o=>{const x=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=o,{fromHandle:d,toHandle:s,isValid:f}=a,u=s?.[x(424)]===e&&s?.id===n&&s?.[x(478)]===t;return{connectingFrom:d?.[x(424)]===e&&d?.id===n&&d?.[x(478)]===t,connectingTo:u,clickConnecting:r?.[x(424)]===e&&r?.id===n&&r?.type===t,isPossibleEndHandle:i===vt[x(682)]?d?.[x(478)]!==t:e!==d?.nodeId||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:u&&f}};function d1({type:e="source",position:n=pe[c(422)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:d,className:s,onMouseDown:f,onTouchStart:u,...h},b){const v=c,g=i||null,w=e==="target",M=Ye(),m=us(),{connectOnClick:y,noPanClassName:z,rfId:p}=ke(c1,Ee),{connectingFrom:N,connectingTo:O,clickConnecting:G,isPossibleEndHandle:T,connectionInProcess:j,clickConnectionInProcess:q,valid:V}=ke(l1(m,g,e),Ee);!m&&M.getState()[v(1519)]?.("010",sn.error010());const W=L=>{const D=v,{defaultEdgeOptions:E,onConnect:U,hasDefaultEdges:k}=M[D(308)](),R={...E,...L};if(k){const{edges:$,setEdges:ee}=M[D(308)]();ee(fa(R,$))}U?.(R),a?.(R)},H=L=>{const D=v;if(!m)return;const E=ia(L[D(1583)]);if(x&&(E&&L[D(1266)]===0||!E)){const U=M[D(308)]();vo[D(665)](L.nativeEvent,{handleDomNode:L[D(1423)],autoPanOnConnect:U[D(1224)],connectionMode:U[D(1110)],connectionRadius:U[D(633)],domNode:U[D(1626)],nodeLookup:U[D(643)],lib:U[D(1325)],isTarget:w,handleId:g,nodeId:m,flowId:U[D(337)],panBy:U[D(2099)],cancelConnection:U[D(372)],onConnectStart:U[D(1881)],onConnectEnd:(...k)=>M.getState().onConnectEnd?.(...k),updateConnection:U[D(1624)],onConnect:W,isValidConnection:t||((...k)=>M[D(308)]()[D(763)]?.(...k)??!0),getTransform:()=>M[D(308)]()[D(1696)],getFromHandle:()=>M[D(308)]().connection[D(551)],autoPanSpeed:U[D(383)],dragThreshold:U[D(912)]})}E?f?.(L):u?.(L)},S=L=>{const D=v,{onClickConnectStart:E,onClickConnectEnd:U,connectionClickStartHandle:k,connectionMode:R,isValidConnection:$,lib:ee,rfId:xe,nodeLookup:re,connection:ie}=M.getState();if(!m||!k&&!x)return;if(!k){E?.(L[D(1583)],{nodeId:m,handleId:g,handleType:e}),M.setState({connectionClickStartHandle:{nodeId:m,type:e,id:g}});return}const fe=oa(L[D(1274)]),ye=t||$,{connection:ce,isValid:J}=vo.isValid(L[D(1583)],{handle:{nodeId:m,id:g,type:e},connectionMode:R,fromNodeId:k.nodeId,fromHandleId:k.id||null,fromType:k.type,isValidConnection:ye,flowId:xe,doc:fe,lib:ee,nodeLookup:re});J&&ce&&W(ce);const le=structuredClone(ie);delete le[D(279)],le[D(800)]=le.toHandle?le[D(1119)][D(2046)]:null,U?.(L,le),M[D(2029)]({connectionClickStartHandle:null})};return l[v(886)](v(866),{"data-handleid":g,"data-nodeid":m,"data-handlepos":n,"data-id":p+"-"+m+"-"+g+"-"+e,className:Te([v(1206),v(1020)+n,v(1178),z,s,{source:!w,target:w,connectable:o,connectablestart:x,connectableend:r,clickconnecting:G,connectingfrom:N,connectingto:O,valid:V,connectionindicator:o&&(!j||T)&&(j||q?r:x)}]),onMouseDown:H,onTouchStart:H,onClick:y?S:void 0,ref:b,...h,children:d})}const St=B.memo(as(d1));function f1({data:e,isConnectable:n,sourcePosition:t=pe[c(251)]}){const o=c;return l[o(1669)](l[o(1338)],{children:[e?.[o(531)],l.jsx(St,{type:"source",position:t,isConnectable:n})]})}function u1({data:e,isConnectable:n,targetPosition:t=pe.Top,sourcePosition:o=pe.Bottom}){const x=c;return l.jsxs(l[x(1338)],{children:[l[x(886)](St,{type:x(1274),position:t,isConnectable:n}),e?.label,l[x(886)](St,{type:x(1269),position:o,isConnectable:n})]})}function h1(){return null}function g1({data:e,isConnectable:n,targetPosition:t=pe.Top}){const o=c;return l[o(1669)](l[o(1338)],{children:[l[o(886)](St,{type:"target",position:t,isConnectable:n}),e?.[o(531)]]})}const sx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},hs={input:f1,default:u1,output:g1,group:h1};function b1(e){const n=c;return e[n(588)].handleBounds===void 0?{width:e[n(419)]??e[n(1618)]??e.style?.[n(419)],height:e[n(691)]??e.initialHeight??e.style?.height}:{width:e[n(419)]??e.style?.width,height:e[n(691)]??e[n(962)]?.[n(691)]}}const y1=e=>{const n=c,{width:t,height:o,x,y:r}=e0(e[n(643)],{filter:i=>!!i[n(394)]});return{width:yn(t)?t:null,height:yn(o)?o:null,userSelectionActive:e[n(1011)],transformString:n(1170)+e.transform[0]+n(1062)+e[n(1696)][1]+n(1268)+e[n(1696)][2]+n(1937)+x+"px,"+r+n(1627)}};function m1({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=c,x=Ye(),{width:r,height:i,transformString:a,userSelectionActive:d}=ke(y1,Ee),s=fs(),f=B[o(1100)](null);B[o(1753)](()=>{!t&&f[o(405)]?.focus({preventScroll:!0})},[t]);const u=!d&&r!==null&&i!==null;if(ds({nodeRef:f,disabled:!u}),!u)return null;const h=e?v=>{const g=o,w=x[g(308)]()[g(448)][g(416)](M=>M[g(394)]);e(v,w)}:void 0,b=v=>{const g=o;Object[g(1389)].hasOwnProperty.call(sx,v.key)&&(v[g(310)](),s({direction:sx[v[g(301)]],factor:v[g(1815)]?4:1}))};return l[o(886)]("div",{className:Te([o(542),o(648),n]),style:{transform:a},children:l[o(886)](o(866),{ref:f,className:"react-flow__nodesselection-rect",onContextMenu:h,tabIndex:t?void 0:-1,onKeyDown:t?void 0:b,style:{width:r,height:i}})})}const gs=typeof window<"u"?window:void 0,w1=e=>{const n=c;return{nodesSelectionActive:e[n(610)],userSelectionActive:e[n(1011)]}};function bs({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:f,selectionMode:u,onSelectionStart:h,onSelectionEnd:b,multiSelectionKeyCode:v,panActivationKeyCode:g,zoomActivationKeyCode:w,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:z,panOnScrollSpeed:p,panOnScrollMode:N,zoomOnDoubleClick:O,panOnDrag:G,defaultViewport:T,translateExtent:j,minZoom:q,maxZoom:V,preventScrolling:W,onSelectionContextMenu:H,noWheelClassName:S,noPanClassName:L,disableKeyboardA11y:D,onViewportChange:E,isControlledViewport:U}){const k=c,{nodesSelectionActive:R,userSelectionActive:$}=ke(w1,Ee),ee=i0(s,{target:gs}),xe=i0(g,{target:gs}),re=xe||G,ie=xe||z,fe=f&&re!==!0,ye=ee||$||fe;return $2({deleteKeyCode:d,multiSelectionKeyCode:v}),l[k(886)](t1,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:ie,panOnScrollSpeed:p,panOnScrollMode:N,zoomOnDoubleClick:O,panOnDrag:!ee&&re,defaultViewport:T,translateExtent:j,minZoom:q,maxZoom:V,zoomActivationKeyCode:w,preventScrolling:W,noWheelClassName:S,noPanClassName:L,onViewportChange:E,isControlledViewport:U,paneClickDistance:a,selectionOnDrag:fe,children:l[k(1669)](i1,{onSelectionStart:h,onSelectionEnd:b,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:re,isSelecting:!!ye,selectionMode:u,selectionKeyPressed:ee,paneClickDistance:a,selectionOnDrag:fe,children:[e,R&&l[k(886)](m1,{onSelectionContextMenu:H,noPanClassName:L,disableKeyboardA11y:D})]})})}bs[c(501)]=c(1216);const v1=B.memo(bs),p1=e=>n=>{const t=c;return e?io(n[t(643)],{x:0,y:0,width:n[t(419)],height:n[t(691)]},n.transform,!0)[t(1549)](o=>o.id):Array[t(1230)](n[t(643)].keys())};function z1(e){return ke(B[c(1455)](p1(e),[e]),Ee)}const C1=e=>e[c(1989)];function M1(){const e=c,n=ke(C1),[t]=B[e(1704)](()=>typeof ResizeObserver>"u"?null:new ResizeObserver(o=>{const x=_0x4d07,r=new Map;o[x(1777)](i=>{const a=x,d=i.target.getAttribute("data-id");r[a(1016)](d,{id:d,nodeElement:i[a(1274)],force:!0})}),n(r)}));return B[e(1753)](()=>()=>{t?.[_0x4d07(1764)]()},[t]),t}function B1({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=c,r=Ye(),i=B[x(1100)](null),a=B.useRef(null),d=B[x(1100)](e[x(759)]),s=B.useRef(e[x(1928)]),f=B[x(1100)](n),u=t&&!!e.internals.handleBounds;return B[x(1753)](()=>{const h=x;i[h(405)]&&!e[h(1942)]&&(!u||a[h(405)]!==i[h(405)])&&(a[h(405)]&&o?.[h(1570)](a[h(405)]),o?.[h(989)](i[h(405)]),a[h(405)]=i[h(405)])},[u,e.hidden]),B[x(1753)](()=>()=>{const h=_0x4d07;a[h(405)]&&(o?.[h(1570)](a[h(405)]),a.current=null)},[]),B.useEffect(()=>{const h=x;if(i[h(405)]){const b=f[h(405)]!==n,v=d[h(405)]!==e.sourcePosition,g=s[h(405)]!==e[h(1928)];(b||v||g)&&(f.current=n,d[h(405)]=e[h(759)],s[h(405)]=e[h(1928)],r[h(308)]()[h(1989)](new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,n,e.sourcePosition,e[x(1928)]]),i}function D1({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:d,nodesConnectable:s,nodesFocusable:f,resizeObserver:u,noDragClassName:h,noPanClassName:b,disableKeyboardA11y:v,rfId:g,nodeTypes:w,nodeClickDistance:M,onError:m}){const y=c,{node:z,internals:p,isParent:N}=ke(ce=>{const J=_0x4d07,le=ce.nodeLookup[J(946)](e),ue=ce[J(727)][J(1807)](e);return{node:le,internals:le[J(588)],isParent:ue}},Ee);let O=z[y(478)]||y(549),G=w?.[O]||hs[O];G===void 0&&(m?.(y(1504),sn[y(1870)](O)),O=y(549),G=w?.default||hs[y(549)]);const T=!!(z[y(1826)]||a&&typeof z[y(1826)]>"u"),j=!!(z.selectable||d&&typeof z.selectable===y(1397)),q=!!(z[y(836)]||s&&typeof z[y(836)]>"u"),V=!!(z.focusable||f&&typeof z[y(631)]>"u"),W=Ye(),H=na(z),S=B1({node:z,nodeType:O,hasDimensions:H,resizeObserver:u}),L=ds({nodeRef:S,disabled:z[y(1942)]||!T,noDragClassName:h,handleSelector:z[y(581)],nodeId:e,isSelectable:j,nodeClickDistance:M}),D=fs();if(z.hidden)return null;const E=An(z),U=b1(z),k=j||T||n||t||o||x,R=t?ce=>t(ce,{...p[y(1272)]}):void 0,$=o?ce=>o(ce,{...p[y(1272)]}):void 0,ee=x?ce=>x(ce,{...p[y(1272)]}):void 0,xe=r?ce=>r(ce,{...p[y(1272)]}):void 0,re=i?ce=>i(ce,{...p.userNode}):void 0,ie=ce=>{const{selectNodesOnDrag:J,nodeDragThreshold:le}=W.getState();j&&(!J||!T||le>0)&&ko({id:e,store:W,nodeRef:S}),n&&n(ce,{...p.userNode})},fe=ce=>{const J=y;if(!(ra(ce[J(1583)])||v)){if(Ti.includes(ce.key)&&j){const le=ce[J(301)]===J(1138);ko({id:e,store:W,unselect:le,nodeRef:S})}else if(T&&z[J(394)]&&Object[J(1389)][J(534)][J(1241)](sx,ce[J(301)])){ce[J(310)]();const{ariaLabelConfig:le}=W[J(308)]();W[J(2029)]({ariaLiveMessage:le[J(1789)]({direction:ce.key[J(974)](J(345),"")[J(537)](),x:~~p[J(655)].x,y:~~p[J(655)].y})}),D({direction:sx[ce[J(301)]],factor:ce[J(1815)]?4:1})}}},ye=()=>{const ce=y;if(v||!S[ce(405)]?.[ce(1233)](ce(751)))return;const{transform:J,width:le,height:ue,autoPanOnNodeFocus:Y,setCenter:I}=W[ce(308)]();if(!Y)return;!(io(new Map([[e,z]]),{x:0,y:0,width:le,height:ue},J,!0)[ce(1361)]>0)&&I(z[ce(2046)].x+E[ce(419)]/2,z[ce(2046)].y+E.height/2,{zoom:J[2]})};return l[y(886)](y(866),{className:Te([y(1531),y(1013)+O,{[b]:T},z[y(1501)],{selected:z.selected,selectable:j,parent:N,draggable:T,dragging:L}]),ref:S,style:{zIndex:p.z,transform:y(1170)+p.positionAbsolute.x+y(1062)+p.positionAbsolute.y+"px)",pointerEvents:y(k?905:1185),visibility:y(H?481:1942),...z.style,...U},"data-id":e,"data-testid":"rf__node-"+e,onMouseEnter:R,onMouseMove:$,onMouseLeave:ee,onContextMenu:xe,onClick:ie,onDoubleClick:re,onKeyDown:V?fe:void 0,tabIndex:V?0:void 0,onFocus:V?ye:void 0,role:z[y(502)]??(V?"group":void 0),"aria-roledescription":y(784),"aria-describedby":v?void 0:Ka+"-"+g,"aria-label":z[y(1581)],...z.domAttributes,children:l.jsx(s1,{value:e,children:l[y(886)](G,{id:e,data:z[y(1467)],type:O,positionAbsoluteX:p.positionAbsolute.x,positionAbsoluteY:p[y(655)].y,selected:z[y(394)]??!1,selectable:j,draggable:T,deletable:z[y(1262)]??!0,isConnectable:q,sourcePosition:z.sourcePosition,targetPosition:z[y(1928)],dragging:L,dragHandle:z[y(581)],zIndex:p.z,parentId:z.parentId,...E})})})}var L1=B[c(1116)](D1);const S1=e=>({nodesDraggable:e[c(427)],nodesConnectable:e[c(1892)],nodesFocusable:e[c(1191)],elementsSelectable:e.elementsSelectable,onError:e.onError});function ys(e){const n=c,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=ke(S1,Ee),a=z1(e[n(768)]),d=M1();return l.jsx(n(866),{className:n(375),style:ax,children:a.map(s=>{const f=n;return l.jsx(L1,{id:s,nodeTypes:e[f(385)],nodeExtent:e[f(1388)],onClick:e[f(708)],onMouseEnter:e[f(925)],onMouseMove:e[f(1077)],onMouseLeave:e[f(1317)],onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,noDragClassName:e[f(1371)],noPanClassName:e[f(334)],rfId:e.rfId,disableKeyboardA11y:e[f(1123)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[f(638)],onError:i},s)})})}ys[c(501)]="NodeRenderer";const N1=B[c(1116)](ys);function k1(e){const n=c;return ke(B[n(1455)](o=>{const x=n;if(!e)return o[x(954)][x(1549)](i=>i.id);const r=[];if(o[x(419)]&&o[x(691)])for(const i of o.edges){const a=o[x(643)][x(946)](i[x(1269)]),d=o.nodeLookup[x(946)](i[x(1274)]);a&&d&&N5({sourceNode:a,targetNode:d,width:o[x(419)],height:o[x(691)],transform:o.transform})&&r.push(i.id)}return r},[e]),Ee)}const I1=({color:e="none",strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e}};return l[t(886)](t(919),{className:"arrow",style:o,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:t(796)})},P1=({color:e=c(1185),strokeWidth:n=1})=>{const t=c,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(886)](t(919),{className:t(734),style:o,strokeLinecap:"round",strokeLinejoin:t(1836),points:t(1684)})},ms={[R0[c(345)]]:I1,[R0[c(1229)]]:P1};function A1(e){const n=c,t=Ye();return B[n(1616)](()=>{const x=n;return Object[x(1389)][x(534)].call(ms,e)?ms[e]:(t[x(308)]().onError?.(x(1380),sn[x(311)](e)),null)},[e])}const j1=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r="strokeWidth",strokeWidth:i,orient:a=c(1239)})=>{const d=c,s=A1(n);return s?l.jsx(d(1018),{className:d(1364),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:d(868),markerUnits:r,orient:a,refX:"0",refY:"0",children:l[d(886)](s,{color:t,strokeWidth:i})}):null},ws=({defaultColor:e,rfId:n})=>{const t=c,o=ke(i=>i[t(954)]),x=ke(i=>i[t(1366)]),r=B[t(1616)](()=>{const i=t;return Y5(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(277)],defaultMarkerEnd:x?.[i(725)]})},[o,x,n,e]);return r[t(1361)]?l[t(886)](t(1712),{className:t(1734),"aria-hidden":t(1650),children:l[t(886)]("defs",{children:r[t(1549)](i=>l[t(886)](j1,{id:i.id,type:i[t(478)],color:i[t(2078)],width:i[t(419)],height:i[t(691)],markerUnits:i[t(1930)],strokeWidth:i[t(1368)],orient:i[t(603)]},i.id))})}):null};ws.displayName="MarkerDefinitions";var E1=B[c(1116)](ws);function vs({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:d,className:s,...f}){const u=c,[h,b]=B[u(1704)]({x:1,y:0,width:0,height:0}),v=Te([u(1995),s]),g=B.useRef(null);return B.useEffect(()=>{const w=u;if(g[w(405)]){const M=g[w(405)][w(985)]();b({x:M.x,y:M.y,width:M[w(419)],height:M[w(691)]})}},[t]),t?l[u(1669)]("g",{transform:u(1170)+(e-h.width/2)+" "+(n-h[u(691)]/2)+")",className:v,visibility:h[u(419)]?"visible":u(1942),...f,children:[x&&l[u(886)](u(353),{width:h.width+2*i[0],x:-i[0],y:-i[1],height:h[u(691)]+2*i[1],className:u(1756),style:r,rx:a,ry:a}),l[u(886)](u(2008),{className:u(295),y:h.height/2,dy:u(453),ref:g,style:o,children:t}),d]}):null}vs[c(501)]=c(1198);const Y1=B[c(1116)](vs);function cx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d,interactionWidth:s=20,...f}){const u=c;return l[u(1669)](l[u(1338)],{children:[l.jsx(u(2067),{...f,d:e,fill:u(1185),className:Te([u(567),f[u(1501)]])}),s?l[u(886)](u(2067),{d:e,fill:"none",strokeOpacity:0,strokeWidth:s,className:u(1159)}):null,o&&yn(n)&&yn(t)?l[u(886)](Y1,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d}):null]})}function ps({pos:e,x1:n,y1:t,x2:o,y2:x}){const r=c;return e===pe[r(1523)]||e===pe[r(2032)]?[.5*(n+o),t]:[n,.5*(t+x)]}function zs({sourceX:e,sourceY:n,sourcePosition:t=pe.Bottom,targetX:o,targetY:x,targetPosition:r=pe[c(422)]}){const[i,a]=ps({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,s]=ps({pos:r,x1:o,y1:x,x2:e,y2:n}),[f,u,h,b]=sa({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:a,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+a+" "+d+","+s+" "+o+","+x,f,u,h,b]}function Cs(e){const n=c;return B[n(1116)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:h,labelBgPadding:b,labelBgBorderRadius:v,style:g,markerEnd:w,markerStart:M,interactionWidth:m})=>{const y=n,[z,p,N]=zs({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:d}),O=e[y(1608)]?void 0:t;return l.jsx(cx,{id:O,path:z,labelX:p,labelY:N,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:h,labelBgPadding:b,labelBgBorderRadius:v,style:g,markerEnd:w,markerStart:M,interactionWidth:m})})}const U1=Cs({isInternal:!1}),Ms=Cs({isInternal:!0});U1[c(501)]=c(832),Ms.displayName=c(571);function Bs(e){const n=c;return B[n(1116)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:h,style:b,sourcePosition:v=pe[n(251)],targetPosition:g=pe[n(422)],markerEnd:w,markerStart:M,pathOptions:m,interactionWidth:y})=>{const z=n,[p,N,O]=lo({sourceX:o,sourceY:x,sourcePosition:v,targetX:r,targetY:i,targetPosition:g,borderRadius:m?.borderRadius,offset:m?.[z(1345)],stepPosition:m?.stepPosition}),G=e[z(1608)]?void 0:t;return l[z(886)](cx,{id:G,path:p,labelX:N,labelY:O,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:h,style:b,markerEnd:w,markerStart:M,interactionWidth:y})})}const Ds=Bs({isInternal:!1}),Ls=Bs({isInternal:!0});Ds[c(501)]=c(1085),Ls[c(501)]="SmoothStepEdgeInternal";function Ss(e){const n=c;return B[n(1116)](({id:t,...o})=>{const x=n,r=e[x(1608)]?void 0:t;return l.jsx(Ds,{...o,id:r,pathOptions:B[x(1616)](()=>({borderRadius:0,offset:o.pathOptions?.[x(1345)]}),[o[x(1895)]?.[x(1345)]])})})}const G1=Ss({isInternal:!1}),Ns=Ss({isInternal:!0});G1.displayName="StepEdge",Ns[c(501)]=c(1250);function ks(e){const n=c;return B[n(1116)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:h,style:b,markerEnd:v,markerStart:g,interactionWidth:w})=>{const M=n,[m,y,z]=ua({sourceX:o,sourceY:x,targetX:r,targetY:i}),p=e[M(1608)]?void 0:t;return l.jsx(cx,{id:p,path:m,labelX:y,labelY:z,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:h,style:b,markerEnd:v,markerStart:g,interactionWidth:w})})}const O1=ks({isInternal:!1}),Is=ks({isInternal:!0});O1.displayName=c(1063),Is[c(501)]="StraightEdgeInternal";function Ps(e){const n=c;return B[n(1116)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a=pe[n(251)],targetPosition:d=pe[n(422)],label:s,labelStyle:f,labelShowBg:u,labelBgStyle:h,labelBgPadding:b,labelBgBorderRadius:v,style:g,markerEnd:w,markerStart:M,pathOptions:m,interactionWidth:y})=>{const z=n,[p,N,O]=la({sourceX:o,sourceY:x,sourcePosition:a,targetX:r,targetY:i,targetPosition:d,curvature:m?.curvature}),G=e[z(1608)]?void 0:t;return l.jsx(cx,{id:G,path:p,labelX:N,labelY:O,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:h,labelBgPadding:b,labelBgBorderRadius:v,style:g,markerEnd:w,markerStart:M,interactionWidth:y})})}const H1=Ps({isInternal:!1}),As=Ps({isInternal:!0});H1[c(501)]=c(1044),As[c(501)]=c(726);const js={default:As,straight:Is,step:Ns,smoothstep:Ls,simplebezier:Ms},Es={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},V1=(e,n,t)=>t===pe[c(1523)]?e-n:t===pe.Right?e+n:e,T1=(e,n,t)=>{const o=c;return t===pe[o(422)]?e-n:t===pe[o(251)]?e+n:e},Ys=c(555);function Us({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:a}){const d=c;return l[d(886)]("circle",{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Te([Ys,Ys+"-"+a]),cx:V1(n,o,e),cy:T1(t,o,e),r:o,stroke:d(1634),fill:d(1634)})}function q1({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,onReconnect:s,onReconnectStart:f,onReconnectEnd:u,setReconnecting:h,setUpdateHover:b}){const v=c,g=Ye(),w=(p,N)=>{const O=_0x4d07;if(p[O(1266)]!==0)return;const{autoPanOnConnect:G,domNode:T,connectionMode:j,connectionRadius:q,lib:V,onConnectStart:W,cancelConnection:H,nodeLookup:S,rfId:L,panBy:D,updateConnection:E}=g[O(308)](),U=N.type==="target",k=(ee,xe)=>{h(!1),u?.(ee,t,N.type,xe)},R=ee=>s?.(t,ee),$=(ee,xe)=>{const re=O;h(!0),f?.(p,t,N[re(478)]),W?.(ee,xe)};vo.onPointerDown(p[O(1583)],{autoPanOnConnect:G,connectionMode:j,connectionRadius:q,domNode:T,handleId:N.id,nodeId:N[O(424)],nodeLookup:S,isTarget:U,edgeUpdaterType:N[O(478)],lib:V,flowId:L,cancelConnection:H,panBy:D,isValidConnection:(...ee)=>g.getState()[O(763)]?.(...ee)??!0,onConnect:R,onConnectStart:$,onConnectEnd:(...ee)=>g[O(308)]()[O(1715)]?.(...ee),onReconnectEnd:k,updateConnection:E,getTransform:()=>g.getState()[O(1696)],getFromHandle:()=>g[O(308)]().connection[O(551)],dragThreshold:g[O(308)]().connectionDragThreshold,handleDomNode:p[O(1423)]})},M=p=>w(p,{nodeId:t.target,id:t[v(2014)]??null,type:v(1274)}),m=p=>w(p,{nodeId:t[v(1269)],id:t[v(319)]??null,type:v(1269)}),y=()=>b(!0),z=()=>b(!1);return l[v(1669)](l[v(1338)],{children:[(e===!0||e===v(1269))&&l[v(886)](Us,{position:a,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:y,onMouseOut:z,type:v(1269)}),(e===!0||e===v(1274))&&l[v(886)](Us,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:m,onMouseEnter:y,onMouseOut:z,type:"target"})]})}function W1({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,reconnectRadius:f,onReconnect:u,onReconnectStart:h,onReconnectEnd:b,rfId:v,edgeTypes:g,noPanClassName:w,onError:M,disableKeyboardA11y:m}){const y=c;let z=ke(Y=>Y[y(947)][y(946)](e));const p=ke(Y=>Y.defaultEdgeOptions);z=p?{...p,...z}:z;let N=z[y(478)]||y(549),O=g?.[N]||js[N];O===void 0&&(M?.(y(1797),sn[y(1394)](N)),N=y(549),O=g?.[y(549)]||js[y(549)]);const G=!!(z[y(631)]||n&&typeof z[y(631)]===y(1397)),T=typeof u!==y(1397)&&(z[y(1101)]||t&&typeof z[y(1101)]>"u"),j=!!(z[y(2098)]||o&&typeof z.selectable===y(1397)),q=B[y(1100)](null),[V,W]=B[y(1704)](!1),[H,S]=B[y(1704)](!1),L=Ye(),{zIndex:D,sourceX:E,sourceY:U,targetX:k,targetY:R,sourcePosition:$,targetPosition:ee}=ke(B.useCallback(Y=>{const I=y,Z=Y[I(643)][I(946)](z[I(1269)]),ne=Y[I(643)].get(z[I(1274)]);if(!Z||!ne)return{zIndex:z[I(1496)],...Es};const te=E5({id:e,sourceNode:Z,targetNode:ne,sourceHandle:z[I(319)]||null,targetHandle:z[I(2014)]||null,connectionMode:Y.connectionMode,onError:M});return{zIndex:S5({selected:z[I(394)],zIndex:z[I(1496)],sourceNode:Z,targetNode:ne,elevateOnSelect:Y[I(373)],zIndexMode:Y.zIndexMode}),...te||Es}},[z.source,z[y(1274)],z[y(319)],z[y(2014)],z[y(394)],z[y(1496)]]),Ee),xe=B[y(1616)](()=>z[y(277)]?"url('#"+fo(z[y(277)],v)+"')":void 0,[z[y(277)],v]),re=B.useMemo(()=>z.markerEnd?y(749)+fo(z[y(725)],v)+"')":void 0,[z[y(725)],v]);if(z[y(1942)]||E===null||U===null||k===null||R===null)return null;const ie=Y=>{const I=y,{addSelectedEdges:Z,unselectNodesAndEdges:ne,multiSelectionActive:te}=L.getState();j&&(L[I(2029)]({nodesSelectionActive:!1}),z.selected&&te?(ne({nodes:[],edges:[z]}),q[I(405)]?.blur()):Z([e])),x&&x(Y,z)},fe=r?Y=>{r(Y,{...z})}:void 0,ye=i?Y=>{i(Y,{...z})}:void 0,ce=a?Y=>{a(Y,{...z})}:void 0,J=d?Y=>{d(Y,{...z})}:void 0,le=s?Y=>{s(Y,{...z})}:void 0,ue=Y=>{const I=y;if(!m&&Ti[I(1483)](Y[I(301)])&&j){const{unselectNodesAndEdges:Z,addSelectedEdges:ne}=L[I(308)]();Y.key===I(1138)?(q.current?.[I(1560)](),Z({edges:[z]})):ne([e])}};return l[y(886)](y(1712),{style:{zIndex:D},children:l.jsxs("g",{className:Te(["react-flow__edge",y(1449)+N,z[y(1501)],w,{selected:z.selected,animated:z[y(1799)],inactive:!j&&!x,updating:V,selectable:j}]),onClick:ie,onDoubleClick:fe,onContextMenu:ye,onMouseEnter:ce,onMouseMove:J,onMouseLeave:le,onKeyDown:G?ue:void 0,tabIndex:G?0:void 0,role:z[y(502)]??y(G?351:1161),"aria-roledescription":y(1439),"data-id":e,"data-testid":y(1902)+e,"aria-label":z[y(1581)]===null?void 0:z.ariaLabel||y(772)+z[y(1269)]+" to "+z[y(1274)],"aria-describedby":G?Za+"-"+v:void 0,ref:q,...z.domAttributes,children:[!H&&l[y(886)](O,{id:e,source:z[y(1269)],target:z[y(1274)],type:z.type,selected:z[y(394)],animated:z.animated,selectable:j,deletable:z[y(1262)]??!0,label:z.label,labelStyle:z[y(1351)],labelShowBg:z[y(1225)],labelBgStyle:z[y(715)],labelBgPadding:z[y(1964)],labelBgBorderRadius:z[y(1117)],sourceX:E,sourceY:U,targetX:k,targetY:R,sourcePosition:$,targetPosition:ee,data:z.data,style:z[y(962)],sourceHandleId:z[y(319)],targetHandleId:z.targetHandle,markerStart:xe,markerEnd:re,pathOptions:"pathOptions"in z?z[y(1895)]:void 0,interactionWidth:z[y(675)]}),T&&l[y(886)](q1,{edge:z,isReconnectable:T,reconnectRadius:f,onReconnect:u,onReconnectStart:h,onReconnectEnd:b,sourceX:E,sourceY:U,targetX:k,targetY:R,sourcePosition:$,targetPosition:ee,setUpdateHover:W,setReconnecting:S})]})})}var X1=B.memo(W1);const K1=e=>({edgesFocusable:e[c(1919)],edgesReconnectable:e.edgesReconnectable,elementsSelectable:e.elementsSelectable,connectionMode:e[c(1110)],onError:e[c(1519)]});function Gs({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:f,reconnectRadius:u,onEdgeDoubleClick:h,onReconnectStart:b,onReconnectEnd:v,disableKeyboardA11y:g}){const w=c,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,onError:z}=ke(K1,Ee),p=k1(n);return l[w(1669)](w(866),{className:w(1723),children:[l[w(886)](E1,{defaultColor:e,rfId:t}),p[w(1549)](N=>l.jsx(X1,{id:N,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,onClick:f,reconnectRadius:u,onDoubleClick:h,onReconnectStart:b,onReconnectEnd:v,rfId:t,onError:z,edgeTypes:o,disableKeyboardA11y:g},N))]})}Gs.displayName="EdgeRenderer";const Z1=B[c(1116)](Gs),R1=e=>c(1170)+e.transform[0]+c(1062)+e[c(1696)][1]+c(1268)+e[c(1696)][2]+")";function J1({children:e}){const n=c,t=ke(R1);return l[n(886)](n(866),{className:n(1362),style:{transform:t},children:e})}function _1(e){const n=c,t=So(),o=B[n(1100)](!1);B[n(1753)](()=>{const x=n;!o[x(405)]&&t[x(2009)]&&e&&(setTimeout(()=>e(t),1),o.current=!0)},[e,t[n(2009)]])}const Q1=e=>e.panZoom?.[c(888)];function F1(e){const n=ke(Q1),t=Ye();return B.useEffect(()=>{const o=_0x4d07;e&&(n?.(e),t.setState({transform:[e.x,e.y,e[o(896)]]}))},[e,n]),null}function $1(e){const n=c;return e[n(1963)][n(279)]?{...e[n(1963)],to:x0(e.connection.to,e[n(1696)])}:{...e[n(1963)]}}function e3(e){return $1}function n3(e){const n=e3();return ke(n,Ee)}const t3=e=>({nodesConnectable:e[c(1892)],isValid:e.connection[c(704)],inProgress:e.connection[c(279)],width:e[c(419)],height:e.height});function x3({containerStyle:e,style:n,type:t,component:o}){const x=c,{nodesConnectable:r,width:i,height:a,isValid:d,inProgress:s}=ke(t3,Ee);return!(i&&r&&s)?null:l[x(886)](x(1712),{style:e,width:i,height:a,className:x(1594),children:l[x(886)]("g",{className:Te([x(2e3),Ki(d)]),children:l[x(886)](Os,{style:n,type:t,CustomComponent:o,isValid:d})})})}const Os=({style:e,type:n=On[c(2049)],CustomComponent:t,isValid:o})=>{const x=c,{inProgress:r,from:i,fromNode:a,fromHandle:d,fromPosition:s,to:f,toNode:u,toHandle:h,toPosition:b,pointer:v}=n3();if(!r)return;if(t)return l[x(886)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:d,fromX:i.x,fromY:i.y,toX:f.x,toY:f.y,fromPosition:s,toPosition:b,connectionStatus:Ki(o),toNode:u,toHandle:h,pointer:v});let g="";const w={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:f.x,targetY:f.y,targetPosition:b};switch(n){case On[x(2049)]:[g]=la(w);break;case On[x(1740)]:[g]=zs(w);break;case On[x(270)]:[g]=lo({...w,borderRadius:0});break;case On[x(1572)]:[g]=lo(w);break;default:[g]=ua(w)}return l[x(886)]("path",{d:g,fill:x(1185),className:"react-flow__connection-path",style:e})};Os[c(501)]="ConnectionLine";const o3={};function Hs(e=o3){const n=c,t=B[n(1100)](e),o=Ye();B[n(1753)](()=>{const x=n;if(process.env.NODE_ENV===x(1236)){const r=new Set([...Object[x(897)](t.current),...Object[x(897)](e)]);for(const i of r)if(t[x(405)][i]!==e[i]){o[x(308)]()[x(1519)]?.(x(1126),sn[x(936)]());break}t[x(405)]=e}},[e])}function r3(){const e=c,n=Ye(),t=B[e(1100)](!1);B[e(1753)](()=>{const o=e;if(process.env.NODE_ENV===o(1236)&&!t.current){const x=document[o(1952)](o(753));x&&window[o(1702)](x)[o(1496)]!=="1"&&n[o(308)]()[o(1519)]?.("013",sn[o(1141)](o(1465))),t[o(405)]=!0}},[])}function Vs({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:f,onSelectionContextMenu:u,onSelectionStart:h,onSelectionEnd:b,connectionLineType:v,connectionLineStyle:g,connectionLineComponent:w,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:y,selectionMode:z,multiSelectionKeyCode:p,panActivationKeyCode:N,zoomActivationKeyCode:O,deleteKeyCode:G,onlyRenderVisibleElements:T,elementsSelectable:j,defaultViewport:q,translateExtent:V,minZoom:W,maxZoom:H,preventScrolling:S,defaultMarkerColor:L,zoomOnScroll:D,zoomOnPinch:E,panOnScroll:U,panOnScrollSpeed:k,panOnScrollMode:R,zoomOnDoubleClick:$,panOnDrag:ee,onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ie,onPaneMouseLeave:fe,onPaneScroll:ye,onPaneContextMenu:ce,paneClickDistance:J,nodeClickDistance:le,onEdgeContextMenu:ue,onEdgeMouseEnter:Y,onEdgeMouseMove:I,onEdgeMouseLeave:Z,reconnectRadius:ne,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,noDragClassName:me,noWheelClassName:ze,noPanClassName:Be,disableKeyboardA11y:Ie,nodeExtent:Ae,rfId:De,viewport:Le,onViewportChange:Ue}){const Pe=c;return Hs(e),Hs(n),r3(),_1(t),F1(Le),l[Pe(886)](v1,{onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ie,onPaneMouseLeave:fe,onPaneContextMenu:ce,onPaneScroll:ye,paneClickDistance:J,deleteKeyCode:G,selectionKeyCode:m,selectionOnDrag:y,selectionMode:z,onSelectionStart:h,onSelectionEnd:b,multiSelectionKeyCode:p,panActivationKeyCode:N,zoomActivationKeyCode:O,elementsSelectable:j,zoomOnScroll:D,zoomOnPinch:E,zoomOnDoubleClick:$,panOnScroll:U,panOnScrollSpeed:k,panOnScrollMode:R,panOnDrag:ee,defaultViewport:q,translateExtent:V,minZoom:W,maxZoom:H,onSelectionContextMenu:u,preventScrolling:S,noDragClassName:me,noWheelClassName:ze,noPanClassName:Be,disableKeyboardA11y:Ie,onViewportChange:Ue,isControlledViewport:!!Le,children:l.jsxs(J1,{children:[l[Pe(886)](Z1,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,onlyRenderVisibleElements:T,onEdgeContextMenu:ue,onEdgeMouseEnter:Y,onEdgeMouseMove:I,onEdgeMouseLeave:Z,reconnectRadius:ne,defaultMarkerColor:L,noPanClassName:Be,disableKeyboardA11y:Ie,rfId:De}),l[Pe(886)](x3,{style:g,type:v,component:w,containerStyle:M}),l[Pe(886)](Pe(866),{className:Pe(604)}),l[Pe(886)](N1,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:f,nodeClickDistance:le,onlyRenderVisibleElements:T,noPanClassName:Be,noDragClassName:me,disableKeyboardA11y:Ie,nodeExtent:Ae,rfId:De}),l.jsx(Pe(866),{className:Pe(624)})]})})}Vs[c(501)]="GraphView";const i3=B[c(1116)](Vs),Ts=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d=.5,maxZoom:s=2,nodeOrigin:f,nodeExtent:u,zIndexMode:h="basic"}={})=>{const b=c,v=new Map,g=new Map,w=new Map,M=new Map,m=o??n??[],y=t??e??[],z=f??[0,0],p=u??Qt;za(w,M,m);const{nodesInitialized:N}=bo(y,v,g,{nodeOrigin:z,nodeExtent:p,zIndexMode:h});let O=[0,0,1];if(i&&x&&r){const G=e0(v,{filter:V=>!!((V[b(419)]||V[b(1618)])&&(V[b(691)]||V[b(755)]))}),{x:T,y:j,zoom:q}=so(G,x,r,d,s,a?.padding??.1);O=[T,j,q]}return{rfId:"1",width:x??0,height:r??0,transform:O,nodes:y,nodesInitialized:N,nodeLookup:v,parentLookup:g,edges:m,edgeLookup:M,connectionLookup:w,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:Qt,nodeExtent:p,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:vt[b(682)],domNode:null,paneDragging:!1,noPanClassName:b(1513),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:{...Wi},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:ea,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:b(1465),debug:!1,ariaLabelConfig:qi,zIndexMode:h,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},a3=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:f,nodeExtent:u,zIndexMode:h})=>D2((b,v)=>{async function g(){const w=_0x4d07,{nodeLookup:M,panZoom:m,fitViewOptions:y,fitViewResolver:z,width:p,height:N,minZoom:O,maxZoom:G}=v();m&&(await p5({nodes:M,width:p,height:N,panZoom:m,minZoom:O,maxZoom:G},y),z?.[w(1929)](!0),b({fitViewResolver:null}))}return{...Ts({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:f,nodeExtent:u,defaultNodes:t,defaultEdges:o,zIndexMode:h}),setNodes:w=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:y,elevateNodesOnSelect:z,fitViewQueued:p,zIndexMode:N,nodesSelectionActive:O}=v(),{nodesInitialized:G,hasSelectedNodes:T}=bo(w,M,m,{nodeOrigin:y,nodeExtent:u,elevateNodesOnSelect:z,checkEquality:!0,zIndexMode:N}),j=O&&T;p&&G?(g(),b({nodes:w,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:j})):b({nodes:w,nodesInitialized:G,nodesSelectionActive:j})},setEdges:w=>{const{connectionLookup:M,edgeLookup:m}=v();za(M,m,w),b({edges:w})},setDefaultNodesAndEdges:(w,M)=>{if(w){const{setNodes:m}=v();m(w),b({hasDefaultNodes:!0})}if(M){const{setEdges:m}=v();m(M),b({hasDefaultEdges:!0})}},updateNodeInternals:w=>{const M=_0x4d07,{triggerNodeChanges:m,nodeLookup:y,parentLookup:z,domNode:p,nodeOrigin:N,nodeExtent:O,debug:G,fitViewQueued:T,zIndexMode:j}=v(),{changes:q,updatedInternals:V}=q5(w,y,z,p,N,O,j);V&&(O5(y,z,{nodeOrigin:N,nodeExtent:O,zIndexMode:j}),T?(g(),b({fitViewQueued:!1,fitViewOptions:void 0})):b({}),q?.length>0&&(G&&console[M(1461)]("React Flow: trigger node changes",q),m?.(q)))},updateNodePositions:(w,M=!1)=>{const m=_0x4d07,y=[];let z=[];const{nodeLookup:p,triggerNodeChanges:N,connection:O,updateConnection:G,onNodesChangeMiddlewareMap:T}=v();for(const[j,q]of w){const V=p[m(946)](j),W=!!(V?.[m(450)]&&V?.[m(1433)]&&q?.[m(2046)]),H={id:j,type:m(2046),position:W?{x:Math[m(2036)](0,q[m(2046)].x),y:Math[m(2036)](0,q[m(2046)].y)}:q[m(2046)],dragging:M};if(V&&O[m(279)]&&O[m(1132)].id===V.id){const S=xt(V,O[m(551)],pe[m(1523)],!0);G({...O,from:S})}W&&V[m(1433)]&&y[m(1935)]({id:j,parentId:V[m(1433)],rect:{...q[m(588)][m(655)],width:q.measured.width??0,height:q[m(889)].height??0}}),z.push(H)}if(y.length>0){const{parentLookup:j,nodeOrigin:q}=v(),V=mo(y,p,j,q);z[m(1935)](...V)}for(const j of T[m(305)]())z=j(z);N(z)},triggerNodeChanges:w=>{const M=_0x4d07,{onNodesChange:m,setNodes:y,nodes:z,hasDefaultNodes:p,debug:N}=v();if(w?.[M(1361)]){if(p){const O=ts(w,z);y(O)}N&&console.log(M(1037),w),m?.(w)}},triggerEdgeChanges:w=>{const M=_0x4d07,{onEdgesChange:m,setEdges:y,edges:z,hasDefaultEdges:p,debug:N}=v();if(w?.[M(1361)]){if(p){const O=xs(w,z);y(O)}N&&console.log(M(322),w),m?.(w)}},addSelectedNodes:w=>{const M=_0x4d07,{multiSelectionActive:m,edgeLookup:y,nodeLookup:z,triggerNodeChanges:p,triggerEdgeChanges:N}=v();if(m){const O=w[M(1549)](G=>ot(G,!0));p(O);return}p(Lt(z,new Set([...w]),!0)),N(Lt(y))},addSelectedEdges:w=>{const M=_0x4d07,{multiSelectionActive:m,edgeLookup:y,nodeLookup:z,triggerNodeChanges:p,triggerEdgeChanges:N}=v();if(m){const O=w[M(1549)](G=>ot(G,!0));N(O);return}N(Lt(y,new Set([...w]))),p(Lt(z,new Set,!0))},unselectNodesAndEdges:({nodes:w,edges:M}={})=>{const m=_0x4d07,{edges:y,nodes:z,nodeLookup:p,triggerNodeChanges:N,triggerEdgeChanges:O}=v(),G=w||z,T=M||y,j=[];for(const V of G){if(!V[m(394)])continue;const W=p.get(V.id);W&&(W[m(394)]=!1),j.push(ot(V.id,!1))}const q=[];for(const V of T)V[m(394)]&&q[m(1935)](ot(V.id,!1));N(j),O(q)},setMinZoom:w=>{const{panZoom:M,maxZoom:m}=v();M?.setScaleExtent([w,m]),b({minZoom:w})},setMaxZoom:w=>{const{panZoom:M,minZoom:m}=v();M?.setScaleExtent([m,w]),b({maxZoom:w})},setTranslateExtent:w=>{const M=_0x4d07;v()[M(1005)]?.setTranslateExtent(w),b({translateExtent:w})},resetSelectedElements:()=>{const w=_0x4d07,{edges:M,nodes:m,triggerNodeChanges:y,triggerEdgeChanges:z,elementsSelectable:p}=v();if(!p)return;const N=m[w(1926)]((G,T)=>T.selected?[...G,ot(T.id,!1)]:G,[]),O=M[w(1926)]((G,T)=>T[w(394)]?[...G,ot(T.id,!1)]:G,[]);y(N),z(O)},setNodeExtent:w=>{const{nodes:M,nodeLookup:m,parentLookup:y,nodeOrigin:z,elevateNodesOnSelect:p,nodeExtent:N,zIndexMode:O}=v();w[0][0]===N[0][0]&&w[0][1]===N[0][1]&&w[1][0]===N[1][0]&&w[1][1]===N[1][1]||(bo(M,m,y,{nodeOrigin:z,nodeExtent:w,elevateNodesOnSelect:p,checkEquality:!1,zIndexMode:O}),b({nodeExtent:w}))},panBy:w=>{const{transform:M,width:m,height:y,panZoom:z,translateExtent:p}=v();return W5({delta:w,panZoom:z,transform:M,translateExtent:p,width:m,height:y})},setCenter:async(w,M,m)=>{const y=_0x4d07,{width:z,height:p,maxZoom:N,panZoom:O}=v();if(!O)return Promise[y(1929)](!1);const G=typeof m?.[y(896)]!==y(1397)?m[y(896)]:N;return await O[y(336)]({x:z/2-w*G,y:p/2-M*G,zoom:G},{duration:m?.duration,ease:m?.[y(616)],interpolate:m?.interpolate}),Promise[y(1929)](!0)},cancelConnection:()=>{b({connection:{...Wi}})},updateConnection:w=>{b({connection:w})},reset:()=>b({...Ts()})}},Object.is);function s3({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:d,fitView:s,nodeOrigin:f,nodeExtent:u,zIndexMode:h,children:b}){const v=c,[g]=B[v(1704)](()=>a3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:d,nodeOrigin:f,nodeExtent:u,zIndexMode:h}));return l[v(886)](L2,{value:g,children:l[v(886)](J2,{children:b})})}function c3({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:a,fitViewOptions:d,minZoom:s,maxZoom:f,nodeOrigin:u,nodeExtent:h,zIndexMode:b}){const v=c;return B[v(1891)](ox)?l[v(886)](l[v(1338)],{children:e}):l.jsx(s3,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:f,nodeOrigin:u,nodeExtent:h,zIndexMode:b,children:e})}const l3={width:c(1822),height:c(1822),overflow:"hidden",position:c(678),zIndex:0};function d3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:d,onInit:s,onMove:f,onMoveStart:u,onMoveEnd:h,onConnect:b,onConnectStart:v,onConnectEnd:g,onClickConnectStart:w,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:z,onNodeContextMenu:p,onNodeDoubleClick:N,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:T,onNodesDelete:j,onEdgesDelete:q,onDelete:V,onSelectionChange:W,onSelectionDragStart:H,onSelectionDrag:S,onSelectionDragStop:L,onSelectionContextMenu:D,onSelectionStart:E,onSelectionEnd:U,onBeforeDelete:k,connectionMode:R,connectionLineType:$=On[c(2049)],connectionLineStyle:ee,connectionLineComponent:xe,connectionLineContainerStyle:re,deleteKeyCode:ie=c(1973),selectionKeyCode:fe=c(968),selectionOnDrag:ye=!1,selectionMode:ce=Ft.Full,panActivationKeyCode:J=c(913),multiSelectionKeyCode:le=o0()?"Meta":c(1932),zoomActivationKeyCode:ue=o0()?"Meta":"Control",snapToGrid:Y,snapGrid:I,onlyRenderVisibleElements:Z=!1,selectNodesOnDrag:ne,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:me,nodeOrigin:ze=Ra,edgesFocusable:Be,edgesReconnectable:Ie,elementsSelectable:Ae=!0,defaultViewport:De=H2,minZoom:Le=.5,maxZoom:Ue=2,translateExtent:Pe=Qt,preventScrolling:Oe=!0,nodeExtent:He,defaultMarkerColor:Ze=c(1088),zoomOnScroll:dn=!0,zoomOnPinch:wn=!0,panOnScroll:Fe=!1,panOnScrollSpeed:nn=.5,panOnScrollMode:$e=nt[c(1374)],zoomOnDoubleClick:tn=!0,panOnDrag:cn=!0,onPaneClick:jn,onPaneMouseEnter:Wn,onPaneMouseMove:En,onPaneMouseLeave:qe,onPaneScroll:rt,onPaneContextMenu:Re,paneClickDistance:Dn=1,nodeClickDistance:vn=0,children:Nt,onReconnect:Ao,onReconnectStart:jo,onReconnectEnd:Eo,onEdgeContextMenu:Yo,onEdgeDoubleClick:Uo,onEdgeMouseEnter:Go,onEdgeMouseMove:Oo,onEdgeMouseLeave:ux,reconnectRadius:hx=10,onNodesChange:gx,onEdgesChange:bx,noDragClassName:yx="nodrag",noWheelClassName:a0=c(1288),noPanClassName:Xn=c(1513),fitView:Kn,fitViewOptions:mx,connectOnClick:Yn,attributionPosition:wx,proOptions:vx,defaultEdgeOptions:s0,elevateNodesOnSelect:Ho=!0,elevateEdgesOnSelect:c0=!1,disableKeyboardA11y:px=!1,autoPanOnConnect:Vo,autoPanOnNodeDrag:To,autoPanSpeed:zx,connectionRadius:Cx,isValidConnection:l0,onError:Mx,style:d0,id:P,nodeDragThreshold:A,connectionDragThreshold:_,viewport:Q,onViewportChange:se,width:K,height:F,colorMode:he="light",debug:we,onScroll:ge,ariaLabelConfig:ve,zIndexMode:Ce=c(1200),...Ne},We){const je=c,Je=P||"1",Ve=W2(he),ae=B[je(1455)](be=>{be[je(1423)].scrollTo({top:0,left:0,behavior:"instant"}),ge?.(be)},[ge]);return l[je(886)](je(866),{"data-testid":je(1334),...Ne,onScroll:ae,style:{...d0,...l3},ref:We,className:Te([je(1415),x,Ve]),id:P,role:je(1070),children:l.jsxs(c3,{nodes:e,edges:n,width:K,height:F,fitView:Kn,fitViewOptions:mx,minZoom:Le,maxZoom:Ue,nodeOrigin:ze,nodeExtent:He,zIndexMode:Ce,children:[l.jsx(q2,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:b,onConnectStart:v,onConnectEnd:g,onClickConnectStart:w,onClickConnectEnd:M,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:me,edgesFocusable:Be,edgesReconnectable:Ie,elementsSelectable:Ae,elevateNodesOnSelect:Ho,elevateEdgesOnSelect:c0,minZoom:Le,maxZoom:Ue,nodeExtent:He,onNodesChange:gx,onEdgesChange:bx,snapToGrid:Y,snapGrid:I,connectionMode:R,translateExtent:Pe,connectOnClick:Yn,defaultEdgeOptions:s0,fitView:Kn,fitViewOptions:mx,onNodesDelete:j,onEdgesDelete:q,onDelete:V,onNodeDragStart:O,onNodeDrag:G,onNodeDragStop:T,onSelectionDrag:S,onSelectionDragStart:H,onSelectionDragStop:L,onMove:f,onMoveStart:u,onMoveEnd:h,noPanClassName:Xn,nodeOrigin:ze,rfId:Je,autoPanOnConnect:Vo,autoPanOnNodeDrag:To,autoPanSpeed:zx,onError:Mx,connectionRadius:Cx,isValidConnection:l0,selectNodesOnDrag:ne,nodeDragThreshold:A,connectionDragThreshold:_,onBeforeDelete:k,debug:we,ariaLabelConfig:ve,zIndexMode:Ce}),l[je(886)](i3,{onInit:s,onNodeClick:a,onEdgeClick:d,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:z,onNodeContextMenu:p,onNodeDoubleClick:N,nodeTypes:r,edgeTypes:i,connectionLineType:$,connectionLineStyle:ee,connectionLineComponent:xe,connectionLineContainerStyle:re,selectionKeyCode:fe,selectionOnDrag:ye,selectionMode:ce,deleteKeyCode:ie,multiSelectionKeyCode:le,panActivationKeyCode:J,zoomActivationKeyCode:ue,onlyRenderVisibleElements:Z,defaultViewport:De,translateExtent:Pe,minZoom:Le,maxZoom:Ue,preventScrolling:Oe,zoomOnScroll:dn,zoomOnPinch:wn,zoomOnDoubleClick:tn,panOnScroll:Fe,panOnScrollSpeed:nn,panOnScrollMode:$e,panOnDrag:cn,onPaneClick:jn,onPaneMouseEnter:Wn,onPaneMouseMove:En,onPaneMouseLeave:qe,onPaneScroll:rt,onPaneContextMenu:Re,paneClickDistance:Dn,nodeClickDistance:vn,onSelectionContextMenu:D,onSelectionStart:E,onSelectionEnd:U,onReconnect:Ao,onReconnectStart:jo,onReconnectEnd:Eo,onEdgeContextMenu:Yo,onEdgeDoubleClick:Uo,onEdgeMouseEnter:Go,onEdgeMouseMove:Oo,onEdgeMouseLeave:ux,reconnectRadius:hx,defaultMarkerColor:Ze,noDragClassName:yx,noWheelClassName:a0,noPanClassName:Xn,rfId:Je,disableKeyboardA11y:px,nodeExtent:He,viewport:Q,onViewportChange:se}),l[je(886)](O2,{onSelectionChange:W}),Nt,l[je(886)](j2,{proOptions:vx,position:wx}),l[je(886)](A2,{rfId:Je,disableKeyboardA11y:px})]})})}var f3=as(d3);function u3(e){const n=c,[t,o]=B.useState(e),x=B[n(1455)](r=>o(i=>ts(r,i)),[]);return[t,o,x]}function h3(e){const n=c,[t,o]=B[n(1704)](e),x=B[n(1455)](r=>o(i=>xs(r,i)),[]);return[t,o,x]}function g3({dimensions:e,lineWidth:n,variant:t,className:o}){const x=c;return l[x(886)](x(2067),{strokeWidth:n,d:"M"+e[0]/2+" 0 V"+e[1]+" M0 "+e[1]/2+" H"+e[0],className:Te([x(703),t,o])})}function b3({radius:e,className:n}){const t=c;return l[t(886)](t(1231),{cx:e,cy:e,r:e,className:Te(["react-flow__background-pattern",t(1336),n])})}var Tn;(function(e){const n=c;e[n(1874)]=n(370),e.Dots="dots",e[n(332)]=n(858)})(Tn||(Tn={}));const y3={[Tn[c(429)]]:1,[Tn.Lines]:1,[Tn[c(332)]]:6},m3=e=>({transform:e[c(1696)],patternId:c(680)+e.rfId});function qs({id:e,variant:n=Tn[c(429)],gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:a,style:d,className:s,patternClassName:f}){const u=c,h=B[u(1100)](null),{transform:b,patternId:v}=ke(m3,Ee),g=o||y3[n],w=n===Tn.Dots,M=n===Tn[u(332)],m=Array.isArray(t)?t:[t,t],y=[m[0]*b[2]||1,m[1]*b[2]||1],z=g*b[2],p=Array[u(862)](r)?r:[r,r],N=M?[z,z]:y,O=[p[0]*b[2]||1+N[0]/2,p[1]*b[2]||1+N[1]/2],G=""+v+(e||"");return l[u(1669)](u(1712),{className:Te([u(1029),s]),style:{...d,...ax,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:h,"data-testid":u(457),children:[l[u(886)](u(1659),{id:G,x:b[0]%y[0],y:b[1]%y[1],width:y[0],height:y[1],patternUnits:u(1171),patternTransform:u(754)+O[0]+",-"+O[1]+")",children:w?l.jsx(b3,{radius:z/2,className:f}):l.jsx(g3,{dimensions:N,lineWidth:x,variant:n,className:f})}),l[u(886)](u(353),{x:"0",y:"0",width:u(1822),height:"100%",fill:u(671)+G+")"})]})}qs[c(501)]=c(1720);const w3=B.memo(qs);function v3(){const e=c;return l[e(886)](e(1712),{xmlns:e(491),viewBox:e(296),children:l[e(886)](e(2067),{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function p3(){const e=c;return l.jsx(e(1712),{xmlns:e(491),viewBox:e(2065),children:l.jsx("path",{d:e(474)})})}function z3(){const e=c;return l.jsx(e(1712),{xmlns:e(491),viewBox:e(297),children:l[e(886)](e(2067),{d:e(1530)})})}function C3(){const e=c;return l[e(886)](e(1712),{xmlns:e(491),viewBox:"0 0 25 32",children:l[e(886)](e(2067),{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function M3(){const e=c;return l[e(886)]("svg",{xmlns:e(491),viewBox:e(778),children:l[e(886)]("path",{d:e(1690)})})}function lx({children:e,className:n,...t}){const o=c;return l[o(886)](o(1266),{type:o(1266),className:Te([o(1863),n]),...t,children:e})}const B3=e=>({isInteractive:e[c(427)]||e[c(1892)]||e.elementsSelectable,minZoomReached:e[c(1696)][2]<=e[c(433)],maxZoomReached:e.transform[2]>=e[c(1255)],ariaLabelConfig:e[c(1862)]});function Ws({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:d,className:s,children:f,position:u=c(1348),orientation:h=c(363),"aria-label":b}){const v=c,g=Ye(),{isInteractive:w,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:y}=ke(B3,Ee),{zoomIn:z,zoomOut:p,fitView:N}=So(),O=()=>{z(),r?.()},G=()=>{p(),i?.()},T=()=>{N(x),a?.()},j=()=>{g.setState({nodesDraggable:!w,nodesConnectable:!w,elementsSelectable:!w}),d?.(!w)},q=h===v(1573)?v(1573):"vertical";return l[v(1669)](rx,{className:Te([v(2085),q,s]),position:u,style:e,"data-testid":v(626),"aria-label":b??y[v(2095)],children:[n&&l[v(1669)](l.Fragment,{children:[l.jsx(lx,{onClick:O,className:"react-flow__controls-zoomin",title:y["controls.zoomIn.ariaLabel"],"aria-label":y[v(752)],disabled:m,children:l[v(886)](v3,{})}),l[v(886)](lx,{onClick:G,className:v(812),title:y["controls.zoomOut.ariaLabel"],"aria-label":y[v(553)],disabled:M,children:l.jsx(p3,{})})]}),t&&l.jsx(lx,{className:v(253),onClick:T,title:y["controls.fitView.ariaLabel"],"aria-label":y[v(538)],children:l[v(886)](z3,{})}),o&&l[v(886)](lx,{className:v(1655),onClick:j,title:y[v(1557)],"aria-label":y["controls.interactive.ariaLabel"],children:w?l[v(886)](M3,{}):l.jsx(C3,{})}),f]})}Ws[c(501)]=c(338);const D3=B[c(1116)](Ws);function L3({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:a,strokeWidth:d,className:s,borderRadius:f,shapeRendering:u,selected:h,onClick:b}){const v=c,{background:g,backgroundColor:w}=r||{},M=i||g||w;return l[v(886)](v(353),{className:Te([v(1503),{selected:h},s]),x:n,y:t,rx:f,ry:f,width:o,height:x,style:{fill:M,stroke:a,strokeWidth:d},shapeRendering:u,onClick:b?m=>b(m,e):void 0})}const S3=B[c(1116)](L3),N3=e=>e[c(448)].map(n=>n.id),Po=e=>e instanceof Function?e:()=>e;function k3({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=S3,onClick:i}){const a=c,d=ke(N3,Ee),s=Po(n),f=Po(e),u=Po(t),h=typeof window===a(1397)||window[a(1844)]?"crispEdges":a(526);return l.jsx(l[a(1338)],{children:d[a(1549)](b=>l[a(886)](P3,{id:b,nodeColorFunc:s,nodeStrokeColorFunc:f,nodeClassNameFunc:u,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:h},b))})}function I3({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:d}){const s=c,{node:f,x:u,y:h,width:b,height:v}=ke(g=>{const w=_0x4d07,M=g[w(643)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M[w(588)].userNode,{x:y,y:z}=M[w(588)].positionAbsolute,{width:p,height:N}=An(m);return{node:m,x:y,y:z,width:p,height:N}},Ee);return!f||f[s(1942)]||!na(f)?null:l.jsx(a,{x:u,y:h,width:b,height:v,style:f.style,selected:!!f.selected,className:o(f),color:n(f),borderRadius:x,strokeColor:t(f),strokeWidth:r,shapeRendering:i,onClick:d,id:f.id})}const P3=B.memo(I3);var A3=B[c(1116)](k3);const j3=200,E3=150,Y3=e=>!e[c(1942)],U3=e=>{const n=c,t={x:-e[n(1696)][0]/e.transform[2],y:-e[n(1696)][1]/e.transform[2],width:e[n(419)]/e[n(1696)][2],height:e.height/e[n(1696)][2]};return{viewBB:t,boundingRect:e[n(643)][n(1142)]>0?Fi(e0(e[n(643)],{filter:Y3}),t):t,rfId:e.rfId,panZoom:e[n(1005)],translateExtent:e.translateExtent,flowWidth:e[n(419)],flowHeight:e[n(691)],ariaLabelConfig:e[n(1862)]}},G3="react-flow__minimap-desc";function Xs({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:d,maskColor:s,maskStrokeColor:f,maskStrokeWidth:u,position:h="bottom-right",onClick:b,onNodeClick:v,pannable:g=!1,zoomable:w=!1,ariaLabel:M,inversePan:m,zoomStep:y=1,offsetScale:z=5}){const p=c,N=Ye(),O=B[p(1100)](null),{boundingRect:G,viewBB:T,rfId:j,panZoom:q,translateExtent:V,flowWidth:W,flowHeight:H,ariaLabelConfig:S}=ke(U3,Ee),L=e?.[p(419)]??j3,D=e?.height??E3,E=G[p(419)]/L,U=G[p(691)]/D,k=Math[p(2036)](E,U),R=k*L,$=k*D,ee=z*k,xe=G.x-(R-G[p(419)])/2-ee,re=G.y-($-G[p(691)])/2-ee,ie=R+ee*2,fe=$+ee*2,ye=G3+"-"+j,ce=B[p(1100)](0),J=B[p(1100)]();ce[p(405)]=k,B[p(1753)](()=>{const I=p;if(O[I(405)]&&q)return J[I(405)]=$5({domNode:O.current,panZoom:q,getTransform:()=>N[I(308)]()[I(1696)],getViewScale:()=>ce[I(405)]}),()=>{const Z=I;J[Z(405)]?.[Z(580)]()}},[q]),B[p(1753)](()=>{const I=p;J[I(405)]?.[I(876)]({translateExtent:V,width:W,height:H,inversePan:m,pannable:g,zoomStep:y,zoomable:w})},[g,w,m,y,V,W,H]);const le=b?I=>{const Z=p,[ne,te]=J[Z(405)]?.pointer(I)||[0,0];b(I,{x:ne,y:te})}:void 0,ue=v?B.useCallback((I,Z)=>{const ne=p,te=N[ne(308)]()[ne(643)][ne(946)](Z)[ne(588)][ne(1272)];v(I,te)},[]):void 0,Y=M??S[p(1971)];return l[p(886)](rx,{position:h,style:{...e,"--xy-minimap-background-color-props":typeof d===p(975)?d:void 0,"--xy-minimap-mask-background-color-props":typeof s=="string"?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof f===p(975)?f:void 0,"--xy-minimap-mask-stroke-width-props":typeof u===p(1493)?u*k:void 0,"--xy-minimap-node-background-color-props":typeof o===p(975)?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===p(975)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===p(1493)?i:void 0},className:Te([p(1377),n]),"data-testid":p(465),children:l.jsxs(p(1712),{width:L,height:D,viewBox:xe+" "+re+" "+ie+" "+fe,className:"react-flow__minimap-svg",role:p(1161),"aria-labelledby":ye,ref:O,onClick:le,children:[Y&&l.jsx(p(615),{id:ye,children:Y}),l[p(886)](A3,{onClick:ue,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:a}),l[p(886)](p(2067),{className:p(282),d:"M"+(xe-ee)+","+(re-ee)+"h"+(ie+ee*2)+"v"+(fe+ee*2)+"h"+(-ie-ee*2)+p(2050)+T.x+","+T.y+"h"+T[p(419)]+"v"+T[p(691)]+"h"+-T[p(419)]+"z",fillRule:"evenodd",pointerEvents:p(1185)})]})})}Xs[c(501)]="MiniMap";const O3=B[c(1116)](Xs),H3=e=>n=>e?""+Math[c(2036)](1/n.transform[2],1):void 0,V3={[Dt[c(645)]]:c(647),[Dt[c(1880)]]:"bottom-right"};function T3({nodeId:e,position:n,variant:t=Dt[c(1880)],className:o,style:x=void 0,children:r,color:i,minWidth:a=10,minHeight:d=10,maxWidth:s=Number[c(891)],maxHeight:f=Number[c(891)],keepAspectRatio:u=!1,resizeDirection:h,autoScale:b=!0,shouldResize:v,onResizeStart:g,onResize:w,onResizeEnd:M}){const m=c,y=us(),z=typeof e===m(975)?e:y,p=Ye(),N=B[m(1100)](null),O=t===Dt[m(1880)],G=ke(B.useCallback(H3(O&&b),[O,b]),Ee),T=B[m(1100)](null),j=n??V3[t];B.useEffect(()=>{const V=m;if(!(!N[V(405)]||!z))return!T[V(405)]&&(T.current=u2({domNode:N[V(405)],nodeId:z,getStoreItems:()=>{const W=V,{nodeLookup:H,transform:S,snapGrid:L,snapToGrid:D,nodeOrigin:E,domNode:U}=p[W(308)]();return{nodeLookup:H,transform:S,snapGrid:L,snapToGrid:D,nodeOrigin:E,paneDomNode:U}},onChange:(W,H)=>{const S=V,{triggerNodeChanges:L,nodeLookup:D,parentLookup:E,nodeOrigin:U}=p[S(308)](),k=[],R={x:W.x,y:W.y},$=D[S(946)](z);if($&&$[S(450)]&&$[S(1433)]){const ee=$.origin??U,xe=W[S(419)]??$[S(889)][S(419)]??0,re=W.height??$[S(889)].height??0,ie={id:$.id,parentId:$[S(1433)],rect:{width:xe,height:re,...ta({x:W.x??$.position.x,y:W.y??$[S(2046)].y},{width:xe,height:re},$.parentId,D,ee)}},fe=mo([ie],D,E,U);k[S(1935)](...fe),R.x=W.x?Math[S(2036)](ee[0]*xe,W.x):void 0,R.y=W.y?Math[S(2036)](ee[1]*re,W.y):void 0}if(R.x!==void 0&&R.y!==void 0){const ee={id:z,type:S(2046),position:{...R}};k[S(1935)](ee)}if(W.width!==void 0&&W[S(691)]!==void 0){const ee=h?h===S(1573)?S(419):S(691):!0,xe={id:z,type:S(1041),resizing:!0,setAttributes:ee,dimensions:{width:W[S(419)],height:W.height}};k[S(1935)](xe)}for(const ee of H){const xe={...ee,type:S(2046)};k[S(1935)](xe)}L(k)},onEnd:({width:W,height:H})=>{const S=V,L={id:z,type:"dimensions",resizing:!1,dimensions:{width:W,height:H}};p[S(308)]().triggerNodeChanges([L])}})),T[V(405)][V(876)]({controlPosition:j,boundaries:{minWidth:a,minHeight:d,maxWidth:s,maxHeight:f},keepAspectRatio:u,resizeDirection:h,onResizeStart:g,onResize:w,onResizeEnd:M,shouldResize:v}),()=>{T[V(405)]?.destroy()}},[j,a,d,s,f,u,g,w,M,v]);const q=j.split("-");return l[m(886)](m(866),{className:Te(["react-flow__resize-control",m(1178),...q,t,o]),ref:N,style:{...x,scale:G,...i&&{[O?"backgroundColor":m(1520)]:i}},children:r})}B[c(1116)](T3);const Ks=e=>Symbol[c(1782)]in e,Zs=e=>"entries"in e,Rs=(e,n)=>{const t=c,o=e instanceof Map?e:new Map(e[t(857)]()),x=n instanceof Map?n:new Map(n.entries());if(o[t(1142)]!==x[t(1142)])return!1;for(const[r,i]of o)if(!x[t(1807)](r)||!Object.is(i,x.get(r)))return!1;return!0},q3=(e,n)=>{const t=c,o=e[Symbol[t(1782)]](),x=n[Symbol[t(1782)]]();let r=o[t(1169)](),i=x[t(1169)]();for(;!r[t(285)]&&!i[t(285)];){if(!Object.is(r[t(999)],i[t(999)]))return!1;r=o[t(1169)](),i=x[t(1169)]()}return!!r.done&&!!i[t(285)]};function W3(e,n){const t=c;return Object.is(e,n)?!0:typeof e!="object"||e===null||typeof n!==t(1612)||n===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(n)?!1:Ks(e)&&Ks(n)?Zs(e)&&Zs(n)?Rs(e,n):q3(e,n):Rs({entries:()=>Object.entries(e)},{entries:()=>Object[t(857)](n)})}const Js={inlineScript:c(2106),dataRequest:c(1580),external:c(1775),builtin:c(2107)},X3=[{label:c(434),value:c(516)},{label:c(883),value:"switchCanvas"}],K3=[{label:c(1443),value:"info"},{label:"success",value:c(575)},{label:"warning",value:"warning"},{label:c(1247),value:c(1247)},{label:c(386),value:c(386)}];function _s(e,n,t){const o=c,x=t.filter(i=>i.target===e),r=x[o(1361)];return x[o(1549)]((i,a)=>{const d=o,s=n[d(997)](u=>u.id===i[d(1269)]),f=s?.[d(1467)];return{sourceId:i[d(1269)],sourceLabel:f?.[d(531)]??i.source,edgeIndex:a,totalIncoming:r}})}const Z3=({data:e,id:n})=>{const t=c,{root:o}=Xe(),x=ke(B[t(1455)](a=>_s(n,a[t(448)],a[t(954)])[t(1549)](({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[n]),W3),r=e.eventBlock[t(1992)]??t(877),i=r===t(1407)?e[t(1002)][t(1761)]:r===t(1129)?e[t(1002)].externalHandlerKey:r===t(320)?e[t(1002)][t(1131)]===t(516)?e[t(1002)].builtinId+": "+String(e[t(1002)].builtinConfig?.[t(1719)]??"")[t(1791)](0,24):e[t(1002)][t(1131)]==="switchCanvas"?"跳转: "+(o[t(1795)][t(997)](a=>a.id===e[t(1002)][t(1180)]?.[t(365)])?.[t(1852)]??t(1868)):e[t(1002)][t(1131)]:null;return l.jsxs(t(866),{className:t(335),children:[l[t(886)](St,{type:t(1274),position:pe.Top,className:t(1372)}),l[t(1669)](t(866),{className:t(712),children:[l[t(886)](t(1227),{className:t(1367),children:e[t(531)]}),l[t(1669)](C[t(913)],{size:"small",children:[l[t(886)](C[t(259)],{type:t(2008),size:"small",icon:l[t(886)](de.EditOutlined,{}),onClick:()=>e.onEdit(n)}),l[t(886)](C[t(259)],{type:t(2008),size:t(609),danger:!0,icon:l[t(886)](de[t(268)],{}),onClick:()=>e[t(923)](n)})]})]}),l.jsx(t(866),{className:t(1511),children:l[t(1669)](C[t(851)],{color:r===t(877)?t(549):t(r==="builtin"?1744:1147),className:t(872),children:[Js[r],i?t(2004)+i:""]})}),l[t(1669)](t(866),{className:t(1499),children:[e[t(1002)].inputs?.[t(1361)]>0&&l[t(1669)](t(866),{children:[t(2033),e.eventBlock[t(513)][t(1549)](a=>a[t(1852)])[t(748)](", ")]}),x[t(1361)]>0&&l.jsxs(t(866),{className:"mt-1 text-amber-800",children:[t(1803),x[t(1549)](a=>l[t(1669)](t(866),{className:t(1914),children:["←「",a[t(531)],"」(整块返回值)"]},a.sourceId))]})]}),l.jsx(St,{type:t(1269),position:pe[t(251)],className:t(1372)})]})},R3={eventBlock:Z3},J3=Object[c(857)](Js)[c(1549)](([e,n])=>({label:n,value:e})),Qs=[{label:"点击",value:c(352)},{label:c(1468),value:"mouseDown"},{label:c(1007),value:"mouseUp"},{label:"双击",value:c(1877)},{label:c(1323),value:c(705)},{label:c(1574),value:c(1282)},{label:c(915),value:"mouseEnter"},{label:c(1139),value:c(339)},{label:"数据请求",value:c(1407)},{label:c(1790),value:c(1129)}];function _3(e,n){const t=c,o={},x=[...e];return x[t(1777)]((r,i)=>{const a=t,d=n[a(513)][i]?.name??(x[a(1361)]===1?a(1193):a(1193)+i);o[d]=a(766)+r[a(1269)]}),o}function Q3(e,n,t){const o=c;return t[e]?.[o(1852)]??(n===1?o(1193):o(1193)+e)}const F3=[{label:c(975),value:c(975)},{label:c(1493),value:"number"},{label:c(1172),value:c(1172)},{label:c(1612),value:c(1612)},{label:c(1303),value:c(1303)}];function Fs(e){const n=c,t=Qs[n(997)](x=>x[n(999)]===e[n(720)]),o=t?.[n(531)]??e[n(720)];if(e[n(720)]===n(1129)){const x=(e[n(1908)]||"")[n(475)]();return x?o+" · "+x:o}return o}const $3=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=c,{nodes:r,eventFlow:i,externalHandlerCatalog:a,addEventBlock:d,upsertEventBlock:s,removeEventBlock:f,addEventRoot:u,updateEventRoot:h,root:b}=Xe(),[v,g,w]=u3([]),[M,m,y]=h3([]),z=B[x(1100)](v);z[x(405)]=v;const[p,N]=B[x(1704)](()=>o??null),[O,G]=B.useState(!1),[T]=C[x(1526)][x(1940)](),j=C[x(1526)][x(1672)](x(720),T),[q,V]=B.useState(null),[W,H]=B[x(1704)](!1),[S]=C[x(1526)][x(1940)](),L=C[x(1526)][x(1672)](x(1992),S),D=C[x(1526)][x(1672)]("builtinId",S),E=C.Form[x(1672)](x(513),S),U=B[x(1616)](()=>!W||!q?[]:_s(q.id,v,M),[W,q,v,M]),k=B.useRef(()=>{}),R=B[x(1100)](()=>{});B[x(1753)](()=>{const Y=x;if(W&&q){const I=q[Y(1180)]??{},{outputs:Z,...ne}=q;S[Y(1273)]({...ne,executorType:q[Y(1992)]??Y(877),builtinId:q[Y(1131)],inputs:q[Y(513)]??[],builtinConfig:{content:String(I[Y(1719)]??""),level:String(I[Y(1099)]??Y(1443)),duration:I.duration===void 0||I[Y(664)]===null?void 0:Number(I.duration)}})}},[W,q,S]);const $=B[x(1455)](Y=>{m(I=>fa(Y,I))},[m]),ee=Y=>{const I=x,Z={bindNodeId:Y[I(964)],eventType:Y[I(720)],externalEventKey:Y[I(720)]===I(1129)?(Y[I(1908)]||"").trim():void 0,flowData:{nodes:[],edges:[]},enabled:!0},ne=u(Z);N({...Z,id:ne}),T[I(1215)](),G(!1),C.message[I(575)](I(1114))},xe=B.useCallback(Y=>{const I=x;f(Y),g(Z=>Z.filter(ne=>ne.id!==Y)),m(Z=>Z[I(416)](ne=>ne[I(1269)]!==Y&&ne[I(1274)]!==Y))},[f,g,m]),re=B.useCallback(Y=>{const I=x,Z=z[I(405)].find(X=>X.id===Y)?.[I(1467)]?.[I(1002)],ne=i[I(436)][I(997)](X=>X.id===Y),te=Z??ne;te?(V({...te,id:Y}),H(!0)):C[I(316)][I(1205)](I(1747))},[i[x(436)]]);k.current=re,R[x(405)]=xe,B[x(1753)](()=>{const Y=x;if(e&&p){const I=p[Y(1019)].nodes[Y(1549)](ne=>({id:ne.id,type:Y(1002),position:ne[Y(2046)],data:{label:ne[Y(1467)][Y(531)],eventBlock:ne[Y(1467)][Y(1002)],onEdit:te=>k[Y(405)](te),onDelete:te=>R[Y(405)](te)}})),Z=p.flowData.edges[Y(1549)](ne=>({id:ne.id,source:ne.source,target:ne[Y(1274)]}));g(I),m(Z)}},[e,p,g,m]);const ie=()=>{const Y=x,I={name:Y(418),executorType:Y(877),callback:Y(949),inputs:[],outputs:[]},Z=d(I),ne={...I,id:Z},te={id:Z,type:Y(1002),position:{x:100+v[Y(1361)]*50,y:100+v[Y(1361)]*30},data:{label:ne.name,eventBlock:ne,onEdit:X=>k[Y(405)](X),onDelete:X=>R[Y(405)](X)}};g(X=>[...X,te])},fe=()=>{const Y=x,I={name:Y(816),executorType:Y(320),builtinId:Y(516),builtinConfig:{content:Y(1596),level:Y(1443)},callback:"return null;",inputs:[],outputs:[]},Z=d(I),ne={...I,id:Z},te={id:Z,type:Y(1002),position:{x:120+v[Y(1361)]*50,y:140+v[Y(1361)]*30},data:{label:ne[Y(1852)],eventBlock:ne,onEdit:X=>k[Y(405)](X),onDelete:X=>R.current(X)}};g(X=>[...X,te])},ye=()=>{const Y=x,I={name:"跳转画布",executorType:Y(320),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:b[Y(1795)][0]?.id||""},callback:Y(1838),inputs:[],outputs:[]},Z=d(I),ne={...I,id:Z},te={id:Z,type:"eventBlock",position:{x:120+v[Y(1361)]*50,y:140+v.length*30},data:{label:ne.name,eventBlock:ne,onEdit:X=>k.current(X),onDelete:X=>R[Y(405)](X)}};g(X=>[...X,te])},ce=Y=>{const I=x;if(!q)return;const Z=Y[I(1992)]??q[I(1992)]??"inlineScript",ne={name:Y.name,callback:Y[I(536)]??q[I(536)],executorType:Z,dataRequestKey:Z==="dataRequest"?(Y[I(1761)]||"")[I(475)]():void 0,externalHandlerKey:Z===I(1129)?(Y[I(1689)]||"")[I(475)]():void 0,builtinId:Z===I(320)?Y.builtinId:void 0,builtinConfig:Z===I(320)&&Y[I(1131)]===I(516)?{content:String(Y[I(1180)]?.[I(1719)]??"")[I(475)](),level:Y[I(1180)]?.[I(1099)]||I(1443),duration:Y.builtinConfig?.duration===null||Y[I(1180)]?.duration===void 0?void 0:Number(Y[I(1180)][I(664)])}:Z===I(320)&&Y[I(1131)]==="switchCanvas"?{targetCanvasId:String(Y[I(1180)]?.targetCanvasId??"")[I(475)]()}:void 0},te=Y[I(513)]??[],X=te[I(416)](me=>me?.[I(1852)]&&String(me[I(1852)]).trim()),oe={...q,...ne,inputs:X,outputs:[]};s(oe),g(me=>me.map(ze=>ze.id===q.id?{...ze,data:{...ze[I(1467)],label:oe[I(1852)]||ze[I(1467)][I(531)],eventBlock:oe}}:ze)),H(!1),V(null),C[I(316)][I(575)](I(1652))},J=()=>{const Y=x;if(!p)return;const I=v[Y(1549)](ne=>{const te=Y,X=M[te(416)](ze=>ze.target===ne.id),oe=ne[te(1467)].eventBlock,me={...oe,outputs:[]};return{id:ne.id,eventBlockId:ne.id,position:ne[te(2046)],inputs:X[te(1549)](ze=>ze[te(1269)]),outputs:M[te(416)](ze=>ze[te(1269)]===ne.id)[te(1549)](ze=>ze[te(1274)]),data:{label:ne[te(1467)][te(531)],eventBlock:me,inputMapping:_3(X,me)}}}),Z=M[Y(1549)](ne=>({id:ne.id,source:ne[Y(1269)],target:ne[Y(1274)]}));h(p.id,{flowData:{nodes:I,edges:Z}}),ht[Y(1564)]({...p,flowData:{nodes:I,edges:Z}}),C.message[Y(575)](Y(1619)),n()},le=B[x(1616)](()=>r.map(Y=>({label:Y.name,value:Y.id})),[r]),ue=B[x(1616)](()=>t?i[x(406)].filter(Y=>Y[x(964)]===t):i[x(406)],[i[x(406)],t]);return e?l[x(1669)](C.Modal,{title:"事件流编辑器",open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[p?l[x(1669)](x(866),{className:x(1068),style:{height:700},children:[l[x(1669)](x(866),{className:x(921),children:[l.jsx(C.Space,{children:l.jsxs("span",{className:"font-medium",children:["编辑: ",Fs(p)," →"," ",r[x(997)](Y=>Y.id===p[x(964)])?.name]})}),l.jsxs(C[x(913)],{children:[l.jsx(C[x(259)],{icon:l[x(886)](de[x(1190)],{}),onClick:ie,children:x(1773)}),l[x(886)](C[x(259)],{icon:l[x(886)](de.PlusOutlined,{}),onClick:fe,children:"Message 提示"}),l[x(886)](C[x(259)],{icon:l[x(886)](de.PlusOutlined,{}),onClick:ye,children:x(883)}),l[x(886)](C.Button,{type:x(1943),icon:l.jsx(de[x(1681)],{}),onClick:J,children:"保存"}),l[x(886)](C[x(259)],{icon:l[x(886)](de[x(2096)],{}),onClick:()=>N(null),children:x(348)})]})]}),l[x(886)](x(866),{className:x(830),children:l.jsxs(f3,{nodes:v,edges:M,onNodesChange:w,onEdgesChange:y,onConnect:$,nodeTypes:R3,fitView:!0,children:[l[x(886)](w3,{}),l.jsx(D3,{}),l[x(886)](O3,{})]})})]}):l.jsxs(x(866),{className:x(845),children:[l[x(1669)](x(866),{className:"flex justify-between items-center mb-4",children:[l[x(886)]("h3",{className:x(1945),children:x(321)}),l[x(886)](C.Button,{type:x(1943),icon:l.jsx(de[x(1190)],{}),onClick:()=>G(!0),children:x(376)})]}),l[x(886)](C[x(428)],{dataSource:ue,renderItem:Y=>l.jsx(C[x(428)][x(607)],{actions:[l[x(886)](C.Button,{type:x(1943),icon:l[x(886)](de[x(893)],{}),onClick:()=>N(Y),children:"编辑"},x(2054))],children:l.jsx(C[x(428)][x(607)].Meta,{title:l[x(1669)](C[x(913)],{children:[l[x(1669)](x(1227),{children:["触发: ",Fs(Y)]}),l[x(886)](C[x(851)],{color:x(733),children:r.find(I=>I.id===Y[x(964)])?.name||Y[x(964)]})]}),description:x(1047)+Y[x(1019)][x(448)][x(1361)]+x(380)+Y[x(1019)][x(954)][x(1361)]})}),locale:{emptyText:l[x(886)](C[x(1189)],{description:x(1237)})}}),l[x(886)](C.Modal,{title:x(376),open:O,onCancel:()=>{T.resetFields(),G(!1)},footer:null,afterOpenChange:Y=>{const I=x;Y&&(T[I(1215)](),t&&T[I(1273)]({bindNodeId:t}))},children:l.jsxs(C[x(1526)],{form:T,onFinish:ee,layout:x(363),children:[l[x(886)](C[x(1526)][x(607)],{name:x(964),label:"绑定节点",rules:[{required:!0,message:x(1509)}],initialValue:t,children:l[x(886)](C[x(544)],{options:le,placeholder:x(1948),disabled:!!t})}),l.jsx(C[x(1526)].Item,{name:x(720),label:x(1953),rules:[{required:!0,message:x(1140)}],children:l.jsx(C[x(544)],{options:Qs,placeholder:"DOM / 数据请求 / 外部"})}),j===x(1129)&&l[x(886)](C.Form[x(607)],{name:x(1908),label:"外部事件标识",rules:[{required:!0,message:x(266)},{validator:(Y,I)=>(I||"")[x(475)]()?Promise[x(1929)]():Promise[x(495)](new Error(x(1383)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(886)](C[x(1931)],{placeholder:x(529)})}),l[x(886)](C[x(1526)][x(607)],{className:x(362),children:l[x(1669)](C[x(913)],{className:x(1350),children:[l[x(886)](C.Button,{onClick:()=>{T[x(1215)](),G(!1)},children:"取消"}),l[x(886)](C[x(259)],{type:x(1943),htmlType:"submit",children:"创建"})]})})]})})]}),l.jsx(C[x(1321)],{title:"编辑事件块",open:W,onCancel:()=>{H(!1),V(null)},footer:null,destroyOnClose:!0,children:l[x(1669)](C[x(1526)],{form:S,onFinish:ce,layout:x(363),children:[l[x(886)](C[x(1526)][x(607)],{name:"name",label:"名称",rules:[{required:!0,message:x(745)}],children:l[x(886)](C[x(1931)],{})}),l[x(886)](C.Form[x(607)],{name:x(1992),label:x(2105),rules:[{required:!0,message:x(1528)}],children:l[x(886)](C[x(544)],{options:J3,placeholder:x(1328)})}),L===x(320)&&l[x(886)](C[x(1526)].Item,{name:x(1131),label:x(2107),rules:[{required:!0,message:"请选择内置动作"}],children:l.jsx(C[x(544)],{options:X3,placeholder:x(758)})}),L==="builtin"&&D==="antdMessage"&&l[x(1669)](l.Fragment,{children:[l[x(886)](C[x(1526)][x(607)],{name:[x(1180),x(1719)],label:x(1905),rules:[{required:!0,message:x(425)}],extra:x(1796),children:l.jsx(C[x(1931)][x(787)],{rows:3,placeholder:x(1823)})}),l.jsx(C[x(1526)][x(607)],{name:[x(1180),"level"],label:x(1071),children:l[x(886)](C[x(544)],{options:K3})}),l[x(886)](C[x(1526)][x(607)],{name:[x(1180),x(664)],label:x(1938),extra:x(797),children:l[x(886)](C[x(1647)],{min:0,step:.5,style:{width:x(1822)},placeholder:"默认"})})]}),L===x(320)&&D==="switchCanvas"&&l.jsx(C[x(1526)].Item,{name:[x(1180),"targetCanvasId"],label:"目标画布",rules:[{required:!0,message:x(637)}],children:l.jsx(C[x(544)],{placeholder:"选择要跳转的画布",options:b[x(1795)][x(1549)](Y=>({value:Y.id,label:Y[x(1852)]}))})}),L===x(1407)&&l.jsx(C[x(1526)].Item,{name:x(1761),label:x(1726),rules:[{required:!0,message:x(1017)},{validator:(Y,I)=>(I||"")[x(475)]()?Promise[x(1929)]():Promise.reject(new Error(x(1383)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(886)](C[x(1931)],{placeholder:x(1315)})}),L==="external"&&l[x(886)](C[x(1526)][x(607)],{name:x(1689),label:x(788),rules:[{required:!0,message:"请填写外部方法标识"},{validator:(Y,I)=>(I||"")[x(475)]()?Promise[x(1929)]():Promise[x(495)](new Error("标识不能为空"))}],extra:a[x(1361)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:a[x(1361)]>0?l.jsx(C[x(544)],{showSearch:!0,optionFilterProp:x(531),allowClear:!0,placeholder:x(1055),options:a[x(1549)](Y=>({value:Y[x(301)],label:Y[x(531)],title:Y.description?Y[x(531)]+x(482)+Y.description:Y[x(531)]+" ("+Y[x(301)]+")"})),onInputKeyDown:Y=>{Y[x(301)]===" "&&Y.stopPropagation()}}):l[x(886)](C[x(1931)],{placeholder:x(568)})}),L===x(877)&&l.jsx(C[x(1526)].Item,{name:"callback",label:"执行代码",rules:[{validator:(Y,I)=>{const Z=x;return typeof I===Z(975)&&I[Z(475)]()?Promise.resolve():Promise[Z(495)](new Error(Z(561)))}}],children:l[x(886)](C[x(1931)][x(787)],{rows:6,placeholder:`// 可用参数:
10
- // node - 触发事件的节点
11
- // context - 事件上下文
12
- // args - 传入的参数
13
-
14
- return args;`})}),U[x(1361)]>0&&l[x(1669)](x(866),{className:x(460),children:[l[x(886)](x(866),{className:x(447),children:x(1853)}),l[x(886)]("ul",{className:x(1670),children:U[x(1549)](Y=>{const I=x,Z=E??q?.[I(513)]??[],ne=Q3(Y[I(1469)],Y[I(1049)],Z);return l.jsxs("li",{className:I(1462),children:[l[I(1669)](I(866),{className:"text-gray-800",children:["第 ",Y[I(1469)]+1,I(1137),Y[I(743)],I(777),l[I(886)](I(1843),{children:I(1311)})," →"," ",l[I(1669)]("code",{className:I(1890),children:[I(2093),ne]})]}),l[I(1669)](I(866),{className:I(757),children:[I(700),Y[I(1469)]+1,I(1014)]})]},Y[I(281)])})})]}),l[x(886)](x(866),{className:x(1858),children:"入参名称(按连线顺序)"}),l[x(1669)]("div",{className:x(1212),children:[x(1623)," ",l[x(886)](x(770),{children:x(821)}),x(1453),l[x(886)]("code",{children:"args.prev0"}),"、",l[x(886)]("code",{children:"args.prev1"}),"…"]}),l.jsx(C[x(1526)].List,{name:x(513),children:(Y,{add:I,remove:Z})=>l[x(1669)](l[x(1338)],{children:[Y[x(1549)](({key:ne,name:te,...X})=>l[x(1669)](C.Space,{align:x(257),wrap:!0,className:x(1277),children:[l[x(886)](C[x(1526)][x(607)],{...X,name:[te,"name"],rules:[{required:!0,message:"名称"}],children:l[x(886)](C[x(1931)],{placeholder:x(415),style:{width:140}})}),l[x(886)](C.Form[x(607)],{...X,name:[te,x(478)],initialValue:"any",children:l[x(886)](C[x(544)],{options:F3,style:{width:100}})}),l.jsx(de[x(1912)],{className:x(1591),onClick:()=>Z(te)})]},ne)),l[x(886)](C.Button,{type:"dashed",onClick:()=>I({type:"any"}),block:!0,icon:l[x(886)](de[x(1190)],{}),children:x(1787)})]})}),l.jsx(C[x(1526)][x(607)],{className:x(1947),children:l[x(1669)](C[x(913)],{className:x(1350),children:[l.jsx(C.Button,{onClick:()=>{H(!1),V(null)},children:"取消"}),l[x(886)](C[x(259)],{type:"primary",htmlType:x(506),children:"保存"})]})})]})})]}):null},dx={click:"点击",mouseDown:c(1468),mouseUp:c(1007),doubleClick:"双击",mouseOver:c(1323),mouseLeave:c(1574),mouseEnter:"鼠标进入",contextMenu:c(1139),dataRequest:c(1151),external:c(1790)};function eh(e){const n=c;if(e.eventType===n(1129)){const t=(e[n(1908)]||"")[n(475)]();return t?dx[n(1129)]+n(2004)+t:dx[n(1129)]}return dx[e[n(720)]]}const nh=Object[c(857)](dx).map(([e,n])=>({label:n,value:e})),th=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=Xe(),[i,a]=B[n(1704)](!1),[d,s]=B[n(1704)](null),[f,u]=B[n(1704)](!1),[h]=C[n(1526)][n(1940)](),b=C[n(1526)][n(1672)](n(720),h),v=B.useMemo(()=>{const y=n;return t.eventRoots[y(416)](z=>z[y(964)]===e)},[t.eventRoots,e]),g=y=>{const z=n,p={bindNodeId:e,eventType:y.eventType,externalEventKey:y[z(720)]===z(1129)?(y.externalEventKey||"")[z(475)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(p),h[z(1215)](),u(!1)},w=y=>{s(y),a(!0)},M=(y,z)=>{x(y.id,{enabled:z})},m=y=>{r(y)};return l[n(1669)](n(866),{children:[l[n(1669)]("div",{className:n(1319),children:[l[n(886)]("h4",{className:n(1486),children:n(2079)}),l[n(886)](C.Button,{type:"primary",size:"small",icon:l.jsx(de[n(1190)],{}),onClick:()=>u(!0),children:n(494)})]}),l[n(886)](C[n(428)],{dataSource:v,renderItem:y=>l[n(886)](C[n(428)].Item,{actions:[l.jsx(C[n(1067)],{checked:y.enabled,size:n(609),onChange:z=>M(y,z)},n(1307)),l[n(886)](C[n(259)],{type:n(2008),size:"small",icon:l[n(886)](de.EditOutlined,{}),onClick:()=>w(y)},n(2054)),l[n(886)](C.Popconfirm,{title:n(1648),description:n(698),onConfirm:()=>m(y.id),children:l.jsx(C.Button,{type:"text",danger:!0,size:"small",icon:l.jsx(de[n(268)],{})})},"delete")],children:l.jsx(C.List[n(607)].Meta,{title:l[n(1669)](C.Space,{children:[l.jsx(C[n(851)],{color:y[n(1118)]?"blue":n(549),children:eh(y)}),l[n(1669)](n(1227),{className:n(1516),children:[y[n(1019)].nodes[n(1361)],n(820)]})]}),description:y[n(1118)]?l[n(886)]("span",{className:n(1713),children:"已启用"}):l.jsx(n(1227),{className:n(1516),children:n(1335)})})}),locale:{emptyText:l[n(886)](C[n(1189)],{image:C[n(1189)][n(1599)],description:n(1097)})}}),l[n(886)](C[n(1321)],{title:"添加事件流",open:f,onCancel:()=>{h[n(1215)](),u(!1)},footer:null,afterOpenChange:y=>{y&&h[n(1215)]()},children:l[n(1669)](C[n(1526)],{form:h,onFinish:g,layout:n(363),children:[l[n(886)](C[n(1526)][n(607)],{name:n(720),label:n(1953),rules:[{required:!0,message:"请选择触发方式"}],children:l[n(886)](C[n(544)],{options:nh,placeholder:n(1780)})}),b===n(1129)&&l[n(886)](C[n(1526)][n(607)],{name:n(1908),label:n(1518),rules:[{required:!0,message:n(266)},{validator:(y,z)=>(z||"").trim()?Promise[n(1929)]():Promise[n(495)](new Error("标识不能为空"))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(886)](C.Input,{placeholder:n(1059)})}),l.jsx(C[n(1526)][n(607)],{className:n(362),children:l[n(1669)](C[n(913)],{className:n(1350),children:[l[n(886)](C[n(259)],{onClick:()=>u(!1),children:"取消"}),l[n(886)](C[n(259)],{type:n(1943),htmlType:"submit",children:"创建"})]})})]})}),l[n(886)]($3,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e,editingRoot:d},d?.id??n(1477)+e)]})},{Panel:qn}=C.Collapse,{TabPane:fx}=C[c(520)],{TextArea:xh}=C[c(1931)],$s=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:d,selectedStatusId:s,selectStatus:f}=Xe(),[u]=C[n(1526)][n(1940)](),[h,b]=B[n(1704)](n(1200)),[v,g]=B.useState(!1),[w,M]=B[n(1704)](null),[m,y]=B[n(1704)]({}),z=B[n(1616)](()=>t.find(L=>L.id===o),[t,o]),p=z?.[n(523)][n(723)]||[],N=L=>{const D=n;o&&(L[D(2022)]&&r(o,L[D(2022)]),L.name!==void 0&&x(o,{name:L[D(1852)]}),L[D(2066)]&&i(o,L[D(2066)]))};console[n(1461)](o,n(530),z),B[n(1753)](()=>{const L=n;z&&z&&(u[L(1273)]({name:z[L(1852)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:L(1634),borderRadius:0,opacity:1,...z[L(2022)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...z[L(2066)]}}),f(null))},[z,f,u]);const O=()=>{!o||!z||(M("new"),g(!0))},G=L=>{const D=n;if(!o||!z)return;const E={id:Me[D(2015)](),name:L[D(1852)]+D(574)+(p[D(1361)]+1),expression:p[D(1361)]===0?D(1343):"return false;",material:{...L,id:Me.nanoid()},boundDatasetId:null};if(w===D(1280)){const U=[...p,E];a(o,{statusList:U})}else if(w){const U=p.map(k=>{const R=D;return k.id===w?{...k,material:{...L,id:Me[R(2015)]()}}:k});a(o,{statusList:U})}g(!1),M(null)},T=L=>{const D=n;if(!o||!z)return;const E=z[D(523)][D(723)]?.[D(416)](U=>U.id!==L)||[];a(o,{statusList:E}),s===L&&f(null)},j=(L,D)=>{const E=n;if(!o||!z)return;const U=z[E(523)][E(723)]?.map(k=>k.id===L?{...k,...D}:k)||[];a(o,{statusList:U})},q=L=>{const D=n;if(!o||!z)return;const E={...L,id:Me[D(2015)](),name:L.name+D(1451),expression:D(511)},U=[...p,E];a(o,{statusList:U})},V=(L,D)=>{const E=n;if(!o||!z)return;const U=p[E(2045)](R=>R.id===L);if(U===-1)return;const k=[...p];D==="up"&&U>0?[k[U],k[U-1]]=[k[U-1],k[U]]:D==="down"&&U<k[E(1361)]-1&&([k[U],k[U+1]]=[k[U+1],k[U]]),a(o,{statusList:k})},W=L=>{M(L),g(!0)},H=(L,D)=>{const E=n,U=D.config||{},k=U.startX??0,R=U[E(887)]??0,$=U[E(1204)]??100,ee=U[E(1517)]??0,xe=Math.max((U[E(244)]||U[E(662)]||2)*2,4),re=Math[E(714)](k,$),ie=Math.min(R,ee),fe=Math[E(2036)](k,$),ye=Math[E(2036)](R,ee),ce=Math[E(2036)](fe-re,xe),J=Math[E(2036)](ye-ie,xe),le=L[E(2022)].x||0,ue=L[E(2022)].y||0;return{material:{...D,config:{...U,startX:k-re,startY:R-ie,endX:$-re,endY:ee-ie}},box:{x:le+re,y:ue+ie,width:ce,height:J}}},S=(L,D)=>{const E=n;if(!o||!z)return;const{list:U,lineBox:k}=p[E(1926)]((R,$)=>{const ee=E;if($.id!==L)return R[ee(1104)][ee(1935)]($),R;let xe;if($.material.type===ee(922)&&"config"in D&&D.config!==void 0){const re=$.material,ie=D[ee(879)];xe={...re,...D,config:{...re[ee(879)]||{},...ie}}}else xe={...$.material,...D};if(xe[ee(478)]==="LINE"){const{material:re,box:ie}=H(z,xe);return R[ee(1104)][ee(1935)]({...$,material:re}),R.lineBox=ie,R}return R[ee(1104)][ee(1935)]({...$,material:xe}),R},{list:[],lineBox:null});k!==null?x(o,{normalStyle:{...z[E(2022)],x:k.x,y:k.y,width:k[E(419)],height:k[E(691)]},contentInfo:{...z[E(523)],statusList:U}}):a(o,{statusList:U})};return z?l.jsxs(n(866),{className:n(2010),children:[l[n(1669)](n(866),{className:n(827),children:[l[n(886)]("h3",{className:n(2042),children:n(731)}),l[n(886)]("p",{className:"text-sm text-gray-500",children:n(1781)})]}),l[n(886)]("div",{className:"flex-1 overflow-y-auto p-4",children:l.jsxs(C[n(520)],{activeKey:h,onChange:b,children:[l.jsx(fx,{tab:"基础",children:l[n(1669)](C[n(1526)],{form:u,layout:n(363),onValuesChange:N,initialValues:{name:z[n(1852)]},children:[l[n(886)](C[n(1526)][n(607)],{label:"节点名称",name:"name",children:l[n(886)](C[n(1931)],{placeholder:n(986)})}),l.jsxs(C.Collapse,{ghost:!0,defaultActiveKey:[n(2046),"size",n(962)],children:[l.jsx(qn,{header:"位置",children:l[n(1669)](C.Space,{children:[l[n(886)](C.Form.Item,{label:"X",name:[n(2022),"x"],children:l[n(886)](C[n(1647)],{})}),l[n(886)](C.Form.Item,{label:"Y",name:[n(2022),"y"],children:l[n(886)](C.InputNumber,{})})]})},"position"),l[n(886)](qn,{header:"尺寸",children:l[n(1669)](C.Space,{children:[l[n(886)](C[n(1526)].Item,{label:"宽度",name:[n(2022),n(419)],children:l[n(886)](C[n(1647)],{min:10})}),l[n(886)](C[n(1526)].Item,{label:"高度",name:["normalStyle",n(691)],children:l[n(886)](C[n(1647)],{min:10})})]})},n(1142)),l[n(1669)](qn,{header:"样式",children:[l[n(886)](C.Form[n(607)],{label:"背景色",name:[n(2022),n(1898)],children:l.jsx(C[n(1931)],{placeholder:n(1505)})}),l[n(886)](C.Form.Item,{label:n(629),name:[n(2022),"padding"],children:l[n(886)](C[n(1647)],{min:0})}),l[n(886)](C[n(1526)].Item,{label:"圆角",name:[n(2022),n(1961)],children:l[n(886)](C[n(1647)],{min:0})}),l[n(886)](C[n(1526)].Item,{label:"缩放比例",name:["normalStyle",n(918)],help:n(1053),children:l[n(886)](C.InputNumber,{min:.1,max:5,step:.1})}),!z[n(523)][n(723)][n(298)](L=>L[n(1309)][n(478)]===n(922))&&l[n(886)](C[n(1526)].Item,{label:n(1544),name:[n(2022),n(341)],help:n(493),children:l.jsx(C.InputNumber,{min:0,max:360,step:1})}),l[n(886)](C[n(1526)][n(607)],{label:n(1476),name:[n(2022),n(1512)],children:l.jsx(C[n(1647)],{min:0,max:1,step:.1})}),l[n(886)](C[n(1526)].Item,{label:"层级",name:["normalStyle",n(1496)],children:l[n(886)](C[n(1647)],{})})]},n(962))]})]})},n(1200)),l[n(886)](fx,{tab:"状态",children:z.type==="group"&&z.children?l.jsx(Yl,{node:z,updateNode:x,materials:d}):l[n(1669)](n(866),{className:n(1739),children:[l.jsxs(n(866),{className:n(712),children:[l[n(1669)](n(1227),{className:n(1709),children:[n(1245),l[n(886)](C.Tag,{color:n(733),className:n(1705),children:p[n(1361)]})]}),l[n(886)](C.Button,{type:"primary",size:n(609),icon:l[n(886)](de[n(1190)],{}),onClick:O,children:"添加状态"})]}),l[n(886)]("p",{className:"text-xs text-gray-500 mb-3",children:n(1769)}),p[n(1361)]>0&&l.jsx(n(866),{className:n(612),children:l[n(886)](n(866),{className:n(1950),children:l[n(1669)]("div",{children:[l[n(886)](n(1227),{className:"text-sm text-gray-600",children:n(587)}),l[n(886)](n(1227),{className:n(1154),children:n(1687)})]})})}),p.length===0?l.jsx("div",{className:n(1182),children:"暂无状态,点击上方按钮添加"}):l[n(886)](C[n(1354)],{ghost:!0,defaultActiveKey:p[0]?.id+o,children:p[n(1549)]((L,D)=>l[n(886)](qn,{header:l.jsxs(n(866),{className:n(1741),children:[l[n(886)](n(1227),{className:n(593),children:D+1}),l[n(886)]("span",{className:n(1709),children:L[n(1852)]}),l.jsx(C.Tag,{color:n(549),className:n(761),children:L[n(1309)][n(478)]})]}),extra:l[n(1669)](C[n(913)],{size:n(609),onClick:E=>E[n(1794)](),children:[l[n(886)](C[n(259)],{type:n(2008),size:"small",icon:l[n(886)](de[n(785)],{}),disabled:D===0,onClick:E=>{E.stopPropagation(),V(L.id,"up")}}),l[n(886)](C[n(259)],{type:n(2008),size:"small",icon:l[n(886)](de.ArrowDownOutlined,{}),disabled:D===p[n(1361)]-1,onClick:E=>{const U=n;E[U(1794)](),V(L.id,U(500))}}),l[n(886)](C[n(259)],{type:n(2008),size:n(609),icon:l.jsx(de[n(1482)],{}),onClick:E=>{E[n(1794)](),q(L)}}),l[n(886)](C[n(259)],{type:"text",size:n(609),danger:!0,icon:l[n(886)](de.DeleteOutlined,{}),onClick:E=>{E[n(1794)](),T(L.id)}})]}),children:l.jsxs(C.Form,{layout:n(363),children:[l.jsx(C[n(1526)][n(607)],{label:n(1418),children:l.jsx(C[n(1931)],{value:L[n(1852)],onChange:E=>j(L.id,{name:E[n(1274)][n(999)]}),placeholder:n(1506)})}),l[n(886)](Kr,{status:L,onUpdate:E=>j(L.id,E),onAppendToExpression:E=>{const U=n;y(k=>({...k,[L.id]:(k[L.id]??L[U(300)])+E}))}}),l[n(886)](C[n(1526)][n(607)],{label:n(1033),help:n(1987),children:l.jsx(xh,{value:m[L.id]??L[n(300)],onChange:E=>y(U=>({...U,[L.id]:E[n(1274)][n(999)]})),onBlur:E=>{const U=n;j(L.id,{expression:E[U(1274)][U(999)]}),y(k=>{const R={...k};return delete R[L.id],R})},rows:3,placeholder:n(1343)})}),l[n(886)](C.Form[n(607)],{label:"绑定物料",children:l[n(1669)]("div",{className:n(1741),children:[l[n(886)](C[n(851)],{color:"blue",children:L.material.name}),l[n(886)](C[n(851)],{color:n(549),children:L[n(1309)].type}),l[n(886)](C.Button,{type:n(1654),size:n(609),icon:l[n(886)](de.EditOutlined,{}),onClick:()=>W(L.id),children:n(504)})]})}),l.jsx(C.Divider,{style:{margin:n(1385)}}),l[n(1669)](n(866),{className:n(2104),children:[l[n(1669)](n(866),{className:n(712),children:[l[n(886)](n(1227),{className:n(1486),children:n(1036)}),l[n(886)](C.Tag,{children:L[n(1309)][n(1852)]})]}),l[n(886)](Zr,{material:L[n(1309)],onSave:E=>S(L.id,E)})]})]})},L.id+o))})]})},"status"),l[n(886)](fx,{tab:"控制",children:l[n(1669)](C.Form,{form:u,layout:n(363),onValuesChange:N,children:[l[n(886)](C[n(1526)][n(607)],{label:n(773),name:[n(2066),n(617)],valuePropName:n(1685),children:l.jsx(C[n(1067)],{})}),l[n(886)](C[n(1526)][n(607)],{label:"可点击",name:[n(2066),n(1840)],valuePropName:"checked",children:l.jsx(C.Switch,{})}),l.jsx(C[n(1526)][n(607)],{label:n(1293),name:[n(2066),n(272)],valuePropName:"checked",children:l[n(886)](C[n(1067)],{})}),l[n(886)](C[n(1526)][n(607)],{label:n(1184),name:[n(2066),n(564)],valuePropName:"checked",children:l[n(886)](C.Switch,{})})]})},"control"),l[n(886)](fx,{tab:n(1210),children:l[n(886)](th,{nodeId:z.id})},n(278))]})}),l.jsx("div",{className:n(1218),children:l[n(1669)](n(866),{className:"text-xs text-gray-500",children:[l[n(1669)]("div",{children:[n(1886),z.id[n(1791)](0,8),"..."]}),l.jsxs(n(866),{children:[n(940),p[n(1361)]]})]})}),l[n(886)](C.Modal,{title:n(2108),open:v,onCancel:()=>{g(!1),M(null)},footer:null,width:600,children:l[n(886)](n(866),{className:n(1661),children:l.jsxs(C.Collapse,{ghost:!0,defaultActiveKey:[n(1200),n(2103),n(2008),n(653)],children:[l[n(886)](qn,{header:n(2101),children:l[n(886)](n(866),{className:n(1065),children:d[n(416)](L=>["矩形","圆形","圆角矩形"][n(1483)](L.name))[n(1549)](L=>l[n(886)](ec,{material:L,onClick:()=>G(L)},L.id))})},"basic"),l[n(886)](qn,{header:n(1194),children:l.jsx(n(866),{className:"grid grid-cols-4 gap-2",children:d[n(416)](L=>["阀门","泵","罐体"][n(1483)](L[n(1852)])||L.type===n(1242)&&!["矩形","圆形",n(979)].includes(L[n(1852)]))[n(1549)](L=>l.jsx(ec,{material:L,onClick:()=>G(L)},L.id))})},"device"),l[n(886)](qn,{header:"文本",children:l[n(886)](n(866),{className:n(1065),children:d[n(416)](L=>L[n(478)]===n(388))[n(1549)](L=>l[n(1669)](n(866),{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:()=>G(L),children:[l.jsx("div",{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l.jsx(n(1227),{className:n(1601),children:"T"})}),l[n(886)]("span",{className:n(761),children:L[n(1852)]})]},L.id))})},n(2008)),l.jsx(qn,{header:"线条",children:l[n(886)](n(866),{className:n(1065),children:d.filter(L=>L[n(478)]===n(922))[n(1549)](L=>l[n(1669)](n(866),{className:n(941),onClick:()=>G(L),children:[l[n(886)](n(866),{className:n(1703),children:l[n(886)](n(866),{className:n(981)})}),l.jsx(n(1227),{className:n(761),children:L.name})]},L.id))})},n(653))]})})})]}):l.jsx(n(866),{className:"h-full flex items-center justify-center bg-white border-l border-gray-200",children:l[n(886)](C[n(1189)],{description:n(240)})})},ec=({material:e,onClick:n})=>{const t=c,o=e[t(478)]==="IMAGE"?e.src:void 0;return l[t(1669)](t(866),{className:t(941),onClick:n,children:[l[t(886)](t(866),{className:t(1985),children:o?l.jsx("img",{src:o,alt:e[t(1852)],className:t(1249)}):l[t(886)](t(1227),{className:t(761),children:e[t(1852)][0]})}),l.jsx(t(1227),{className:t(761),children:e[t(1852)]})]})},oh="ConfigEditor-module__configEditor__dinNG",rh={configEditor:oh},ih=`// 支持对象或数组格式
15
- // 对象格式:
16
- {
17
- "speed": 0,
18
- "temp": 25,
19
- "nested": { "x": 1 }
20
- }
21
-
22
- // 数组格式(每项需包含 name 字段用于选择):
23
- [
24
- { "name": "测点1", "value": 100, "unit": "mm" },
25
- { "name": "测点2", "value": 200, "unit": "mm" }
26
- ]`;function nc(e){return Array[c(862)](e)}const tc=({open:e,onClose:n})=>{const t=c,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=Xe(),[a]=C[t(1526)][t(1940)](),[d,s]=B.useState(null);B[t(1753)](()=>{const g=t;!e&&(s(null),a[g(1215)]())},[e,a]);const f=()=>{const g=t;s("__new__"),a[g(1273)]({name:g(1135)+(o[g(1361)]+1),sampleJson:""})},u=g=>{const w=t;s(g.id),a[w(1273)]({name:g.name,sampleJson:JSON[w(2089)](g[w(1302)]??{},null,2)})},h=g=>{const w=t,M=g[w(475)]();if(!M)return{};const m=JSON[w(541)](M);if(m===null||typeof m!==w(1612))throw new Error(w(1256));if(Array[w(862)](m)){for(let y=0;y<m[w(1361)];y++)if(typeof m[y]!==w(1612)||m[y]===null)throw new Error(w(403)+(y+1)+w(404));return m}return m},b=()=>{const g=t;a.validateFields().then(w=>{const M=_0x4d07;let m;try{m=h(w[M(1691)])}catch(z){C.message[M(1247)](z instanceof Error?z[M(316)]:M(369));return}const y=w[M(1852)][M(475)]();if(!y){C[M(316)].error(M(745));return}d===M(1894)?(x({name:y,sample:m}),C[M(316)].success(M(1949))):d&&(r(d,{name:y,sample:m}),C[M(316)][M(575)](M(1032))),s(null),a[M(1215)]()})[g(1578)](()=>{})},v=[{title:"名称",dataIndex:t(1852),key:t(1852)},{title:"类型",key:t(478),width:100,render:(g,w)=>nc(w[t(1302)])?l[t(1669)](C.Tag,{color:t(733),children:[t(646),w.sample[t(1361)],t(2053)]}):l[t(886)](C[t(851)],{children:"对象"})},{title:t(238),key:"keys",width:90,render:(g,w)=>{const M=t;if(nc(w[M(1302)])){const m=w[M(1302)][0];return m?Object.keys(m).length:0}return Object[M(897)](w[M(1302)]||{})[M(1361)]}},{title:"操作",key:t(907),width:160,render:(g,w)=>l[t(1669)](C.Space,{children:[l[t(886)](C[t(259)],{type:t(1654),size:t(609),icon:l[t(886)](de[t(893)],{}),onClick:()=>u(w),children:"编辑"}),l.jsx(C.Popconfirm,{title:"删除该数据集?",description:t(1026),onConfirm:()=>{const M=t;i(w.id),C[M(316)][M(575)](M(1798))},children:l[t(886)](C[t(259)],{type:"link",size:t(609),danger:!0,icon:l.jsx(de[t(268)],{}),children:"删除"})})]})}];return l[t(1669)](C.Modal,{title:t(1437),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(1669)]("p",{className:"text-sm text-gray-500 mb-3",children:[t(1779)," ",l[t(886)]("code",{className:t(620),children:t(1329)}),t(486)]}),l[t(886)](t(866),{className:"mb-3",children:l[t(886)](C[t(259)],{type:t(1943),icon:l[t(886)](de[t(1190)],{}),onClick:f,children:t(1265)})}),d&&l[t(1669)](t(866),{className:"mb-4 p-3 border border-blue-200 rounded bg-blue-50/50",children:[l.jsxs(t(866),{className:t(1729),children:[d===t(1894)?"新建":"编辑","数据集"]}),l.jsxs(C[t(1526)],{form:a,layout:t(363),children:[l.jsx(C.Form[t(607)],{name:t(1852),label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(886)](C[t(1931)],{placeholder:t(1289)})}),l.jsx(C[t(1526)][t(607)],{name:"sampleJson",label:t(1498),rules:[{required:!0,message:"必填"}],children:l.jsx(C.Input[t(787)],{rows:12,className:t(1360),placeholder:ih})}),l[t(1669)](C[t(913)],{children:[l[t(886)](C[t(259)],{type:t(1943),onClick:b,children:"保存"}),l[t(886)](C[t(259)],{onClick:()=>{const g=t;s(null),a[g(1215)]()},children:"取消"})]})]})]}),l[t(886)](C[t(1031)],{size:"small",rowKey:"id",dataSource:o,columns:v,pagination:!1,locale:{emptyText:"暂无数据集,请点击「新建」"}})]})},{Header:ah,Sider:xc,Content:sh}=C[c(1946)],ch=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:f,initialEventFlow:u,externalEventActions:h,onUploadSvg:b,defaultTestData:v,backgroundImageUrl:g,initialViewportWidth:w,initialViewportHeight:M})=>{const m=c,[y,z]=B[m(1704)](!1),[p,N]=B[m(1704)](!1),[O,G]=B.useState(""),[T]=B.useState(()=>[{paramsCode:m(809),paramsName:m(256),value:25,paramsUnit:m(2097)},{paramsCode:m(1126),paramsName:m(1508),value:1.5,paramsUnit:"m/s²"}]),j=v!==void 0?v:T,q=i&&!t,{exportScheme:V,importScheme:W,nodes:H,materials:S,dataPool:L,eventFlow:D,root:E,canvas:U,viewport:k,addMaterial:R,setDataPool:$,setEventFlow:ee,setExternalHandlerCatalog:xe}=Xe();B[m(1100)](null);const re=B[m(1100)](!1);B.useEffect(()=>{const J=m;if(!re.current&&(re[J(405)]=!0,lr[J(1777)](le=>R(le)),e&&W(e),u!==void 0&&ee(u),h&&h[J(1361)]>0)){xe(h);const le={};for(const ue of h){const Y=String(ue[J(301)]??"").trim();Y&&ue[J(1022)]&&(le[Y]=ue[J(1022)])}Object.keys(le)[J(1361)]>0&&ht[J(1435)]({external:le})}},[]),B[m(1753)](()=>{const J=m;s&&s[J(1361)]>0&&s[J(1777)](le=>R(le))},[]),B[m(1753)](()=>{f!==void 0&&$(f)},[f,$]),B[m(1753)](()=>{if(n){const J=V();n(J)}},[H,S,L,D,E,n,V]);const ie=B[m(1455)](()=>{const J=m,le=V(),ue=JSON[J(2089)](le,null,2),Y=J(1567)+encodeURIComponent(ue),I=J(953)+Date.now()+".json",Z=document[J(1074)]("a");Z[J(990)](J(566),Y),Z[J(990)]("download",I),Z[J(352)](),C[J(316)][J(575)](J(775))},[V]),fe=B[m(1455)](()=>{const J=m;try{const le=JSON.parse(O);W(le),z(!1),G(""),C[J(316)][J(575)](J(1778))}catch{C[J(316)][J(1247)](J(1144))}},[O,W]),ye=B[m(1455)](J=>{const le=m,ue=new FileReader;return ue[le(1678)]=Y=>{const I=le;try{const Z=Y[I(1274)]?.[I(1889)],ne=JSON[I(541)](Z);W(ne),C[I(316)][I(575)](I(1778)),z(!1)}catch{C.message[I(1247)](I(1452))}},ue[le(1738)](J),!1},[W]),ce=B[m(1455)](()=>V(),[V]);return B[m(1717)](B.useRef?.(),()=>({getScheme:ce,exportScheme:V,importScheme:W}),[ce,V,W]),l.jsx(C[m(767)],{locale:vc,children:l[m(886)]("div",{className:rh.configEditor,style:{height:m(t?2006:1822),...r},children:l[m(1669)](C[m(1946)],{className:"w-full "+(t?"":m(357))+" "+(t?"":m(521))+" "+x,children:[q&&l.jsxs(ah,{className:m(467),children:[l[m(1669)](m(866),{className:m(1386),children:[l.jsx(m(866),{className:m(1416),children:m(299)}),l[m(1669)]("div",{className:m(532),children:[H[m(1361)]," 个节点"]})]}),l[m(1669)](C.Space,{children:[o,!t&&l[m(1669)](l.Fragment,{children:[l[m(886)](C[m(978)],{title:m(1711),children:l[m(886)](C[m(259)],{icon:l.jsx(de.DownloadOutlined,{}),onClick:ie,children:"导出"})}),l[m(886)](C.Tooltip,{title:m(1783),children:l[m(886)](C[m(259)],{icon:l[m(886)](de[m(1920)],{}),onClick:()=>z(!0),children:"导入"})}),l[m(886)](C[m(978)],{title:m(1542),children:l[m(886)](C.Button,{icon:l[m(886)](de.DatabaseOutlined,{}),onClick:()=>N(!0),children:"数据池"})})]})]})]}),l[m(1669)](C.Layout,{children:[a&&!t&&l[m(886)](xc,{width:280,className:"bg-white",theme:m(920),children:l.jsx(fr,{onUploadSvg:b})}),l[m(886)](sh,{className:m(1827)+(t?"":m(1253)),style:t?{backgroundColor:U?.[m(1898)],backgroundImage:U?.[m(1760)]!==!1?m(1396):void 0,backgroundSize:20*(k?.[m(918)]||1)+m(1034)+20*(k?.[m(918)]||1)+"px"}:void 0,children:l.jsx(Tr,{defaultTestData:j,readonly:t,backgroundImageUrl:g,initialViewportWidth:w,initialViewportHeight:M})}),d&&!t&&l[m(886)](xc,{width:360,className:m(1391),theme:m(920),children:l[m(886)]($s,{defaultTestData:Array[m(862)](j)?j:void 0})})]}),l[m(886)](tc,{open:p,onClose:()=>N(!1)}),l[m(886)](C[m(1321)],{title:"导入组态方案",open:y,onOk:fe,onCancel:()=>{z(!1),G("")},width:600,children:l.jsxs(m(866),{className:"space-y-4",children:[l[m(1669)]("div",{children:[l[m(886)]("p",{className:"mb-2",children:m(243)}),l[m(886)](m(1576),{type:m(719),accept:".json",onChange:J=>{const le=m,ue=J[le(1274)].files?.[0];ue&&ye(ue)},className:m(408)})]}),l[m(886)]("div",{className:m(756),children:"或"}),l[m(1669)](m(866),{children:[l[m(886)]("p",{className:m(1277),children:m(1662)}),l[m(886)]("textarea",{value:O,onChange:J=>G(J.target[m(999)]),placeholder:m(1804),className:m(1571)})]})]})})]})})})};Se[c(1349)]=Tr,Se[c(1298)]=ch,Se.DataPoolModal=tc,Se[c(1977)]=Or,Se[c(1633)]=fr,Se[c(1400)]=Ox,Se[c(1811)]=$s,Se.buildMergedDataRecord=ir,Se[c(1373)]=rr,Se[c(1054)]=dr,Se[c(654)]=kx,Se[c(1387)]=Lx,Se.eventBus=ht,Se[c(1933)]=ar,Se[c(535)]=lr,Se[c(1590)]=Xe,Object[c(1936)](Se,Symbol.toStringTag,{value:c(1103)})});
7
+ +`)[a(897)](`
8
+ `)),b=f[a(1106)]((g,w)=>g[a(758)](...w),[]);return[f,b]}return[[],[]]},[e]);return B[t(2005)](()=>{const a=t,u=n?.[a(500)]??ba,f=n?.[a(2008)]??!0;if(e!==null){const b=h=>{const v=a;if(r[v(523)]=h[v(1679)]||h.metaKey||h[v(1139)]||h.altKey,(!r.current||r[v(523)]&&!f)&&Cc(h))return!1;const m=ma(h[v(519)],d);if(i[v(523)].add(h[m]),ya(c,i[v(523)],!1)){const y=h[v(891)]?.()?.[0]||h[v(500)],p=y?.[v(1213)]==="BUTTON"||y?.nodeName==="A";n[v(810)]!==!1&&(r.current||!p)&&h[v(810)](),x(!0)}},g=h=>{const v=a,M=ma(h[v(519)],d);ya(c,i[v(523)],!0)?(x(!1),i.current[v(1390)]()):i.current[v(1234)](h[M]),h[v(844)]==="Meta"&&i[v(523)][v(1390)](),r.current=!1},w=()=>{const h=a;i[h(523)][h(1390)](),x(!1)};return u?.[a(1892)](a(1920),b),u?.[a(1892)]("keyup",g),window[a(1892)](a(549),w),window[a(1892)](a(1683),w),()=>{const h=a;u?.[h(1665)](h(1920),b),u?.[h(1665)]("keyup",g),window.removeEventListener(h(549),w),window[h(1665)](h(1683),w)}}},[e,x]),o}function ya(e,n,t){const o=s;return e[o(815)](x=>t||x[o(2179)]===n[o(1046)])[o(1496)](x=>x[o(1865)](r=>n[o(1147)](r)))}function ma(e,n){const t=s;return n.includes(e)?t(519):t(844)}const nh=()=>{const e=s,n=Ge();return B[e(1581)](()=>{const t=e;return{zoomIn:o=>{const x=_0x5590,{panZoom:r}=n.getState();return r?r.scaleBy(1.2,o):Promise[x(1952)](!1)},zoomOut:o=>{const x=_0x5590,{panZoom:r}=n[x(1305)]();return r?r[x(1175)](1/1.2,o):Promise[x(1952)](!1)},zoomTo:(o,x)=>{const r=_0x5590,{panZoom:i}=n[r(1305)]();return i?i[r(407)](o,x):Promise[r(1952)](!1)},getZoom:()=>n[t(1305)]()[t(1121)][2],setViewport:async(o,x)=>{const r=t,{transform:[i,c,d],panZoom:a}=n[r(1305)]();return a?(await a.setViewport({x:o.x??i,y:o.y??c,zoom:o[r(1675)]??d},x),Promise[r(1952)](!0)):Promise[r(1952)](!1)},getViewport:()=>{const o=t,[x,r,i]=n[o(1305)]()[o(1121)];return{x,y:r,zoom:i}},setCenter:async(o,x,r)=>n[t(1305)]().setCenter(o,x,r),fitBounds:async(o,x)=>{const r=t,{width:i,height:c,minZoom:d,maxZoom:a,panZoom:u}=n[r(1305)](),f=So(o,i,c,d,a,x?.[r(448)]??.1);return u?(await u[r(1758)](f,{duration:x?.[r(850)],ease:x?.[r(1834)],interpolate:x?.[r(1939)]}),Promise[r(1952)](!0)):Promise[r(1952)](!1)},screenToFlowPosition:(o,x={})=>{const r=t,{transform:i,snapGrid:c,snapToGrid:d,domNode:a}=n[r(1305)]();if(!a)return o;const{x:u,y:f}=a.getBoundingClientRect(),b={x:o.x-u,y:o.y-f},g=x.snapGrid??c,w=x.snapToGrid??d;return ht(b,i,w,g)},flowToScreenPosition:o=>{const x=t,{transform:r,domNode:i}=n[x(1305)]();if(!i)return o;const{x:c,y:d}=i[x(1821)](),a=ux(o,r);return{x:a.x+c,y:a.y+d}}}},[])};function wa(e,n){const t=s,o=[],x=new Map,r=[];for(const i of e)if(i.type===t(729)){r[t(1759)](i);continue}else if(i[t(1912)]==="remove"||i[t(1912)]===t(830))x[t(721)](i.id,[i]);else{const c=x[t(1861)](i.id);c?c.push(i):x.set(i.id,[i])}for(const i of n){const c=x[t(1861)](i.id);if(!c){o[t(1759)](i);continue}if(c[0][t(1912)]===t(928))continue;if(c[0][t(1912)]===t(830)){o[t(1759)]({...c[0][t(1160)]});continue}const d={...i};for(const a of c)th(a,d);o[t(1759)](d)}return r[t(2179)]&&r[t(1322)](i=>{const c=t;i[c(461)]!==void 0?o.splice(i[c(461)],0,{...i.item}):o[c(1759)]({...i[c(1160)]})}),o}function th(e,n){const t=s;switch(e[t(1912)]){case t(787):{n[t(1274)]=e[t(1274)];break}case"position":{typeof e[t(835)]!==t(383)&&(n.position=e[t(835)]),typeof e[t(1941)]!==t(383)&&(n.dragging=e[t(1941)]);break}case t(497):{typeof e[t(497)]!==t(383)&&(n[t(510)]={...e.dimensions},e.setAttributes&&((e[t(1329)]===!0||e[t(1329)]===t(1710))&&(n[t(1710)]=e[t(497)][t(1710)]),(e[t(1329)]===!0||e.setAttributes===t(1355))&&(n[t(1355)]=e[t(497)].height))),typeof e[t(1503)]===t(743)&&(n[t(1503)]=e[t(1503)]);break}}}function va(e,n){return wa(e,n)}function pa(e,n){return wa(e,n)}function fn(e,n){return{id:e,type:s(787),selected:n}}function En(e,n=new Set,t=!1){const o=s,x=[];for(const[r,i]of e){const c=n[o(1147)](r);!(i[o(1274)]===void 0&&!c)&&i[o(1274)]!==c&&(t&&(i.selected=c),x.push(fn(i.id,c)))}return x}function za({items:e=[],lookup:n}){const t=s,o=[],x=new Map(e[t(474)](r=>[r.id,r]));for(const[r,i]of e[t(1615)]()){const c=n.get(i.id),d=c?.[t(1157)]?.userNode??c;d!==void 0&&d!==i&&o[t(1759)]({id:i.id,item:i,type:t(830)}),d===void 0&&o[t(1759)]({item:i,type:t(729),index:r})}for(const[r]of n)x.get(r)===void 0&&o[t(1759)]({id:r,type:t(928)});return o}function Ca(e){const n=s;return{id:e.id,type:n(928)}}const Ma=e=>L2(e),xh=e=>dc(e);function Ba(e){return B[s(426)](e)}function Da(e){const n=s,[t,o]=B[n(883)](BigInt(0)),[x]=B.useState(()=>oh(()=>o(r=>r+BigInt(1))));return Zo(()=>{const r=n,i=x[r(1861)]();i[r(2179)]&&(e(i),x[r(1775)]())},[t]),x}function oh(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x5590(1759)](t),e()}}}const La=B.createContext(null);function rh({children:e}){const n=s,t=Ge(),o=B[n(1318)](d=>{const a=n,{nodes:u=[],setNodes:f,hasDefaultNodes:b,onNodesChange:g,nodeLookup:w,fitViewQueued:h,onNodesChangeMiddlewareMap:v}=t[a(1305)]();let M=u;for(const y of d)M=typeof y===a(1347)?y(M):y;let m=za({items:M,lookup:w});for(const y of v[a(1982)]())m=y(m);b&&f(M),m[a(2179)]>0?g?.(m):h&&window.requestAnimationFrame(()=>{const{fitViewQueued:y,nodes:p,setNodes:z}=t.getState();y&&z(p)})},[]),x=Da(o),r=B.useCallback(d=>{const a=n,{edges:u=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:g,edgeLookup:w}=t[a(1305)]();let h=u;for(const v of d)h=typeof v===a(1347)?v(h):v;b?f(h):g&&g(za({items:h,lookup:w}))},[]),i=Da(r),c=B[n(1581)](()=>({nodeQueue:x,edgeQueue:i}),[]);return l[n(1375)](La.Provider,{value:c,children:e})}function ih(){const e=s,n=B[e(1773)](La);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const ch=e=>!!e[s(686)];function Ro(){const e=s,n=nh(),t=Ge(),o=ih(),x=Pe(ch),r=B.useMemo(()=>{const i=_0x5590,c=g=>t[i(1305)]()[i(717)][i(1861)](g),d=g=>{const w=i;o.nodeQueue[w(1759)](g)},a=g=>{const w=i;o.edgeQueue[w(1759)](g)},u=g=>{const w=i,{nodeLookup:h,nodeOrigin:v}=t[w(1305)](),M=Ma(g)?g:h[w(1861)](g.id),m=M[w(1907)]?vc(M[w(835)],M.measured,M[w(1907)],h,v):M[w(835)],y={...M,position:m,width:M[w(510)]?.[w(1710)]??M[w(1710)],height:M[w(510)]?.[w(1355)]??M[w(1355)]};return In(y)},f=(g,w,h={replace:!1})=>{const v=i;d(M=>M[v(474)](m=>{if(m.id===g){const y=typeof w=="function"?w(m):w;return h.replace&&Ma(y)?y:{...m,...y}}return m}))},b=(g,w,h={replace:!1})=>{const v=i;a(M=>M[v(474)](m=>{const y=v;if(m.id===g){const p=typeof w===y(1347)?w(m):w;return h[y(830)]&&xh(p)?p:{...m,...p}}return m}))};return{getNodes:()=>t[i(1305)]()[i(960)][i(474)](g=>({...g})),getNode:g=>c(g)?.[i(1157)][i(1275)],getInternalNode:c,getEdges:()=>{const g=i,{edges:w=[]}=t[g(1305)]();return w[g(474)](h=>({...h}))},getEdge:g=>t[i(1305)]()[i(2052)][i(1861)](g),setNodes:d,setEdges:a,addNodes:g=>{const w=i,h=Array.isArray(g)?g:[g];o[w(492)][w(1759)](v=>[...v,...h])},addEdges:g=>{const w=i,h=Array.isArray(g)?g:[g];o.edgeQueue[w(1759)](v=>[...v,...h])},toObject:()=>{const g=i,{nodes:w=[],edges:h=[],transform:v}=t[g(1305)](),[M,m,y]=v;return{nodes:w.map(p=>({...p})),edges:h[g(474)](p=>({...p})),viewport:{x:M,y:m,zoom:y}}},deleteElements:async({nodes:g=[],edges:w=[]})=>{const h=i,{nodes:v,edges:M,onNodesDelete:m,onEdgesDelete:y,triggerNodeChanges:p,triggerEdgeChanges:z,onDelete:P,onBeforeDelete:G}=t[h(1305)](),{nodes:O,edges:V}=await P2({nodesToRemove:g,edgesToRemove:w,nodes:v,edges:M,onBeforeDelete:G}),j=V[h(2179)]>0,q=O[h(2179)]>0;if(j){const H=V[h(474)](Ca);y?.(V),z(H)}if(q){const H=O[h(474)](Ca);m?.(O),p(H)}return(q||j)&&P?.({nodes:O,edges:V}),{deletedNodes:O,deletedEdges:V}},getIntersectingNodes:(g,w=!0,h)=>{const v=i,M=yc(g),m=M?g:u(g),y=h!==void 0;return m?(h||t.getState()[v(960)])[v(815)](p=>{const z=v,P=t.getState()[z(717)][z(1861)](p.id);if(P&&!M&&(p.id===g.id||!P[z(1157)].positionAbsolute))return!1;const G=In(y?p:P),O=ut(G,m);return w&&O>0||O>=G[z(1710)]*G[z(1355)]||O>=m[z(1710)]*m[z(1355)]}):[]},isNodeIntersecting:(g,w,h=!0)=>{const v=i,M=yc(g),m=M?g:u(g);if(!m)return!1;const y=ut(m,w);return h&&y>0||y>=w[v(1710)]*w.height||y>=m.width*m[v(1355)]},updateNode:f,updateNodeData:(g,w,h={replace:!1})=>{f(g,v=>{const M=_0x5590,m=typeof w=="function"?w(v):w;return h[M(830)]?{...v,data:m}:{...v,data:{...v[M(1551)],...m}}},h)},updateEdge:b,updateEdgeData:(g,w,h={replace:!1})=>{b(g,v=>{const M=_0x5590,m=typeof w===M(1347)?w(v):w;return h[M(830)]?{...v,data:m}:{...v,data:{...v[M(1551)],...m}}},h)},getNodesBounds:g=>{const w=i,{nodeLookup:h,nodeOrigin:v}=t[w(1305)]();return N2(g,{nodeLookup:h,nodeOrigin:v})},getHandleConnections:({type:g,id:w,nodeId:h})=>Array[i(1365)](t[i(1305)]()[i(799)][i(1861)](h+"-"+g+(w?"-"+w:""))?.[i(1982)]()??[]),getNodeConnections:({type:g,handleId:w,nodeId:h})=>Array[i(1365)](t[i(1305)]()[i(799)][i(1861)](""+h+(g?w?"-"+g+"-"+w:"-"+g:""))?.[i(1982)]()??[]),fitView:async g=>{const w=i,h=t[w(1305)]()[w(1789)]??Y2();return t[w(1770)]({fitViewQueued:!0,fitViewOptions:g,fitViewResolver:h}),o[w(492)][w(1759)](v=>[...v]),h[w(1915)]}}},[]);return B[e(1581)](()=>({...r,...n,viewportInitialized:x}),[x])}const Na=e=>e[s(1274)],ah=typeof window!==s(383)?window:void 0;function sh({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=s,o=Ge(),{deleteElements:x}=Ro(),r=yt(e,{actInsideInputWithModifier:!1}),i=yt(n,{target:ah});B.useEffect(()=>{const c=_0x5590;if(r){const{edges:d,nodes:a}=o[c(1305)]();x({nodes:a.filter(Na),edges:d.filter(Na)}),o.setState({nodesSelectionActive:!1})}},[r]),B[t(2005)](()=>{o[t(1770)]({multiSelectionActive:i})},[i])}function lh(e){const n=s,t=Ge();B[n(2005)](()=>{const o=n,x=()=>{const r=_0x5590;if(!e[r(523)]||!(e[r(523)][r(731)]?.()??!0))return!1;const i=ko(e[r(523)]);(i[r(1355)]===0||i[r(1710)]===0)&&t[r(1305)]()[r(581)]?.("004",f0[r(1198)]()),t[r(1770)]({width:i[r(1710)]||500,height:i.height||500})};if(e[o(523)]){x(),window[o(1892)]("resize",x);const r=new ResizeObserver(()=>x());return r[o(2100)](e[o(523)]),()=>{const i=o;window[i(1665)](i(1816),x),r&&e[i(523)]&&r[i(1643)](e[i(523)])}}},[])}const px={position:s(2122),width:s(1575),height:"100%",top:0,left:0},dh=e=>({userSelectionActive:e.userSelectionActive,lib:e[s(1061)],connectionInProgress:e[s(1561)][s(1829)]});function uh({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:o=!1,panOnScrollSpeed:x=.5,panOnScrollMode:r=ln[s(699)],zoomOnDoubleClick:i=!0,panOnDrag:c=!0,defaultViewport:d,translateExtent:a,minZoom:u,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:g=!0,children:w,noWheelClassName:h,noPanClassName:v,onViewportChange:M,isControlledViewport:m,paneClickDistance:y,selectionOnDrag:p}){const z=s,P=Ge(),G=B[z(780)](null),{userSelectionActive:O,lib:V,connectionInProgress:j}=Pe(dh,Ue),q=yt(b),H=B.useRef();lh(G);const W=B[z(1318)](T=>{const N=z;M?.({x:T[0],y:T[1],zoom:T[2]}),!m&&P[N(1770)]({transform:T})},[M,m]);return B[z(2005)](()=>{const T=z;if(G[T(523)]){H.current=y5({domNode:G[T(523)],minZoom:u,maxZoom:f,translateExtent:a,viewport:d,onDraggingChange:Y=>P[T(1770)](U=>U[T(1321)]===Y?U:{paneDragging:Y}),onPanZoomStart:(Y,U)=>{const I=T,{onViewportChangeStart:J,onMoveStart:$}=P[I(1305)]();$?.(Y,U),J?.(U)},onPanZoom:(Y,U)=>{const{onViewportChange:I,onMove:J}=P.getState();J?.(Y,U),I?.(U)},onPanZoomEnd:(Y,U)=>{const I=T,{onViewportChangeEnd:J,onMoveEnd:$}=P[I(1305)]();$?.(Y,U),J?.(U)}});const{x:N,y:L,zoom:D}=H.current[T(1641)]();return P[T(1770)]({panZoom:H[T(523)],transform:[N,L,D],domNode:G[T(523)][T(1720)](T(1778))}),()=>{const Y=T;H[Y(523)]?.[Y(1544)]()}}},[]),B.useEffect(()=>{H.current?.update({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:o,panOnScrollSpeed:x,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:c,zoomActivationKeyPressed:q,preventScrolling:g,noPanClassName:v,userSelectionActive:O,noWheelClassName:h,lib:V,onTransformChange:W,connectionInProgress:j,selectionOnDrag:p,paneClickDistance:y})},[e,n,t,o,x,r,i,c,q,g,v,O,h,V,W,j,p,y]),l.jsx(z(1037),{className:z(1948),ref:G,style:px,children:w})}const fh=e=>({userSelectionActive:e[s(2176)],userSelectionRect:e[s(2027)]});function hh(){const e=s,{userSelectionActive:n,userSelectionRect:t}=Pe(fh,Ue);return n&&t?l[e(1375)]("div",{className:"react-flow__selection react-flow__container",style:{width:t[e(1710)],height:t[e(1355)],transform:e(1848)+t.x+e(1057)+t.y+e(604)}}):null}const Jo=(e,n)=>t=>{const o=_0x5590;t[o(500)]===n[o(523)]&&e?.(t)},gh=e=>({userSelectionActive:e[s(2176)],elementsSelectable:e[s(760)],connectionInProgress:e.connection.inProgress,dragging:e[s(1321)]});function bh({isSelecting:e,selectionKeyPressed:n,selectionMode:t=st[s(452)],panOnDrag:o,paneClickDistance:x,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:c,onPaneClick:d,onPaneContextMenu:a,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:g,children:w}){const h=s,v=Ge(),{userSelectionActive:M,elementsSelectable:m,dragging:y,connectionInProgress:p}=Pe(gh,Ue),z=m&&(e||M),P=B[h(780)](null),G=B[h(780)](),O=B.useRef(new Set),V=B[h(780)](new Set),j=B[h(780)](!1),q=U=>{const I=h;if(j[I(523)]||p){j[I(523)]=!1;return}d?.(U),v.getState()[I(637)](),v[I(1770)]({nodesSelectionActive:!1})},H=U=>{const I=h;if(Array[I(565)](o)&&o?.[I(1419)](2)){U.preventDefault();return}a?.(U)},W=u?U=>u(U):void 0,T=U=>{const I=h;j[I(523)]&&(U[I(1313)](),j[I(523)]=!1)},N=U=>{const I=h,{domNode:J}=v[I(1305)]();if(G[I(523)]=J?.[I(1821)](),!G.current)return;const $=U.target===P[I(523)];if(!$&&!!U.target[I(1720)](".nokey")||!e||!(r&&$||n)||U[I(752)]!==0||!U[I(1326)])return;U[I(500)]?.[I(2146)]?.(U.pointerId),j[I(523)]=!1;const{x:re,y:ae}=M0(U.nativeEvent,G.current);v[I(1770)]({userSelectionRect:{width:0,height:0,startX:re,startY:ae,x:re,y:ae}}),!$&&(U[I(1313)](),U.preventDefault())},L=U=>{const I=h,{userSelectionRect:J,transform:$,nodeLookup:F,edgeLookup:xe,connectionLookup:re,triggerNodeChanges:ae,triggerEdgeChanges:ue,defaultEdgeOptions:me,resetSelectedElements:se}=v[I(1305)]();if(!G.current||!J)return;const{x:ee,y:le}=M0(U.nativeEvent,G[I(523)]),{startX:be,startY:E}=J;if(!j[I(523)]){const X=n?0:x;if(Math[I(783)](ee-be,le-E)<=X)return;se(),i?.(U)}j[I(523)]=!0;const A={startX:be,startY:E,x:ee<be?ee:be,y:le<E?le:E,width:Math[I(1537)](ee-be),height:Math[I(1537)](le-E)},Z=O[I(523)],ne=V.current;O[I(523)]=new Set(Lo(F,A,$,t===st[I(1098)],!0).map(X=>X.id)),V[I(523)]=new Set;const te=me?.[I(1546)]??!0;for(const X of O[I(523)]){const oe=re[I(1861)](X);if(oe)for(const{edgeId:ve}of oe[I(1982)]()){const pe=xe[I(1861)](ve);pe&&(pe[I(1546)]??te)&&V[I(523)][I(729)](ve)}}if(!pc(Z,O.current)){const X=En(F,O[I(523)],!0);ae(X)}if(!pc(ne,V.current)){const X=En(xe,V[I(523)]);ue(X)}v[I(1770)]({userSelectionRect:A,userSelectionActive:!0,nodesSelectionActive:!1})},D=U=>{const I=h;U.button===0&&(U[I(500)]?.[I(683)]?.(U[I(976)]),!M&&U[I(500)]===P.current&&v[I(1305)]()[I(2027)]&&q?.(U),v.setState({userSelectionActive:!1,userSelectionRect:null}),j[I(523)]&&(c?.(U),v[I(1770)]({nodesSelectionActive:O[I(523)][I(1046)]>0})))},Y=o===!0||Array[h(565)](o)&&o[h(1419)](0);return l[h(884)](h(1037),{className:Xe([h(805),{draggable:Y,dragging:y,selection:e}]),onClick:z?void 0:Jo(q,P),onContextMenu:Jo(H,P),onWheel:Jo(W,P),onPointerEnter:z?void 0:f,onPointerMove:z?L:b,onPointerUp:z?D:void 0,onPointerDownCapture:z?N:void 0,onClickCapture:z?T:void 0,onPointerLeave:g,ref:P,style:px,children:[w,l[h(1375)](hh,{})]})}function _o({id:e,store:n,unselect:t=!1,nodeRef:o}){const x=s,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:c,nodeLookup:d,onError:a}=n[x(1305)](),u=d.get(e);if(!u){a?.(x(2019),f0.error012(e));return}n.setState({nodesSelectionActive:!1}),u[x(1274)]?(t||u[x(1274)]&&c)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.current?.[x(549)]())):r([e])}function Sa({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:o,nodeId:x,isSelectable:r,nodeClickDistance:i}){const c=s,d=Ge(),[a,u]=B.useState(!1),f=B[c(780)]();return B[c(2005)](()=>{const b=c;f[b(523)]=x5({getStoreItems:()=>d[b(1305)](),onNodeMouseDown:g=>{_o({id:g,store:d,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),B.useEffect(()=>{const b=c;if(!(n||!e[b(523)]||!f.current))return f[b(523)][b(905)]({noDragClassName:t,handleSelector:o,domNode:e[b(523)],isSelectable:r,nodeId:x,nodeClickDistance:i}),()=>{const g=b;f[g(523)]?.[g(1544)]()}},[t,o,n,r,e,x,i]),a}const yh=e=>n=>n.selected&&(n[s(1533)]||e&&typeof n[s(1533)]===s(383));function ka(){const e=s,n=Ge();return B[e(1318)](o=>{const x=e,{nodeExtent:r,snapToGrid:i,snapGrid:c,nodesDraggable:d,onError:a,updateNodePositions:u,nodeLookup:f,nodeOrigin:b}=n[x(1305)](),g=new Map,w=yh(d),h=i?c[0]:5,v=i?c[1]:5,M=o[x(1917)].x*h*o[x(833)],m=o[x(1917)].y*v*o[x(833)];for(const[,y]of f){if(!w(y))continue;let p={x:y.internals[x(1443)].x+M,y:y[x(1157)][x(1443)].y+m};i&&(p=ft(p,c));const{position:z,positionAbsolute:P}=uc({nodeId:y.id,nextPosition:p,nodeLookup:f,nodeExtent:r,nodeOrigin:b,onError:a});y[x(835)]=z,y[x(1157)][x(1443)]=P,g.set(y.id,y)}u(g)},[])}const Qo=B[s(531)](null),mh=Qo[s(431)];Qo[s(1721)];const Ia=()=>B.useContext(Qo),wh=e=>({connectOnClick:e[s(1937)],noPanClassName:e[s(1059)],rfId:e.rfId}),vh=(e,n,t)=>o=>{const x=s,{connectionClickStartHandle:r,connectionMode:i,connection:c}=o,{fromHandle:d,toHandle:a,isValid:u}=c,f=a?.[x(1632)]===e&&a?.id===n&&a?.[x(1912)]===t;return{connectingFrom:d?.nodeId===e&&d?.id===n&&d?.[x(1912)]===t,connectingTo:f,clickConnecting:r?.nodeId===e&&r?.id===n&&r?.type===t,isPossibleEndHandle:i===Sn[x(600)]?d?.[x(1912)]!==t:e!==d?.[x(1632)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function ph({type:e=s(766),position:n=ze[s(1962)],isValidConnection:t,isConnectable:o=!0,isConnectableStart:x=!0,isConnectableEnd:r=!0,id:i,onConnect:c,children:d,className:a,onMouseDown:u,onTouchStart:f,...b},g){const w=s,h=i||null,v=e===w(500),M=Ge(),m=Ia(),{connectOnClick:y,noPanClassName:p,rfId:z}=Pe(wh,Ue),{connectingFrom:P,connectingTo:G,clickConnecting:O,isPossibleEndHandle:V,connectionInProcess:j,clickConnectionInProcess:q,valid:H}=Pe(vh(m,h,e),Ue);!m&&M[w(1305)]()[w(581)]?.(w(1809),f0.error010());const W=L=>{const D=w,{defaultEdgeOptions:Y,onConnect:U,hasDefaultEdges:I}=M.getState(),J={...Y,...L};if(I){const{edges:$,setEdges:F}=M[D(1305)]();F(kc(J,$))}U?.(J),c?.(J)},T=L=>{const D=w;if(!m)return;const Y=Mc(L[D(939)]);if(x&&(Y&&L[D(752)]===0||!Y)){const U=M.getState();Ho[D(1409)](L[D(939)],{handleDomNode:L[D(1630)],autoPanOnConnect:U.autoPanOnConnect,connectionMode:U.connectionMode,connectionRadius:U[D(2050)],domNode:U.domNode,nodeLookup:U[D(717)],lib:U.lib,isTarget:v,handleId:h,nodeId:m,flowId:U[D(638)],panBy:U.panBy,cancelConnection:U[D(2076)],onConnectStart:U[D(2061)],onConnectEnd:(...I)=>M.getState()[D(2108)]?.(...I),updateConnection:U.updateConnection,onConnect:W,isValidConnection:t||((...I)=>M[D(1305)]()[D(1100)]?.(...I)??!0),getTransform:()=>M[D(1305)]().transform,getFromHandle:()=>M[D(1305)]()[D(1561)][D(2118)],autoPanSpeed:U[D(768)],dragThreshold:U.connectionDragThreshold})}Y?u?.(L):f?.(L)},N=L=>{const D=w,{onClickConnectStart:Y,onClickConnectEnd:U,connectionClickStartHandle:I,connectionMode:J,isValidConnection:$,lib:F,rfId:xe,nodeLookup:re,connection:ae}=M[D(1305)]();if(!m||!I&&!x)return;if(!I){Y?.(L.nativeEvent,{nodeId:m,handleId:h,handleType:e}),M[D(1770)]({connectionClickStartHandle:{nodeId:m,type:e,id:h}});return}const ue=zc(L[D(500)]),me=t||$,{connection:se,isValid:ee}=Ho[D(706)](L[D(939)],{handle:{nodeId:m,id:h,type:e},connectionMode:J,fromNodeId:I[D(1632)],fromHandleId:I.id||null,fromType:I[D(1912)],isValidConnection:me,flowId:xe,doc:ue,lib:F,nodeLookup:re});ee&&se&&W(se);const le=structuredClone(ae);delete le[D(1829)],le.toPosition=le[D(824)]?le[D(824)].position:null,U?.(L,le),M.setState({connectionClickStartHandle:null})};return l.jsx(w(1037),{"data-handleid":h,"data-nodeid":m,"data-handlepos":n,"data-id":z+"-"+m+"-"+h+"-"+e,className:Xe([w(1541),"react-flow__handle-"+n,"nodrag",p,a,{source:!v,target:v,connectable:o,connectablestart:x,connectableend:r,clickconnecting:O,connectingfrom:P,connectingto:G,valid:H,connectionindicator:o&&(!j||V)&&(j||q?r:x)}]),onMouseDown:T,onTouchStart:T,onClick:y?N:void 0,ref:g,...b,children:d})}const Un=B[s(2002)](Ba(ph));function zh({data:e,isConnectable:n,sourcePosition:t=ze[s(2110)]}){const o=s;return l.jsxs(l[o(1465)],{children:[e?.[o(663)],l.jsx(Un,{type:o(766),position:t,isConnectable:n})]})}function Ch({data:e,isConnectable:n,targetPosition:t=ze[s(1962)],sourcePosition:o=ze.Bottom}){const x=s;return l[x(884)](l[x(1465)],{children:[l[x(1375)](Un,{type:x(500),position:t,isConnectable:n}),e?.label,l[x(1375)](Un,{type:"source",position:o,isConnectable:n})]})}function Mh(){return null}function Bh({data:e,isConnectable:n,targetPosition:t=ze[s(1962)]}){const o=s;return l[o(884)](l[o(1465)],{children:[l.jsx(Un,{type:o(500),position:t,isConnectable:n}),e?.[o(663)]]})}const zx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Pa={input:zh,default:Ch,output:Bh,group:Mh};function Dh(e){const n=s;return e.internals.handleBounds===void 0?{width:e.width??e[n(2175)]??e[n(1476)]?.[n(1710)],height:e[n(1355)]??e.initialHeight??e[n(1476)]?.height}:{width:e[n(1710)]??e.style?.[n(1710)],height:e[n(1355)]??e[n(1476)]?.[n(1355)]}}const Lh=e=>{const n=s,{width:t,height:o,x,y:r}=dt(e.nodeLookup,{filter:i=>!!i[n(1274)]});return{width:C0(t)?t:null,height:C0(o)?o:null,userSelectionActive:e.userSelectionActive,transformString:n(1848)+e[n(1121)][0]+n(1619)+e[n(1121)][1]+n(1366)+e[n(1121)][2]+n(1696)+x+n(1619)+r+n(604)}};function Nh({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const o=s,x=Ge(),{width:r,height:i,transformString:c,userSelectionActive:d}=Pe(Lh,Ue),a=ka(),u=B.useRef(null);B[o(2005)](()=>{!t&&u.current?.focus({preventScroll:!0})},[t]);const f=!d&&r!==null&&i!==null;if(Sa({nodeRef:u,disabled:!f}),!f)return null;const b=e?w=>{const h=o,v=x[h(1305)]().nodes[h(815)](M=>M.selected);e(w,v)}:void 0,g=w=>{const h=o;Object[h(2107)][h(911)][h(414)](zx,w[h(844)])&&(w[h(810)](),a({direction:zx[w.key],factor:w[h(1139)]?4:1}))};return l[o(1375)](o(1037),{className:Xe([o(900),o(595),n]),style:{transform:c},children:l[o(1375)]("div",{ref:u,className:o(1433),onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:g,style:{width:r,height:i}})})}const Aa=typeof window!==s(383)?window:void 0,Sh=e=>({nodesSelectionActive:e[s(1005)],userSelectionActive:e.userSelectionActive});function ja({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:c,deleteKeyCode:d,selectionKeyCode:a,selectionOnDrag:u,selectionMode:f,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:w,panActivationKeyCode:h,zoomActivationKeyCode:v,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:p,panOnScrollSpeed:z,panOnScrollMode:P,zoomOnDoubleClick:G,panOnDrag:O,defaultViewport:V,translateExtent:j,minZoom:q,maxZoom:H,preventScrolling:W,onSelectionContextMenu:T,noWheelClassName:N,noPanClassName:L,disableKeyboardA11y:D,onViewportChange:Y,isControlledViewport:U}){const I=s,{nodesSelectionActive:J,userSelectionActive:$}=Pe(Sh,Ue),F=yt(a,{target:Aa}),xe=yt(h,{target:Aa}),re=xe||O,ae=xe||p,ue=u&&re!==!0,me=F||$||ue;return sh({deleteKeyCode:d,multiSelectionKeyCode:w}),l[I(1375)](uh,{onPaneContextMenu:r,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:y,panOnScroll:ae,panOnScrollSpeed:z,panOnScrollMode:P,zoomOnDoubleClick:G,panOnDrag:!F&&re,defaultViewport:V,translateExtent:j,minZoom:q,maxZoom:H,zoomActivationKeyCode:v,preventScrolling:W,noWheelClassName:N,noPanClassName:L,onViewportChange:Y,isControlledViewport:U,paneClickDistance:c,selectionOnDrag:ue,children:l.jsxs(bh,{onSelectionStart:b,onSelectionEnd:g,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:o,onPaneMouseLeave:x,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:re,isSelecting:!!me,selectionMode:f,selectionKeyPressed:F,paneClickDistance:c,selectionOnDrag:ue,children:[e,J&&l[I(1375)](Nh,{onSelectionContextMenu:T,noPanClassName:L,disableKeyboardA11y:D})]})})}ja[s(1293)]=s(1201);const kh=B.memo(ja),Ih=e=>n=>{const t=s;return e?Lo(n[t(717)],{x:0,y:0,width:n[t(1710)],height:n[t(1355)]},n.transform,!0)[t(474)](o=>o.id):Array[t(1365)](n[t(717)][t(999)]())};function Ph(e){return Pe(B[s(1318)](Ih(e),[e]),Ue)}const Ah=e=>e.updateNodeInternals;function jh(){const e=s,n=Pe(Ah),[t]=B[e(883)](()=>typeof ResizeObserver===e(383)?null:new ResizeObserver(x=>{const r=new Map;x.forEach(i=>{const c=_0x5590,d=i[c(500)].getAttribute(c(395));r[c(721)](d,{id:d,nodeElement:i.target,force:!0})}),n(r)}));return B[e(2005)](()=>()=>{t?.[_0x5590(1714)]()},[t]),t}function Yh({node:e,nodeType:n,hasDimensions:t,resizeObserver:o}){const x=s,r=Ge(),i=B.useRef(null),c=B[x(780)](null),d=B[x(780)](e[x(885)]),a=B[x(780)](e[x(1558)]),u=B[x(780)](n),f=t&&!!e[x(1157)].handleBounds;return B.useEffect(()=>{const b=x;i[b(523)]&&!e[b(1771)]&&(!f||c[b(523)]!==i.current)&&(c[b(523)]&&o?.[b(1643)](c.current),o?.[b(2100)](i[b(523)]),c.current=i.current)},[f,e[x(1771)]]),B.useEffect(()=>()=>{const b=_0x5590;c.current&&(o?.unobserve(c.current),c[b(523)]=null)},[]),B[x(2005)](()=>{const b=x;if(i.current){const g=u.current!==n,w=d.current!==e[b(885)],h=a.current!==e[b(1558)];(g||w||h)&&(u[b(523)]=n,d.current=e.sourcePosition,a[b(523)]=e[b(1558)],r[b(1305)]().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,n,e.sourcePosition,e[x(1558)]]),i}function Eh({id:e,onClick:n,onMouseEnter:t,onMouseMove:o,onMouseLeave:x,onContextMenu:r,onDoubleClick:i,nodesDraggable:c,elementsSelectable:d,nodesConnectable:a,nodesFocusable:u,resizeObserver:f,noDragClassName:b,noPanClassName:g,disableKeyboardA11y:w,rfId:h,nodeTypes:v,nodeClickDistance:M,onError:m}){const y=s,{node:p,internals:z,isParent:P}=Pe(se=>{const ee=_0x5590,le=se[ee(717)][ee(1861)](e),be=se.parentLookup.has(e);return{node:le,internals:le.internals,isParent:be}},Ue);let G=p[y(1912)]||y(384),O=v?.[G]||Pa[G];O===void 0&&(m?.("003",f0[y(1883)](G)),G="default",O=v?.default||Pa[y(384)]);const V=!!(p[y(1533)]||c&&typeof p.draggable===y(383)),j=!!(p[y(1546)]||d&&typeof p[y(1546)]===y(383)),q=!!(p[y(1424)]||a&&typeof p[y(1424)]===y(383)),H=!!(p.focusable||u&&typeof p.focusable===y(383)),W=Ge(),T=wc(p),N=Yh({node:p,nodeType:G,hasDimensions:T,resizeObserver:f}),L=Sa({nodeRef:N,disabled:p[y(1771)]||!V,noDragClassName:b,handleSelector:p[y(1970)],nodeId:e,isSelectable:j,nodeClickDistance:M}),D=ka();if(p[y(1771)])return null;const Y=T0(p),U=Dh(p),I=j||V||n||t||o||x,J=t?se=>t(se,{...z.userNode}):void 0,$=o?se=>o(se,{...z[y(1275)]}):void 0,F=x?se=>x(se,{...z[y(1275)]}):void 0,xe=r?se=>r(se,{...z[y(1275)]}):void 0,re=i?se=>i(se,{...z[y(1275)]}):void 0,ae=se=>{const ee=y,{selectNodesOnDrag:le,nodeDragThreshold:be}=W[ee(1305)]();j&&(!le||!V||be>0)&&_o({id:e,store:W,nodeRef:N}),n&&n(se,{...z.userNode})},ue=se=>{const ee=y;if(!(Cc(se[ee(939)])||w)){if(ic.includes(se[ee(844)])&&j){const le=se.key===ee(1286);_o({id:e,store:W,unselect:le,nodeRef:N})}else if(V&&p[ee(1274)]&&Object[ee(2107)][ee(911)][ee(414)](zx,se[ee(844)])){se[ee(810)]();const{ariaLabelConfig:le}=W[ee(1305)]();W[ee(1770)]({ariaLiveMessage:le[ee(1141)]({direction:se.key[ee(830)](ee(877),"")[ee(1239)](),x:~~z.positionAbsolute.x,y:~~z[ee(1443)].y})}),D({direction:zx[se[ee(844)]],factor:se.shiftKey?4:1})}}},me=()=>{const se=y;if(w||!N[se(523)]?.[se(1844)](se(1895)))return;const{transform:ee,width:le,height:be,autoPanOnNodeFocus:E,setCenter:A}=W[se(1305)]();if(!E)return;!(Lo(new Map([[e,p]]),{x:0,y:0,width:le,height:be},ee,!0)[se(2179)]>0)&&A(p[se(835)].x+Y[se(1710)]/2,p[se(835)].y+Y.height/2,{zoom:ee[2]})};return l[y(1375)](y(1037),{className:Xe([y(1344),"react-flow__node-"+G,{[g]:V},p[y(1320)],{selected:p[y(1274)],selectable:j,parent:P,draggable:V,dragging:L}]),ref:N,style:{zIndex:z.z,transform:y(1848)+z[y(1443)].x+y(1619)+z[y(1443)].y+y(604),pointerEvents:y(I?906:988),visibility:y(T?963:1771),...p[y(1476)],...U},"data-id":e,"data-testid":y(1490)+e,onMouseEnter:J,onMouseMove:$,onMouseLeave:F,onContextMenu:xe,onClick:ae,onDoubleClick:re,onKeyDown:H?ue:void 0,tabIndex:H?0:void 0,onFocus:H?me:void 0,role:p[y(1001)]??(H?y(744):void 0),"aria-roledescription":y(1504),"aria-describedby":w?void 0:la+"-"+h,"aria-label":p[y(353)],...p[y(1566)],children:l[y(1375)](mh,{value:e,children:l[y(1375)](O,{id:e,data:p[y(1551)],type:G,positionAbsoluteX:z[y(1443)].x,positionAbsoluteY:z[y(1443)].y,selected:p[y(1274)]??!1,selectable:j,draggable:V,deletable:p[y(1092)]??!0,isConnectable:q,sourcePosition:p[y(885)],targetPosition:p[y(1558)],dragging:L,dragHandle:p.dragHandle,zIndex:z.z,parentId:p[y(1907)],...Y})})})}var Uh=B[s(2002)](Eh);const Gh=e=>({nodesDraggable:e[s(1309)],nodesConnectable:e[s(563)],nodesFocusable:e[s(555)],elementsSelectable:e.elementsSelectable,onError:e[s(581)]});function Ya(e){const n=s,{nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,onError:i}=Pe(Gh,Ue),c=Ph(e.onlyRenderVisibleElements),d=jh();return l.jsx(n(1037),{className:"react-flow__nodes",style:px,children:c.map(a=>{const u=n;return l[u(1375)](Uh,{id:a,nodeTypes:e.nodeTypes,nodeExtent:e[u(790)],onClick:e[u(1820)],onMouseEnter:e[u(1535)],onMouseMove:e[u(1822)],onMouseLeave:e[u(1905)],onContextMenu:e[u(521)],onDoubleClick:e[u(1357)],noDragClassName:e[u(970)],noPanClassName:e[u(1059)],rfId:e[u(638)],disableKeyboardA11y:e[u(1116)],resizeObserver:d,nodesDraggable:t,nodesConnectable:o,nodesFocusable:x,elementsSelectable:r,nodeClickDistance:e[u(1961)],onError:i},a)})})}Ya.displayName="NodeRenderer";const Oh=B.memo(Ya);function Hh(e){const n=s;return Pe(B[n(1318)](o=>{const x=n;if(!e)return o[x(2083)].map(i=>i.id);const r=[];if(o[x(1710)]&&o[x(1355)])for(const i of o[x(2083)]){const c=o[x(717)][x(1861)](i[x(766)]),d=o[x(717)].get(i[x(500)]);c&&d&&O2({sourceNode:c,targetNode:d,width:o[x(1710)],height:o.height,transform:o[x(1121)]})&&r.push(i.id)}return r},[e]),Ue)}const Th=({color:e="none",strokeWidth:n=1})=>{const t=s,o={strokeWidth:n,...e&&{stroke:e}};return l.jsx("polyline",{className:t(1713),style:o,strokeLinecap:t(381),fill:t(988),strokeLinejoin:"round",points:t(2128)})},Vh=({color:e=s(988),strokeWidth:n=1})=>{const t=s,o={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(1375)](t(674),{className:t(1362),style:o,strokeLinecap:t(381),strokeLinejoin:t(381),points:t(1664)})},Ea={[ax[s(877)]]:Th,[ax[s(842)]]:Vh};function qh(e){const n=s,t=Ge();return B[n(1581)](()=>{const x=n;return Object[x(2107)][x(911)][x(414)](Ea,e)?Ea[e]:(t[x(1305)]()[x(581)]?.(x(1236),f0.error009(e)),null)},[e])}const Wh=({id:e,type:n,color:t,width:o=12.5,height:x=12.5,markerUnits:r=s(1473),strokeWidth:i,orient:c=s(417)})=>{const d=s,a=qh(n);return a?l.jsx(d(1360),{className:d(629),id:e,markerWidth:""+o,markerHeight:""+x,viewBox:d(1999),markerUnits:r,orient:c,refX:"0",refY:"0",children:l[d(1375)](a,{color:t,strokeWidth:i})}):null},Ua=({defaultColor:e,rfId:n})=>{const t=s,o=Pe(i=>i[t(2083)]),x=Pe(i=>i[t(1555)]),r=B[t(1581)](()=>{const i=t;return K2(o,{id:n,defaultColor:e,defaultMarkerStart:x?.[i(622)],defaultMarkerEnd:x?.[i(1977)]})},[o,x,n,e]);return r.length?l[t(1375)](t(1350),{className:t(450),"aria-hidden":t(1981),children:l[t(1375)](t(1876),{children:r[t(474)](i=>l[t(1375)](Wh,{id:i.id,type:i.type,color:i[t(1176)],width:i.width,height:i[t(1355)],markerUnits:i.markerUnits,strokeWidth:i[t(1473)],orient:i[t(1250)]},i.id))})}):null};Ua[s(1293)]=s(1413);var Xh=B.memo(Ua);function Ga({x:e,y:n,label:t,labelStyle:o,labelShowBg:x=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:c=2,children:d,className:a,...u}){const f=s,[b,g]=B[f(883)]({x:1,y:0,width:0,height:0}),w=Xe([f(486),a]),h=B.useRef(null);return B[f(2005)](()=>{const v=f;if(h[v(523)]){const M=h[v(523)][v(1383)]();g({x:M.x,y:M.y,width:M[v(1710)],height:M[v(1355)]})}},[t]),t?l.jsxs("g",{transform:f(1848)+(e-b[f(1710)]/2)+" "+(n-b[f(1355)]/2)+")",className:w,visibility:b.width?f(963):f(1771),...u,children:[x&&l[f(1375)](f(1389),{width:b[f(1710)]+2*i[0],x:-i[0],y:-i[1],height:b[f(1355)]+2*i[1],className:f(1740),style:r,rx:c,ry:c}),l.jsx("text",{className:f(2062),y:b.height/2,dy:"0.3em",ref:h,style:o,children:t}),d]}):null}Ga[s(1293)]=s(1550);const Kh=B[s(2002)](Ga);function Cx({path:e,labelX:n,labelY:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d,interactionWidth:a=20,...u}){const f=s;return l[f(884)](l[f(1465)],{children:[l[f(1375)](f(1850),{...u,d:e,fill:"none",className:Xe([f(746),u[f(1320)]])}),a?l[f(1375)](f(1850),{d:e,fill:f(988),strokeOpacity:0,strokeWidth:a,className:f(839)}):null,o&&C0(n)&&C0(t)?l.jsx(Kh,{x:n,y:t,label:o,labelStyle:x,labelShowBg:r,labelBgStyle:i,labelBgPadding:c,labelBgBorderRadius:d}):null]})}function Oa({pos:e,x1:n,y1:t,x2:o,y2:x}){return e===ze[s(1029)]||e===ze.Right?[.5*(n+o),t]:[n,.5*(t+x)]}function Ha({sourceX:e,sourceY:n,sourcePosition:t=ze[s(2110)],targetX:o,targetY:x,targetPosition:r=ze[s(1962)]}){const[i,c]=Oa({pos:t,x1:e,y1:n,x2:o,y2:x}),[d,a]=Oa({pos:r,x1:o,y1:x,x2:e,y2:n}),[u,f,b,g]=Dc({sourceX:e,sourceY:n,targetX:o,targetY:x,sourceControlX:i,sourceControlY:c,targetControlX:d,targetControlY:a});return["M"+e+","+n+" C"+i+","+c+" "+d+","+a+" "+o+","+x,u,f,b,g]}function Ta(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:m})=>{const y=n,[p,z,P]=Ha({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d}),G=e[y(1353)]?void 0:t;return l[y(1375)](Cx,{id:G,path:p,labelX:z,labelY:P,label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:m})})}const Zh=Ta({isInternal:!1}),Va=Ta({isInternal:!0});Zh.displayName="SimpleBezierEdge",Va[s(1293)]=s(1898);function qa(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,sourcePosition:w=ze[n(2110)],targetPosition:h=ze[n(1962)],markerEnd:v,markerStart:M,pathOptions:m,interactionWidth:y})=>{const p=n,[z,P,G]=Io({sourceX:o,sourceY:x,sourcePosition:w,targetX:r,targetY:i,targetPosition:h,borderRadius:m?.[p(681)],offset:m?.[p(1709)],stepPosition:m?.[p(1161)]}),O=e.isInternal?void 0:t;return l[p(1375)](Cx,{id:O,path:z,labelX:P,labelY:G,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:v,markerStart:M,interactionWidth:y})})}const Wa=qa({isInternal:!1}),Xa=qa({isInternal:!0});Wa.displayName=s(405),Xa[s(1293)]=s(1405);function Ka(e){const n=s;return B[n(2002)](({id:t,...o})=>{const x=n,r=e[x(1353)]?void 0:t;return l[x(1375)](Wa,{...o,id:r,pathOptions:B.useMemo(()=>({borderRadius:0,offset:o[x(1857)]?.[x(1709)]}),[o.pathOptions?.[x(1709)]])})})}const Rh=Ka({isInternal:!1}),Za=Ka({isInternal:!0});Rh[s(1293)]="StepEdge",Za.displayName="StepEdgeInternal";function Ra(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:h,interactionWidth:v})=>{const M=n,[m,y,p]=Ic({sourceX:o,sourceY:x,targetX:r,targetY:i}),z=e[M(1353)]?void 0:t;return l.jsx(Cx,{id:z,path:m,labelX:y,labelY:p,label:c,labelStyle:d,labelShowBg:a,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:b,style:g,markerEnd:w,markerStart:h,interactionWidth:v})})}const Jh=Ra({isInternal:!1}),Ja=Ra({isInternal:!0});Jh[s(1293)]=s(2073),Ja[s(1293)]=s(950);function _a(e){const n=s;return B[n(2002)](({id:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c=ze[n(2110)],targetPosition:d=ze[n(1962)],label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,pathOptions:m,interactionWidth:y})=>{const p=n,[z,P,G]=Nc({sourceX:o,sourceY:x,sourcePosition:c,targetX:r,targetY:i,targetPosition:d,curvature:m?.[p(1467)]}),O=e[p(1353)]?void 0:t;return l.jsx(Cx,{id:O,path:z,labelX:P,labelY:G,label:a,labelStyle:u,labelShowBg:f,labelBgStyle:b,labelBgPadding:g,labelBgBorderRadius:w,style:h,markerEnd:v,markerStart:M,interactionWidth:y})})}const _h=_a({isInternal:!1}),Qa=_a({isInternal:!0});_h[s(1293)]=s(930),Qa.displayName=s(538);const Fa={default:Qa,straight:Ja,step:Za,smoothstep:Xa,simplebezier:Va},$a={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},Qh=(e,n,t)=>t===ze[s(1029)]?e-n:t===ze.Right?e+n:e,Fh=(e,n,t)=>t===ze[s(1962)]?e-n:t===ze.Bottom?e+n:e,es=s(918);function ns({position:e,centerX:n,centerY:t,radius:o=10,onMouseDown:x,onMouseEnter:r,onMouseOut:i,type:c}){const d=s;return l[d(1375)](d(1602),{onMouseDown:x,onMouseEnter:r,onMouseOut:i,className:Xe([es,es+"-"+c]),cx:Qh(n,o,e),cy:Fh(t,o,e),r:o,stroke:d(1911),fill:d(1911)})}function $h({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:o,sourceY:x,targetX:r,targetY:i,sourcePosition:c,targetPosition:d,onReconnect:a,onReconnectStart:u,onReconnectEnd:f,setReconnecting:b,setUpdateHover:g}){const w=s,h=Ge(),v=(z,P)=>{const G=_0x5590;if(z[G(752)]!==0)return;const{autoPanOnConnect:O,domNode:V,connectionMode:j,connectionRadius:q,lib:H,onConnectStart:W,cancelConnection:T,nodeLookup:N,rfId:L,panBy:D,updateConnection:Y}=h[G(1305)](),U=P[G(1912)]===G(500),I=(F,xe)=>{b(!1),f?.(F,t,P.type,xe)},J=F=>a?.(t,F),$=(F,xe)=>{const re=G;b(!0),u?.(z,t,P[re(1912)]),W?.(F,xe)};Ho.onPointerDown(z[G(939)],{autoPanOnConnect:O,connectionMode:j,connectionRadius:q,domNode:V,handleId:P.id,nodeId:P.nodeId,nodeLookup:N,isTarget:U,edgeUpdaterType:P.type,lib:H,flowId:L,cancelConnection:T,panBy:D,isValidConnection:(...F)=>h[G(1305)]().isValidConnection?.(...F)??!0,onConnect:J,onConnectStart:$,onConnectEnd:(...F)=>h[G(1305)]()[G(2108)]?.(...F),onReconnectEnd:I,updateConnection:Y,getTransform:()=>h.getState().transform,getFromHandle:()=>h[G(1305)]().connection[G(2118)],dragThreshold:h[G(1305)]()[G(822)],handleDomNode:z[G(1630)]})},M=z=>v(z,{nodeId:t[w(500)],id:t[w(1924)]??null,type:w(500)}),m=z=>v(z,{nodeId:t[w(766)],id:t[w(837)]??null,type:w(766)}),y=()=>g(!0),p=()=>g(!1);return l[w(884)](l[w(1465)],{children:[(e===!0||e===w(766))&&l.jsx(ns,{position:c,centerX:o,centerY:x,radius:n,onMouseDown:M,onMouseEnter:y,onMouseOut:p,type:w(766)}),(e===!0||e===w(500))&&l[w(1375)](ns,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:m,onMouseEnter:y,onMouseOut:p,type:"target"})]})}function e3({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:o,onClick:x,onDoubleClick:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:a,reconnectRadius:u,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,rfId:w,edgeTypes:h,noPanClassName:v,onError:M,disableKeyboardA11y:m}){const y=s;let p=Pe(E=>E[y(2052)][y(1861)](e));const z=Pe(E=>E[y(1555)]);p=z?{...z,...p}:p;let P=p[y(1912)]||"default",G=h?.[P]||Fa[P];G===void 0&&(M?.(y(1292),f0.error011(P)),P=y(384),G=h?.default||Fa[y(384)]);const O=!!(p[y(722)]||n&&typeof p[y(722)]===y(383)),V=typeof f<"u"&&(p[y(1086)]||t&&typeof p[y(1086)]===y(383)),j=!!(p[y(1546)]||o&&typeof p[y(1546)]>"u"),q=B.useRef(null),[H,W]=B.useState(!1),[T,N]=B[y(883)](!1),L=Ge(),{zIndex:D,sourceX:Y,sourceY:U,targetX:I,targetY:J,sourcePosition:$,targetPosition:F}=Pe(B.useCallback(E=>{const A=y,Z=E[A(717)][A(1861)](p.source),ne=E[A(717)][A(1861)](p[A(500)]);if(!Z||!ne)return{zIndex:p.zIndex,...$a};const te=X2({id:e,sourceNode:Z,targetNode:ne,sourceHandle:p[A(837)]||null,targetHandle:p.targetHandle||null,connectionMode:E[A(1579)],onError:M});return{zIndex:G2({selected:p[A(1274)],zIndex:p.zIndex,sourceNode:Z,targetNode:ne,elevateOnSelect:E[A(1532)],zIndexMode:E[A(1316)]}),...te||$a}},[p[y(766)],p[y(500)],p[y(837)],p[y(1924)],p[y(1274)],p[y(741)]]),Ue),xe=B[y(1581)](()=>p[y(622)]?"url('#"+Po(p.markerStart,w)+"')":void 0,[p[y(622)],w]),re=B[y(1581)](()=>p[y(1977)]?y(2152)+Po(p.markerEnd,w)+"')":void 0,[p[y(1977)],w]);if(p[y(1771)]||Y===null||U===null||I===null||J===null)return null;const ae=E=>{const A=y,{addSelectedEdges:Z,unselectNodesAndEdges:ne,multiSelectionActive:te}=L[A(1305)]();j&&(L[A(1770)]({nodesSelectionActive:!1}),p[A(1274)]&&te?(ne({nodes:[],edges:[p]}),q[A(523)]?.[A(549)]()):Z([e])),x&&x(E,p)},ue=r?E=>{r(E,{...p})}:void 0,me=i?E=>{i(E,{...p})}:void 0,se=c?E=>{c(E,{...p})}:void 0,ee=d?E=>{d(E,{...p})}:void 0,le=a?E=>{a(E,{...p})}:void 0,be=E=>{const A=y;if(!m&&ic[A(1419)](E[A(844)])&&j){const{unselectNodesAndEdges:Z,addSelectedEdges:ne}=L[A(1305)]();E[A(844)]===A(1286)?(q[A(523)]?.[A(549)](),Z({edges:[p]})):ne([e])}};return l[y(1375)]("svg",{style:{zIndex:D},children:l.jsxs("g",{className:Xe([y(1649),"react-flow__edge-"+P,p[y(1320)],v,{selected:p[y(1274)],animated:p[y(624)],inactive:!j&&!x,updating:H,selectable:j}]),onClick:ae,onDoubleClick:ue,onContextMenu:me,onMouseEnter:se,onMouseMove:ee,onMouseLeave:le,onKeyDown:O?be:void 0,tabIndex:O?0:void 0,role:p[y(1001)]??y(O?744:1663),"aria-roledescription":"edge","data-id":e,"data-testid":"rf__edge-"+e,"aria-label":p.ariaLabel===null?void 0:p.ariaLabel||y(589)+p[y(766)]+y(1989)+p.target,"aria-describedby":O?da+"-"+w:void 0,ref:q,...p[y(1566)],children:[!T&&l[y(1375)](G,{id:e,source:p[y(766)],target:p[y(500)],type:p.type,selected:p[y(1274)],animated:p[y(624)],selectable:j,deletable:p.deletable??!0,label:p.label,labelStyle:p.labelStyle,labelShowBg:p[y(1123)],labelBgStyle:p[y(694)],labelBgPadding:p[y(379)],labelBgBorderRadius:p[y(1154)],sourceX:Y,sourceY:U,targetX:I,targetY:J,sourcePosition:$,targetPosition:F,data:p.data,style:p[y(1476)],sourceHandleId:p[y(837)],targetHandleId:p[y(1924)],markerStart:xe,markerEnd:re,pathOptions:y(1857)in p?p[y(1857)]:void 0,interactionWidth:p.interactionWidth}),V&&l[y(1375)]($h,{edge:p,isReconnectable:V,reconnectRadius:u,onReconnect:f,onReconnectStart:b,onReconnectEnd:g,sourceX:Y,sourceY:U,targetX:I,targetY:J,sourcePosition:$,targetPosition:F,setUpdateHover:W,setReconnecting:N})]})})}var n3=B[s(2002)](e3);const t3=e=>({edgesFocusable:e[s(909)],edgesReconnectable:e[s(679)],elementsSelectable:e[s(760)],connectionMode:e.connectionMode,onError:e[s(581)]});function ts({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:o,noPanClassName:x,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:c,onEdgeMouseMove:d,onEdgeMouseLeave:a,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:g,onReconnectEnd:w,disableKeyboardA11y:h}){const v=s,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,onError:p}=Pe(t3,Ue),z=Hh(n);return l[v(884)](v(1037),{className:"react-flow__edges",children:[l[v(1375)](Xh,{defaultColor:e,rfId:t}),z[v(474)](P=>l[v(1375)](n3,{id:P,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:y,noPanClassName:x,onReconnect:r,onContextMenu:i,onMouseEnter:c,onMouseMove:d,onMouseLeave:a,onClick:u,reconnectRadius:f,onDoubleClick:b,onReconnectStart:g,onReconnectEnd:w,rfId:t,onError:p,edgeTypes:o,disableKeyboardA11y:h},P))]})}ts[s(1293)]=s(1684);const x3=B[s(2002)](ts),o3=e=>"translate("+e[s(1121)][0]+"px,"+e[s(1121)][1]+s(1366)+e[s(1121)][2]+")";function r3({children:e}){const n=s,t=Pe(o3);return l[n(1375)](n(1037),{className:n(1291),style:{transform:t},children:e})}function i3(e){const n=s,t=Ro(),o=B[n(780)](!1);B[n(2005)](()=>{const x=n;!o.current&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),o[x(523)]=!0)},[e,t[n(1145)]])}const c3=e=>e.panZoom?.[s(730)];function a3(e){const n=s,t=Pe(c3),o=Ge();return B[n(2005)](()=>{const x=n;e&&(t?.(e),o[x(1770)]({transform:[e.x,e.y,e[x(1675)]]}))},[e,t]),null}function s3(e){const n=s;return e[n(1561)][n(1829)]?{...e.connection,to:ht(e[n(1561)].to,e.transform)}:{...e[n(1561)]}}function l3(e){return s3}function d3(e){const n=l3();return Pe(n,Ue)}const u3=e=>({nodesConnectable:e[s(563)],isValid:e[s(1561)][s(706)],inProgress:e.connection.inProgress,width:e[s(1710)],height:e[s(1355)]});function f3({containerStyle:e,style:n,type:t,component:o}){const x=s,{nodesConnectable:r,width:i,height:c,isValid:d,inProgress:a}=Pe(u3,Ue);return!(i&&r&&a)?null:l[x(1375)](x(1350),{style:e,width:i,height:c,className:x(929),children:l[x(1375)]("g",{className:Xe([x(1090),lc(d)]),children:l[x(1375)](xs,{style:n,type:t,CustomComponent:o,isValid:d})})})}const xs=({style:e,type:n=R0.Bezier,CustomComponent:t,isValid:o})=>{const x=s,{inProgress:r,from:i,fromNode:c,fromHandle:d,fromPosition:a,to:u,toNode:f,toHandle:b,toPosition:g,pointer:w}=d3();if(!r)return;if(t)return l[x(1375)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:c,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:a,toPosition:g,connectionStatus:lc(o),toNode:f,toHandle:b,pointer:w});let h="";const v={sourceX:i.x,sourceY:i.y,sourcePosition:a,targetX:u.x,targetY:u.y,targetPosition:g};switch(n){case R0.Bezier:[h]=Nc(v);break;case R0[x(1538)]:[h]=Ha(v);break;case R0[x(1508)]:[h]=Io({...v,borderRadius:0});break;case R0[x(2092)]:[h]=Io(v);break;default:[h]=Ic(v)}return l.jsx(x(1850),{d:h,fill:x(988),className:"react-flow__connection-path",style:e})};xs[s(1293)]=s(1921);const h3={};function os(e=h3){const n=B.useRef(e),t=Ge();B.useEffect(()=>{const o=_0x5590;if(process.env.NODE_ENV===o(1549)){const x=new Set([...Object.keys(n.current),...Object.keys(e)]);for(const r of x)if(n.current[r]!==e[r]){t[o(1305)]()[o(581)]?.(o(615),f0[o(1426)]());break}n[o(523)]=e}},[e])}function g3(){const e=s,n=Ge(),t=B.useRef(!1);B[e(2005)](()=>{const o=e;if(process.env.NODE_ENV===o(1549)&&!t[o(523)]){const x=document[o(1525)](".react-flow__pane");x&&window[o(704)](x)[o(741)]!=="1"&&n[o(1305)]()[o(581)]?.(o(1657),f0.error013(o(1530))),t.current=!0}},[])}function rs({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:o,onEdgeClick:x,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:a,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:g,connectionLineType:w,connectionLineStyle:h,connectionLineComponent:v,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:y,selectionMode:p,multiSelectionKeyCode:z,panActivationKeyCode:P,zoomActivationKeyCode:G,deleteKeyCode:O,onlyRenderVisibleElements:V,elementsSelectable:j,defaultViewport:q,translateExtent:H,minZoom:W,maxZoom:T,preventScrolling:N,defaultMarkerColor:L,zoomOnScroll:D,zoomOnPinch:Y,panOnScroll:U,panOnScrollSpeed:I,panOnScrollMode:J,zoomOnDoubleClick:$,panOnDrag:F,onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ae,onPaneMouseLeave:ue,onPaneScroll:me,onPaneContextMenu:se,paneClickDistance:ee,nodeClickDistance:le,onEdgeContextMenu:be,onEdgeMouseEnter:E,onEdgeMouseMove:A,onEdgeMouseLeave:Z,reconnectRadius:ne,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,noDragClassName:ve,noWheelClassName:pe,noPanClassName:Ie,disableKeyboardA11y:Ae,nodeExtent:Ee,rfId:Ne,viewport:ke,onViewportChange:Oe}){const je=s;return os(e),os(n),g3(),i3(t),a3(ke),l.jsx(kh,{onPaneClick:xe,onPaneMouseEnter:re,onPaneMouseMove:ae,onPaneMouseLeave:ue,onPaneContextMenu:se,onPaneScroll:me,paneClickDistance:ee,deleteKeyCode:O,selectionKeyCode:m,selectionOnDrag:y,selectionMode:p,onSelectionStart:b,onSelectionEnd:g,multiSelectionKeyCode:z,panActivationKeyCode:P,zoomActivationKeyCode:G,elementsSelectable:j,zoomOnScroll:D,zoomOnPinch:Y,zoomOnDoubleClick:$,panOnScroll:U,panOnScrollSpeed:I,panOnScrollMode:J,panOnDrag:F,defaultViewport:q,translateExtent:H,minZoom:W,maxZoom:T,onSelectionContextMenu:f,preventScrolling:N,noDragClassName:ve,noWheelClassName:pe,noPanClassName:Ie,disableKeyboardA11y:Ae,onViewportChange:Oe,isControlledViewport:!!ke,children:l[je(884)](r3,{children:[l.jsx(x3,{edgeTypes:n,onEdgeClick:x,onEdgeDoubleClick:i,onReconnect:te,onReconnectStart:X,onReconnectEnd:oe,onlyRenderVisibleElements:V,onEdgeContextMenu:be,onEdgeMouseEnter:E,onEdgeMouseMove:A,onEdgeMouseLeave:Z,reconnectRadius:ne,defaultMarkerColor:L,noPanClassName:Ie,disableKeyboardA11y:Ae,rfId:Ne}),l[je(1375)](f3,{style:h,type:w,component:v,containerStyle:M}),l[je(1375)](je(1037),{className:je(2145)}),l[je(1375)](Oh,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:r,onNodeMouseEnter:c,onNodeMouseMove:d,onNodeMouseLeave:a,onNodeContextMenu:u,nodeClickDistance:le,onlyRenderVisibleElements:V,noPanClassName:Ie,noDragClassName:ve,disableKeyboardA11y:Ae,nodeExtent:Ee,rfId:Ne}),l[je(1375)](je(1037),{className:je(587)})]})})}rs.displayName=s(1545);const b3=B[s(2002)](rs),is=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d=.5,maxZoom:a=2,nodeOrigin:u,nodeExtent:f,zIndexMode:b="basic"}={})=>{const g=s,w=new Map,h=new Map,v=new Map,M=new Map,m=o??n??[],y=t??e??[],p=u??[0,0],z=f??at;Hc(v,M,m);const{nodesInitialized:P}=Eo(y,w,h,{nodeOrigin:p,nodeExtent:z,zIndexMode:b});let G=[0,0,1];if(i&&x&&r){const O=dt(w,{filter:H=>!!((H.width||H.initialWidth)&&(H[g(1355)]||H[g(586)]))}),{x:V,y:j,zoom:q}=So(O,x,r,d,a,c?.[g(448)]??.1);G=[V,j,q]}return{rfId:"1",width:x??0,height:r??0,transform:G,nodes:y,nodesInitialized:P,nodeLookup:w,parentLookup:h,edges:m,edgeLookup:M,connectionLookup:v,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:d,maxZoom:a,translateExtent:at,nodeExtent:z,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:Sn[g(600)],domNode:null,paneDragging:!1,noPanClassName:g(1856),nodeOrigin:p,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:c,fitViewResolver:null,connection:{...ac},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:mc,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:g(1530),debug:!1,ariaLabelConfig:cc,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},y3=({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:a,nodeOrigin:u,nodeExtent:f,zIndexMode:b})=>E5((g,w)=>{async function h(){const v=_0x5590,{nodeLookup:M,panZoom:m,fitViewOptions:y,fitViewResolver:p,width:z,height:P,minZoom:G,maxZoom:O}=w();m&&(await I2({nodes:M,width:z,height:P,panZoom:m,minZoom:G,maxZoom:O},y),p?.[v(1952)](!0),g({fitViewResolver:null}))}return{...is({nodes:e,edges:n,width:x,height:r,fitView:i,fitViewOptions:c,minZoom:d,maxZoom:a,nodeOrigin:u,nodeExtent:f,defaultNodes:t,defaultEdges:o,zIndexMode:b}),setNodes:v=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:y,elevateNodesOnSelect:p,fitViewQueued:z,zIndexMode:P,nodesSelectionActive:G}=w(),{nodesInitialized:O,hasSelectedNodes:V}=Eo(v,M,m,{nodeOrigin:y,nodeExtent:f,elevateNodesOnSelect:p,checkEquality:!0,zIndexMode:P}),j=G&&V;z&&O?(h(),g({nodes:v,nodesInitialized:O,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:j})):g({nodes:v,nodesInitialized:O,nodesSelectionActive:j})},setEdges:v=>{const{connectionLookup:M,edgeLookup:m}=w();Hc(M,m,v),g({edges:v})},setDefaultNodesAndEdges:(v,M)=>{if(v){const{setNodes:m}=w();m(v),g({hasDefaultNodes:!0})}if(M){const{setEdges:m}=w();m(M),g({hasDefaultEdges:!0})}},updateNodeInternals:v=>{const M=_0x5590,{triggerNodeChanges:m,nodeLookup:y,parentLookup:p,domNode:z,nodeOrigin:P,nodeExtent:G,debug:O,fitViewQueued:V,zIndexMode:j}=w(),{changes:q,updatedInternals:H}=$2(v,y,p,z,P,G,j);H&&(J2(y,p,{nodeOrigin:P,nodeExtent:G,zIndexMode:j}),V?(h(),g({fitViewQueued:!1,fitViewOptions:void 0})):g({}),q?.[M(2179)]>0&&(O&&console[M(1672)](M(631),q),m?.(q)))},updateNodePositions:(v,M=!1)=>{const m=_0x5590,y=[];let p=[];const{nodeLookup:z,triggerNodeChanges:P,connection:G,updateConnection:O,onNodesChangeMiddlewareMap:V}=w();for(const[j,q]of v){const H=z[m(1861)](j),W=!!(H?.[m(1935)]&&H?.[m(1907)]&&q?.[m(835)]),T={id:j,type:m(835),position:W?{x:Math[m(2172)](0,q[m(835)].x),y:Math[m(2172)](0,q.position.y)}:q[m(835)],dragging:M};if(H&&G[m(1829)]&&G[m(1445)].id===H.id){const N=un(H,G[m(2118)],ze.Left,!0);O({...G,from:N})}W&&H.parentId&&y[m(1759)]({id:j,parentId:H[m(1907)],rect:{...q.internals.positionAbsolute,width:q[m(510)].width??0,height:q[m(510)][m(1355)]??0}}),p[m(1759)](T)}if(y[m(2179)]>0){const{parentLookup:j,nodeOrigin:q}=w(),H=Go(y,z,j,q);p[m(1759)](...H)}for(const j of V[m(1982)]())p=j(p);P(p)},triggerNodeChanges:v=>{const M=_0x5590,{onNodesChange:m,setNodes:y,nodes:p,hasDefaultNodes:z,debug:P}=w();if(v?.[M(2179)]){if(z){const G=va(v,p);y(G)}P&&console.log(M(631),v),m?.(v)}},triggerEdgeChanges:v=>{const M=_0x5590,{onEdgesChange:m,setEdges:y,edges:p,hasDefaultEdges:z,debug:P}=w();if(v?.length){if(z){const G=pa(v,p);y(G)}P&&console[M(1672)]("React Flow: trigger edge changes",v),m?.(v)}},addSelectedNodes:v=>{const M=_0x5590,{multiSelectionActive:m,edgeLookup:y,nodeLookup:p,triggerNodeChanges:z,triggerEdgeChanges:P}=w();if(m){const G=v[M(474)](O=>fn(O,!0));z(G);return}z(En(p,new Set([...v]),!0)),P(En(y))},addSelectedEdges:v=>{const M=_0x5590,{multiSelectionActive:m,edgeLookup:y,nodeLookup:p,triggerNodeChanges:z,triggerEdgeChanges:P}=w();if(m){const G=v[M(474)](O=>fn(O,!0));P(G);return}P(En(y,new Set([...v]))),z(En(p,new Set,!0))},unselectNodesAndEdges:({nodes:v,edges:M}={})=>{const m=_0x5590,{edges:y,nodes:p,nodeLookup:z,triggerNodeChanges:P,triggerEdgeChanges:G}=w(),O=v||p,V=M||y,j=[];for(const H of O){if(!H[m(1274)])continue;const W=z[m(1861)](H.id);W&&(W[m(1274)]=!1),j[m(1759)](fn(H.id,!1))}const q=[];for(const H of V)H.selected&&q[m(1759)](fn(H.id,!1));P(j),G(q)},setMinZoom:v=>{const M=_0x5590,{panZoom:m,maxZoom:y}=w();m?.[M(889)]([v,y]),g({minZoom:v})},setMaxZoom:v=>{const{panZoom:M,minZoom:m}=w();M?.setScaleExtent([m,v]),g({maxZoom:v})},setTranslateExtent:v=>{const M=_0x5590;w()[M(686)]?.setTranslateExtent(v),g({translateExtent:v})},resetSelectedElements:()=>{const v=_0x5590,{edges:M,nodes:m,triggerNodeChanges:y,triggerEdgeChanges:p,elementsSelectable:z}=w();if(!z)return;const P=m[v(1106)]((O,V)=>V[v(1274)]?[...O,fn(V.id,!1)]:O,[]),G=M.reduce((O,V)=>V[v(1274)]?[...O,fn(V.id,!1)]:O,[]);y(P),p(G)},setNodeExtent:v=>{const{nodes:M,nodeLookup:m,parentLookup:y,nodeOrigin:p,elevateNodesOnSelect:z,nodeExtent:P,zIndexMode:G}=w();v[0][0]===P[0][0]&&v[0][1]===P[0][1]&&v[1][0]===P[1][0]&&v[1][1]===P[1][1]||(Eo(M,m,y,{nodeOrigin:p,nodeExtent:v,elevateNodesOnSelect:z,checkEquality:!1,zIndexMode:G}),g({nodeExtent:v}))},panBy:v=>{const{transform:M,width:m,height:y,panZoom:p,translateExtent:z}=w();return e5({delta:v,panZoom:p,transform:M,translateExtent:z,width:m,height:y})},setCenter:async(v,M,m)=>{const y=_0x5590,{width:p,height:z,maxZoom:P,panZoom:G}=w();if(!G)return Promise[y(1952)](!1);const O=typeof m?.[y(1675)]<"u"?m.zoom:P;return await G.setViewport({x:p/2-v*O,y:z/2-M*O,zoom:O},{duration:m?.[y(850)],ease:m?.[y(1834)],interpolate:m?.[y(1939)]}),Promise[y(1952)](!0)},cancelConnection:()=>{g({connection:{...ac}})},updateConnection:v=>{g({connection:v})},reset:()=>g({...is()})}},Object.is);function m3({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:o,initialWidth:x,initialHeight:r,initialMinZoom:i,initialMaxZoom:c,initialFitViewOptions:d,fitView:a,nodeOrigin:u,nodeExtent:f,zIndexMode:b,children:g}){const w=s,[h]=B[w(883)](()=>y3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,width:x,height:r,fitView:a,minZoom:i,maxZoom:c,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:b}));return l[w(1375)](U5,{value:h,children:l.jsx(rh,{children:g})})}function w3({children:e,nodes:n,edges:t,defaultNodes:o,defaultEdges:x,width:r,height:i,fitView:c,fitViewOptions:d,minZoom:a,maxZoom:u,nodeOrigin:f,nodeExtent:b,zIndexMode:g}){const w=s;return B[w(1773)](mx)?l[w(1375)](l[w(1465)],{children:e}):l[w(1375)](m3,{initialNodes:n,initialEdges:t,defaultNodes:o,defaultEdges:x,initialWidth:r,initialHeight:i,fitView:c,initialFitViewOptions:d,initialMinZoom:a,initialMaxZoom:u,nodeOrigin:f,nodeExtent:b,zIndexMode:g,children:e})}const v3={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function p3({nodes:e,edges:n,defaultNodes:t,defaultEdges:o,className:x,nodeTypes:r,edgeTypes:i,onNodeClick:c,onEdgeClick:d,onInit:a,onMove:u,onMoveStart:f,onMoveEnd:b,onConnect:g,onConnectStart:w,onConnectEnd:h,onClickConnectStart:v,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:p,onNodeContextMenu:z,onNodeDoubleClick:P,onNodeDragStart:G,onNodeDrag:O,onNodeDragStop:V,onNodesDelete:j,onEdgesDelete:q,onDelete:H,onSelectionChange:W,onSelectionDragStart:T,onSelectionDrag:N,onSelectionDragStop:L,onSelectionContextMenu:D,onSelectionStart:Y,onSelectionEnd:U,onBeforeDelete:I,connectionMode:J,connectionLineType:$=R0.Bezier,connectionLineStyle:F,connectionLineComponent:xe,connectionLineContainerStyle:re,deleteKeyCode:ae=s(1003),selectionKeyCode:ue=s(1330),selectionOnDrag:me=!1,selectionMode:se=st[s(452)],panActivationKeyCode:ee=s(1450),multiSelectionKeyCode:le=gt()?s(1453):s(1725),zoomActivationKeyCode:be=gt()?s(1453):s(1725),snapToGrid:E,snapGrid:A,onlyRenderVisibleElements:Z=!1,selectNodesOnDrag:ne,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:ve,nodeOrigin:pe=ua,edgesFocusable:Ie,edgesReconnectable:Ae,elementsSelectable:Ee=!0,defaultViewport:Ne=_5,minZoom:ke=.5,maxZoom:Oe=2,translateExtent:je=at,preventScrolling:qe=!0,nodeExtent:We,defaultMarkerColor:$e=s(2169),zoomOnScroll:b0=!0,zoomOnPinch:B0=!0,panOnScroll:t0=!1,panOnScrollSpeed:a0=.5,panOnScrollMode:x0=ln[s(699)],zoomOnDoubleClick:s0=!0,panOnDrag:h0=!0,onPaneClick:V0,onPaneMouseEnter:$0,onPaneMouseMove:q0,onPaneMouseLeave:Ke,onPaneScroll:hn,onPaneContextMenu:e0,paneClickDistance:A0=1,nodeClickDistance:D0=0,children:gn,onReconnect:$o,onReconnectStart:er,onReconnectEnd:nr,onEdgeContextMenu:tr,onEdgeDoubleClick:xr,onEdgeMouseEnter:or,onEdgeMouseMove:rr,onEdgeMouseLeave:Lx,reconnectRadius:Nx=10,onNodesChange:Sx,onEdgesChange:kx,noDragClassName:Ix=s(820),noWheelClassName:Px=s(1668),noPanClassName:mt=s(1856),fitView:Gn,fitViewOptions:en,connectOnClick:bn,attributionPosition:ir,proOptions:W0,defaultEdgeOptions:Ax,elevateNodesOnSelect:jx=!0,elevateEdgesOnSelect:wt=!1,disableKeyboardA11y:Yx=!1,autoPanOnConnect:vt,autoPanOnNodeDrag:cr,autoPanSpeed:ar,connectionRadius:sr,isValidConnection:Ex,onError:Ux,style:pt,id:zt,nodeDragThreshold:Ct,connectionDragThreshold:k,viewport:S,onViewportChange:_,width:R,height:ie,colorMode:K=s(1592),debug:Q,onScroll:fe,ariaLabelConfig:ye,zIndexMode:he=s(1212),...we},Me){const De=s,Be=zt||"1",Ce=eh(K),He=B[De(1318)](Ye=>{const ce=De;Ye[ce(1630)][ce(402)]({top:0,left:0,behavior:"instant"}),fe?.(Ye)},[fe]);return l[De(1375)]("div",{"data-testid":De(2003),...we,onScroll:He,style:{...pt,...v3},ref:Me,className:Xe([De(726),x,Ce]),id:zt,role:"application",children:l.jsxs(w3,{nodes:e,edges:n,width:R,height:ie,fitView:Gn,fitViewOptions:en,minZoom:ke,maxZoom:Oe,nodeOrigin:pe,nodeExtent:We,zIndexMode:he,children:[l.jsx($5,{nodes:e,edges:n,defaultNodes:t,defaultEdges:o,onConnect:g,onConnectStart:w,onConnectEnd:h,onClickConnectStart:v,onClickConnectEnd:M,nodesDraggable:te,autoPanOnNodeFocus:X,nodesConnectable:oe,nodesFocusable:ve,edgesFocusable:Ie,edgesReconnectable:Ae,elementsSelectable:Ee,elevateNodesOnSelect:jx,elevateEdgesOnSelect:wt,minZoom:ke,maxZoom:Oe,nodeExtent:We,onNodesChange:Sx,onEdgesChange:kx,snapToGrid:E,snapGrid:A,connectionMode:J,translateExtent:je,connectOnClick:bn,defaultEdgeOptions:Ax,fitView:Gn,fitViewOptions:en,onNodesDelete:j,onEdgesDelete:q,onDelete:H,onNodeDragStart:G,onNodeDrag:O,onNodeDragStop:V,onSelectionDrag:N,onSelectionDragStart:T,onSelectionDragStop:L,onMove:u,onMoveStart:f,onMoveEnd:b,noPanClassName:mt,nodeOrigin:pe,rfId:Be,autoPanOnConnect:vt,autoPanOnNodeDrag:cr,autoPanSpeed:ar,onError:Ux,connectionRadius:sr,isValidConnection:Ex,selectNodesOnDrag:ne,nodeDragThreshold:Ct,connectionDragThreshold:k,onBeforeDelete:I,debug:Q,ariaLabelConfig:ye,zIndexMode:he}),l[De(1375)](b3,{onInit:a,onNodeClick:c,onEdgeClick:d,onNodeMouseEnter:m,onNodeMouseMove:y,onNodeMouseLeave:p,onNodeContextMenu:z,onNodeDoubleClick:P,nodeTypes:r,edgeTypes:i,connectionLineType:$,connectionLineStyle:F,connectionLineComponent:xe,connectionLineContainerStyle:re,selectionKeyCode:ue,selectionOnDrag:me,selectionMode:se,deleteKeyCode:ae,multiSelectionKeyCode:le,panActivationKeyCode:ee,zoomActivationKeyCode:be,onlyRenderVisibleElements:Z,defaultViewport:Ne,translateExtent:je,minZoom:ke,maxZoom:Oe,preventScrolling:qe,zoomOnScroll:b0,zoomOnPinch:B0,zoomOnDoubleClick:s0,panOnScroll:t0,panOnScrollSpeed:a0,panOnScrollMode:x0,panOnDrag:h0,onPaneClick:V0,onPaneMouseEnter:$0,onPaneMouseMove:q0,onPaneMouseLeave:Ke,onPaneScroll:hn,onPaneContextMenu:e0,paneClickDistance:A0,nodeClickDistance:D0,onSelectionContextMenu:D,onSelectionStart:Y,onSelectionEnd:U,onReconnect:$o,onReconnectStart:er,onReconnectEnd:nr,onEdgeContextMenu:tr,onEdgeDoubleClick:xr,onEdgeMouseEnter:or,onEdgeMouseMove:rr,onEdgeMouseLeave:Lx,reconnectRadius:Nx,defaultMarkerColor:$e,noDragClassName:Ix,noWheelClassName:Px,noPanClassName:mt,rfId:Be,disableKeyboardA11y:Yx,nodeExtent:We,viewport:S,onViewportChange:_}),l.jsx(J5,{onSelectionChange:W}),gn,l[De(1375)](W5,{proOptions:W0,position:ir}),l[De(1375)](q5,{rfId:Be,disableKeyboardA11y:Yx})]})})}var z3=Ba(p3);function C3(e){const n=s,[t,o]=B.useState(e),x=B[n(1318)](r=>o(i=>va(r,i)),[]);return[t,o,x]}function M3(e){const n=s,[t,o]=B[n(883)](e),x=B[n(1318)](r=>o(i=>pa(r,i)),[]);return[t,o,x]}function B3({dimensions:e,lineWidth:n,variant:t,className:o}){const x=s;return l[x(1375)]("path",{strokeWidth:n,d:"M"+e[0]/2+x(562)+e[1]+x(468)+e[1]/2+" H"+e[0],className:Xe([x(363),t,o])})}function D3({radius:e,className:n}){const t=s;return l[t(1375)](t(1602),{cx:e,cy:e,r:e,className:Xe(["react-flow__background-pattern",t(1712),n])})}var Q0;(function(e){const n=s;e[n(701)]=n(676),e[n(2081)]=n(1712),e[n(1304)]="cross"})(Q0||(Q0={}));const L3={[Q0[s(2081)]]:1,[Q0.Lines]:1,[Q0[s(1304)]]:6},N3=e=>({transform:e[s(1121)],patternId:"pattern-"+e[s(638)]});function cs({id:e,variant:n=Q0[s(2081)],gap:t=20,size:o,lineWidth:x=1,offset:r=0,color:i,bgColor:c,style:d,className:a,patternClassName:u}){const f=s,b=B[f(780)](null),{transform:g,patternId:w}=Pe(N3,Ue),h=o||L3[n],v=n===Q0[f(2081)],M=n===Q0.Cross,m=Array[f(565)](t)?t:[t,t],y=[m[0]*g[2]||1,m[1]*g[2]||1],p=h*g[2],z=Array[f(565)](r)?r:[r,r],P=M?[p,p]:y,G=[z[0]*g[2]||1+P[0]/2,z[1]*g[2]||1+P[1]/2],O=""+w+(e||"");return l[f(884)]("svg",{className:Xe([f(1087),a]),style:{...d,...px,"--xy-background-color-props":c,"--xy-background-pattern-color-props":i},ref:b,"data-testid":f(1644),children:[l[f(1375)](f(505),{id:O,x:g[0]%y[0],y:g[1]%y[1],width:y[0],height:y[1],patternUnits:f(1470),patternTransform:f(973)+G[0]+",-"+G[1]+")",children:v?l.jsx(D3,{radius:p/2,className:u}):l.jsx(B3,{dimensions:P,lineWidth:x,variant:n,className:u})}),l[f(1375)](f(1389),{x:"0",y:"0",width:f(1575),height:f(1575),fill:f(1076)+O+")"})]})}cs[s(1293)]=s(1514);const S3=B.memo(cs);function k3(){const e=s;return l[e(1375)](e(1350),{xmlns:e(413),viewBox:e(1567),children:l.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function I3(){const e=s;return l.jsx(e(1350),{xmlns:e(413),viewBox:"0 0 32 5",children:l.jsx(e(1850),{d:"M0 0h32v4.2H0z"})})}function P3(){const e=s;return l[e(1375)](e(1350),{xmlns:e(413),viewBox:"0 0 32 30",children:l[e(1375)]("path",{d:e(809)})})}function A3(){const e=s;return l[e(1375)](e(1350),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1053),children:l[e(1375)](e(1850),{d:e(786)})})}function j3(){const e=s;return l[e(1375)](e(1350),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1053),children:l[e(1375)](e(1850),{d:e(1018)})})}function Mx({children:e,className:n,...t}){const o=s;return l[o(1375)](o(752),{type:o(752),className:Xe([o(1479),n]),...t,children:e})}const Y3=e=>({isInteractive:e[s(1309)]||e[s(563)]||e[s(760)],minZoomReached:e.transform[2]<=e[s(1132)],maxZoomReached:e.transform[2]>=e.maxZoom,ariaLabelConfig:e[s(347)]});function as({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:o=!0,fitViewOptions:x,onZoomIn:r,onZoomOut:i,onFitView:c,onInteractiveChange:d,className:a,children:u,position:f=s(528),orientation:b=s(1323),"aria-label":g}){const w=s,h=Ge(),{isInteractive:v,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:y}=Pe(Y3,Ue),{zoomIn:p,zoomOut:z,fitView:P}=Ro(),G=()=>{p(),r?.()},O=()=>{z(),i?.()},V=()=>{P(x),c?.()},j=()=>{h.setState({nodesDraggable:!v,nodesConnectable:!v,elementsSelectable:!v}),d?.(!v)},q=b===w(1240)?w(1240):w(1323);return l[w(884)](wx,{className:Xe([w(772),q,a]),position:f,style:e,"data-testid":w(1324),"aria-label":g??y["controls.ariaLabel"],children:[n&&l.jsxs(l.Fragment,{children:[l[w(1375)](Mx,{onClick:G,className:w(1889),title:y[w(1677)],"aria-label":y[w(1677)],disabled:m,children:l.jsx(k3,{})}),l[w(1375)](Mx,{onClick:O,className:w(1513),title:y[w(1399)],"aria-label":y[w(1399)],disabled:M,children:l.jsx(I3,{})})]}),t&&l[w(1375)](Mx,{className:w(1128),onClick:V,title:y[w(649)],"aria-label":y[w(649)],children:l[w(1375)](P3,{})}),o&&l[w(1375)](Mx,{className:w(636),onClick:j,title:y["controls.interactive.ariaLabel"],"aria-label":y[w(938)],children:v?l.jsx(j3,{}):l[w(1375)](A3,{})}),u]})}as.displayName="Controls";const E3=B[s(2002)](as);function U3({id:e,x:n,y:t,width:o,height:x,style:r,color:i,strokeColor:c,strokeWidth:d,className:a,borderRadius:u,shapeRendering:f,selected:b,onClick:g}){const w=s,{background:h,backgroundColor:v}=r||{},M=i||h||v;return l.jsx(w(1389),{className:Xe(["react-flow__minimap-node",{selected:b},a]),x:n,y:t,rx:u,ry:u,width:o,height:x,style:{fill:M,stroke:c,strokeWidth:d},shapeRendering:f,onClick:g?m=>g(m,e):void 0})}const G3=B[s(2002)](U3),O3=e=>e[s(960)][s(474)](n=>n.id),Fo=e=>e instanceof Function?e:()=>e;function H3({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:o=5,nodeStrokeWidth:x,nodeComponent:r=G3,onClick:i}){const c=s,d=Pe(O3,Ue),a=Fo(n),u=Fo(e),f=Fo(t),b=typeof window===c(383)||window[c(375)]?c(902):"geometricPrecision";return l[c(1375)](l[c(1465)],{children:d[c(474)](g=>l[c(1375)](V3,{id:g,nodeColorFunc:a,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:o,nodeStrokeWidth:x,NodeComponent:r,onClick:i,shapeRendering:b},g))})}function T3({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:o,nodeBorderRadius:x,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:c,onClick:d}){const a=s,{node:u,x:f,y:b,width:g,height:w}=Pe(h=>{const v=_0x5590,M=h[v(717)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M.internals[v(1275)],{x:y,y:p}=M[v(1157)][v(1443)],{width:z,height:P}=T0(m);return{node:m,x:y,y:p,width:z,height:P}},Ue);return!u||u[a(1771)]||!wc(u)?null:l[a(1375)](c,{x:f,y:b,width:g,height:w,style:u[a(1476)],selected:!!u[a(1274)],className:o(u),color:n(u),borderRadius:x,strokeColor:t(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const V3=B.memo(T3);var q3=B[s(2002)](H3);const W3=200,X3=150,K3=e=>!e[s(1771)],Z3=e=>{const n=s,t={x:-e.transform[0]/e[n(1121)][2],y:-e[n(1121)][1]/e[n(1121)][2],width:e[n(1710)]/e[n(1121)][2],height:e[n(1355)]/e[n(1121)][2]};return{viewBB:t,boundingRect:e[n(717)][n(1046)]>0?bc(dt(e[n(717)],{filter:K3}),t):t,rfId:e.rfId,panZoom:e[n(686)],translateExtent:e[n(1723)],flowWidth:e[n(1710)],flowHeight:e[n(1355)],ariaLabelConfig:e[n(347)]}},R3=s(1737);function ss({style:e,className:n,nodeStrokeColor:t,nodeColor:o,nodeClassName:x="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:c,bgColor:d,maskColor:a,maskStrokeColor:u,maskStrokeWidth:f,position:b=s(1241),onClick:g,onNodeClick:w,pannable:h=!1,zoomable:v=!1,ariaLabel:M,inversePan:m,zoomStep:y=1,offsetScale:p=5}){const z=s,P=Ge(),G=B.useRef(null),{boundingRect:O,viewBB:V,rfId:j,panZoom:q,translateExtent:H,flowWidth:W,flowHeight:T,ariaLabelConfig:N}=Pe(Z3,Ue),L=e?.[z(1710)]??W3,D=e?.height??X3,Y=O[z(1710)]/L,U=O.height/D,I=Math[z(2172)](Y,U),J=I*L,$=I*D,F=p*I,xe=O.x-(J-O[z(1710)])/2-F,re=O.y-($-O[z(1355)])/2-F,ae=J+F*2,ue=$+F*2,me=R3+"-"+j,se=B[z(780)](0),ee=B[z(780)]();se[z(523)]=I,B[z(2005)](()=>{const A=z;if(G[A(523)]&&q)return ee[A(523)]=s5({domNode:G.current,panZoom:q,getTransform:()=>P[A(1305)]()[A(1121)],getViewScale:()=>se[A(523)]}),()=>{ee.current?.destroy()}},[q]),B.useEffect(()=>{const A=z;ee.current?.[A(905)]({translateExtent:H,width:W,height:T,inversePan:m,pannable:h,zoomStep:y,zoomable:v})},[h,v,m,y,H,W,T]);const le=g?A=>{const Z=z,[ne,te]=ee[Z(523)]?.[Z(619)](A)||[0,0];g(A,{x:ne,y:te})}:void 0,be=w?B.useCallback((A,Z)=>{const ne=z,te=P[ne(1305)]().nodeLookup[ne(1861)](Z).internals[ne(1275)];w(A,te)},[]):void 0,E=M??N[z(1793)];return l[z(1375)](wx,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof d===z(1705)?d:void 0,"--xy-minimap-mask-background-color-props":typeof a===z(1705)?a:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===z(1705)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===z(2059)?f*I:void 0,"--xy-minimap-node-background-color-props":typeof o=="string"?o:void 0,"--xy-minimap-node-stroke-color-props":typeof t===z(1705)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===z(2059)?i:void 0},className:Xe([z(469),n]),"data-testid":z(1259),children:l[z(884)]("svg",{width:L,height:D,viewBox:xe+" "+re+" "+ae+" "+ue,className:z(1629),role:z(1663),"aria-labelledby":me,ref:G,onClick:le,children:[E&&l[z(1375)](z(1528),{id:me,children:E}),l[z(1375)](q3,{onClick:be,nodeColor:o,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:x,nodeStrokeWidth:i,nodeComponent:c}),l[z(1375)](z(1850),{className:z(1919),d:"M"+(xe-F)+","+(re-F)+"h"+(ae+F*2)+"v"+(ue+F*2)+"h"+(-ae-F*2)+`z
9
+ M`+V.x+","+V.y+"h"+V.width+"v"+V[z(1355)]+"h"+-V[z(1710)]+"z",fillRule:z(710),pointerEvents:z(988)})]})})}ss[s(1293)]=s(1152);const J3=B[s(2002)](ss),_3=e=>n=>e?""+Math[s(2172)](1/n[s(1121)][2],1):void 0,Q3={[Yn[s(828)]]:s(1790),[Yn[s(1877)]]:s(1241)};function F3({nodeId:e,position:n,variant:t=Yn[s(1877)],className:o,style:x=void 0,children:r,color:i,minWidth:c=10,minHeight:d=10,maxWidth:a=Number[s(896)],maxHeight:u=Number.MAX_VALUE,keepAspectRatio:f=!1,resizeDirection:b,autoScale:g=!0,shouldResize:w,onResizeStart:h,onResize:v,onResizeEnd:M}){const m=s,y=Ia(),p=typeof e===m(1705)?e:y,z=Ge(),P=B[m(780)](null),G=t===Yn[m(1877)],O=Pe(B.useCallback(_3(G&&g),[G,g]),Ue),V=B[m(780)](null),j=n??Q3[t];B[m(2005)](()=>{const H=m;if(!(!P.current||!p))return!V[H(523)]&&(V[H(523)]=C5({domNode:P[H(523)],nodeId:p,getStoreItems:()=>{const{nodeLookup:W,transform:T,snapGrid:N,snapToGrid:L,nodeOrigin:D,domNode:Y}=z.getState();return{nodeLookup:W,transform:T,snapGrid:N,snapToGrid:L,nodeOrigin:D,paneDomNode:Y}},onChange:(W,T)=>{const N=H,{triggerNodeChanges:L,nodeLookup:D,parentLookup:Y,nodeOrigin:U}=z[N(1305)](),I=[],J={x:W.x,y:W.y},$=D[N(1861)](p);if($&&$.expandParent&&$[N(1907)]){const F=$[N(1639)]??U,xe=W.width??$.measured[N(1710)]??0,re=W[N(1355)]??$.measured[N(1355)]??0,ae={id:$.id,parentId:$[N(1907)],rect:{width:xe,height:re,...vc({x:W.x??$[N(835)].x,y:W.y??$[N(835)].y},{width:xe,height:re},$[N(1907)],D,F)}},ue=Go([ae],D,Y,U);I.push(...ue),J.x=W.x?Math[N(2172)](F[0]*xe,W.x):void 0,J.y=W.y?Math[N(2172)](F[1]*re,W.y):void 0}if(J.x!==void 0&&J.y!==void 0){const F={id:p,type:N(835),position:{...J}};I.push(F)}if(W[N(1710)]!==void 0&&W[N(1355)]!==void 0){const F=b?N(b==="horizontal"?1710:1355):!0,xe={id:p,type:N(497),resizing:!0,setAttributes:F,dimensions:{width:W[N(1710)],height:W.height}};I[N(1759)](xe)}for(const F of T){const xe={...F,type:"position"};I[N(1759)](xe)}L(I)},onEnd:({width:W,height:T})=>{const N=H,L={id:p,type:N(497),resizing:!1,dimensions:{width:W,height:T}};z[N(1305)]().triggerNodeChanges([L])}})),V.current[H(905)]({controlPosition:j,boundaries:{minWidth:c,minHeight:d,maxWidth:a,maxHeight:u},keepAspectRatio:f,resizeDirection:b,onResizeStart:h,onResize:v,onResizeEnd:M,shouldResize:w}),()=>{V[H(523)]?.destroy()}},[j,c,d,a,u,f,h,v,M,w]);const q=j[m(897)]("-");return l[m(1375)](m(1037),{className:Xe([m(651),m(820),...q,t,o]),ref:P,style:{...x,scale:O,...i&&{[G?m(1812):"borderColor"]:i}},children:r})}B.memo(F3);const ls=e=>Symbol.iterator in e,ds=e=>"entries"in e,us=(e,n)=>{const t=s,o=e instanceof Map?e:new Map(e.entries()),x=n instanceof Map?n:new Map(n[t(1615)]());if(o[t(1046)]!==x.size)return!1;for(const[r,i]of o)if(!x[t(1147)](r)||!Object.is(i,x[t(1861)](r)))return!1;return!0},$3=(e,n)=>{const t=s,o=e[Symbol.iterator](),x=n[Symbol.iterator]();let r=o[t(1026)](),i=x.next();for(;!r[t(1998)]&&!i.done;){if(!Object.is(r[t(1044)],i[t(1044)]))return!1;r=o[t(1026)](),i=x[t(1026)]()}return!!r.done&&!!i[t(1998)]};function eg(e,n){const t=s;return Object.is(e,n)?!0:typeof e!==t(878)||e===null||typeof n!==t(878)||n===null||Object.getPrototypeOf(e)!==Object[t(1733)](n)?!1:ls(e)&&ls(n)?ds(e)&&ds(n)?us(e,n):$3(e,n):us({entries:()=>Object[t(1615)](e)},{entries:()=>Object[t(1615)](n)})}const fs={inlineScript:s(564),dataRequest:s(1548),external:s(1077),builtin:s(1295)},ng=[{label:s(1540),value:"antdMessage"},{label:s(967),value:"switchCanvas"}],tg=[{label:"info",value:"info"},{label:s(1093),value:"success"},{label:s(1517),value:s(1517)},{label:"error",value:s(1036)},{label:s(997),value:s(997)}];function hs(e,n,t){const o=s,x=t[o(815)](i=>i.target===e),r=x[o(2179)];return x[o(474)]((i,c)=>{const d=o,a=n.find(f=>f.id===i[d(766)]),u=a?.data;return{sourceId:i.source,sourceLabel:u?.label??i.source,edgeIndex:c,totalIncoming:r}})}const xg=({data:e,id:n})=>{const t=s,{root:o}=Qe(),x=Pe(B.useCallback(c=>hs(n,c[t(960)],c[t(2083)])[t(474)](({sourceId:d,sourceLabel:a})=>({sourceId:d,label:a})),[n]),eg),r=e[t(1418)].executorType??"inlineScript",i=r===t(874)?e[t(1418)][t(439)]:r===t(1925)?e[t(1418)].externalHandlerKey:r==="builtin"?e[t(1418)][t(747)]===t(1974)?e[t(1418)][t(747)]+": "+String(e[t(1418)][t(1554)]?.[t(592)]??"").slice(0,24):e.eventBlock[t(747)]==="switchCanvas"?t(1704)+(o[t(974)].find(c=>c.id===e[t(1418)].builtinConfig?.[t(1587)])?.name??t(1505)):e[t(1418)].builtinId:null;return l[t(884)](t(1037),{className:t(1416),children:[l[t(1375)](Un,{type:t(500),position:ze[t(1962)],className:t(506)}),l[t(884)](t(1037),{className:t(2009),children:[l[t(1375)](t(2163),{className:"font-medium text-sm truncate",children:e[t(663)]}),l.jsxs(C[t(1450)],{size:t(1400),children:[l[t(1375)](C.Button,{type:t(1918),size:"small",icon:l.jsx(de[t(2165)],{}),onClick:()=>e.onEdit(n)}),l[t(1375)](C.Button,{type:"text",size:t(1400),danger:!0,icon:l[t(1375)](de[t(635)],{}),onClick:()=>e[t(680)](n)})]})]}),l[t(1375)](t(1037),{className:t(1296),children:l[t(884)](C.Tag,{color:r===t(608)?"default":r===t(434)?t(1992):t(1363),className:t(552),children:[fs[r],i?t(1890)+i:""]})}),l.jsxs(t(1037),{className:t(1959),children:[e.eventBlock[t(1439)]?.[t(2179)]>0&&l.jsxs("div",{children:[t(1058),e[t(1418)][t(1439)][t(474)](c=>c[t(863)]).join(", ")]}),x[t(2179)]>0&&l.jsxs(t(1037),{className:t(1402),children:[t(1248),x[t(474)](c=>l[t(884)](t(1037),{className:t(1893),children:["←「",c[t(663)],"」(整块返回值)"]},c.sourceId))]})]}),l.jsx(Un,{type:t(766),position:ze.Bottom,className:t(506)})]})},og={eventBlock:xg},rg=Object[s(1615)](fs)[s(474)](([e,n])=>({label:n,value:e})),gs=[{label:"点击",value:s(1164)},{label:s(2124),value:s(1899)},{label:"鼠标释放",value:s(1760)},{label:"双击",value:s(536)},{label:s(1484),value:s(2168)},{label:s(913),value:s(1678)},{label:s(1879),value:s(1340)},{label:s(888),value:s(1133)},{label:s(961),value:s(874)},{label:"外部事件",value:s(1925)}];function ig(e,n){const t={},o=[...e];return o.forEach((x,r)=>{const i=_0x5590,c=n[i(1439)][r]?.[i(863)]??(o[i(2179)]===1?"prev":i(1527)+r);t[c]="$prev."+x[i(766)]}),t}function cg(e,n,t){const o=s;return t[e]?.[o(863)]??(n===1?o(1527):o(1527)+e)}const ag=[{label:"string",value:"string"},{label:s(2059),value:s(2059)},{label:s(743),value:s(743)},{label:s(878),value:"object"},{label:s(1255),value:s(1255)}];function bs(e){const n=s,t=gs[n(990)](x=>x[n(1044)]===e[n(1354)]),o=t?.label??e[n(1354)];if(e[n(1354)]==="external"){const x=(e[n(858)]||"")[n(349)]();return x?o+n(1890)+x:o}return o}const sg=({open:e,onClose:n,bindNodeId:t,editingRoot:o})=>{const x=s,{nodes:r,eventFlow:i,externalHandlerCatalog:c,addEventBlock:d,upsertEventBlock:a,removeEventBlock:u,addEventRoot:f,updateEventRoot:b,root:g}=Qe(),[w,h,v]=C3([]),[M,m,y]=M3([]),p=B[x(780)](w);p.current=w;const[z,P]=B.useState(()=>o??null),[G,O]=B[x(883)](!1),[V]=C[x(1249)][x(403)](),j=C[x(1249)][x(1042)]("eventType",V),[q,H]=B[x(883)](null),[W,T]=B[x(883)](!1),[N]=C.Form[x(403)](),L=C[x(1249)][x(1042)](x(1205),N),D=C[x(1249)][x(1042)](x(747),N),Y=C[x(1249)].useWatch(x(1439),N),U=B[x(1581)](()=>!W||!q?[]:hs(q.id,w,M),[W,q,w,M]),I=B[x(780)](()=>{}),J=B[x(780)](()=>{});B[x(2005)](()=>{const E=x;if(W&&q){const A=q[E(1554)]??{},{outputs:Z,...ne}=q;N[E(985)]({...ne,executorType:q[E(1205)]??E(608),builtinId:q[E(747)],inputs:q[E(1439)]??[],builtinConfig:{content:String(A[E(592)]??""),level:String(A[E(1763)]??"info"),duration:A[E(850)]===void 0||A[E(850)]===null?void 0:Number(A[E(850)])}})}},[W,q,N]);const $=B.useCallback(E=>{m(A=>kc(E,A))},[m]),F=E=>{const A=x,Z={bindNodeId:E[A(458)],eventType:E[A(1354)],externalEventKey:E[A(1354)]===A(1925)?(E[A(858)]||"")[A(349)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},ne=f(Z);P({...Z,id:ne}),V.resetFields(),O(!1),C[A(1109)][A(1093)](A(580))},xe=B[x(1318)](E=>{const A=x;u(E),h(Z=>Z.filter(ne=>ne.id!==E)),m(Z=>Z[A(815)](ne=>ne[A(766)]!==E&&ne.target!==E))},[u,h,m]),re=B[x(1318)](E=>{const A=x,Z=p[A(523)][A(990)](X=>X.id===E)?.[A(1551)]?.[A(1418)],ne=i[A(1507)].find(X=>X.id===E),te=Z??ne;te?(H({...te,id:E}),T(!0)):C[A(1109)][A(1517)](A(371))},[i.eventBlocks]);I.current=re,J[x(523)]=xe,B[x(2005)](()=>{const E=x;if(e&&z){const A=z[E(1492)][E(960)][E(474)](ne=>({id:ne.id,type:E(1418),position:ne.position,data:{label:ne.data[E(663)],eventBlock:ne[E(1551)].eventBlock,onEdit:te=>I.current(te),onDelete:te=>J[E(523)](te)}})),Z=z[E(1492)].edges[E(474)](ne=>({id:ne.id,source:ne[E(766)],target:ne[E(500)]}));h(A),m(Z)}},[e,z,h,m]);const ae=()=>{const E=x,A={name:E(1634),executorType:E(608),callback:"return args;",inputs:[],outputs:[]},Z=d(A),ne={...A,id:Z},te={id:Z,type:E(1418),position:{x:100+w[E(2179)]*50,y:100+w.length*30},data:{label:ne[E(863)],eventBlock:ne,onEdit:X=>I[E(523)](X),onDelete:X=>J.current(X)}};h(X=>[...X,te])},ue=()=>{const E=x,A={name:E(1392),executorType:"builtin",builtinId:E(1974),builtinConfig:{content:E(377),level:E(658)},callback:E(1802),inputs:[],outputs:[]},Z=d(A),ne={...A,id:Z},te={id:Z,type:E(1418),position:{x:120+w.length*50,y:140+w[E(2179)]*30},data:{label:ne[E(863)],eventBlock:ne,onEdit:X=>I.current(X),onDelete:X=>J[E(523)](X)}};h(X=>[...X,te])},me=()=>{const E=x,A={name:E(967),executorType:E(434),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[E(974)][0]?.id||""},callback:E(1802),inputs:[],outputs:[]},Z=d(A),ne={...A,id:Z},te={id:Z,type:E(1418),position:{x:120+w[E(2179)]*50,y:140+w[E(2179)]*30},data:{label:ne.name,eventBlock:ne,onEdit:X=>I[E(523)](X),onDelete:X=>J[E(523)](X)}};h(X=>[...X,te])},se=E=>{const A=x;if(!q)return;const Z=E[A(1205)]??q.executorType??A(608),ne={name:E[A(863)],callback:E[A(745)]??q[A(745)],executorType:Z,dataRequestKey:Z===A(874)?(E[A(439)]||"")[A(349)]():void 0,externalHandlerKey:Z==="external"?(E.externalHandlerKey||"").trim():void 0,builtinId:Z===A(434)?E.builtinId:void 0,builtinConfig:Z===A(434)&&E[A(747)]===A(1974)?{content:String(E[A(1554)]?.content??"")[A(349)](),level:E.builtinConfig?.[A(1763)]||A(658),duration:E[A(1554)]?.[A(850)]===null||E[A(1554)]?.duration===void 0?void 0:Number(E.builtinConfig[A(850)])}:Z===A(434)&&E[A(747)]==="switchCanvas"?{targetCanvasId:String(E.builtinConfig?.[A(1587)]??"")[A(349)]()}:void 0},te=E[A(1439)]??[],X=te[A(815)](ve=>ve?.[A(863)]&&String(ve[A(863)])[A(349)]()),oe={...q,...ne,inputs:X,outputs:[]};a(oe),h(ve=>ve[A(474)](pe=>pe.id===q.id?{...pe,data:{...pe[A(1551)],label:oe[A(863)]||pe[A(1551)][A(663)],eventBlock:oe}}:pe)),T(!1),H(null),C.message[A(1093)](A(1420))},ee=()=>{const E=x;if(!z)return;const A=w[E(474)](ne=>{const te=E,X=M[te(815)](pe=>pe[te(500)]===ne.id),oe=ne.data[te(1418)],ve={...oe,outputs:[]};return{id:ne.id,eventBlockId:ne.id,position:ne[te(835)],inputs:X.map(pe=>pe[te(766)]),outputs:M[te(815)](pe=>pe[te(766)]===ne.id)[te(474)](pe=>pe[te(500)]),data:{label:ne[te(1551)].label,eventBlock:ve,inputMapping:ig(X,ve)}}}),Z=M[E(474)](ne=>({id:ne.id,source:ne[E(766)],target:ne.target}));b(z.id,{flowData:{nodes:A,edges:Z}}),Cn[E(1480)]({...z,flowData:{nodes:A,edges:Z}}),C[E(1109)][E(1093)](E(620)),n()},le=B[x(1581)](()=>r[x(474)](E=>({label:E[x(863)],value:E.id})),[r]),be=B[x(1581)](()=>t?i[x(1271)][x(815)](E=>E.bindNodeId===t):i.eventRoots,[i.eventRoots,t]);return e?l.jsxs(C[x(1767)],{title:x(1404),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[z?l.jsxs(x(1037),{className:x(1908),style:{height:700},children:[l[x(884)](x(1037),{className:x(355),children:[l.jsx(C.Space,{children:l[x(884)](x(2163),{className:x(1430),children:[x(1048),bs(z)," →"," ",r[x(990)](E=>E.id===z.bindNodeId)?.name]})}),l[x(884)](C[x(1450)],{children:[l[x(1375)](C.Button,{icon:l[x(1375)](de[x(952)],{}),onClick:ae,children:x(436)}),l[x(1375)](C[x(1105)],{icon:l[x(1375)](de[x(952)],{}),onClick:ue,children:"Message 提示"}),l[x(1375)](C[x(1105)],{icon:l[x(1375)](de[x(952)],{}),onClick:me,children:"跳转画布"}),l[x(1375)](C.Button,{type:x(2085),icon:l[x(1375)](de.SaveOutlined,{}),onClick:ee,children:"保存"}),l[x(1375)](C[x(1105)],{icon:l[x(1375)](de[x(818)],{}),onClick:()=>P(null),children:"返回列表"})]})]}),l[x(1375)]("div",{className:x(785),children:l[x(884)](z3,{nodes:w,edges:M,onNodesChange:v,onEdgesChange:y,onConnect:$,nodeTypes:og,fitView:!0,children:[l[x(1375)](S3,{}),l.jsx(E3,{}),l[x(1375)](J3,{})]})})]}):l[x(884)](x(1037),{className:x(627),children:[l[x(884)](x(1037),{className:x(1010),children:[l[x(1375)]("h3",{className:"text-lg font-medium",children:x(1736)}),l[x(1375)](C[x(1105)],{type:"primary",icon:l.jsx(de[x(952)],{}),onClick:()=>O(!0),children:x(557)})]}),l[x(1375)](C[x(853)],{dataSource:be,renderItem:E=>l[x(1375)](C[x(853)][x(1254)],{actions:[l[x(1375)](C[x(1105)],{type:"primary",icon:l[x(1375)](de[x(2165)],{}),onClick:()=>P(E),children:"编辑"},x(1841))],children:l[x(1375)](C[x(853)][x(1254)][x(1453)],{title:l[x(884)](C[x(1450)],{children:[l[x(884)]("span",{children:[x(998),bs(E)]}),l[x(1375)](C[x(2158)],{color:x(547),children:r[x(990)](A=>A.id===E[x(458)])?.[x(863)]||E[x(458)]})]}),description:x(1724)+E[x(1492)][x(960)][x(2179)]+", 连接数: "+E.flowData.edges[x(2179)]})}),locale:{emptyText:l[x(1375)](C.Empty,{description:x(940)})}}),l[x(1375)](C[x(1767)],{title:"新建事件流",open:G,onCancel:()=>{V.resetFields(),O(!1)},footer:null,afterOpenChange:E=>{E&&(V[x(527)](),t&&V.setFieldsValue({bindNodeId:t}))},children:l.jsxs(C.Form,{form:V,onFinish:F,layout:x(1323),children:[l[x(1375)](C[x(1249)][x(1254)],{name:x(458),label:"绑定节点",rules:[{required:!0,message:x(847)}],initialValue:t,children:l[x(1375)](C[x(1125)],{options:le,placeholder:x(650),disabled:!!t})}),l[x(1375)](C[x(1249)][x(1254)],{name:x(1354),label:x(1102),rules:[{required:!0,message:"请选择触发方式"}],children:l.jsx(C[x(1125)],{options:gs,placeholder:x(1768)})}),j==="external"&&l[x(1375)](C[x(1249)][x(1254)],{name:"externalEventKey",label:x(1940),rules:[{required:!0,message:x(1131)},{validator:(E,A)=>(A||"")[x(349)]()?Promise[x(1952)]():Promise[x(522)](new Error(x(751)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1375)](C[x(465)],{placeholder:"例如:refresh"})}),l.jsx(C.Form[x(1254)],{className:"mb-0",children:l.jsxs(C.Space,{className:x(1519),children:[l[x(1375)](C[x(1105)],{onClick:()=>{V[x(527)](),O(!1)},children:"取消"}),l[x(1375)](C[x(1105)],{type:x(2085),htmlType:x(1993),children:"创建"})]})})]})})]}),l[x(1375)](C[x(1767)],{title:x(440),open:W,onCancel:()=>{T(!1),H(null)},footer:null,destroyOnClose:!0,children:l.jsxs(C.Form,{form:N,onFinish:se,layout:x(1323),children:[l[x(1375)](C[x(1249)].Item,{name:x(863),label:"名称",rules:[{required:!0,message:x(1273)}],children:l[x(1375)](C.Input,{})}),l[x(1375)](C[x(1249)][x(1254)],{name:x(1205),label:x(854),rules:[{required:!0,message:x(447)}],children:l.jsx(C[x(1125)],{options:rg,placeholder:x(404)})}),L==="builtin"&&l[x(1375)](C[x(1249)][x(1254)],{name:x(747),label:x(1295),rules:[{required:!0,message:x(1343)}],children:l[x(1375)](C.Select,{options:ng,placeholder:x(1695)})}),L==="builtin"&&D===x(1974)&&l[x(884)](l[x(1465)],{children:[l.jsx(C[x(1249)].Item,{name:[x(1554),x(592)],label:x(2077),rules:[{required:!0,message:x(1616)}],extra:"占位符:{{prev}}、{{入参名}} 引用上游连线入参;{{$data.xxx}} 取事件上下文 data",children:l[x(1375)](C.Input[x(1529)],{rows:3,placeholder:x(987)})}),l[x(1375)](C[x(1249)][x(1254)],{name:["builtinConfig",x(1763)],label:x(947),children:l[x(1375)](C[x(1125)],{options:tg})}),l[x(1375)](C[x(1249)][x(1254)],{name:["builtinConfig",x(850)],label:"持续时间(秒)",extra:x(1118),children:l[x(1375)](C[x(715)],{min:0,step:.5,style:{width:"100%"},placeholder:"默认"})})]}),L===x(434)&&D==="switchCanvas"&&l[x(1375)](C[x(1249)].Item,{name:[x(1554),"targetCanvasId"],label:x(1486),rules:[{required:!0,message:x(1786)}],children:l[x(1375)](C[x(1125)],{placeholder:"选择要跳转的画布",options:g[x(974)][x(474)](E=>({value:E.id,label:E[x(863)]}))})}),L==="dataRequest"&&l[x(1375)](C[x(1249)][x(1254)],{name:"dataRequestKey",label:x(352),rules:[{required:!0,message:x(419)},{validator:(E,A)=>(A||"")[x(349)]()?Promise.resolve():Promise[x(522)](new Error(x(751)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(1375)](C.Input,{placeholder:x(1578)})}),L===x(1925)&&l.jsx(C[x(1249)][x(1254)],{name:x(357),label:x(1186),rules:[{required:!0,message:x(2026)},{validator:(E,A)=>(A||"")[x(349)]()?Promise[x(1952)]():Promise.reject(new Error(x(751)))}],extra:c[x(2179)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:c[x(2179)]>0?l[x(1375)](C[x(1125)],{showSearch:!0,optionFilterProp:x(663),allowClear:!0,placeholder:x(1388),options:c[x(474)](E=>({value:E[x(844)],label:E.label,title:E[x(994)]?E[x(663)]+" — "+E[x(994)]:E.label+" ("+E[x(844)]+")"})),onInputKeyDown:E=>{const A=x;E[A(844)]===" "&&E[A(1313)]()}}):l[x(1375)](C.Input,{placeholder:x(2144)})}),L===x(608)&&l.jsx(C[x(1249)][x(1254)],{name:x(745),label:"执行代码",rules:[{validator:(E,A)=>{const Z=x;return typeof A===Z(1705)&&A[Z(349)]()?Promise[Z(1952)]():Promise[Z(522)](new Error(Z(2029)))}}],children:l[x(1375)](C.Input[x(1529)],{rows:6,placeholder:x(1345)})}),U[x(2179)]>0&&l.jsxs(x(1037),{className:x(369),children:[l[x(1375)](x(1037),{className:"font-medium text-amber-950 mb-2",children:x(856)}),l.jsx("ul",{className:"list-none space-y-2 m-0 p-0",children:U[x(474)](E=>{const A=x,Z=Y??q?.[A(1439)]??[],ne=cg(E[A(1666)],E.totalIncoming,Z);return l[A(884)]("li",{className:A(2126),children:[l.jsxs(A(1037),{className:A(354),children:["第 ",E[A(1666)]+1,A(430),E[A(1119)],A(765),l[A(1375)](A(645),{children:A(1004)})," →"," ",l[A(884)]("code",{className:"bg-white px-1 rounded",children:["args.",ne]})]}),l.jsxs("div",{className:A(2066),children:["在下方第 ",E[A(1666)]+1,A(1452)]})]},E[A(795)])})})]}),l[x(1375)]("div",{className:"font-medium text-gray-800 mb-2",children:x(443)}),l[x(884)](x(1037),{className:x(1787),children:[x(1408)," ",l[x(1375)](x(519),{children:x(862)}),x(1261),l[x(1375)](x(519),{children:x(871)}),"、",l[x(1375)]("code",{children:x(971)}),"…"]}),l.jsx(C[x(1249)][x(853)],{name:x(1439),children:(E,{add:A,remove:Z})=>l[x(884)](l.Fragment,{children:[E.map(({key:ne,name:te,...X})=>l.jsxs(C[x(1450)],{align:x(1741),wrap:!0,className:x(373),children:[l[x(1375)](C[x(1249)][x(1254)],{...X,name:[te,"name"],rules:[{required:!0,message:"名称"}],children:l[x(1375)](C[x(465)],{placeholder:x(1805),style:{width:140}})}),l.jsx(C[x(1249)][x(1254)],{...X,name:[te,"type"],initialValue:x(1255),children:l[x(1375)](C[x(1125)],{options:ag,style:{width:100}})}),l[x(1375)](de[x(1968)],{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>Z(te)})]},ne)),l[x(1375)](C[x(1105)],{type:x(444),onClick:()=>A({type:x(1255)}),block:!0,icon:l[x(1375)](de[x(952)],{}),children:x(914)})]})}),l[x(1375)](C[x(1249)][x(1254)],{className:x(550),children:l[x(884)](C[x(1450)],{className:x(1519),children:[l[x(1375)](C[x(1105)],{onClick:()=>{T(!1),H(null)},children:"取消"}),l.jsx(C[x(1105)],{type:"primary",htmlType:"submit",children:"保存"})]})})]})})]}):null},Bx={click:"点击",mouseDown:s(2124),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:s(1484),mouseLeave:s(913),mouseEnter:s(1879),contextMenu:"右键菜单",dataRequest:s(961),external:"外部事件"};function lg(e){const n=s;if(e[n(1354)]===n(1925)){const t=(e[n(858)]||"")[n(349)]();return t?Bx[n(1925)]+n(1890)+t:Bx[n(1925)]}return Bx[e[n(1354)]]}const dg=Object[s(1615)](Bx).map(([e,n])=>({label:n,value:e})),ug=({nodeId:e})=>{const n=s,{eventFlow:t,addEventRoot:o,updateEventRoot:x,removeEventRoot:r}=Qe(),[i,c]=B[n(883)](!1),[d,a]=B[n(883)](null),[u,f]=B[n(883)](!1),[b]=C.Form[n(403)](),g=C[n(1249)].useWatch(n(1354),b),w=B[n(1581)](()=>{const y=n;return t.eventRoots[y(815)](p=>p[y(458)]===e)},[t[n(1271)],e]),h=y=>{const p=n,z={bindNodeId:e,eventType:y[p(1354)],externalEventKey:y[p(1354)]===p(1925)?(y[p(858)]||"")[p(349)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};o(z),b[p(527)](),f(!1)},v=y=>{a(y),c(!0)},M=(y,p)=>{x(y.id,{enabled:p})},m=y=>{r(y)};return l[n(884)](n(1037),{children:[l[n(884)]("div",{className:n(1010),children:[l[n(1375)]("h4",{className:n(951),children:n(1851)}),l.jsx(C[n(1105)],{type:n(2085),size:"small",icon:l[n(1375)](de[n(952)],{}),onClick:()=>f(!0),children:n(880)})]}),l.jsx(C[n(853)],{dataSource:w,renderItem:y=>l[n(1375)](C[n(853)][n(1254)],{actions:[l.jsx(C[n(1025)],{checked:y.enabled,size:n(1400),onChange:p=>M(y,p)},"enable"),l[n(1375)](C[n(1105)],{type:n(1918),size:"small",icon:l.jsx(de.EditOutlined,{}),onClick:()=>v(y)},n(1841)),l[n(1375)](C[n(1708)],{title:"确认删除",description:n(1063),onConfirm:()=>m(y.id),children:l[n(1375)](C.Button,{type:n(1918),danger:!0,size:n(1400),icon:l[n(1375)](de[n(635)],{})})},n(1234))],children:l[n(1375)](C.List[n(1254)][n(1453)],{title:l[n(884)](C[n(1450)],{children:[l[n(1375)](C[n(2158)],{color:y[n(1306)]?"blue":"default",children:lg(y)}),l[n(884)](n(2163),{className:n(1460),children:[y[n(1492)][n(960)][n(2179)]," 个节点"]})]}),description:y[n(1306)]?l[n(1375)](n(2163),{className:"text-xs text-green-600",children:n(1828)}):l[n(1375)](n(2163),{className:n(1460),children:n(544)})})}),locale:{emptyText:l[n(1375)](C[n(1491)],{image:C.Empty[n(1462)],description:n(1858)})}}),l[n(1375)](C.Modal,{title:n(880),open:u,onCancel:()=>{b.resetFields(),f(!1)},footer:null,afterOpenChange:y=>{y&&b[n(527)]()},children:l[n(884)](C.Form,{form:b,onFinish:h,layout:n(1323),children:[l[n(1375)](C[n(1249)][n(1254)],{name:n(1354),label:"触发方式",rules:[{required:!0,message:n(948)}],children:l[n(1375)](C.Select,{options:dg,placeholder:"选择触发方式(DOM / 数据请求 / 外部)"})}),g===n(1925)&&l[n(1375)](C.Form[n(1254)],{name:"externalEventKey",label:n(1940),rules:[{required:!0,message:"请填写外部事件标识"},{validator:(y,p)=>(p||"")[n(349)]()?Promise[n(1952)]():Promise[n(522)](new Error(n(751)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(1375)](C[n(465)],{placeholder:n(1438)})}),l[n(1375)](C[n(1249)][n(1254)],{className:n(1928),children:l[n(884)](C[n(1450)],{className:n(1519),children:[l[n(1375)](C[n(1105)],{onClick:()=>f(!1),children:"取消"}),l.jsx(C.Button,{type:n(2085),htmlType:n(1993),children:"创建"})]})})]})}),l[n(1375)](sg,{open:i,onClose:()=>{c(!1),a(null)},bindNodeId:e,editingRoot:d},d?.id??n(1933)+e)]})},{Panel:F0}=C[s(860)],{TabPane:Dx}=C.Tabs,{TextArea:fg}=C[s(465)],ys=({defaultTestData:e})=>{const n=s,{nodes:t,selectedNodeId:o,updateNode:x,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:c,materials:d,selectedStatusId:a,selectStatus:u}=Qe(),[f]=C.Form[n(403)](),[b,g]=B[n(883)](n(1212)),[w,h]=B[n(883)](!1),[v,M]=B[n(883)](null),[m,y]=B.useState({}),p=B[n(1581)](()=>t[n(990)](D=>D.id===o),[t,o]),z=p?.[n(742)][n(1833)]||[],P=L=>{const D=n;o&&(L[D(1379)]&&r(o,L[D(1379)]),L[D(863)]!==void 0&&x(o,{name:L[D(863)]}),L[D(908)]&&i(o,L[D(908)]))};console[n(1672)](o,n(1469),p),B[n(2005)](()=>{const L=n;p&&p&&(f[L(985)]({name:p.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:L(1911),borderRadius:0,opacity:1,...p[L(1379)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...p[L(908)]}}),u(null))},[p,u,f]);const G=()=>{const L=n;!o||!p||(M(L(1206)),h(!0))},O=L=>{const D=n;if(!o||!p)return;const Y={id:Le[D(1335)](),name:L[D(863)]+D(1735)+(z.length+1),expression:z[D(2179)]===0?D(2069):D(2032),material:{...L,id:Le[D(1335)]()},boundDatasetId:null};if(v==="new"){const U=[...z,Y];c(o,{statusList:U})}else if(v){const U=z[D(474)](I=>{const J=D;return I.id===v?{...I,material:{...L,id:Le[J(1335)]()}}:I});c(o,{statusList:U})}h(!1),M(null)},V=L=>{const D=n;if(!o||!p)return;const Y=p.contentInfo[D(1833)]?.[D(815)](U=>U.id!==L)||[];c(o,{statusList:Y}),a===L&&u(null)},j=(L,D)=>{const Y=n;if(!o||!p)return;const U=p[Y(742)][Y(1833)]?.[Y(474)](I=>I.id===L?{...I,...D}:I)||[];c(o,{statusList:U})},q=L=>{const D=n;if(!o||!p)return;const Y={...L,id:Le[D(1335)](),name:L.name+D(870),expression:"return false;"},U=[...z,Y];c(o,{statusList:U})},H=(L,D)=>{const Y=n;if(!o||!p)return;const U=z[Y(424)](J=>J.id===L);if(U===-1)return;const I=[...z];D==="up"&&U>0?[I[U],I[U-1]]=[I[U-1],I[U]]:D==="down"&&U<I[Y(2179)]-1&&([I[U],I[U+1]]=[I[U+1],I[U]]),c(o,{statusList:I})},W=L=>{M(L),h(!0)},T=(L,D)=>{const Y=n,U=D[Y(1936)]||{},I=U.startX??0,J=U[Y(504)]??0,$=U.endX??100,F=U[Y(1945)]??0,xe=Math[Y(2172)]((U.lineWeight||U[Y(1531)]||2)*2,4),re=Math[Y(775)](I,$),ae=Math[Y(775)](J,F),ue=Math[Y(2172)](I,$),me=Math[Y(2172)](J,F),se=Math[Y(2172)](ue-re,xe),ee=Math[Y(2172)](me-ae,xe),le=L[Y(1379)].x||0,be=L.normalStyle.y||0;return{material:{...D,config:{...U,startX:I-re,startY:J-ae,endX:$-re,endY:F-ae}},box:{x:le+re,y:be+ae,width:se,height:ee}}},N=(L,D)=>{const Y=n;if(!o||!p)return;const{list:U,lineBox:I}=z[Y(1106)]((J,$)=>{const F=Y;if($.id!==L)return J[F(1797)].push($),J;let xe;if($[F(956)][F(1912)]===F(1701)&&F(1936)in D&&D[F(1936)]!==void 0){const re=$[F(956)],ae=D.config;xe={...re,...D,config:{...re[F(1936)]||{},...ae}}}else xe={...$.material,...D};if(xe.type===F(1701)){const{material:re,box:ae}=T(p,xe);return J[F(1797)][F(1759)]({...$,material:re}),J.lineBox=ae,J}return J[F(1797)].push({...$,material:xe}),J},{list:[],lineBox:null});I!==null?x(o,{normalStyle:{...p[Y(1379)],x:I.x,y:I.y,width:I.width,height:I[Y(1355)]},contentInfo:{...p[Y(742)],statusList:U}}):c(o,{statusList:U})};return p?l[n(884)](n(1037),{className:n(1226),children:[l.jsxs(n(1037),{className:n(591),children:[l[n(1375)]("h3",{className:n(1410),children:n(2063)}),l[n(1375)]("p",{className:"text-sm text-gray-500",children:"编辑选中节点的属性"})]}),l.jsx(n(1037),{className:"flex-1 overflow-y-auto p-4",children:l[n(884)](C[n(1417)],{activeKey:b,onChange:g,children:[l[n(1375)](Dx,{tab:"基础",children:l.jsxs(C[n(1249)],{form:f,layout:n(1323),onValuesChange:P,initialValues:{name:p[n(863)]},children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(1415),name:n(863),children:l.jsx(C.Input,{placeholder:n(361)})}),l[n(884)](C.Collapse,{ghost:!0,defaultActiveKey:[n(835),"size",n(1476)],children:[l[n(1375)](F0,{header:"位置",children:l[n(884)](C[n(1450)],{children:[l.jsx(C[n(1249)][n(1254)],{label:"X",name:[n(1379),"x"],children:l[n(1375)](C[n(715)],{})}),l[n(1375)](C[n(1249)][n(1254)],{label:"Y",name:[n(1379),"y"],children:l[n(1375)](C[n(715)],{})})]})},n(835)),l.jsx(F0,{header:"尺寸",children:l.jsxs(C[n(1450)],{children:[l[n(1375)](C.Form[n(1254)],{label:"宽度",name:[n(1379),n(1710)],children:l[n(1375)](C[n(715)],{min:10})}),l.jsx(C.Form[n(1254)],{label:"高度",name:[n(1379),n(1355)],children:l[n(1375)](C[n(715)],{min:10})})]})},"size"),l[n(884)](F0,{header:"样式",children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(2021),name:[n(1379),n(2043)],children:l[n(1375)](C.Input,{placeholder:n(1685)})}),l[n(1375)](C.Form.Item,{label:n(1108),name:[n(1379),"padding"],children:l[n(1375)](C[n(715)],{min:0})}),l.jsx(C[n(1249)].Item,{label:"圆角",name:["normalStyle",n(681)],children:l[n(1375)](C.InputNumber,{min:0})}),l.jsx(C[n(1249)].Item,{label:"缩放比例",name:[n(1379),n(690)],help:n(2141),children:l.jsx(C.InputNumber,{min:.1,max:5,step:.1})}),!p[n(742)][n(1833)][n(1496)](L=>L[n(956)][n(1912)]===n(1701))&&l.jsx(C[n(1249)][n(1254)],{label:n(981),name:[n(1379),n(1442)],help:n(1020),children:l.jsx(C[n(715)],{min:0,max:360,step:1})}),l[n(1375)](C[n(1249)][n(1254)],{label:"透明度",name:[n(1379),n(1028)],children:l.jsx(C[n(715)],{min:0,max:1,step:.1})}),l[n(1375)](C[n(1249)][n(1254)],{label:"层级",name:["normalStyle",n(741)],children:l[n(1375)](C[n(715)],{})})]},"style")]})]})},n(1212)),l[n(1375)](Dx,{tab:"状态",children:p.type==="group"&&p.children?l.jsx(Kl,{node:p,updateNode:x,materials:d}):l[n(884)](n(1037),{className:n(546),children:[l[n(884)]("div",{className:n(2009),children:[l[n(884)]("span",{className:n(1430),children:[n(632),l[n(1375)](C.Tag,{color:"blue",className:n(1594),children:z.length})]}),l[n(1375)](C[n(1105)],{type:"primary",size:n(1400),icon:l[n(1375)](de[n(952)],{}),onClick:G,children:"添加状态"})]}),l[n(1375)]("p",{className:"text-xs text-gray-500 mb-3",children:"节点根据状态表达式计算结果显示对应物料,第一个返回 true 的状态为当前状态"}),z[n(2179)]>0&&l[n(1375)](n(1037),{className:"mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:l[n(1375)](n(1037),{className:n(817),children:l[n(884)]("div",{children:[l[n(1375)](n(2163),{className:n(2080),children:n(1171)}),l.jsx(n(2163),{className:"ml-2 text-sm font-medium text-blue-600",children:n(1926)})]})})}),z[n(2179)]===0?l[n(1375)](n(1037),{className:n(1990),children:n(735)}):l.jsx(C.Collapse,{ghost:!0,defaultActiveKey:z[0]?.id+o,children:z[n(474)]((L,D)=>l[n(1375)](F0,{header:l.jsxs(n(1037),{className:n(1965),children:[l.jsx(n(2163),{className:n(2130),children:D+1}),l[n(1375)](n(2163),{className:n(1430),children:L[n(863)]}),l[n(1375)](C[n(2158)],{color:"default",className:n(1468),children:L[n(956)][n(1912)]})]}),extra:l[n(884)](C[n(1450)],{size:n(1400),onClick:Y=>Y[n(1313)](),children:[l[n(1375)](C.Button,{type:"text",size:n(1400),icon:l[n(1375)](de.ArrowUpOutlined,{}),disabled:D===0,onClick:Y=>{Y[n(1313)](),H(L.id,"up")}}),l.jsx(C.Button,{type:n(1918),size:"small",icon:l.jsx(de.ArrowDownOutlined,{}),disabled:D===z.length-1,onClick:Y=>{const U=n;Y.stopPropagation(),H(L.id,U(1221))}}),l[n(1375)](C[n(1105)],{type:"text",size:n(1400),icon:l.jsx(de[n(364)],{}),onClick:Y=>{Y[n(1313)](),q(L)}}),l.jsx(C[n(1105)],{type:n(1918),size:"small",danger:!0,icon:l[n(1375)](de[n(635)],{}),onClick:Y=>{Y.stopPropagation(),V(L.id)}})]}),children:l.jsxs(C[n(1249)],{layout:"vertical",children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(1839),children:l.jsx(C[n(465)],{value:L[n(863)],onChange:Y=>j(L.id,{name:Y[n(500)][n(1044)]}),placeholder:"输入状态名称"})}),l[n(1375)](li,{status:L,onUpdate:Y=>j(L.id,Y),onAppendToExpression:Y=>{y(U=>({...U,[L.id]:(U[L.id]??L.expression)+Y}))}}),l.jsx(C[n(1249)][n(1254)],{label:n(1817),help:"单参数 data(对象):由数据池 sample(若已绑定)与画布运行时数据合并;测点数组会按 paramsCode 写入 data。须 return true/false。",children:l[n(1375)](fg,{value:m[L.id]??L[n(572)],onChange:Y=>y(U=>({...U,[L.id]:Y[n(500)][n(1044)]})),onBlur:Y=>{const U=n;j(L.id,{expression:Y[U(500)].value}),y(I=>{const J={...I};return delete J[L.id],J})},rows:3,placeholder:n(2069)})}),l.jsx(C[n(1249)].Item,{label:n(1373),children:l[n(884)](n(1037),{className:n(1965),children:[l[n(1375)](C[n(2158)],{color:n(547),children:L[n(956)][n(863)]}),l.jsx(C[n(2158)],{color:n(384),children:L[n(956)][n(1912)]}),l[n(1375)](C[n(1105)],{type:n(1088),size:"small",icon:l[n(1375)](de.EditOutlined,{}),onClick:()=>W(L.id),children:n(2060)})]})}),l[n(1375)](C[n(1867)],{style:{margin:n(1625)}}),l[n(884)](n(1037),{className:n(1885),children:[l[n(884)](n(1037),{className:"flex items-center justify-between mb-2",children:[l[n(1375)]("span",{className:n(951),children:n(1252)}),l[n(1375)](C[n(2158)],{children:L[n(956)].name})]}),l[n(1375)](di,{material:L[n(956)],onSave:Y=>N(L.id,Y)})]})]})},L.id+o))})]})},"status"),l[n(1375)](Dx,{tab:"控制",children:l.jsxs(C[n(1249)],{form:f,layout:n(1323),onValuesChange:P,children:[l[n(1375)](C[n(1249)][n(1254)],{label:n(2028),name:["controlInfo",n(698)],valuePropName:n(893),children:l[n(1375)](C.Switch,{})}),l.jsx(C[n(1249)][n(1254)],{label:n(702),name:[n(908),"isClickable"],valuePropName:"checked",children:l[n(1375)](C.Switch,{})}),l[n(1375)](C.Form[n(1254)],{label:n(771),name:["controlInfo",n(2102)],valuePropName:n(893),children:l[n(1375)](C[n(1025)],{})}),l[n(1375)](C[n(1249)][n(1254)],{label:n(1631),name:[n(908),n(2143)],valuePropName:n(893),children:l[n(1375)](C[n(1025)],{})})]})},n(931)),l[n(1375)](Dx,{tab:n(1752),children:l[n(1375)](ug,{nodeId:p.id})},"eventflow")]})}),l[n(1375)](n(1037),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(884)](n(1037),{className:"text-xs text-gray-500",children:[l[n(884)](n(1037),{children:[n(972),p.id[n(852)](0,8),n(396)]}),l[n(884)](n(1037),{children:[n(346),z.length]})]})}),l[n(1375)](C[n(1767)],{title:n(360),open:w,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l[n(1375)]("div",{className:"max-h-[400px] overflow-y-auto",children:l[n(884)](C[n(860)],{ghost:!0,defaultActiveKey:[n(1212),n(420),n(1918),n(1190)],children:[l[n(1375)](F0,{header:n(1777),children:l[n(1375)](n(1037),{className:n(712),children:d[n(815)](L=>["矩形","圆形",n(605)][n(1419)](L.name))[n(474)](L=>l[n(1375)](ms,{material:L,onClick:()=>O(L)},L.id))})},n(1212)),l[n(1375)](F0,{header:n(1050),children:l[n(1375)](n(1037),{className:n(712),children:d[n(815)](L=>["阀门","泵","罐体"][n(1419)](L[n(863)])||L[n(1912)]===n(1054)&&!["矩形","圆形",n(605)][n(1419)](L[n(863)]))[n(474)](L=>l[n(1375)](ms,{material:L,onClick:()=>O(L)},L.id))})},n(420)),l[n(1375)](F0,{header:"文本",children:l[n(1375)](n(1037),{className:n(712),children:d.filter(L=>L[n(1912)]===n(1509)).map(L=>l[n(884)](n(1037),{className:n(1027),onClick:()=>O(L),children:[l[n(1375)](n(1037),{className:n(1582),children:l[n(1375)](n(2163),{className:n(1698),children:"T"})}),l[n(1375)](n(2163),{className:"text-xs",children:L[n(863)]})]},L.id))})},n(1918)),l[n(1375)](F0,{header:"线条",children:l[n(1375)](n(1037),{className:n(712),children:d.filter(L=>L.type===n(1701))[n(474)](L=>l.jsxs("div",{className:n(1027),onClick:()=>O(L),children:[l[n(1375)](n(1037),{className:n(1582),children:l[n(1375)](n(1037),{className:"w-8 h-0.5 bg-gray-400"})}),l.jsx("span",{className:"text-xs",children:L[n(863)]})]},L.id))})},n(1190))]})})})]}):l[n(1375)](n(1037),{className:n(1832),children:l[n(1375)](C.Empty,{description:"请选择一个节点"})})},ms=({material:e,onClick:n})=>{const t=s,o=e[t(1912)]===t(1054)?e[t(1950)]:void 0;return l.jsxs("div",{className:t(1027),onClick:n,children:[l[t(1375)](t(1037),{className:t(1300),children:o?l[t(1375)]("img",{src:o,alt:e[t(863)],className:t(1080)}):l[t(1375)](t(2163),{className:t(1468),children:e[t(863)][0]})}),l[t(1375)]("span",{className:"text-xs",children:e[t(863)]})]})},hg="ConfigEditor-module__configEditor__dinNG",gg={configEditor:hg},bg=s(2167);function ws(e){return Array[s(565)](e)}const vs=({open:e,onClose:n})=>{const t=s,{dataPool:o,addDataPoolItem:x,updateDataPoolItem:r,removeDataPoolItem:i}=Qe(),[c]=C[t(1249)][t(403)](),[d,a]=B[t(883)](null);B[t(2005)](()=>{const h=t;!e&&(a(null),c[h(527)]())},[e,c]);const u=()=>{const h=t;a(h(1766)),c[h(985)]({name:h(1973)+(o.length+1),sampleJson:""})},f=h=>{const v=t;a(h.id),c[v(985)]({name:h[v(863)],sampleJson:JSON[v(922)](h[v(2133)]??{},null,2)})},b=h=>{const v=t,M=h.trim();if(!M)return{};const m=JSON[v(1387)](M);if(m===null||typeof m!="object")throw new Error(v(2055));if(Array[v(565)](m)){for(let y=0;y<m[v(2179)];y++)if(typeof m[y]!="object"||m[y]===null)throw new Error("数组第 "+(y+1)+v(518));return m}return m},g=()=>{const h=t;c[h(1034)]()[h(688)](v=>{const M=h;let m;try{m=b(v[M(910)])}catch(p){C[M(1109)][M(1036)](p instanceof Error?p[M(1109)]:M(1235));return}const y=v[M(863)][M(349)]();if(!y){C[M(1109)][M(1036)](M(1273));return}d==="__new__"?(x({name:y,sample:m}),C.message[M(1093)](M(2149))):d&&(r(d,{name:y,sample:m}),C.message.success("已保存")),a(null),c[M(527)]()})[h(714)](()=>{})},w=[{title:"名称",dataIndex:t(863),key:t(863)},{title:"类型",key:t(1912),width:100,render:(h,v)=>ws(v[t(2133)])?l[t(884)](C.Tag,{color:t(547),children:[t(693),v[t(2133)][t(2179)],t(1586)]}):l[t(1375)](C[t(2158)],{children:"对象"})},{title:t(1401),key:t(999),width:90,render:(h,v)=>{const M=t;if(ws(v[M(2133)])){const m=v.sample[0];return m?Object[M(999)](m)[M(2179)]:0}return Object[M(999)](v[M(2133)]||{})[M(2179)]}},{title:"操作",key:t(2047),width:160,render:(h,v)=>l.jsxs(C[t(1450)],{children:[l[t(1375)](C[t(1105)],{type:t(1088),size:"small",icon:l.jsx(de[t(2165)],{}),onClick:()=>f(v),children:"编辑"}),l[t(1375)](C[t(1708)],{title:t(1280),description:t(1384),onConfirm:()=>{const M=t;i(v.id),C.message[M(1093)](M(1097))},children:l[t(1375)](C[t(1105)],{type:t(1088),size:t(1400),danger:!0,icon:l.jsx(de[t(635)],{}),children:"删除"})})]})}];return l[t(884)](C[t(1767)],{title:t(526),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(884)]("p",{className:"text-sm text-gray-500 mb-3",children:[t(1183)," ",l[t(1375)](t(519),{className:t(996),children:t(1574)}),t(1120)]}),l[t(1375)](t(1037),{className:t(1976),children:l[t(1375)](C[t(1105)],{type:t(2085),icon:l.jsx(de[t(952)],{}),onClick:u,children:t(1257)})}),d&&l[t(884)](t(1037),{className:t(1799),children:[l[t(884)](t(1037),{className:"font-medium mb-2",children:[d==="__new__"?"新建":"编辑",t(980)]}),l[t(884)](C.Form,{form:c,layout:"vertical",children:[l[t(1375)](C.Form.Item,{name:t(863),label:"名称",rules:[{required:!0,message:"必填"}],children:l.jsx(C.Input,{placeholder:t(394)})}),l[t(1375)](C[t(1249)].Item,{name:t(910),label:t(1209),rules:[{required:!0,message:"必填"}],children:l[t(1375)](C.Input[t(1529)],{rows:12,className:t(1225),placeholder:bg})}),l[t(884)](C.Space,{children:[l[t(1375)](C[t(1105)],{type:t(2085),onClick:g,children:"保存"}),l.jsx(C[t(1105)],{onClick:()=>{const h=t;a(null),c[h(527)]()},children:"取消"})]})]})]}),l[t(1375)](C[t(1217)],{size:t(1400),rowKey:"id",dataSource:o,columns:w,pagination:!1,locale:{emptyText:t(1501)}})]})},{Header:yg,Sider:ps,Content:mg}=C[s(489)],wg=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:o,className:x="",style:r,showHeader:i=!0,showMaterialPanel:c=!0,showPropertyPanel:d=!0,customMaterials:a,initialDataPool:u,initialEventFlow:f,externalEventActions:b,onUploadSvg:g,defaultTestData:w,backgroundImageUrl:h,initialViewportWidth:v,initialViewportHeight:M})=>{const m=s,[y,p]=B.useState(!1),[z,P]=B[m(883)](!1),[G,O]=B[m(883)](""),[V]=B[m(883)](()=>[{paramsCode:m(1811),paramsName:"通频速度有效值",value:25,paramsUnit:m(807)},{paramsCode:m(615),paramsName:m(1703),value:1.5,paramsUnit:m(1423)}]),j=w!==void 0?w:V,q=i&&!t,{exportScheme:H,importScheme:W,nodes:T,materials:N,dataPool:L,eventFlow:D,root:Y,canvas:U,viewport:I,addMaterial:J,setDataPool:$,setEventFlow:F,setExternalHandlerCatalog:xe}=Qe();B.useRef(null);const re=B[m(780)](!1);B[m(2005)](()=>{const ee=m;if(!re[ee(523)]&&(re.current=!0,Nr[ee(1322)](le=>J(le)),e&&W(e),f!==void 0&&F(f),b&&b[ee(2179)]>0)){xe(b);const le={};for(const be of b){const E=String(be[ee(844)]??"")[ee(349)]();E&&be[ee(493)]&&(le[E]=be.handler)}Object[ee(999)](le)[ee(2179)]>0&&Cn.mergeDefaultRuntimeHandlers({external:le})}},[]),B[m(2005)](()=>{const ee=m;a&&a[ee(2179)]>0&&a[ee(1322)](le=>J(le))},[]),B[m(2005)](()=>{u!==void 0&&$(u)},[u,$]),B[m(2005)](()=>{if(n){const ee=H();n(ee)}},[T,N,L,D,Y,n,H]);const ae=B.useCallback(()=>{const ee=m,le=H(),be=JSON[ee(922)](le,null,2),E=ee(669)+encodeURIComponent(be),A="scheme_"+Date[ee(1700)]()+ee(1115),Z=document[ee(2142)]("a");Z.setAttribute(ee(1692),E),Z[ee(1051)](ee(1398),A),Z[ee(1164)](),C[ee(1109)].success("导出成功!")},[H]),ue=B.useCallback(()=>{const ee=m;try{const le=JSON[ee(1387)](G);W(le),p(!1),O(""),C[ee(1109)][ee(1093)]("导入成功!")}catch{C.message[ee(1036)]("JSON 格式错误,请检查输入")}},[G,W]),me=B[m(1318)](ee=>{const le=m,be=new FileReader;return be[le(695)]=E=>{const A=le;try{const Z=E[A(500)]?.[A(933)],ne=JSON[A(1387)](Z);W(ne),C.message.success(A(1497)),p(!1)}catch{C[A(1109)][A(1036)](A(2065))}},be[le(2162)](ee),!1},[W]),se=B[m(1318)](()=>H(),[H]);return B.useImperativeHandle(B[m(780)]?.(),()=>({getScheme:se,exportScheme:H,importScheme:W}),[se,H,W]),l[m(1375)](C.ConfigProvider,{locale:ks,children:l.jsx(m(1037),{className:gg.configEditor,style:{height:t?"auto":m(1575),...r},children:l[m(884)](C[m(489)],{className:"w-full "+(t?"":m(1748))+" "+(t?"":"overflow-hidden")+" "+x,children:[q&&l.jsxs(yg,{className:m(925),children:[l[m(884)](m(1037),{className:m(1801),children:[l[m(1375)]("div",{className:m(1886),children:m(2148)}),l[m(884)](m(1037),{className:m(700),children:[T[m(2179)],m(2098)]})]}),l[m(884)](C[m(1450)],{children:[o,!t&&l[m(884)](l[m(1465)],{children:[l[m(1375)](C[m(879)],{title:"导出 JSON",children:l.jsx(C[m(1105)],{icon:l.jsx(de[m(801)],{}),onClick:ae,children:"导出"})}),l.jsx(C[m(879)],{title:m(2068),children:l[m(1375)](C[m(1105)],{icon:l[m(1375)](de.UploadOutlined,{}),onClick:()=>p(!0),children:"导入"})}),l.jsx(C[m(879)],{title:m(728),children:l[m(1375)](C[m(1105)],{icon:l.jsx(de[m(992)],{}),onClick:()=>P(!0),children:m(1436)})})]})]})]}),l[m(884)](C[m(489)],{children:[c&&!t&&l[m(1375)](ps,{width:280,className:m(1946),theme:m(1592),children:l[m(1375)](kr,{onUploadSvg:g})}),l.jsx(mg,{className:m(1903)+(t?"":m(1189)),style:t?{backgroundColor:U?.[m(2043)],backgroundImage:U?.[m(1372)]!==!1?m(596):void 0,backgroundSize:20*(I?.[m(690)]||1)+m(1900)+20*(I?.scale||1)+"px"}:void 0,children:l[m(1375)](ii,{defaultTestData:j,readonly:t,backgroundImageUrl:h,initialViewportWidth:v,initialViewportHeight:M})}),d&&!t&&l[m(1375)](ps,{width:360,className:m(1946),theme:"light",children:l[m(1375)](ys,{defaultTestData:Array[m(565)](j)?j:void 0})})]}),l.jsx(vs,{open:z,onClose:()=>P(!1)}),l.jsx(C[m(1767)],{title:m(2137),open:y,onOk:ue,onCancel:()=>{p(!1),O("")},width:600,children:l[m(884)](m(1037),{className:m(1888),children:[l[m(884)](m(1037),{children:[l.jsx("p",{className:m(373),children:m(797)}),l.jsx(m(614),{type:m(2161),accept:m(1115),onChange:ee=>{const le=ee.target.files?.[0];le&&me(le)},className:m(1988)})]}),l[m(1375)]("div",{className:m(1192),children:"或"}),l[m(884)](m(1037),{children:[l[m(1375)]("p",{className:m(373),children:m(953)}),l.jsx(m(1008),{value:G,onChange:ee=>O(ee[m(500)][m(1044)]),placeholder:m(748),className:m(1332)})]})]})})]})})})};Se[s(2078)]=ii,Se[s(1081)]=wg,Se.DataPoolModal=vs,Se[s(1371)]=xi,Se[s(1547)]=kr,Se[s(509)]=ro,Se[s(1242)]=ys,Se.buildMergedDataRecord=Mr,Se[s(397)]=Cr,Se[s(1297)]=Sr,Se.createDefaultStatus=_x,Se[s(1245)]=Zx,Se.eventBus=Cn,Se.findActiveStatus=Br,Se[s(551)]=Nr,Se[s(515)]=Qe,Object[s(593)](Se,Symbol[s(867)],{value:s(1613)})});