You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__CoreTeacher__Index.03bd6...

214 lines
979 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var de=Object.assign,D5=(Je,Ge,D)=>new Promise((qe,Ae)=>{var Gt=ae=>{try{F(D.next(ae))}catch(Ze){Ae(Ze)}},xt=ae=>{try{F(D.throw(ae))}catch(Ze){Ae(Ze)}},F=ae=>ae.done?qe(ae.value):Promise.resolve(ae.value).then(Gt,xt);F((D=D.apply(Je,Ge)).next())});(window.webpackJsonp=window.webpackJsonp||[]).push([[153,6,8,11,12],{"+GGh":function(Je,Ge){Je.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF7VXQm4VVXZfvc+5yKzMqiAgpggqGihoBI4Zz+iQA7VX2Fa+GeFmjnmjAZmDlnmDGaDY5KzJmmWAiKIoCihmAN/ySTDvRcF4e691v+s4VvrW2vvcwFB8r/lcy/n7LP32nu9+/3e7/2+tU+CLfwjpaw0NmJfIcRBSYK+Uoq+QNIdEu0AtJMSLaSUABJzZPWn+iUlEiRQb6l37MvsfbOdfs+9qf5htnav6ffsvoP9+mPSsej4+iM0Jr5vPR4aIF0o9po6ziccPx1GnbWQZvzqNfef/rd9j7+uXhPmIqn36XN6H+rf+n/+dTV+2o/6kNq/39YfT72m3le7Vj/Cnq76tx4TGx9tS2Olz5RByc/EZgBNSlm3enU+TAiMkhJHSshtHULchKkrok5WnUY8SQxwNNf2hAmMRWD5ARMG9H4tWAxQ/XHoPQ5kt4cAVBZrHgF2Mw/kePwBYC2ozUDo+OoTFosMr24y7eTpCbY3SzzBZvLN9TMAor/55DMAWYAawHkwanAkBkgejAROvy8POPOe+r/+DL8R2N+14LNZAJNStmpoEGcikWdLKTvpiTbjt0zkJ5z4J5hgDjhiEY01zwyOXAL2spNtZ8GAx5wtAdgxEk14xJh6v3qGOdvFLGlhwW4SN/4YyHRw4lkGWn8DEPsyINkhqG2ILYhBPBNZkEjzOQNcYiILngCYFoAJ387MhQZm8Lq5ERzg1DW078cMZdjPMxyBrTlu+kQAU2GwYXV+shS4HJA7xUwQhjB+J9vwVRIiOZB8fCSgxmGxVriii2+ugmeamD1jINn9EbtE4GiWcdm5hGHa7LOMMQtA4myjgMNkgLmHolDpmMO8Xgh9jOk8Y9kwrMFTZCweBl1YJEC60OrBpc8tlislSNtkgDU0ZEcJyGshsSftj3RTyDY8DHqQ0WT5z/gwYmck0Gc018EkW6qOgU0hyQQkAiVjKQ6gCBh0IYJwG9wpZpyffPwsvBCI7CxpQLEJKw2DFmQObIEmsmAmIKoIYNkmABPTUoEOY4Ar01c0Bxx4zekujrONBpiUMmlYnY2TAhcWgUoXn7NVOCFmxi2DWZo3UcVPWnPC338+DIMUEnniwIFg1bANoYkN3z6hKN4kHvDhfuz4Kf5bgV82fv45SlzcHR8JZhNmiInY30onCQpnkoXPKEzaa8kBw/WT0Vs8iSiGT7eNvTEJSGXsSMB101nCWpsMMCll2/rG/C5IObJ0fyWhhYtcg2LOVDrQM3CVZYf2rmThylxLC1wmjHkmZ47EjhUzldWHPAz7z7OzY+cUjJ8BrBD+SliRk6AGkxXLjmFi9rLb+OyQ2I2HNgMYCp8UqoIkwF7dECTm/Hxm6PUY6asCW0Xj4aF0A9iys76BrVatlT2xLnsUwN5lmxb1lmUp+0aYzTGms0K+jHn03UFnGv12IcwCLdZrBl5G+xj28rosAB7p9xjAdFk2afz+BgrDM7G2DY8MXJQJhnrHgsnpJBLVnuGcfrPMRKHKC/DYiiDbwtsVOiu0VgQPobXA6DJIpsk2BlwUr2puq8CVrM9nSCl3qLmRmyDLGnzCYpvATToPjc2xBhf3BJaIDaOEgbJJCrfcQii7GYpa0CcWnnUjVqwh3mNPjN8onCE4CxBTkYfFAVfbmvDivuBpSRNODdN7z8sDisS5YS8OUGLF5kAXTO9GoKymBtNhsSF7oRZz6X2T2CaTx56YeZ1pKworLMTpKbPbkS2hJ5v8VzKC7ElocOj3ufnJw6yJmep9PTRrQXiNZGmxhgXiVLb+eKI/7w1fm4UGx4+Z0t805vj+6rsQZl8KssiCkekZiMJZoKMYu3EDlYdH87nQYCV/zYGWrAhrW5BN4TPSyGB1IXkjUMU2KQWYEvT1jflDNTVXs5NOe+ci36KxTBgrUcKse5/FhWGSxDyZtT5jbJ7ROIvEZm1pxhgxctGi2FBiYs6fH4tsB+e0Ry49N1hdNunMVHMdvV0RG6TceCU7g7JIprGYliL7j0BIQA6YtcTzcopjEzBWCrD6xqbx5dmiDR8MEH4CS7LGguC2zGbvHjdOJ6iL2R0HErGYByTZEVEm6mKhf59nk5p7GNebzb0+5KG0zEujffnxxzovZK8yc5JPJoU0o4GYCLcOPL3uhT1tw4BEmShljZqwrQPvslFrtFpfi8Acu/Y+bJvLxLXZJmDL3WjBZ7TPJeWTNXfEtHPsTbl7l4Q1p48S9gpSeDvhzbEM2RpcvLvXLEj0GALw2AHTCTkwc13FP8MSg3j8gfYKb4aAee0YYkbwQtyK94KFELIRTa4BAnPimScWbxOzkQuNTpOZC0EVgbJaowdeWBraVHARk7MbUVbqG7O53EQNdhqAi9XsotQ9ZCYSVZy9aEf+tTKroCDACSuMccxJGEFrwBXXO0krkX/WXHUgMocj0BY8L+bjheMPC85xCOSMRTmKYTnmWZVlnAQ0MkZZ6ORsZBiIFb6t/OSuvjkWD7dec3HwEdkHCdImIC0IkfWN2Wgp5MTm2ctncz5k+QzS1QV5GHJWga9TEtOQsHf74gdnnRLhfhlAuVHLAeHxFjAakVLIlLwo7uuFjg0dI0ch3NU+mS3C2Ysm1o4lAFHg3PtSkGEXA7ZiVhdZDsyOCQvhvjLw8cdAUxPQqq1zbJgPxrsmmi8fbQKmgk0dwFThur4hfyuoLbJNiU3M1Na2JEJR7N1773f5SVKvzZ4JTLxVYP9BCU4+JQ3EcZ4DaWozx6A2wZnGhzTuef36VwJ990hw8CEpttnGZHUkHeMwzNlHZ6n8WPqE7Ws1XXwm6tVwBCv92EvAOyeK7jrP2JjnRX6gdfXfe0eiW/cElbpY+JtZ8cxjwDJ3Zo6/PJCj5+4pRo6uOFarxV5e/IcZ5CcFVxAi6+vzCyTElbV25sNV5E3RHattCSILJqKd5lHuc4L6lUCHjl4XvThN4pZfCQwakuDU01J3+OeelXj8YYHvn57ic7txUe6TCdrYsJ/f57zXJa67Ose22wJXX1tFtc68ffcfBJYuZQItYMvimQ/6YooD91dn1Uy9lJ2/895cOch3TVAI4zqMd0sEhmuUQartXpmV4+F7BXbomuCEkyrYrpPVZA7AFmT29BQLrl8H3D6uSf/+zgVVtN2WWyD+8/rYrMuCj/WThka6mprBVD9XQ2O+WLXc1Ear94LcNoFg9njVbEU6yTfQ4De3CsyaIXHWT1Ls1tuEgBkveIB9/zR1l5nP3jlBQIGsWgW+/s0UXxqaGn1FfV52O8dLOpyanxt+meOV2RLHfzXFUUcrTjXvXTE2x8L3agCs5MSPO66CoUOpUGR1novpTMtZkCmCM5PlGcx7XrU6Ivj2UT+XJWc14iWLgT/+tgkrlgHbtEpw/EkV9FTXEAnynIU3GzYpHD/3eIY5UwUOPLKK/Q5PSzspFBgTe2/rsLwRfV4by2r66jU2ZiNzIR/eMHsxK8Ig00x4oWzDpJ29O/5wh8QzT0m0aw9cNLaCrjubC/viCxK3EoONSakMrn9PnyLxuzsE1q0DBgxM8N3vVdCylTRmKpm0etD+3x8sBy44J8c2LYFrf1FFq1YeCMuWAuvXS+QiwRVjM7RsBfzkJ5WwAVICkyYJvD5PYsyYKr7w+Zi9yOTyuotCriNS3hHq2IwVsq0Ad2Ak8zSoL/pEgfwqdR0euz/DvFcEKpUEI0dV0LlLgtt/3rSx811zu+9c3gKpZnrfkLjZO6W+mPr6bJKEPL5sh1x7ufTfkYANipY9uM4iBssyibvvlPjrZIk2bYELxqbYuTtxCjCdA0yFSCI/e4w3/iFxzZUCQgA77Zzg7PMr2K6DVYLRtmr8990t8JfJAkcNS3HC19QdyxILu08len9waobWrYEbfl01p22L7+r3pZc2YfFi4Oc/r0OH7QygQ1amYFg0g4m9uJ5Ruy+tOQadqWUMZ/UYszOUfpv8cIaZzwv0H1TBoMMr+NPvsmDqPl4j0LASqNsmQYfO5gY0p+5lBP2LPjji1CqS6pbTXrTfRDUP1jfkK6DanEsR5jYNCshuqK6rwTKJupK2XLN8KXDjLwTe+adEq9bA+Zek2NXqKTITlAa79QavwQjQWZbg6acEHnlQ4OO1QMuWgMqIOnUCzjqviq7dCOWeYVYuBy48P0OaAFddW0X79uaaNjYA7ZX+sILiww+BM8/I9Pu/uL7KevwTrFsnccbpBnzX/6LOnXPRn2OTxa6BBxJ1P1C4jOqHzfZzmWvp22xIL3lWe/N1gV57mRAZ1w4fnJjjvQUCXzqhij0HmthH2k/9XrUMaL+9Gb953bZFsxthS7CXPouGBrm/kNmMmuxVs72lhotuNcCcl4DbbxRY8xHQc9cEY85KsMOO9BnPANMJYIONyFeJwMsvCTxwr8DSJUDrNsCxx6cYcmiCCTcJzH5Zok0b4MxzKtitV9gtcdstEjNfFFp7DTvasNf6JuCi8zNUqsAll1XRpjXwwVLgggsydOoIXHV1NWjvefddiSuvzLDXXgl+dEbFsleYRIRt0+bKFboanI9lgKKth6Bdx/hUResiBOIG+7ksKxFI5r4o8PSfMnTdJcVXf1gpFL2nPJLjtek5Dv9aFb36m2ukW4i0EPMMtsUAtqoxPwtCXFdrhy57DPqvLOE6wW0/zcT93FckrhsvcMR/JfjGSSmqFX8El5lIYHUjsHiR2d+CN4Hn/irwwTJDgocenuLYryZo184AM88kJtwq8cocgXPOUwCzrAngnXckxo3N0a0bMPanVVTs8R55SODRRwQOOTTFid9Wd3OChQsFfnp5js6dgauuqvPGv5T4+98E7r5HYMTICoZrkIZMpXFC5ElJTuBphWGmEBpLWnH04gvbb28uoTdJqUwzf67Ex+sE9hlQYauCQkO3foXE767PkGXAN8+oolOXotm6cIHEk3dm+vqM+EEVnbqR4eqTjS0FLj079fXZBAl5SmGnPENkHQzerih6YZThmUmQWPR+gm7Use/2Z/UTEqxfJ6E01rTnJWbNlPrCpBXgC/0TjDw+QY8elCz45EJ1eS5ZBHTdyQv7rCnB1VflePufEudfWMHuuydYtRJYvFjixl/l2qYY/7Mq2lqzccEbEtdck+tTvu46G0otcCZOFJg5U+DHP65gj74KkBZgZLba307Ys1BHbEBi3/+u3c8VZ5yG6EI9tmwJcPt1TRA5cOBhKQ4ZVkGSWmDYysXatQkeuK0Jy96XOPiYKvofZBKm4vIziVnPSMz6a4b2HROMHFOHOpsIkWzZogBb1dD0PCQO4jstgEi/WezHCgrBtAPWqkNAcwFRAh98AMydLfHqHAMulRmpn+23Bw4+PMVBhyTav3KekvXXyNl243QTDvzxXoHJTwnU1UGz0vLlxr2mnxNPSnHIIRVHPXPmADfdaITxySenGDzY0+u55zahvj68xHv3S3D6aUYBE58Ri2kQsUzxk/ZzqSOargvWz6VeU4VqAHNmSvz5gUyHsr5fqGD4N1IkFWOdrFkDPHB7hmXvC+y8W4pDh6f46KMEa1ZLfPSRxNrV0FJlzYf27w8lPqw3d3zvfSs46ARlD3F/c8tBTDHYuxKyZ7jLks4Cd3Fru+jETQSstR8n+N93BN57N8G7b0u8+0+p/Rz+Q8Dacy8TFn1HKIlQ3ymxQ5cEbVoz595OyLSpEr+ZIDRTbd8Z2H6HRIdepacUm533EwUuAkeCaVNz3Hmnubf33TfBD36gwCOx+kPglpsNs6mjf7haYslS4KAhKUZ9S4Gw2O1RKzvknRHBmsLSfi6+ZC0U3q7TARIL35KY9Nsc6z6W2OMLFQz7ptKIEk/cIzB/jhn3hn6q1QSt2gOt2yVYuViiab3El0+qQ7fdSxtrNrS7Db6f1DdkywODlfRFjGj9epmwt6+zkKrM04fuFxpMTq9scCgb3mDMGRXsNzAU9mpM69cbLdexoxmhuqMvvTjTgBl7eRVduviSlQLJI48IPPaoAZjKTn/5yzpUnNHoNdefHswxebLA/5xSwYD9Urfec9EiiVWruGaxWicyKJ0k5fVFtwo9XOhB4Ym6H7brkKLjjlxjmb///a7E/ROatGYbdUYVHXdM8MYrArOnCrRsDbRsnWCbVkDLVgnq1L9bAa3aJWjd1gCrrqUddwLMmy4w/dEMHbumGKEY+lP4UQBbJ6VsYVjH1+tI+SpGUXcR4TsUuEXAKc/og6US554utNnZ83MJeu4KvDpbaTLg4MMSdIzqBaTdvAbg3keC2S9J/OtfEgpg+w6wtVAFdwZqHcFVF2qSYMJtAi9OFzj+hBTDhhlRzMd/469zvPqqxF79Eqiy0tlnVdB3j9R9njyvSy/P9E1y3TVVtGvrFxHfdY/AlKlRy+0WnpyBB6UY+pWKaWtmq4vUtVr4tmHY7ruFpR/fPm2SBgrfngVtScjaE7kAZjyeY++DK2hdblJt9lkFADMCI2IIx2glYHJL9dUJm3yXPq7u8A7beQa7ZrzAvLkSF12eoncfqi0aozYAbVxQllIDZvpUidMswKg2aAxQVwDVF2P2LImbbszRp0+iM01P/H78552baQa6bGwVP78qw/4DU4w60WSYJN6VVrzo4iZ03znBxRcpK8P8qOM986zAa6+bvN7cFPY9/Yv3k7FwEJmdwWIXtg/ypvrunWK/wanzwniPPVkXpsBtxrRymcQDt2bYvluCEaOreo8v/DnHgjkC+x1RQd+BRvS/+GSOt+cKDD62ip13N9ePj3KzERXtoBAigwkLwMXqgC5196+5i8ysCr7g4moLsG+PTtG9h5kIqjsWWnHouDYsP/awwGuvSYw5PcV+6kIpRnLg8iFNsdxV43Mt9pXn1bGDme81axIsWSSw6+cSrF4NnPXjTJeQbrihirvuEpgyReCSS6rYeSefGT/9jMQDk3J8+cgUJxxfCYDsskVbtyONpc6KazLvjfHuB7ZSyN5csS3BM0u3Asgu4FDgWrNGQmXOrduZG5tC56RbmtCjT4rh31F6McHfHszwj5kCXzymin6Djef1/IM53pyV44hRdeixBzn8WxpWfn9O5BOLhI71hjPHwiJXfZuzAds7hBhsc07ltNMr2Hcgay5kx1qxAvjZuAwNjcD3Tq3oNp8Fb0osWCDxr/+V6N4jwSWXVDDvdaW5MsNw51S1JzZuXI7evROce46ZGNV9cMllTZrlzj27il7K0GXHKvO2KNvTIHOMFrvxcT8XsXf0YJPoCTnxQtrpzwpMeyrHoSMr2GeQ6fZ463WBJ36foU//Cr70dZMV/v2hHP+YkeOLR1fRb4hiQ2AKA1j3PT4dYc/nONE2hTA2hdZCwaod2pRljiT2g85Rq93MDhzAOGiJwYaNSLBjl7AnngDpLIAw5mDKc1J7XApg/ZUGi9hrxXJg7KWZFvfKR1N+Ef0ooO3SM8HAAQmO/HKKhx8SeOIJgWOOSTFihOo/S3DDrzPNkKNHpzhg/woefSTH408K7LVngjNON+GRziXomeIemLMqavRz0fMiyEh13ai+wTDsjQ+7LHg2+ZtrMh0S/3tMFV12Mcw07yWBZyZl2GdwBUOGW4A9mGH+TIFBCmCDTVlJMdiCWTkO/1Ydeuy5FQBGRqtuyHOEZYvYpCeoEMy6Fny5mrSJhUcU0GliuAbr1dtoNfNsL/KRjAXgmgapaUHCajChAaYZjOqd9lgKUKp+uHYN0KED0LVbgu7dE/Tpk2L33iaj0vU6qbonMqxcAVx6WVXrKwVu1YEx9rImXS8980dV/OxnGbIcuOTiKrp19ezlRbMntNIFtAxspk5IPfjq9Cxb6UN7DRSwFFuU4XvmDfstWihx941N2LZTgu+eb6oQ6rxmPJPjxadzHKDaco4weksx2PwZuQbYXipEwjDYVgWYKhXJ3JSKaLUNFYWJ1eg9/7p10Ws8VyKwJiwIVEeEEvnDj03QRZUwainLEoD+/VnDYGMUwAaQkPYspfa1eBGw3XYJWrfyz2HgzKPObd48geuvz7Wpe+V4I4TJLH7iSWVf5FqbrV3LvC+nN2t1RNTo5yqUj4pdqAawvijuRTurUbo0wjj3f5mUYe4MgUFHVnHAkYa9VEh+7LcZ3psvcNSoOvTsZ/b53EMC82dagA0x2075U44FL29FBmtokAOFyGbWzOSsmekqoa50Qv1QNEmeySiEEQ+qjxDANleD9R/AFnFYMAa6MYizvoapQufttwm89JLA0KEpjj9OCXdCc4KsCTj/giadBLRoAYy/ok5XFPQWcTko6ufiRqrXX56hqF/eACju8zI3DPlfHnSG4DWALMjVGG++okkbrd85vwXadzTsqEA68YomrP1I4qQL69C6vQHj84rBZuY4kDHY1BKAvfOqQPe+Keq22ZzZKf+sadepV+062NZdcNuVSXos6MGnh4840zUU9Jz1uDDWIfI1iVEnp9jJPVGMheIAyH7i1ZiefFxqv0plkfsOMD1j7of9zW+SNWuhi+Ivz5JQvf2jR1dw7rmZnrBxP62ic2ff2aFC7B/uzjFtmve2hg1VGs3bHJ+sn6u4PM0/ycYCK3hWlwFfuIDDP2Fn/hyBJ+7J0XWXBF8fY8KjGteSf0k8cGMT2nVIMEqFTctqCmBvWIDt+UUTIqc+mOOtiMHuGdeENtsmGHn6ljdb9VVetSqbJKVqOCxmjWYiPWsQaMIuA28VeGHPS0qewS66vIJevcNMs/iZUPdMVD7YNGFDJBW5aWTmLv9oDfDO2yaUqv/eessUz9VP//4JWrVO8MI0gSFDUpz0bWKvRPeY3XJrhvnzDVIP2D/FrJeFBuU++yQYfXJVG8Y8lHldZLDOWYtbEw4oUYcE1RvjEBn0dkXspbZV9caFbwkcflwV/Q4w2aN6/cHbm/D+2xL9D67ggKMUkMz1e84C7ABiMFkOsN9f1oQOOyYY/sNPCWCNjXJk1pQ9bNIlW4e0K2nK2qFDH8p6izZJ0AxGCYP2Is2V0iHyNYljv5qiqyrdEHlRbhCHO3uB1WZ/fUZqy2HMaUqDGf1mkgQDrl9en+P110LxppoJBwxUWWGKxkaJm27KdYY5flwdOnU0PtqcVyT+eH+G5Sug21e+fWIFgw5MMWeOxO0TMw2yLl2BH55ah07bWwnger8+nX4udRTnyLOFGI31EhOubEKaJjjl4ipatjFh8I3ZAk/fn+ny0LfOa4EWrXxv2vMPZXhjpoACGDHYNMtgh32rDrvsmWDdGuDe8evRZdcUQ0/5lACmFn3U14vFUghbxGG990zkugyP5rKGLcFDo94ElsEiEGxqxCeAOVvDAu3663LdD6ay0969EuzeJ0HPngkqqTJWJS4bm+mu1mOOTjFyZEUXsO+7L8O8eeZEVPfq90+tog8r+KpS0sQ7Mt2wqN4fPbqqvTPz/FKWGZKYL31aNO9qZY2Etv+LTFIyVkOtZq4OgW3GswJT/5yhV78UR59oEpS35wk8eXcOmUsMGV5FPxsGKbOc8rAJkRxgL0/O8drzObr1StFn/wreXyB0VtmrfwVDTmBNe5s6OTW2d0bIypX5BVKIK023M1voYAEWG6qOgOxTdIwQprwsbspLcM2VuWawI45M0Hn7Ev8lzh6ZTTFjusTChYbB+u9HIdtXApQwb6d6vVw53ofnV+ZI3Hxzjt12U0ZqVXcfzJgpcMcdJrANHpziuK9U7OfD8f/7fYkJd2RYsgQ44MAUJ46qmNKMlQ2+pdmGSnsOcT8XD33uORO1njzI2phJ/Kvfj92VYcGrQoNrt35GT02+J8eCV3N8fnAFg44xK7K4868A9ubMHPtbBlPDXrlI4tGb4kUiCQ77ZhW77LXlfTG3R7XwdtVK8ZaUwkpwq7vIWWSt0y5rc2miha8NWR7M5FkB9/3eaKOTvptg5x683GP9LzIzLVBd246QmPyUxD/mSQwfkWqWotDofTsDOvO6TxDMOCXmzJbo0TM1pSMdw4F778tx4IEpdt2FXdRo/GpPaz8G/vxUjqFDK6hrYT07FiZj1vH9XEa3mUK1GV9BvEf99CTa4x570lrvL5TYYafEmMkSaFoPvPqCQP9DDeA8E5rTbFgBfNgo0bZjgjZqfYL9Wb0K+PebAmtXS70EbsddEnTuvuXBZWfFH7h+RTZaSOhHBzgRTwxmc/W4yZBCIKXzZm8+WXBR1Chat0ranA5fEkYNWxwoJMRKQOXCtMOM3n+4pM1/njokfKXCH8fUQml8Roe6fi57ecqzSPZYb9ZSboDCDVZfMuJZZCDqo+dMBDqMWqhtskC2hTuOe9aXtTZKwOZneev+FcBWWRYrV9qHn9jnQjhmYCHLWWGW3RyTxGGO2n/c62xVAVuiX9YVYUDuGcddFm6hUMrGqMwbuKwxkbGift+inh5SFzBhwfOyXhTdEDUWajhd5sbNPS/vVxkLwYTigP3ouPEjxtli3rBx0fpjKimzp+oYMDJ5ty6kwqMVeLFhpTwqyzP7+CbrFdk+Kzc5rAmGgMDNTj/J1oTVpR2f9fnISvaHueClhXOdlfLFtvHlKvkcH4Dabzz+kqcc8vHHK5u5LcF73A3pUenHHMc8ltI38fgwGQr+sjComSnQZlG/l40spvvCh2ueJBjg+vf+k+AqhEgazMrl+XgppX5cOQ8tpH0cqAg0FF6C8GjeNKAku4Jub2aF8IyUmbcOhO7zHqD+ooWh2JxQWIaqOX5b5iKX3mWmLLxwRgjARNvYjLK8D58/z4u5+oy9eGnIEGsZG1Hpi/YXeW/sixsC0PEI8B9EWamyU4/QXLU8f0hIOdL3yDNwBOEy7KDgIKTzIt1m9JrJ/uLqALceyA7heWFxvwZc5qYPWYyySTqeC7cUGtkXbzlTzQK9Occ+YK/gKc/hMjNiFJrwWODHXRMOaPaGdmslLRiL4p+Vm2gby1qfJfaqyWCWudqu+kC8ICH3DrQQN0i9nAkeemuA5QviBjyR4LbvF/SQswH8Hy6RKGkncgAjPeYcXN42ZCHnkGelm2E6AAAD+0lEQVRGSOzKH1qiXo+deQ0Yp3N4qAsfM24AxdYiukm3mivQXoZpm9VjkZYKWoVKmJYCCQH8P0hc7tDN5qarVsme+fp8RgLsEJSG2OTwk3AMRYhk4t7oK+Ik3zlqxBlNeLhqh3bD9ZEHL3XTel/KG8H2wPYXz3w5u3mmtJqFgGSf7+U9L/7lBfRlUdTxsBH9XLavPmh1LnxzWvH5XqTTNOi5+Heds+HCW34jfBbA1SyD0QAVyMR68aiU0n0RA4GNWw3crqAJDSaWDFnSdTxRcP5V6EkZmmFs44BIsLTbB59nbBVkogQtb8HQ0TST1GgeNKuuoy5V620V+7lIXId9XoEdET1Ul8KotyWYeGcsFQAsAhuNn7du/78BmJ7jZbLtCqm+SgYjOZBo8t1vJ9L9SgLanr4CxoVLF6O8KOfCnodFfSfU/GYPHlNt1utiBLMqXBZrWTICLw9vG6vDnKhmHliweJYW01rJ4Jz/Gs+6D8AWe16u+G2g4x+NXgTkZwVcG8VgLHwlqz4Q4/JcXrjhDI9NrGUsvqCWjM3Q/CSghAzkcGgnKQhrBCT2RQ/m074gHlsr8Q2i3yevKXqIietWdRgmC8LqJ7Ijyso+Ud8XufFkRRjWKfpjhrCN1UD3QHENAPWJ+c4l2uazBK5NAhgNfOUyeZTIxbVSyj1rtvcUtBdv3YnB51UYTyYCrRSFRseKhUdbUjilAYQt2AqcBRuDhyEunEmg22PzCfR/M8DZG0n7Xny1kOuI8N/XGDrxJUCyxjB5bKGdUe6BGZvjswYvrrA3YWza8V+anyzz5HIJuZMX4xGQ7IUOrA57W9I6SnObcn1kB1X21ES7HW/pdnVJe+c7fchqp56Frd/L2CHUV/wxTNED4aLnpjbbgOj67X3rs7YaeFYYfWmoL1KzgnWUKRJhUxh2hqtXJJswi1tn082qcKoC+YrF4kzI5GwhTatPmbCn9Y/mlLxnRdiKs8TAlmB1OKJcl60ycFIVwLxEYbYo7F3csZPtPKc4q3PPzOJLz7jeKa6q5mHQCfvIjCVPzGSUZqy+Bah8nzGg4vAZ9IluHdxs9FE2C2CeGWTdikUYJmR+YiKTL0lg29AyiA7jMsNIcFO9O8j+yNWNDFq2AolAEyxKYUzpFrMwg1gzCmeyWo+5dNmlLYAHX9VCvhfvnbflo9jzYiHUM5H1x+w4wkyRHHuzDWfaoKOWNyFv9LRvvQ23CMD4cFX4XLEE+8lcDIHEHlLKPkDaXUrZDkjaSSlaGJ4jozNkmbJw6r6ElAGPVweIGXmo5fZGWTHbuevMniAjM+jnonbnuMmwpExEwAn6vwrmKhP2hcdXhv1cpKvCLzEtbrP14LLpR/o/JBqhquSiLD0AAAAASUVORK5CYII="},"+oxA":function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___1SA8P",flex_space_between:"flex_space_between___3iSxN",flex_box_vertical_center:"flex_box_vertical_center___2JAtS",flex_box_center_end:"flex_box_center_end___2w-PB",flex_box_column:"flex_box_column___2s4Ak",head:"head___3iBvF",node:"node____ISDx"}},"2SHr":function(Je,Ge,D){Je.exports={form:"form___2bbi6",img:"img___2wPAv"}},"6+eU":function(Je,Ge,D){"use strict";D.d(Ge,"a",function(){return vt});var qe=D("wx14"),Ae=D("rePB"),Gt=D("VTBJ"),xt=D("1OyB"),F=D("vuIU"),ae=D("Ji7U"),Ze=D("LK+K"),Pe=D("q1tI"),Ue=D.n(Pe),_e=D("TSYQ"),bt=D.n(_e),Ft=function(lt){var mt,xe="".concat(lt.rootPrefixCls,"-item"),M=bt()(xe,"".concat(xe,"-").concat(lt.page),(mt={},Object(Ae.a)(mt,"".concat(xe,"-active"),lt.active),Object(Ae.a)(mt,lt.className,!!lt.className),Object(Ae.a)(mt,"".concat(xe,"-disabled"),!lt.page),mt)),se=function(){lt.onClick(lt.page)},Q=function(Se){lt.onKeyPress(Se,lt.onClick,lt.page)};return Ue.a.createElement("li",{title:lt.showTitle?lt.page:null,className:M,onClick:se,onKeyPress:Q,tabIndex:"0"},lt.itemRender(lt.page,"page",Ue.a.createElement("a",{rel:"nofollow"},lt.page)))},Ke=Ft,wt={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ut=function(Ot){Object(ae.a)(mt,Ot);var lt=Object(Ze.a)(mt);function mt(){var xe;Object(xt.a)(this,mt);for(var M=arguments.length,se=new Array(M),Q=0;Q<M;Q++)se[Q]=arguments[Q];return xe=lt.call.apply(lt,[this].concat(se)),xe.state={goInputText:""},xe.buildOptionText=function(Y){return"".concat(Y," ").concat(xe.props.locale.items_per_page)},xe.changeSize=function(Y){xe.props.changeSize(Number(Y))},xe.handleChange=function(Y){xe.setState({goInputText:Y.target.value})},xe.handleBlur=function(Y){var Se=xe.props,q=Se.goButton,V=Se.quickGo,J=Se.rootPrefixCls,T=xe.state.goInputText;if(q||T==="")return;if(Y.relatedTarget&&(Y.relatedTarget.className.indexOf("".concat(J,"-prev"))>=0||Y.relatedTarget.className.indexOf("".concat(J,"-next"))>=0))return;xe.setState({goInputText:""}),V(xe.getValidValue())},xe.go=function(Y){var Se=xe.state.goInputText;if(Se==="")return;(Y.keyCode===wt.ENTER||Y.type==="click")&&(xe.setState({goInputText:""}),xe.props.quickGo(xe.getValidValue()))},xe}return Object(F.a)(mt,[{key:"getValidValue",value:function(){var M=this.state,se=M.goInputText,Q=M.current;return!se||isNaN(se)?Q:Number(se)}},{key:"getPageSizeOptions",value:function(){var M=this.props,se=M.pageSize,Q=M.pageSizeOptions;return Q.some(function(Y){return Y.toString()===se.toString()})?Q:Q.concat([se.toString()]).sort(function(Y,Se){var q=isNaN(Number(Y))?0:Number(Y),V=isNaN(Number(Se))?0:Number(Se);return q-V})}},{key:"render",value:function(){var M=this,se=this.props,Q=se.pageSize,Y=se.locale,Se=se.rootPrefixCls,q=se.changeSize,V=se.quickGo,J=se.goButton,T=se.selectComponentClass,O=se.buildOptionText,z=se.selectPrefixCls,j=se.disabled,H=this.state.goInputText,te="".concat(Se,"-options"),pe=T,Te=null,$=null,ge=null;if(!q&&!V)return null;var be=this.getPageSizeOptions();if(q&&pe){var Oe=be.map(function(ee,Xe){return Ue.a.createElement(pe.Option,{key:Xe,value:ee.toString()},(O||M.buildOptionText)(ee))});Te=Ue.a.createElement(pe,{disabled:j,prefixCls:z,showSearch:!1,className:"".concat(te,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(Q||be[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Xe){return Xe.parentNode}},Oe)}return V&&(J&&(ge=typeof J=="boolean"?Ue.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:j,className:"".concat(te,"-quick-jumper-button")},Y.jump_to_confirm):Ue.a.createElement("span",{onClick:this.go,onKeyUp:this.go},J)),$=Ue.a.createElement("div",{className:"".concat(te,"-quick-jumper")},Y.jump_to,Ue.a.createElement("input",{disabled:j,type:"text",value:H,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Y.page,ge)),Ue.a.createElement("li",{className:"".concat(te)},Te,$)}}]),mt}(Ue.a.Component);Ut.defaultProps={pageSizeOptions:["10","20","50","100"]};var on=Ut,An=D("N2Kk");function Be(){}function et(Ot){return typeof Ot=="number"&&isFinite(Ot)&&Math.floor(Ot)===Ot}function it(Ot,lt,mt){return mt}function Fe(Ot,lt,mt){var xe=typeof Ot=="undefined"?lt.pageSize:Ot;return Math.floor((mt.total-1)/xe)+1}var je=function(Ot){Object(ae.a)(mt,Ot);var lt=Object(Ze.a)(mt);function mt(xe){var M;Object(xt.a)(this,mt),M=lt.call(this,xe),M.getJumpPrevPage=function(){return Math.max(1,M.state.current-(M.props.showLessItems?3:5))},M.getJumpNextPage=function(){return Math.min(Fe(void 0,M.state,M.props),M.state.current+(M.props.showLessItems?3:5))},M.getItemIcon=function(q,V){var J=M.props.prefixCls,T=q||Ue.a.createElement("button",{type:"button","aria-label":V,className:"".concat(J,"-item-link")});return typeof q=="function"&&(T=Ue.a.createElement(q,Object(Gt.a)({},M.props))),T},M.savePaginationNode=function(q){M.paginationNode=q},M.isValid=function(q){return et(q)&&q!==M.state.current},M.shouldDisplayQuickJumper=function(){var q=M.props,V=q.showQuickJumper,J=q.pageSize,T=q.total;return T<=J?!1:V},M.handleKeyDown=function(q){(q.keyCode===wt.ARROW_UP||q.keyCode===wt.ARROW_DOWN)&&q.preventDefault()},M.handleKeyUp=function(q){var V=M.getValidValue(q),J=M.state.currentInputValue;V!==J&&M.setState({currentInputValue:V}),q.keyCode===wt.ENTER?M.handleChange(V):q.keyCode===wt.ARROW_UP?M.handleChange(V-1):q.keyCode===wt.ARROW_DOWN&&M.handleChange(V+1)},M.changePageSize=function(q){var V=M.state.current,J=Fe(q,M.state,M.props);V=V>J?J:V,J===0&&(V=M.state.current),typeof q=="number"&&("pageSize"in M.props||M.setState({pageSize:q}),"current"in M.props||M.setState({current:V,currentInputValue:V})),M.props.onShowSizeChange(V,q),"onChange"in M.props&&M.props.onChange&&M.props.onChange(V,q)},M.handleChange=function(q){var V=M.props.disabled,J=q;if(M.isValid(J)&&!V){var T=Fe(void 0,M.state,M.props);J>T?J=T:J<1&&(J=1),"current"in M.props||M.setState({current:J,currentInputValue:J});var O=M.state.pageSize;return M.props.onChange(J,O),J}return M.state.current},M.prev=function(){M.hasPrev()&&M.handleChange(M.state.current-1)},M.next=function(){M.hasNext()&&M.handleChange(M.state.current+1)},M.jumpPrev=function(){M.handleChange(M.getJumpPrevPage())},M.jumpNext=function(){M.handleChange(M.getJumpNextPage())},M.hasPrev=function(){return M.state.current>1},M.hasNext=function(){return M.state.current<Fe(void 0,M.state,M.props)},M.runIfEnter=function(q,V){if(q.key==="Enter"||q.charCode===13){for(var J=arguments.length,T=new Array(J>2?J-2:0),O=2;O<J;O++)T[O-2]=arguments[O];V.apply(void 0,T)}},M.runIfEnterPrev=function(q){M.runIfEnter(q,M.prev)},M.runIfEnterNext=function(q){M.runIfEnter(q,M.next)},M.runIfEnterJumpPrev=function(q){M.runIfEnter(q,M.jumpPrev)},M.runIfEnterJumpNext=function(q){M.runIfEnter(q,M.jumpNext)},M.handleGoTO=function(q){(q.keyCode===wt.ENTER||q.type==="click")&&M.handleChange(M.state.currentInputValue)};var se=xe.onChange!==Be,Q="current"in xe;Q&&!se&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Y=xe.defaultCurrent;"current"in xe&&(Y=xe.current);var Se=xe.defaultPageSize;return"pageSize"in xe&&(Se=xe.pageSize),Y=Math.min(Y,Fe(Se,void 0,xe)),M.state={current:Y,currentInputValue:Y,pageSize:Se},M}return Object(F.a)(mt,[{key:"componentDidUpdate",value:function(M,se){var Q=this.props.prefixCls;if(se.current!==this.state.current&&this.paginationNode){var Y=this.paginationNode.querySelector(".".concat(Q,"-item-").concat(se.current));Y&&document.activeElement===Y&&Y.blur()}}},{key:"getValidValue",value:function(M){var se=M.target.value,Q=Fe(void 0,this.state,this.props),Y=this.state.currentInputValue,Se;return se===""?Se=se:isNaN(Number(se))?Se=Y:se>=Q?Se=Q:Se=Number(se),Se}},{key:"getShowSizeChanger",value:function(){var M=this.props,se=M.showSizeChanger,Q=M.total,Y=M.totalBoundaryShowSizeChanger;return typeof se!="undefined"?se:Q>Y}},{key:"renderPrev",value:function(M){var se=this.props,Q=se.prevIcon,Y=se.itemRender,Se=Y(M,"prev",this.getItemIcon(Q,"prev page")),q=!this.hasPrev();return Object(Pe.isValidElement)(Se)?Object(Pe.cloneElement)(Se,{disabled:q}):Se}},{key:"renderNext",value:function(M){var se=this.props,Q=se.nextIcon,Y=se.itemRender,Se=Y(M,"next",this.getItemIcon(Q,"next page")),q=!this.hasNext();return Object(Pe.isValidElement)(Se)?Object(Pe.cloneElement)(Se,{disabled:q}):Se}},{key:"render",value:function(){var M=this,se=this.props,Q=se.prefixCls,Y=se.className,Se=se.style,q=se.disabled,V=se.hideOnSinglePage,J=se.total,T=se.locale,O=se.showQuickJumper,z=se.showLessItems,j=se.showTitle,H=se.showTotal,te=se.simple,pe=se.itemRender,Te=se.showPrevNextJumpers,$=se.jumpPrevIcon,ge=se.jumpNextIcon,be=se.selectComponentClass,Oe=se.selectPrefixCls,ee=se.pageSizeOptions,Xe=this.state,A=Xe.current,P=Xe.pageSize,_=Xe.currentInputValue;if(V===!0&&J<=P)return null;var K=Fe(void 0,this.state,this.props),ce=[],Ee=null,We=null,ut=null,gt=null,tt=null,ct=O&&O.goButton,nt=z?1:2,Sn=A-1>0?A-1:0,Bn=A+1<K?A+1:K,Hn=Object.keys(this.props).reduce(function(cr,_n){return(_n.substr(0,5)==="data-"||_n.substr(0,5)==="aria-"||_n==="role")&&(cr[_n]=M.props[_n]),cr},{});if(te)return ct&&(typeof ct=="boolean"?tt=Ue.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},T.jump_to_confirm):tt=Ue.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ct),tt=Ue.a.createElement("li",{title:j?"".concat(T.jump_to).concat(A,"/").concat(K):null,className:"".concat(Q,"-simple-pager")},tt)),Ue.a.createElement("ul",Object(qe.a)({className:bt()(Q,"".concat(Q,"-simple"),Object(Ae.a)({},"".concat(Q,"-disabled"),q),Y),style:Se,ref:this.savePaginationNode},Hn),Ue.a.createElement("li",{title:j?T.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:bt()("".concat(Q,"-prev"),Object(Ae.a)({},"".concat(Q,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Sn)),Ue.a.createElement("li",{title:j?"".concat(A,"/").concat(K):null,className:"".concat(Q,"-simple-pager")},Ue.a.createElement("input",{type:"text",value:_,disabled:q,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),Ue.a.createElement("span",{className:"".concat(Q,"-slash")},"/"),K),Ue.a.createElement("li",{title:j?T.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:bt()("".concat(Q,"-next"),Object(Ae.a)({},"".concat(Q,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Bn)),tt);if(K<=3+nt*2){var rr={locale:T,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:j,itemRender:pe};K||ce.push(Ue.a.createElement(Ke,Object(qe.a)({},rr,{key:"noPager",page:K,className:"".concat(Q,"-disabled")})));for(var St=1;St<=K;St+=1){var Io=A===St;ce.push(Ue.a.createElement(Ke,Object(qe.a)({},rr,{key:St,page:St,active:Io})))}}else{var qr=z?T.prev_3:T.prev_5,hi=z?T.next_3:T.next_5;Te&&(Ee=Ue.a.createElement("li",{title:j?qr:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:bt()("".concat(Q,"-jump-prev"),Object(Ae.a)({},"".concat(Q,"-jump-prev-custom-icon"),!!$))},pe(this.getJumpPrevPage(),"jump-prev",this.getItemIcon($,"prev page"))),We=Ue.a.createElement("li",{title:j?hi:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:bt()("".concat(Q,"-jump-next"),Object(Ae.a)({},"".concat(Q,"-jump-next-custom-icon"),!!ge))},pe(this.getJumpNextPage(),"jump-next",this.getItemIcon(ge,"next page")))),gt=Ue.a.createElement(Ke,{locale:T,last:!0,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:K,page:K,active:!1,showTitle:j,itemRender:pe}),ut=Ue.a.createElement(Ke,{locale:T,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:j,itemRender:pe});var Hr=Math.max(1,A-nt),$r=Math.min(A+nt,K);A-1<=nt&&($r=1+nt*2),K-A<=nt&&(Hr=K-nt*2);for(var _r=Hr;_r<=$r;_r+=1){var Fn=A===_r;ce.push(Ue.a.createElement(Ke,{locale:T,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_r,page:_r,active:Fn,showTitle:j,itemRender:pe}))}A-1>=nt*2&&A!==1+2&&(ce[0]=Object(Pe.cloneElement)(ce[0],{className:"".concat(Q,"-item-after-jump-prev")}),ce.unshift(Ee)),K-A>=nt*2&&A!==K-2&&(ce[ce.length-1]=Object(Pe.cloneElement)(ce[ce.length-1],{className:"".concat(Q,"-item-before-jump-next")}),ce.push(We)),Hr!==1&&ce.unshift(ut),$r!==K&&ce.push(gt)}var Jt=null;H&&(Jt=Ue.a.createElement("li",{className:"".concat(Q,"-total-text")},H(J,[J===0?0:(A-1)*P+1,A*P>J?J:A*P])));var Et=!this.hasPrev()||!K,yn=!this.hasNext()||!K;return Ue.a.createElement("ul",Object(qe.a)({className:bt()(Q,Y,Object(Ae.a)({},"".concat(Q,"-disabled"),q)),style:Se,unselectable:"unselectable",ref:this.savePaginationNode},Hn),Jt,Ue.a.createElement("li",{title:j?T.prev_page:null,onClick:this.prev,tabIndex:Et?null:0,onKeyPress:this.runIfEnterPrev,className:bt()("".concat(Q,"-prev"),Object(Ae.a)({},"".concat(Q,"-disabled"),Et)),"aria-disabled":Et},this.renderPrev(Sn)),ce,Ue.a.createElement("li",{title:j?T.next_page:null,onClick:this.next,tabIndex:yn?null:0,onKeyPress:this.runIfEnterNext,className:bt()("".concat(Q,"-next"),Object(Ae.a)({},"".concat(Q,"-disabled"),yn)),"aria-disabled":yn},this.renderNext(Bn)),Ue.a.createElement(on,{disabled:q,locale:T,rootPrefixCls:Q,selectComponentClass:be,selectPrefixCls:Oe,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:A,pageSize:P,pageSizeOptions:ee,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ct}))}}],[{key:"getDerivedStateFromProps",value:function(M,se){var Q={};if("current"in M&&(Q.current=M.current,M.current!==se.current&&(Q.currentInputValue=Q.current)),"pageSize"in M&&M.pageSize!==se.pageSize){var Y=se.current,Se=Fe(M.pageSize,se,M);Y=Y>Se?Se:Y,"current"in M||(Q.current=Y,Q.currentInputValue=Y),Q.pageSize=M.pageSize}return Q}}]),mt}(Ue.a.Component);je.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Be,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Be,locale:An.a,style:{},itemRender:it,totalBoundaryShowSizeChanger:50};var vt=je},"6nfa":function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___24EuS",flex_space_between:"flex_space_between___H0sq_",flex_box_vertical_center:"flex_box_vertical_center___lroQv",flex_box_center_end:"flex_box_center_end___2zqAg",flex_box_column:"flex_box_column___1sePp",row:"row___FQAuJ",title:"title___1l3-g",tagsWrap:"tagsWrap___18FE-",action:"action___asdVT",bar:"bar___M_nl0",name:"name___BKyJY",active:"active___1eybt",tagsBorderWrap:"tagsBorderWrap___1NzgL"}},"8WcF":function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___2fahw",flex_space_between:"flex_space_between___1h4HM",flex_box_vertical_center:"flex_box_vertical_center___2kxeE",flex_box_center_end:"flex_box_center_end___OjPB4",flex_box_column:"flex_box_column___3zY1h",orderWrap:"orderWrap___VQuq1",orderIconWrap:"orderIconWrap___18q7W",orderAsc:"orderAsc___3WBGg",orderDesc:"orderDesc____ipxK",active:"active___3EMfI",cursorPointer:"cursorPointer___3og_L",orderTextWrap:"orderTextWrap___XQlmv"}},"8mKB":function(Je,Ge,D){"use strict";var qe=D("rePB"),Ae=D("1OyB"),Gt=D("vuIU"),xt=D("Ji7U"),F=D("md7G"),ae=D("foSv"),Ze=D("q1tI"),Pe=D.n(Ze),Ue=D("m+aA"),_e=D("TSYQ"),bt=D.n(_e),Ft=D("4IlW");function Ke(xe){var M=xe.pageXOffset,se="scrollLeft";if(typeof M!="number"){var Q=xe.document;M=Q.documentElement[se],typeof M!="number"&&(M=Q.body[se])}return M}function wt(xe){var M,se,Q=xe.ownerDocument,Y=Q.body,Se=Q&&Q.documentElement,q=xe.getBoundingClientRect();return M=q.left,se=q.top,M-=Se.clientLeft||Y.clientLeft||0,se-=Se.clientTop||Y.clientTop||0,{left:M,top:se}}function Ut(xe){var M=wt(xe),se=xe.ownerDocument,Q=se.defaultView||se.parentWindow;return M.left+=Ke(Q),M.left}function on(xe){var M=An();return function(){var Q=Object(ae.a)(xe),Y;if(M){var Se=Object(ae.a)(this).constructor;Y=Reflect.construct(Q,arguments,Se)}else Y=Q.apply(this,arguments);return Object(F.a)(this,Y)}}function An(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(xe){return!1}}var Be=function(xe){Object(xt.a)(se,xe);var M=on(se);function se(){var Q;return Object(Ae.a)(this,se),Q=M.apply(this,arguments),Q.onHover=function(Y){var Se=Q.props,q=Se.onHover,V=Se.index;q(Y,V)},Q.onClick=function(Y){var Se=Q.props,q=Se.onClick,V=Se.index;q(Y,V)},Q.onKeyDown=function(Y){var Se=Q.props,q=Se.onClick,V=Se.index;Y.keyCode===13&&q(Y,V)},Q}return Object(Gt.a)(se,[{key:"getClassName",value:function(){var Y=this.props,Se=Y.prefixCls,q=Y.index,V=Y.value,J=Y.allowHalf,T=Y.focused,O=q+1,z=Se;return V===0&&q===0&&T?z+=" ".concat(Se,"-focused"):J&&V+.5>=O&&V<O?(z+=" ".concat(Se,"-half ").concat(Se,"-active"),T&&(z+=" ".concat(Se,"-focused"))):(z+=O<=V?" ".concat(Se,"-full"):" ".concat(Se,"-zero"),O===V&&T&&(z+=" ".concat(Se,"-focused"))),z}},{key:"render",value:function(){var Y=this.onHover,Se=this.onClick,q=this.onKeyDown,V=this.props,J=V.disabled,T=V.prefixCls,O=V.character,z=V.characterRender,j=V.index,H=V.count,te=V.value,pe=typeof O=="function"?O(this.props):O,Te=Pe.a.createElement("li",{className:this.getClassName()},Pe.a.createElement("div",{onClick:J?null:Se,onKeyDown:J?null:q,onMouseMove:J?null:Y,role:"radio","aria-checked":te>j?"true":"false","aria-posinset":j+1,"aria-setsize":H,tabIndex:J?-1:0},Pe.a.createElement("div",{className:"".concat(T,"-first")},pe),Pe.a.createElement("div",{className:"".concat(T,"-second")},pe)));return z&&(Te=z(Te,this.props)),Te}}]),se}(Pe.a.Component);function et(xe,M){var se=Object.keys(xe);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(xe);M&&(Q=Q.filter(function(Y){return Object.getOwnPropertyDescriptor(xe,Y).enumerable})),se.push.apply(se,Q)}return se}function it(xe){for(var M=1;M<arguments.length;M++){var se=arguments[M]!=null?arguments[M]:{};M%2?et(Object(se),!0).forEach(function(Q){Object(qe.a)(xe,Q,se[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xe,Object.getOwnPropertyDescriptors(se)):et(Object(se)).forEach(function(Q){Object.defineProperty(xe,Q,Object.getOwnPropertyDescriptor(se,Q))})}return xe}function Fe(xe){var M=je();return function(){var Q=Object(ae.a)(xe),Y;if(M){var Se=Object(ae.a)(this).constructor;Y=Reflect.construct(Q,arguments,Se)}else Y=Q.apply(this,arguments);return Object(F.a)(this,Y)}}function je(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(xe){return!1}}function vt(){}var Ot=function(xe){Object(xt.a)(se,xe);var M=Fe(se);function se(Q){var Y;Object(Ae.a)(this,se),Y=M.call(this,Q),Y.onHover=function(q,V){var J=Y.props.onHoverChange,T=Y.getStarValue(V,q.pageX),O=Y.state.cleanedValue;T!==O&&Y.setState({hoverValue:T,cleanedValue:null}),J(T)},Y.onMouseLeave=function(){var q=Y.props.onHoverChange;Y.setState({hoverValue:void 0,cleanedValue:null}),q(void 0)},Y.onClick=function(q,V){var J=Y.props.allowClear,T=Y.state.value,O=Y.getStarValue(V,q.pageX),z=!1;J&&(z=O===T),Y.onMouseLeave(),Y.changeValue(z?0:O),Y.setState({cleanedValue:z?O:null})},Y.onFocus=function(){var q=Y.props.onFocus;Y.setState({focused:!0}),q&&q()},Y.onBlur=function(){var q=Y.props.onBlur;Y.setState({focused:!1}),q&&q()},Y.onKeyDown=function(q){var V=q.keyCode,J=Y.props,T=J.count,O=J.allowHalf,z=J.onKeyDown,j=J.direction,H=j==="rtl",te=Y.state.value;V===Ft.a.RIGHT&&te<T&&!H?(O?te+=.5:te+=1,Y.changeValue(te),q.preventDefault()):V===Ft.a.LEFT&&te>0&&!H||V===Ft.a.RIGHT&&te>0&&H?(O?te-=.5:te-=1,Y.changeValue(te),q.preventDefault()):V===Ft.a.LEFT&&te<T&&H&&(O?te+=.5:te+=1,Y.changeValue(te),q.preventDefault()),z&&z(q)},Y.saveRef=function(q){return function(V){Y.stars[q]=V}},Y.saveRate=function(q){Y.rate=q};var Se=Q.value;return Se===void 0&&(Se=Q.defaultValue),Y.stars={},Y.state={value:Se,focused:!1,cleanedValue:null},Y}return Object(Gt.a)(se,[{key:"componentDidMount",value:function(){var Y=this.props,Se=Y.autoFocus,q=Y.disabled;Se&&!q&&this.focus()}},{key:"getStarDOM",value:function(Y){return Object(Ue.a)(this.stars[Y])}},{key:"getStarValue",value:function(Y,Se){var q=this.props,V=q.allowHalf,J=q.direction,T=J==="rtl",O=Y+1;if(V){var z=this.getStarDOM(Y),j=Ut(z),H=z.clientWidth;(T&&Se-j>H/2||!T&&Se-j<H/2)&&(O-=.5)}return O}},{key:"focus",value:function(){var Y=this.props.disabled;Y||this.rate.focus()}},{key:"blur",value:function(){var Y=this.props.disabled;Y||this.rate.blur()}},{key:"changeValue",value:function(Y){var Se=this.props.onChange;"value"in this.props||this.setState({value:Y}),Se(Y)}},{key:"render",value:function(){for(var Y=this.props,Se=Y.count,q=Y.allowHalf,V=Y.style,J=Y.prefixCls,T=Y.disabled,O=Y.className,z=Y.character,j=Y.characterRender,H=Y.tabIndex,te=Y.direction,pe=this.state,Te=pe.value,$=pe.hoverValue,ge=pe.focused,be=[],Oe=T?"".concat(J,"-disabled"):"",ee=0;ee<Se;ee+=1)be.push(Pe.a.createElement(Be,{ref:this.saveRef(ee),index:ee,count:Se,disabled:T,prefixCls:"".concat(J,"-star"),allowHalf:q,value:$===void 0?Te:$,onClick:this.onClick,onHover:this.onHover,key:ee,character:z,characterRender:j,focused:ge}));var Xe=bt()(J,Oe,O,Object(qe.a)({},"".concat(J,"-rtl"),te==="rtl"));return Pe.a.createElement("ul",{className:Xe,style:V,onMouseLeave:T?null:this.onMouseLeave,tabIndex:T?-1:H,onFocus:T?null:this.onFocus,onBlur:T?null:this.onBlur,onKeyDown:T?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},be)}}],[{key:"getDerivedStateFromProps",value:function(Y,Se){return"value"in Y&&Y.value!==void 0?it(it({},Se),{},{value:Y.value}):Se}}]),se}(Pe.a.Component);Ot.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:vt,character:"\u2605",onHoverChange:vt,tabIndex:0,direction:"ltr"};var lt=Ot,mt=Ge.a=lt},"8otq":function(Je,Ge,D){"use strict";var qe=D("2qtc"),Ae=D("kLXV"),Gt=D("0Owb"),xt=D("OaEy"),F=D("2fM7"),ae=D("y8nQ"),Ze=D("Vl3Y"),Pe=D("5NDa"),Ue=D("5rEg"),_e=D("tJVT"),bt=D("PpiC"),Ft=D("q1tI"),Ke=D.n(Ft),wt=D("NReP"),Ut=D("2SHr"),on=D.n(Ut),An=D("9kvl"),Be=D("phzI"),et=function(Fe){var je,vt,Ot=Fe.handleFinish,lt=Fe.form,mt=Fe.content,xe=Fe.dispatch,M=Fe.user,se=Fe.coreCurriculum,Q=Object(bt.a)(Fe,["handleFinish","form","content","dispatch","user","coreCurriculum"]),Y=se.CoreSubjects,Se=Object(Ft.useState)(""),q=Object(_e.a)(Se,2),V=q[0],J=q[1];return Object(Ft.useEffect)(function(){xe({type:"coreCurriculum/getCoreSubjects",payload:{page:1,limit:12}})},[]),Object(Ft.useEffect)(function(){var T;if((T=Q.visible)!==null&&T!==void 0&&T.id){var O;J((O=Q.visible)===null||O===void 0?void 0:O.title)}},[Q.visible]),Ke.a.createElement(Ae.a,Object(Gt.a)({},Q,{destroyOnClose:!0,centered:!0,width:1200,okText:"\u786E\u8BA4\u65B0\u589E",afterClose:function(){return J("")}}),Ke.a.createElement(Ze.a,{form:lt,size:"large",initialValues:{},layout:"horizontal",labelCol:{span:2},className:on.a.form,onValuesChange:function(O){},onFinish:Ot},Ke.a.createElement(Ze.a.Item,{htmlFor:null,name:"title",label:"\u6807\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u6807\u9898"}]},Ke.a.createElement(Ue.a,{placeholder:"\u8BF7\u8F93\u5165\u6807\u9898",maxLength:100,suffix:Ke.a.createElement("span",null,V==null?void 0:V.length,"/100"),onChange:function(O){return J(O.target.value)}})),Ke.a.createElement(Ze.a.Item,{htmlFor:null,name:"core_subject_id",label:"\u8BFE\u7A0B",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"}]},Ke.a.createElement(F.a,{placeholder:"\u8BF7\u9009\u62E9",getPopupContainer:function(O){return O.parentElement}},Y==null||((je=Y.list)===null||je===void 0)?void 0:je.map(function(T,O){return Ke.a.createElement(F.a.Option,{key:O,value:T==null?void 0:T.id},T==null?void 0:T.name)}))),Ke.a.createElement(Ze.a.Item,{name:"cover_id",label:"\u5217\u8868\u5C01\u9762\u56FE",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u5217\u8868\u5C01\u9762\u56FE"}]},Ke.a.createElement(wt.a,{ButtonText:Ke.a.createElement(Ke.a.Fragment,null,Ke.a.createElement("i",{className:"iconfont icon-shangchuanfujian r5 font14"}),Ke.a.createElement("span",{className:"ml5"},"\u4E0A\u4F20\u56FE\u7247"))})),Ke.a.createElement(Ze.a.Item,{label:"\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}],labelCol:{span:2}},Ke.a.createElement(Be.a,{defaultvalue:Q==null||((vt=Q.visible)===null||vt===void 0)?void 0:vt.content,style:{height:"300px"}}))))};Ge.a=Object(An.a)(function(it){var Fe=it.dispatch,je=it.coreCurriculum,vt=it.user;return{dispatch:Fe,coreCurriculum:je,user:vt}})(et)},"9JIy":function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___Hq8-r",flex_space_between:"flex_space_between___3Nl1U",flex_box_vertical_center:"flex_box_vertical_center___1hgum",flex_box_center_end:"flex_box_center_end___i5ldC",flex_box_column:"flex_box_column____1u-K",table:"table___2yPMl"}},BU3w:function(Je,Ge,D){"use strict";D.d(Ge,"a",function(){return ae});var qe=D("MNnm"),Ae="rc-util-key";function Gt(Ze){if(Ze.attachTo)return Ze.attachTo;var Pe=document.querySelector("head");return Pe||document.body}function xt(Ze){var Pe,Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(qe.a)())return null;var _e=document.createElement("style");if((Pe=Ue.csp)===null||Pe===void 0?void 0:Pe.nonce){var bt;_e.nonce=(bt=Ue.csp)===null||bt===void 0?void 0:bt.nonce}_e.innerHTML=Ze;var Ft=Gt(Ue),Ke=Ft.firstChild;return Ue.prepend&&Ft.prepend?Ft.prepend(_e):Ue.prepend&&Ke?Ft.insertBefore(_e,Ke):Ft.appendChild(_e),_e}var F=new Map;function ae(Ze,Pe){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_e=Gt(Ue);if(!F.has(_e)){var bt=xt("",Ue),Ft=bt.parentNode;F.set(_e,Ft),Ft.removeChild(bt)}var Ke=Array.from(F.get(_e).children).find(function(Be){return Be.tagName==="STYLE"&&Be[Ae]===Pe});if(Ke){var wt,Ut;if(((wt=Ue.csp)===null||wt===void 0?void 0:wt.nonce)&&Ke.nonce!==((Ut=Ue.csp)===null||Ut===void 0?void 0:Ut.nonce)){var on;Ke.nonce=(on=Ue.csp)===null||on===void 0?void 0:on.nonce}return Ke.innerHTML!==Ze&&(Ke.innerHTML=Ze),Ke}var An=xt(Ze,Ue);return An[Ae]=Pe,An}},BdwD:function(Je,Ge,D){"use strict";var qe=D("+L6B"),Ae=D("2/Rp"),Gt=D("0Owb"),xt=D("k1fw"),F=D("q1tI"),ae=D.n(F),Ze=D("FOrL"),Pe=D.n(Ze),Ue=function(bt){var Ft=bt.buttonProps,Ke=Ft===void 0?{}:Ft,wt=bt.styles,Ut=wt===void 0?{}:wt,on=bt.imgStyles,An=on===void 0?{}:on,Be=bt.customText,et=bt.ButtonText,it=bt.ButtonClick,Fe=bt.Buttonclass,je=bt.ButtonTwo;return ae.a.createElement("section",{className:"tc animated fadeIn",style:Object(xt.a)(Object(xt.a)({},{color:"#999",margin:"0 auto",padding:"100px 0"}),Ut)},ae.a.createElement("img",{src:Pe.a,style:Object(xt.a)(Object(xt.a)({},{width:"200px",height:"150px"}),An)}),ae.a.createElement("p",{className:"mt10 font14"},Be||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),et&&ae.a.createElement(Ae.a,Object(Gt.a)({className:Fe,onClick:it},Ke),et),je&&je)};Ge.a=Ue},Bq7L:function(Je,Ge){Je.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAA8CAYAAAAeyZT3AAAAAXNSR0IArs4c6QAAEpJJREFUeF7tXQeYFdUV/mcbS1F6UUEsoLC7IGKNJWpERbEgSoxGo7HEQFDRWCAGgdASNBbEhglqsC1rAxVBNGg0qNgLsJRddmFhe3vby3uT7393ZmfeezOv7M57W3LP9/EtM3Pn3DPn3n/uvf85c58CKdID0gOOeUBxTJNUJD0gPQAJKNkJpAcc9EALoNRpCaqt3rh4QIkDvH/jxV/zuZZjrVy8uRzvSzDdrx3HxWnnEnz1eevhOf/79HpNdrAs6wrQr9VvtiMc+/kc0HSan9Nrq8Uzt9hquuZjv8kPev26r8x16X5VPYDHDYT7Vy/L8vo94d7P8u5mcV+w+1U34GEZ7a+5Tg/vV31tbrmu36ff23JcB9VdBo9a5v2rekq14/1wN30GNXGzctPKKgf7eExVKUGBpJsSEkgWYPMHXEuH0sHlB5iW8jrAtE6sd9AW8GidVD9mR/fvxDrAzJ3Yp/ObAGL3srC1XweJnf0awHUQWgGJ52i3P+D9OyOP/QHSAjYT8Lwd3gRGH3Bp5dza34D7LUDsD04vmPzuN9cZGkSAF3xm4JttNoFWdasNlRVNta4SV21l6YHakvyPGurrNivA12kZ2B1TdLSisvAA1QrF8hbpAUsP8EWVkAwkdgMSugHxiUB8EpDcC+g1AOjeG+BciSBWPXA3NaA8Pxel+7LRXF+bCwXpShxeTX0V33ZED0tAdcRW+X+2iaN3j35Ar/7iX/e+XnCpbg9cZfkozctBrauci/9tioIlKSpeUTLg7iguk4DqKC0h7bD2QPJBQP/hUHsNhsIVv+qBq7QI+7O2w93USGDtUoEFaavxoqJ4x7Z2FQmodnW/rDxsD3Ba2PcwqL0PhaLEobmxAXnZmaiuKPOqUBRsSlBx06gM7AlbZxQKSkBFwalSZRQ9kJAEDD4GSD7Yyz6WFu5HQV4uVI+Ho1W1ouCe1NV4OooWBFUtAdVenpf1ts0DfQ6F2mcoOMurq6nCnp2Z8DAMwNEKWJEKTG+PtZUEVNuaVd7dnh5I6gF1wFFQEpJQW+1CTtYueBgeEPLuwGRcNWQVamJpogRULL0t63LeA/GJUAeNhBKXgOpqF3Kzs6Ey3iVGqs29gQnDMlDnfMXWGiWgYuVpWU/0PBCfBHXQ0VCUeLgqK7B3b67I4BDyZloKrlTmQ6AsyiIBFWUHS/Ux8kBCMtT+w70MYGlJMfILCloqVoDH0jIwMxaWSEDFwsuyjth4IKk71D7DGKzCnj05qK0zZnoKMDUtA69F2xAJqGh7WOqPrQeYvtSjL+rr65C1JxeqMfUrTkpAyrGvoCSaBklARdO7UnfsPaAAat/DocTFo7C4FMWlIvBLUYD0tAz8KppGSUBF07tSd/t4ILE71N5DoHrcyMrJQ0NjY4sd8QompazGumgZJgEVLc9Kve3rgZ79gW49UVVdg9wDhWZbMtNSMEaZDxEFdlgkoBx2qFTXQTygxHnz/gAPdu3NR2Njk9mwmWMy8Fg0LJWAioZXpU7DA/0OB479hTguyQZ2/Sdm3lF79IWS2B2llVXILylvqVcBuLAamZbh/euotA+geg0E/ponHqSpDrizj6MP1WGU8WM671eq7fhVweTFwIQ/Cpe8PRfY8NfYuue4y4BbNbb6y1eA534Tu/rjEqEeNAAejxs7cgvg4VfGmijA8rQM3Oa0Me0HqKUHxLM01gEzD3b6udpXX+9DgNNvBs64GVh0PFDj+Isw/Oe7fAlw3t2i/NoHgPVLwr/XiZLtCShGpHr29zJ++aWVKHX5pPU1Iw5jx6RjuxOP2QLUsPaUcLJG6uII1ZUBtTAb6McAI4B7BktAtdcIRf/zM/vkg9HY3IydeQxBGbMFBVifloELnezecoRy0pu6rsU5QJ/DJKDogXYeoWiCp2c/7mWF7MJy1Nb7kBNwmkaXgJKAioYHDJ0dAFBqt55Q4ruhyFWDooqArzkcpdE7HqBOuxE4aKBokE9WALUGO9PSStxc4Px7xWFzI/DhI0YDDjoGOP5ycbxjE5CzBRh/JTDiDGD4CaL83m/E+W9e8yUM+g0HTtIC6f56/bvd8JOAURp75SoAKvYDh58gStG27tq68L3FQGOtOP/TOmD/j76aOP09YSowbBww9DigtgLY9y2w7zvguzeEvf5ifsb8bcAPbwNjLwF+Pg3oPQTgubfnAcW7ASfXUAOOBH52PTB0nKiHn6UXZwFFu4DPVwEFFssRK0BRz7gpwn/0U+7XQM6XwFfpYrsxpyUhEUjqhdqGJmQXVgRoj1NwR+pqLHOi2o4HqD99DQwdK55t7mjRKfyF++4t1xIf66uAu/oZJcwNuGYOMHgkcKoNs7TtfWDltQZoOd9eshfoqel76OdA9mfWfp6+FkjTpt/vLhA79Jw1PXibrLoZ+OwFo8yIM4EbXwT6MF5iIblfASumAuUaI6oX8e+kOz4Crn3GV8HjFwLbP3AOUJfMBybO9m7eYCnuJmDjQ4L4MIu/rR8+Bty2zvCxuezuT4AVVwHVxU70bR8dao8+XsY1c38F3Ca2j4WcpNG7NqA4MiT1AJoagNwtwIFtwJBRwPATvVF0r5TmAItPBOoqxfEVDwLnapn+n/4DeHlaYONyVCHw4hPErqoPjATOvRM4Syvr3RVWE2/jaQvhF38HfP4vcYEd7ZZ0sWsu5cBPYlTiW58j6cCjxfmqYuDRCWLU0cXcSQ9sBQaOEPvcmcVJQF08F7joz4b2sr3iRcOX2eHjxT9dVl4HfPWqta0cnRmX4r58WZ8CRbsD24Mvj8UnOE7kqN16eT/t2FdWjcrawFHfKRq9awOKzVpdAjxxCcC3vS79jwBmvCs2+6CQStbfrJxOzdsqzte5gFmHAU31vp317BnAL7VpJke55ZN8r4ciJQjyedsM4uLl6cCnzxo6uDcdp42XLRDnvlsDrLjSupPqZ7duAD5+EqgqEmBkh2fHb+uUjy+eJXliI0rK6/f6TrF5ji+TK5aK65wCzh1lbyvb48nJQM4XRpkBRwHT3gIOGS3Obfw78OYsX5+29YgvnLgklNc0YH+FNgX31ekIjd71AfXU5cCP7wQ2B9/q7NScwjTUAHNGCPBR7tgIHHu2+D8DkQxImuXezcARJ4kzz14FfPuG7/VQgLpkHnDh/eIerj3+daN1d9GnlQwM862tr7/MI1QoHW0FFNdLE+8ToQ6uFTlFtpJFe4C+Q8WVmb2NdaO/rS/cCHyxyro95m4Ve9ozNsn24MvBKeHW10nd0dTsxo5C663TnaDRuzagOJ2bM9K+SWZ+ABxzlrj+1GTgx3fF/0kS3PSy+H/mv4FlFxg6zCMYG3z28MCFdChAzd4CDDte6Hz0PGDnR9Y2nvxr4IbnxbX3HwTe+pP4v7mT8mVw/5HW5A3LthVQ4XboO94Hjj1HlF403hr8ZfsEULQ9HwJUz1gHpJwnTj89RZAtTgpHW9WD3cU1qG+y/iK+rTR61wbUD+8AT2uMn1XDTH0YOEfLPsn4I7BJI3q43zZBcdAgsUZiJyjfJzSYRxcuwt+cHag5FKAerRRrO8p3bwVOKXWNJEdSzhdHHAU5GvoDas/nwINn2nc7JwHF2NrxUwCydP2PFEQMiRzulcdjfV1Ke2iXv61b14vpt52Y169v3Ad88LCTcBJ2KvEoqmpAUbUFeypqaxON3rUB9Z9ngFdn2DfK+fcAzHWjbFoOZNxplL1sIXDBfeJ47VxgvVbuLztFh6LMSwWKdgbqDwYodkpej1RIpS85ObCTfrUaWPnr6AKKDNlVy4DxUwURE0rsABWqPZhzOEXLNfz4KSD99lA1RXbd+1NCiahrdCOrzH4jpLbQ6M4Daswk4MhTxYNu32idXcxcN7JklPpq4K6+hmOcpM23vAw8f7290yc9AEyaI65v+BuwxsRkkbiYv0PM6fWF9lGnAXd/LMoza/qRc611BwMUR6ZHKgz6mbE2uymQWTsZNaspX6iE07aOUInJwO0bgKNPM9qL8bHCXUBVoRhdmxuAibOMaawdoL54EXjht/btYR791y0E3pkfGWBClSbjH0c21IPM4no0e6yTlttCozsPqEsXCOdSzOyZ+WFJs87SWJ7CncD8VOOqeX2xYByQrzFu5vsZgF2oxaeCxaHIdDGWZCfXPgucdoO4uuoW4DNtvaKX/8M7QKq2fvr7OcDJVwNn/k5cff4GYMtLkQOKd5hz/exGuWCdI5Lsg7YCimzj5EXCmrzvBYXP4LO/zPrcCGzbASrYS4j6rvuHCBxT7MiLUKAJdZ3Teag44GpCWZ39j3a0lkZ3HlCnXAdcv1I81tcZwD+vCXxEc5nMD4FlE40yv38TGHuxOF5+MbBtQ+D91z8HnKKxTcEAxSyDeaMFfewvDA4TlHrO3UNnAdmbfUsx++D3GoPH0S51oghIskPNHma/9gm1hjIvvv0pc7MF4yaLNQuF9Dzf8JRYAop0NmcdlGeuBL5fE+hL/qbT0gJjOmgHKLbHn48CXD5f0Ap9bA/67eDB4njp6SKbxWnRfjmzqr4ZuZVBszJaRaM7DygGTe/TsgsYUF0wBigx/SACpxB3fyJSbSj/Xga8pn2vw+OpjwDnaOseqynbYWOB2V+KqRglGKB4neksVlQvyQiSEhQGVJdoNLi5ARkPWpRtgE6/xnhP+h32TW1eZ5FlJNtoluMuBW59XZxhytL8NKCh2rcMR+H7vzFSmB7+BcBMAkosAWWegvPlyJekv5hBx2t2gOK1/64EXro1UMeEu4ApfxPnmYa0VJti2nu59Vfi4r27y24vaYYnyLdqraHRnQcUH/P29cAobX1RXSpAw8U7O8mp1wGHalM8bu7OEcTc4UZPAG57z3AWsxW+eEnM148+XUw/yL7pEgxQZOgIvG9eF8HC4l3A4FHAib802D3qefJS4CdTneamumgOcLFfOs0ixoR+sG9QMx1P2j3zA5EzSFZQF3MnZMYA10cMPvOzbU4zT77GyJbwZ8daCyjq58sjHPlhrfDJb1aKNqMU7gBemgZk/VdkeHCtfPliY82s6w0GKJYhkULSgdN5Zq4wTKGzrbzOGQtnLtES9gmPB/uqPKhsCL6hbFwcLkpNh03nCDQwOoBirIajlJ4gaueY95cCb2kBTnMZc0zD/16CZO0cY14fDFAEEmX8FdYWsJOvWwAwF89OOCVcmGWkCIXz9uR0lNNSf5mRLH6rlsIg6LQ1Rt6iXf1ct3B0qncZJVoLqEg6qM5sWrUlM0hIruiM386PBdj09aUdoLZtFOSGTq8HtK1bZKywX0RVvL/cBlejir2u4D9+qCjYnjoaY8Pd1CU6gKIz2BGvecpIIDU7qDRX0Nl881oJf7WOMYnTb/K9Wpkv7vtxXXjJsWTASB6Q8uVbVo/9UCunWqRlv18buunIcumZ5czt46gZSs64BTh7OjBwpJFnZwYU7+cCmTlyzB0028ZrXKcR6Jxe+mdgxxJQtOWIU4CrHzdYPP3Z2Y7fvi5GV+b7MXmWYgcopi0xiM2g+aARvh7kfhP0LUf0GAk5vu2l7qDTPpoSCY0ePUDpTunRVwzrnO6xE/NNFm5KCXcBHTJaLFT5yQWdHkrsOhs7L6co+ucCTKMJR9jRF+cCjMUwK2HW0MD1Tjh6gpVh+hPz2Q5NE+ApyBTrznDo9LbWHe79tHFIigACaXJOH/VUrXB1mMuxTbne1j+nqSltjZY235NX5UFFiGlfJDR69AHV5keOUEEkb+9wVHMac/UTouTm5wBmjEvpMh6oblKRUxnGb14reHzMaoSMNEtAheoac74HDkkRpZae4ZslHepeeb3De4DL6O1load9/JQ1nE1dJKCCNTmTPUmQUPi90kItobXDdxNpYCQe2F/tQXl96J+PUoD30jJwUdDZe7vsehTJ00Za1skpH4O6DO5SMu4CNj0eqTWyfCfwQF0zkFUR3qf3oWj0rjdCHZJqxE0YczF/PRpJ4zJyf+l8b3ayV5jrZ7W/RSQ6ZdkO6QGyfTvL3Giyye0zGx2KRu96gOqQTSaN6ugeKKpTUVQTBjkRgkaXgOroLS3ti4kH+L3hjjICKvS22cFodAmomDSXrKQzeGBPpQc1Nl/yBthvQ6NLQHWGlpY2xsQDFQ0q8qrCm/bZ0egSUDFpKllJZ/AAOYnM8GJS3sexotEloDpDS0sbY+aBAzUelNWFjknpBvnT6BJQMWsqWVFn8EC9G9hdHl5MyjtK+WWjS0B1hlaWNsbUA9mVbtQ2hWb7TKPU7anp8Eb9JaBi2lSyss7ggQjJCZ+90SWgOkMLSxtj5gGOS/zHmJQ7jMyJFsM0Gl0CKmZNJSvqTB4oqPGgJAJyQqfRJaA6UytLW2PmgcoGFfvCj0m10Oj/A9jGm+feuyEMAAAAAElFTkSuQmCC"},FOrL:function(Je,Ge,D){Je.exports=D.p+"static/nodata.a6b3f948.png"},GfqC:function(Je,Ge,D){"use strict";var qe=D("q1tI"),Ae=D.n(qe),Gt=D("TSYQ"),xt=D.n(Gt);function F(T,O){var z="cannot "+T.method+" "+T.action+" "+O.status+"'",j=new Error(z);return j.status=O.status,j.method=T.method,j.url=T.action,j}function ae(T){var O=T.responseText||T.response;if(!O)return O;try{return JSON.parse(O)}catch(z){return O}}function Ze(T){var O=new XMLHttpRequest;T.onProgress&&O.upload&&(O.upload.onprogress=function(te){te.total>0&&(te.percent=te.loaded/te.total*100),T.onProgress(te)});var z=new FormData;T.data&&Object.keys(T.data).forEach(function(H){var te=T.data[H];if(Array.isArray(te)){te.forEach(function(pe){z.append(H+"[]",pe)});return}z.append(H,T.data[H])}),T.file instanceof Blob?z.append(T.filename,T.file,T.file.name):z.append(T.filename,T.file),O.onerror=function(te){T.onError(te)},O.onload=function(){return O.status<200||O.status>=300?T.onError(F(T,O),ae(O)):T.onSuccess(ae(O),O)},O.open(T.method,T.action,!0),T.withCredentials&&"withCredentials"in O&&(O.withCredentials=!0);var j=T.headers||{};return j["X-Requested-With"]!==null&&O.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(j).forEach(function(H){j[H]!==null&&O.setRequestHeader(H,j[H])}),O.send(z),{abort:function(){O.abort()}}}var Pe=+new Date,Ue=0;function _e(){return"rc-upload-"+Pe+"-"+ ++Ue}function bt(T,O){return T.indexOf(O,T.length-O.length)!==-1}var Ft=function(T,O){if(T&&O){var z=Array.isArray(O)?O:O.split(","),j=T.name||"",H=T.type||"",te=H.replace(/\/.*$/,"");return z.some(function(pe){var Te=pe.trim();return Te.charAt(0)==="."?bt(j.toLowerCase(),Te.toLowerCase()):/\/\*$/.test(Te)?te===Te.replace(/\/.*$/,""):H===Te})}return!0};function Ke(T,O){var z=T.createReader(),j=[];function H(){z.readEntries(function(te){var pe=Array.prototype.slice.apply(te);j=j.concat(pe);var Te=!pe.length;Te?O(j):H()})}H()}var wt=function(O,z,j){var H=function te(pe,Te){Te=Te||"",pe.isFile?pe.file(function($){j($)&&(pe.fullPath&&!$.webkitRelativePath&&(Object.defineProperties($,{webkitRelativePath:{writable:!0}}),$.webkitRelativePath=pe.fullPath.replace(/^\//,""),Object.defineProperties($,{webkitRelativePath:{writable:!1}})),z([$]))}):pe.isDirectory&&Ke(pe,function($){$.forEach(function(ge){te(ge,""+Te+pe.name+"/")})})};O.forEach(function(te){H(te.webkitGetAsEntry())})},Ut=wt,on=Object.assign||function(T){for(var O=1;O<arguments.length;O++){var z=arguments[O];for(var j in z)Object.prototype.hasOwnProperty.call(z,j)&&(T[j]=z[j])}return T},An=function(){function T(O,z){var j=[],H=!0,te=!1,pe=void 0;try{for(var Te=O[Symbol.iterator](),$;!(H=($=Te.next()).done)&&!(j.push($.value),z&&j.length===z);H=!0);}catch(ge){te=!0,pe=ge}finally{try{!H&&Te.return&&Te.return()}finally{if(te)throw pe}}return j}return function(O,z){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return T(O,z);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Be=function(){function T(O,z){for(var j=0;j<z.length;j++){var H=z[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(O,H.key,H)}}return function(O,z,j){return z&&T(O.prototype,z),j&&T(O,j),O}}();function et(T,O,z){return O in T?Object.defineProperty(T,O,{value:z,enumerable:!0,configurable:!0,writable:!0}):T[O]=z,T}function it(T,O){var z={};for(var j in T){if(O.indexOf(j)>=0)continue;if(!Object.prototype.hasOwnProperty.call(T,j))continue;z[j]=T[j]}return z}function Fe(T,O){if(!(T instanceof O))throw new TypeError("Cannot call a class as a function")}function je(T,O){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:T}function vt(T,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);T.prototype=Object.create(O&&O.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(T,O):T.__proto__=O)}var Ot=function(O){return Object.keys(O).reduce(function(z,j){return(j.substr(0,5)==="data-"||j.substr(0,5)==="aria-"||j==="role")&&(z[j]=O[j]),z},{})},lt=function(T){vt(O,T);function O(){var z,j,H,te;Fe(this,O);for(var pe=arguments.length,Te=Array(pe),$=0;$<pe;$++)Te[$]=arguments[$];return te=(j=(H=je(this,(z=O.__proto__||Object.getPrototypeOf(O)).call.apply(z,[this].concat(Te))),H),H.state={uid:_e()},H.reqs={},H.onChange=function(ge){var be=ge.target.files;H.uploadFiles(be),H.reset()},H.onClick=function(ge){var be=H.fileInput;if(!be)return;var Oe=H.props,ee=Oe.children,Xe=Oe.onClick;ee&&ee.type==="button"&&(be.parentNode.focus(),be.parentNode.querySelector("button").blur()),be.click(),Xe&&Xe(ge)},H.onKeyDown=function(ge){ge.key==="Enter"&&H.onClick()},H.onFileDrop=function(ge){var be=H.props.multiple;if(ge.preventDefault(),ge.type==="dragover")return;if(H.props.directory)Ut(Array.prototype.slice.call(ge.dataTransfer.items),H.uploadFiles,function(ee){return Ft(ee,H.props.accept)});else{var Oe=Array.prototype.slice.call(ge.dataTransfer.files).filter(function(ee){return Ft(ee,H.props.accept)});be===!1&&(Oe=Oe.slice(0,1)),H.uploadFiles(Oe)}},H.uploadFiles=function(ge){var be=Array.prototype.slice.call(ge);be.map(function(Oe){return Oe.uid=_e(),Oe}).forEach(function(Oe){H.upload(Oe,be)})},H.saveFileInput=function(ge){H.fileInput=ge},j),je(H,te)}return Be(O,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(j,H){var te=this,pe=this.props;if(!pe.beforeUpload)return setTimeout(function(){return te.post(j)},0);var Te=pe.beforeUpload(j,H);Te&&Te.then?Te.then(function($){var ge=Object.prototype.toString.call($);return ge==="[object File]"||ge==="[object Blob]"?te.post($):te.post(j)}).catch(function($){console.log($)}):Te!==!1&&setTimeout(function(){return te.post(j)},0);return}},{key:"post",value:function(j){var H=this;if(!this._isMounted)return;var te=this.props,pe=te.onStart,Te=te.onProgress,$=te.transformFile,ge=$===void 0?function(be){return be}:$;new Promise(function(be){var Oe=te.action;return typeof Oe=="function"&&(Oe=Oe(j)),be(Oe)}).then(function(be){var Oe=j.uid,ee=te.customRequest||Ze,Xe=Promise.resolve(ge(j)).then(function(A){var P=te.data;return typeof P=="function"&&(P=P(A)),Promise.all([A,P])}).catch(function(A){console.error(A)});Xe.then(function(A){var P=An(A,2),_=P[0],K=P[1],ce={action:be,filename:te.name,data:K,file:_,headers:te.headers,withCredentials:te.withCredentials,method:te.method||"post",onProgress:Te?function(Ee){Te(Ee,j)}:null,onSuccess:function(We,ut){delete H.reqs[Oe],te.onSuccess(We,j,ut)},onError:function(We,ut){delete H.reqs[Oe],te.onError(We,ut,j)}};pe(j),H.reqs[Oe]=ee(ce)})})}},{key:"reset",value:function(){this.setState({uid:_e()})}},{key:"abort",value:function(j){var H=this.reqs;if(j){var te=j;j&&j.uid&&(te=j.uid),H[te]&&H[te].abort&&H[te].abort(),delete H[te]}else Object.keys(H).forEach(function(pe){H[pe]&&H[pe].abort&&H[pe].abort(),delete H[pe]})}},{key:"render",value:function(){var j,H=this.props,te=H.component,pe=H.prefixCls,Te=H.className,$=H.disabled,ge=H.id,be=H.style,Oe=H.multiple,ee=H.accept,Xe=H.children,A=H.directory,P=H.openFileDialogOnClick,_=H.onMouseEnter,K=H.onMouseLeave,ce=it(H,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ee=xt()((j={},et(j,pe,!0),et(j,pe+"-disabled",$),et(j,Te,Te),j)),We=$?{}:{onClick:P?this.onClick:function(){},onKeyDown:P?this.onKeyDown:function(){},onMouseEnter:_,onMouseLeave:K,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Ae.a.createElement(te,on({},We,{className:Ee,role:"button",style:be}),Ae.a.createElement("input",on({},Ot(ce),{id:ge,type:"file",ref:this.saveFileInput,onClick:function(gt){return gt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ee,directory:A?"directory":null,webkitdirectory:A?"webkitdirectory":null,multiple:Oe,onChange:this.onChange})),Xe)}}]),O}(qe.Component),mt=lt,xe=Object.assign||function(T){for(var O=1;O<arguments.length;O++){var z=arguments[O];for(var j in z)Object.prototype.hasOwnProperty.call(z,j)&&(T[j]=z[j])}return T},M=function(){function T(O,z){for(var j=0;j<z.length;j++){var H=z[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(O,H.key,H)}}return function(O,z,j){return z&&T(O.prototype,z),j&&T(O,j),O}}();function se(T,O){if(!(T instanceof O))throw new TypeError("Cannot call a class as a function")}function Q(T,O){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:T}function Y(T,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);T.prototype=Object.create(O&&O.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(T,O):T.__proto__=O)}function Se(){}var q=function(T){Y(O,T);function O(){var z,j,H,te;se(this,O);for(var pe=arguments.length,Te=Array(pe),$=0;$<pe;$++)Te[$]=arguments[$];return te=(j=(H=Q(this,(z=O.__proto__||Object.getPrototypeOf(O)).call.apply(z,[this].concat(Te))),H),H.saveUploader=function(ge){H.uploader=ge},j),Q(H,te)}return M(O,[{key:"abort",value:function(j){this.uploader.abort(j)}},{key:"render",value:function(){return Ae.a.createElement(mt,xe({},this.props,{ref:this.saveUploader}))}}]),O}(qe.Component);q.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Se,onError:Se,onSuccess:Se,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var V=q,J=Ge.a=V},JAbv:function(Je,Ge){Je.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZPtH1Dk1HH56B5vHQWFvJzrUf42lrUaMlPJ4BMxOxtnQAmWhgJLL+3gPQR5+E1qsPDdXl5G9YjUdipIreGpzGFUOfpb4zVXQA2ZnW7op1paSiH30qWlIqdVWlFGz6Al1ipmqkXH0wnD0ym8bOUt0BZGdZuivXk9IH/ajJaK4Uasr3UJizUQX/Fb2WOZ7LtfniosefHEDG38bdo4bUvuijJqG5XFQU5VOSv22/3hr8NTObWzqjIQ4gO8PK3aWO3v3RR57gHR13blpHQ121FZTTM7N5Od5NcQAZbwt3N/mDjvDu8jQ11rHj6/XoskevqKxXMuOPfZHyeDbJAWQ8rdsdZct2zYjj0VJS2bu7gLLiXdZRMiszmx/Hs1kOIONp3e4qO60/+rBx6O5WdmzeRHOTz8lO0pg2fhkr4tU0B5Dxsmx3lytTd99B1FZVUZC31dqanMzxTNDmsz9gGcumOoCMpTV7kixXEvrwCV4HZ1vuZlqamqytu2VCNn+NR3MdQMbDqj1Epj5wBFqfgVSU7qWkWB3CENKgEhibme39jCklBpCysf/H3aohrY1w64CYNqrLCJOziRJg1hN+qqtjJklJQx88xrudmJuzBY+cVveBcmlmNr/qmODQpRIHyPuKlVYtjXBL/1i3K7HyDh4Gp94IU2+Ee0+A+pgPJJ3WPn3QEWgpvSkpKaaiosJabxsuJk7IYksslXEAGUtrmrIW5sHAkerb7UO6NSBJ6wcDhnvXkFu354HlDK8GKzOzOS+WJnQAGUtrmrIW5atXCHoCIDXwDDwSlyuJvIICGhran7OIdRjIAaQDyIgW0PsNRkvtR2l5OaXlAcuPmIaBuh4gp1wP/QYrI338ODRUBRpM0+Cc36p0OVT6nwd9PIcdAydcqr7nroL8NXDi5TBmKoyepPgL16n0dS+3dzgGjoaTjY0If7n+Wow+GdK/p1Jr9sC+Ihg1SX0X3Xob6+K3F0FLg0r/egUUbWovSRy8SdNh5PEw4jho2Ae71sOuDbDhVaWvP1nbWLIZvvo3TLwQvjtDvdQlaf+eB2Uxeuu1V2/oP4yGhnryCn3etqmWS+PmjGUsiYhsGwxdD5C/WwsjJirV7xkX3KjyPvZSY+poqoXbBvqaetzF8HPjDMAbc2HIWDjlp8FNsfldePIaH+iTU2FxIRxkyHvgu5D3afCyM5dDprF8emuBN4jM6TPDm/zZG+HTf/l4xpwG1z/nXaMFpYIv4fHpUGVEJEwmaxu/eBFyP4Br/t5exMPnwZb3bUDADouGPmiU9+3FnLxC3BZvW0rHMgzUswEpI5O8Q9LaDAVroHgzDE2H0SdB6kGqJyryYdFJ0GicbLnsfjjLOGn1yT/ghRmBPSajmgBXLg+Qwwd3j4WzboXTDV4J95jkPZxghH2e+xl89ozKEVDdlKVu8RAq/lqNikm91Eg++GiVXlsGD52tRr1ggCz+BgaPAXk/20oxBSTo/YagJfdiV8lequuMEd9SnwYxCQP1bECKwerK4ZELQUYbk2RbbNZbMOQYlbJyMSy/Wz3LdDjvG/XcWAN3Hg6t7XYp4IxZ8CNjmSCj7NJp7cEQyamRH8m8zT7H54WZ8MkTPhlyO4ZM+xcvUGkb3oDHLw8OSDP1m3fgw0ehtlSBWUb2ysL2eh3It7T+iMddVV1LUVnQMFZMwkA9H5CPXQqb3gzsChlVBBSyHm2uh7ljFHiFbn4Pjj1DPT/1U5Bp0Uq/XQ1HnKxSnrgC1r8aHSAvnAfn3aXKfPYsPHN9cKiYywIJrC+a5Ft/WqfsSDIOBITWsnJjRr/DaG1pIbewJKjUWISBejYgZTqeOzZ0l9zyPhxzusp/7BLY9JZ6FifjhhfUc85/YckPfDKsI6iMRnNGq3t+rBRphJyzBuQgrNBD34etHwTXcfLVcN3TKu/d++H136lnKyDlx3TXkcGdv1iB0ZTT7zDv0/aiMppaWoNKP9AwUM8G5Fdvwt8MjzuY+ab/Bc40dr+yfw2rDEdRRgMBlXSArAFl9KwyzgVaR7f3HoDX5gRKjgTIh6rV2lZow+uBSwJTojhX489R32QUltHYH5A7P4P7T4s19ILLk2k7JY3SqhpK99WFqvOAwkA9G5Af/R1emhW6s865HS5ZpPJXLYXsW328Fy+EH9yhvi+/B1YafH/YCoceqdLnZUBpu6NZKj0cICVgLvnRkoSCFk8OBOSXy+DJq6OV1jH+5F6Q1p/G5mZ2lAQJxxlSDyQMFHtATpgGR56iVNvyHmz7KLDxstcrXqpQUx3cdoiPJ5ZhnzUvwNPXhjb+tLth2lyV/86f4I3f+3jF8Zmfq+6SLNsB96TDUVPgNx8qHmnXg2cFlx0OkDIyPrhPrV2FJNbqe8MvtK4S3go2Zcv6Vta5nUGicp9B3vuBcooraXMHfxHxQMJAsQfkRQvg3DuVeazeq9Vgo06EOz9XKXu3wvwMX651fbXgeCgxPF5reQlgLzSCvuHikOJpSiwxFF3zBEy5TuU+exN8aqzXTP5fvgkZxvrxz2fC5CvhtJ+p3KevgzXPRw9IKWHd6w41yoYDmH8csrMAKTql9vWGqoqr6qisaw6pZUfDQLEH5Hd+Atc+qRRdmw3/vCpQaStPzn9gybk+nl+8BhMvUN+XXgCb3wksf+1T8J1rVHo4QMoux7xxwcMfElwXUJt7zg+cDnmr29clux+/MDxoGW0zzlVBc9lNmTMy9Nov0hpy1goY/31Vl3/Ix6rB8ZfACT9UKRJe+vw59ZxIQMq0nZJGbUMzBRVhL7XoUBgo9oCUoPMdxu6GBKQXTIByy4VaKWnwm4/VVpnQf5fAy7/2dcP0B+FMY90XbMo9fCLM+UJNpZEAKflfZqndGH8SZ0acGiEJSC82wjhWPokH3pvnA62ZJ/G+rJsDZZop1nWmePni7VvpuIvg56+oFNlynJ8JzX5OgswCd63zbUH+5Xuw/ePEA1KWGvIOt9vNlr21eDyhz3p2JAwUe0CKyWavhHRjfVVXoUAni38x8ik/geHGFC33yMgIZu2wcWfDr972dZ/slnz+PNTuhaNPhUvuVd6vSeFGSPGQBbjrXoH3/gxl22BIOpz0I593LXIevQi+ttRpBc/5c+ECI2hupt8rMcGvQgPSGk6SsFHO+2rPXLxyk2a8DrLeFirdrtaHEryXy0ZlmTD5Kt9uzTcrVXDfpESOkKKD7G3rOruqmqhuCv9qjcvF+RlZhDBuoAnjA0iJ1ckoaR4wCNV1794HrxsBYivPze/CsWcGLyUgWz5XAVMoHCAFiEInXhZcloBkxQKQvehQJFP6wh2+Lb78L+C+KaH5JUeWE7Ks8KdZaeqqZaFDRsCMN3z79qEk7t4IMjo21XQdQLpSvP8QoKaxlcJ9odeRorCmsSVjHBPtvhQWH0CKJtKRVz3mO4BgNXhFgQrHyC8/GMmhUNlTPvWG9rnVJarcphX2DleIByrOxxVL1Mhsxv5EqkyVWbNh4/Lw4JLc2e/4TvbI3raM2pFo6k1wxkwYPNa3z2wFpJSXeOf5v1d751bdJE/WqfJDkeWBf+A90SOkTNtJvdA9bWwpa8ET4RWNaMJA8QOk2WF9DlEHGmS6FhDszVX7rXao76EwdJy6yF2OjJXLieUIFKqzpPMlHCWjdsFadWTMDglQFhVAnwFqi/HOEYHrPTtywvFIBx96FAzPVODbk6PW3XbCQQdad0fLiz11D7urW9nXHP4eqmjCQPEHZEcb3NFysR49JMxz5SNKm9VPgZzYcQjE4ZOzKy1u8qtt3Jmv8fCEZcyOZDoHkJEsNHcjDBuvuO6bCvlG/DRSuW9Dvly74tHZUumOOG3LUWo7L4U5gAwHHHGsxMESkvOKC40DEd8GsEXRxqI6D1VNka+P1ODtzGzOD7t66XGX3sdyypaguATHhbJvg1UPR9FN3x7WxjbYsc/ezSqRwkA9b4QclqE8aiEJeH/5UseQITs5F81X/+tQSPa6g73f0zHpPaqUhMa3VrppDRMkNxscKQzU8wDZo7q6+zSmtFGntN6GcwOECwM5gOw+fd6lNW31QG6lADLytTHhwkAOILt0N3cv5XZWe6gXZNqhEGEgB5B2jOfw2LLAvmad3bX2pu1QYSAHkLZM7TDZsYD4NDn2YpJeccHCQA4g7Vja4bFtgeJ6D5WNNqdtcXD8TgM5gLRtaofRjgWa3LC9yl5M0jtK+p0GcgBpx8oOT1QWyKt209Aa2ds2hbpczM7Iwrvr4AAyKlM7zHYsEKVz0+5uIAeQdizs8Ni2gIyL8icxSbeNnZv9go0wkANI26Z2GKOxwJ56D+VRODdmGMgBZDRWdnhtW6C6WWeX/Zjk/jDQ/wHkSLPJ/mcrgQAAAABJRU5ErkJggg=="},KOXS:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___4BHX-",flex_space_between:"flex_space_between___fH2oM",flex_box_vertical_center:"flex_box_vertical_center___TgSS9",flex_box_center_end:"flex_box_center_end___1vKaD",flex_box_column:"flex_box_column___1kCgI",input:"input___2mV-b",dropdown:"dropdown___1QKW2",menu:"menu___37CBn",text:"text___159fF",b1:"b1___2uGyF",b2:"b2___2DXw1"}},LdHM:function(Je,Ge,D){"use strict";D.d(Ge,"b",function(){return it}),D.d(Ge,"a",function(){return je});var qe=D("1OyB"),Ae=D("vuIU"),Gt=D("Ji7U"),xt=D("LK+K"),F=D("q1tI"),ae=D("rePB"),Ze=D("Ff2n"),Pe=D("ODXe"),Ue=D("4IlW"),_e=D("bX4T"),bt=D("YrtM"),Ft=D("TSYQ"),Ke=D.n(Ft),wt=D("+nKL"),Ut=D("8OUc"),on=function(j,H){var te=j.prefixCls,pe=j.id,Te=j.flattenOptions,$=j.childrenAsData,ge=j.values,be=j.searchValue,Oe=j.multiple,ee=j.defaultActiveFirstOption,Xe=j.height,A=j.itemHeight,P=j.notFoundContent,_=j.open,K=j.menuItemSelectedIcon,ce=j.virtual,Ee=j.onSelect,We=j.onToggleOpen,ut=j.onActiveValue,gt=j.onScroll,tt=j.onMouseEnter,ct="".concat(te,"-item"),nt=Object(bt.a)(function(){return Te},[_,Te],function(Fn,Jt){return Jt[0]&&Fn[1]!==Jt[1]}),Sn=F.useRef(null),Bn=function(Jt){Jt.preventDefault()},Hn=function(Jt){Sn.current&&Sn.current.scrollTo({index:Jt})},rr=function(Jt){for(var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,yn=nt.length,cr=0;cr<yn;cr+=1){var _n=(Jt+cr*Et+yn)%yn,Vr=nt[_n],yo=Vr.group,Qo=Vr.data;if(!yo&&!Qo.disabled)return _n}return-1},St=F.useState(function(){return rr(0)}),Io=Object(Pe.a)(St,2),qr=Io[0],hi=Io[1],Hr=function(Jt){hi(Jt);var Et=nt[Jt];if(!Et){ut(null,-1);return}ut(Et.data.value,Jt)};F.useEffect(function(){Hr(ee!==!1?rr(0):-1)},[nt.length,be]),F.useEffect(function(){var Fn=setTimeout(function(){if(!Oe&&_&&ge.size===1){var Jt=Array.from(ge)[0],Et=nt.findIndex(function(yn){var cr=yn.data;return cr.value===Jt});Hr(Et),Hn(Et)}});return function(){return clearTimeout(Fn)}},[_]);var $r=function(Jt){Jt!==void 0&&Ee(Jt,{selected:!ge.has(Jt)}),Oe||We(!1)};if(F.useImperativeHandle(H,function(){return{onKeyDown:function(Jt){var Et=Jt.which;switch(Et){case Ue.a.UP:case Ue.a.DOWN:{var yn=0;if(Et===Ue.a.UP?yn=-1:Et===Ue.a.DOWN&&(yn=1),yn!==0){var cr=rr(qr+yn,yn);Hn(cr),Hr(cr)}break}case Ue.a.ENTER:{var _n=nt[qr];_n&&!_n.data.disabled?$r(_n.data.value):$r(void 0),_&&Jt.preventDefault();break}case Ue.a.ESC:We(!1)}},onKeyUp:function(){},scrollTo:function(Jt){Hn(Jt)}}}),nt.length===0)return F.createElement("div",{role:"listbox",id:"".concat(pe,"_list"),className:"".concat(ct,"-empty"),onMouseDown:Bn},P);function _r(Fn){var Jt=nt[Fn];if(!Jt)return null;var Et=Jt.data||{},yn=Et.value,cr=Et.label,_n=Et.children,Vr=Object(_e.a)(Et,!0),yo=$?_n:cr;return Jt?F.createElement("div",Object.assign({"aria-label":typeof yo=="string"?yo:null},Vr,{key:Fn,role:"option",id:"".concat(pe,"_list_").concat(Fn),"aria-selected":ge.has(yn)}),yn):null}return F.createElement(F.Fragment,null,F.createElement("div",{role:"listbox",id:"".concat(pe,"_list"),style:{height:0,width:0,overflow:"hidden"}},_r(qr-1),_r(qr),_r(qr+1)),F.createElement(wt.a,{itemKey:"key",ref:Sn,data:nt,height:Xe,itemHeight:A,fullHeight:!1,onMouseDown:Bn,onScroll:gt,virtual:ce,onMouseEnter:tt},function(Fn,Jt){var Et,yn=Fn.group,cr=Fn.groupOption,_n=Fn.data,Vr=_n.label,yo=_n.key;if(yn)return F.createElement("div",{className:Ke()(ct,"".concat(ct,"-group"))},Vr!==void 0?Vr:yo);var Qo=_n.disabled,ia=_n.value,ka=_n.title,du=_n.children,Us=_n.style,No=_n.className,pu=Object(Ze.a)(_n,["disabled","value","title","children","style","className"]),bo=ge.has(ia),gi="".concat(ct,"-option"),bn=Ke()(ct,gi,No,(Et={},Object(ae.a)(Et,"".concat(gi,"-grouped"),cr),Object(ae.a)(Et,"".concat(gi,"-active"),qr===Jt&&!Qo),Object(ae.a)(Et,"".concat(gi,"-disabled"),Qo),Object(ae.a)(Et,"".concat(gi,"-selected"),bo),Et)),fr=$?du:Vr,Wr=!K||typeof K=="function"||bo;return F.createElement("div",Object.assign({},pu,{"aria-selected":bo,className:bn,title:ka,onMouseMove:function(){if(qr===Jt||Qo)return;Hr(Jt)},onClick:function(){Qo||$r(ia)},style:Us}),F.createElement("div",{className:"".concat(gi,"-content")},fr||ia),F.isValidElement(K)||bo,Wr&&F.createElement(Ut.a,{className:"".concat(ct,"-option-state"),customizeIcon:K,customizeIconProps:{isSelected:bo}},bo?"\u2713":null))}))},An=F.forwardRef(on);An.displayName="OptionList";var Be=An,et=function(){return null};et.isSelectOption=!0;var it=et,Fe=function(){return null};Fe.isSelectOptGroup=!0;var je=Fe,vt=D("VTBJ"),Ot=D("Zm9Q");function lt(z){var j=z.key,H=z.props,te=H.children,pe=H.value,Te=Object(Ze.a)(H,["children","value"]);return Object(vt.a)({key:j,value:pe!==void 0?pe:j,children:te},Te)}function mt(z){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(Ot.a)(z).map(function(H,te){if(!F.isValidElement(H)||!H.type)return null;var pe=H.type.isSelectOptGroup,Te=H.key,$=H.props,ge=$.children,be=Object(Ze.a)($,["children"]);return j||!pe?lt(H):Object(vt.a)(Object(vt.a)({key:"__RC_SELECT_GRP__".concat(Te===null?te:Te,"__"),label:Te},be),{},{options:mt(ge)})}).filter(function(H){return H})}var xe=D("2Qr1"),M=D("qNPg"),se=D("U8pU"),Q=D("Kwbf"),Y=D("WKfj");function Se(z){var j=z.mode,H=z.options,te=z.children,pe=z.backfill,Te=z.allowClear,$=z.placeholder,ge=z.getInputElement,be=z.showSearch,Oe=z.onSearch,ee=z.defaultOpen,Xe=z.autoFocus,A=z.labelInValue,P=z.value,_=z.inputValue,K=z.optionLabelProp,ce=j==="multiple"||j==="tags",Ee=be!==void 0?be:ce||j==="combobox",We=H||mt(te);if(Object(Q.a)(j!=="tags"||We.every(function(ct){return!ct.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),j==="tags"||j==="combobox"){var ut=We.some(function(ct){return ct.options?ct.options.some(function(nt){return typeof("value"in nt?nt.value:nt.key)=="number"}):typeof("value"in ct?ct.value:ct.key)=="number"});Object(Q.a)(!ut,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(Q.a)(j!=="combobox"||!K,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(Q.a)(j==="combobox"||!pe,"`backfill` only works with `combobox` mode."),Object(Q.a)(j==="combobox"||!ge,"`getInputElement` only work with `combobox` mode."),Object(Q.b)(j!=="combobox"||!ge||!Te||!$,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Oe&&!Ee&&j!=="combobox"&&j!=="tags"&&Object(Q.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(Q.b)(!ee||Xe,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),P!=null){var gt=Object(Y.d)(P);Object(Q.a)(!A||gt.every(function(ct){return Object(se.a)(ct)==="object"&&("key"in ct||"value"in ct)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(Q.a)(!ce||Array.isArray(P),"`value` should be array when `mode` is `multiple` or `tags`")}if(te){var tt=null;Object(Ot.a)(te).some(function(ct){if(!F.isValidElement(ct)||!ct.type)return!1;var nt=ct.type;if(nt.isSelectOption)return!1;if(nt.isSelectOptGroup){var Sn=Object(Ot.a)(ct.props.children).every(function(Bn){return!F.isValidElement(Bn)||!ct.type||Bn.type.isSelectOption?!0:(tt=Bn.type,!1)});return!Sn}return tt=nt,!0}),tt&&Object(Q.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(tt.displayName||tt.name||tt,"`.")),Object(Q.a)(_===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var q=Se,V=Object(M.a)({prefixCls:"rc-select",components:{optionList:Be},convertChildrenToData:mt,flattenOptions:xe.d,getLabeledValue:xe.e,filterOptions:xe.b,isValueDisabled:xe.g,findValueOption:xe.c,warningProps:q,fillOptionsWithMissingValue:xe.a}),J=function(z){Object(Gt.a)(H,z);var j=Object(xt.a)(H);function H(){var te;return Object(qe.a)(this,H),te=j.apply(this,arguments),te.selectRef=F.createRef(),te.focus=function(){te.selectRef.current.focus()},te.blur=function(){te.selectRef.current.blur()},te}return Object(Ae.a)(H,[{key:"render",value:function(){return F.createElement(V,Object.assign({ref:this.selectRef},this.props))}}]),H}(F.Component);J.Option=it,J.OptGroup=je;var T=J,O=Ge.c=T},LphY:function(Je,Ge,D){Je.exports=D.p+"static/szpx.670c3007.jpg"},MEgm:function(Je,Ge){Je.exports="data:image/png;base64,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"},MyfD:function(Je,Ge,D){"use strict";D.r(Ge);var qe=D("T2oS"),Ae=D("W9HT"),Gt=D("DjyN"),xt=D("NUBc"),F=D("jCWc"),ae=D("kPKH"),Ze=D("14J3"),Pe=D("BMrR"),Ue=D("miYZ"),_e=D("tsqr"),bt=D("2qtc"),Ft=D("kLXV"),Ke=D("oBTY"),wt=D("k1fw"),Ut=D("9og8"),on=D("y8nQ"),An=D("Vl3Y"),Be=D("tJVT"),et=D("WmNS"),it=D.n(et),Fe=D("q1tI"),je=D.n(Fe),vt=D("9kvl"),Ot=D("Nf5h"),lt=D("ZoFH"),mt=D.n(lt),xe=D("8otq"),M=D("5Dmo"),se=D("3S7+"),Q=D("PpiC"),Y=D("1vsH"),Se=D("m3rI"),q=D("TSYQ"),V=D.n(q),J=D("xKgJ"),T=function(Te){var $=Te.dispatch,ge=Te.data,be=Te.onEdit,Oe=Te.onDelete,ee=Te.className,Xe=Te.style,A=Object(Q.a)(Te,["dispatch","data","onEdit","onDelete","className","style"]);return je.a.createElement(je.a.Fragment,null,ge==null?void 0:ge.map(function(P,_){var K,ce;return je.a.createElement(ae.a,{key:_},je.a.createElement("div",{className:V()(mt.a.CoreItem,ee),style:Object(wt.a)({},Xe),onClick:function(){return Object(Y.S)("/core_teacher/".concat(P==null?void 0:P.id))}},je.a.createElement("div",{className:mt.a.img},je.a.createElement("img",{src:"".concat(Se.a.API_SERVER).concat(P==null||((K=P.cover)===null||K===void 0)?void 0:K.url),alt:P==null||((ce=P.cover)===null||ce===void 0)?void 0:ce.title})),Object(J.w)()&&je.a.createElement("div",{className:mt.a.option,onClick:function(We){We.stopPropagation(),We.preventDefault()}},je.a.createElement("div",null,je.a.createElement("span",{onClick:function(We){be(P==null?void 0:P.id)}},je.a.createElement("i",{className:"iconfont icon-bianji-moren font14"}),je.a.createElement("span",{style:{marginLeft:"3px"}},"\u7F16\u8F91"))),je.a.createElement("div",null,je.a.createElement("span",{onClick:function(We){Oe(P==null?void 0:P.id)}},je.a.createElement("i",{className:"iconfont icon-shanchu13 font14"}),je.a.createElement("span",{style:{marginLeft:"3px"}},"\u5220\u9664")))),je.a.createElement("div",{style:{margin:"30px 16px 20px"}},je.a.createElement(se.a,{placement:"top",title:P==null?void 0:P.title},je.a.createElement("span",{className:"font16 ".concat(mt.a.Onerow),style:{color:"#000",fontWeight:600,display:"inline-block",maxWidth:"100%"}},P==null?void 0:P.title)))))}))},O=T,z=D("ErOA"),j=D("BdwD"),H=function(Te){var $,ge,be,Oe=Te.coreCurriculum,ee=Te.dispatch,Xe=Te.loading,A=Te.globalSetting,P=Object(Fe.useState)({}),_=Object(Be.a)(P,2),K=_[0],ce=_[1],Ee=An.a.useForm(),We=Object(Be.a)(Ee,1),ut=We[0],gt=Object(Fe.useState)(!1),tt=Object(Be.a)(gt,2),ct=tt[0],nt=tt[1],Sn=Object(Fe.useState)(""),Bn=Object(Be.a)(Sn,2),Hn=Bn[0],rr=Bn[1],St=Object(Fe.useState)(!1),Io=Object(Be.a)(St,2),qr=Io[0],hi=Io[1],Hr=Object(Fe.useState)(),$r=Object(Be.a)(Hr,2),_r=$r[0],Fn=$r[1],Jt=Object(Fe.useState)({page:1,limit:12}),Et=Object(Be.a)(Jt,2),yn=Et[0],cr=Et[1],_n=Object(Fe.useState)(!0),Vr=Object(Be.a)(_n,2),yo=Vr[0],Qo=Vr[1],ia=Object(Fe.useState)(!1),ka=Object(Be.a)(ia,2),du=ka[0],Us=ka[1],No=function(){var bn=Object(Ut.a)(it.a.mark(function fr(){var Wr,En,Uo=arguments;return it.a.wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:return Wr=Uo.length>0&&Uo[0]!==void 0?Uo[0]:!1,Qo(!0),Wr&&(yn.page=1,cr(Object(wt.a)({},yn))),Kn.next=5,Object(z.a)("/api/core_teachers.json",{method:"get",params:Object(wt.a)(Object(wt.a)({teacher_type:1},yn),{},{core_subject_id:Hn})});case 5:En=Kn.sent,(En==null?void 0:En.status)===0&&(ce(En==null?void 0:En.data),Qo(!1));case 7:case"end":return Kn.stop()}},fr)}));return function(){return bn.apply(this,arguments)}}();Object(Fe.useEffect)(function(){No(!0)},[Hn]);var pu=function(){hi(!1),nt(!0)},bo=function(fr){yn.page=1,yn.keyword=fr.trim(),cr(yn),No()},gi=[{name:"\u65B0\u589E\u5E08\u8D44\u57F9\u8BAD",click:pu,show:!0,buttonShow:!0,img:D("iLsG"),img_active:D("cLbz")}];return je.a.createElement("section",null,je.a.createElement("div",{className:mt.a.banner_warp},je.a.createElement(Ot.a,{dataSource:gi.filter(function(bn){return Object(J.w)()?bn.buttonShow=!0:bn.buttonShow=!1,bn.show}),title:"\u5E08\u8D44\u57F9\u8BAD",sunTitle:"",bannerImg:D("LphY"),placeholder:"\u8BF7\u8F93\u5165\u57F9\u8BAD\u4F1A\u8BAE\u540D\u79F0\u641C\u7D22",onChange:bo})),je.a.createElement(Ae.a,{spinning:yo},je.a.createElement("div",{style:{width:1200,margin:"0 auto",paddingBottom:"10px"}},je.a.createElement("div",{style:{paddingTop:"20px"}},je.a.createElement("div",{className:mt.a.type},je.a.createElement("div",{style:{width:50}},"\u8BFE\u7A0B"),je.a.createElement("div",{style:{display:"flex",flexWrap:"wrap"}},(K==null?void 0:K.tag)&&(($=[{name:"\u5168\u90E8",id:""}].concat(Object(Ke.a)(K==null?void 0:K.tag)))===null||$===void 0?void 0:$.map(function(bn,fr){return je.a.createElement("div",{key:fr,className:Hn==(bn==null?void 0:bn.id)?mt.a.type_item_active:mt.a.type_item,style:{marginBottom:"10px"},onClick:function(){rr(bn==null?void 0:bn.id)}},bn==null?void 0:bn.name)})))),je.a.createElement("div",{className:mt.a.type,style:{marginTop:"30px"}})),je.a.createElement(Pe.a,{gutter:[24,24]},!(K!=null&&(ge=K.list)!==null&&ge!==void 0&&ge.length)&&je.a.createElement(j.a,null),je.a.createElement(O,{data:(K==null?void 0:K.list)||[],onEdit:function(){var bn=Object(Ut.a)(it.a.mark(function fr(Wr){var En;return it.a.wrap(function(lo){for(;;)switch(lo.prev=lo.next){case 0:return lo.next=2,Object(z.a)("/api/core_teachers/".concat(Wr,".json"),{method:"get"});case 2:En=lo.sent,(En==null?void 0:En.status)===0&&(nt(En==null?void 0:En.data),hi(!0),ut.setFieldsValue(Object(wt.a)({},En==null?void 0:En.data)));case 4:case"end":return lo.stop()}},fr)}));return function(fr){return bn.apply(this,arguments)}}(),onDelete:function(){var bn=Object(Ut.a)(it.a.mark(function fr(Wr){var En;return it.a.wrap(function(lo){for(;;)switch(lo.prev=lo.next){case 0:En=Ft.a.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:function(){var Kn=Object(Ut.a)(it.a.mark(function co(){var Tr;return it.a.wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,Object(z.a)("/api/core_teachers/".concat(Wr,".json"),{method:"delete"});case 2:Tr=Nt.sent,(Tr==null?void 0:Tr.status)===0&&(_e.b.info("\u5220\u9664\u6210\u529F"),No());case 4:case"end":return Nt.stop()}},co)}));function md(){return Kn.apply(this,arguments)}return md}(),onCancel:function(){En.destroy()}});case 1:case"end":return lo.stop()}},fr)}));return function(fr){return bn.apply(this,arguments)}}()})),(K==null||((be=K.list)===null||be===void 0)?void 0:be.length)!==0&&je.a.createElement(Pe.a,{align:"middle",justify:"space-between",style:{width:1200,margin:"20px auto"}},je.a.createElement(ae.a,null,"\u5171\xA0",je.a.createElement("span",{style:{color:"#165DFF"}},(K==null?void 0:K.total)||0),"\xA0\u6761\u6570\u636E"),je.a.createElement(ae.a,null,je.a.createElement(xt.a,{showSizeChanger:!1,showQuickJumper:!0,current:yn.page,pageSize:yn.limit,onChange:function(fr,Wr){cr(Object(wt.a)(Object(wt.a)({},yn),{},{page:fr,limit:Wr})),No()},total:(K==null?void 0:K.total)||0}))))),je.a.createElement(xe.a,{title:"".concat(qr?"\u7F16\u8F91":"\u65B0\u5EFA","\u5E08\u8D44\u57F9\u8BAD"),form:ut,visible:ct,content:_r,dispatch:ee,onCancel:function(){ut.resetFields(),nt(!1)},confirmLoading:du,onOk:function(){return ut.submit()},handleFinish:function(){var bn=Object(Ut.a)(it.a.mark(function fr(Wr){var En,Uo;return it.a.wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:if(!(ut.getFieldValue("content")=="<p><br></p>")){Kn.next=3;break}return _e.b.error("\u8BF7\u8F93\u5165\u5185\u5BB9"),Kn.abrupt("return");case 3:if(!(ct!=null&&ct.id)){Kn.next=10;break}return Kn.next=6,Object(z.a)("/api/core_teachers/".concat(ct==null?void 0:ct.id,".json"),{method:"put",body:Object(wt.a)(Object(wt.a)({},Wr),{},{teacher_type:1})});case 6:En=Kn.sent,(En==null?void 0:En.status)==0&&(_e.b.success("".concat(qr?"\u7F16\u8F91":"\u6DFB\u52A0","\u6210\u529F")),nt(!1),No()),Kn.next=14;break;case 10:return Kn.next=12,Object(z.a)("/api/core_teachers.json",{method:"post",body:Object(wt.a)(Object(wt.a)({},Wr),{},{teacher_type:1})});case 12:Uo=Kn.sent,(Uo==null?void 0:Uo.status)==0&&(_e.b.success("\u6DFB\u52A0\u6210\u529F"),nt(!1),No());case 14:ut.resetFields(),Fn("<p><br></p>");case 16:case"end":return Kn.stop()}},fr)}));return function(fr){return bn.apply(this,arguments)}}()}))},te=Ge.default=Object(vt.a)(function(pe){var Te=pe.user,$=pe.loading,ge=pe.globalSetting,be=pe.coreCurriculum;return{user:Te,loading:$.effects,globalSetting:ge,coreCurriculum:be}})(H)},NQs2:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___3K14R",flex_space_between:"flex_space_between___1KE7t",flex_box_vertical_center:"flex_box_vertical_center___3Yslx",flex_box_center_end:"flex_box_center_end___2RmV-",flex_box_column:"flex_box_column___3k3IQ",banner:"banner___3caau",content:"content___fxe_p",btns:"btns___Vv-WB",img_noactive:"img_noactive___s1naU",img_active:"img_active___11s7p",input_warp:"input_warp___3Y7JU"}},NReP:function(Je,Ge,D){"use strict";var qe=D("DZo9"),Ae=D("8z0m"),Gt=D("0Owb"),xt=D("14J3"),F=D("BMrR"),ae=D("k1fw"),Ze=D("9og8"),Pe=D("miYZ"),Ue=D("tsqr"),_e=D("tJVT"),bt=D("PpiC"),Ft=D("WmNS"),Ke=D.n(Ft),wt=D("q1tI"),Ut=D.n(wt),on=D("m3rI"),An=D("jN4g"),Be=D("Nf5h"),et=function(Fe){var je,vt,Ot=Fe.ButtonText,lt=Fe.ButtonOptions,mt=Fe.ImgStyle,xe=Fe.ImgClassName,M=Object(bt.a)(Fe,["ButtonText","ButtonOptions","ImgStyle","ImgClassName"]),se=Object(wt.useState)(null),Q=Object(_e.a)(se,2),Y=Q[0],Se=Q[1],q={maxCount:1,accept:"image/*",withCredentials:!0,beforeUpload:function(T){var O=T.size/1024/1024;return O==0?(Ue.b.error("".concat(T.name," \u56FE\u7247\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(O==0?"\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A":"\u8D85\u8FC7\u56FE\u7247\u5927\u5C0F\u9650\u5236(2MB)")),Promise.reject()):Promise.resolve()},onChange:function(T){var O=["uploading","done","removed"];if(O.includes(T.file.status)&&Se(T.file),T.file.status=="done"){var z,j;M==null||M.onChange((z=T.file)===null||z===void 0||((j=z.response)===null||j===void 0)?void 0:j.id)}},onRemove:function(){var J=Object(Ze.a)(Ke.a.mark(function O(z){return Ke.a.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:V();case 1:case"end":return H.stop()}},O)}));function T(O){return J.apply(this,arguments)}return T}(),action:"".concat(on.a.API_SERVER,"/api/attachments.json")},V=function(){Se(null),M==null||M.onChange(null)};return Object(wt.useEffect)(function(){(M==null?void 0:M.value)&&Se({response:{id:M==null?void 0:M.value}})},[M==null?void 0:M.value]),Ut.a.createElement("div",{id:(M==null?void 0:M.scrollId)||""},Y!=null&&(je=Y.response)!==null&&je!==void 0&&je.id?Ut.a.createElement(F.a,{align:"middle",justify:"center",className:xe,style:Object(ae.a)(Object(ae.a)({},{position:"relative",width:400,backgroundColor:"#f4f3f4"}),mt)},Ut.a.createElement("img",{src:on.a.API_SERVER+"/api/attachments/"+(Y==null||((vt=Y.response)===null||vt===void 0)?void 0:vt.id),alt:"avatar",style:{width:"100%"}}),Ut.a.createElement("div",{style:{position:"absolute",right:"-6px",top:"-6px",cursor:"pointer",width:16,height:16,borderRadius:"50%",backgroundColor:"#fff"}},Ut.a.createElement(An.a,{onClick:Object(Ze.a)(Ke.a.mark(function J(){return Ke.a.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:V();case 1:case"end":return O.stop()}},J)})),style:{fontSize:"16px",color:"red"}}))):Ut.a.createElement(Ae.a,q,Ut.a.createElement(Be.e,Object(Gt.a)({style:Object(ae.a)({borderRadius:"2px"},lt==null?void 0:lt.style)},lt),Ot)))};Ge.a=et},Nf5h:function(Je,Ge,D){"use strict";D.d(Ge,"a",function(){return Ue}),D.d(Ge,"i",function(){return Ut}),D.d(Ge,"l",function(){return et}),D.d(Ge,"f",function(){return vt}),D.d(Ge,"j",function(){return xe}),D.d(Ge,"d",function(){return We}),D.d(Ge,"b",function(){return nt}),D.d(Ge,"h",function(){return rr}),D.d(Ge,"g",function(){return hi}),D.d(Ge,"k",function(){return _n}),D.d(Ge,"e",function(){return bn}),D.d(Ge,"c",function(){return co});var qe=D("5NDa"),Ae=D("5rEg"),Gt=D("tJVT"),xt=D("q1tI"),F=D.n(xt),ae=D("NQs2"),Ze=D.n(ae),Pe=function(ve){var Nt=ve.dataSource,At=Nt===void 0?[]:Nt,Dt=ve.bannerImg,an=ve.img,nn=ve.imgWidth,zt=nn===void 0?346:nn,Cn=ve.title,In=ve.sunTitle,ln=ve.bannerExtraContent,Zn=ve.placeholder,kn=ve.onChange,Pr=Object(xt.useState)(""),Qn=Object(Gt.a)(Pr,2),Gr=Qn[0],Eo=Qn[1];return F.a.createElement("div",{className:Ze.a.banner,style:{backgroundImage:"url('".concat(Dt,"')"),backgroundPosition:"center",backgroundSize:"cover"}},F.a.createElement("div",{className:Ze.a.content},F.a.createElement("aside",null,F.a.createElement("p",{style:{marginBottom:"".concat(At.length==0?"0":"")}},F.a.createElement("b",null,Cn),F.a.createElement("span",null,In)),At.length>0&&F.a.createElement("div",{className:Ze.a.btns},At.map(function($e,or){return $e.buttonShow&&F.a.createElement(F.a.Fragment,null,$e.Button?$e.Button:F.a.createElement("div",{key:or,onClick:$e.click},F.a.createElement("img",{src:$e.img,className:Ze.a.img_noactive}),F.a.createElement("img",{src:$e.img_active,className:Ze.a.img_active}),$e.name))})),ln),At.length>0&&F.a.createElement("div",{className:Ze.a.input_warp},F.a.createElement(Ae.a,{value:Gr,onChange:function(or){Eo(or.target.value)},placeholder:Zn,onPressEnter:function(){return kn(Gr)},color:"#fff"}),F.a.createElement("i",{onClick:function(){return kn(Gr)},className:"iconfont icon-sousuo9 font14 pl10 current"}))))},Ue=Pe,_e=D("6nfa"),bt=D.n(_e),Ft=D("TSYQ"),Ke=D.n(Ft),wt=function(ve){var Nt=ve.dataSource,At=Nt===void 0?[]:Nt,Dt=ve.value,an=ve.onChange,nn=ve.className,zt=ve.title,Cn=ve.titleWidth,In=Cn===void 0?56:Cn,ln=ve.style,Zn=ln===void 0?{}:ln,kn=ve.fontColor,Pr=kn===void 0?"#6A7283":kn,Qn=ve.isId,Gr=Qn===void 0?!1:Qn,Eo=Object(xt.useState)(0),$e=Object(Gt.a)(Eo,2),or=$e[0],vr=$e[1],Co=Object(xt.useState)(!1),qn=Object(Gt.a)(Co,2),$n=qn[0],eo=qn[1],fo=Object(xt.useRef)(null);return Object(xt.useEffect)(function(){if(At.length!==0){var un;(fo==null||((un=fo.current)===null||un===void 0)?void 0:un.clientHeight)>98?vr(1):vr(0)}At.length===0&&vr(0)},[At]),F.a.createElement("div",{className:Ke()(bt.a.row,nn),style:Zn},F.a.createElement("div",{style:{width:In,marginTop:$n?12:4},className:bt.a.title},zt),F.a.createElement("div",{className:$n?"".concat(bt.a.tagsWrap," ").concat(bt.a.tagsBorderWrap):bt.a.tagsWrap},F.a.createElement("div",{className:bt.a.bar,style:or>0?{height:or===1?100:"auto",overflow:or===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},F.a.createElement("div",{className:bt.a.name,ref:fo},At==null?void 0:At.map(function(un){return F.a.createElement("span",{onClick:function(){return an(Gr?un.id:un.name)},key:Gr?un.id:un.name,title:un.name,style:{color:Pr},className:Dt===(Gr?un.id:un.name)?bt.a.active:""},un.name)}))),!!or&&F.a.createElement(xt.Fragment,null,or===1?F.a.createElement("div",{onClick:function(){var aa;vr(2),(fo==null||((aa=fo.current)===null||aa===void 0)?void 0:aa.clientHeight)>205?eo(!0):eo(!1)},className:bt.a.action},"\u5C55\u5F00",F.a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):F.a.createElement("div",{onClick:function(){vr(1),eo(!1)},className:bt.a.action},"\u6536\u8D77",F.a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ut=wt,on=D("cz0n"),An=D.n(on),Be=function(ve){var Nt=ve.dataSource,At=Nt===void 0?[]:Nt,Dt=ve.value,an=ve.onChange,nn=ve.className;return F.a.createElement("div",{className:Ke()(An.a.tabs,nn)},At.map(function(zt){return F.a.createElement("span",{onClick:function(){return an(zt.id)},className:Dt===zt.id?An.a.active:"",key:zt.id},zt.name)}))},et=Be,it=D("KOXS"),Fe=D.n(it),je=function(ve){var Nt,At=ve.dataSource,Dt=At===void 0?[]:At,an=ve.value,nn=ve.onChange,zt=ve.className,Cn=ve.style,In=Cn===void 0?{}:Cn,ln=ve.placeholder,Zn=Object(xt.useState)(""),kn=Object(Gt.a)(Zn,2),Pr=kn[0],Qn=kn[1],Gr=Object(xt.useState)(""),Eo=Object(Gt.a)(Gr,2),$e=Eo[0],or=Eo[1];Object(xt.useEffect)(function(){var qn;(qn=JSON.stringify(an))!==null&&qn!==void 0&&qn.includes("{")?(Qn(an.id),or(an.value)):or(an)},[an]);var vr=function(){nn($e||null,Pr||"")},Co=function($n){if($n===Pr)return;Qn($n),nn($e,$n)};return F.a.createElement("div",{className:Ke()(Fe.a.input,zt),style:In},!!Dt.length&&F.a.createElement("div",{className:Fe.a.dropdown},F.a.createElement("div",{className:Fe.a.text},(Nt=Dt.find(function(qn){return qn.id===Pr}))===null||Nt===void 0?void 0:Nt.name,F.a.createElement("i",{className:"iconfont icon-zhankai4"}),F.a.createElement("b",{className:Fe.a.b1}),F.a.createElement("b",{className:Fe.a.b2})),F.a.createElement("div",{className:Fe.a.menu},Dt.map(function(qn,$n){return F.a.createElement("div",{key:$n,onClick:function(){return Co(qn.id)}},qn.name)}))),F.a.createElement(Ae.a,{onPressEnter:vr,value:$e,onChange:function($n){return or($n.target.value||"")},bordered:!1,placeholder:ln}),F.a.createElement("i",{onClick:vr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},vt=je,Ot=D("f9pc"),lt=D.n(Ot),mt=function(ve){var Nt=ve.value,At=ve.onChange,Dt=ve.className,an=ve.total,nn=ve.pageSize,zt=ve.style,Cn=zt===void 0?{}:zt,In=Nt<2,ln=Nt>=Math.ceil(an/nn);return an<=nn?F.a.createElement(F.a.Fragment,null):F.a.createElement("div",{className:Ke()(lt.a.quickPager,Dt),style:Cn},F.a.createElement("div",{onClick:function(){In||At(Nt-1,"prev")},className:In?lt.a.disabled:""},"\u4E0A\u4E00\u9875"),F.a.createElement("div",{onClick:function(){ln||At(Nt+1,"next")},className:ln?lt.a.disabled:""},"\u4E0B\u4E00\u9875"))},xe=mt,M=D("T2oS"),se=D("W9HT"),Q=D("pC0b"),Y=D("GzdX"),Se=D("5Dmo"),q=D("3S7+"),V=D("Oe0F"),J=D.n(V),T=D("m3rI"),O=D("1vsH"),z=D("JAbv"),j=D.n(z),H=D("Bq7L"),te=D.n(H),pe=D("MEgm"),Te=D.n(pe),$=D("BdwD"),ge=function(ve){var Nt=ve.className,At=ve.dataSource,Dt=At===void 0?[]:At,an=ve.col,nn=an===void 0?4:an,zt=ve.right,Cn=ve.bottom,In=Cn===void 0?23:Cn,ln=ve.precision,Zn=ln===void 0?0:ln,kn=ve.wrapWidth,Pr=kn===void 0?1200:kn,Qn=ve.trackEventItems,Gr=ve.loading,Eo=Math.floor((Pr-(nn-1)*zt)/nn);return F.a.createElement(se.a,{spinning:Gr},F.a.createElement("div",{className:Ke()(J.a.list,Nt)},!!Dt.length&&Dt.map(function($e,or){var vr=$e.name,Co=$e.id,qn=$e.identifier,$n=$e.power,eo=$e.cover_image_id,fo=$e.pic;return F.a.createElement("div",{className:J.a.wrap,key:Co,style:{width:Eo,marginRight:(1+or)%nn===0?0:zt+Zn,marginBottom:In}},F.a.createElement("a",{target:"_blank",href:"/shixuns/".concat(qn,"/challenges"),className:J.a.li,onClick:function(aa){aa.preventDefault(),Qn&&Object(O.db)([Qn]),$n&&Object(O.S)("/shixuns/".concat(qn,"/challenges"))}},F.a.createElement("div",{className:J.a.img},F.a.createElement("img",{className:J.a.cover,src:eo?"".concat(T.a.API_SERVER,"/api/attachments/").concat(eo):"".concat(T.a.IMG_SERVER,"/").concat(fo)}),$e.is_jupyter&&F.a.createElement("img",{className:J.a.sign,src:j.a}),$e.is_jupyter_lab&&F.a.createElement("img",{className:J.a.sign,src:te.a}),$e.is_unity_3d&&F.a.createElement("img",{className:J.a.sign,src:Te.a})),F.a.createElement("div",{className:J.a.name},F.a.createElement(q.a,{title:vr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},F.a.createElement("span",{className:J.a.e},vr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),F.a.createElement("div",{className:J.a.tags},F.a.createElement(q.a,{placement:"bottom",title:"\u5173\u5361\u6570"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr3"}),F.a.createElement("span",null,$e.challenges_count))),!!$e.myshixuns_count&&F.a.createElement(q.a,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),F.a.createElement("span",null,$e.myshixuns_count))),F.a.createElement(q.a,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},F.a.createElement("span",null,F.a.createElement("span",null,$e.level))),F.a.createElement("div",{className:J.a.rate},F.a.createElement(Y.a,{allowHalf:!0,disabled:!0,defaultValue:$e.score_info}),F.a.createElement("span",null,"\xA0",$e.score_info?"".concat($e.score_info,"\u5206"):"5\u5206")))),!$n&&F.a.createElement("div",{className:J.a.lockWrap},F.a.createElement("img",{src:"".concat(T.a.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),F.a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Dt.length&&F.a.createElement($.a,null)))},be=ge,Oe=D("ZJlW"),ee=D.n(Oe),Xe=D("z4EP"),A=D.n(Xe),P=D("+GGh"),_=D.n(P),K=D("cFMs"),ce=D.n(K),Ee=function(ve){var Nt=ve.className,At=ve.dataSource,Dt=At===void 0?[]:At,an=ve.col,nn=an===void 0?4:an,zt=ve.right,Cn=ve.bottom,In=Cn===void 0?23:Cn,ln=ve.precision,Zn=ln===void 0?0:ln,kn=ve.wrapWidth,Pr=kn===void 0?1200:kn,Qn=ve.trackEventItems,Gr=ve.loading,Eo=Math.floor((Pr-(nn-1)*zt)/nn);return F.a.createElement(se.a,{spinning:Gr},F.a.createElement("div",{className:Ke()(ee.a.list,Nt)},!!Dt.length&&Dt.map(function($e,or){var vr=$e.name,Co=$e.id,qn=$e.identifier,$n=$e.featured,eo=$e.school_name,fo=$e.image_url,un=$e.excellent;return F.a.createElement("div",{key:Co,className:ee.a.wrap,style:{width:Eo,marginRight:(1+or)%nn===0?0:zt+Zn,marginBottom:In}},F.a.createElement("a",{target:"_blank",href:"/paths/".concat(qn),className:ee.a.li,onClick:function(mb){mb.preventDefault(),Qn&&Object(O.db)([Qn]),Object(O.S)("/paths/".concat(qn))}},F.a.createElement("div",{className:ee.a.img},F.a.createElement("img",{className:ee.a.cover,src:"".concat(T.a.IMG_SERVER,"/").concat(fo)}),$n===1&&F.a.createElement("img",{className:ee.a.sign,src:A.a}),$n===2&&F.a.createElement("img",{className:ee.a.sign,src:""}),$n===3&&F.a.createElement("img",{className:ee.a.sign,src:_.a}),$n===4&&F.a.createElement("img",{className:ee.a.sign,src:""}),$n===5&&F.a.createElement("img",{className:ee.a.sign,src:ce.a})),F.a.createElement("div",{className:ee.a.name},F.a.createElement(q.a,{title:vr},F.a.createElement("span",{className:ee.a.e},vr))),F.a.createElement(q.a,{title:"\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(eo)},F.a.createElement("div",{className:ee.a.unit},F.a.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),eo)),F.a.createElement("div",{className:ee.a.tags},F.a.createElement(q.a,{placement:"bottom",title:"\u7AE0\u8282\u6570"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),F.a.createElement("span",null,$e.stages_count))),F.a.createElement(q.a,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),F.a.createElement("span",null,$e.members_count))),un&&F.a.createElement("div",{className:ee.a.tag},"\u5F00\u653E\u8BFE\u7A0B"))))}),!Dt.length&&F.a.createElement($.a,null)))},We=Ee,ut=D("iL++"),gt=D.n(ut),tt=D("xiVL"),ct=function(ve){var Nt=ve.className,At=ve.dataSource,Dt=At===void 0?[]:At,an=ve.col,nn=an===void 0?4:an,zt=ve.right,Cn=ve.bottom,In=Cn===void 0?23:Cn,ln=ve.precision,Zn=ln===void 0?0:ln,kn=ve.wrapWidth,Pr=kn===void 0?1200:kn,Qn=ve.trackEventItems,Gr=ve.loading,Eo=Math.floor((Pr-(nn-1)*zt)/nn);return F.a.createElement(se.a,{spinning:Gr},F.a.createElement("div",{className:Ke()(gt.a.list,Nt)},!!Dt.length&&Dt.map(function($e,or){var vr=$e.subject_identifier,Co=$e.id,qn=$e.identifier,$n=$e.power,eo=$e.is_public!=0&&$e.is_public;return F.a.createElement("div",{className:gt.a.wrap,key:Co,style:{width:Eo,marginRight:(1+or)%nn===0?0:zt+Zn,marginBottom:In}},F.a.createElement("a",{className:gt.a.li,onClick:function(un){un.preventDefault()}},F.a.createElement("div",{className:gt.a.top},F.a.createElement(q.a,{title:$e.name},F.a.createElement("div",{className:gt.a.name},$e.name)),F.a.createElement("img",{className:gt.a.img,src:T.a.IMG_SERVER+"/images/"+$e.avatar_url}),F.a.createElement("div",{className:gt.a.text},$e.creator),vr&&F.a.createElement("div",{className:gt.a.btns},F.a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),F.a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),eo&&F.a.createElement("div",{className:gt.a.sign},"\u516C\u5F00")),F.a.createElement("div",{className:gt.a.bottom},$e.visits>0&&F.a.createElement(q.a,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-liulanyan"}),F.a.createElement("span",null,$e.visits))),$e.course_members_count>0&&F.a.createElement(q.a,{title:"\u6210\u5458",placement:"bottom"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-chengyuan"}),$e.course_members_count)),$e.tasks_count>0&&F.a.createElement(q.a,{title:"\u4F5C\u4E1A",placement:"bottom"},F.a.createElement("span",null,F.a.createElement("i",{className:"iconfont icon-zuoye"}),$e.tasks_count)),$e.is_end?F.a.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):F.a.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),F.a.createElement("div",{className:gt.a.lockWrap},$e.is_accessible?F.a.createElement(F.a.Fragment,null,vr&&F.a.createElement("div",{onClick:function(){return Object(O.S)("/paths/".concat(vr))}},"\u8FDB\u5165\u5B9E\u8DF5\u8BFE\u7A0B"),F.a.createElement("div",{onClick:function(un){Qn&&Object(O.db)([Qn]),Object(O.S)($e.first_category_url)}},"\u8FDB\u5165\u6559\u5B66\u8BFE\u5802")):F.a.createElement(F.a.Fragment,null,F.a.createElement("img",{src:"".concat(T.a.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),F.a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165"))))}),!Dt.length&&F.a.createElement($.a,null)))},nt=ct,Sn=D("f0W+"),Bn=D.n(Sn),Hn=function(ve){var Nt=ve.dataSource,At=Nt===void 0?[]:Nt,Dt=ve.value,an=ve.onChange,nn=ve.className,zt=ve.style,Cn=zt===void 0?{}:zt,In=ve.tabBarExtraContent;return F.a.createElement("div",{className:Ke()(Bn.a.tabs,nn),style:Cn},F.a.createElement("div",{className:Bn.a.tabsWrap},At.map(function(ln,Zn){return F.a.createElement("div",{onClick:function(){return an(ln.id)},className:Dt===ln.id?Bn.a.active:"",key:Zn},ln.name)})),F.a.createElement("div",{className:Bn.a.tabBar},In))},rr=Hn,St=D("9JIy"),Io=D.n(St),qr=function(ve){var Nt=ve.className,At=ve.style,Dt=At===void 0?{}:At,an=ve.children;return F.a.createElement("div",{className:Ke()(Io.a.table,Nt),style:Dt},an)},hi=qr,Hr=D("qVdP"),$r=D("jsC+"),_r=D("lUTK"),Fn=D("BvKs"),Jt=D("8WcF"),Et=D.n(Jt),yn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}],cr=function(ve){var Nt,At=ve.sortValue,Dt=ve.dropValue,an=ve.className,nn=ve.onSort,zt=ve.onDrop,Cn=ve.dataSource,In=Cn===void 0?yn:Cn;return F.a.createElement("div",{className:Ke()(Et.a.orderWrap,an)},F.a.createElement($r.a,{overlay:F.a.createElement(Fn.a,null,In.map(function(ln,Zn){return F.a.createElement(Fn.a.Item,{key:Zn,onClick:function(){return zt(ln.id)}},ln.name)}))},F.a.createElement("span",{className:Et.a.orderTextWrap},(Nt=In.find(function(ln){return Dt===ln.id}))===null||Nt===void 0?void 0:Nt.name)),F.a.createElement("span",{className:Et.a.orderIconWrap},F.a.createElement("span",{className:Et.a.orderAsc},F.a.createElement("i",{className:At==="asc"?"iconfont icon-sanjiaoxing-up font12 ".concat(Et.a.cursorPointer," ").concat(Et.a.active):"iconfont icon-sanjiaoxing-up font12 ".concat(Et.a.cursorPointer),onClick:function(){return nn(At==="asc"?"desc":"asc")}})),F.a.createElement("span",{className:Et.a.orderDesc},F.a.createElement("i",{className:At==="desc"?"iconfont icon-sanjiaoxing-down font12 ".concat(Et.a.cursorPointer," ").concat(Et.a.active):"iconfont icon-sanjiaoxing-down font12 ".concat(Et.a.cursorPointer),onClick:function(){return nn(At==="asc"?"desc":"asc")}}))))},_n=cr,Vr=D("+L6B"),yo=D("2/Rp"),Qo=D("0Owb"),ia=D("9og8"),ka=D("PpiC"),du=D("WmNS"),Us=D.n(du),No=D("siWv"),pu=D.n(No),bo=D("LvDl"),gi=function(ve){var Nt=ve.className,At=ve.style,Dt=ve.children,an=ve.loading,nn=an===void 0?!1:an,zt=ve.openLoading,Cn=ve.onClick,In=Cn===void 0?function(){}:Cn,ln=ve.size,Zn=ln===void 0?"middle":ln,kn=ve.shape,Pr=kn===void 0?"round":kn,Qn=ve.type,Gr=Qn===void 0?"default":Qn,Eo=Object(ka.a)(ve,["className","style","children","loading","openLoading","onClick","size","shape","type"]),$e=Object(xt.useState)(!1),or=Object(Gt.a)($e,2),vr=or[0],Co=or[1];return F.a.createElement(yo.a,Object(Qo.a)({onClick:Object(bo.throttle)(function(){var qn=Object(ia.a)(Us.a.mark(function $n(eo){return Us.a.wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return zt&&Co(!0),un.prev=1,un.next=4,In(eo);case 4:un.next=9;break;case 6:un.prev=6,un.t0=un.catch(1),console.log("error",un.t0);case 9:zt&&Co(!1);case 10:case"end":return un.stop()}},$n,null,[[1,6]])}));return function($n){return qn.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:Ke()(pu.a.btn,pu.a["".concat(Zn,"-").concat(Pr)],Nt),style:At,size:Zn,shape:Pr,type:Gr,loading:vr||nn},Eo),Dt)},bn=gi,fr=D("+oxA"),Wr=D.n(fr),En=function(ve){var Nt=ve.className,At=ve.style,Dt=ve.children,an=Dt===void 0?null:Dt,nn=ve.onClick,zt=ve.title;return F.a.createElement("div",{className:Ke()(Wr.a.head,Nt),style:At},F.a.createElement("span",{className:"primary-hover",onClick:nn},F.a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),F.a.createElement("b",{title:zt},zt),F.a.createElement("div",{className:Wr.a.node},an))},Uo=En,lo=D("fgAr"),Kn=D.n(lo),md=function(ve){var Nt=ve.confirmShow,At=Nt===void 0?!0:Nt,Dt=ve.confirmTitle,an=ve.confirmClick,nn=ve.cancelShow,zt=nn===void 0?!0:nn,Cn=ve.cancelTitle,In=ve.cancelClick,ln=ve.className,Zn=ve.style,kn=ve.confirmLoading,Pr=kn===void 0?!1:kn;return F.a.createElement("div",{className:Ke()(Kn.a.btns,ln),style:Zn},At&&F.a.createElement(yo.a,{loading:Pr,onClick:an,type:"primary",className:Kn.a.confirm},Dt),zt&&F.a.createElement(yo.a,{onClick:In,className:Kn.a.cancel},Cn))},co=md},Oe0F:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___1lU21",flex_space_between:"flex_space_between___3CfJd",flex_box_vertical_center:"flex_box_vertical_center___20q2h",flex_box_center_end:"flex_box_center_end___1jeZT",flex_box_column:"flex_box_column___2EyZF",list:"list___3Kz8E",wrap:"wrap___12_X7",lockWrap:"lockWrap___9zL4z",li:"li___2bcH1",cover:"cover___1j6mq",img:"img___3itdG",sign:"sign___1Bm21",name:"name___3H1zU",e:"e___1W7k4",tags:"tags___G1tID",rate:"rate___aZiJa"}},Vg4E:function(Je,Ge,D){},Y1PL:function(Je,Ge,D){"use strict";D.r(Ge),D.d(Ge,"ResizableTextArea",function(){return te});var qe=D("wx14"),Ae=D("1OyB"),Gt=D("vuIU"),xt=D("Ji7U"),F=D("LK+K"),ae=D("q1tI"),Ze=D("VTBJ"),Pe=D("rePB"),Ue=D("Zm9Q"),_e=D("Kwbf"),bt=D("c+Xe"),Ft=D("m+aA"),Ke=D("bdgK"),wt=new Map;function Ut($){$.forEach(function(ge){var be,Oe=ge.target;(be=wt.get(Oe))===null||be===void 0||be.forEach(function(ee){return ee(Oe)})})}var on=new Ke.default(Ut),An=null,Be=null;function et($,ge){wt.has($)||(wt.set($,new Set),on.observe($)),wt.get($).add(ge)}function it($,ge){wt.has($)&&(wt.get($).delete(ge),wt.get($).size||(on.unobserve($),wt.delete($)))}var Fe=function($){Object(xt.a)(be,$);var ge=Object(F.a)(be);function be(){return Object(Ae.a)(this,be),ge.apply(this,arguments)}return Object(Gt.a)(be,[{key:"render",value:function(){return this.props.children}}]),be}(ae.Component),je=ae.createContext(null);function vt($){var ge=$.children,be=$.onBatchResize,Oe=ae.useRef(0),ee=ae.useRef([]),Xe=ae.useContext(je),A=ae.useCallback(function(P,_,K){Oe.current+=1;var ce=Oe.current;ee.current.push({size:P,element:_,data:K}),Promise.resolve().then(function(){ce===Oe.current&&(be==null||be(ee.current),ee.current=[])}),Xe==null||Xe(P,_,K)},[be,Xe]);return ae.createElement(je.Provider,{value:A},ge)}function Ot($){var ge=$.children,be=$.disabled,Oe=ae.useRef(null),ee=ae.useRef(null),Xe=ae.useContext(je),A=ae.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),P=ae.isValidElement(ge)&&Object(bt.c)(ge),_=P?ge.ref:null,K=ae.useMemo(function(){return Object(bt.a)(_,Oe)},[_,Oe]),ce=ae.useRef($);ce.current=$;var Ee=ae.useCallback(function(We){var ut=ce.current,gt=ut.onResize,tt=ut.data,ct=We.getBoundingClientRect(),nt=ct.width,Sn=ct.height,Bn=We.offsetWidth,Hn=We.offsetHeight,rr=Math.floor(nt),St=Math.floor(Sn);if(A.current.width!==rr||A.current.height!==St||A.current.offsetWidth!==Bn||A.current.offsetHeight!==Hn){var Io={width:rr,height:St,offsetWidth:Bn,offsetHeight:Hn};A.current=Io;var qr=Bn===Math.round(nt)?nt:Bn,hi=Hn===Math.round(Sn)?Sn:Hn,Hr=Object(Ze.a)(Object(Ze.a)({},Io),{},{offsetWidth:qr,offsetHeight:hi});Xe==null||Xe(Hr,We,tt),gt&&Promise.resolve().then(function(){gt(Hr,We)})}},[]);return ae.useEffect(function(){var We=Object(Ft.a)(Oe.current)||Object(Ft.a)(ee.current);return We&&!be&&et(We,Ee),function(){return it(We,Ee)}},[Oe.current,be]),ae.createElement(Fe,{ref:ee},P?ae.cloneElement(ge,{ref:K}):ge)}var lt="rc-observer-key";function mt($){var ge=$.children,be=Object(Ue.a)(ge);return be.map(function(Oe,ee){var Xe=(Oe==null?void 0:Oe.key)||"".concat(lt,"-").concat(ee);return ae.createElement(Ot,Object(qe.a)({},$,{key:Xe}),Oe)})}mt.Collection=vt;var xe=mt,M=D("bT9E"),se=D("TSYQ"),Q=D.n(se),Y=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,Se=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],q={},V;function J($){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,be=$.getAttribute("id")||$.getAttribute("data-reactid")||$.getAttribute("name");if(ge&&q[be])return q[be];var Oe=window.getComputedStyle($),ee=Oe.getPropertyValue("box-sizing")||Oe.getPropertyValue("-moz-box-sizing")||Oe.getPropertyValue("-webkit-box-sizing"),Xe=parseFloat(Oe.getPropertyValue("padding-bottom"))+parseFloat(Oe.getPropertyValue("padding-top")),A=parseFloat(Oe.getPropertyValue("border-bottom-width"))+parseFloat(Oe.getPropertyValue("border-top-width")),P=Se.map(function(K){return"".concat(K,":").concat(Oe.getPropertyValue(K))}).join(";"),_={sizingStyle:P,paddingSize:Xe,borderSize:A,boxSizing:ee};return ge&&be&&(q[be]=_),_}function T($){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;V||(V=document.createElement("textarea"),V.setAttribute("tab-index","-1"),V.setAttribute("aria-hidden","true"),document.body.appendChild(V)),$.getAttribute("wrap")?V.setAttribute("wrap",$.getAttribute("wrap")):V.removeAttribute("wrap");var ee=J($,ge),Xe=ee.paddingSize,A=ee.borderSize,P=ee.boxSizing,_=ee.sizingStyle;V.setAttribute("style","".concat(_,";").concat(Y)),V.value=$.value||$.placeholder||"";var K=Number.MIN_SAFE_INTEGER,ce=Number.MAX_SAFE_INTEGER,Ee=V.scrollHeight,We;if(P==="border-box"?Ee+=A:P==="content-box"&&(Ee-=Xe),be!==null||Oe!==null){V.value=" ";var ut=V.scrollHeight-Xe;be!==null&&(K=ut*be,P==="border-box"&&(K=K+Xe+A),Ee=Math.max(K,Ee)),Oe!==null&&(ce=ut*Oe,P==="border-box"&&(ce=ce+Xe+A),We=Ee>ce?"":"hidden",Ee=Math.min(ce,Ee))}return{height:Ee,minHeight:K,maxHeight:ce,overflowY:We,resize:"none"}}var O=D("Gytx"),z=D.n(O),j;(function($){$[$.NONE=0]="NONE",$[$.RESIZING=1]="RESIZING",$[$.RESIZED=2]="RESIZED"})(j||(j={}));var H=function($){Object(xt.a)(be,$);var ge=Object(F.a)(be);function be(Oe){var ee;return Object(Ae.a)(this,be),ee=ge.call(this,Oe),ee.nextFrameActionId=void 0,ee.resizeFrameId=void 0,ee.textArea=void 0,ee.saveTextArea=function(Xe){ee.textArea=Xe},ee.handleResize=function(Xe){var A=ee.state.resizeStatus,P=ee.props,_=P.autoSize,K=P.onResize;if(A!==j.NONE)return;typeof K=="function"&&K(Xe),_&&ee.resizeOnNextFrame()},ee.resizeOnNextFrame=function(){cancelAnimationFrame(ee.nextFrameActionId),ee.nextFrameActionId=requestAnimationFrame(ee.resizeTextarea)},ee.resizeTextarea=function(){var Xe=ee.props.autoSize;if(!Xe||!ee.textArea)return;var A=Xe.minRows,P=Xe.maxRows,_=T(ee.textArea,!1,A,P);ee.setState({textareaStyles:_,resizeStatus:j.RESIZING},function(){cancelAnimationFrame(ee.resizeFrameId),ee.resizeFrameId=requestAnimationFrame(function(){ee.setState({resizeStatus:j.RESIZED},function(){ee.resizeFrameId=requestAnimationFrame(function(){ee.setState({resizeStatus:j.NONE}),ee.fixFirefoxAutoScroll()})})})})},ee.renderTextArea=function(){var Xe=ee.props,A=Xe.prefixCls,P=A===void 0?"rc-textarea":A,_=Xe.autoSize,K=Xe.onResize,ce=Xe.className,Ee=Xe.disabled,We=ee.state,ut=We.textareaStyles,gt=We.resizeStatus,tt=Object(M.a)(ee.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),ct=Q()(P,ce,Object(Pe.a)({},"".concat(P,"-disabled"),Ee));"value"in tt&&(tt.value=tt.value||"");var nt=Object(Ze.a)(Object(Ze.a)(Object(Ze.a)({},ee.props.style),ut),gt===j.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return ae.createElement(xe,{onResize:ee.handleResize,disabled:!(_||K)},ae.createElement("textarea",Object(qe.a)({},tt,{className:ct,style:nt,ref:ee.saveTextArea})))},ee.state={textareaStyles:{},resizeStatus:j.NONE},ee}return Object(Gt.a)(be,[{key:"componentDidUpdate",value:function(ee){(ee.value!==this.props.value||!z()(ee.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var ee=this.textArea.selectionStart,Xe=this.textArea.selectionEnd;this.textArea.setSelectionRange(ee,Xe)}}catch(A){}}},{key:"render",value:function(){return this.renderTextArea()}}]),be}(ae.Component),te=H,pe=function($){Object(xt.a)(be,$);var ge=Object(F.a)(be);function be(Oe){var ee;Object(Ae.a)(this,be),ee=ge.call(this,Oe),ee.resizableTextArea=void 0,ee.focus=function(){ee.resizableTextArea.textArea.focus()},ee.saveTextArea=function(A){ee.resizableTextArea=A},ee.handleChange=function(A){var P=ee.props.onChange;ee.setValue(A.target.value,function(){ee.resizableTextArea.resizeTextarea()}),P&&P(A)},ee.handleKeyDown=function(A){var P=ee.props,_=P.onPressEnter,K=P.onKeyDown;A.keyCode===13&&_&&_(A),K&&K(A)};var Xe=typeof Oe.value=="undefined"||Oe.value===null?Oe.defaultValue:Oe.value;return ee.state={value:Xe},ee}return Object(Gt.a)(be,[{key:"setValue",value:function(ee,Xe){"value"in this.props||this.setState({value:ee},Xe)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return ae.createElement(te,Object(qe.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(ee){return"value"in ee?{value:ee.value}:null}}]),be}(ae.Component),Te=Ge.default=pe},ZJlW:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___XZ1Hd",flex_space_between:"flex_space_between___2oG4i",flex_box_vertical_center:"flex_box_vertical_center___1UWtb",flex_box_center_end:"flex_box_center_end___1o2xT",flex_box_column:"flex_box_column___SlAE0",list:"list___1HvWe",wrap:"wrap___10sri",lockWrap:"lockWrap___2djiu",li:"li___2W_zn",cover:"cover___2FS3L",img:"img___cyxrw",sign:"sign___1cxDK",name:"name___3tYlu",e:"e___1-orw",unit:"unit___ycOgg",tags:"tags___2FRpJ",tag:"tag___1e0XO"}},ZoFH:function(Je,Ge,D){Je.exports={Onerow:"Onerow___2aIG-",MultiLine:"MultiLine___BOfcE",Bg:"Bg___J3nYE",DivDownPlay:"DivDownPlay___1vuUU",SearchInput:"SearchInput___27Cyg",CoreItem:"CoreItem___38REV",option:"option___2iiC2",img:"img___1npp-",type:"type___Td2Yq",type_item_active:"type_item_active___2sgP6",type_item:"type_item___1jzYo",page:"page___2Aj7F",banner_warp:"banner_warp___1SNHO",center:"center___3nwaH",btn:"btn___ECRLl"}},Zss7:function(Je,Ge,D){var qe;(function(Ae){var Gt=/^\s+/,xt=/\s+$/,F=0,ae=Ae.round,Ze=Ae.min,Pe=Ae.max,Ue=Ae.random;function _e(A,P){if(A=A||"",P=P||{},A instanceof _e)return A;if(!(this instanceof _e))return new _e(A,P);var _=bt(A);this._originalInput=A,this._r=_.r,this._g=_.g,this._b=_.b,this._a=_.a,this._roundA=ae(100*this._a)/100,this._format=P.format||_.format,this._gradientType=P.gradientType,this._r<1&&(this._r=ae(this._r)),this._g<1&&(this._g=ae(this._g)),this._b<1&&(this._b=ae(this._b)),this._ok=_.ok,this._tc_id=F++}_e.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var A=this.toRgb();return(A.r*299+A.g*587+A.b*114)/1e3},getLuminance:function(){var A=this.toRgb(),P,_,K,ce,Ee,We;return P=A.r/255,_=A.g/255,K=A.b/255,P<=.03928?ce=P/12.92:ce=Ae.pow((P+.055)/1.055,2.4),_<=.03928?Ee=_/12.92:Ee=Ae.pow((_+.055)/1.055,2.4),K<=.03928?We=K/12.92:We=Ae.pow((K+.055)/1.055,2.4),.2126*ce+.7152*Ee+.0722*We},setAlpha:function(A){return this._a=T(A),this._roundA=ae(100*this._a)/100,this},toHsv:function(){var A=Ut(this._r,this._g,this._b);return{h:A.h*360,s:A.s,v:A.v,a:this._a}},toHsvString:function(){var A=Ut(this._r,this._g,this._b),P=ae(A.h*360),_=ae(A.s*100),K=ae(A.v*100);return this._a==1?"hsv("+P+", "+_+"%, "+K+"%)":"hsva("+P+", "+_+"%, "+K+"%, "+this._roundA+")"},toHsl:function(){var A=Ke(this._r,this._g,this._b);return{h:A.h*360,s:A.s,l:A.l,a:this._a}},toHslString:function(){var A=Ke(this._r,this._g,this._b),P=ae(A.h*360),_=ae(A.s*100),K=ae(A.l*100);return this._a==1?"hsl("+P+", "+_+"%, "+K+"%)":"hsla("+P+", "+_+"%, "+K+"%, "+this._roundA+")"},toHex:function(A){return An(this._r,this._g,this._b,A)},toHexString:function(A){return"#"+this.toHex(A)},toHex8:function(A){return Be(this._r,this._g,this._b,this._a,A)},toHex8String:function(A){return"#"+this.toHex8(A)},toRgb:function(){return{r:ae(this._r),g:ae(this._g),b:ae(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+ae(this._r)+", "+ae(this._g)+", "+ae(this._b)+")":"rgba("+ae(this._r)+", "+ae(this._g)+", "+ae(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:ae(O(this._r,255)*100)+"%",g:ae(O(this._g,255)*100)+"%",b:ae(O(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+ae(O(this._r,255)*100)+"%, "+ae(O(this._g,255)*100)+"%, "+ae(O(this._b,255)*100)+"%)":"rgba("+ae(O(this._r,255)*100)+"%, "+ae(O(this._g,255)*100)+"%, "+ae(O(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:V[An(this._r,this._g,this._b,!0)]||!1},toFilter:function(A){var P="#"+et(this._r,this._g,this._b,this._a),_=P,K=this._gradientType?"GradientType = 1, ":"";if(A){var ce=_e(A);_="#"+et(ce._r,ce._g,ce._b,ce._a)}return"progid:DXImageTransform.Microsoft.gradient("+K+"startColorstr="+P+",endColorstr="+_+")"},toString:function(A){var P=!!A;A=A||this._format;var _=!1,K=this._a<1&&this._a>=0,ce=!P&&K&&(A==="hex"||A==="hex6"||A==="hex3"||A==="hex4"||A==="hex8"||A==="name");return ce?A==="name"&&this._a===0?this.toName():this.toRgbString():(A==="rgb"&&(_=this.toRgbString()),A==="prgb"&&(_=this.toPercentageRgbString()),(A==="hex"||A==="hex6")&&(_=this.toHexString()),A==="hex3"&&(_=this.toHexString(!0)),A==="hex4"&&(_=this.toHex8String(!0)),A==="hex8"&&(_=this.toHex8String()),A==="name"&&(_=this.toName()),A==="hsl"&&(_=this.toHslString()),A==="hsv"&&(_=this.toHsvString()),_||this.toHexString())},clone:function(){return _e(this.toString())},_applyModification:function(A,P){var _=A.apply(null,[this].concat([].slice.call(P)));return this._r=_._r,this._g=_._g,this._b=_._b,this.setAlpha(_._a),this},lighten:function(){return this._applyModification(vt,arguments)},brighten:function(){return this._applyModification(Ot,arguments)},darken:function(){return this._applyModification(lt,arguments)},desaturate:function(){return this._applyModification(it,arguments)},saturate:function(){return this._applyModification(Fe,arguments)},greyscale:function(){return this._applyModification(je,arguments)},spin:function(){return this._applyModification(mt,arguments)},_applyCombination:function(A,P){return A.apply(null,[this].concat([].slice.call(P)))},analogous:function(){return this._applyCombination(Y,arguments)},complement:function(){return this._applyCombination(xe,arguments)},monochromatic:function(){return this._applyCombination(Se,arguments)},splitcomplement:function(){return this._applyCombination(Q,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(se,arguments)}},_e.fromRatio=function(A,P){if(typeof A=="object"){var _={};for(var K in A)A.hasOwnProperty(K)&&(K==="a"?_[K]=A[K]:_[K]=Te(A[K]));A=_}return _e(A,P)};function bt(A){var P={r:0,g:0,b:0},_=1,K=null,ce=null,Ee=null,We=!1,ut=!1;return typeof A=="string"&&(A=ee(A)),typeof A=="object"&&(Oe(A.r)&&Oe(A.g)&&Oe(A.b)?(P=Ft(A.r,A.g,A.b),We=!0,ut=String(A.r).substr(-1)==="%"?"prgb":"rgb"):Oe(A.h)&&Oe(A.s)&&Oe(A.v)?(K=Te(A.s),ce=Te(A.v),P=on(A.h,K,ce),We=!0,ut="hsv"):Oe(A.h)&&Oe(A.s)&&Oe(A.l)&&(K=Te(A.s),Ee=Te(A.l),P=wt(A.h,K,Ee),We=!0,ut="hsl"),A.hasOwnProperty("a")&&(_=A.a)),_=T(_),{ok:We,format:A.format||ut,r:Ze(255,Pe(P.r,0)),g:Ze(255,Pe(P.g,0)),b:Ze(255,Pe(P.b,0)),a:_}}function Ft(A,P,_){return{r:O(A,255)*255,g:O(P,255)*255,b:O(_,255)*255}}function Ke(A,P,_){A=O(A,255),P=O(P,255),_=O(_,255);var K=Pe(A,P,_),ce=Ze(A,P,_),Ee,We,ut=(K+ce)/2;if(K==ce)Ee=We=0;else{var gt=K-ce;We=ut>.5?gt/(2-K-ce):gt/(K+ce);switch(K){case A:Ee=(P-_)/gt+(P<_?6:0);break;case P:Ee=(_-A)/gt+2;break;case _:Ee=(A-P)/gt+4;break}Ee/=6}return{h:Ee,s:We,l:ut}}function wt(A,P,_){var K,ce,Ee;A=O(A,360),P=O(P,100),_=O(_,100);function We(tt,ct,nt){return nt<0&&(nt+=1),nt>1&&(nt-=1),nt<1/6?tt+(ct-tt)*6*nt:nt<1/2?ct:nt<2/3?tt+(ct-tt)*(2/3-nt)*6:tt}if(P===0)K=ce=Ee=_;else{var ut=_<.5?_*(1+P):_+P-_*P,gt=2*_-ut;K=We(gt,ut,A+1/3),ce=We(gt,ut,A),Ee=We(gt,ut,A-1/3)}return{r:K*255,g:ce*255,b:Ee*255}}function Ut(A,P,_){A=O(A,255),P=O(P,255),_=O(_,255);var K=Pe(A,P,_),ce=Ze(A,P,_),Ee,We,ut=K,gt=K-ce;if(We=K===0?0:gt/K,K==ce)Ee=0;else{switch(K){case A:Ee=(P-_)/gt+(P<_?6:0);break;case P:Ee=(_-A)/gt+2;break;case _:Ee=(A-P)/gt+4;break}Ee/=6}return{h:Ee,s:We,v:ut}}function on(A,P,_){A=O(A,360)*6,P=O(P,100),_=O(_,100);var K=Ae.floor(A),ce=A-K,Ee=_*(1-P),We=_*(1-ce*P),ut=_*(1-(1-ce)*P),gt=K%6,tt=[_,We,Ee,Ee,ut,_][gt],ct=[ut,_,_,We,Ee,Ee][gt],nt=[Ee,Ee,ut,_,_,We][gt];return{r:tt*255,g:ct*255,b:nt*255}}function An(A,P,_,K){var ce=[pe(ae(A).toString(16)),pe(ae(P).toString(16)),pe(ae(_).toString(16))];return K&&ce[0].charAt(0)==ce[0].charAt(1)&&ce[1].charAt(0)==ce[1].charAt(1)&&ce[2].charAt(0)==ce[2].charAt(1)?ce[0].charAt(0)+ce[1].charAt(0)+ce[2].charAt(0):ce.join("")}function Be(A,P,_,K,ce){var Ee=[pe(ae(A).toString(16)),pe(ae(P).toString(16)),pe(ae(_).toString(16)),pe($(K))];return ce&&Ee[0].charAt(0)==Ee[0].charAt(1)&&Ee[1].charAt(0)==Ee[1].charAt(1)&&Ee[2].charAt(0)==Ee[2].charAt(1)&&Ee[3].charAt(0)==Ee[3].charAt(1)?Ee[0].charAt(0)+Ee[1].charAt(0)+Ee[2].charAt(0)+Ee[3].charAt(0):Ee.join("")}function et(A,P,_,K){var ce=[pe($(K)),pe(ae(A).toString(16)),pe(ae(P).toString(16)),pe(ae(_).toString(16))];return ce.join("")}_e.equals=function(A,P){return!A||!P?!1:_e(A).toRgbString()==_e(P).toRgbString()},_e.random=function(){return _e.fromRatio({r:Ue(),g:Ue(),b:Ue()})};function it(A,P){P=P===0?0:P||10;var _=_e(A).toHsl();return _.s-=P/100,_.s=z(_.s),_e(_)}function Fe(A,P){P=P===0?0:P||10;var _=_e(A).toHsl();return _.s+=P/100,_.s=z(_.s),_e(_)}function je(A){return _e(A).desaturate(100)}function vt(A,P){P=P===0?0:P||10;var _=_e(A).toHsl();return _.l+=P/100,_.l=z(_.l),_e(_)}function Ot(A,P){P=P===0?0:P||10;var _=_e(A).toRgb();return _.r=Pe(0,Ze(255,_.r-ae(255*-(P/100)))),_.g=Pe(0,Ze(255,_.g-ae(255*-(P/100)))),_.b=Pe(0,Ze(255,_.b-ae(255*-(P/100)))),_e(_)}function lt(A,P){P=P===0?0:P||10;var _=_e(A).toHsl();return _.l-=P/100,_.l=z(_.l),_e(_)}function mt(A,P){var _=_e(A).toHsl(),K=(_.h+P)%360;return _.h=K<0?360+K:K,_e(_)}function xe(A){var P=_e(A).toHsl();return P.h=(P.h+180)%360,_e(P)}function M(A){var P=_e(A).toHsl(),_=P.h;return[_e(A),_e({h:(_+120)%360,s:P.s,l:P.l}),_e({h:(_+240)%360,s:P.s,l:P.l})]}function se(A){var P=_e(A).toHsl(),_=P.h;return[_e(A),_e({h:(_+90)%360,s:P.s,l:P.l}),_e({h:(_+180)%360,s:P.s,l:P.l}),_e({h:(_+270)%360,s:P.s,l:P.l})]}function Q(A){var P=_e(A).toHsl(),_=P.h;return[_e(A),_e({h:(_+72)%360,s:P.s,l:P.l}),_e({h:(_+216)%360,s:P.s,l:P.l})]}function Y(A,P,_){P=P||6,_=_||30;var K=_e(A).toHsl(),ce=360/_,Ee=[_e(A)];for(K.h=(K.h-(ce*P>>1)+720)%360;--P;)K.h=(K.h+ce)%360,Ee.push(_e(K));return Ee}function Se(A,P){P=P||6;for(var _=_e(A).toHsv(),K=_.h,ce=_.s,Ee=_.v,We=[],ut=1/P;P--;)We.push(_e({h:K,s:ce,v:Ee})),Ee=(Ee+ut)%1;return We}_e.mix=function(A,P,_){_=_===0?0:_||50;var K=_e(A).toRgb(),ce=_e(P).toRgb(),Ee=_/100,We={r:(ce.r-K.r)*Ee+K.r,g:(ce.g-K.g)*Ee+K.g,b:(ce.b-K.b)*Ee+K.b,a:(ce.a-K.a)*Ee+K.a};return _e(We)},_e.readability=function(A,P){var _=_e(A),K=_e(P);return(Ae.max(_.getLuminance(),K.getLuminance())+.05)/(Ae.min(_.getLuminance(),K.getLuminance())+.05)},_e.isReadable=function(A,P,_){var K=_e.readability(A,P),ce,Ee;Ee=!1,ce=Xe(_);switch(ce.level+ce.size){case"AAsmall":case"AAAlarge":Ee=K>=4.5;break;case"AAlarge":Ee=K>=3;break;case"AAAsmall":Ee=K>=7;break}return Ee},_e.mostReadable=function(A,P,_){var K=null,ce=0,Ee,We,ut,gt;_=_||{},We=_.includeFallbackColors,ut=_.level,gt=_.size;for(var tt=0;tt<P.length;tt++)Ee=_e.readability(A,P[tt]),Ee>ce&&(ce=Ee,K=_e(P[tt]));return _e.isReadable(A,K,{level:ut,size:gt})||!We?K:(_.includeFallbackColors=!1,_e.mostReadable(A,["#fff","#000"],_))};var q=_e.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},V=_e.hexNames=J(q);function J(A){var P={};for(var _ in A)A.hasOwnProperty(_)&&(P[A[_]]=_);return P}function T(A){return A=parseFloat(A),(isNaN(A)||A<0||A>1)&&(A=1),A}function O(A,P){H(A)&&(A="100%");var _=te(A);return A=Ze(P,Pe(0,parseFloat(A))),_&&(A=parseInt(A*P,10)/100),Ae.abs(A-P)<1e-6?1:A%P/parseFloat(P)}function z(A){return Ze(1,Pe(0,A))}function j(A){return parseInt(A,16)}function H(A){return typeof A=="string"&&A.indexOf(".")!=-1&&parseFloat(A)===1}function te(A){return typeof A=="string"&&A.indexOf("%")!=-1}function pe(A){return A.length==1?"0"+A:""+A}function Te(A){return A<=1&&(A=A*100+"%"),A}function $(A){return Ae.round(parseFloat(A)*255).toString(16)}function ge(A){return j(A)/255}var be=function(){var A="[-\\+]?\\d+%?",P="[-\\+]?\\d*\\.\\d+%?",_="(?:"+P+")|(?:"+A+")",K="[\\s|\\(]+("+_+")[,|\\s]+("+_+")[,|\\s]+("+_+")\\s*\\)?",ce="[\\s|\\(]+("+_+")[,|\\s]+("+_+")[,|\\s]+("+_+")[,|\\s]+("+_+")\\s*\\)?";return{CSS_UNIT:new RegExp(_),rgb:new RegExp("rgb"+K),rgba:new RegExp("rgba"+ce),hsl:new RegExp("hsl"+K),hsla:new RegExp("hsla"+ce),hsv:new RegExp("hsv"+K),hsva:new RegExp("hsva"+ce),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Oe(A){return!!be.CSS_UNIT.exec(A)}function ee(A){A=A.replace(Gt,"").replace(xt,"").toLowerCase();var P=!1;if(q[A])A=q[A],P=!0;else if(A=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var _;return(_=be.rgb.exec(A))?{r:_[1],g:_[2],b:_[3]}:(_=be.rgba.exec(A))?{r:_[1],g:_[2],b:_[3],a:_[4]}:(_=be.hsl.exec(A))?{h:_[1],s:_[2],l:_[3]}:(_=be.hsla.exec(A))?{h:_[1],s:_[2],l:_[3],a:_[4]}:(_=be.hsv.exec(A))?{h:_[1],s:_[2],v:_[3]}:(_=be.hsva.exec(A))?{h:_[1],s:_[2],v:_[3],a:_[4]}:(_=be.hex8.exec(A))?{r:j(_[1]),g:j(_[2]),b:j(_[3]),a:ge(_[4]),format:P?"name":"hex8"}:(_=be.hex6.exec(A))?{r:j(_[1]),g:j(_[2]),b:j(_[3]),format:P?"name":"hex"}:(_=be.hex4.exec(A))?{r:j(_[1]+""+_[1]),g:j(_[2]+""+_[2]),b:j(_[3]+""+_[3]),a:ge(_[4]+""+_[4]),format:P?"name":"hex8"}:(_=be.hex3.exec(A))?{r:j(_[1]+""+_[1]),g:j(_[2]+""+_[2]),b:j(_[3]+""+_[3]),format:P?"name":"hex"}:!1}function Xe(A){var P,_;return A=A||{level:"AA",size:"small"},P=(A.level||"AA").toUpperCase(),_=(A.size||"small").toLowerCase(),P!=="AA"&&P!=="AAA"&&(P="AA"),_!=="small"&&_!=="large"&&(_="small"),{level:P,size:_}}Je.exports?Je.exports=_e:!(qe=function(){return _e}.call(Ge,D,Ge,Je),qe!==void 0&&(Je.exports=qe))})(Math)},bT9E:function(Je,Ge,D){"use strict";D.d(Ge,"a",function(){return Ae});var qe=D("VTBJ");function Ae(Gt,xt){var F=Object(qe.a)({},Gt);return Array.isArray(xt)&&xt.forEach(function(ae){delete F[ae]}),F}},cFMs:function(Je,Ge){Je.exports="data:image/png;base64,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"},cLbz:function(Je,Ge,D){Je.exports=D.p+"static/add_icon_light.3e1b4fba.svg"},cz0n:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___G8W6i",flex_space_between:"flex_space_between___1p_ZB",flex_box_vertical_center:"flex_box_vertical_center___2wivF",flex_box_center_end:"flex_box_center_end___y5a20",flex_box_column:"flex_box_column___6oXp3",tabs:"tabs___sKski",active:"active___10xGM"}},"f0W+":function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___2AWuG",flex_space_between:"flex_space_between___4j1zo",flex_box_vertical_center:"flex_box_vertical_center___3dWcm",flex_box_center_end:"flex_box_center_end___qvHJi",flex_box_column:"flex_box_column___3Eier",tabs:"tabs___25WKT",tabsWrap:"tabsWrap___2lPJE",active:"active___gGp9s"}},f9pc:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___fO1Sq",flex_space_between:"flex_space_between___2MANs",flex_box_vertical_center:"flex_box_vertical_center___2x-su",flex_box_center_end:"flex_box_center_end___6bZNq",flex_box_column:"flex_box_column___CGTHC",quickPager:"quickPager___2XH6F",disabled:"disabled___2gPWV"}},fgAr:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___3W32R",flex_space_between:"flex_space_between___2uUoZ",flex_box_vertical_center:"flex_box_vertical_center___3Oxpz",flex_box_center_end:"flex_box_center_end___2tkyR",flex_box_column:"flex_box_column___2IFiF",btns:"btns___1c8D8",confirm:"confirm___2gIuB",cancel:"cancel___1ssuo"}},h78n:function(Je,Ge,D){"use strict";D.d(Ge,"a",function(){return Se});var qe=D("q1tI"),Ae=D.n(qe),Gt=D("TSYQ"),xt=D.n(Gt),F={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ae=function(J){var T=J.map(function(){return Object(qe.useRef)()}),O=Object(qe.useRef)();return Object(qe.useEffect)(function(){var z=Date.now(),j=!1;Object.keys(T).forEach(function(H){var te=T[H].current;if(!te)return;j=!0;var pe=te.style;pe.transitionDuration=".3s, .3s, .3s, .06s",O.current&&z-O.current<100&&(pe.transitionDuration="0s, 0s")}),j&&(O.current=Date.now())}),[T]};function Ze(){return Ze=Object.assign||function(V){for(var J=1;J<arguments.length;J++){var T=arguments[J];for(var O in T)Object.prototype.hasOwnProperty.call(T,O)&&(V[O]=T[O])}return V},Ze.apply(this,arguments)}function Pe(V,J){return Ke(V)||Ft(V,J)||_e(V,J)||Ue()}function Ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _e(V,J){if(!V)return;if(typeof V=="string")return bt(V,J);var T=Object.prototype.toString.call(V).slice(8,-1);if(T==="Object"&&V.constructor&&(T=V.constructor.name),T==="Map"||T==="Set")return Array.from(V);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return bt(V,J)}function bt(V,J){(J==null||J>V.length)&&(J=V.length);for(var T=0,O=new Array(J);T<J;T++)O[T]=V[T];return O}function Ft(V,J){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(V)))return;var T=[],O=!0,z=!1,j=void 0;try{for(var H=V[Symbol.iterator](),te;!(O=(te=H.next()).done)&&!(T.push(te.value),J&&T.length===J);O=!0);}catch(pe){z=!0,j=pe}finally{try{!O&&H.return!=null&&H.return()}finally{if(z)throw j}}return T}function Ke(V){if(Array.isArray(V))return V}function wt(V,J){if(V==null)return{};var T=Ut(V,J),O,z;if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(V);for(z=0;z<j.length;z++){if(O=j[z],J.indexOf(O)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(V,O))continue;T[O]=V[O]}}return T}function Ut(V,J){if(V==null)return{};var T={},O=Object.keys(V),z,j;for(j=0;j<O.length;j++){if(z=O[j],J.indexOf(z)>=0)continue;T[z]=V[z]}return T}var on=function(J){var T=J.className,O=J.percent,z=J.prefixCls,j=J.strokeColor,H=J.strokeLinecap,te=J.strokeWidth,pe=J.style,Te=J.trailColor,$=J.trailWidth,ge=J.transition,be=wt(J,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete be.gapPosition;var Oe=Array.isArray(O)?O:[O],ee=Array.isArray(j)?j:[j],Xe=ae(Oe),A=Pe(Xe,1),P=A[0],_=te/2,K=100-te/2,ce="M ".concat(H==="round"?_:0,",").concat(_,`
L `).concat(H==="round"?K:100,",").concat(_),Ee="0 0 100 ".concat(te),We=0;return Ae.a.createElement("svg",Ze({className:xt()("".concat(z,"-line"),T),viewBox:Ee,preserveAspectRatio:"none",style:pe},be),Ae.a.createElement("path",{className:"".concat(z,"-line-trail"),d:ce,strokeLinecap:H,stroke:Te,strokeWidth:$||te,fillOpacity:"0"}),Oe.map(function(ut,gt){var tt={strokeDasharray:"".concat(ut,"px, 100px"),strokeDashoffset:"-".concat(We,"px"),transition:ge||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ct=ee[gt]||ee[ee.length-1];return We+=ut,Ae.a.createElement("path",{key:gt,className:"".concat(z,"-line-path"),d:ce,strokeLinecap:H,stroke:ct,strokeWidth:te,fillOpacity:"0",ref:P[gt],style:tt})}))};on.defaultProps=F;var An=on;function Be(){return Be=Object.assign||function(V){for(var J=1;J<arguments.length;J++){var T=arguments[J];for(var O in T)Object.prototype.hasOwnProperty.call(T,O)&&(V[O]=T[O])}return V},Be.apply(this,arguments)}function et(V,J){return Ot(V)||vt(V,J)||Fe(V,J)||it()}function it(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fe(V,J){if(!V)return;if(typeof V=="string")return je(V,J);var T=Object.prototype.toString.call(V).slice(8,-1);if(T==="Object"&&V.constructor&&(T=V.constructor.name),T==="Map"||T==="Set")return Array.from(V);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return je(V,J)}function je(V,J){(J==null||J>V.length)&&(J=V.length);for(var T=0,O=new Array(J);T<J;T++)O[T]=V[T];return O}function vt(V,J){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(V)))return;var T=[],O=!0,z=!1,j=void 0;try{for(var H=V[Symbol.iterator](),te;!(O=(te=H.next()).done)&&!(T.push(te.value),J&&T.length===J);O=!0);}catch(pe){z=!0,j=pe}finally{try{!O&&H.return!=null&&H.return()}finally{if(z)throw j}}return T}function Ot(V){if(Array.isArray(V))return V}function lt(V,J){if(V==null)return{};var T=mt(V,J),O,z;if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(V);for(z=0;z<j.length;z++){if(O=j[z],J.indexOf(O)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(V,O))continue;T[O]=V[O]}}return T}function mt(V,J){if(V==null)return{};var T={},O=Object.keys(V),z,j;for(j=0;j<O.length;j++){if(z=O[j],J.indexOf(z)>=0)continue;T[z]=V[z]}return T}var xe=0;function M(V){return+V.replace("%","")}function se(V){return Array.isArray(V)?V:[V]}function Q(V,J,T,O){var z=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,j=arguments.length>5?arguments[5]:void 0,H=50-O/2,te=0,pe=-H,Te=0,$=-2*H;switch(j){case"left":te=-H,pe=0,Te=2*H,$=0;break;case"right":te=H,pe=0,Te=-2*H,$=0;break;case"bottom":pe=H,$=2*H;break;default:}var ge="M 50,50 m ".concat(te,",").concat(pe,`
a `).concat(H,",").concat(H," 0 1 1 ").concat(Te,",").concat(-$,`
a `).concat(H,",").concat(H," 0 1 1 ").concat(-Te,",").concat($),be=Math.PI*2*H,Oe={stroke:T,strokeDasharray:"".concat(J/100*(be-z),"px ").concat(be,"px"),strokeDashoffset:"-".concat(z/2+V/100*(be-z),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:ge,pathStyle:Oe}}var Y=function(J){var T=J.prefixCls,O=J.strokeWidth,z=J.trailWidth,j=J.gapDegree,H=J.gapPosition,te=J.trailColor,pe=J.strokeLinecap,Te=J.style,$=J.className,ge=J.strokeColor,be=J.percent,Oe=lt(J,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),ee=Object(qe.useMemo)(function(){return xe+=1,xe},[]),Xe=Q(0,100,te,O,j,H),A=Xe.pathString,P=Xe.pathStyle,_=se(be),K=se(ge),ce=K.find(function(tt){return Object.prototype.toString.call(tt)==="[object Object]"}),Ee=ae(_),We=et(Ee,1),ut=We[0],gt=function(){var ct=0;return _.map(function(nt,Sn){var Bn=K[Sn]||K[K.length-1],Hn=Object.prototype.toString.call(Bn)==="[object Object]"?"url(#".concat(T,"-gradient-").concat(ee,")"):"",rr=Q(ct,nt,Bn,O,j,H);return ct+=nt,Ae.a.createElement("path",{key:Sn,className:"".concat(T,"-circle-path"),d:rr.pathString,stroke:Hn,strokeLinecap:pe,strokeWidth:O,opacity:nt===0?0:1,fillOpacity:"0",style:rr.pathStyle,ref:ut[Sn]})})};return Ae.a.createElement("svg",Be({className:xt()("".concat(T,"-circle"),$),viewBox:"0 0 100 100",style:Te},Oe),ce&&Ae.a.createElement("defs",null,Ae.a.createElement("linearGradient",{id:"".concat(T,"-gradient-").concat(ee),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(ce).sort(function(tt,ct){return M(tt)-M(ct)}).map(function(tt,ct){return Ae.a.createElement("stop",{key:ct,offset:tt,stopColor:ce[tt]})}))),Ae.a.createElement("path",{className:"".concat(T,"-circle-trail"),d:A,stroke:te,strokeLinecap:pe,strokeWidth:z||O,fillOpacity:"0",style:P}),gt().reverse())};Y.defaultProps=F;var Se=Y,q={Line:An,Circle:Se}},"iL++":function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___2pHUo",flex_space_between:"flex_space_between___3Bfes",flex_box_vertical_center:"flex_box_vertical_center___1thiW",flex_box_center_end:"flex_box_center_end___3Zr7k",flex_box_column:"flex_box_column___3xe1a",list:"list___3rlGv",wrap:"wrap____oZzM",lockWrap:"lockWrap___24eY2",top:"top___3SCOc",sign:"sign____uZ_B",name:"name___2nHyM",img:"img___3Spn7",text:"text___1Pg2L",btns:"btns___Kr_Ti",bottom:"bottom___2_iOx"}},iLsG:function(Je,Ge,D){Je.exports=D.p+"static/add_icon.9bbccafa.svg"},phzI:function(Je,Ge,D){"use strict";var qe=D("k1fw"),Ae=D("9og8"),Gt=D("tJVT"),xt=D("WmNS"),F=D.n(xt),ae=D("q1tI"),Ze=D.n(ae),Pe=D("yyNy");/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Ue=function(){return Ue=Object.assign||function(Be){for(var et,it=1,Fe=arguments.length;it<Fe;it++)for(var je in et=arguments[it])Object.prototype.hasOwnProperty.call(et,je)&&(Be[je]=et[je]);return Be},Ue.apply(this,arguments)};function _e(Be,et){var it=typeof Symbol=="function"&&Be[Symbol.iterator];if(!it)return Be;var Fe,je,vt=it.call(Be),Ot=[];try{for(;(et===void 0||et-- >0)&&!(Fe=vt.next()).done;)Ot.push(Fe.value)}catch(lt){je={error:lt}}finally{try{Fe&&!Fe.done&&(it=vt.return)&&it.call(vt)}finally{if(je)throw je.error}}return Ot}function bt(Be){var et=Be.defaultContent,it=et===void 0?[]:et,Fe=Be.onCreated,je=Be.defaultHtml,vt=je===void 0?"":je,Ot=Be.value,lt=Ot===void 0?"":Ot,mt=Be.onChange,xe=Be.defaultConfig,M=xe===void 0?{}:xe,se=Be.mode,Q=se===void 0?"default":se,Y=Be.style,Se=Y===void 0?{}:Y,q=Be.className,V=Object(ae.useRef)(null),J=_e(Object(ae.useState)(null),2),T=J[0],O=J[1],z=_e(Object(ae.useState)(""),2),j=z[0],H=z[1],te=function($){Fe&&Fe($);var ge=M.onCreated;ge&&ge($)},pe=function($){H($.getHtml()),mt&&mt($);var ge=M.onChange;ge&&ge($)},Te=function($){var ge=M.onDestroyed;O(null),ge&&ge($)};return Object(ae.useEffect)(function(){if(T!=null&&lt!==j)try{T.setHtml(lt)}catch($){console.error($)}},[lt]),Object(ae.useEffect)(function(){var $;if(V.current!=null&&T==null&&!(($=V.current)===null||$===void 0?void 0:$.getAttribute("data-w-e-textarea"))){var ge=Object(Pe.a)({selector:V.current,config:Ue(Ue({},M),{onCreated:te,onChange:pe,onDestroyed:Te}),content:it,html:vt||lt,mode:Q});O(ge)}},[T]),Ze.a.createElement("div",{style:Se,ref:V,className:q})}function Ft(Be){var et=Be.editor,it=Be.defaultConfig,Fe=it===void 0?{}:it,je=Be.mode,vt=je===void 0?"default":je,Ot=Be.style,lt=Ot===void 0?{}:Ot,mt=Be.className,xe=Object(ae.useRef)(null);return Object(ae.useEffect)(function(){xe.current!=null&&et!=null&&Pe.b({editor:et,selector:xe.current,config:Fe,mode:vt})},[et]),Ze.a.createElement("div",{style:lt,ref:xe,className:mt})}var Ke=D("ErOA"),wt=D("9kvl"),Ut=D("Vg4E"),on=function(et){var it=et.defaultvalue,Fe=et.onChange,je=et.style,vt=et.user,Ot=et.placeholder,lt=1024*1024*2,mt=Object(ae.useRef)(null),xe=4,M=Object(ae.useState)(null),se=Object(Gt.a)(M,2),Q=se[0],Y=se[1],Se=Object(ae.useState)(""),q=Object(Gt.a)(Se,2),V=q[0],J=q[1];Object(ae.useEffect)(function(){J(it)},[it]),Object(ae.useEffect)(function(){Fe(V)},[V]);var T={},O={placeholder:Ot||"\u8BF7\u8F93\u5165\u5185\u5BB9...",MENU_CONF:{}};return O.MENU_CONF.uploadImage={customUpload:function(j,H){return Object(Ae.a)(F.a.mark(function te(){var pe,Te;return F.a.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return pe=new FormData,pe.append("file",j),ge.next=4,Object(Ke.a)("/api/attachments.json",{method:"post",body:pe},!0);case 4:Te=ge.sent,H(Te==null?void 0:Te.url,"","");case 6:case"end":return ge.stop()}},te)}))()}},O.MENU_CONF.uploadVideo={customUpload:function(j,H){return Object(Ae.a)(F.a.mark(function te(){var pe,Te,$,ge,be,Oe,ee,Xe,A,P,_,K,ce,Ee,We,ut;return F.a.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return pe=j.size,Te=Math.ceil(pe/lt),tt.prev=2,tt.next=5,Object(Ke.a)("/api/attachments/multipart_upload_start",{method:"POST",body:{fileName:j.name,chunkCount:Te,user_id:vt==null||(($=vt.userInfo)===null||$===void 0)?void 0:$.user_id}});case 5:if(be=tt.sent,!((be==null?void 0:be.status)!==0)){tt.next=8;break}throw new Error;case 8:for(Oe=be.upload_id,mt.current=new AbortController,ee=[],Xe=0,A=function(nt){var Sn=nt*lt,Bn=Math.min(Sn+lt,pe),Hn=j.slice(Sn,Bn),rr=new FormData;rr.append("chunk",Hn),rr.append("fileName",j.name),rr.append("chunkIndex",(nt+1).toString()),rr.append("uploadId",Oe),ee.push(function(){return Object(Ke.a)("/api/attachments/multipart_upload",{method:"POST",body:rr,signal:mt.current.signal},!0).then(function(St){})})},P=0;P<Te;P++)A(P);_=0,K=xe,console.log(ee,"promises");case 17:if(!(_<ee.length)){tt.next=26;break}if(Ee=(ce=ee.slice(_,_+K))===null||ce===void 0?void 0:ce.map(function(ct){return ct()}),!(Ee.length>0)){tt.next=24;break}return tt.next=22,Promise.all(Ee);case 22:We=tt.sent,_+=K;case 24:tt.next=17;break;case 26:return tt.next=28,Object(Ke.a)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:j.name,chunkCount:Te,uploadId:Oe,user_id:vt==null||((ge=vt.userInfo)===null||ge===void 0)?void 0:ge.user_id}});case 28:ut=tt.sent,H(ut==null?void 0:ut.object,""),tt.next=34;break;case 32:tt.prev=32,tt.t0=tt.catch(2);case 34:case"end":return tt.stop()}},te,null,[[2,32]])}))()}},Object(ae.useEffect)(function(){return function(){if(Q==null)return;Q.destroy(),Y(null),Fe(null)}},[Q]),Ze.a.createElement(Ze.a.Fragment,null,Ze.a.createElement("div",{style:{border:"1px solid #ccc",zIndex:100}},Ze.a.createElement(Ft,{editor:Q,defaultConfig:T,mode:"default",style:{borderBottom:"1px solid #ccc"}}),Ze.a.createElement(bt,{defaultConfig:O,value:V,onCreated:Y,onChange:function(j){return J(j.getHtml())},mode:"default",style:Object(qe.a)({height:"500px",overflowY:"hidden"},je)})))},An=Ge.a=Object(wt.a)(function(Be){var et=Be.user;return{user:et}})(on)},siWv:function(Je,Ge,D){Je.exports={flex_box_center:"flex_box_center___3IH6S",flex_space_between:"flex_space_between___3AU-S",flex_box_vertical_center:"flex_box_vertical_center___1ykIO",flex_box_center_end:"flex_box_center_end___1aIQB",flex_box_column:"flex_box_column___2A_ra",btn:"btn___23gjd","mediacy-round":"mediacy-round___3vc8E","mediacy-default":"mediacy-default___2zIGi",default:"default___20Yio"}},xiVL:function(Je,Ge){Je.exports="data:image/png;base64,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"},yyNy:function(Je,Ge,D){"use strict";(function(qe){D.d(Ge,"a",function(){return Mye}),D.d(Ge,"b",function(){return Iye});var Ae=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function Gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xt(e){var t={exports:{}};return e(t,t.exports),t.exports}var F,ae,Ze=function(e){return e&&e.Math==Math&&e},Pe=Ze(typeof globalThis=="object"&&globalThis)||Ze(typeof window=="object"&&window)||Ze(typeof self=="object"&&self)||Ze(typeof Ae=="object"&&Ae)||function(){return this}()||Function("return this")(),Ue=Function.prototype,_e=Ue.apply,bt=Ue.bind,Ft=Ue.call,Ke=typeof Reflect=="object"&&Reflect.apply||(bt?Ft.bind(_e):function(){return Ft.apply(_e,arguments)}),wt=Function.prototype,Ut=wt.bind,on=wt.call,An=Ut&&Ut.bind(on),Be=Ut?function(e){return e&&An(on,e)}:function(e){return e&&function(){return on.apply(e,arguments)}},et=function(e){return typeof e=="function"},it=function(e){try{return!!e()}catch(t){return!0}},Fe=!it(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),je=Function.prototype.call,vt=je.bind?je.bind(je):function(){return je.apply(je,arguments)},Ot={}.propertyIsEnumerable,lt=Object.getOwnPropertyDescriptor,mt=lt&&!Ot.call({1:2},1)?function(e){var t=lt(this,e);return!!t&&t.enumerable}:Ot,xe={f:mt},M=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},se=Be({}.toString),Q=Be("".slice),Y=function(e){return Q(se(e),8,-1)},Se=Pe.Object,q=Be("".split),V=it(function(){return!Se("z").propertyIsEnumerable(0)})?function(e){return Y(e)=="String"?q(e,""):Se(e)}:Se,J=Pe.TypeError,T=function(e){if(e==null)throw J("Can't call method on "+e);return e},O=function(e){return V(T(e))},z=function(e){return typeof e=="object"?e!==null:et(e)},j={},H=function(e){return et(e)?e:void 0},te=function(e,t){return arguments.length<2?H(j[e])||H(Pe[e]):j[e]&&j[e][t]||Pe[e]&&Pe[e][t]},pe=Be({}.isPrototypeOf),Te=te("navigator","userAgent")||"",$=Pe.process,ge=Pe.Deno,be=$&&$.versions||ge&&ge.version,Oe=be&&be.v8;Oe&&(ae=(F=Oe.split("."))[0]>0&&F[0]<4?1:+(F[0]+F[1])),!ae&&Te&&(!(F=Te.match(/Edge\/(\d+)/))||F[1]>=74)&&(F=Te.match(/Chrome\/(\d+)/))&&(ae=+F[1]);var ee,Xe=ae,A=!!Object.getOwnPropertySymbols&&!it(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Xe&&Xe<41}),P=A&&!Symbol.sham&&typeof Symbol.iterator=="symbol",_=Pe.Object,K=P?function(e){return typeof e=="symbol"}:function(e){var t=te("Symbol");return et(t)&&pe(t.prototype,_(e))},ce=Pe.String,Ee=function(e){try{return ce(e)}catch(t){return"Object"}},We=Pe.TypeError,ut=function(e){if(et(e))return e;throw We(Ee(e)+" is not a function")},gt=function(e,t){var n=e[t];return n==null?void 0:ut(n)},tt=Pe.TypeError,ct=Object.defineProperty,nt=Pe["__core-js_shared__"]||function(e,t){try{ct(Pe,e,{value:t,configurable:!0,writable:!0})}catch(n){Pe[e]=t}return t}("__core-js_shared__",{}),Sn=xt(function(e){(e.exports=function(t,n){return nt[t]||(nt[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Bn=Pe.Object,Hn=function(e){return Bn(T(e))},rr=Be({}.hasOwnProperty),St=Object.hasOwn||function(e,t){return rr(Hn(e),t)},Io=0,qr=Math.random(),hi=Be(1 .toString),Hr=function(e){return"Symbol("+(e===void 0?"":e)+")_"+hi(++Io+qr,36)},$r=Sn("wks"),_r=Pe.Symbol,Fn=_r&&_r.for,Jt=P?_r:_r&&_r.withoutSetter||Hr,Et=function(e){if(!St($r,e)||!A&&typeof $r[e]!="string"){var t="Symbol."+e;A&&St(_r,e)?$r[e]=_r[e]:$r[e]=P&&Fn?Fn(t):Jt(t)}return $r[e]},yn=Pe.TypeError,cr=Et("toPrimitive"),_n=function(e,t){if(!z(e)||K(e))return e;var n,r=gt(e,cr);if(r){if(t===void 0&&(t="default"),n=vt(r,e,t),!z(n)||K(n))return n;throw yn("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,u;if(i==="string"&&et(a=o.toString)&&!z(u=vt(a,o)))return u;if(et(a=o.valueOf)&&!z(u=vt(a,o)))return u;if(i!=="string"&&et(a=o.toString)&&!z(u=vt(a,o)))return u;throw tt("Can't convert object to primitive value")}(e,t)},Vr=function(e){var t=_n(e,"string");return K(t)?t:t+""},yo=Pe.document,Qo=z(yo)&&z(yo.createElement),ia=function(e){return Qo?yo.createElement(e):{}},ka=!Fe&&!it(function(){return Object.defineProperty(ia("div"),"a",{get:function(){return 7}}).a!=7}),du=Object.getOwnPropertyDescriptor,Us=Fe?du:function(e,t){if(e=O(e),t=Vr(t),ka)try{return du(e,t)}catch(n){}if(St(e,t))return M(!vt(xe.f,e,t),e[t])},No={f:Us},pu=/#|\.prototype\./,bo=function(e,t){var n=bn[gi(e)];return n==Wr||n!=fr&&(et(t)?it(t):!!t)},gi=bo.normalize=function(e){return String(e).replace(pu,".").toLowerCase()},bn=bo.data={},fr=bo.NATIVE="N",Wr=bo.POLYFILL="P",En=bo,Uo=Be(Be.bind),lo=function(e,t){return ut(e),t===void 0?e:Uo?Uo(e,t):function(){return e.apply(t,arguments)}},Kn=Pe.String,md=Pe.TypeError,co=function(e){if(z(e))return e;throw md(Kn(e)+" is not an object")},Tr=Pe.TypeError,ve=Object.defineProperty,Nt=Fe?ve:function(e,t,n){if(co(e),t=Vr(t),co(n),ka)try{return ve(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Tr("Accessors not supported");return"value"in n&&(e[t]=n.value),e},At={f:Nt},Dt=Fe?function(e,t,n){return At.f(e,t,M(1,n))}:function(e,t,n){return e[t]=n,e},an=No.f,nn=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return Ke(e,this,arguments)};return t.prototype=e.prototype,t},zt=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,p=e.stat,d=e.proto,y=f?Pe:p?Pe[c]:(Pe[c]||{}).prototype,g=f?j:j[c]||Dt(j,c,{})[c],v=g.prototype;for(o in t)n=!En(f?o:c+(p?".":"#")+o,e.forced)&&y&&St(y,o),a=g[o],n&&(u=e.noTargetGet?(l=an(y,o))&&l.value:y[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?lo(i,Pe):e.wrap&&n?nn(i):d&&et(i)?Be(i):i,(e.sham||i&&i.sham||a&&a.sham)&&Dt(s,"sham",!0),Dt(g,o,s),d&&(St(j,r=c+"Prototype")||Dt(j,r,{}),Dt(j[r],o,i),e.real&&v&&!v[o]&&Dt(v,o,i)))},Cn=Sn("keys"),In=function(e){return Cn[e]||(Cn[e]=Hr(e))},ln=!it(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Zn=In("IE_PROTO"),kn=Pe.Object,Pr=kn.prototype,Qn=ln?kn.getPrototypeOf:function(e){var t=Hn(e);if(St(t,Zn))return t[Zn];var n=t.constructor;return et(n)&&t instanceof n?n.prototype:t instanceof kn?Pr:null},Gr=Pe.String,Eo=Pe.TypeError,$e=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Be(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,o){return co(r),function(i){if(typeof i=="object"||et(i))return i;throw Eo("Can't set "+Gr(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),or=Math.ceil,vr=Math.floor,Co=function(e){var t=+e;return t!=t||t===0?0:(t>0?vr:or)(t)},qn=Math.max,$n=Math.min,eo=function(e,t){var n=Co(e);return n<0?qn(n+t,0):$n(n,t)},fo=Math.min,un=function(e){return(t=e.length)>0?fo(Co(t),9007199254740991):0;var t},aa=function(e){return function(t,n,r){var o,i=O(t),a=un(i),u=eo(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},mb={includes:aa(!0),indexOf:aa(!1)},yd={},qz=mb.indexOf,O5=Be([].push),_5=function(e,t){var n,r=O(e),o=0,i=[];for(n in r)!St(yd,n)&&St(r,n)&&O5(i,n);for(;t.length>o;)St(r,n=t[o++])&&(~qz(i,n)||O5(i,n));return i},u0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$z=u0.concat("length","prototype"),eH=Object.getOwnPropertyNames||function(e){return _5(e,$z)},yb={f:eH},s0={f:Object.getOwnPropertySymbols},tH=Be([].concat),nH=te("Reflect","ownKeys")||function(e){var t=yb.f(co(e)),n=s0.f;return n?tH(t,n(e)):t},bb=Object.keys||function(e){return _5(e,u0)},rH=Fe?Object.defineProperties:function(e,t){co(e);for(var n,r=O(t),o=bb(t),i=o.length,a=0;i>a;)At.f(e,n=o[a++],r[n]);return e},oH=te("document","documentElement"),T5=In("IE_PROTO"),Eb=function(){},P5=function(e){return"<script>"+e+"</script>"},R5=function(e){e.write(P5("")),e.close();var t=e.parentWindow.Object;return e=null,t},l0=function(){try{ee=new ActiveXObject("htmlfile")}catch(r){}var e,t;l0=typeof document!="undefined"?document.domain&&ee?R5(ee):((t=ia("iframe")).style.display="none",oH.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(P5("document.F=Object")),e.close(),e.F):R5(ee);for(var n=u0.length;n--;)delete l0.prototype[u0[n]];return l0()};yd[T5]=!0;var La=Object.create||function(e,t){var n;return e!==null?(Eb.prototype=co(e),n=new Eb,Eb.prototype=null,n[T5]=e):n=l0(),t===void 0?n:rH(n,t)},Cb=function(e,t,n){var r=Vr(t);r in e?At.f(e,r,M(0,n)):e[r]=n},iH=Pe.Array,aH=Math.max,j5=function(e,t,n){for(var r=un(e),o=eo(t,r),i=eo(n===void 0?r:n,r),a=iH(aH(i-o,0)),u=0;o<i;o++,u++)Cb(a,u,e[o]);return a.length=u,a},uH=Be("".replace),sH=Be("".split),lH=Be([].join),wb=String(Error("zxcasd").stack),N5=/\n\s*at [^:]*:[^\n]*/,cH=N5.test(wb),fH=/@[^\n]*\n/.test(wb)&&!/zxcasd/.test(wb),dH=function(e,t){if(typeof e!="string")return e;if(cH)for(;t--;)e=uH(e,N5,"");else if(fH)return lH(j5(sH(e,`
`),t),`
`);return e},pH=function(e,t){z(t)&&"cause"in t&&Dt(e,"cause",t.cause)},Ma={},hH=Et("iterator"),gH=Array.prototype,B5={};B5[Et("toStringTag")]="z";var xb=String(B5)==="[object z]",vH=Et("toStringTag"),mH=Pe.Object,yH=Y(function(){return arguments}())=="Arguments",bd=xb?Y:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=mH(e),vH))=="string"?n:yH?Y(t):(r=Y(t))=="Object"&&et(t.callee)?"Arguments":r},bH=Et("iterator"),F5=function(e){if(e!=null)return gt(e,bH)||gt(e,"@@iterator")||Ma[bd(e)]},EH=Pe.TypeError,k5=function(e,t,n){var r,o;co(e);try{if(!(r=gt(e,"return"))){if(t==="throw")throw n;return n}r=vt(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return co(r),n},CH=Pe.TypeError,c0=function(e,t){this.stopped=e,this.result=t},L5=c0.prototype,wH=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),y=lo(t,c),g=function(m){return r&&k5(r,"normal",m),new c0(!0,m)},v=function(m){return f?(co(m),d?y(m[0],m[1],g):y(m[0],m[1])):d?y(m,g):y(m)};if(p)r=e;else{if(!(o=F5(e)))throw CH(Ee(e)+" is not iterable");if(function(m){return m!==void 0&&(Ma.Array===m||gH[hH]===m)}(o)){for(i=0,a=un(e);a>i;i++)if((u=v(e[i]))&&pe(L5,u))return u;return new c0(!1)}r=function(m,h){var b=arguments.length<2?F5(m):h;if(ut(b))return co(vt(b,m));throw EH(Ee(m)+" is not iterable")}(e,o)}for(s=r.next;!(l=vt(s,r)).done;){try{u=v(l.value)}catch(m){k5(r,"throw",m)}if(typeof u=="object"&&u&&pe(L5,u))return u}return new c0(!1)},xH=Pe.String,Ed=function(e){if(bd(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return xH(e)},AH=function(e,t){return e===void 0?arguments.length<2?"":t:Ed(e)},SH=!it(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",M(1,7)),e.stack!==7)}),DH=Et("toStringTag"),f0=Pe.Error,OH=[].push,Cd=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=pe(Ab,this);$e?n=$e(new f0(void 0),o?Qn(this):Ab):(n=o?this:La(Ab),Dt(n,DH,"Error")),Dt(n,"message",AH(t,"")),SH&&Dt(n,"stack",dH(n.stack,1)),pH(n,r);var i=[];return wH(e,OH,{that:i}),Dt(n,"errors",i),n};$e?$e(Cd,f0):function(e,t){for(var n=nH(t),r=At.f,o=No.f,i=0;i<n.length;i++){var a=n[i];St(e,a)||r(e,a,o(t,a))}}(Cd,f0);var Ab=Cd.prototype=La(f0.prototype,{constructor:M(1,Cd),message:M(1,""),name:M(1,"AggregateError")});zt({global:!0},{AggregateError:Cd});var _H=Be(Function.toString);et(nt.inspectSource)||(nt.inspectSource=function(e){return _H(e)});var d0,wd,p0,M5=nt.inspectSource,I5=Pe.WeakMap,TH=et(I5)&&/native code/.test(M5(I5)),Sb=Pe.TypeError,PH=Pe.WeakMap;if(TH||nt.state){var zs=nt.state||(nt.state=new PH),RH=Be(zs.get),U5=Be(zs.has),jH=Be(zs.set);d0=function(e,t){if(U5(zs,e))throw new Sb("Object already initialized");return t.facade=e,jH(zs,e,t),t},wd=function(e){return RH(zs,e)||{}},p0=function(e){return U5(zs,e)}}else{var pc=In("state");yd[pc]=!0,d0=function(e,t){if(St(e,pc))throw new Sb("Object already initialized");return t.facade=e,Dt(e,pc,t),t},wd=function(e){return St(e,pc)?e[pc]:{}},p0=function(e){return St(e,pc)}}var hu,z5,H5,hc={set:d0,get:wd,has:p0,enforce:function(e){return p0(e)?wd(e):d0(e,{})},getterFor:function(e){return function(t){var n;if(!z(t)||(n=wd(t)).type!==e)throw Sb("Incompatible receiver, "+e+" required");return n}}},V5=Function.prototype,NH=Fe&&Object.getOwnPropertyDescriptor,Db=St(V5,"name"),BH={EXISTS:Db,PROPER:Db&&function(){}.name==="something",CONFIGURABLE:Db&&(!Fe||Fe&&NH(V5,"name").configurable)},gc=function(e,t,n,r){r&&r.enumerable?e[t]=n:Dt(e,t,n)},Ob=Et("iterator"),W5=!1;[].keys&&("next"in(H5=[].keys())?(z5=Qn(Qn(H5)))!==Object.prototype&&(hu=z5):W5=!0);var FH=hu==null||it(function(){var e={};return hu[Ob].call(e)!==e});hu=FH?{}:La(hu),et(hu[Ob])||gc(hu,Ob,function(){return this});var G5={IteratorPrototype:hu,BUGGY_SAFARI_ITERATORS:W5},kH=xb?{}.toString:function(){return"[object "+bd(this)+"]"},LH=At.f,K5=Et("toStringTag"),h0=function(e,t,n,r){if(e){var o=n?e:e.prototype;St(o,K5)||LH(o,K5,{configurable:!0,value:t}),r&&!xb&&Dt(o,"toString",kH)}},MH=G5.IteratorPrototype,IH=function(){return this},UH=BH.PROPER,g0=G5.BUGGY_SAFARI_ITERATORS,_b=Et("iterator"),zH=function(){return this},X5=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=La(MH,{next:M(+!E,b)}),h0(m,w,!1,!0),Ma[w]=IH}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!g0&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[_b]||d["@@iterator"]||o&&d[o],g=!g0&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=Qn(v.call(new e)))!==Object.prototype&&u.next&&(h0(u,f,!0,!0),Ma[f]=zH),UH&&o=="values"&&y&&y.name!=="values"&&(p=!0,g=function(){return vt(y,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(g0||p||!(l in d))&&gc(d,l,s[l]);else zt({target:t,proto:!0,forced:g0||p},s);return a&&d[_b]!==g&&gc(d,_b,g,{name:o}),Ma[t]=g,s},HH=hc.set,VH=hc.getterFor("Array Iterator");X5(Array,"Array",function(e,t){HH(this,{type:"Array Iterator",target:O(e),index:0,kind:t})},function(){var e=VH(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Ma.Arguments=Ma.Array;var WH=Be("".charAt),Y5=Be("".charCodeAt),GH=Be("".slice),J5=function(e){return function(t,n){var r,o,i=Ed(T(t)),a=Co(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Y5(i,a))<55296||r>56319||a+1===u||(o=Y5(i,a+1))<56320||o>57343?e?WH(i,a):r:e?GH(i,a,a+2):o-56320+(r-55296<<10)+65536}},KH={codeAt:J5(!1),charAt:J5(!0)}.charAt,XH=hc.set,YH=hc.getterFor("String Iterator");X5(String,"String",function(e){XH(this,{type:"String Iterator",string:Ed(e),index:0})},function(){var e,t=YH(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=KH(n,r),t.index+=e.length,{value:e,done:!1})});var JH=j.AggregateError,Z5=Et("toStringTag");for(var Tb in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Q5=Pe[Tb],Pb=Q5&&Q5.prototype;Pb&&bd(Pb)!==Z5&&Dt(Pb,Z5,Tb),Ma[Tb]=Ma.Array}var gu,v0,ZH=JH,m0=function(e){return e&&e.Math==Math&&e},Bt=m0(typeof globalThis=="object"&&globalThis)||m0(typeof window=="object"&&window)||m0(typeof self=="object"&&self)||m0(typeof Ae=="object"&&Ae)||function(){return this}()||Function("return this")(),to=function(e){try{return!!e()}catch(t){return!0}},ua=!to(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),xd=Function.prototype.call,no=xd.bind?xd.bind(xd):function(){return xd.apply(xd,arguments)},q5={}.propertyIsEnumerable,$5=Object.getOwnPropertyDescriptor,QH=$5&&!q5.call({1:2},1)?function(e){var t=$5(this,e);return!!t&&t.enumerable}:q5,qH={f:QH},vu=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},e3=Function.prototype,Rb=e3.bind,jb=e3.call,$H=Rb&&Rb.bind(jb),Ln=Rb?function(e){return e&&$H(jb,e)}:function(e){return e&&function(){return jb.apply(e,arguments)}},eV=Ln({}.toString),tV=Ln("".slice),Hs=function(e){return tV(eV(e),8,-1)},Nb=Bt.Object,nV=Ln("".split),t3=to(function(){return!Nb("z").propertyIsEnumerable(0)})?function(e){return Hs(e)=="String"?nV(e,""):Nb(e)}:Nb,rV=Bt.TypeError,y0=function(e){if(e==null)throw rV("Can't call method on "+e);return e},vc=function(e){return t3(y0(e))},Rr=function(e){return typeof e=="function"},Mi=function(e){return typeof e=="object"?e!==null:Rr(e)},oV=function(e){return Rr(e)?e:void 0},Ad=function(e,t){return arguments.length<2?oV(Bt[e]):Bt[e]&&Bt[e][t]},b0=Ln({}.isPrototypeOf),Bb=Ad("navigator","userAgent")||"",n3=Bt.process,r3=Bt.Deno,o3=n3&&n3.versions||r3&&r3.version,i3=o3&&o3.v8;i3&&(v0=(gu=i3.split("."))[0]>0&&gu[0]<4?1:+(gu[0]+gu[1])),!v0&&Bb&&(!(gu=Bb.match(/Edge\/(\d+)/))||gu[1]>=74)&&(gu=Bb.match(/Chrome\/(\d+)/))&&(v0=+gu[1]);var a3=v0,Fb=!!Object.getOwnPropertySymbols&&!to(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a3&&a3<41}),kb=Fb&&!Symbol.sham&&typeof Symbol.iterator=="symbol",iV=Bt.Object,Lb=kb?function(e){return typeof e=="symbol"}:function(e){var t=Ad("Symbol");return Rr(t)&&b0(t.prototype,iV(e))},aV=Bt.String,Mb=function(e){try{return aV(e)}catch(t){return"Object"}},uV=Bt.TypeError,Ib=function(e){if(Rr(e))return e;throw uV(Mb(e)+" is not a function")},Sd=function(e,t){var n=e[t];return n==null?void 0:Ib(n)},sV=Bt.TypeError,lV=Object.defineProperty,Ub=function(e,t){try{lV(Bt,e,{value:t,configurable:!0,writable:!0})}catch(n){Bt[e]=t}return t},mu=Bt["__core-js_shared__"]||Ub("__core-js_shared__",{}),zb=xt(function(e){(e.exports=function(t,n){return mu[t]||(mu[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),cV=Bt.Object,Hb=function(e){return cV(y0(e))},fV=Ln({}.hasOwnProperty),zo=Object.hasOwn||function(e,t){return fV(Hb(e),t)},dV=0,pV=Math.random(),hV=Ln(1 .toString),u3=function(e){return"Symbol("+(e===void 0?"":e)+")_"+hV(++dV+pV,36)},Dd=zb("wks"),Vs=Bt.Symbol,s3=Vs&&Vs.for,gV=kb?Vs:Vs&&Vs.withoutSetter||u3,Bo=function(e){if(!zo(Dd,e)||!Fb&&typeof Dd[e]!="string"){var t="Symbol."+e;Fb&&zo(Vs,e)?Dd[e]=Vs[e]:Dd[e]=kb&&s3?s3(t):gV(t)}return Dd[e]},vV=Bt.TypeError,mV=Bo("toPrimitive"),yV=function(e,t){if(!Mi(e)||Lb(e))return e;var n,r=Sd(e,mV);if(r){if(t===void 0&&(t="default"),n=no(r,e,t),!Mi(n)||Lb(n))return n;throw vV("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,u;if(i==="string"&&Rr(a=o.toString)&&!Mi(u=no(a,o)))return u;if(Rr(a=o.valueOf)&&!Mi(u=no(a,o)))return u;if(i!=="string"&&Rr(a=o.toString)&&!Mi(u=no(a,o)))return u;throw sV("Can't convert object to primitive value")}(e,t)},Vb=function(e){var t=yV(e,"string");return Lb(t)?t:t+""},Wb=Bt.document,bV=Mi(Wb)&&Mi(Wb.createElement),Gb=function(e){return bV?Wb.createElement(e):{}},l3=!ua&&!to(function(){return Object.defineProperty(Gb("div"),"a",{get:function(){return 7}}).a!=7}),c3=Object.getOwnPropertyDescriptor,EV=ua?c3:function(e,t){if(e=vc(e),t=Vb(t),l3)try{return c3(e,t)}catch(n){}if(zo(e,t))return vu(!no(qH.f,e,t),e[t])},Kb={f:EV},CV=Bt.String,wV=Bt.TypeError,qo=function(e){if(Mi(e))return e;throw wV(CV(e)+" is not an object")},xV=Bt.TypeError,f3=Object.defineProperty,AV=ua?f3:function(e,t,n){if(qo(e),t=Vb(t),qo(n),l3)try{return f3(e,t,n)}catch(r){}if("get"in n||"set"in n)throw xV("Accessors not supported");return"value"in n&&(e[t]=n.value),e},mc={f:AV},Fo=ua?function(e,t,n){return mc.f(e,t,vu(1,n))}:function(e,t,n){return e[t]=n,e},SV=Ln(Function.toString);Rr(mu.inspectSource)||(mu.inspectSource=function(e){return SV(e)});var E0,Od,C0,Xb=mu.inspectSource,d3=Bt.WeakMap,DV=Rr(d3)&&/native code/.test(Xb(d3)),p3=zb("keys"),Yb=function(e){return p3[e]||(p3[e]=u3(e))},Jb={},Zb=Bt.TypeError,OV=Bt.WeakMap;if(DV||mu.state){var Ws=mu.state||(mu.state=new OV),_V=Ln(Ws.get),h3=Ln(Ws.has),TV=Ln(Ws.set);E0=function(e,t){if(h3(Ws,e))throw new Zb("Object already initialized");return t.facade=e,TV(Ws,e,t),t},Od=function(e){return _V(Ws,e)||{}},C0=function(e){return h3(Ws,e)}}else{var yc=Yb("state");Jb[yc]=!0,E0=function(e,t){if(zo(e,yc))throw new Zb("Object already initialized");return t.facade=e,Fo(e,yc,t),t},Od=function(e){return zo(e,yc)?e[yc]:{}},C0=function(e){return zo(e,yc)}}var Gs={set:E0,get:Od,has:C0,enforce:function(e){return C0(e)?Od(e):E0(e,{})},getterFor:function(e){return function(t){var n;if(!Mi(t)||(n=Od(t)).type!==e)throw Zb("Incompatible receiver, "+e+" required");return n}}},g3=Function.prototype,PV=ua&&Object.getOwnPropertyDescriptor,Qb=zo(g3,"name"),qb={EXISTS:Qb,PROPER:Qb&&function(){}.name==="something",CONFIGURABLE:Qb&&(!ua||ua&&PV(g3,"name").configurable)},yu=xt(function(e){var t=qb.CONFIGURABLE,n=Gs.get,r=Gs.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Rr(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!zo(u,"name")||t&&u.name!==d)&&Fo(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Bt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Fo(i,a,u)):f?i[a]=u:Ub(a,u)})(Function.prototype,"toString",function(){return Rr(this)&&n(this).source||Xb(this)})}),RV=Math.ceil,jV=Math.floor,$b=function(e){var t=+e;return t!=t||t===0?0:(t>0?jV:RV)(t)},NV=Math.max,BV=Math.min,eE=function(e,t){var n=$b(e);return n<0?NV(n+t,0):BV(n,t)},FV=Math.min,v3=function(e){return e>0?FV($b(e),9007199254740991):0},w0=function(e){return v3(e.length)},m3=function(e){return function(t,n,r){var o,i=vc(t),a=w0(i),u=eE(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},kV={includes:m3(!0),indexOf:m3(!1)}.indexOf,y3=Ln([].push),b3=function(e,t){var n,r=vc(e),o=0,i=[];for(n in r)!zo(Jb,n)&&zo(r,n)&&y3(i,n);for(;t.length>o;)zo(r,n=t[o++])&&(~kV(i,n)||y3(i,n));return i},x0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],LV=x0.concat("length","prototype"),MV=Object.getOwnPropertyNames||function(e){return b3(e,LV)},IV={f:MV},UV={f:Object.getOwnPropertySymbols},zV=Ln([].concat),HV=Ad("Reflect","ownKeys")||function(e){var t=IV.f(qo(e)),n=UV.f;return n?zV(t,n(e)):t},E3=function(e,t){for(var n=HV(t),r=mc.f,o=Kb.f,i=0;i<n.length;i++){var a=n[i];zo(e,a)||r(e,a,o(t,a))}},VV=/#|\.prototype\./,_d=function(e,t){var n=GV[WV(e)];return n==XV||n!=KV&&(Rr(t)?to(t):!!t)},WV=_d.normalize=function(e){return String(e).replace(VV,".").toLowerCase()},GV=_d.data={},KV=_d.NATIVE="N",XV=_d.POLYFILL="P",YV=_d,JV=Kb.f,Td=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Bt:l?Bt[u]||Ub(u,{}):(Bt[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=JV(n,r))&&a.value:n[r],!YV(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;E3(i,o)}(e.sham||o&&o.sham)&&Fo(i,"sham",!0),yu(n,r,i,e)}},C3={};C3[Bo("toStringTag")]="z";var A0,tE=String(C3)==="[object z]",ZV=Bo("toStringTag"),QV=Bt.Object,qV=Hs(function(){return arguments}())=="Arguments",S0=tE?Hs:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=QV(e),ZV))=="string"?n:qV?Hs(t):(r=Hs(t))=="Object"&&Rr(t.callee)?"Arguments":r},$V=Bt.String,Ks=function(e){if(S0(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return $V(e)},eW=function(){var e=qo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},nE=Bt.RegExp,rE=to(function(){var e=nE("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),tW=rE||to(function(){return!nE("a","y").sticky}),nW=rE||to(function(){var e=nE("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),rW={BROKEN_CARET:nW,MISSED_STICKY:tW,UNSUPPORTED_Y:rE},oW=Object.keys||function(e){return b3(e,x0)},iW=ua?Object.defineProperties:function(e,t){qo(e);for(var n,r=vc(t),o=oW(t),i=o.length,a=0;i>a;)mc.f(e,n=o[a++],r[n]);return e},aW=Ad("document","documentElement"),w3=Yb("IE_PROTO"),oE=function(){},x3=function(e){return"<script>"+e+"</script>"},A3=function(e){e.write(x3("")),e.close();var t=e.parentWindow.Object;return e=null,t},D0=function(){try{A0=new ActiveXObject("htmlfile")}catch(r){}var e,t;D0=typeof document!="undefined"?document.domain&&A0?A3(A0):((t=Gb("iframe")).style.display="none",aW.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(x3("document.F=Object")),e.close(),e.F):A3(A0);for(var n=x0.length;n--;)delete D0.prototype[x0[n]];return D0()};Jb[w3]=!0;var S3,iE,Pd=Object.create||function(e,t){var n;return e!==null?(oE.prototype=qo(e),n=new oE,oE.prototype=null,n[w3]=e):n=D0(),t===void 0?n:iW(n,t)},uW=Bt.RegExp,sW=to(function(){var e=uW(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),lW=Bt.RegExp,cW=to(function(){var e=lW("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),fW=Gs.get,dW=zb("native-string-replace",String.prototype.replace),O0=RegExp.prototype.exec,aE=O0,pW=Ln("".charAt),hW=Ln("".indexOf),gW=Ln("".replace),uE=Ln("".slice),sE=(iE=/b*/g,no(O0,S3=/a/,"a"),no(O0,iE,"a"),S3.lastIndex!==0||iE.lastIndex!==0),D3=rW.BROKEN_CARET,lE=/()??/.exec("")[1]!==void 0;(sE||lE||D3||sW||cW)&&(aE=function(e){var t,n,r,o,i,a,u,s=this,l=fW(s),c=Ks(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=no(aE,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=D3&&s.sticky,y=no(eW,s),g=s.source,v=0,m=c;if(d&&(y=gW(y,"y",""),hW(y,"g")===-1&&(y+="g"),m=uE(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&pW(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),lE&&(n=new RegExp("^"+g+"$(?!\\s)",y)),sE&&(r=s.lastIndex),o=no(O0,d?n:s,m),d?o?(o.input=uE(o.input,v),o[0]=uE(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:sE&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),lE&&o&&o.length>1&&no(dW,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=Pd(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var _0=aE;Td({target:"RegExp",proto:!0,forced:/./.exec!==_0},{exec:_0});var vW=Bo("species"),cE=RegExp.prototype,mW=Ln("".charAt),O3=Ln("".charCodeAt),yW=Ln("".slice),_3=function(e){return function(t,n){var r,o,i=Ks(y0(t)),a=$b(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=O3(i,a))<55296||r>56319||a+1===u||(o=O3(i,a+1))<56320||o>57343?e?mW(i,a):r:e?yW(i,a,a+2):o-56320+(r-55296<<10)+65536}},T3={codeAt:_3(!1),charAt:_3(!0)},bW=T3.charAt,EW=function(e,t,n){return t+(n?bW(e,t).length:1)},CW=Bt.TypeError,P3=function(e,t){var n=e.exec;if(Rr(n)){var r=no(n,e,t);return r!==null&&qo(r),r}if(Hs(e)==="RegExp")return no(_0,e,t);throw CW("RegExp#exec called on incompatible receiver")};!function(e,t,n,r){var o=Bo(e),i=!to(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!to(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[vW]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Ln(/./[o]),s=t(o,""[e],function(l,c,f,p,d){var y=Ln(l),g=c.exec;return g===_0||g===cE.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});yu(String.prototype,e,s[0]),yu(cE,o,s[1])}r&&Fo(cE[o],"sham",!0)}("match",function(e,t,n){return[function(r){var o=y0(this),i=r==null?void 0:Sd(r,e);return i?no(i,r,o):new RegExp(r)[e](Ks(o))},function(r){var o=qo(this),i=Ks(r),a=n(t,o,i);if(a.done)return a.value;if(!o.global)return P3(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=P3(o,i))!==null;){var f=Ks(s[0]);l[c]=f,f===""&&(o.lastIndex=EW(i,v3(o.lastIndex),u)),c++}return c===0?null:l}]}),Td({global:!0},{globalThis:Bt});var wW=!to(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),R3=Yb("IE_PROTO"),fE=Bt.Object,xW=fE.prototype,Rd=wW?fE.getPrototypeOf:function(e){var t=Hb(e);if(zo(t,R3))return t[R3];var n=t.constructor;return Rr(n)&&t instanceof n?n.prototype:t instanceof fE?xW:null},AW=Bt.String,SW=Bt.TypeError,bc=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Ln(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,o){return qo(r),function(i){if(typeof i=="object"||Rr(i))return i;throw SW("Can't set "+AW(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),DW=Bt.Array,OW=Math.max,_W=Ln("".replace),TW=Ln("".split),PW=Ln([].join),dE=String(Error("zxcasd").stack),j3=/\n\s*at [^:]*:[^\n]*/,RW=j3.test(dE),jW=/@[^\n]*\n/.test(dE)&&!/zxcasd/.test(dE),NW=function(e,t){if(typeof e!="string")return e;if(RW)for(;t--;)e=_W(e,j3,"");else if(jW)return PW(function(n,r,o){for(var i,a,u,s,l=w0(n),c=eE(r,l),f=eE(o===void 0?l:o,l),p=DW(OW(f-c,0)),d=0;c<f;c++,d++)i=p,a=d,u=n[c],s=void 0,(s=Vb(a))in i?mc.f(i,s,vu(0,u)):i[s]=u;return p.length=d,p}(TW(e,`
`),t),`
`);return e},BW=function(e,t){Mi(t)&&"cause"in t&&Fo(e,"cause",t.cause)},N3=Ln(Ln.bind),B3=function(e,t){return Ib(e),t===void 0?e:N3?N3(e,t):function(){return e.apply(t,arguments)}},Ec={},FW=Bo("iterator"),kW=Array.prototype,LW=Bo("iterator"),F3=function(e){if(e!=null)return Sd(e,LW)||Sd(e,"@@iterator")||Ec[S0(e)]},MW=Bt.TypeError,k3=function(e,t,n){var r,o;qo(e);try{if(!(r=Sd(e,"return"))){if(t==="throw")throw n;return n}r=no(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return qo(r),n},IW=Bt.TypeError,T0=function(e,t){this.stopped=e,this.result=t},L3=T0.prototype,UW=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),y=B3(t,c),g=function(m){return r&&k3(r,"normal",m),new T0(!0,m)},v=function(m){return f?(qo(m),d?y(m[0],m[1],g):y(m[0],m[1])):d?y(m,g):y(m)};if(p)r=e;else{if(!(o=F3(e)))throw IW(Mb(e)+" is not iterable");if(function(m){return m!==void 0&&(Ec.Array===m||kW[FW]===m)}(o)){for(i=0,a=w0(e);a>i;i++)if((u=v(e[i]))&&b0(L3,u))return u;return new T0(!1)}r=function(m,h){var b=arguments.length<2?F3(m):h;if(Ib(b))return qo(no(b,m));throw MW(Mb(m)+" is not iterable")}(e,o)}for(s=r.next;!(l=no(s,r)).done;){try{u=v(l.value)}catch(m){k3(r,"throw",m)}if(typeof u=="object"&&u&&b0(L3,u))return u}return new T0(!1)},zW=function(e,t){return e===void 0?arguments.length<2?"":t:Ks(e)},HW=!to(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",vu(1,7)),e.stack!==7)}),VW=Bo("toStringTag"),P0=Bt.Error,WW=[].push,jd=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=b0(pE,this);bc?n=bc(new P0(void 0),o?Rd(this):pE):(n=o?this:Pd(pE),Fo(n,VW,"Error")),Fo(n,"message",zW(t,"")),HW&&Fo(n,"stack",NW(n.stack,1)),BW(n,r);var i=[];return UW(e,WW,{that:i}),Fo(n,"errors",i),n};bc?bc(jd,P0):E3(jd,P0);var pE=jd.prototype=Pd(P0.prototype,{constructor:vu(1,jd),message:vu(1,""),name:vu(1,"AggregateError")});Td({global:!0},{AggregateError:jd});var hE=Bo("unscopables"),gE=Array.prototype;gE[hE]==null&&mc.f(gE,hE,{configurable:!0,value:Pd(null)});var Xs,M3,I3,vE=function(e){gE[hE][e]=!0},mE=Bo("iterator"),U3=!1;[].keys&&("next"in(I3=[].keys())?(M3=Rd(Rd(I3)))!==Object.prototype&&(Xs=M3):U3=!0);var GW=Xs==null||to(function(){var e={};return Xs[mE].call(e)!==e});GW&&(Xs={}),Rr(Xs[mE])||yu(Xs,mE,function(){return this});var yE={IteratorPrototype:Xs,BUGGY_SAFARI_ITERATORS:U3},KW=mc.f,z3=Bo("toStringTag"),H3=function(e,t,n){e&&!zo(e=n?e:e.prototype,z3)&&KW(e,z3,{configurable:!0,value:t})},XW=yE.IteratorPrototype,YW=function(){return this},JW=qb.PROPER,ZW=qb.CONFIGURABLE,V3=yE.IteratorPrototype,R0=yE.BUGGY_SAFARI_ITERATORS,Nd=Bo("iterator"),QW=function(){return this},W3=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=Pd(XW,{next:vu(+!E,b)}),H3(m,w,!1),Ec[w]=YW}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!R0&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[Nd]||d["@@iterator"]||o&&d[o],g=!R0&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=Rd(v.call(new e)))!==Object.prototype&&u.next&&(Rd(u)!==V3&&(bc?bc(u,V3):Rr(u[Nd])||yu(u,Nd,QW)),H3(u,f,!0)),JW&&o=="values"&&y&&y.name!=="values"&&(ZW?Fo(d,"name","values"):(p=!0,g=function(){return no(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(R0||p||!(l in d))&&yu(d,l,s[l]);else Td({target:t,proto:!0,forced:R0||p},s);return d[Nd]!==g&&yu(d,Nd,g,{name:o}),Ec[t]=g,s},qW=Gs.set,$W=Gs.getterFor("Array Iterator"),Bd=W3(Array,"Array",function(e,t){qW(this,{type:"Array Iterator",target:vc(e),index:0,kind:t})},function(){var e=$W(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Ec.Arguments=Ec.Array,vE("keys"),vE("values"),vE("entries");var eG=T3.charAt,tG=Gs.set,nG=Gs.getterFor("String Iterator");W3(String,"String",function(e){tG(this,{type:"String Iterator",string:Ks(e),index:0})},function(){var e,t=nG(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=eG(n,r),t.index+=e.length,{value:e,done:!1})});var bE,j0={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},EE=Gb("span").classList,G3=EE&&EE.constructor&&EE.constructor.prototype,K3=G3===Object.prototype?void 0:G3,CE=Bo("iterator"),X3=Bo("toStringTag"),wE=Bd.values,Y3=function(e,t){if(e){if(e[CE]!==wE)try{Fo(e,CE,wE)}catch(r){e[CE]=wE}if(e[X3]||Fo(e,X3,t),j0[t]){for(var n in Bd)if(e[n]!==Bd[n])try{Fo(e,n,Bd[n])}catch(r){e[n]=Bd[n]}}}};for(var xE in j0)Y3(Bt[xE]&&Bt[xE].prototype,xE);(Y3(K3,"DOMTokenList"),typeof qe=="undefined")?("ActiveXObject"in window&&console.error(`\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668
Sorry, wangEditor V5+ versions do not support IE browser.`),J3(),Z3()):qe&&((bE=qe.navigator)===null||bE===void 0?void 0:bE.userAgent.match("QQBrowser"))&&(J3(),Z3());function J3(){typeof globalThis=="undefined"&&(window.globalThis=window)}function Z3(){ZH===void 0&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}var Q3,N0=Array.isArray||function(e){return Y(e)=="Array"},q3=function(){},rG=[],$3=te("Reflect","construct"),AE=/^\s*(?:class|function)\b/,oG=Be(AE.exec),iG=!AE.exec(q3),Fd=function(e){if(!et(e))return!1;try{return $3(q3,rG,e),!0}catch(t){return!1}},aG=!$3||it(function(){var e;return Fd(Fd.call)||!Fd(Object)||!Fd(function(){e=!0})||e})?function(e){if(!et(e))return!1;switch(bd(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return iG||!!oG(AE,M5(e))}:Fd,uG=Et("species"),e6=Pe.Array,t6=function(e,t){return new(function(n){var r;return N0(n)&&(r=n.constructor,(aG(r)&&(r===e6||N0(r.prototype))||z(r)&&(r=r[uG])===null)&&(r=void 0)),r===void 0?e6:r}(e))(t===0?0:t)},sG=Et("species"),n6=Et("isConcatSpreadable"),r6=Pe.TypeError,lG=Xe>=51||!it(function(){var e=[];return e[n6]=!1,e.concat()[0]!==e}),cG=(Q3="concat",Xe>=51||!it(function(){var e=[];return(e.constructor={})[sG]=function(){return{foo:1}},e[Q3](Boolean).foo!==1})),fG=function(e){if(!z(e))return!1;var t=e[n6];return t!==void 0?!!t:N0(e)};zt({target:"Array",proto:!0,forced:!lG||!cG},{concat:function(e){var t,n,r,o,i,a=Hn(this),u=t6(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(fG(i=t===-1?a:arguments[t])){if(s+(o=un(i))>9007199254740991)throw r6("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&Cb(u,s,i[n])}else{if(s>=9007199254740991)throw r6("Maximum allowed index exceeded");Cb(u,s++,i)}return u.length=s,u}});var o6=yb.f,i6=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a6={f:function(e){return i6&&Y(e)=="Window"?function(t){try{return o6(t)}catch(n){return j5(i6)}}(e):o6(O(e))}},dG=Be([].slice),SE={f:Et},pG=At.f,Cr=function(e){var t=j.Symbol||(j.Symbol={});St(t,e)||pG(t,e,{value:SE.f(e)})},u6=Be([].push),bu=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=Hn(s),g=V(y),v=lo(l,c),m=un(g),h=0,b=f||t6,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:u6(E,p)}else switch(e){case 4:return!1;case 7:u6(E,p)}return i?-1:r||o?o:E}},B0={forEach:bu(0),map:bu(1),filter:bu(2),some:bu(3),every:bu(4),find:bu(5),findIndex:bu(6),filterReject:bu(7)}.forEach,Ho=In("hidden"),s6=Et("toPrimitive"),hG=hc.set,l6=hc.getterFor("Symbol"),Ii=Object.prototype,Eu=Pe.Symbol,Cu=Eu&&Eu.prototype,c6=Pe.TypeError,DE=Pe.QObject,kd=te("JSON","stringify"),f6=No.f,wu=At.f,d6=a6.f,gG=xe.f,p6=Be([].push),Ia=Sn("symbols"),Ld=Sn("op-symbols"),OE=Sn("string-to-symbol-registry"),_E=Sn("symbol-to-string-registry"),vG=Sn("wks"),TE=!DE||!DE.prototype||!DE.prototype.findChild,PE=Fe&&it(function(){return La(wu({},"a",{get:function(){return wu(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=f6(Ii,t);r&&delete Ii[t],wu(e,t,n),r&&e!==Ii&&wu(Ii,t,r)}:wu,RE=function(e,t){var n=Ia[e]=La(Cu);return hG(n,{type:"Symbol",tag:e,description:t}),Fe||(n.description=t),n},F0=function(e,t,n){e===Ii&&F0(Ld,t,n),co(e);var r=Vr(t);return co(n),St(Ia,r)?(n.enumerable?(St(e,Ho)&&e[Ho][r]&&(e[Ho][r]=!1),n=La(n,{enumerable:M(0,!1)})):(St(e,Ho)||wu(e,Ho,M(1,{})),e[Ho][r]=!0),PE(e,r,n)):wu(e,r,n)},h6=function(e,t){co(e);var n=O(t),r=bb(n).concat(jE(n));return B0(r,function(o){Fe&&!vt(g6,n,o)||F0(e,o,n[o])}),e},g6=function(e){var t=Vr(e),n=vt(gG,this,t);return!(this===Ii&&St(Ia,t)&&!St(Ld,t))&&(!(n||!St(this,t)||!St(Ia,t)||St(this,Ho)&&this[Ho][t])||n)},v6=function(e,t){var n=O(e),r=Vr(t);if(n!==Ii||!St(Ia,r)||St(Ld,r)){var o=f6(n,r);return!o||!St(Ia,r)||St(n,Ho)&&n[Ho][r]||(o.enumerable=!0),o}},m6=function(e){var t=d6(O(e)),n=[];return B0(t,function(r){St(Ia,r)||St(yd,r)||p6(n,r)}),n},jE=function(e){var t=e===Ii,n=d6(t?Ld:O(e)),r=[];return B0(n,function(o){!St(Ia,o)||t&&!St(Ii,o)||p6(r,Ia[o])}),r};if(A||(Cu=(Eu=function(){if(pe(Cu,this))throw c6("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?Ed(arguments[0]):void 0,t=Hr(e),n=function(r){this===Ii&&vt(n,Ld,r),St(this,Ho)&&St(this[Ho],t)&&(this[Ho][t]=!1),PE(this,t,M(1,r))};return Fe&&TE&&PE(Ii,t,{configurable:!0,set:n}),RE(t,e)}).prototype,gc(Cu,"toString",function(){return l6(this).tag}),gc(Eu,"withoutSetter",function(e){return RE(Hr(e),e)}),xe.f=g6,At.f=F0,No.f=v6,yb.f=a6.f=m6,s0.f=jE,SE.f=function(e){return RE(Et(e),e)},Fe&&wu(Cu,"description",{configurable:!0,get:function(){return l6(this).description}})),zt({global:!0,wrap:!0,forced:!A,sham:!A},{Symbol:Eu}),B0(bb(vG),function(e){Cr(e)}),zt({target:"Symbol",stat:!0,forced:!A},{for:function(e){var t=Ed(e);if(St(OE,t))return OE[t];var n=Eu(t);return OE[t]=n,_E[n]=t,n},keyFor:function(e){if(!K(e))throw c6(e+" is not a symbol");if(St(_E,e))return _E[e]},useSetter:function(){TE=!0},useSimple:function(){TE=!1}}),zt({target:"Object",stat:!0,forced:!A,sham:!Fe},{create:function(e,t){return t===void 0?La(e):h6(La(e),t)},defineProperty:F0,defineProperties:h6,getOwnPropertyDescriptor:v6}),zt({target:"Object",stat:!0,forced:!A},{getOwnPropertyNames:m6,getOwnPropertySymbols:jE}),zt({target:"Object",stat:!0,forced:it(function(){s0.f(1)})},{getOwnPropertySymbols:function(e){return s0.f(Hn(e))}}),kd){var mG=!A||it(function(){var e=Eu();return kd([e])!="[null]"||kd({a:e})!="{}"||kd(Object(e))!="{}"});zt({target:"JSON",stat:!0,forced:mG},{stringify:function(e,t,n){var r=dG(arguments),o=t;if((z(t)||e!==void 0)&&!K(e))return N0(t)||(t=function(i,a){if(et(o)&&(a=vt(o,this,i,a)),!K(a))return a}),r[1]=t,Ke(kd,null,r)}})}if(!Cu[s6]){var yG=Cu.valueOf;gc(Cu,s6,function(e){return vt(yG,this)})}h0(Eu,"Symbol"),yd[Ho]=!0,Cr("asyncIterator"),Cr("hasInstance"),Cr("isConcatSpreadable"),Cr("iterator"),Cr("match"),Cr("matchAll"),Cr("replace"),Cr("search"),Cr("species"),Cr("split"),Cr("toPrimitive"),Cr("toStringTag"),Cr("unscopables"),h0(Pe.JSON,"JSON",!0);var bG=j.Symbol;Cr("asyncDispose"),Cr("dispose"),Cr("matcher"),Cr("metadata"),Cr("observable"),Cr("patternMatch"),Cr("replaceAll");var k0=bG,EG=SE.f("iterator"),CG=xt(function(e){function t(n){return typeof k0=="function"&&typeof EG=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof k0=="function"&&r.constructor===k0&&r!==k0.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),wG=Gt(CG),y6=Kb.f,xG=to(function(){y6(1)});if(Td({target:"Object",stat:!0,forced:!ua||xG,sham:!ua},{getOwnPropertyDescriptor:function(e,t){return y6(vc(e),t)}}),(typeof qe=="undefined"?"undefined":wG(qe))==="object"){var AG=Object.getOwnPropertyDescriptor(qe,"window");qe.window&&!AG.set||(qe.window=qe,qe.requestAnimationFrame=function(){},qe.navigator={userAgent:""},qe.location={hostname:"0.0.0.0",port:0,protocol:"http:"},qe.btoa=function(){},qe.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),qe.document!=null&&qe.document.getElementsByTagName==null&&(qe.document.getElementsByTagName=function(){return[]})}/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function b6(e){return Object.prototype.toString.call(e)==="[object Object]"}function wo(e){var t,n;return b6(e)!==!1&&((t=e.constructor)===void 0||b6(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1)}function Ui(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(o){return"'"+o+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ys(e){return!!e&&!!e[$o]}function Js(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===PG}(e)||Array.isArray(e)||!!e[T6]||!!e.constructor[T6]||BE(e)||FE(e))}function Md(e,t,n){n===void 0&&(n=!1),Cc(e)===0?(n?Object.keys:XE)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,o){return t(o,r,e)})}function Cc(e){var t=e[$o];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:BE(e)?2:FE(e)?3:0}function NE(e,t){return Cc(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function E6(e,t,n){var r=Cc(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function BE(e){return _G&&e instanceof Map}function FE(e){return TG&&e instanceof Set}function Zs(e){return e.o||e.t}function kE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=RG(e);delete t[$o];for(var n=XE(t),r=0;r<n.length;r++){var o=n[r],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function LE(e,t){return t===void 0&&(t=!1),ME(e)||Ys(e)||!Js(e)||(Cc(e)>1&&(e.set=e.add=e.clear=e.delete=SG),Object.freeze(e),t&&Md(e,function(n,r){return LE(r,!0)},!0)),e}function SG(){Ui(2)}function ME(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ua(e){var t=jG[e];return t||Ui(18,e),t}function C6(){return Id}function IE(e,t){t&&(Ua("Patches"),e.u=[],e.s=[],e.v=t)}function L0(e){UE(e),e.p.forEach(DG),e.p=null}function UE(e){e===Id&&(Id=e.l)}function w6(e){return Id={p:[],l:Id,h:e,m:!0,_:0}}function DG(e){var t=e[$o];t.i===0||t.i===1?t.j():t.O=!0}function zE(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Ua("ES5").S(t,e,r),r?(n[$o].P&&(L0(t),Ui(4)),Js(e)&&(e=M0(t,e),t.l||I0(t,e)),t.u&&Ua("Patches").M(n[$o],e,t.u,t.s)):e=M0(t,n,[]),L0(t),t.u&&t.v(t.u,t.s),e!==_6?e:void 0}function M0(e,t,n){if(ME(t))return t;var r=t[$o];if(!r)return Md(t,function(i,a){return x6(e,r,t,i,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return I0(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=kE(r.k):r.o;Md(r.i===3?new Set(o):o,function(i,a){return x6(e,r,o,i,a,n)}),I0(e,o,!1),n&&e.u&&Ua("Patches").R(r,n,e.u,e.s)}return r.o}function x6(e,t,n,r,o,i){if(Ys(o)){var a=M0(e,o,i&&t&&t.i!==3&&!NE(t.D,r)?i.concat(r):void 0);if(E6(n,r,a),!Ys(a))return;e.m=!1}if(Js(o)&&!ME(o)){if(!e.h.F&&e._<1)return;M0(e,o),t&&t.A.l||I0(e,o)}}function I0(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&LE(t,n)}function HE(e,t){var n=e[$o];return(n?Zs(n):e)[t]}function A6(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function VE(e){e.P||(e.P=!0,e.l&&VE(e.l))}function WE(e){e.o||(e.o=kE(e.t))}function GE(e,t,n){var r=BE(t)?Ua("MapSet").N(t,n):FE(t)?Ua("MapSet").T(t,n):e.g?function(o,i){var a=Array.isArray(o),u={i:a?1:0,A:i?i.A:C6(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},s=u,l=U0;a&&(s=[u],l=z0);var c=Proxy.revocable(s,l),f=c.revoke,p=c.proxy;return u.k=p,u.j=f,p}(t,n):Ua("ES5").J(t,n);return(n?n.A:C6()).p.push(r),r}function OG(e){return Ys(e)||Ui(22,e),function t(n){if(!Js(n))return n;var r,o=n[$o],i=Cc(n);if(o){if(!o.P&&(o.i<4||!Ua("ES5").K(o)))return o.t;o.I=!0,r=S6(n,i),o.I=!1}else r=S6(n,i);return Md(r,function(a,u){o&&function(s,l){return Cc(s)===2?s.get(l):s[l]}(o.t,a)===u||E6(r,a,t(u))}),i===3?new Set(r):r}(e)}function S6(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return kE(e)}var D6,Id,KE=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",_G=typeof Map!="undefined",TG=typeof Set!="undefined",O6=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",_6=KE?Symbol.for("immer-nothing"):((D6={})["immer-nothing"]=!0,D6),T6=KE?Symbol.for("immer-draftable"):"__$immer_draftable",$o=KE?Symbol.for("immer-state"):"__$immer_state",PG=""+Object.prototype.constructor,XE=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,RG=Object.getOwnPropertyDescriptors||function(e){var t={};return XE(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},jG={},U0={get:function(e,t){if(t===$o)return e;var n=Zs(e);if(!NE(n,t))return function(o,i,a){var u,s=A6(i,a);return s?"value"in s?s.value:(u=s.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!Js(r)?r:r===HE(e.t,t)?(WE(e),e.o[t]=GE(e.A.h,r,e)):r},has:function(e,t){return t in Zs(e)},ownKeys:function(e){return Reflect.ownKeys(Zs(e))},set:function(e,t,n){var r=A6(Zs(e),t);if(r==null?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=HE(Zs(e),t),i=o==null?void 0:o[$o];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(a,u){return a===u?a!==0||1/a==1/u:a!=a&&u!=u}(n,o)&&(n!==void 0||NE(e.t,t)))return!0;WE(e),VE(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return HE(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,WE(e),VE(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Zs(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Ui(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ui(12)}},z0={};Md(U0,function(e,t){z0[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),z0.deleteProperty=function(e,t){return U0.deleteProperty.call(this,e[0],t)},z0.set=function(e,t,n){return U0.set.call(this,e[0],t,n,e[0])};var NG=function(){function e(n){var r=this;this.g=O6,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var u=i;i=o;var s=r;return function(d){var y=this;d===void 0&&(d=u);for(var g=arguments.length,v=Array(g>1?g-1:0),m=1;m<g;m++)v[m-1]=arguments[m];return s.produce(d,function(h){var b;return(b=i).call.apply(b,[y,h].concat(v))})}}var l;if(typeof i!="function"&&Ui(6),a!==void 0&&typeof a!="function"&&Ui(7),Js(o)){var c=w6(r),f=GE(r,o,void 0),p=!0;try{l=i(f),p=!1}finally{p?L0(c):UE(c)}return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(d){return IE(c,a),zE(d,c)},function(d){throw L0(c),d}):(IE(c,a),zE(l,c))}if(!o||typeof o!="object")return(l=i(o))===_6?void 0:(l===void 0&&(l=o),r.F&&LE(l,!0),l);Ui(21,o)},this.produceWithPatches=function(o,i){return typeof o=="function"?function(s){for(var l=arguments.length,c=Array(l>1?l-1:0),f=1;f<l;f++)c[f-1]=arguments[f];return r.produceWithPatches(s,function(p){return o.apply(void 0,[p].concat(c))})}:[r.produce(o,i,function(s,l){a=s,u=l}),a,u];var a,u},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Js(n)||Ui(8),Ys(n)&&(n=OG(n));var r=w6(this),o=GE(this,n,void 0);return o[$o].C=!0,UE(r),o},t.finishDraft=function(n,r){var o=(n&&n[$o]).A;return IE(o,r),zE(void 0,o)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!O6&&Ui(20),this.g=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var a=Ua("Patches").$;return Ys(n)?a(n,r):this.produce(n,function(u){return a(u,r)})},e}(),ei=new NG,H0=ei.produce;ei.produceWithPatches.bind(ei),ei.setAutoFreeze.bind(ei),ei.setUseProxies.bind(ei),ei.applyPatches.bind(ei);var P6=ei.createDraft.bind(ei),R6=ei.finishDraft.bind(ei);function sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V0=new WeakMap,Ud=new WeakMap,j6=new WeakMap,N6=new WeakMap,B6=new WeakMap,F6=new WeakMap;function k6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function W0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var BG=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of C.pathRefs(e))cK.transform(n,t);for(var r of C.pointRefs(e))fK.transform(r,t);for(var o of C.rangeRefs(e))pK.transform(o,t);var i=new Set,a=[],u=p=>{if(p){var d=p.join(",");i.has(d)||(i.add(d),a.push(p))}},s=V0.get(e)||[],l=FG(t);for(var c of s)u(X.transform(c,t));for(var f of l)u(f);V0.set(e,a),Z.transform(e,t),e.operations.push(t),C.normalize(e),t.type==="set_selection"&&(e.marks=null),Ud.get(e)||(Ud.set(e,!0),Promise.resolve().then(()=>{Ud.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(re.isExpanded(r))Z.setNodes(e,{[t]:n},{match:Ye.isText,split:!0});else{var o=W0(W0({},C.marks(e)||{}),{},{[t]:n});e.marks=o,Ud.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&re.isCollapsed(n)&&Z.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&re.isCollapsed(n)&&Z.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&re.isExpanded(n)&&Z.delete(e,{reverse:t==="backward"})},getFragment:()=>{var{selection:t}=e;return t?Le.fragment(e,t):[]},insertBreak:()=>{Z.splitNodes(e,{always:!0})},insertFragment:t=>{Z.insertFragment(e,t)},insertNode:t=>{Z.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=W0({text:t},r);Z.insertNodes(e,o)}else Z.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!Ye.isText(n))if(ft.isElement(n)&&n.children.length===0)Z.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var o=!C.isEditor(n)&&ft.isElement(n)&&(e.isInline(n)||n.children.length===0||Ye.isText(n.children[0])||e.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var u=Le.get(e,r);if(!Ye.isText(u)){var s=n.children[a],l=u.children[i-1],c=a===n.children.length-1;(Ye.isText(s)||ft.isElement(s)&&e.isInline(s))!==o?(Z.removeNodes(e,{at:r.concat(i),voids:!0}),i--):ft.isElement(s)?e.isInline(s)&&(l!=null&&Ye.isText(l)?c&&(Z.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++):(Z.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++)):l!=null&&Ye.isText(l)&&(Ye.equals(s,l,{loose:!0})?(Z.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):l.text===""?(Z.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):s.text===""&&(Z.removeNodes(e,{at:r.concat(i),voids:!0}),i--))}}},removeMark:t=>{var{selection:n}=e;if(n)if(re.isExpanded(n))Z.unsetNodes(e,t,{match:Ye.isText,split:!0});else{var r=W0({},C.marks(e)||{});delete r[t],e.marks=r,Ud.get(e)||e.onChange()}}};return e},FG=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return X.levels(t);case"insert_node":var{node:n,path:r}=e,o=X.levels(r),i=Ye.isText(n)?[]:Array.from(Le.nodes(n),E=>{var[,w]=E;return r.concat(w)});return[...o,...i];case"merge_node":var{path:a}=e;return[...X.ancestors(a),X.previous(a)];case"move_node":var{path:u,newPath:s}=e;if(X.equals(u,s))return[];var l=[],c=[];for(var f of X.ancestors(u)){var p=X.transform(f,e);l.push(p)}for(var d of X.ancestors(s)){var y=X.transform(d,e);c.push(y)}var g=c[c.length-1],v=s[s.length-1],m=g.concat(v);return[...l,...c,m];case"remove_node":var{path:h}=e;return[...X.ancestors(h)];case"split_node":var{path:b}=e;return[...X.levels(b),X.next(b)];default:return[]}};function za(e,t){if(e==null)return{};var n,r,o=function(a,u){if(a==null)return{};var s,l,c={},f=Object.keys(a);for(l=0;l<f.length;l++)s=f[l],u.indexOf(s)>=0||(c[s]=a[s]);return c}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Mt,YE=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!t,r=t?UG(e):e,o=Mt.None,i=Mt.None,a=0,u=null;for(var s of r){var l=s.codePointAt(0);if(!l)break;var c=qG(s,l);if([o,i]=n?[i,c]:[c,o],wc(o,Mt.ZWJ)&&wc(i,Mt.ExtPict)&&!nK(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(wc(o,Mt.RI)&&wc(i,Mt.RI)&&!(u=u!==null?!u:!!n||oK(e.substring(0,e.length-a))))break;if(o!==Mt.None&&i!==Mt.None&&eK(o,i))break;a+=s.length}return a||1},kG=/\s/,LG=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,MG=/['\u2018\u2019]/,JE=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},IG=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(kG.test(t))return!1;if(MG.test(t)){var o=YE(n,r),[i,a]=JE(n,o,r);if(e(i,a,r))return!0}return!LG.test(t)},UG=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(HG(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(zG(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},zG=e=>e>=55296&&e<=56319,HG=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(Mt||(Mt={}));var VG=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,WG=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,GG=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,KG=/^[\u1100-\u115F\uA960-\uA97C]$/,XG=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,YG=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,JG=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,ZG=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,QG=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,qG=(e,t)=>{var n=Mt.Any;return e.search(VG)!==-1&&(n|=Mt.Extend),t===8205&&(n|=Mt.ZWJ),t>=127462&&t<=127487&&(n|=Mt.RI),e.search(WG)!==-1&&(n|=Mt.Prepend),e.search(GG)!==-1&&(n|=Mt.SpacingMark),e.search(KG)!==-1&&(n|=Mt.L),e.search(XG)!==-1&&(n|=Mt.V),e.search(YG)!==-1&&(n|=Mt.T),e.search(JG)!==-1&&(n|=Mt.LV),e.search(ZG)!==-1&&(n|=Mt.LVT),e.search(QG)!==-1&&(n|=Mt.ExtPict),n};function wc(e,t){return(e&t)!=0}var $G=[[Mt.L,Mt.L|Mt.V|Mt.LV|Mt.LVT],[Mt.LV|Mt.V,Mt.V|Mt.T],[Mt.LVT|Mt.T,Mt.T],[Mt.Any,Mt.Extend|Mt.ZWJ],[Mt.Any,Mt.SpacingMark],[Mt.Prepend,Mt.Any],[Mt.ZWJ,Mt.ExtPict],[Mt.RI,Mt.RI]];function eK(e,t){return $G.findIndex(n=>wc(e,n[0])&&wc(t,n[1]))===-1}var tK=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,nK=e=>e.search(tK)!==-1,rK=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,oK=e=>{var t=e.match(rK);return t!==null&&t[0].length/2%2==1},L6=e=>wo(e)&&Le.isNodeList(e.children)&&!C.isEditor(e),ft={isAncestor:e=>wo(e)&&Le.isNodeList(e.children),isElement:L6,isElementList:e=>Array.isArray(e)&&e.every(t=>ft.isElement(t)),isElementProps:e=>e.children!==void 0,isElementType:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return L6(e)&&e[n]===t},matches(e,t){for(var n in t)if(n!=="children"&&e[n]!==t[n])return!1;return!0}},iK=["text"],aK=["text"];function M6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function xc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?M6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var I6=new WeakMap,C={above(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=C.path(e,o),u=r==="lowest";for(var[s,l]of C.levels(e,{at:a,voids:n,match:i,reverse:u}))if(!Ye.isText(s)&&!X.equals(a,l))return[s,l]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={anchor:C.point(e,t,{edge:"end"}),focus:C.end(e,[])},{distance:i=1}=r,a=0;for(var u of C.positions(e,xc(xc({},r),{},{at:o}))){if(a>i)break;a!==0&&(n=u),a++}return n},before(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={anchor:C.start(e,[]),focus:C.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var u of C.positions(e,xc(xc({},r),{},{at:o,reverse:!0}))){if(a>i)break;a!==0&&(n=u),a++}return n},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges:(e,t)=>[C.start(e,t),C.end(e,t)],end:(e,t)=>C.point(e,t,{edge:"end"}),first(e,t){var n=C.path(e,t,{edge:"start"});return C.node(e,n)},fragment(e,t){var n=C.range(e,t);return Le.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(n=>C.isBlock(e,n)),hasInlines:(e,t)=>t.children.some(n=>Ye.isText(n)||C.isInline(e,n)),hasTexts:(e,t)=>t.children.every(n=>Ye.isText(n)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>ft.isElement(t)&&!e.isInline(t),isEditor(e){if(!wo(e))return!1;var t=I6.get(e);if(t!==void 0)return t;var n=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteBackward=="function"&&typeof e.deleteForward=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isInline=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&(e.marks===null||wo(e.marks))&&(e.selection===null||re.isRange(e.selection))&&Le.isNodeList(e.children)&&xu.isOperationList(e.operations);return I6.set(e,n),n},isEnd(e,t,n){var r=C.end(e,n);return Wt.equals(t,r)},isEdge:(e,t,n)=>C.isStart(e,t,n)||C.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&Ye.isText(r)&&r.text===""&&!e.isVoid(t)},isInline:(e,t)=>ft.isElement(t)&&e.isInline(t),isNormalizing(e){var t=j6.get(e);return t===void 0||t},isStart(e,t,n){if(t.offset!==0)return!1;var r=C.start(e,n);return Wt.equals(t,r)},isVoid:(e,t)=>ft.isElement(t)&&e.isVoid(t),last(e,t){var n=C.path(e,t,{edge:"end"});return C.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=C.path(e,t,n);return[Le.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(i==null&&(i=()=>!0),n){var a=[],u=C.path(e,n);for(var[s,l]of Le.levels(e,u))if(i(s,l)&&(a.push([s,l]),!o&&C.isVoid(e,s)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(re.isExpanded(n)){var[r]=C.nodes(e,{match:Ye.isText});if(r){var[o]=r;return za(o,iK)}return{}}var{anchor:i}=n,{path:a}=i,[u]=C.leaf(e,a);if(i.offset===0){var s=C.previous(e,{at:a,match:Ye.isText}),l=C.above(e,{match:d=>C.isBlock(e,d)});if(s&&l){var[c,f]=s,[,p]=l;X.isAncestor(p,f)&&(u=c)}}return za(u,aK)},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=C.after(e,i,{voids:r});if(a){var[,u]=C.last(e,[]),s=[a.path,u];if(X.isPath(i)&&i.length===0)throw new Error("Cannot get the next node from the root node!");if(o==null)if(X.isPath(i)){var[l]=C.parent(e,i);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=C.nodes(e,{at:s,match:o,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=C.path(e,t,n);return[Le.get(e,r),r]},*nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:u}=t;if(u||(u=()=>!0),n){var s,l;if(uK.isSpan(n))s=n[0],l=n[1];else{var c=C.path(e,n,{edge:"start"}),f=C.path(e,n,{edge:"end"});s=i?f:c,l=i?c:f}var p,d=Le.nodes(e,{reverse:i,from:s,to:l,pass:b=>{var[E]=b;return!a&&C.isVoid(e,E)}}),y=[];for(var[g,v]of d){var m=p&&X.compare(v,p[1])===0;if(r!=="highest"||!m){if(u(g,v))if(r==="lowest"&&m)p=[g,v];else{var h=r==="lowest"?p:[g,v];h&&(o?y.push(h):yield h),p=[g,v]}else if(o&&!m&&Ye.isText(g))return}}r==="lowest"&&p&&(o?y.push(p):yield p),o&&(yield*y)}},normalize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=t,r=i=>V0.get(i)||[];if(C.isNormalizing(e)){if(n){var o=Array.from(Le.nodes(e),i=>{var[,a]=i;return a});V0.set(e,o)}r(e).length!==0&&C.withoutNormalizing(e,()=>{for(var i of r(e))if(Le.has(e,i)){var a=C.node(e,i),[u,s]=a;ft.isElement(u)&&u.children.length===0&&e.normalizeNode(a)}for(var l=42*r(e).length,c=0;r(e).length!==0;){if(c>l)throw new Error(`
Could not completely normalize the editor after `.concat(l,` iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
`));var f=r(e).pop();if(Le.has(e,f)){var p=C.node(e,f);e.normalizeNode(p)}c++}})}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=C.path(e,t,n),o=X.parent(r);return C.node(e,o)},path(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:o}=n;if(X.isPath(t)){if(o==="start"){var[,i]=Le.first(e,t);t=i}else if(o==="end"){var[,a]=Le.last(e,t);t=a}}return re.isRange(t)&&(t=o==="start"?re.start(t):o==="end"?re.end(t):X.common(t.anchor.path,t.focus.path)),Wt.isPoint(t)&&(t=t.path),r!=null&&(t=t.slice(0,r)),t},hasPath:(e,t)=>Le.has(e,t),pathRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:i}=o;return C.pathRefs(e).delete(o),o.current=null,i}};return C.pathRefs(e).add(o),o},pathRefs(e){var t=N6.get(e);return t||(t=new Set,N6.set(e,t)),t},point(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(X.isPath(t)){var o;if(r==="end"){var[,i]=Le.last(e,t);o=i}else{var[,a]=Le.first(e,t);o=a}var u=Le.get(e,o);if(!Ye.isText(u))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:r==="end"?u.text.length:0}}if(re.isRange(t)){var[s,l]=re.edges(t);return r==="start"?s:l}return t},pointRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:i}=o;return C.pointRefs(e).delete(o),o.current=null,i}};return C.pointRefs(e).add(o),o},pointRefs(e){var t=B6.get(e);return t||(t=new Set,B6.set(e,t)),t},*positions(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=C.range(e,n),[u,s]=re.edges(a),l=o?s:u,c=!1,f="",p=0,d=0,y=0;for(var[g,v]of C.nodes(e,{at:n,reverse:o,voids:i})){if(ft.isElement(g)){if(!i&&e.isVoid(g)){yield C.start(e,v);continue}if(e.isInline(g))continue;if(C.hasInlines(e,g)){var m=X.isAncestor(v,s.path)?s:C.end(e,v),h=X.isAncestor(v,u.path)?u:C.start(e,v);f=C.string(e,{anchor:h,focus:m},{voids:i}),c=!0}}if(Ye.isText(g)){var b=X.equals(v,l.path);for(b?(d=o?l.offset:g.text.length-l.offset,y=l.offset):(d=g.text.length,y=o?d:0),(b||c||r==="offset")&&(yield{path:v,offset:y},c=!1);;){if(p===0){if(f==="")break;p=E(f,r,o),f=JE(f,p,o)[1]}if(y=o?y-p:y+p,(d-=p)<0){p=-d;break}p=0,yield{path:v,offset:y}}}}}function E(w,S,x){return S==="character"?YE(w,x):S==="word"?function(B){for(var U=arguments.length>1&&arguments[1]!==void 0&&arguments[1],oe=0,fe=!1;B.length>0;){var ie=YE(B,U),[De,me]=JE(B,ie,U);if(IG(De,me,U))fe=!0,oe+=ie;else{if(fe)break;oe+=ie}B=me}return oe}(w,x):S==="line"||S==="block"?w.length:1}},previous(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=C.before(e,i,{voids:r});if(a){var[,u]=C.first(e,[]),s=[a.path,u];if(X.isPath(i)&&i.length===0)throw new Error("Cannot get the previous node from the root node!");if(o==null)if(X.isPath(i)){var[l]=C.parent(e,i);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=C.nodes(e,{reverse:!0,at:s,match:o,mode:n,voids:r});return c}}},range:(e,t,n)=>re.isRange(t)&&!n?t:{anchor:C.start(e,t),focus:C.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:i}=o;return C.rangeRefs(e).delete(o),o.current=null,i}};return C.rangeRefs(e).add(o),o},rangeRefs(e){var t=F6.get(e);return t||(t=new Set,F6.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){j6.set(e,t)},start:(e,t)=>C.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,o=C.range(e,t),[i,a]=re.edges(o),u="";for(var[s,l]of C.nodes(e,{at:o,match:Ye.isText,voids:r})){var c=s.text;X.equals(l,a.path)&&(c=c.slice(0,a.offset)),X.equals(l,i.path)&&(c=c.slice(i.offset)),u+=c}return u},unhangRange(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[o,i]=re.edges(t);if(o.offset!==0||i.offset!==0||re.isCollapsed(t))return t;var a=C.above(e,{at:i,match:p=>C.isBlock(e,p)}),u=a?a[1]:[],s={anchor:C.start(e,[]),focus:i},l=!0;for(var[c,f]of C.nodes(e,{at:s,match:Ye.isText,reverse:!0,voids:r}))if(l)l=!1;else if(c.text!==""||X.isBefore(f,u)){i={path:f,offset:c.text.length};break}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(e,xc(xc({},t),{},{match:n=>C.isVoid(e,n)}))},withoutNormalizing(e,t){var n=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,n)}C.normalize(e)}},Uye={isLocation:e=>X.isPath(e)||Wt.isPoint(e)||re.isRange(e)},uK={isSpan:e=>Array.isArray(e)&&e.length===2&&e.every(X.isPath)},sK=["children"],lK=["text"],U6=new WeakMap,Le={ancestor(e,t){var n=Le.get(e,t);if(Ye.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of X.ancestors(t,n)){var o=[Le.ancestor(e,r),r];yield o}},child(e,t){if(Ye.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(n==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:r=!1}=n,o=Le.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=Le.child(o,a),s=t.concat(a);yield[u,s],a=r?a-1:a+1}},common(e,t,n){var r=X.common(t,n);return[Le.get(e,r),r]},descendant(e,t){var n=Le.get(e,t);if(C.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Le.nodes(e,t))r.length!==0&&(yield[n,r])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Le.nodes(e,t))ft.isElement(n)&&(yield[n,r])},extractProps:e=>ft.isAncestor(e)?za(e,sK):za(e,lK),first(e,t){for(var n=t.slice(),r=Le.get(e,n);r&&!Ye.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Ye.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=H0({children:e.children},r=>{var[o,i]=re.edges(t),a=Le.nodes(r,{reverse:!0,pass:p=>{var[,d]=p;return!re.includes(t,d)}});for(var[,u]of a){if(!re.includes(t,u)){var s=Le.parent(r,u),l=u[u.length-1];s.children.splice(l,1)}if(X.equals(u,i.path)){var c=Le.leaf(r,u);c.text=c.text.slice(0,i.offset)}if(X.equals(u,o.path)){var f=Le.leaf(r,u);f.text=f.text.slice(o.offset)}}C.isEditor(r)&&(r.selection=null)});return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Ye.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Ye.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>Ye.isText(e)||ft.isElement(e)||C.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=U6.get(e);if(t!==void 0)return t;var n=e.every(r=>Le.isNode(r));return U6.set(e,n),n},last(e,t){for(var n=t.slice(),r=Le.get(e,n);r&&!Ye.isText(r)&&r.children.length!==0;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=Le.get(e,t);if(!Ye.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of X.levels(t,n)){var o=Le.get(e,r);yield[o,r]}},matches:(e,t)=>ft.isElement(e)&&ft.isElementProps(t)&&ft.matches(e,t)||Ye.isText(e)&&Ye.isTextProps(t)&&Ye.matches(e,t),*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,u=[],s=e;!i||!(r?X.isBefore(u,i):X.isAfter(u,i));)if(a.has(s)||(yield[s,u]),a.has(s)||Ye.isText(s)||s.children.length===0||n!=null&&n([s,u])!==!1){if(u.length===0)break;if(!r){var l=X.next(u);if(Le.has(e,l)){u=l,s=Le.get(e,u);continue}}r&&u[u.length-1]!==0?(u=X.previous(u),s=Le.get(e,u)):(u=X.parent(u),s=Le.get(e,u),a.add(s))}else{a.add(s);var c=r?s.children.length-1:0;X.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),s=Le.get(e,u)}},parent(e,t){var n=X.parent(t),r=Le.get(e,n);if(Ye.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>Ye.isText(e)?e.text:e.children.map(Le.string).join(""),*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Le.nodes(e,t))Ye.isText(n)&&(yield[n,r])}};function z6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var xu={isNodeOperation:e=>xu.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!wo(e))return!1;switch(e.type){case"insert_node":case"remove_node":return X.isPath(e.path)&&Le.isNode(e.node);case"insert_text":case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&X.isPath(e.path);case"merge_node":return typeof e.position=="number"&&X.isPath(e.path)&&wo(e.properties);case"move_node":return X.isPath(e.path)&&X.isPath(e.newPath);case"set_node":return X.isPath(e.path)&&wo(e.properties)&&wo(e.newProperties);case"set_selection":return e.properties===null&&re.isRange(e.newProperties)||e.newProperties===null&&re.isRange(e.properties)||wo(e.properties)&&wo(e.newProperties);case"split_node":return X.isPath(e.path)&&typeof e.position=="number"&&wo(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(t=>xu.isOperation(t)),isSelectionOperation:e=>xu.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>xu.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return jr(jr({},e),{},{type:"remove_node"});case"insert_text":return jr(jr({},e),{},{type:"remove_text"});case"merge_node":return jr(jr({},e),{},{type:"split_node",path:X.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(X.equals(t,n))return e;if(X.isSibling(n,t))return jr(jr({},e),{},{path:t,newPath:n});var r=X.transform(n,e),o=X.transform(X.next(n),e);return jr(jr({},e),{},{path:r,newPath:o});case"remove_node":return jr(jr({},e),{},{type:"insert_node"});case"remove_text":return jr(jr({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return jr(jr({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=e;return jr(jr({},e),{},u==null?{properties:s,newProperties:null}:s==null?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return jr(jr({},e),{},{type:"merge_node",path:X.next(e.path)})}}},X={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=X.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return X.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return X.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return X.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every((n,r)=>n===t[r]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>X.compare(e,t)===1,isAncestor:(e,t)=>e.length<t.length&&X.compare(e,t)===0,isBefore:(e,t)=>X.compare(e,t)===-1,isChild:(e,t)=>e.length===t.length+1&&X.compare(e,t)===0,isCommon:(e,t)=>e.length<=t.length&&X.compare(e,t)===0,isDescendant:(e,t)=>e.length>t.length&&X.compare(e,t)===0,isParent:(e,t)=>e.length+1===t.length&&X.compare(e,t)===0,isPath:e=>Array.isArray(e)&&(e.length===0||typeof e[0]=="number"),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&X.equals(n,r)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!X.isAncestor(t,e)&&!X.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return H0(e,r=>{var{affinity:o="forward"}=n;if(e&&(e==null?void 0:e.length)!==0){if(r===null)return null;switch(t.type){case"insert_node":var{path:i}=t;(X.equals(i,r)||X.endsBefore(i,r)||X.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(X.equals(a,r)||X.isAncestor(a,r))return null;X.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:u,position:s}=t;X.equals(u,r)||X.endsBefore(u,r)?r[u.length-1]-=1:X.isAncestor(u,r)&&(r[u.length-1]-=1,r[u.length]+=s);break;case"split_node":var{path:l,position:c}=t;if(X.equals(l,r)){if(o==="forward")r[r.length-1]+=1;else if(o!=="backward")return null}else X.endsBefore(l,r)?r[l.length-1]+=1:X.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:p}=t;if(X.equals(f,p))return;if(X.isAncestor(f,r)||X.equals(f,r)){var d=p.slice();return X.endsBefore(f,p)&&f.length<p.length&&(d[f.length-1]-=1),d.concat(r.slice(f.length))}X.isSibling(f,p)&&(X.isAncestor(p,r)||X.equals(p,r))?X.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:X.endsBefore(p,r)||X.equals(p,r)||X.isAncestor(p,r)?(X.endsBefore(f,r)&&(r[f.length-1]-=1),r[p.length-1]+=1):X.endsBefore(f,r)&&(X.equals(p,r)&&(r[p.length-1]+=1),r[f.length-1]-=1)}}})}},cK={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=X.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}};function H6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function V6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?H6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Wt={compare(e,t){var n=X.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>Wt.compare(e,t)===1,isBefore:(e,t)=>Wt.compare(e,t)===-1,equals:(e,t)=>e.offset===t.offset&&X.equals(e.path,t.path),isPoint:e=>wo(e)&&typeof e.offset=="number"&&X.isPath(e.path),transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return H0(e,r=>{if(r===null)return null;var{affinity:o="forward"}=n,{path:i,offset:a}=r;switch(t.type){case"insert_node":case"move_node":r.path=X.transform(i,t,n);break;case"insert_text":X.equals(t.path,i)&&t.offset<=a&&(r.offset+=t.text.length);break;case"merge_node":X.equals(t.path,i)&&(r.offset+=t.position),r.path=X.transform(i,t,n);break;case"remove_text":X.equals(t.path,i)&&t.offset<=a&&(r.offset-=Math.min(a-t.offset,t.text.length));break;case"remove_node":if(X.equals(t.path,i)||X.isAncestor(t.path,i))return null;r.path=X.transform(i,t,n);break;case"split_node":if(X.equals(t.path,i)){if(t.position===a&&o==null)return null;(t.position<a||t.position===a&&o==="forward")&&(r.offset-=t.position,r.path=X.transform(i,t,V6(V6({},n),{},{affinity:"forward"})))}else r.path=X.transform(i,t,n)}})}},fK={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=Wt.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},dK=["anchor","focus"];function W6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}var re={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return re.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=re.edges(e);return t},equals:(e,t)=>Wt.equals(e.anchor,t.anchor)&&Wt.equals(e.focus,t.focus),includes(e,t){if(re.isRange(t)){if(re.includes(e,t.anchor)||re.includes(e,t.focus))return!0;var[n,r]=re.edges(e),[o,i]=re.edges(t);return Wt.isBefore(n,o)&&Wt.isAfter(r,i)}var[a,u]=re.edges(e),s=!1,l=!1;return Wt.isPoint(t)?(s=Wt.compare(t,a)>=0,l=Wt.compare(t,u)<=0):(s=X.compare(t,a.path)>=0,l=X.compare(t,u.path)<=0),s&&l},intersection(e,t){var n=za(e,dK),[r,o]=re.edges(e),[i,a]=re.edges(t),u=Wt.isBefore(r,i)?i:r,s=Wt.isBefore(o,a)?o:a;return Wt.isBefore(s,u)?null:function(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?arguments[c]:{};c%2?W6(Object(f),!0).forEach(function(p){sa(l,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(f)):W6(Object(f)).forEach(function(p){Object.defineProperty(l,p,Object.getOwnPropertyDescriptor(f,p))})}return l}({anchor:u,focus:s},n)},isBackward(e){var{anchor:t,focus:n}=e;return Wt.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return Wt.equals(t,n)},isExpanded:e=>!re.isCollapsed(e),isForward:e=>!re.isBackward(e),isRange:e=>wo(e)&&Wt.isPoint(e.anchor)&&Wt.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=re.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return H0(e,r=>{if(r===null)return null;var o,i,{affinity:a="inward"}=n;if(a==="inward"){var u=re.isCollapsed(r);re.isForward(r)?(o="forward",i=u?o:"backward"):(o="backward",i=u?o:"forward")}else a==="outward"?re.isForward(r)?(o="backward",i="forward"):(o="forward",i="backward"):(o=a,i=a);var s=Wt.transform(r.anchor,t,{affinity:o}),l=Wt.transform(r.focus,t,{affinity:i});if(!s||!l)return null;r.anchor=s,r.focus=l})}},pK={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=re.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},G6=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(wo(r)&&wo(o)){if(!G6(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in t)if(e[a]===void 0&&t[a]!==void 0)return!1;return!0},hK=["text"],gK=["anchor","focus"];function K6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ha(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?K6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Ye={equals(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function o(i){return za(i,hK)}return G6(r?o(e):e,r?o(t):t)},isText:e=>wo(e)&&typeof e.text=="string",isTextList:e=>Array.isArray(e)&&e.every(t=>Ye.isText(t)),isTextProps:e=>e.text!==void 0,matches(e,t){for(var n in t)if(n!=="text"&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Ha({},e)];for(var r of t){var o=za(r,gK),[i,a]=re.edges(r),u=[],s=0;for(var l of n){var{length:c}=l.text,f=s;if(s+=c,i.offset<=f&&a.offset>=s)Object.assign(l,o),u.push(l);else if(i.offset!==a.offset&&(i.offset===s||a.offset===f)||i.offset>s||a.offset<f||a.offset===f&&f!==0)u.push(l);else{var p=l,d=void 0,y=void 0;if(a.offset<s){var g=a.offset-f;y=Ha(Ha({},p),{},{text:p.text.slice(g)}),p=Ha(Ha({},p),{},{text:p.text.slice(0,g)})}if(i.offset>f){var v=i.offset-f;d=Ha(Ha({},p),{},{text:p.text.slice(0,v)}),p=Ha(Ha({},p),{},{text:p.text.slice(v)})}Object.assign(p,o),d&&u.push(d),u.push(p),y&&u.push(y)}}n=u}return n}};function X6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function zd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var vK={transform(e,t){e.children=P6(e.children);var n=e.selection&&P6(e.selection);try{n=((r,o,i)=>{switch(i.type){case"insert_node":var{path:a,node:u}=i,s=Le.parent(r,a),l=a[a.length-1];if(l>s.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(a,"] because the destination is past the end of the node."));if(s.children.splice(l,0,u),o)for(var[c,f]of re.points(o))o[f]=Wt.transform(c,i);break;case"insert_text":var{path:p,offset:d,text:y}=i;if(y.length===0)break;var g=Le.leaf(r,p),v=g.text.slice(0,d),m=g.text.slice(d);if(g.text=v+y+m,o)for(var[h,b]of re.points(o))o[b]=Wt.transform(h,i);break;case"merge_node":var{path:E}=i,w=Le.get(r,E),S=X.previous(E),x=Le.get(r,S),B=Le.parent(r,E),U=E[E.length-1];if(Ye.isText(w)&&Ye.isText(x))x.text+=w.text;else{if(Ye.isText(w)||Ye.isText(x))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(E,"] to nodes of different interfaces: ").concat(w," ").concat(x));x.children.push(...w.children)}if(B.children.splice(U,1),o)for(var[oe,fe]of re.points(o))o[fe]=Wt.transform(oe,i);break;case"move_node":var{path:ie,newPath:De}=i;if(X.isAncestor(ie,De))throw new Error("Cannot move a path [".concat(ie,"] to new path [").concat(De,"] because the destination is inside itself."));var me=Le.get(r,ie),ye=Le.parent(r,ie),we=ie[ie.length-1];ye.children.splice(we,1);var Ve=X.transform(ie,i),st=Le.get(r,X.parent(Ve)),at=Ve[Ve.length-1];if(st.children.splice(at,0,me),o)for(var[rt,L]of re.points(o))o[L]=Wt.transform(rt,i);break;case"remove_node":var{path:R}=i,G=R[R.length-1];if(Le.parent(r,R).children.splice(G,1),o)for(var[le,Re]of re.points(o)){var he=Wt.transform(le,i);if(o!=null&&he!=null)o[Re]=he;else{var Qe=void 0,Ct=void 0;for(var[Tt,Lt]of Le.texts(r)){if(X.compare(Lt,R)!==-1){Ct=[Tt,Lt];break}Qe=[Tt,Lt]}var Ce=!1;Qe&&Ct&&(Ce=X.equals(Ct[1],R)?!X.hasPrevious(Ct[1]):X.common(Qe[1],R).length<X.common(Ct[1],R).length),Qe&&!Ce?(le.path=Qe[1],le.offset=Qe[0].text.length):Ct?(le.path=Ct[1],le.offset=0):o=null}}break;case"remove_text":var{path:en,offset:Ht,text:ht}=i;if(ht.length===0)break;var Vt=Le.leaf(r,en),br=Vt.text.slice(0,Ht),dn=Vt.text.slice(Ht+ht.length);if(Vt.text=br+dn,o)for(var[Rn,nr]of re.points(o))o[nr]=Wt.transform(Rn,i);break;case"set_node":var{path:_o,properties:sn,newProperties:Jo}=i;if(_o.length===0)throw new Error("Cannot set properties on the root node!");var ea=Le.get(r,_o);for(var Ra in Jo){if(Ra==="children"||Ra==="text")throw new Error('Cannot set the "'.concat(Ra,'" property of nodes!'));var dd=Jo[Ra];dd==null?delete ea[Ra]:ea[Ra]=dd}for(var lc in sn)Jo.hasOwnProperty(lc)||delete ea[lc];break;case"set_selection":var{newProperties:ta}=i;if(ta==null)o=ta;else{if(o==null){if(!re.isRange(ta))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(ta)," when there is no current selection."));o=zd({},ta)}for(var ja in ta){var au=ta[ja];if(au==null){if(ja==="anchor"||ja==="focus")throw new Error('Cannot remove the "'.concat(ja,'" selection property'));delete o[ja]}else o[ja]=au}}break;case"split_node":var{path:To,position:Po,properties:Ro}=i;if(To.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(To,"] because the root node cannot be split."));var Lo,so=Le.get(r,To),ki=Le.parent(r,To),r0=To[To.length-1];if(Ye.isText(so)){var Fs=so.text.slice(0,Po),uu=so.text.slice(Po);so.text=Fs,Lo=zd(zd({},Ro),{},{text:uu})}else{var pd=so.children.slice(0,Po),cc=so.children.slice(Po);so.children=pd,Lo=zd(zd({},Ro),{},{children:cc})}if(ki.children.splice(r0+1,0,Lo),o)for(var[hd,na]of re.points(o))o[na]=Wt.transform(hd,i)}return o})(e,n,t)}finally{e.children=R6(e.children),e.selection=n?Ys(n)?R6(n):n:null}}},mK=["text"],yK=["children"];function Y6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function J6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Y6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var bK={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:u,select:s}=n;if(Le.isNode(t)&&(t=[t]),t.length!==0){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],s=!0),s==null&&(s=!1),re.isRange(a))if(r||(a=C.unhangRange(e,a)),re.isCollapsed(a))a=a.anchor;else{var[,c]=re.edges(a),f=C.pointRef(e,c);Z.delete(e,{at:a}),a=f.unref()}if(Wt.isPoint(a)){u==null&&(u=Ye.isText(l)?S=>Ye.isText(S):e.isInline(l)?S=>Ye.isText(S)||C.isInline(e,S):S=>C.isBlock(e,S));var[p]=C.nodes(e,{at:a.path,match:u,mode:i,voids:o});if(!p)return;var[,d]=p,y=C.pathRef(e,d),g=C.isEnd(e,a,d);Z.splitNodes(e,{at:a,match:u,mode:i,voids:o});var v=y.unref();a=g?X.next(v):v}var m=X.parent(a),h=a[a.length-1];if(o||!C.void(e,{at:m})){for(var b of t){var E=m.concat(h);h++,e.apply({type:"insert_node",path:E,node:b}),a=X.next(a)}if(a=X.previous(a),s){var w=C.end(e,a);w&&Z.select(e,w)}}}})},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(i==null&&(i=X.isPath(n)?Ac(e,n):b=>C.isBlock(e,b)),n){var a=C.nodes(e,{at:n,match:i,mode:r,voids:o}),u=Array.from(a,b=>{var[,E]=b;return C.pathRef(e,E)});for(var s of u){var l=s.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=C.node(e,X.parent(l)),[f,p]=c,d=l[l.length-1],{length:y}=f.children;if(y===1){var g=X.next(p);Z.moveNodes(e,{at:l,to:g,voids:o}),Z.removeNodes(e,{at:p,voids:o})}else if(d===0)Z.moveNodes(e,{at:l,to:p,voids:o});else if(d===y-1){var v=X.next(p);Z.moveNodes(e,{at:l,to:v,voids:o})}else{var m=X.next(l),h=X.next(p);Z.splitNodes(e,{at:m,voids:o}),Z.moveNodes(e,{at:l,to:h,voids:o})}}}})},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(n==null)if(X.isPath(r)){var[u]=C.parent(e,r);n=U=>u.children.includes(U)}else n=U=>C.isBlock(e,U);if(!o&&re.isRange(r)&&(r=C.unhangRange(e,r)),re.isRange(r))if(re.isCollapsed(r))r=r.anchor;else{var[,s]=re.edges(r),l=C.pointRef(e,s);Z.delete(e,{at:r}),r=l.unref(),t.at==null&&Z.select(e,r)}var[c]=C.nodes(e,{at:r,match:n,voids:i,mode:a}),f=C.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&f){var[p,d]=c,[y,g]=f;if(d.length!==0&&g.length!==0){var v,m,h=X.next(g),b=X.common(d,g),E=X.isSibling(d,g),w=Array.from(C.levels(e,{at:d}),U=>{var[oe]=U;return oe}).slice(b.length).slice(0,-1),S=C.above(e,{at:d,mode:"highest",match:U=>w.includes(U)&&Z6(e,U)}),x=S&&C.pathRef(e,S[1]);if(Ye.isText(p)&&Ye.isText(y)){var B=za(p,mK);m=y.text.length,v=B}else{if(!ft.isElement(p)||!ft.isElement(y))throw new Error("Cannot merge the node at path [".concat(d,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(p)," ").concat(JSON.stringify(y)));B=za(p,yK),m=y.children.length,v=B}E||Z.moveNodes(e,{at:d,to:h,voids:i}),x&&Z.removeNodes(e,{at:x.current,voids:i}),ft.isElement(y)&&C.isEmpty(e,y)||Ye.isText(y)&&y.text===""&&g[g.length-1]!==0?Z.removeNodes(e,{at:g,voids:i}):e.apply({type:"merge_node",path:h,position:m,properties:v}),x&&x.unref()}}}})},moveNodes(e,t){C.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){a==null&&(a=X.isPath(r)?Ac(e,r):d=>C.isBlock(e,d));var u=C.pathRef(e,n),s=C.nodes(e,{at:r,match:a,mode:o,voids:i}),l=Array.from(s,d=>{var[,y]=d;return C.pathRef(e,y)});for(var c of l){var f=c.unref(),p=u.current;f.length!==0&&e.apply({type:"move_node",path:f,newPath:p}),u.current&&X.isSibling(p,f)&&X.isAfter(p,f)&&(u.current=X.next(u.current))}u.unref()}})},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){a==null&&(a=X.isPath(i)?Ac(e,i):p=>C.isBlock(e,p)),!n&&re.isRange(i)&&(i=C.unhangRange(e,i));var u=C.nodes(e,{at:i,match:a,mode:o,voids:r}),s=Array.from(u,p=>{var[,d]=p;return C.pathRef(e,d)});for(var l of s){var c=l.unref();if(c){var[f]=C.node(e,c);e.apply({type:"remove_node",path:c,node:f})}}}})},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:u=!1,voids:s=!1}=n;if(o){if(r==null&&(r=X.isPath(o)?Ac(e,o):w=>C.isBlock(e,w)),!i&&re.isRange(o)&&(o=C.unhangRange(e,o)),u&&re.isRange(o)){if(re.isCollapsed(o)&&C.leaf(e,o.anchor)[0].text.length>0)return;var l=C.rangeRef(e,o,{affinity:"inward"}),[c,f]=re.edges(o),p=a==="lowest"?"lowest":"highest",d=C.isEnd(e,f,f.path);Z.splitNodes(e,{at:f,match:r,mode:p,voids:s,always:!d});var y=C.isStart(e,c,c.path);Z.splitNodes(e,{at:c,match:r,mode:p,voids:s,always:!y}),o=l.unref(),n.at==null&&Z.select(e,o)}for(var[g,v]of C.nodes(e,{at:o,match:r,mode:a,voids:s})){var m={},h={};if(v.length!==0){var b=!1;for(var E in t)E!=="children"&&E!=="text"&&t[E]!==g[E]&&(b=!0,g.hasOwnProperty(E)&&(m[E]=g[E]),t[E]!=null&&(h[E]=t[E]));b&&e.apply({type:"set_node",path:v,properties:m,newProperties:h})}}}})},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:u=!1}=t;if(o==null&&(o=me=>C.isBlock(e,me)),re.isRange(i)&&(i=EK(e,i)),X.isPath(i)){var s=i,l=C.point(e,s),[c]=C.parent(e,s);o=me=>me===c,a=l.path.length-s.length+1,i=l,u=!0}if(i){var f=C.pointRef(e,i,{affinity:"backward"}),[p]=C.nodes(e,{at:i,match:o,mode:n,voids:r});if(p){var d=C.void(e,{at:i,mode:"highest"});if(!r&&d){var[y,g]=d;if(ft.isElement(y)&&e.isInline(y)){var v=C.after(e,g);if(!v){var m=X.next(g);Z.insertNodes(e,{text:""},{at:m,voids:r}),v=C.point(e,m)}i=v,u=!0}a=i.path.length-g.length+1,u=!0}var h=C.pointRef(e,i),b=i.path.length-a,[,E]=p,w=i.path.slice(0,b),S=a===0?i.offset:i.path[b]+0;for(var[x,B]of C.levels(e,{at:w,reverse:!0,voids:r})){var U=!1;if(B.length<E.length||B.length===0||!r&&C.isVoid(e,x))break;var oe=f.current,fe=C.isEnd(e,oe,B);if(u||!f||!C.isEdge(e,oe,B)){U=!0;var ie=Le.extractProps(x);e.apply({type:"split_node",path:B,position:S,properties:ie})}S=B[B.length-1]+(U||fe?1:0)}if(t.at==null){var De=h.current||C.end(e,[]);Z.select(e,De)}f.unref(),h.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;Z.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){a==null&&(a=X.isPath(i)?Ac(e,i):p=>C.isBlock(e,p)),X.isPath(i)&&(i=C.range(e,i));var u=re.isRange(i)?C.rangeRef(e,i):null,s=C.nodes(e,{at:i,match:a,mode:n,voids:o}),l=Array.from(s,p=>{var[,d]=p;return C.pathRef(e,d)}).reverse(),c=function(p){var d=p.unref(),[y]=C.node(e,d),g=C.range(e,d);r&&u&&(g=re.intersection(u.current,g)),Z.liftNodes(e,{at:g,match:v=>ft.isAncestor(y)&&y.children.includes(v),voids:o})};for(var f of l)c(f);u&&u.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:u=e.selection}=n;if(u){if(a==null&&(a=X.isPath(u)?Ac(e,u):e.isInline(t)?v=>C.isInline(e,v)||Ye.isText(v):v=>C.isBlock(e,v)),o&&re.isRange(u)){var[s,l]=re.edges(u),c=C.rangeRef(e,u,{affinity:"inward"});Z.splitNodes(e,{at:l,match:a,voids:i}),Z.splitNodes(e,{at:s,match:a,voids:i}),u=c.unref(),n.at==null&&Z.select(e,u)}var f=Array.from(C.nodes(e,{at:u,match:e.isInline(t)?v=>C.isBlock(e,v):v=>C.isEditor(v),mode:"lowest",voids:i}));for(var[,p]of f){var d=re.isRange(u)?re.intersection(u,C.range(e,p)):u;if(d){var y=Array.from(C.nodes(e,{at:d,match:a,mode:r,voids:i}));if(y.length>0){var g=function(){var[v]=y,m=y[y.length-1],[,h]=v,[,b]=m;if(h.length===0&&b.length===0)return"continue";var E=X.equals(h,b)?X.parent(h):X.common(h,b),w=C.range(e,h,b),S=C.node(e,E),[x]=S,B=E.length+1,U=X.next(b.slice(0,B)),oe=J6(J6({},t),{},{children:[]});Z.insertNodes(e,oe,{at:U,voids:i}),Z.moveNodes(e,{at:w,match:fe=>ft.isAncestor(x)&&x.children.includes(fe),to:U.concat(0),voids:i})}();if(g==="continue")continue}}}}})}},Z6=(e,t)=>{if(ft.isElement(t)){var n=t;return!!C.isVoid(e,t)||n.children.length===1&&Z6(e,n.children[0])}return!C.isEditor(t)},EK=(e,t)=>{if(re.isCollapsed(t))return t.anchor;var[,n]=re.edges(t),r=C.pointRef(e,n);return Z.delete(e,{at:t}),r.unref()},Ac=(e,t)=>{var[n]=C.node(e,t);return r=>r===n};function Q6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function q6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Q6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var CK={collapse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if(n==="anchor")Z.select(e,r.anchor);else if(n==="focus")Z.select(e,r.focus);else if(n==="start"){var[o]=re.edges(r);Z.select(e,o)}else if(n==="end"){var[,i]=re.edges(r);Z.select(e,i)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){a==="start"&&(a=re.isBackward(n)?"focus":"anchor"),a==="end"&&(a=re.isBackward(n)?"anchor":"focus");var{anchor:u,focus:s}=n,l={distance:r,unit:o},c={};if(a==null||a==="anchor"){var f=i?C.before(e,u,l):C.after(e,u,l);f&&(c.anchor=f)}if(a==null||a==="focus"){var p=i?C.before(e,s,l):C.after(e,s,l);p&&(c.focus=p)}Z.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=C.range(e,t),n)Z.setSelection(e,t);else{if(!re.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){o==="start"&&(o=re.isBackward(r)?"focus":"anchor"),o==="end"&&(o=re.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,u=o==="anchor"?i:a;Z.setSelection(e,{[o==="anchor"?"anchor":"focus"]:q6(q6({},u),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)(i==="anchor"&&t.anchor!=null&&!Wt.equals(t.anchor,n.anchor)||i==="focus"&&t.focus!=null&&!Wt.equals(t.focus,n.focus)||i!=="anchor"&&i!=="focus"&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},wK={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:u=!1}=t;if(a){if(re.isRange(a)&&re.isCollapsed(a)&&(a=a.anchor),Wt.isPoint(a)){var s=C.void(e,{at:a,mode:"highest"});if(!i&&s){var[,l]=s;a=l}else{var c={unit:r,distance:o};a={anchor:a,focus:n?C.before(e,a,c)||C.start(e,[]):C.after(e,a,c)||C.end(e,[])},u=!0}}if(X.isPath(a))Z.removeNodes(e,{at:a,voids:i});else if(!re.isCollapsed(a)){if(!u){var[,f]=re.edges(a),p=C.end(e,[]);Wt.equals(f,p)||(a=C.unhangRange(e,a,{voids:i}))}var[d,y]=re.edges(a),g=C.above(e,{match:Ct=>C.isBlock(e,Ct),at:d,voids:i}),v=C.above(e,{match:Ct=>C.isBlock(e,Ct),at:y,voids:i}),m=g&&v&&!X.equals(g[1],v[1]),h=X.equals(d.path,y.path),b=i?null:C.void(e,{at:d,mode:"highest"}),E=i?null:C.void(e,{at:y,mode:"highest"});if(b){var w=C.before(e,d);w&&g&&X.isAncestor(g[1],w.path)&&(d=w)}if(E){var S=C.after(e,y);S&&v&&X.isAncestor(v[1],S.path)&&(y=S)}var x,B=[];for(var U of C.nodes(e,{at:a,voids:i})){var[oe,fe]=U;x&&X.compare(fe,x)===0||(!i&&C.isVoid(e,oe)||!X.isCommon(fe,d.path)&&!X.isCommon(fe,y.path))&&(B.push(U),x=fe)}var ie=Array.from(B,Ct=>{var[,Tt]=Ct;return C.pathRef(e,Tt)}),De=C.pointRef(e,d),me=C.pointRef(e,y);if(!h&&!b){var ye=De.current,[we]=C.leaf(e,ye),{path:Ve}=ye,{offset:st}=d,at=we.text.slice(st);at.length>0&&e.apply({type:"remove_text",path:Ve,offset:st,text:at})}for(var rt of ie){var L=rt.unref();Z.removeNodes(e,{at:L,voids:i})}if(!E){var R=me.current,[G]=C.leaf(e,R),{path:le}=R,Re=h?d.offset:0,he=G.text.slice(Re,y.offset);he.length>0&&e.apply({type:"remove_text",path:le,offset:Re,text:he})}!h&&m&&me.current&&De.current&&Z.mergeNodes(e,{at:me.current,hanging:!0,voids:i});var Qe=n?De.unref()||me.unref():me.unref()||De.unref();t.at==null&&Qe&&Z.select(e,Qe)}}})},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(re.isRange(i))if(r||(i=C.unhangRange(e,i)),re.isCollapsed(i))i=i.anchor;else{var[,a]=re.edges(i);if(!o&&C.void(e,{at:a}))return;var u=C.pointRef(e,a);Z.delete(e,{at:i}),i=u.unref()}else X.isPath(i)&&(i=C.start(e,i));if(o||!C.void(e,{at:i})){var s=C.above(e,{at:i,match:R=>C.isInline(e,R),mode:"highest",voids:o});if(s){var[,l]=s;C.isEnd(e,i,l)?i=C.after(e,l):C.isStart(e,i,l)&&(i=C.before(e,l))}var c=C.above(e,{match:R=>C.isBlock(e,R),at:i,voids:o}),[,f]=c,p=C.isStart(e,i,f),d=C.isEnd(e,i,f),y=p&&d,g=!p||p&&d,v=!d,[,m]=Le.first({children:t},[]),[,h]=Le.last({children:t},[]),b=[],E=R=>{var[G,le]=R;return!(le.length===0)&&(!!y||!(g&&X.isAncestor(le,m)&&ft.isElement(G)&&!e.isVoid(G)&&!e.isInline(G))&&!(v&&X.isAncestor(le,h)&&ft.isElement(G)&&!e.isVoid(G)&&!e.isInline(G)))};for(var w of Le.nodes({children:t},{pass:E}))E(w)&&b.push(w);var S=[],x=[],B=[],U=!0,oe=!1;for(var[fe]of b)ft.isElement(fe)&&!e.isInline(fe)?(U=!1,oe=!0,x.push(fe)):U?S.push(fe):B.push(fe);var[ie]=C.nodes(e,{at:i,match:R=>Ye.isText(R)||C.isInline(e,R),mode:"highest",voids:o}),[,De]=ie,me=C.isStart(e,i,De),ye=C.isEnd(e,i,De),we=C.pathRef(e,d?X.next(f):f),Ve=C.pathRef(e,ye?X.next(De):De),st=C.pathRef(e,f);Z.splitNodes(e,{at:i,match:R=>oe?C.isBlock(e,R):Ye.isText(R)||C.isInline(e,R),mode:oe?"lowest":"highest",voids:o});var at=C.pathRef(e,!me||me&&ye?X.next(De):De);if(Z.insertNodes(e,S,{at:at.current,match:R=>Ye.isText(R)||C.isInline(e,R),mode:"highest",voids:o}),y&&x.length&&Z.delete(e,{at:st.unref(),voids:o}),Z.insertNodes(e,x,{at:we.current,match:R=>C.isBlock(e,R),mode:"lowest",voids:o}),Z.insertNodes(e,B,{at:Ve.current,match:R=>Ye.isText(R)||C.isInline(e,R),mode:"highest",voids:o}),!n.at){var rt;rt=B.length>0?X.previous(Ve.current):x.length>0?X.previous(we.current):X.previous(at.current);var L=C.end(e,rt);Z.select(e,L)}at.unref(),we.unref(),Ve.unref()}}})},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(X.isPath(o)&&(o=C.range(e,o)),re.isRange(o))if(re.isCollapsed(o))o=o.anchor;else{var i=re.end(o);if(!r&&C.void(e,{at:i}))return;var a=C.pointRef(e,i);Z.delete(e,{at:o,voids:r}),o=a.unref(),Z.setSelection(e,{anchor:o,focus:o})}if(r||!C.void(e,{at:o})){var{path:u,offset:s}=o;t.length>0&&e.apply({type:"insert_text",path:u,offset:s,text:t})}}})}};function $6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function G0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$6(Object(n),!0).forEach(function(r){sa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Z=G0(G0(G0(G0({},vK),bK),CK),wK),ZE="[object Map]",QE="[object Set]",xK=/^\[object .+?Constructor\]$/,AK=/^(?:0|[1-9]\d*)$/,SK="[\\ud800-\\udfff]",qE="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",$E="\\ud83c[\\udffb-\\udfff]",e8="[^\\ud800-\\udfff]",t8="(?:\\ud83c[\\udde6-\\uddff]){2}",n8="[\\ud800-\\udbff][\\udc00-\\udfff]",r8="(?:"+qE+"|"+$E+")?",DK="[\\ufe0e\\ufe0f]?"+r8+("(?:\\u200d(?:"+[e8,t8,n8].join("|")+")[\\ufe0e\\ufe0f]?"+r8+")*"),OK="(?:"+[e8+qE+"?",qE,t8,n8,SK].join("|")+")",_K=RegExp($E+"(?="+$E+")|"+OK+DK,"g"),TK=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),PK=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,RK=typeof self=="object"&&self&&self.Object===Object&&self,Qs=PK||RK||Function("return this")();function jK(e,t){return function(n,r){for(var o=-1,i=n?n.length:0,a=Array(i);++o<i;)a[o]=r(n[o],o,n);return a}(t,function(n){return e[n]})}function NK(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function BK(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function FK(e){return function(t){return TK.test(t)}(e)?function(t){return t.match(_K)||[]}(e):function(t){return t.split("")}(e)}var o8,i8,kK=Function.prototype,K0=Object.prototype,e2=Qs["__core-js_shared__"],a8=function(){var e=/[^.]+$/.exec(e2&&e2.keys&&e2.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),u8=kK.toString,X0=K0.hasOwnProperty,Hd=K0.toString,LK=RegExp("^"+u8.call(X0).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),s8=Qs.Symbol,t2=s8?s8.iterator:void 0,MK=K0.propertyIsEnumerable,IK=(o8=Object.keys,i8=Object,function(e){return o8(i8(e))}),n2=Vd(Qs,"DataView"),r2=Vd(Qs,"Map"),o2=Vd(Qs,"Promise"),i2=Vd(Qs,"Set"),a2=Vd(Qs,"WeakMap"),UK=$s(n2),zK=$s(r2),HK=$s(o2),VK=$s(i2),WK=$s(a2);function GK(e,t){var n=l8(e)||function(a){return function(u){return d8(u)&&u2(u)}(a)&&X0.call(a,"callee")&&(!MK.call(a,"callee")||Hd.call(a)=="[object Arguments]")}(e)?function(a,u){for(var s=-1,l=Array(a);++s<a;)l[s]=u(s);return l}(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!X0.call(e,i)||o&&(i=="length"||YK(i,r))||n.push(i);return n}function KK(e){if(!f8(e)||function(n){return!!a8&&a8 in n}(e))return!1;var t=c8(e)||function(n){var r=!1;if(n!=null&&typeof n.toString!="function")try{r=!!(n+"")}catch(o){}return r}(e)?LK:xK;return t.test($s(e))}function XK(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||K0,t!==r)return IK(e);var t,n,r,o=[];for(var i in Object(e))X0.call(e,i)&&i!="constructor"&&o.push(i);return o}function Vd(e,t){var n=function(r,o){return r==null?void 0:r[o]}(e,t);return KK(n)?n:void 0}var qs=function(e){return Hd.call(e)};function YK(e,t){return!!(t=t==null?9007199254740991:t)&&(typeof e=="number"||AK.test(e))&&e>-1&&e%1==0&&e<t}function $s(e){if(e!=null){try{return u8.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(n2&&qs(new n2(new ArrayBuffer(1)))!="[object DataView]"||r2&&qs(new r2)!=ZE||o2&&qs(o2.resolve())!="[object Promise]"||i2&&qs(new i2)!=QE||a2&&qs(new a2)!="[object WeakMap]")&&(qs=function(e){var t=Hd.call(e),n=t=="[object Object]"?e.constructor:void 0,r=n?$s(n):void 0;if(r)switch(r){case UK:return"[object DataView]";case zK:return ZE;case HK:return"[object Promise]";case VK:return QE;case WK:return"[object WeakMap]"}return t});var l8=Array.isArray;function u2(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!c8(e)}function c8(e){var t=f8(e)?Hd.call(e):"";return t=="[object Function]"||t=="[object GeneratorFunction]"}function f8(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function d8(e){return!!e&&typeof e=="object"}function JK(e){return e?jK(e,function(t){return u2(t)?GK(t):XK(t)}(e)):[]}var p8=function(e){if(!e)return[];if(u2(e))return function(n){return typeof n=="string"||!l8(n)&&d8(n)&&Hd.call(n)=="[object String]"}(e)?FK(e):function(n,r){var o=-1,i=n.length;for(r||(r=Array(i));++o<i;)r[o]=n[o];return r}(e);if(t2&&e[t2])return function(n){for(var r,o=[];!(r=n.next()).done;)o.push(r.value);return o}(e[t2]());var t=qs(e);return(t==ZE?NK:t==QE?BK:JK)(e)};function h8(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function s2(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(n){e[n]===void 0?e[n]=t[n]:h8(t[n])&&h8(e[n])&&Object.keys(t[n]).length>0&&s2(e[n],t[n])})}var g8={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Wd(){var e=typeof document!="undefined"?document:{};return s2(e,g8),e}var ZK={document:g8,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout=="undefined"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout!="undefined"&&clearTimeout(e)}};function el(){var e=typeof window!="undefined"?window:{};return s2(e,ZK),e}function l2(e){return l2=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},l2(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Y0(e,t)}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function c2(e,t,n){return c2=QK()?Reflect.construct:function(r,o,i){var a=[null];a.push.apply(a,o);var u=new(Function.bind.apply(r,a));return i&&Y0(u,i.prototype),u},c2.apply(null,arguments)}function f2(e){var t=typeof Map=="function"?new Map:void 0;return f2=function(n){if(n===null||!function(o){return Function.toString.call(o).indexOf("[native code]")!==-1}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return c2(n,arguments,l2(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Y0(r,n)},f2(e)}var Au=function(e){var t,n;function r(o){var i,a,u;return i=e.call.apply(e,[this].concat(o))||this,a=function(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}(i),u=a.__proto__,Object.defineProperty(a,"__proto__",{get:function(){return u},set:function(s){u.__proto__=s}}),i}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(f2(Array));function J0(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,J0(n)):t.push(n)}),t}function v8(e,t){return Array.prototype.filter.call(e,t)}function k(e,t){var n=el(),r=Wd(),o=[];if(!t&&e instanceof Au)return e;if(!e)return new Au(o);if(typeof e=="string"){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";i.indexOf("<li")===0&&(a="ul"),i.indexOf("<tr")===0&&(a="tbody"),i.indexOf("<td")!==0&&i.indexOf("<th")!==0||(a="tr"),i.indexOf("<tbody")===0&&(a="table"),i.indexOf("<option")===0&&(a="select");var u=r.createElement(a);u.innerHTML=i;for(var s=0;s<u.childNodes.length;s+=1)o.push(u.childNodes[s])}else o=function(l,c){if(typeof l!="string")return[l];for(var f=[],p=c.querySelectorAll(l),d=0;d<p.length;d+=1)f.push(p[d]);return f}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof Au)return e;o=e}return new Au(function(l){for(var c=[],f=0;f<l.length;f+=1)c.indexOf(l[f])===-1&&c.push(l[f]);return c}(o))}function Sc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=J0(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).add.apply(i,r)}),this}function Dc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=J0(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).remove.apply(i,r)}),this}function Oc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=J0(t.map(function(o){return o.split(" ")}));return v8(this,function(o){return r.filter(function(i){return o.classList.contains(i)}).length>0}).length>0}function vi(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function Z0(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function _c(){var e=this[0];if(e){var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var o=0;o<e.attributes.length;o+=1){var i=e.attributes[o];i.name.indexOf("data-")>=0&&(n[t=i.name.split("data-")[1],t.toLowerCase().replace(/-(.)/g,function(u,s){return s.toUpperCase()})]=i.value)}for(var a in n)n[a]==="false"?n[a]=!1:n[a]==="true"?n[a]=!0:parseFloat(n[a])===1*n[a]&&(n[a]*=1);return n}}function la(e){if(e===void 0){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(e)&&i.multiple&&i.nodeName.toLowerCase()==="select")for(var a=0;a<i.options.length;a+=1)i.options[a].selected=e.indexOf(i.options[a].value)>=0;else i.value=e}return this}function ca(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];function u(g){var v=g.target;if(v){var m=g.target.dom7EventData||[];if(m.indexOf(g)<0&&m.unshift(g),k(v).is(o))i.apply(v,m);else for(var h=k(v).parents(),b=0;b<h.length;b+=1)k(h[b]).is(o)&&i.apply(h[b],m)}}function s(g){var v=g&&g.target&&g.target.dom7EventData||[];v.indexOf(g)<0&&v.unshift(g),i.apply(this,v)}typeof t[1]=="function"&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var l,c=r.split(" "),f=0;f<this.length;f+=1){var p=this[f];if(o)for(l=0;l<c.length;l+=1){var d=c[l];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[d]||(p.dom7LiveListeners[d]=[]),p.dom7LiveListeners[d].push({listener:i,proxyListener:u}),p.addEventListener(d,u,a)}else for(l=0;l<c.length;l+=1){var y=c[l];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[y]||(p.dom7Listeners[y]=[]),p.dom7Listeners[y].push({listener:i,proxyListener:s}),p.addEventListener(y,s,a)}}return this}function m8(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var u=r.split(" "),s=0;s<u.length;s+=1)for(var l=u[s],c=0;c<this.length;c+=1){var f=this[c],p=void 0;if(!o&&f.dom7Listeners?p=f.dom7Listeners[l]:o&&f.dom7LiveListeners&&(p=f.dom7LiveListeners[l]),p&&p.length)for(var d=p.length-1;d>=0;d-=1){var y=p[d];i&&y.listener===i||i&&y.listener&&y.listener.dom7proxy&&y.listener.dom7proxy===i?(f.removeEventListener(l,y.proxyListener,a),p.splice(d,1)):i||(f.removeEventListener(l,y.proxyListener,a),p.splice(d,1))}}return this}function Q0(){var e=el();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function q0(){var e=el();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function y8(){if(this.length>0){var e=el(),t=Wd(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,u=n===e?e.scrollY:n.scrollTop,s=n===e?e.scrollX:n.scrollLeft;return{top:r.top+u-i,left:r.left+s-a}}return null}function Tc(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function $0(){for(var e=el(),t=0;t<this.length;t+=1){var n=this[t];n.style.display==="none"&&(n.style.display=""),e.getComputedStyle(n,null).getPropertyValue("display")==="none"&&(n.style.display="block")}return this}function ev(e,t){var n,r=el();if(arguments.length===1){if(typeof e!="string"){for(n=0;n<this.length;n+=1)for(var o in e)this[n].style[o]=e[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function tv(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n])}),this):this}function b8(e){return k(v8(this,e))}function Su(e){if(e===void 0)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function nv(e){if(e===void 0)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function E8(e){var t,n,r=el(),o=Wd(),i=this[0];if(!i||e===void 0)return!1;if(typeof e=="string"){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=k(e),n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}if(e===o)return i===o;if(e===r)return i===r;if(e.nodeType||e instanceof Au){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}return!1}function mi(){for(var e,t=Wd(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof e=="string"){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild)}else if(e instanceof Au)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e)}return this}function C8(e){var t,n,r=Wd();for(t=0;t<this.length;t+=1)if(typeof e=="string"){var o=r.createElement("div");for(o.innerHTML=e,n=o.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(o.childNodes[n],this[t].childNodes[0])}else if(e instanceof Au)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function Pc(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?k(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return k(t)}function rv(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?k(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return k(t)}function Rc(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return k(t)}function jc(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)e&&!k(r[o]).is(e)||t.push(r[o]);return k(t)}function Nc(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Bc(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}k.fn=Au.prototype;var qK="resize scroll".split(" ");function w8(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n[0]===void 0){for(var o=0;o<this.length;o+=1)qK.indexOf(e)<0&&(e in this[o]?this[o][e]():k(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var x8=w8("click"),Du=w8("focus"),$K="[object GeneratorFunction]",eX=/^(?:0|[1-9]\d*)$/;function tX(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}var ov=Object.prototype,d2=ov.hasOwnProperty,A8=ov.toString,nX=ov.propertyIsEnumerable,rX=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object);function oX(e,t){var n=O8(e)||function(a){return function(u){return function(s){return!!s&&typeof s=="object"}(u)&&p2(u)}(a)&&d2.call(a,"callee")&&(!nX.call(a,"callee")||A8.call(a)=="[object Arguments]")}(e)?function(a,u){for(var s=-1,l=Array(a);++s<a;)l[s]=u(s);return l}(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!d2.call(e,i)||o&&(i=="length"||sX(i,r))||n.push(i);return n}var S8,D8,iX=(S8=function(e,t){return e&&aX(e,t,lX)},function(e,t){if(e==null)return e;if(!p2(e))return S8(e,t);for(var n=e.length,r=D8?n:-1,o=Object(e);(D8?r--:++r<n)&&t(o[r],r,o)!==!1;);return e}),aX=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(n(i[s],s,i)===!1)break}return t}}();function uX(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||ov,t!==r)return rX(e);var t,n,r,o=[];for(var i in Object(e))d2.call(e,i)&&i!="constructor"&&o.push(i);return o}function sX(e,t){return!!(t=t==null?9007199254740991:t)&&(typeof e=="number"||eX.test(e))&&e>-1&&e%1==0&&e<t}var O8=Array.isArray;function p2(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!function(t){var n=function(r){var o=typeof r;return!!r&&(o=="object"||o=="function")}(t)?A8.call(t):"";return n=="[object Function]"||n==$K}(e)}function lX(e){return p2(e)?oX(e):uX(e)}function cX(e){return e}var h2=function(e,t){return(O8(e)?tX:iX)(e,typeof t=="function"?t:cX)};let _8=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};var fX=/^\s+|\s+$/g,dX=/^[-+]0x[0-9a-f]+$/i,pX=/^0b[01]+$/i,hX=/^0o[0-7]+$/i,gX=parseInt,vX=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,mX=typeof self=="object"&&self&&self.Object===Object&&self,yX=vX||mX||Function("return this")(),bX=Object.prototype.toString,EX=Math.max,CX=Math.min,g2=function(){return yX.Date.now()};function wX(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError("Expected a function");function d(b){var E=r,w=o;return r=o=void 0,l=b,a=e.apply(w,E)}function y(b){return l=b,u=setTimeout(v,t),c?d(b):a}function g(b){var E=b-s;return s===void 0||E>=t||E<0||f&&b-l>=i}function v(){var b=g2();if(g(b))return m(b);u=setTimeout(v,function(E){var w=t-(E-s);return f?CX(w,i-(E-l)):w}(b))}function m(b){return u=void 0,p&&r?d(b):(r=o=void 0,a)}function h(){var b=g2(),E=g(b);if(r=arguments,o=this,s=b,E){if(u===void 0)return y(s);if(f)return u=setTimeout(v,t),d(s)}return u===void 0&&(u=setTimeout(v,t)),a}return t=T8(t)||0,iv(n)&&(c=!!n.leading,i=(f="maxWait"in n)?EX(T8(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),h.cancel=function(){u!==void 0&&clearTimeout(u),l=0,r=s=o=u=void 0},h.flush=function(){return u===void 0?a:m(g2())},h}function iv(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function T8(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&bX.call(r)=="[object Symbol]"}(e))return NaN;if(iv(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=iv(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(fX,"");var n=pX.test(e);return n||hX.test(e)?gX(e.slice(2),n?2:8):dX.test(e)?NaN:+e}var tl=function(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError("Expected a function");return iv(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wX(e,t,{leading:r,maxWait:t,trailing:o})};const xX={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return e.nodeType===1},isText:function(e){return e.nodeType===3},isComment:function(e){return e.nodeType===8}};function Gd(e,t,n,r,o){return{sel:e,data:t,children:n,text:r,elm:o,key:t===void 0?void 0:t.key}}const v2=Array.isArray;function av(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}function m2(e){return e===void 0}function ti(e){return e!==void 0}const P8=Gd("",{},[],void 0,void 0);function Kd(e,t){var n,r;const o=e.key===t.key,i=((n=e.data)===null||n===void 0?void 0:n.is)===((r=t.data)===null||r===void 0?void 0:r.is);return e.sel===t.sel&&o&&i}function AX(e,t,n){var r;const o={};for(let i=t;i<=n;++i){const a=(r=e[i])===null||r===void 0?void 0:r.key;a!==void 0&&(o[a]=i)}return o}const SX=["create","update","remove","destroy","pre","post"];function DX(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=t!==void 0?t:xX;for(const f of SX)for(const p of e){const d=p[f];d!==void 0&&n[f].push(d)}function o(f){const p=f.id?"#"+f.id:"",d=f.getAttribute("class"),y=d?"."+d.split(" ").join("."):"";return Gd(r.tagName(f).toLowerCase()+p+y,{},[],void 0,f)}function i(f,p){return function(){if(--p==0){const d=r.parentNode(f);r.removeChild(d,f)}}}function a(f,p){var d,y;let g,v=f.data;if(v!==void 0){const b=(d=v.hook)===null||d===void 0?void 0:d.init;ti(b)&&(b(f),v=f.data)}const m=f.children,h=f.sel;if(h==="!")m2(f.text)&&(f.text=""),f.elm=r.createComment(f.text);else if(h!==void 0){const b=h.indexOf("#"),E=h.indexOf(".",b),w=b>0?b:h.length,S=E>0?E:h.length,x=b!==-1||E!==-1?h.slice(0,Math.min(w,S)):h,B=f.elm=ti(v)&&ti(g=v.ns)?r.createElementNS(g,x,v):r.createElement(x,v);for(w<S&&B.setAttribute("id",h.slice(w+1,S)),E>0&&B.setAttribute("class",h.slice(S+1).replace(/\./g," ")),g=0;g<n.create.length;++g)n.create[g](P8,f);if(v2(m))for(g=0;g<m.length;++g){const oe=m[g];oe!=null&&r.appendChild(B,a(oe,p))}else av(f.text)&&r.appendChild(B,r.createTextNode(f.text));const U=f.data.hook;ti(U)&&((y=U.create)===null||y===void 0||y.call(U,P8,f),U.insert&&p.push(f))}else f.elm=r.createTextNode(f.text);return f.elm}function u(f,p,d,y,g,v){for(;y<=g;++y){const m=d[y];m!=null&&r.insertBefore(f,a(m,v),p)}}function s(f){var p,d;const y=f.data;if(y!==void 0){(d=(p=y==null?void 0:y.hook)===null||p===void 0?void 0:p.destroy)===null||d===void 0||d.call(p,f);for(let g=0;g<n.destroy.length;++g)n.destroy[g](f);if(f.children!==void 0)for(let g=0;g<f.children.length;++g){const v=f.children[g];v!=null&&typeof v!="string"&&s(v)}}}function l(f,p,d,y){for(var g,v;d<=y;++d){let m,h;const b=p[d];if(b!=null)if(ti(b.sel)){s(b),m=n.remove.length+1,h=i(b.elm,m);for(let w=0;w<n.remove.length;++w)n.remove[w](b,h);const E=(v=(g=b==null?void 0:b.data)===null||g===void 0?void 0:g.hook)===null||v===void 0?void 0:v.remove;ti(E)?E(b,h):h()}else r.removeChild(f,b.elm)}}function c(f,p,d){var y,g,v,m,h;const b=(y=p.data)===null||y===void 0?void 0:y.hook;(g=b==null?void 0:b.prepatch)===null||g===void 0||g.call(b,f,p);const E=p.elm=f.elm,w=f.children,S=p.children;if(f!==p){if(p.data!==void 0){for(let x=0;x<n.update.length;++x)n.update[x](f,p);(m=(v=p.data.hook)===null||v===void 0?void 0:v.update)===null||m===void 0||m.call(v,f,p)}m2(p.text)?ti(w)&&ti(S)?w!==S&&function(x,B,U,oe){let fe,ie,De,me,ye=0,we=0,Ve=B.length-1,st=B[0],at=B[Ve],rt=U.length-1,L=U[0],R=U[rt];for(;ye<=Ve&&we<=rt;)st==null?st=B[++ye]:at==null?at=B[--Ve]:L==null?L=U[++we]:R==null?R=U[--rt]:Kd(st,L)?(c(st,L,oe),st=B[++ye],L=U[++we]):Kd(at,R)?(c(at,R,oe),at=B[--Ve],R=U[--rt]):Kd(st,R)?(c(st,R,oe),r.insertBefore(x,st.elm,r.nextSibling(at.elm)),st=B[++ye],R=U[--rt]):Kd(at,L)?(c(at,L,oe),r.insertBefore(x,at.elm,st.elm),at=B[--Ve],L=U[++we]):(fe===void 0&&(fe=AX(B,ye,Ve)),ie=fe[L.key],m2(ie)?r.insertBefore(x,a(L,oe),st.elm):(De=B[ie],De.sel!==L.sel?r.insertBefore(x,a(L,oe),st.elm):(c(De,L,oe),B[ie]=void 0,r.insertBefore(x,De.elm,st.elm))),L=U[++we]);(ye<=Ve||we<=rt)&&(ye>Ve?(me=U[rt+1]==null?null:U[rt+1].elm,u(x,me,U,we,rt,oe)):l(x,B,ye,Ve))}(E,w,S,d):ti(S)?(ti(f.text)&&r.setTextContent(E,""),u(E,null,S,0,S.length-1,d)):ti(w)?l(E,w,0,w.length-1):ti(f.text)&&r.setTextContent(E,""):f.text!==p.text&&(ti(w)&&l(E,w,0,w.length-1),r.setTextContent(E,p.text)),(h=b==null?void 0:b.postpatch)===null||h===void 0||h.call(b,f,p)}}return function(f,p){let d,y,g;const v=[];for(d=0;d<n.pre.length;++d)n.pre[d]();for(function(m){return m.sel!==void 0}(f)||(f=o(f)),Kd(f,p)?c(f,p,v):(y=f.elm,g=r.parentNode(y),a(p,v),g!==null&&(r.insertBefore(g,p.elm,r.nextSibling(y)),l(g,[f],0,0))),d=0;d<v.length;++d)v[d].data.hook.insert(v[d]);for(d=0;d<n.post.length;++d)n.post[d]();return p}}function R8(e,t,n){if(e.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&t!==void 0)for(let r=0;r<t.length;++r){const o=t[r].data;o!==void 0&&R8(o,t[r].children,t[r].sel)}}function Fc(e,t,n){let r,o,i,a={};if(n!==void 0?(t!==null&&(a=t),v2(n)?r=n:av(n)?o=n.toString():n&&n.sel&&(r=[n])):t!=null&&(v2(t)?r=t:av(t)?o=t.toString():t&&t.sel?r=[t]:a=t),r!==void 0)for(i=0;i<r.length;++i)av(r[i])&&(r[i]=Gd(void 0,void 0,void 0,r[i],void 0));return e[0]!=="s"||e[1]!=="v"||e[2]!=="g"||e.length!==3&&e[3]!=="."&&e[3]!=="#"||R8(a,r,e),Gd(e,a,r,o,void 0)}function j8(e,t){let n;const r=t.elm;let o=e.data.attrs,i=t.data.attrs;if((o||i)&&o!==i){for(n in o=o||{},i=i||{},i){const a=i[n];o[n]!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n.charCodeAt(0)!==120?r.setAttribute(n,a):n.charCodeAt(3)===58?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):n.charCodeAt(5)===58?r.setAttributeNS("http://www.w3.org/1999/xlink",n,a):r.setAttribute(n,a))}for(n in o)n in i||r.removeAttribute(n)}}const OX={create:j8,update:j8};function N8(e,t){let n,r;const o=t.elm;let i=e.data.class,a=t.data.class;if((i||a)&&i!==a){for(r in i=i||{},a=a||{},i)i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)n=a[r],n!==i[r]&&o.classList[n?"add":"remove"](r)}}const _X={create:N8,update:N8},B8=/[A-Z]/g;function F8(e,t){const n=t.elm;let r,o=e.data.dataset,i=t.data.dataset;if(!o&&!i)return;if(o===i)return;o=o||{},i=i||{};const a=n.dataset;for(r in o)i[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(B8,"-$&").toLowerCase()));for(r in i)o[r]!==i[r]&&(a?a[r]=i[r]:n.setAttribute("data-"+r.replace(B8,"-$&").toLowerCase(),i[r]))}const TX={create:F8,update:F8};function k8(e,t,n){if(typeof e=="function")e.call(t,n,t);else if(typeof e=="object")for(let r=0;r<e.length;r++)k8(e[r],t,n)}function PX(e,t){const n=e.type,r=t.data.on;r&&r[n]&&k8(r[n],t,e)}function y2(e,t){const n=e.data.on,r=e.listener,o=e.elm,i=t&&t.data.on,a=t&&t.elm;let u;if(n!==i){if(n&&r)if(i)for(u in n)i[u]||o.removeEventListener(u,r,!1);else for(u in n)o.removeEventListener(u,r,!1);if(i){const s=t.listener=e.listener||function l(c){PX(c,l.vnode)};if(s.vnode=t,n)for(u in i)n[u]||a.addEventListener(u,s,!1);else for(u in i)a.addEventListener(u,s,!1)}}}const RX={create:y2,update:y2,destroy:y2};function L8(e,t){let n,r,o;const i=t.elm;let a=e.data.props,u=t.data.props;if((a||u)&&a!==u)for(n in a=a||{},u=u||{},u)r=u[n],o=a[n],o===r||n==="value"&&i[n]===r||(i[n]=r)}const jX={create:L8,update:L8},M8=typeof window!="undefined"&&window.requestAnimationFrame.bind(window)||setTimeout;let b2=!1;function NX(e,t,n){!function(r){M8(function(){M8(r)})}(function(){e[t]=n})}function I8(e,t){let n,r;const o=t.elm;let i=e.data.style,a=t.data.style;if(!i&&!a)return;if(i===a)return;i=i||{},a=a||{};const u="delayed"in i;for(r in i)a[r]||(r[0]==="-"&&r[1]==="-"?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],r==="delayed"&&a.delayed)for(const s in a.delayed)n=a.delayed[s],u&&n===i.delayed[s]||NX(o.style,s,n);else r!=="remove"&&n!==i[r]&&(r[0]==="-"&&r[1]==="-"?o.style.setProperty(r,n):o.style[r]=n)}const BX={pre:function(){b2=!1},create:I8,update:I8,destroy:function(e){let t,n;const r=e.elm,o=e.data.style;if(o&&(t=o.destroy))for(n in t)r.style[n]=t[n]},remove:function(e,t){const n=e.data.style;if(!n||!n.remove)return void t();let r;b2||(e.elm.offsetLeft,b2=!0);const o=e.elm;let i=0;const a=n.remove;let u=0;const s=[];for(r in a)s.push(r),o.style[r]=a[r];const l=getComputedStyle(o)["transition-property"].split(", ");for(;i<l.length;++i)s.indexOf(l[i])!==-1&&u++;o.addEventListener("transitionend",function(c){c.target===o&&--u,u===0&&t()})}};function U8(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?U8(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(Gd(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function Pt(e,t,...n){const r=U8(n,[]);return typeof e=="function"?e(t,r):r.length===1&&!r[0].sel&&r[0].text?Fc(e,t,r[0].text):Fc(e,t,r)}Pt||(Pt={});var FX=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kX=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,z8="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",LX="[\\ud800-\\udfff]",H8="["+z8+"]",uv="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",V8="\\d+",MX="[\\u2700-\\u27bf]",W8="[a-z\\xdf-\\xf6\\xf8-\\xff]",G8="[^\\ud800-\\udfff"+z8+V8+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",E2="\\ud83c[\\udffb-\\udfff]",K8="[^\\ud800-\\udfff]",C2="(?:\\ud83c[\\udde6-\\uddff]){2}",w2="[\\ud800-\\udbff][\\udc00-\\udfff]",kc="[A-Z\\xc0-\\xd6\\xd8-\\xde]",X8="(?:"+W8+"|"+G8+")",IX="(?:"+kc+"|"+G8+")",Y8="(?:"+uv+"|"+E2+")?",J8="[\\ufe0e\\ufe0f]?"+Y8+("(?:\\u200d(?:"+[K8,C2,w2].join("|")+")[\\ufe0e\\ufe0f]?"+Y8+")*"),UX="(?:"+[MX,C2,w2].join("|")+")"+J8,zX="(?:"+[K8+uv+"?",uv,C2,w2,LX].join("|")+")",HX=RegExp("['\u2019]","g"),VX=RegExp(uv,"g"),WX=RegExp(E2+"(?="+E2+")|"+zX+J8,"g"),GX=RegExp([kc+"?"+W8+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[H8,kc,"$"].join("|")+")",IX+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[H8,kc+X8,"$"].join("|")+")",kc+"?"+X8+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",kc+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",V8,UX].join("|"),"g"),KX=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),XX=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,YX=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,JX=typeof self=="object"&&self&&self.Object===Object&&self,ZX=YX||JX||Function("return this")(),x2,QX=(x2={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},function(e){return x2==null?void 0:x2[e]});function Z8(e){return KX.test(e)}function qX(e){return Z8(e)?function(t){return t.match(WX)||[]}(e):function(t){return t.split("")}(e)}var $X=Object.prototype.toString,Q8=ZX.Symbol,q8=Q8?Q8.prototype:void 0,$8=q8?q8.toString:void 0;function eY(e){if(typeof e=="string")return e;if(function(n){return typeof n=="symbol"||function(r){return!!r&&typeof r=="object"}(n)&&$X.call(n)=="[object Symbol]"}(e))return $8?$8.call(e):"";var t=e+"";return t=="0"&&1/e==-Infinity?"-0":t}function tY(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:function(o,i,a){var u=-1,s=o.length;i<0&&(i=-i>s?0:s+i),(a=a>s?s:a)<0&&(a+=s),s=i>a?0:a-i>>>0,i>>>=0;for(var l=Array(s);++u<s;)l[u]=o[u+i];return l}(e,t,n)}function sv(e){return e==null?"":eY(e)}for(var eT,nY=(eT=function(e,t,n){return t=t.toLowerCase(),e+(n?rY(sv(t).toLowerCase()):t)},function(e){return function(t,n,r,o){var i=-1,a=t?t.length:0;for(o&&a&&(r=t[++i]);++i<a;)r=n(r,t[i],i,t);return r}(function(t,n,r){return t=sv(t),(n=r?void 0:n)===void 0?function(o){return XX.test(o)}(t)?function(o){return o.match(GX)||[]}(t):function(o){return o.match(FX)||[]}(t):t.match(n)||[]}(function(t){return(t=sv(t))&&t.replace(kX,QX).replace(VX,"")}(e).replace(HX,"")),eT,"")}),tT,rY=(tT="toUpperCase",function(e){var t=Z8(e=sv(e))?qX(e):void 0,n=t?t[0]:e.charAt(0),r=t?tY(t,1).join(""):e.slice(1);return n[tT]()+r}),oY=nY,iY=typeof window!="undefined"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),A2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},nT={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:iY?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},S2={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},lv=1;lv<20;lv++)S2["f"+lv]=111+lv;function rT(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(i){return function(a,u){var s=u&&u.byKey,l={},c=(a=a.replace("++","+add")).split("+"),f=c.length;for(var p in A2)l[A2[p]]=!1;var d=!0,y=!1,g=void 0;try{for(var v,m=c[Symbol.iterator]();!(d=(v=m.next()).done);d=!0){var h=v.value,b=h.endsWith("?")&&h.length>1;b&&(h=h.slice(0,-1));var E=oT(h),w=A2[E];if(h.length>1&&!w&&!nT[h]&&!S2[E])throw new TypeError('Unknown modifier: "'+h+'"');f!==1&&w||(s?l.key=E:l.which=aY(h)),w&&(l[w]=!b||null)}}catch(S){y=!0,g=S}finally{try{!d&&m.return&&m.return()}finally{if(y)throw g}}return l}(i,t)}),o=function(i){return r.some(function(a){return function(u,s){for(var l in u){var c=u[l],f=void 0;if(c!=null&&((f=l==="key"&&s.key!=null?s.key.toLowerCase():l==="which"?c===91&&s.which===93?91:s.which:s[l])!=null||c!==!1)&&f!==c)return!1}return!0}(a,i)})};return n==null?o:o(n)}function aY(e){return e=oT(e),S2[e]||e.toUpperCase().charCodeAt(0)}function oT(e){return e=e.toLowerCase(),e=nT[e]||e}var uY=rT,D2=function(e,t){return rT(e,{byKey:!0},t)},sY=/^\s+|\s+$/g,lY=/^[-+]0x[0-9a-f]+$/i,cY=/^0b[01]+$/i,fY=/^0o[0-7]+$/i,dY=parseInt,pY=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,hY=typeof self=="object"&&self&&self.Object===Object&&self,gY=pY||hY||Function("return this")(),vY=Object.prototype.toString,mY=Math.max,yY=Math.min,O2=function(){return gY.Date.now()};function _2(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function iT(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&vY.call(r)=="[object Symbol]"}(e))return NaN;if(_2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(sY,"");var n=cY.test(e);return n||fY.test(e)?dY(e.slice(2),n?2:8):lY.test(e)?NaN:+e}var Lc,aT=function(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError("Expected a function");function d(b){var E=r,w=o;return r=o=void 0,l=b,a=e.apply(w,E)}function y(b){return l=b,u=setTimeout(v,t),c?d(b):a}function g(b){var E=b-s;return s===void 0||E>=t||E<0||f&&b-l>=i}function v(){var b=O2();if(g(b))return m(b);u=setTimeout(v,function(E){var w=t-(E-s);return f?yY(w,i-(E-l)):w}(b))}function m(b){return u=void 0,p&&r?d(b):(r=o=void 0,a)}function h(){var b=O2(),E=g(b);if(r=arguments,o=this,s=b,E){if(u===void 0)return y(s);if(f)return u=setTimeout(v,t),d(s)}return u===void 0&&(u=setTimeout(v,t)),a}return t=iT(t)||0,_2(n)&&(c=!!n.leading,i=(f="maxWait"in n)?mY(iT(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),h.cancel=function(){u!==void 0&&clearTimeout(u),l=0,r=s=o=u=void 0},h.flush=function(){return u===void 0?a:m(O2())},h},uT=xt(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Boolean]",a="[object Date]",u="[object Function]",s="[object GeneratorFunction]",l="[object Map]",c="[object Number]",f="[object Object]",p="[object Promise]",d="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",m="[object WeakMap]",h="[object ArrayBuffer]",b="[object DataView]",E="[object Float32Array]",w="[object Float64Array]",S="[object Int8Array]",x="[object Int16Array]",B="[object Int32Array]",U="[object Uint8Array]",oe="[object Uint8ClampedArray]",fe="[object Uint16Array]",ie="[object Uint32Array]",De=/\w*$/,me=/^\[object .+?Constructor\]$/,ye=/^(?:0|[1-9]\d*)$/,we={};we[o]=we["[object Array]"]=we[h]=we[b]=we[i]=we[a]=we[E]=we[w]=we[S]=we[x]=we[B]=we[l]=we[c]=we[f]=we[d]=we[y]=we[g]=we[v]=we[U]=we[oe]=we[fe]=we[ie]=!0,we["[object Error]"]=we[u]=we[m]=!1;var Ve=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,st=typeof self=="object"&&self&&self.Object===Object&&self,at=Ve||st||Function("return this")(),rt=t&&!t.nodeType&&t,L=rt&&e&&!e.nodeType&&e,R=L&&L.exports===rt;function G(I,ue){return I.set(ue[0],ue[1]),I}function le(I,ue){return I.add(ue),I}function Re(I,ue,Ie,ot){var rn=-1,Jn=I?I.length:0;for(ot&&Jn&&(Ie=I[++rn]);++rn<Jn;)Ie=ue(Ie,I[rn],rn,I);return Ie}function he(I){var ue=!1;if(I!=null&&typeof I.toString!="function")try{ue=!!(I+"")}catch(Ie){}return ue}function Qe(I){var ue=-1,Ie=Array(I.size);return I.forEach(function(ot,rn){Ie[++ue]=[rn,ot]}),Ie}function Ct(I,ue){return function(Ie){return I(ue(Ie))}}function Tt(I){var ue=-1,Ie=Array(I.size);return I.forEach(function(ot){Ie[++ue]=ot}),Ie}var Lt=Array.prototype,Ce=Function.prototype,en=Object.prototype,Ht=at["__core-js_shared__"],ht=function(){var I=/[^.]+$/.exec(Ht&&Ht.keys&&Ht.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),Vt=Ce.toString,br=en.hasOwnProperty,dn=en.toString,Rn=RegExp("^"+Vt.call(br).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nr=R?at.Buffer:void 0,_o=at.Symbol,sn=at.Uint8Array,Jo=Ct(Object.getPrototypeOf,Object),ea=Object.create,Ra=en.propertyIsEnumerable,dd=Lt.splice,lc=Object.getOwnPropertySymbols,ta=nr?nr.isBuffer:void 0,ja=Ct(Object.keys,Object),au=Na(at,"DataView"),To=Na(at,"Map"),Po=Na(at,"Promise"),Ro=Na(at,"Set"),Lo=Na(at,"WeakMap"),so=Na(Object,"create"),ki=Fa(au),r0=Fa(To),Fs=Fa(Po),uu=Fa(Ro),pd=Fa(Lo),cc=_o?_o.prototype:void 0,hd=cc?cc.valueOf:void 0;function na(I){var ue=-1,Ie=I?I.length:0;for(this.clear();++ue<Ie;){var ot=I[ue];this.set(ot[0],ot[1])}}function Li(I){var ue=-1,Ie=I?I.length:0;for(this.clear();++ue<Ie;){var ot=I[ue];this.set(ot[0],ot[1])}}function su(I){var ue=-1,Ie=I?I.length:0;for(this.clear();++ue<Ie;){var ot=I[ue];this.set(ot[0],ot[1])}}function ra(I){this.__data__=new Li(I)}function ks(I,ue){var Ie=W(I)||function(Nn){return function(gn){return function(Qr){return!!Qr&&typeof Qr=="object"}(gn)&&ne(gn)}(Nn)&&br.call(Nn,"callee")&&(!Ra.call(Nn,"callee")||dn.call(Nn)==o)}(I)?function(Nn,gn){for(var Qr=-1,jo=Array(Nn);++Qr<Nn;)jo[Qr]=gn(Qr);return jo}(I.length,String):[],ot=Ie.length,rn=!!ot;for(var Jn in I)!ue&&!br.call(I,Jn)||rn&&(Jn=="length"||lb(Jn,ot))||Ie.push(Jn);return Ie}function ub(I,ue,Ie){var ot=I[ue];br.call(I,ue)&&cb(ot,Ie)&&(Ie!==void 0||ue in I)||(I[ue]=Ie)}function pi(I,ue){for(var Ie=I.length;Ie--;)if(cb(I[Ie][0],ue))return Ie;return-1}function o0(I,ue,Ie,ot,rn,Jn,Nn){var gn;if(ot&&(gn=Jn?ot(I,rn,Jn,Nn):ot(I)),gn!==void 0)return gn;if(!jn(I))return I;var Qr=W(I);if(Qr){if(gn=function(jt){var xn=jt.length,Or=jt.constructor(xn);return xn&&typeof jt[0]=="string"&&br.call(jt,"index")&&(Or.index=jt.index,Or.input=jt.input),Or}(I),!ue)return function(jt,xn){var Or=-1,tn=jt.length;for(xn||(xn=Array(tn));++Or<tn;)xn[Or]=jt[Or];return xn}(I,gn)}else{var jo=Ba(I),fc=jo==u||jo==s;if(ke(I))return function(jt,xn){if(xn)return jt.slice();var Or=new jt.constructor(jt.length);return jt.copy(Or),Or}(I,ue);if(jo==f||jo==o||fc&&!Jn){if(he(I))return Jn?I:{};if(gn=function(jt){return typeof jt.constructor!="function"||Ls(jt)?{}:(xn=Jo(jt),jn(xn)?ea(xn):{});var xn}(fc?{}:I),!ue)return function(jt,xn){return sb(jt,i0(jt),xn)}(I,function(jt,xn){return jt&&sb(xn,qt(xn),jt)}(gn,I))}else{if(!we[jo])return Jn?I:{};gn=function(jt,xn,Or,tn){var vn=jt.constructor;switch(xn){case h:return gd(jt);case i:case a:return new vn(+jt);case b:return function(mn,Er){var Mo=Er?gd(mn.buffer):mn.buffer;return new mn.constructor(Mo,mn.byteOffset,mn.byteLength)}(jt,tn);case E:case w:case S:case x:case B:case U:case oe:case fe:case ie:return function(mn,Er){var Mo=Er?gd(mn.buffer):mn.buffer;return new mn.constructor(Mo,mn.byteOffset,mn.length)}(jt,tn);case l:return function(mn,Er,Mo){return Re(Er?Mo(Qe(mn),!0):Qe(mn),G,new mn.constructor)}(jt,tn,Or);case c:case g:return new vn(jt);case d:return function(mn){var Er=new mn.constructor(mn.source,De.exec(mn));return Er.lastIndex=mn.lastIndex,Er}(jt);case y:return function(mn,Er,Mo){return Re(Er?Mo(Tt(mn),!0):Tt(mn),le,new mn.constructor)}(jt,tn,Or);case v:return function(mn){return hd?Object(hd.call(mn)):{}}(jt)}}(I,jo,o0,ue)}}Nn||(Nn=new ra);var fu=Nn.get(I);if(fu)return fu;if(Nn.set(I,gn),!Qr)var Ms=Ie?function(jt){return function(xn,Or,tn){var vn=Or(xn);return W(xn)?vn:function(mn,Er){for(var Mo=-1,Zo=Er.length,oa=mn.length;++Mo<Zo;)mn[oa+Mo]=Er[Mo];return mn}(vn,tn(xn))}(jt,qt,i0)}(I):qt(I);return function(jt,xn){for(var Or=-1,tn=jt?jt.length:0;++Or<tn&&xn(jt[Or],Or,jt)!==!1;);}(Ms||I,function(jt,xn){Ms&&(jt=I[xn=jt]),ub(gn,xn,o0(jt,ue,Ie,ot,xn,I,Nn))}),gn}function lu(I){return!(!jn(I)||function(ue){return!!ht&&ht in ue}(I))&&(yt(I)||he(I)?Rn:me).test(Fa(I))}function gd(I){var ue=new I.constructor(I.byteLength);return new sn(ue).set(new sn(I)),ue}function sb(I,ue,Ie,ot){Ie||(Ie={});for(var rn=-1,Jn=ue.length;++rn<Jn;){var Nn=ue[rn],gn=ot?ot(Ie[Nn],I[Nn],Nn,Ie,I):void 0;ub(Ie,Nn,gn===void 0?I[Nn]:gn)}return Ie}function cu(I,ue){var Ie,ot,rn=I.__data__;return((ot=typeof(Ie=ue))=="string"||ot=="number"||ot=="symbol"||ot=="boolean"?Ie!=="__proto__":Ie===null)?rn[typeof ue=="string"?"string":"hash"]:rn.map}function Na(I,ue){var Ie=function(ot,rn){return ot==null?void 0:ot[rn]}(I,ue);return lu(Ie)?Ie:void 0}na.prototype.clear=function(){this.__data__=so?so(null):{}},na.prototype.delete=function(I){return this.has(I)&&delete this.__data__[I]},na.prototype.get=function(I){var ue=this.__data__;if(so){var Ie=ue[I];return Ie===n?void 0:Ie}return br.call(ue,I)?ue[I]:void 0},na.prototype.has=function(I){var ue=this.__data__;return so?ue[I]!==void 0:br.call(ue,I)},na.prototype.set=function(I,ue){return this.__data__[I]=so&&ue===void 0?n:ue,this},Li.prototype.clear=function(){this.__data__=[]},Li.prototype.delete=function(I){var ue=this.__data__,Ie=pi(ue,I);return!(Ie<0)&&(Ie==ue.length-1?ue.pop():dd.call(ue,Ie,1),!0)},Li.prototype.get=function(I){var ue=this.__data__,Ie=pi(ue,I);return Ie<0?void 0:ue[Ie][1]},Li.prototype.has=function(I){return pi(this.__data__,I)>-1},Li.prototype.set=function(I,ue){var Ie=this.__data__,ot=pi(Ie,I);return ot<0?Ie.push([I,ue]):Ie[ot][1]=ue,this},su.prototype.clear=function(){this.__data__={hash:new na,map:new(To||Li),string:new na}},su.prototype.delete=function(I){return cu(this,I).delete(I)},su.prototype.get=function(I){return cu(this,I).get(I)},su.prototype.has=function(I){return cu(this,I).has(I)},su.prototype.set=function(I,ue){return cu(this,I).set(I,ue),this},ra.prototype.clear=function(){this.__data__=new Li},ra.prototype.delete=function(I){return this.__data__.delete(I)},ra.prototype.get=function(I){return this.__data__.get(I)},ra.prototype.has=function(I){return this.__data__.has(I)},ra.prototype.set=function(I,ue){var Ie=this.__data__;if(Ie instanceof Li){var ot=Ie.__data__;if(!To||ot.length<199)return ot.push([I,ue]),this;Ie=this.__data__=new su(ot)}return Ie.set(I,ue),this};var i0=lc?Ct(lc,Object):function(){return[]},Ba=function(I){return dn.call(I)};function lb(I,ue){return!!(ue=ue==null?r:ue)&&(typeof I=="number"||ye.test(I))&&I>-1&&I%1==0&&I<ue}function Ls(I){var ue=I&&I.constructor;return I===(typeof ue=="function"&&ue.prototype||en)}function Fa(I){if(I!=null){try{return Vt.call(I)}catch(ue){}try{return I+""}catch(ue){}}return""}function cb(I,ue){return I===ue||I!=I&&ue!=ue}(au&&Ba(new au(new ArrayBuffer(1)))!=b||To&&Ba(new To)!=l||Po&&Ba(Po.resolve())!=p||Ro&&Ba(new Ro)!=y||Lo&&Ba(new Lo)!=m)&&(Ba=function(I){var ue=dn.call(I),Ie=ue==f?I.constructor:void 0,ot=Ie?Fa(Ie):void 0;if(ot)switch(ot){case ki:return b;case r0:return l;case Fs:return p;case uu:return y;case pd:return m}return ue});var W=Array.isArray;function ne(I){return I!=null&&function(ue){return typeof ue=="number"&&ue>-1&&ue%1==0&&ue<=r}(I.length)&&!yt(I)}var ke=ta||function(){return!1};function yt(I){var ue=jn(I)?dn.call(I):"";return ue==u||ue==s}function jn(I){var ue=typeof I;return!!I&&(ue=="object"||ue=="function")}function qt(I){return ne(I)?ks(I):function(ue){if(!Ls(ue))return ja(ue);var Ie=[];for(var ot in Object(ue))br.call(ue,ot)&&ot!="constructor"&&Ie.push(ot);return Ie}(I)}e.exports=function(I){return o0(I,!0,!0)}});function sT(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bY=0;function EY(e){return"__private_"+bY+++"_"+e}function CY(e,t,n){const r=[];return e.forEach(o=>typeof o!="string"?r.push(o):t[Symbol.split](o).forEach((i,a,u)=>{i!==""&&r.push(i),a<u.length-1&&r.push(n)})),r}/**
* Takes a string with placeholder variables like `%{smart_count} file selected`
* and replaces it with values from options `{smart_count: 5}`
*
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
*
* @param {string} phrase that needs interpolation, with placeholders
* @param {object} options with values that will be used to replace placeholders
* @returns {any[]} interpolated
*/function lT(e,t){const n=/\$/g;let r=[e];if(t==null)return r;for(const o of Object.keys(t))if(o!=="_"){let i=t[o];typeof i=="string"&&(i=n[Symbol.replace](i,"$$$$")),r=CY(r,new RegExp(`%\\{${o}\\}`,"g"),i)}return r}var cT=(Lc=EY("apply"),class{constructor(e){Object.defineProperty(this,Lc,{value:wY}),this.locale={strings:{},pluralize:t=>t===1?0:1},Array.isArray(e)?e.forEach(sT(this,Lc)[Lc],this):sT(this,Lc)[Lc](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!function(r,o){return Object.prototype.hasOwnProperty.call(r,o)}(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if(typeof n=="object"){if(t&&t.smart_count!==void 0)return lT(n[this.locale.pluralize(t.smart_count)],t);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return lT(n,t)}});function wY(e){if(e==null||!e.strings)return;const t=this.locale;this.locale=de(de({},t),{strings:de(de({},t.strings),e.strings)}),this.locale.pluralize=e.pluralize||t.pluralize}var fT=function(){var e={},t=e._fns={};return e.emit=function(n,r,o,i,a,u,s){var l=function(c){for(var f=t[c]?t[c]:[],p=c.indexOf(":"),d=p===-1?[c]:[c.substring(0,p),c.substring(p+1)],y=Object.keys(t),g=0,v=y.length;g<v;g++){var m=y[g];if(m==="*"&&(f=f.concat(t[m])),d.length===2&&d[0]===m){f=f.concat(t[m]);break}}return f}(n);l.length&&function(c,f,p){for(var d=0,y=f.length;d<y&&f[d];d++)f[d].event=c,f[d].apply(f[d],p)}(n,l,[r,o,i,a,u,s])},e.on=function(n,r){t[n]||(t[n]=[]),t[n].push(r)},e.once=function(n,r){this.on(n,function o(){r.apply(this,arguments),e.off(n,o)})},e.off=function(n,r){var o=[];if(n&&r)for(var i=this._fns[n],a=0,u=i?i.length:0;a<u;a++)i[a]!==r&&o.push(i[a]);o.length?this._fns[n]=o:delete this._fns[n]},e},xY={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:AY}=xY,dT=e=>crypto.getRandomValues(new Uint8Array(e)),pT=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if(i+=e[a[u]&r]||"",i.length===t)return i}}};var SY={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>pT(e,t,dT),customRandom:pT,urlAlphabet:AY,random:dT},T2=function(e){if(typeof e!="number"||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function hT(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}hT.prototype.match=function(e){var t,n,r=!0,o=this.parts,i=o.length;if(typeof e=="string"||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)o[t]!=="*"&&(r=t<n.length&&o[t]===n[t]);r=r&&n}else r=!1;else if(typeof e.splice=="function")for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if(typeof e=="object")for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var DY=/[\/\+\.]/,OY=function(e,t){function n(r){var o=function(i,a,u){var s=new hT(i,u||/[\/\.]/);return a!==void 0?s.match(a):s}(r,e,DY);return o&&o.length>=2}return t?n(t.split(";")[0]):n},_Y=0;function TY(e){return"__private_"+_Y+++"_"+e}var P2=TY("publish");class gT{constructor(){Object.defineProperty(this,P2,{value:PY}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t=de({},this.state),n=de(de({},this.state),e);this.state=n,function(r,o){if(!Object.prototype.hasOwnProperty.call(r,o))throw new TypeError("attempted to use private field on non-instance");return r}(this,P2)[P2](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function PY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(r=>{r(...t)})}gT.VERSION="2.0.3";var vT=function(e){const t=e.lastIndexOf(".");return t===-1||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},mT={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function yT(e){let t="";return e.replace(/[^A-Z0-9]/gi,n=>(t+=`-${function(r){return r.charCodeAt(0).toString(32)}(n)}`,"/"))+t}var RY=function(e){if(e==null&&(e=typeof navigator!="undefined"?navigator.userAgent:null),!e)return!0;const t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;const n=t[1];let[r,o]=n.split(".");return r=parseInt(r,10),o=parseInt(o,10),r<15||r===15&&o<15063||r>18||r===18&&o>=18218};function R2(e){return e<10?`0${e}`:e.toString()}var cv=function(){const e=new Date;return`${R2(e.getHours())}:${R2(e.getMinutes())}:${R2(e.getSeconds())}`},bT={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${cv()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${cv()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${cv()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${cv()}]`,...t)}}},jY={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}},ET=SY;let CT,wT;function dt(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var NY=0;function Nr(e){return"__private_"+NY+++"_"+e}const{nanoid:BY}=ET,{justErrorsLogger:FY,debugLogger:kY}=bT;class fa extends Error{constructor(){super(...arguments),this.isRestriction=!0}}typeof AggregateError=="undefined"&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});class LY extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var po=Nr("plugins"),Xd=Nr("storeUnsubscribe"),Va=Nr("emitter"),nl=Nr("preProcessors"),rl=Nr("uploaders"),Wa=Nr("postProcessors"),Yd=Nr("checkRestrictions"),j2=Nr("checkMinNumberOfFiles"),Jd=Nr("checkRequiredMetaFieldsOnFile"),N2=Nr("checkRequiredMetaFields"),Kr=Nr("showOrLogErrorAndThrow"),Zd=Nr("assertNewUploadAllowed"),Qd=Nr("checkAndCreateFileStateObject"),qd=Nr("startIfAutoProceed"),B2=Nr("addListeners"),zi=Nr("updateOnlineStatus"),Ga=Nr("createUpload"),F2=Nr("getUpload"),ol=Nr("removeUpload"),Ka=Nr("runUpload");CT=Symbol.for("uppy test: getPlugins"),wT=Symbol.for("uppy test: createUpload");class xT{constructor(e){Object.defineProperty(this,Ka,{value:ZY}),Object.defineProperty(this,ol,{value:JY}),Object.defineProperty(this,F2,{value:YY}),Object.defineProperty(this,Ga,{value:XY}),Object.defineProperty(this,B2,{value:KY}),Object.defineProperty(this,qd,{value:GY}),Object.defineProperty(this,Qd,{value:WY}),Object.defineProperty(this,Zd,{value:VY}),Object.defineProperty(this,Kr,{value:HY}),Object.defineProperty(this,N2,{value:zY}),Object.defineProperty(this,Jd,{value:UY}),Object.defineProperty(this,j2,{value:IY}),Object.defineProperty(this,Yd,{value:MY}),Object.defineProperty(this,po,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,Xd,{writable:!0,value:void 0}),Object.defineProperty(this,Va,{writable:!0,value:fT()}),Object.defineProperty(this,nl,{writable:!0,value:new Set}),Object.defineProperty(this,rl,{writable:!0,value:new Set}),Object.defineProperty(this,Wa,{writable:!0,value:new Set}),Object.defineProperty(this,zi,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=jY;const t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:n=>n,onBeforeUpload:n=>n,store:new gT,logger:FY,infoTimeout:5e3};if(this.opts=de(de(de({},t),e),{restrictions:de(de({},t.restrictions),e&&e.restrictions)}),e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=kY),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&this.opts.restrictions.allowedFileTypes!==null&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=tl(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:RY(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:de({},this.opts.meta),info:[],recoveredState:null}),dt(this,Xd)[Xd]=this.store.subscribe((n,r,o)=>{this.emit("state-update",n,r,o),this.updateAll(r)}),this.opts.debug&&typeof window!="undefined"&&(window[this.opts.id]=this),dt(this,B2)[B2]()}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];dt(this,Va)[Va].emit(e,...n)}on(e,t){return dt(this,Va)[Va].on(e,t),this}once(e,t){return dt(this,Va)[Va].once(e,t),this}off(e,t){return dt(this,Va)[Va].off(e,t),this}updateAll(e){this.iteratePlugins(t=>{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw new Error(`Can\u2019t set state for ${e} (the file could have been removed)`);this.setState({files:de(de({},this.getState().files),{[e]:de(de({},this.getState().files[e]),t)})})}i18nInit(){const e=new cT([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts=de(de(de({},this.opts),e),{restrictions:de(de({},this.opts.restrictions),e&&e.restrictions)}),e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(t=>{t.setOptions()}),this.setState()}resetProgress(){const e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t=de({},this.getState().files),n={};Object.keys(t).forEach(r=>{const o=de({},t[r]);o.progress=de(de({},o.progress),e),n[r]=o}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){dt(this,nl)[nl].add(e)}removePreProcessor(e){return dt(this,nl)[nl].delete(e)}addPostProcessor(e){dt(this,Wa)[Wa].add(e)}removePostProcessor(e){return dt(this,Wa)[Wa].delete(e)}addUploader(e){dt(this,rl)[rl].add(e)}removeUploader(e){return dt(this,rl)[rl].delete(e)}setMeta(e){const t=de(de({},this.getState().meta),e),n=de({},this.getState().files);Object.keys(n).forEach(r=>{n[r]=de(de({},n[r]),{meta:de(de({},n[r].meta),e)})}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){const n=de({},this.getState().files);if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);const r=de(de({},n[e].meta),t);n[e]=de(de({},n[e]),{meta:r}),this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){const{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){const{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),o=r.filter(d=>{let{progress:y}=d;return!y.uploadComplete&&y.uploadStarted}),i=r.filter(d=>!d.progress.uploadStarted),a=r.filter(d=>d.progress.uploadStarted||d.progress.preprocess||d.progress.postprocess),u=r.filter(d=>d.progress.uploadStarted),s=r.filter(d=>d.isPaused),l=r.filter(d=>d.progress.uploadComplete),c=r.filter(d=>d.error),f=o.filter(d=>!d.isPaused),p=r.filter(d=>d.progress.preprocess||d.progress.postprocess);return{newFiles:i,startedFiles:a,uploadStartedFiles:u,pausedFiles:s,completeFiles:l,erroredFiles:c,inProgressFiles:o,inProgressNotPausedFiles:f,processingFiles:p,isUploadStarted:u.length>0,isAllComplete:t===100&&l.length===r.length&&p.length===0,isAllErrored:!!n&&c.length===r.length,isAllPaused:o.length!==0&&s.length===o.length,isUploadInProgress:o.length>0,isSomeGhost:r.some(d=>d.isGhost)}}validateRestrictions(e,t){try{return dt(this,Yd)[Yd](e,t),{result:!0}}catch(n){return{result:!1,reason:n.message}}}checkIfFileAlreadyExists(e){const{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){dt(this,Zd)[Zd](e);const{files:t}=this.getState();let n=dt(this,Qd)[Qd](t,e);return t[n.id]&&t[n.id].isGhost&&(n=de(de({},t[n.id]),{data:e.data,isGhost:!1}),this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:de(de({},t),{[n.id]:n})}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),dt(this,qd)[qd](),n.id}addFiles(e){dt(this,Zd)[Zd]();const t=de({},this.getState().files),n=[],r=[];for(let o=0;o<e.length;o++)try{let i=dt(this,Qd)[Qd](t,e[o]);t[i.id]&&t[i.id].isGhost&&(i=de(de({},t[i.id]),{data:e[o].data,isGhost:!1}),this.log(`Replaced blob in a ghost file: ${i.name}, ${i.id}`)),t[i.id]=i,n.push(i)}catch(i){i.isRestriction||r.push(i)}if(this.setState({files:t}),n.forEach(o=>{this.emit("file-added",o)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(o=>{this.log(`Added file: ${n[o].name}
id: ${n[o].id}
type: ${n[o].type}`)}),n.length>0&&dt(this,qd)[qd](),r.length>0){let o=`Multiple errors occurred while adding files:
`;if(r.forEach(i=>{o+=`
* ${i.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:o},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(r,o);{const i=new Error(o);throw i.errors=r,i}}}removeFiles(e,t){const{files:n,currentUploads:r}=this.getState(),o=de({},n),i=de({},r),a=Object.create(null);function u(c){return a[c]===void 0}e.forEach(c=>{n[c]&&(a[c]=n[c],delete o[c])}),Object.keys(i).forEach(c=>{const f=r[c].fileIDs.filter(u);f.length!==0?i[c]=de(de({},r[c]),{fileIDs:f}):delete i[c]});const s={currentUploads:i,files:o};Object.keys(o).length===0&&(s.allowNewUpload=!0,s.error=null,s.recoveredState=null),this.setState(s),this.calculateTotalProgress();const l=Object.keys(a);l.forEach(c=>{this.emit("file-removed",a[c],t)}),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`)}removeFile(e,t){t===void 0&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;const t=!(this.getFile(e).isPaused||!1);return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){const e=de({},this.getState().files);Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n=de(de({},e[t]),{isPaused:!0});e[t]=n}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e=de({},this.getState().files);Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n=de(de({},e[t]),{isPaused:!1,error:null});e[t]=n}),this.setState({files:e}),this.emit("resume-all")}retryAll(){const e=de({},this.getState().files),t=Object.keys(e).filter(r=>e[r].error);if(t.forEach(r=>{const o=de(de({},e[r]),{isPaused:!1,error:null});e[r]=o}),this.setState({files:e,error:null}),this.emit("retry-all",t),t.length===0)return Promise.resolve({successful:[],failed:[]});const n=dt(this,Ga)[Ga](t,{forceAllowNewUpload:!0});return dt(this,Ka)[Ka](n)}cancelAll(){this.emit("cancel-all");const{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);const t=dt(this,Ga)[Ga]([e],{forceAllowNewUpload:!0});return dt(this,Ka)[Ka](t)}reset(){this.cancelAll()}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,t){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:de(de({},this.getFile(e.id).progress),{bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0})}),this.calculateTotalProgress()}calculateTotalProgress(){const e=this.getFiles().filter(u=>u.progress.uploadStarted||u.progress.preprocess||u.progress.postprocess);if(e.length===0)return this.emit("progress",0),void this.setState({totalProgress:0});const t=e.filter(u=>u.progress.bytesTotal!=null),n=e.filter(u=>u.progress.bytesTotal==null);if(t.length===0){const u=100*e.length,s=n.reduce((c,f)=>c+f.progress.percentage,0),l=Math.round(s/u*100);return void this.setState({totalProgress:l})}let r=t.reduce((u,s)=>u+s.progress.bytesTotal,0);const o=r/t.length;r+=o*n.length;let i=0;t.forEach(u=>{i+=u.progress.bytesUploaded}),n.forEach(u=>{i+=o*(u.progress.percentage||0)/100});let a=r===0?0:Math.round(i/r*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a)}updateOnlineStatus(){window.navigator.onLine===void 0||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if(typeof e!="function")throw new TypeError(`Expected a plugin class, but got ${e===null?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);const n=new e(this,t),r=n.id;if(!r)throw new Error("Your plugin must have an id");if(!n.type)throw new Error("Your plugin must have a type");const o=this.getPlugin(r);if(o){const i=`Already found a plugin named '${o.id}'. Tried to use: '${r}'.
Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(i)}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in dt(this,po)[po]?dt(this,po)[po][n.type].push(n):dt(this,po)[po][n.type]=[n],n.install(),this}getPlugin(e){for(const t of Object.values(dt(this,po)[po])){const n=t.find(r=>r.id===e);if(n!=null)return n}}[CT](e){return dt(this,po)[po][e]}iteratePlugins(e){Object.values(dt(this,po)[po]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const t=dt(this,po)[po][e.type],n=t.findIndex(o=>o.id===e.id);n!==-1&&t.splice(n,1);const r={plugins:de(de({},this.getState().plugins),{[e.id]:void 0})};this.setState(r)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),dt(this,Xd)[Xd](),this.iteratePlugins(e=>{this.removePlugin(e)}),typeof window!="undefined"&&window.removeEventListener&&(window.removeEventListener("online",dt(this,zi)[zi]),window.removeEventListener("offline",dt(this,zi)[zi]))}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){t===void 0&&(t="info"),n===void 0&&(n=3e3);const r=typeof e=="object";this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(e,t){const{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?dt(this,Ka)[Ka](e):(dt(this,ol)[ol](e),Promise.reject(new Error("Nonexistent upload")))}[wT](){return dt(this,Ga)[Ga](...arguments)}addResultData(e,t){if(!dt(this,F2)[F2](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:n}=this.getState(),r=de(de({},n[e]),{result:de(de({},n[e].result),t)});this.setState({currentUploads:de(de({},n),{[e]:r})})}upload(){var e;(e=dt(this,po)[po].uploader)!=null&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState();const n=this.opts.onBeforeUpload(t);return n===!1?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(n&&typeof n=="object"&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>{dt(this,j2)[j2](t),dt(this,N2)[N2](t)}).catch(r=>{dt(this,Kr)[Kr](r)}).then(()=>{const{currentUploads:r}=this.getState(),o=Object.values(r).flatMap(u=>u.fileIDs),i=[];Object.keys(t).forEach(u=>{const s=this.getFile(u);s.progress.uploadStarted||o.indexOf(u)!==-1||i.push(s.id)});const a=dt(this,Ga)[Ga](i);return dt(this,Ka)[Ka](a)}).catch(r=>{dt(this,Kr)[Kr](r,{showInformer:!1})}))}}function MY(e,t){t===void 0&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&t.length+1>i)throw new fa(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(u=>u.indexOf("/")>-1?!!e.type&&OY(e.type.replace(/;.*?$/,""),u):!(u[0]!=="."||!e.extension)&&e.extension.toLowerCase()===u.substr(1).toLowerCase())){const u=a.join(", ");throw new fa(this.i18n("youCanOnlyUploadFileTypes",{types:u}))}if(o&&e.size!=null){let u=0;if(u+=e.size,t.forEach(s=>{u+=s.size}),u>o)throw new fa(this.i18n("exceedsSize",{size:T2(o),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new fa(this.i18n("exceedsSize",{size:T2(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new fa(this.i18n("inferiorSize",{size:T2(r)}))}function IY(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new fa(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function UY(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<t.length;i++)if(!n.call(e.meta,t[i])||e.meta[t[i]]===""){const a=new fa(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(a),o.push(t[i]),dt(this,Kr)[Kr](a,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r}function zY(e){const t=Object.keys(e).flatMap(n=>{const r=this.getFile(n);return dt(this,Jd)[Jd](r)});if(t.length)throw new LY(t,`${this.i18n("missingRequiredMetaField")}`)}function HY(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=t===void 0?{}:t;const i=typeof e=="object"?e.message:e,a=typeof e=="object"&&e.details?e.details:"";let u=i;if(a&&(u+=` ${a}`),e.isRestriction?(this.log(u),this.emit("restriction-failed",r,e)):this.log(u,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw typeof e=="object"?e:new Error(e)}function VY(e){const{allowNewUpload:t}=this.getState();t===!1&&dt(this,Kr)[Kr](new fa(this.i18n("noMoreFilesAllowed")),{file:e})}function WY(e,t){const n=function(f){var p;if(f.type)return f.type;const d=f.name?(p=vT(f.name).extension)==null?void 0:p.toLowerCase():null;return d&&d in mT?mT[d]:"application/octet-stream"}(t),r=function(f,p){return p.name?p.name:f.split("/")[0]==="image"?`${f.split("/")[0]}.${f.split("/")[1]}`:"noname"}(n,t),o=vT(r).extension,i=Boolean(t.isRemote),a=function(f){let p="uppy";return typeof f.name=="string"&&(p+=`-${yT(f.name.toLowerCase())}`),f.type!==void 0&&(p+=`-${f.type}`),f.meta&&typeof f.meta.relativePath=="string"&&(p+=`-${yT(f.meta.relativePath.toLowerCase())}`),f.data.size!==void 0&&(p+=`-${f.data.size}`),f.data.lastModified!==void 0&&(p+=`-${f.data.lastModified}`),p}(de(de({},t),{type:n}));if(this.checkIfFileAlreadyExists(a)){const f=new fa(this.i18n("noDuplicates",{fileName:r}));dt(this,Kr)[Kr](f,{file:t})}const u=t.meta||{};u.name=r,u.type=n;const s=Number.isFinite(t.data.size)?t.data.size:null;let l={source:t.source||"",id:a,name:r,extension:o||"",meta:de(de({},this.getState().meta),u),type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:s,uploadComplete:!1,uploadStarted:null},size:s,isRemote:i,remote:t.remote||"",preview:t.preview};const c=this.opts.onBeforeFileAdded(l,e);c===!1?dt(this,Kr)[Kr](new fa("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):typeof c=="object"&&c!==null&&(l=c);try{const f=Object.keys(e).map(p=>e[p]);dt(this,Yd)[Yd](l,f)}catch(f){dt(this,Kr)[Kr](f,{file:l})}return l}function GY(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function KY(){const e=(t,n,r)=>{let o=t.message||"Unknown error";t.details&&(o+=` ${t.details}`),this.setState({error:o}),n!=null&&n.id in this.getState().files&&this.setFileState(n.id,{error:o,response:r})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),typeof n=="object"&&n.message){const o=new Error(n.message);o.details=n.message,n.details&&(o.details+=` ${n.details}`),o.message=this.i18n("failedToUpload",{file:t.name}),dt(this,Kr)[Kr](o,{throwErr:!1})}else dt(this,Kr)[Kr](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",t=>{this.getFile(t.id)?this.setFileState(t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:t.size}}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(t,n)=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const r=this.getFile(t.id).progress;this.setFileState(t.id,{progress:de(de({},r),{postprocess:dt(this,Wa)[Wa].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal}),response:n,uploadURL:n.uploadURL,isPaused:!1}),t.size==null&&this.setFileState(t.id,{size:n.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(t,n)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:de(de({},this.getFile(t.id).progress),{preprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("preprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const n=de({},this.getState().files);n[t.id]=de(de({},n[t.id]),{progress:de({},n[t.id].progress)}),delete n[t.id].progress.preprocess,this.setState({files:n})}),this.on("postprocess-progress",(t,n)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:de(de({},this.getState().files[t.id].progress),{postprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("postprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const n=de({},this.getState().files);n[t.id]=de(de({},n[t.id]),{progress:de({},n[t.id].progress)}),delete n[t.id].progress.postprocess,this.setState({files:n})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",t=>{t&&dt(this,Jd)[Jd](t)}),typeof window!="undefined"&&window.addEventListener&&(window.addEventListener("online",dt(this,zi)[zi]),window.addEventListener("offline",dt(this,zi)[zi]),setTimeout(dt(this,zi)[zi],3e3))}function XY(e,t){t===void 0&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const i=BY();return this.emit("upload",{id:i,fileIDs:e}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:de(de({},o),{[i]:{fileIDs:e,step:0,result:{}}})}),i}function YY(e){const{currentUploads:t}=this.getState();return t[e]}function JY(e){const t=de({},this.getState().currentUploads);delete t[e],this.setState({currentUploads:t})}function ZY(e){return D5(this,null,function*(){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,o=[...dt(this,nl)[nl],...dt(this,rl)[rl],...dt(this,Wa)[Wa]];try{for(let a=r;a<o.length&&n;a++){const u=o[a],s=de(de({},n),{step:a});this.setState({currentUploads:de(de({},t),{[e]:s})}),yield u(s.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(a){throw this.emit("error",a),dt(this,ol)[ol](e),a}if(n){n.fileIDs.forEach(l=>{const c=this.getFile(l);c&&c.progress.postprocess&&this.emit("postprocess-complete",c)});const a=n.fileIDs.map(l=>this.getFile(l)),u=a.filter(l=>!l.error),s=a.filter(l=>l.error);yield this.addResultData(e,{successful:u,failed:s,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let i;return n&&(i=n.result,this.emit("complete",i),dt(this,ol)[ol](e)),i==null&&this.log(`Not setting result for an upload that has been removed: ${e}`),i})}xT.VERSION="2.1.3";var AT=xT,QY=xt(function(e,t){var n,r,o,i,a,u,s,l,c={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(L,R){for(var G in R)L[G]=R[G];return L}function y(L){var R=L.parentNode;R&&R.removeChild(L)}function g(L,R,G){var le,Re,he,Qe={};for(he in R)he=="key"?le=R[he]:he=="ref"?Re=R[he]:Qe[he]=R[he];if(arguments.length>2&&(Qe.children=arguments.length>3?n.call(arguments,2):G),typeof L=="function"&&L.defaultProps!=null)for(he in L.defaultProps)Qe[he]===void 0&&(Qe[he]=L.defaultProps[he]);return v(L,Qe,le,Re,null)}function v(L,R,G,le,Re){var he={type:L,props:R,key:G,ref:le,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:Re==null?++o:Re};return Re==null&&r.vnode!=null&&r.vnode(he),he}function m(L){return L.children}function h(L,R){this.props=L,this.context=R}function b(L,R){if(R==null)return L.__?b(L.__,L.__.__k.indexOf(L)+1):null;for(var G;R<L.__k.length;R++)if((G=L.__k[R])!=null&&G.__e!=null)return G.__e;return typeof L.type=="function"?b(L):null}function E(L){var R,G;if((L=L.__)!=null&&L.__c!=null){for(L.__e=L.__c.base=null,R=0;R<L.__k.length;R++)if((G=L.__k[R])!=null&&G.__e!=null){L.__e=L.__c.base=G.__e;break}return E(L)}}function w(L){(!L.__d&&(L.__d=!0)&&a.push(L)&&!S.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||u)(S)}function S(){for(var L;S.__r=a.length;)L=a.sort(function(R,G){return R.__v.__b-G.__v.__b}),a=[],L.some(function(R){var G,le,Re,he,Qe,Ct;R.__d&&(Qe=(he=(G=R).__v).__e,(Ct=G.__P)&&(le=[],(Re=d({},he)).__v=he.__v+1,me(Ct,he,Re,G.__n,Ct.ownerSVGElement!==void 0,he.__h!=null?[Qe]:null,le,Qe==null?b(he):Qe,he.__h),ye(le,he),he.__e!=Qe&&E(he)))})}function x(L,R,G,le,Re,he,Qe,Ct,Tt,Lt){var Ce,en,Ht,ht,Vt,br,dn,Rn=le&&le.__k||f,nr=Rn.length;for(G.__k=[],Ce=0;Ce<R.length;Ce++)if((ht=G.__k[Ce]=(ht=R[Ce])==null||typeof ht=="boolean"?null:typeof ht=="string"||typeof ht=="number"||typeof ht=="bigint"?v(null,ht,null,null,ht):Array.isArray(ht)?v(m,{children:ht},null,null,null):ht.__b>0?v(ht.type,ht.props,ht.key,null,ht.__v):ht)!=null){if(ht.__=G,ht.__b=G.__b+1,(Ht=Rn[Ce])===null||Ht&&ht.key==Ht.key&&ht.type===Ht.type)Rn[Ce]=void 0;else for(en=0;en<nr;en++){if((Ht=Rn[en])&&ht.key==Ht.key&&ht.type===Ht.type){Rn[en]=void 0;break}Ht=null}me(L,ht,Ht=Ht||c,Re,he,Qe,Ct,Tt,Lt),Vt=ht.__e,(en=ht.ref)&&Ht.ref!=en&&(dn||(dn=[]),Ht.ref&&dn.push(Ht.ref,null,ht),dn.push(en,ht.__c||Vt,ht)),Vt!=null?(br==null&&(br=Vt),typeof ht.type=="function"&&ht.__k===Ht.__k?ht.__d=Tt=B(ht,Tt,L):Tt=U(L,ht,Ht,Rn,Vt,Tt),typeof G.type=="function"&&(G.__d=Tt)):Tt&&Ht.__e==Tt&&Tt.parentNode!=L&&(Tt=b(Ht))}for(G.__e=br,Ce=nr;Ce--;)Rn[Ce]!=null&&(typeof G.type=="function"&&Rn[Ce].__e!=null&&Rn[Ce].__e==G.__d&&(G.__d=b(le,Ce+1)),st(Rn[Ce],Rn[Ce]));if(dn)for(Ce=0;Ce<dn.length;Ce++)Ve(dn[Ce],dn[++Ce],dn[++Ce])}function B(L,R,G){for(var le,Re=L.__k,he=0;Re&&he<Re.length;he++)(le=Re[he])&&(le.__=L,R=typeof le.type=="function"?B(le,R,G):U(G,le,le,Re,le.__e,R));return R}function U(L,R,G,le,Re,he){var Qe,Ct,Tt;if(R.__d!==void 0)Qe=R.__d,R.__d=void 0;else if(G==null||Re!=he||Re.parentNode==null)e:if(he==null||he.parentNode!==L)L.appendChild(Re),Qe=null;else{for(Ct=he,Tt=0;(Ct=Ct.nextSibling)&&Tt<le.length;Tt+=2)if(Ct==Re)break e;L.insertBefore(Re,he),Qe=he}return Qe!==void 0?Qe:Re.nextSibling}function oe(L,R,G){R[0]==="-"?L.setProperty(R,G):L[R]=G==null?"":typeof G!="number"||p.test(R)?G:G+"px"}function fe(L,R,G,le,Re){var he;e:if(R==="style")if(typeof G=="string")L.style.cssText=G;else{if(typeof le=="string"&&(L.style.cssText=le=""),le)for(R in le)G&&R in G||oe(L.style,R,"");if(G)for(R in G)le&&G[R]===le[R]||oe(L.style,R,G[R])}else if(R[0]==="o"&&R[1]==="n")he=R!==(R=R.replace(/Capture$/,"")),R=R.toLowerCase()in L?R.toLowerCase().slice(2):R.slice(2),L.l||(L.l={}),L.l[R+he]=G,G?le||L.addEventListener(R,he?De:ie,he):L.removeEventListener(R,he?De:ie,he);else if(R!=="dangerouslySetInnerHTML"){if(Re)R=R.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(R!=="href"&&R!=="list"&&R!=="form"&&R!=="tabIndex"&&R!=="download"&&R in L)try{L[R]=G==null?"":G;break e}catch(Qe){}typeof G=="function"||(G!=null&&(G!==!1||R[0]==="a"&&R[1]==="r")?L.setAttribute(R,G):L.removeAttribute(R))}}function ie(L){this.l[L.type+!1](r.event?r.event(L):L)}function De(L){this.l[L.type+!0](r.event?r.event(L):L)}function me(L,R,G,le,Re,he,Qe,Ct,Tt){var Lt,Ce,en,Ht,ht,Vt,br,dn,Rn,nr,_o,sn=R.type;if(R.constructor!==void 0)return null;G.__h!=null&&(Tt=G.__h,Ct=R.__e=G.__e,R.__h=null,he=[Ct]),(Lt=r.__b)&&Lt(R);try{e:if(typeof sn=="function"){if(dn=R.props,Rn=(Lt=sn.contextType)&&le[Lt.__c],nr=Lt?Rn?Rn.props.value:Lt.__:le,G.__c?br=(Ce=R.__c=G.__c).__=Ce.__E:("prototype"in sn&&sn.prototype.render?R.__c=Ce=new sn(dn,nr):(R.__c=Ce=new h(dn,nr),Ce.constructor=sn,Ce.render=at),Rn&&Rn.sub(Ce),Ce.props=dn,Ce.state||(Ce.state={}),Ce.context=nr,Ce.__n=le,en=Ce.__d=!0,Ce.__h=[]),Ce.__s==null&&(Ce.__s=Ce.state),sn.getDerivedStateFromProps!=null&&(Ce.__s==Ce.state&&(Ce.__s=d({},Ce.__s)),d(Ce.__s,sn.getDerivedStateFromProps(dn,Ce.__s))),Ht=Ce.props,ht=Ce.state,en)sn.getDerivedStateFromProps==null&&Ce.componentWillMount!=null&&Ce.componentWillMount(),Ce.componentDidMount!=null&&Ce.__h.push(Ce.componentDidMount);else{if(sn.getDerivedStateFromProps==null&&dn!==Ht&&Ce.componentWillReceiveProps!=null&&Ce.componentWillReceiveProps(dn,nr),!Ce.__e&&Ce.shouldComponentUpdate!=null&&Ce.shouldComponentUpdate(dn,Ce.__s,nr)===!1||R.__v===G.__v){Ce.props=dn,Ce.state=Ce.__s,R.__v!==G.__v&&(Ce.__d=!1),Ce.__v=R,R.__e=G.__e,R.__k=G.__k,R.__k.forEach(function(Jo){Jo&&(Jo.__=R)}),Ce.__h.length&&Qe.push(Ce);break e}Ce.componentWillUpdate!=null&&Ce.componentWillUpdate(dn,Ce.__s,nr),Ce.componentDidUpdate!=null&&Ce.__h.push(function(){Ce.componentDidUpdate(Ht,ht,Vt)})}Ce.context=nr,Ce.props=dn,Ce.state=Ce.__s,(Lt=r.__r)&&Lt(R),Ce.__d=!1,Ce.__v=R,Ce.__P=L,Lt=Ce.render(Ce.props,Ce.state,Ce.context),Ce.state=Ce.__s,Ce.getChildContext!=null&&(le=d(d({},le),Ce.getChildContext())),en||Ce.getSnapshotBeforeUpdate==null||(Vt=Ce.getSnapshotBeforeUpdate(Ht,ht)),_o=Lt!=null&&Lt.type===m&&Lt.key==null?Lt.props.children:Lt,x(L,Array.isArray(_o)?_o:[_o],R,G,le,Re,he,Qe,Ct,Tt),Ce.base=R.__e,R.__h=null,Ce.__h.length&&Qe.push(Ce),br&&(Ce.__E=Ce.__=null),Ce.__e=!1}else he==null&&R.__v===G.__v?(R.__k=G.__k,R.__e=G.__e):R.__e=we(G.__e,R,G,le,Re,he,Qe,Tt);(Lt=r.diffed)&&Lt(R)}catch(Jo){R.__v=null,(Tt||he!=null)&&(R.__e=Ct,R.__h=!!Tt,he[he.indexOf(Ct)]=null),r.__e(Jo,R,G)}}function ye(L,R){r.__c&&r.__c(R,L),L.some(function(G){try{L=G.__h,G.__h=[],L.some(function(le){le.call(G)})}catch(le){r.__e(le,G.__v)}})}function we(L,R,G,le,Re,he,Qe,Ct){var Tt,Lt,Ce,en=G.props,Ht=R.props,ht=R.type,Vt=0;if(ht==="svg"&&(Re=!0),he!=null){for(;Vt<he.length;Vt++)if((Tt=he[Vt])&&"setAttribute"in Tt==!!ht&&(ht?Tt.localName===ht:Tt.nodeType===3)){L=Tt,he[Vt]=null;break}}if(L==null){if(ht===null)return document.createTextNode(Ht);L=Re?document.createElementNS("http://www.w3.org/2000/svg",ht):document.createElement(ht,Ht.is&&Ht),he=null,Ct=!1}if(ht===null)en===Ht||Ct&&L.data===Ht||(L.data=Ht);else{if(he=he&&n.call(L.childNodes),Lt=(en=G.props||c).dangerouslySetInnerHTML,Ce=Ht.dangerouslySetInnerHTML,!Ct){if(he!=null)for(en={},Vt=0;Vt<L.attributes.length;Vt++)en[L.attributes[Vt].name]=L.attributes[Vt].value;(Ce||Lt)&&(Ce&&(Lt&&Ce.__html==Lt.__html||Ce.__html===L.innerHTML)||(L.innerHTML=Ce&&Ce.__html||""))}if(function(br,dn,Rn,nr,_o){var sn;for(sn in Rn)sn==="children"||sn==="key"||sn in dn||fe(br,sn,null,Rn[sn],nr);for(sn in dn)_o&&typeof dn[sn]!="function"||sn==="children"||sn==="key"||sn==="value"||sn==="checked"||Rn[sn]===dn[sn]||fe(br,sn,dn[sn],Rn[sn],nr)}(L,Ht,en,Re,Ct),Ce)R.__k=[];else if(Vt=R.props.children,x(L,Array.isArray(Vt)?Vt:[Vt],R,G,le,Re&&ht!=="foreignObject",he,Qe,he?he[0]:G.__k&&b(G,0),Ct),he!=null)for(Vt=he.length;Vt--;)he[Vt]!=null&&y(he[Vt]);Ct||("value"in Ht&&(Vt=Ht.value)!==void 0&&(Vt!==en.value||Vt!==L.value||ht==="progress"&&!Vt)&&fe(L,"value",Vt,en.value,!1),"checked"in Ht&&(Vt=Ht.checked)!==void 0&&Vt!==L.checked&&fe(L,"checked",Vt,en.checked,!1))}return L}function Ve(L,R,G){try{typeof L=="function"?L(R):L.current=R}catch(le){r.__e(le,G)}}function st(L,R,G){var le,Re;if(r.unmount&&r.unmount(L),(le=L.ref)&&(le.current&&le.current!==L.__e||Ve(le,null,R)),(le=L.__c)!=null){if(le.componentWillUnmount)try{le.componentWillUnmount()}catch(he){r.__e(he,R)}le.base=le.__P=null}if(le=L.__k)for(Re=0;Re<le.length;Re++)le[Re]&&st(le[Re],R,typeof L.type!="function");G||L.__e==null||y(L.__e),L.__e=L.__d=void 0}function at(L,R,G){return this.constructor(L,G)}function rt(L,R,G){var le,Re,he;r.__&&r.__(L,R),Re=(le=typeof G=="function")?null:G&&G.__k||R.__k,he=[],me(R,L=(!le&&G||R).__k=g(m,null,[L]),Re||c,c,R.ownerSVGElement!==void 0,!le&&G?[G]:Re?null:R.firstChild?n.call(R.childNodes):null,he,!le&&G?G:Re?Re.__e:R.firstChild,le),ye(he,L)}n=f.slice,r={__e:function(L,R){for(var G,le,Re;R=R.__;)if((G=R.__c)&&!G.__)try{if((le=G.constructor)&&le.getDerivedStateFromError!=null&&(G.setState(le.getDerivedStateFromError(L)),Re=G.__d),G.componentDidCatch!=null&&(G.componentDidCatch(L),Re=G.__d),Re)return G.__E=G}catch(he){L=he}throw L}},o=0,i=function(L){return L!=null&&L.constructor===void 0},h.prototype.setState=function(L,R){var G;G=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=d({},this.state),typeof L=="function"&&(L=L(d({},G),this.props)),L&&d(G,L),L!=null&&this.__v&&(R&&this.__h.push(R),w(this))},h.prototype.forceUpdate=function(L){this.__v&&(this.__e=!0,L&&this.__h.push(L),w(this))},h.prototype.render=m,a=[],u=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,l=0,t.Component=h,t.Fragment=m,t.cloneElement=function(L,R,G){var le,Re,he,Qe=d({},L.props);for(he in R)he=="key"?le=R[he]:he=="ref"?Re=R[he]:Qe[he]=R[he];return arguments.length>2&&(Qe.children=arguments.length>3?n.call(arguments,2):G),v(L.type,Qe,le||L.key,Re||L.ref,null)},t.createContext=function(L,R){var G={__c:R="__cC"+l++,__:L,Consumer:function(le,Re){return le.children(Re)},Provider:function(le){var Re,he;return this.getChildContext||(Re=[],(he={})[R]=this,this.getChildContext=function(){return he},this.shouldComponentUpdate=function(Qe){this.props.value!==Qe.value&&Re.some(w)},this.sub=function(Qe){Re.push(Qe);var Ct=Qe.componentWillUnmount;Qe.componentWillUnmount=function(){Re.splice(Re.indexOf(Qe),1),Ct&&Ct.call(Qe)}}),le.children}};return G.Provider.__=G.Consumer.contextType=G},t.createElement=g,t.createRef=function(){return{current:null}},t.h=g,t.hydrate=function L(R,G){rt(R,G,L)},t.isValidElement=i,t.options=r,t.render=rt,t.toChildArray=function L(R,G){return G=G||[],R==null||typeof R=="boolean"||(Array.isArray(R)?R.some(function(le){L(le,G)}):G.push(R)),G}}),qY=function(e,t){return t===void 0&&(t=document),typeof e=="string"?t.querySelector(e):((n=e)==null?void 0:n.nodeType)===Node.ELEMENT_NODE?e:null;var n},k2=class{constructor(e,t){t===void 0&&(t={}),this.uppy=e,this.opts=t}getPluginState(){const{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){const{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:de(de({},t),{[this.id]:de(de({},t[this.id]),e)})})}setOptions(e){this.opts=de(de({},this.opts),e),this.setPluginState(),this.i18nInit()}i18nInit(){const e=new cT([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function ST(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var $Y=0;function eJ(e){return"__private_"+$Y+++"_"+e}const{render:DT}=QY;var $d=eJ("updateUI");class OT extends k2{constructor(){super(...arguments),Object.defineProperty(this,$d,{writable:!0,value:void 0})}mount(e,t){const n=t.id,r=qY(e);if(r){this.isTargetDOMEl=!0;const a=document.createDocumentFragment();return ST(this,$d)[$d]=function(u){let s=null,l=null;return function(){for(var c=arguments.length,f=new Array(c),p=0;p<c;p++)f[p]=arguments[p];return l=f,s||(s=Promise.resolve().then(()=>(s=null,u(...l)))),s}}(u=>{this.uppy.getPlugin(this.id)&&(DT(this.render(u),a),this.afterUpdate())}),this.uppy.log(`Installing ${n} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(r.innerHTML=""),DT(this.render(this.uppy.getState()),a),this.el=a.firstElementChild,r.appendChild(a),this.onMount(),this.el}let o;if(typeof e=="object"&&e instanceof OT)o=e;else if(typeof e=="function"){const a=e;this.uppy.iteratePlugins(u=>{if(u instanceof a)return o=u,!1})}if(o)return this.uppy.log(`Installing ${n} to ${o.id}`),this.parent=o,this.el=o.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${n}`);let i=`Invalid target option given to ${n}.`;throw i+=typeof e=="function"?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(i)}update(e){var t,n;this.el!=null&&((t=(n=ST(this,$d))[$d])==null||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&((e=this.el)==null||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}var tJ=OT;const{debugLogger:nJ}=bT;var ep=AT,rJ=AT,oJ=tJ,iJ=k2,aJ=nJ;ep.Uppy=rJ,ep.UIPlugin=oJ,ep.BasePlugin=iJ,ep.debugLogger=aJ;class uJ extends Error{constructor(e,t){t===void 0&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}var L2=uJ,M2=function(){return fetch(...arguments).catch(e=>{throw e.name==="AbortError"?e:new L2(e)})};class sJ extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var fv,Ou,da,_u,_T,lJ=sJ;function pa(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var cJ=0;function I2(e){return"__private_"+cJ+++"_"+e}function U2(e){return D5(this,null,function*(){if(e.status===401)throw new lJ;const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const r=yield t;n=r.message?`${n} message: ${r.message}`:n,n=r.requestId?`${n} request-Id: ${r.requestId}`:n}finally{throw new Error(n)}}return t})}var z2=(Ou=I2("getPostResponseFunc"),da=I2("getUrl"),_u=I2("errorHandler"),_T=fv=class e{constructor(t,n){Object.defineProperty(this,_u,{value:dJ}),Object.defineProperty(this,da,{value:fJ}),Object.defineProperty(this,Ou,{writable:!0,value:r=>o=>r?o:this.onReceiveResponse(o)}),this.uppy=t,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){const{companion:t}=this.uppy.getState(),n=this.opts.companionUrl;return(t&&t[n]?t[n]:n).replace(/\/$/,"")}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve(de(de({},e.defaultHeaders),t))}onReceiveResponse(t){const n=this.uppy.getState().companion||{},r=this.opts.companionUrl,{headers:o}=t;return o.has("i-am")&&o.get("i-am")!==n[r]&&this.uppy.setState({companion:de(de({},n),{[r]:o.get("i-am")})}),t}preflight(t){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(pa(this,da)[da](t),{method:"OPTIONS"}).then(n=>(n.headers.has("access-control-allow-headers")&&(this.allowedHeaders=n.headers.get("access-control-allow-headers").split(",").map(r=>r.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(n=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${n}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(t){return Promise.all([this.preflight(t),this.headers()]).then(n=>{let[r,o]=n;return Object.keys(o).forEach(i=>{r.includes(i.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${i}`),delete o[i])}),o})}get(t,n){return this.preflightAndHeaders(t).then(r=>M2(pa(this,da)[da](t),{method:"get",headers:r,credentials:this.opts.companionCookiesRule||"same-origin"})).then(pa(this,Ou)[Ou](n)).then(U2).catch(pa(this,_u)[_u]("get",t))}post(t,n,r){const o="post";return this.preflightAndHeaders(t).then(i=>M2(pa(this,da)[da](t),{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then(pa(this,Ou)[Ou](r)).then(U2).catch(pa(this,_u)[_u](o,t))}delete(t,n,r){const o="delete";return this.preflightAndHeaders(t).then(i=>M2(`${this.hostname}/${t}`,{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then(pa(this,Ou)[Ou](r)).then(U2).catch(pa(this,_u)[_u](o,t))}},fv.VERSION="2.0.4",fv.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${fv.VERSION}`},_T);function fJ(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function dJ(e,t){return n=>{var r;if((r=n)==null||!r.isAuthError){const o=new Error(`Could not ${e} ${pa(this,da)[da](t)}`);o.cause=n,n=o}return Promise.reject(n)}}var pJ={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t()})},ha,Tu,yi,xo,dv;let TT,PT;function Br(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var hJ=0;function tp(e){return"__private_"+hJ+++"_"+e}var gJ=(ha=tp("queued"),Tu=tp("emitter"),yi=tp("isOpen"),xo=tp("socket"),dv=tp("handleMessage"),TT=Symbol.for("uppy test: getSocket"),PT=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,ha,{writable:!0,value:[]}),Object.defineProperty(this,Tu,{writable:!0,value:fT()}),Object.defineProperty(this,yi,{writable:!0,value:!1}),Object.defineProperty(this,xo,{writable:!0,value:void 0}),Object.defineProperty(this,dv,{writable:!0,value:t=>{try{const n=JSON.parse(t.data);this.emit(n.action,n.payload)}catch(n){console.log(n)}}}),this.opts=e,e&&e.autoOpen===!1||this.open()}get isOpen(){return Br(this,yi)[yi]}[TT](){return Br(this,xo)[xo]}[PT](){return Br(this,ha)[ha]}open(){Br(this,xo)[xo]=new WebSocket(this.opts.target),Br(this,xo)[xo].onopen=()=>{for(Br(this,yi)[yi]=!0;Br(this,ha)[ha].length>0&&Br(this,yi)[yi];){const e=Br(this,ha)[ha].shift();this.send(e.action,e.payload)}},Br(this,xo)[xo].onclose=()=>{Br(this,yi)[yi]=!1},Br(this,xo)[xo].onmessage=Br(this,dv)[dv]}close(){var e;(e=Br(this,xo)[xo])==null||e.close()}send(e,t){Br(this,yi)[yi]?Br(this,xo)[xo].send(JSON.stringify({action:e,payload:t})):Br(this,ha)[ha].push({action:e,payload:t})}on(e,t){Br(this,Tu)[Tu].on(e,t)}emit(e,t){Br(this,Tu)[Tu].emit(e,t)}once(e,t){Br(this,Tu)[Tu].once(e,t)}}),vJ={RequestClient:z2,Provider:class extends z2{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(e=>{let[t,n]=e;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),de(de({},t),r)})}onReceiveResponse(e){e=super.onReceiveResponse(e);const t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?e.status!==401:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return e===void 0&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts=de(de({},n),t)),t.serverUrl||t.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){const r=t.companionAllowedHosts;if(!(typeof r=="string"||Array.isArray(r)||r instanceof RegExp))throw new TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=r}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||pJ}},SearchProvider:class extends z2{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return t=t?`&${t}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`)}},Socket:gJ},Pu,Mc,mJ=tl(function(e,t,n){const{progress:r,bytesUploaded:o,bytesTotal:i}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:i}))},300,{leading:!0,trailing:!0});function np(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var yJ=0;function RT(e){return"__private_"+yJ+++"_"+e}var jT=(Pu=RT("emitter"),Mc=RT("events"),class{constructor(e){Object.defineProperty(this,Pu,{writable:!0,value:void 0}),Object.defineProperty(this,Mc,{writable:!0,value:[]}),np(this,Pu)[Pu]=e}on(e,t){return np(this,Mc)[Mc].push([e,t]),np(this,Pu)[Pu].on(e,t)}remove(){for(const[e,t]of np(this,Mc)[Mc].splice(0))np(this,Pu)[Pu].off(e,t)}});function bi(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bJ=0;function pv(e){return"__private_"+bJ+++"_"+e}var Xa=pv("aliveTimer"),il=pv("isDone"),rp=pv("onTimedOut"),al=pv("timeout"),NT=class{constructor(e,t){Object.defineProperty(this,Xa,{writable:!0,value:void 0}),Object.defineProperty(this,il,{writable:!0,value:!1}),Object.defineProperty(this,rp,{writable:!0,value:void 0}),Object.defineProperty(this,al,{writable:!0,value:void 0}),bi(this,al)[al]=e,bi(this,rp)[rp]=t}progress(){bi(this,il)[il]||bi(this,al)[al]>0&&(clearTimeout(bi(this,Xa)[Xa]),bi(this,Xa)[Xa]=setTimeout(bi(this,rp)[rp],bi(this,al)[al]))}done(){bi(this,il)[il]||(clearTimeout(bi(this,Xa)[Xa]),bi(this,Xa)[Xa]=null,bi(this,il)[il]=!0)}};function Fr(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var EJ=0;function ul(e){return"__private_"+EJ+++"_"+e}function CJ(){return new Error("Cancelled")}var ni=ul("activeRequests"),ko=ul("queuedHandlers"),op=ul("call"),ip=ul("queueNext"),H2=ul("next"),V2=ul("queue"),W2=ul("dequeue");function wJ(e){Fr(this,ni)[ni]+=1;let t,n=!1;try{t=e()}catch(r){throw Fr(this,ni)[ni]-=1,r}return{abort:()=>{n||(n=!0,Fr(this,ni)[ni]-=1,t(),Fr(this,ip)[ip]())},done:()=>{n||(n=!0,Fr(this,ni)[ni]-=1,Fr(this,ip)[ip]())}}}function xJ(){queueMicrotask(()=>Fr(this,H2)[H2]())}function AJ(){if(Fr(this,ni)[ni]>=this.limit)return;if(Fr(this,ko)[ko].length===0)return;const e=Fr(this,ko)[ko].shift(),t=Fr(this,op)[op](e.fn);e.abort=t.abort,e.done=t.done}function SJ(e,t){t===void 0&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{Fr(this,W2)[W2](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=Fr(this,ko)[ko].findIndex(o=>n.priority>o.priority);return r===-1?Fr(this,ko)[ko].push(n):Fr(this,ko)[ko].splice(r,0,n),n}function DJ(e){const t=Fr(this,ko)[ko].indexOf(e);t!==-1&&Fr(this,ko)[ko].splice(t,1)}var OJ={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,W2,{value:DJ}),Object.defineProperty(this,V2,{value:SJ}),Object.defineProperty(this,H2,{value:AJ}),Object.defineProperty(this,ip,{value:xJ}),Object.defineProperty(this,op,{value:wJ}),Object.defineProperty(this,ni,{writable:!0,value:0}),Object.defineProperty(this,ko,{writable:!0,value:[]}),this.limit=typeof e!="number"||e===0?1/0:e}run(e,t){return Fr(this,ni)[ni]<this.limit?Fr(this,op)[op](e):Fr(this,V2)[V2](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];let a;const u=new Promise((s,l)=>{a=n.run(()=>{let c,f;try{f=Promise.resolve(e(...o))}catch(p){f=Promise.reject(p)}return f.then(p=>{c?l(c):(a.done(),s(p))},p=>{c?l(c):(a.done(),l(p))}),()=>{c=CJ()}},t)});return u.abort=()=>{a.abort()},u}}},internalRateLimitedQueue:Symbol("__queue")},BT,FT,kT=function(e){return!!e&&(e.readyState!==0&&e.readyState!==4||e.status===0)},_J={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:TJ}=ET,{Provider:PJ,RequestClient:RJ,Socket:jJ}=vJ,{RateLimitedQueue:NJ,internalRateLimitedQueue:G2}=OJ;function LT(e,t){let n=t;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),kT(e)?(n=new L2(n,e),n):(n.request=e,n)}function MT(e){return e.data.slice(0,e.data.size,e.meta.type)}var BJ=(FT=BT=class extends k2{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=_J;const n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(r){let o={};try{o=JSON.parse(r)}catch(i){e.log(i)}return o},getResponseError(r,o){let i=new Error("Upload error");return kT(o)&&(i=new L2(i,o)),i},validateStatus:r=>r>=200&&r<300};if(this.opts=de(de({},n),t),this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),G2 in this.opts?this.requests=this.opts[G2]:this.requests=new NJ(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){const t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r=de(de(de(de({},this.opts),t||{}),e.xhrUpload||{}),{headers:{}});return typeof n=="function"?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(r=>{e.append(r,t[r])})}createFormDataUpload(e,t){const n=new FormData;this.addMetadata(n,e.meta,t);const r=MT(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){const n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(o=>{const i=this.getOptions(o),a=MT(o);o.name?n.append(i.fieldName,a,o.name):n.append(i.fieldName,a)}),n}upload(e,t,n){const r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((o,i)=>{this.uppy.emit("upload-started",e);const a=r.formData?this.createFormDataUpload(e,r):e.data,u=new XMLHttpRequest;this.uploaderEvents[e.id]=new jT(this.uppy);const s=new NT(r.timeout,()=>{u.abort(),c.done();const f=new Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,f),i(f)}),l=TJ();u.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${l} started`)}),u.upload.addEventListener("progress",f=>{this.uppy.log(`[XHRUpload] ${l} progress: ${f.loaded} / ${f.total}`),s.progress(),f.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:f.loaded,bytesTotal:f.total})}),u.addEventListener("load",f=>{if(this.uppy.log(`[XHRUpload] ${l} finished`),s.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(f.target.status,u.responseText,u)){const g=r.getResponseData(u.responseText,u),v=g[r.responseUrlFieldName],m={status:f.target.status,body:g,uploadURL:v};return this.uppy.emit("upload-success",e,m),v&&this.uppy.log(`Download ${e.name} from ${v}`),o(e)}const p=r.getResponseData(u.responseText,u),d=LT(u,r.getResponseError(u.responseText,u)),y={status:f.target.status,body:p};return this.uppy.emit("upload-error",e,d,y),i(d)}),u.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${l} errored`),s.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);const f=LT(u,r.getResponseError(u.responseText,u));return this.uppy.emit("upload-error",e,f),i(f)}),u.open(r.method.toUpperCase(),r.endpoint,!0),u.withCredentials=r.withCredentials,r.responseType!==""&&(u.responseType=r.responseType);const c=this.requests.run(()=>{this.uppy.emit("upload-started",e);const f=this.getOptions(e);return Object.keys(f.headers).forEach(p=>{u.setRequestHeader(p,f.headers[p])}),u.send(a),()=>{s.done(),u.abort()}});this.onFileRemove(e.id,()=>{c.abort(),i(new Error("File removed"))}),this.onCancelAll(e.id,()=>{c.abort(),i(new Error("Upload cancelled"))})})}uploadRemote(e){const t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);const o={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(i=>{o[i]=e.meta[i]}),new(e.remote.providerOptions.provider?PJ:RJ)(this.uppy,e.remote.providerOptions).post(e.remote.url,de(de({},e.remote.body),{endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:o,httpMethod:t.method,useFormData:t.formData,headers:t.headers})).then(i=>{const{token:a}=i,u=function(c){const f=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(c)[1];return`${/^http:\/\//i.test(c)?"ws":"wss"}://${f}`}(e.remote.companionUrl),s=new jJ({target:`${u}/api/${a}`,autoOpen:!1});this.uploaderEvents[e.id]=new jT(this.uppy),this.onFileRemove(e.id,()=>{s.send("cancel",{}),l.abort(),n(`upload ${e.id} was removed`)}),this.onCancelAll(e.id,()=>{s.send("cancel",{}),l.abort(),n(`upload ${e.id} was canceled`)}),this.onRetry(e.id,()=>{s.send("pause",{}),s.send("resume",{})}),this.onRetryAll(e.id,()=>{s.send("pause",{}),s.send("resume",{})}),s.on("progress",c=>mJ(this,c,e)),s.on("success",c=>{const f=t.getResponseData(c.response.responseText,c.response),p=f[t.responseUrlFieldName],d={status:c.response.status,body:f,uploadURL:p};return this.uppy.emit("upload-success",e,d),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()}),s.on("error",c=>{const f=c.response,p=f?t.getResponseError(f.responseText,f):Object.assign(new Error(c.error.message),{cause:c.error});this.uppy.emit("upload-error",e,p),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(p)});const l=this.requests.run(()=>(s.open(),e.isPaused&&s.send("pause",{}),()=>s.close()))}).catch(i=>{this.uppy.emit("upload-error",e,i),r(i)})})}uploadBundle(e){return new Promise((t,n)=>{const{endpoint:r}=this.opts,{method:o}=this.opts,i=this.uppy.getState().xhrUpload,a=this.createBundledUpload(e,de(de({},this.opts),i||{})),u=new XMLHttpRequest,s=new NT(this.opts.timeout,()=>{u.abort();const c=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(c),n(c)}),l=c=>{e.forEach(f=>{this.uppy.emit("upload-error",f,c)})};u.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),s.progress()}),u.upload.addEventListener("progress",c=>{s.progress(),c.lengthComputable&&e.forEach(f=>{this.uppy.emit("upload-progress",f,{uploader:this,bytesUploaded:c.loaded/c.total*f.size,bytesTotal:f.size})})}),u.addEventListener("load",c=>{if(s.done(),this.opts.validateStatus(c.target.status,u.responseText,u)){const p=this.opts.getResponseData(u.responseText,u),d={status:c.target.status,body:p};return e.forEach(y=>{this.uppy.emit("upload-success",y,d)}),t()}const f=this.opts.getResponseError(u.responseText,u)||new Error("Upload error");return f.request=u,l(f),n(f)}),u.addEventListener("error",()=>{s.done();const c=this.opts.getResponseError(u.responseText,u)||new Error("Upload error");return l(c),n(c)}),this.uppy.on("cancel-all",()=>{s.done(),u.abort()}),u.open(o.toUpperCase(),r,!0),u.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(u.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(c=>{u.setRequestHeader(c,this.opts.headers[c])}),u.send(a),e.forEach(c=>{this.uppy.emit("upload-started",c)})})}uploadFiles(e){const t=e.map((n,r)=>{const o=parseInt(r,10)+1,i=e.length;return n.error?Promise.reject(new Error(n.error)):n.isRemote?this.uploadRemote(n,o,i):this.upload(n,o,i)});return function(n){const r=[],o=[];function i(u){r.push(u)}function a(u){o.push(u)}return Promise.all(n.map(u=>u.then(i,a))).then(()=>({successful:r,failed:o}))}(t)}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}handleUpload(e){if(e.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit!==0||this.opts[G2]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const t=e.map(n=>this.uppy.getFile(n));if(this.opts.bundle){if(t.some(n=>n.isRemote))throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:de(de({},e),{individualCancellation:!1})})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:de(de({},e),{individualCancellation:!0})})}this.uppy.removeUploader(this.handleUpload)}},BT.VERSION="2.0.6",FT),IT=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function ap(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ru,hv,gv=function(e){return e&&e.Math==Math&&e},Ne=gv(typeof globalThis=="object"&&globalThis)||gv(typeof window=="object"&&window)||gv(typeof self=="object"&&self)||gv(typeof IT=="object"&&IT)||function(){return this}()||Function("return this")(),FJ=Object.defineProperty,K2=function(e,t){try{FJ(Ne,e,{value:t,configurable:!0,writable:!0})}catch(n){Ne[e]=t}return t},ju=Ne["__core-js_shared__"]||K2("__core-js_shared__",{}),X2=ap(function(e){(e.exports=function(t,n){return ju[t]||(ju[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),UT=Function.prototype,Y2=UT.bind,J2=UT.call,kJ=Y2&&Y2.bind(J2),pt=Y2?function(e){return e&&kJ(J2,e)}:function(e){return e&&function(){return J2.apply(e,arguments)}},LJ=Ne.TypeError,Ei=function(e){if(e==null)throw LJ("Can't call method on "+e);return e},MJ=Ne.Object,Nu=function(e){return MJ(Ei(e))},IJ=pt({}.hasOwnProperty),wr=Object.hasOwn||function(e,t){return IJ(Nu(e),t)},UJ=0,zJ=Math.random(),HJ=pt(1 .toString),Z2=function(e){return"Symbol("+(e===void 0?"":e)+")_"+HJ(++UJ+zJ,36)},Tn=function(e){return typeof e=="function"},VJ=function(e){return Tn(e)?e:void 0},sl=function(e,t){return arguments.length<2?VJ(Ne[e]):Ne[e]&&Ne[e][t]},Ic=sl("navigator","userAgent")||"",zT=Ne.process,HT=Ne.Deno,VT=zT&&zT.versions||HT&&HT.version,WT=VT&&VT.v8;WT&&(hv=(Ru=WT.split("."))[0]>0&&Ru[0]<4?1:+(Ru[0]+Ru[1])),!hv&&Ic&&(!(Ru=Ic.match(/Edge\/(\d+)/))||Ru[1]>=74)&&(Ru=Ic.match(/Chrome\/(\d+)/))&&(hv=+Ru[1]);var up=hv,wn=function(e){try{return!!e()}catch(t){return!0}},Q2=!!Object.getOwnPropertySymbols&&!wn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&up&&up<41}),q2=Q2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",sp=X2("wks"),ll=Ne.Symbol,GT=ll&&ll.for,WJ=q2?ll:ll&&ll.withoutSetter||Z2,ir=function(e){if(!wr(sp,e)||!Q2&&typeof sp[e]!="string"){var t="Symbol."+e;Q2&&wr(ll,e)?sp[e]=ll[e]:sp[e]=q2&&GT?GT(t):WJ(t)}return sp[e]},KT={};KT[ir("toStringTag")]="z";var $2=String(KT)==="[object z]",ro=!wn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Vn=function(e){return typeof e=="object"?e!==null:Tn(e)},eC=Ne.document,GJ=Vn(eC)&&Vn(eC.createElement),lp=function(e){return GJ?eC.createElement(e):{}},XT=!ro&&!wn(function(){return Object.defineProperty(lp("div"),"a",{get:function(){return 7}}).a!=7}),KJ=Ne.String,XJ=Ne.TypeError,xr=function(e){if(Vn(e))return e;throw XJ(KJ(e)+" is not an object")},cp=Function.prototype.call,cn=cp.bind?cp.bind(cp):function(){return cp.apply(cp,arguments)},cl=pt({}.isPrototypeOf),YJ=Ne.Object,tC=q2?function(e){return typeof e=="symbol"}:function(e){var t=sl("Symbol");return Tn(t)&&cl(t.prototype,YJ(e))},JJ=Ne.String,vv=function(e){try{return JJ(e)}catch(t){return"Object"}},ZJ=Ne.TypeError,Bu=function(e){if(Tn(e))return e;throw ZJ(vv(e)+" is not a function")},fl=function(e,t){var n=e[t];return n==null?void 0:Bu(n)},QJ=Ne.TypeError,qJ=Ne.TypeError,$J=ir("toPrimitive"),nC=function(e){var t=function(n,r){if(!Vn(n)||tC(n))return n;var o,i=fl(n,$J);if(i){if(r===void 0&&(r="default"),o=cn(i,n,r),!Vn(o)||tC(o))return o;throw qJ("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Tn(s=a.toString)&&!Vn(l=cn(s,a)))return l;if(Tn(s=a.valueOf)&&!Vn(l=cn(s,a)))return l;if(u!=="string"&&Tn(s=a.toString)&&!Vn(l=cn(s,a)))return l;throw QJ("Can't convert object to primitive value")}(n,r)}(e,"string");return tC(t)?t:t+""},eZ=Ne.TypeError,YT=Object.defineProperty,Hi={f:ro?YT:function(e,t,n){if(xr(e),t=nC(t),xr(n),XT)try{return YT(e,t,n)}catch(r){}if("get"in n||"set"in n)throw eZ("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},mv=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Vi=ro?function(e,t,n){return Hi.f(e,t,mv(1,n))}:function(e,t,n){return e[t]=n,e},tZ=pt(Function.toString);Tn(ju.inspectSource)||(ju.inspectSource=function(e){return tZ(e)});var yv,fp,bv,Ev=ju.inspectSource,JT=Ne.WeakMap,ZT=Tn(JT)&&/native code/.test(Ev(JT)),QT=X2("keys"),rC=function(e){return QT[e]||(QT[e]=Z2(e))},Cv={},oC=Ne.TypeError,nZ=Ne.WeakMap;if(ZT||ju.state){var dl=ju.state||(ju.state=new nZ),rZ=pt(dl.get),qT=pt(dl.has),oZ=pt(dl.set);yv=function(e,t){if(qT(dl,e))throw new oC("Object already initialized");return t.facade=e,oZ(dl,e,t),t},fp=function(e){return rZ(dl,e)||{}},bv=function(e){return qT(dl,e)}}else{var Uc=rC("state");Cv[Uc]=!0,yv=function(e,t){if(wr(e,Uc))throw new oC("Object already initialized");return t.facade=e,Vi(e,Uc,t),t},fp=function(e){return wr(e,Uc)?e[Uc]:{}},bv=function(e){return wr(e,Uc)}}var Ao={set:yv,get:fp,has:bv,enforce:function(e){return bv(e)?fp(e):yv(e,{})},getterFor:function(e){return function(t){var n;if(!Vn(t)||(n=fp(t)).type!==e)throw oC("Incompatible receiver, "+e+" required");return n}}},$T=Function.prototype,iZ=ro&&Object.getOwnPropertyDescriptor,iC=wr($T,"name"),zc={EXISTS:iC,PROPER:iC&&function(){}.name==="something",CONFIGURABLE:iC&&(!ro||ro&&iZ($T,"name").configurable)},Vo=ap(function(e){var t=zc.CONFIGURABLE,n=Ao.get,r=Ao.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Tn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!wr(u,"name")||t&&u.name!==d)&&Vi(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Ne?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Vi(i,a,u)):f?i[a]=u:K2(a,u)})(Function.prototype,"toString",function(){return Tn(this)&&n(this).source||Ev(this)})}),aZ=pt({}.toString),uZ=pt("".slice),Wi=function(e){return uZ(aZ(e),8,-1)},sZ=ir("toStringTag"),lZ=Ne.Object,cZ=Wi(function(){return arguments}())=="Arguments",wv=$2?Wi:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=lZ(e),sZ))=="string"?n:cZ?Wi(t):(r=Wi(t))=="Object"&&Tn(t.callee)?"Arguments":r},fZ=$2?{}.toString:function(){return"[object "+wv(this)+"]"};$2||Vo(Object.prototype,"toString",fZ,{unsafe:!0});var xv={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},aC=lp("span").classList,eP=aC&&aC.constructor&&aC.constructor.prototype,tP=eP===Object.prototype?void 0:eP,nP=pt(pt.bind),pl=function(e,t){return Bu(e),t===void 0?e:nP?nP(e,t):function(){return e.apply(t,arguments)}},uC=Ne.Object,dZ=pt("".split),Av=wn(function(){return!uC("z").propertyIsEnumerable(0)})?function(e){return Wi(e)=="String"?dZ(e,""):uC(e)}:uC,pZ=Math.ceil,hZ=Math.floor,dp=function(e){var t=+e;return t!=t||t===0?0:(t>0?hZ:pZ)(t)},gZ=Math.min,Hc=function(e){return e>0?gZ(dp(e),9007199254740991):0},hl=function(e){return Hc(e.length)},Sv=Array.isArray||function(e){return Wi(e)=="Array"},rP=function(){},vZ=[],oP=sl("Reflect","construct"),sC=/^\s*(?:class|function)\b/,mZ=pt(sC.exec),yZ=!sC.exec(rP),pp=function(e){if(!Tn(e))return!1;try{return oP(rP,vZ,e),!0}catch(t){return!1}},Dv=!oP||wn(function(){var e;return pp(pp.call)||!pp(Object)||!pp(function(){e=!0})||e})?function(e){if(!Tn(e))return!1;switch(wv(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yZ||!!mZ(sC,Ev(e))}:pp,bZ=ir("species"),iP=Ne.Array,aP=function(e,t){return new(function(n){var r;return Sv(n)&&(r=n.constructor,(Dv(r)&&(r===iP||Sv(r.prototype))||Vn(r)&&(r=r[bZ])===null)&&(r=void 0)),r===void 0?iP:r}(e))(t===0?0:t)},uP=pt([].push),Fu=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=Nu(s),g=Av(y),v=pl(l,c),m=hl(g),h=0,b=f||aP,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:uP(E,p)}else switch(e){case 4:return!1;case 7:uP(E,p)}return i?-1:r||o?o:E}},Vc={forEach:Fu(0),map:Fu(1),filter:Fu(2),some:Fu(3),every:Fu(4),find:Fu(5),findIndex:Fu(6),filterReject:Fu(7)},sP=function(e,t){var n=[][e];return!!n&&wn(function(){n.call(null,t||function(){throw 1},1)})},EZ=Vc.forEach,lC=sP("forEach")?[].forEach:function(e){return EZ(this,e,arguments.length>1?arguments[1]:void 0)},lP=function(e){if(e&&e.forEach!==lC)try{Vi(e,"forEach",lC)}catch(t){e.forEach=lC}};for(var cC in xv)xv[cC]&&lP(Ne[cC]&&Ne[cC].prototype);lP(tP);var cP={}.propertyIsEnumerable,fP=Object.getOwnPropertyDescriptor,CZ=fP&&!cP.call({1:2},1)?function(e){var t=fP(this,e);return!!t&&t.enumerable}:cP,dP={f:CZ},ku=function(e){return Av(Ei(e))},pP=Object.getOwnPropertyDescriptor,hp={f:ro?pP:function(e,t){if(e=ku(e),t=nC(t),XT)try{return pP(e,t)}catch(n){}if(wr(e,t))return mv(!cn(dP.f,e,t),e[t])}},wZ=Math.max,xZ=Math.min,Wc=function(e,t){var n=dp(e);return n<0?wZ(n+t,0):xZ(n,t)},hP=function(e){return function(t,n,r){var o,i=ku(t),a=hl(i),u=Wc(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},gP={includes:hP(!0),indexOf:hP(!1)},AZ=gP.indexOf,vP=pt([].push),mP=function(e,t){var n,r=ku(e),o=0,i=[];for(n in r)!wr(Cv,n)&&wr(r,n)&&vP(i,n);for(;t.length>o;)wr(r,n=t[o++])&&(~AZ(i,n)||vP(i,n));return i},Ov=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],SZ=Ov.concat("length","prototype"),gp={f:Object.getOwnPropertyNames||function(e){return mP(e,SZ)}},yP={f:Object.getOwnPropertySymbols},DZ=pt([].concat),OZ=sl("Reflect","ownKeys")||function(e){var t=gp.f(xr(e)),n=yP.f;return n?DZ(t,n(e)):t},_Z=function(e,t){for(var n=OZ(t),r=Hi.f,o=hp.f,i=0;i<n.length;i++){var a=n[i];wr(e,a)||r(e,a,o(t,a))}},TZ=/#|\.prototype\./,vp=function(e,t){var n=RZ[PZ(e)];return n==NZ||n!=jZ&&(Tn(t)?wn(t):!!t)},PZ=vp.normalize=function(e){return String(e).replace(TZ,".").toLowerCase()},RZ=vp.data={},jZ=vp.NATIVE="N",NZ=vp.POLYFILL="P",mp=vp,BZ=hp.f,ar=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Ne:l?Ne[u]||K2(u,{}):(Ne[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=BZ(n,r))&&a.value:n[r],!mp(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;_Z(i,o)}(e.sham||o&&o.sham)&&Vi(i,"sham",!0),Vo(n,r,i,e)}},Gc=Object.keys||function(e){return mP(e,Ov)},FZ=wn(function(){Gc(1)});/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function bP(e){return Object.prototype.toString.call(e)==="[object Object]"}ar({target:"Object",stat:!0,forced:FZ},{keys:function(e){return Gc(Nu(e))}});var kZ={isHistory(e){return bP(t=e)!==!1&&((n=t.constructor)===void 0||bP(r=n.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||xu.isOperationList(e.redos[0]))&&(e.undos.length===0||xu.isOperationList(e.undos[0]));var t,n,r}},fC=new WeakMap,dC=new WeakMap,Kc={isHistoryEditor:e=>kZ.isHistory(e.history)&&C.isEditor(e),isMerging:e=>dC.get(e),isSaving:e=>fC.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Kc.isMerging(e);dC.set(e,!1),t(),dC.set(e,n)},withoutSaving(e,t){var n=Kc.isSaving(e);fC.set(e,!1),t(),fC.set(e,n)}},LZ=Ne.String,Un=function(e){if(wv(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return LZ(e)},pC=function(){var e=xr(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},MZ=zc.PROPER,hC=RegExp.prototype,EP=hC.toString,IZ=pt(pC),UZ=wn(function(){return EP.call({source:"a",flags:"b"})!="/a/b"}),zZ=MZ&&EP.name!="toString";(UZ||zZ)&&Vo(RegExp.prototype,"toString",function(){var e=xr(this),t=Un(e.source),n=e.flags;return"/"+t+"/"+Un(n===void 0&&cl(hC,e)&&!("flags"in hC)?IZ(e):n)},{unsafe:!0});var _v,HZ=ro?Object.defineProperties:function(e,t){xr(e);for(var n,r=ku(t),o=Gc(t),i=o.length,a=0;i>a;)Hi.f(e,n=o[a++],r[n]);return e},gC=sl("document","documentElement"),CP=rC("IE_PROTO"),vC=function(){},wP=function(e){return"<script>"+e+"</script>"},xP=function(e){e.write(wP("")),e.close();var t=e.parentWindow.Object;return e=null,t},Tv=function(){try{_v=new ActiveXObject("htmlfile")}catch(r){}var e,t;Tv=typeof document!="undefined"?document.domain&&_v?xP(_v):((t=lp("iframe")).style.display="none",gC.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(wP("document.F=Object")),e.close(),e.F):xP(_v);for(var n=Ov.length;n--;)delete Tv.prototype[Ov[n]];return Tv()};Cv[CP]=!0;var Pv=Object.create||function(e,t){var n;return e!==null?(vC.prototype=xr(e),n=new vC,vC.prototype=null,n[CP]=e):n=Tv(),t===void 0?n:HZ(n,t)},mC=ir("unscopables"),yC=Array.prototype;yC[mC]==null&&Hi.f(yC,mC,{configurable:!0,value:Pv(null)});var yp=function(e){yC[mC][e]=!0},VZ=gP.includes;ar({target:"Array",proto:!0},{includes:function(e){return VZ(this,e,arguments.length>1?arguments[1]:void 0)}}),yp("includes");var WZ=ir("match"),bC=function(e){var t;return Vn(e)&&((t=e[WZ])!==void 0?!!t:Wi(e)=="RegExp")},GZ=Ne.TypeError,EC=function(e){if(bC(e))throw GZ("The method doesn't accept regular expressions");return e},KZ=ir("match"),CC=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[KZ]=!1,"/./"[e](t)}catch(r){}}return!1},XZ=pt("".indexOf);ar({target:"String",proto:!0,forced:!CC("includes")},{includes:function(e){return!!~XZ(Un(Ei(this)),Un(EC(e)),arguments.length>1?arguments[1]:void 0)}});var YZ=/"/g,JZ=pt("".replace);ar({target:"String",proto:!0,forced:wn(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=Un(Ei(this)),r="<a",(r+=' name="'+JZ(Un(t),YZ,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var wC=function(e,t,n){var r,o;xr(e);try{if(!(r=fl(e,"return"))){if(t==="throw")throw n;return n}r=cn(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return xr(r),n},ZZ=function(e,t,n,r){try{return r?t(xr(n)[0],n[1]):t(n)}catch(o){wC(e,"throw",o)}},Xc={},QZ=ir("iterator"),qZ=Array.prototype,AP=function(e){return e!==void 0&&(Xc.Array===e||qZ[QZ]===e)},bp=function(e,t,n){var r=nC(t);r in e?Hi.f(e,r,mv(0,n)):e[r]=n},$Z=ir("iterator"),xC=function(e){if(e!=null)return fl(e,$Z)||fl(e,"@@iterator")||Xc[wv(e)]},eQ=Ne.TypeError,SP=function(e,t){var n=arguments.length<2?xC(e):t;if(Bu(n))return xr(cn(n,e));throw eQ(vv(e)+" is not iterable")},DP=Ne.Array,OP=ir("iterator"),_P=!1;try{var tQ=0,TP={next:function(){return{done:!!tQ++}},return:function(){_P=!0}};TP[OP]=function(){return this},Array.from(TP,function(){throw 2})}catch(e){}var AC=function(e,t){if(!t&&!_P)return!1;var n=!1;try{var r={};r[OP]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(o){}return n},nQ=!AC(function(e){Array.from(e)});ar({target:"Array",stat:!0,forced:nQ},{from:function(e){var t=Nu(e),n=Dv(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=o!==void 0;i&&(o=pl(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,p=xC(t),d=0;if(!p||this==DP&&AP(p))for(a=hl(t),u=n?new this(a):DP(a);a>d;d++)f=i?o(t[d],d):t[d],bp(u,d,f);else for(c=(l=SP(t,p)).next,u=n?new this:[];!(s=cn(c,l)).done;d++)f=i?ZZ(l,o,[s.value,d],!0):s.value,bp(u,d,f);return u.length=d,u}});var gl,PP,RP,rQ=pt("".charAt),jP=pt("".charCodeAt),oQ=pt("".slice),NP=function(e){return function(t,n){var r,o,i=Un(Ei(t)),a=dp(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=jP(i,a))<55296||r>56319||a+1===u||(o=jP(i,a+1))<56320||o>57343?e?rQ(i,a):r:e?oQ(i,a,a+2):o-56320+(r-55296<<10)+65536}},BP={codeAt:NP(!1),charAt:NP(!0)},iQ=!wn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),FP=rC("IE_PROTO"),SC=Ne.Object,aQ=SC.prototype,Rv=iQ?SC.getPrototypeOf:function(e){var t=Nu(e);if(wr(t,FP))return t[FP];var n=t.constructor;return Tn(n)&&t instanceof n?n.prototype:t instanceof SC?aQ:null},DC=ir("iterator"),kP=!1;[].keys&&("next"in(RP=[].keys())?(PP=Rv(Rv(RP)))!==Object.prototype&&(gl=PP):kP=!0);var uQ=gl==null||wn(function(){var e={};return gl[DC].call(e)!==e});uQ&&(gl={}),Tn(gl[DC])||Vo(gl,DC,function(){return this});var OC={IteratorPrototype:gl,BUGGY_SAFARI_ITERATORS:kP},sQ=Hi.f,LP=ir("toStringTag"),jv=function(e,t,n){e&&!wr(e=n?e:e.prototype,LP)&&sQ(e,LP,{configurable:!0,value:t})},lQ=OC.IteratorPrototype,cQ=function(){return this},fQ=Ne.String,dQ=Ne.TypeError,Yc=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=pt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,o){return xr(r),function(i){if(typeof i=="object"||Tn(i))return i;throw dQ("Can't set "+fQ(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),pQ=zc.PROPER,hQ=zc.CONFIGURABLE,MP=OC.IteratorPrototype,Nv=OC.BUGGY_SAFARI_ITERATORS,Ep=ir("iterator"),gQ=function(){return this},_C=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=Pv(lQ,{next:mv(1,b)}),jv(m,w,!1),Xc[w]=cQ}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!Nv&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[Ep]||d["@@iterator"]||o&&d[o],g=!Nv&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=Rv(v.call(new e)))!==Object.prototype&&u.next&&(Rv(u)!==MP&&(Yc?Yc(u,MP):Tn(u[Ep])||Vo(u,Ep,gQ)),jv(u,f,!0)),pQ&&o=="values"&&y&&y.name!=="values"&&(hQ?Vi(d,"name","values"):(p=!0,g=function(){return cn(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(Nv||p||!(l in d))&&Vo(d,l,s[l]);else ar({target:t,proto:!0,forced:Nv||p},s);return d[Ep]!==g&&Vo(d,Ep,g,{name:o}),Xc[t]=g,s},vQ=BP.charAt,mQ=Ao.set,yQ=Ao.getterFor("String Iterator");_C(String,"String",function(e){mQ(this,{type:"String Iterator",string:Un(e),index:0})},function(){var e,t=yQ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=vQ(n,r),t.index+=e.length,{value:e,done:!1})});var TC,bQ=hp.f,IP=pt("".endsWith),EQ=pt("".slice),CQ=Math.min,UP=CC("endsWith"),wQ=!(UP||(TC=bQ(String.prototype,"endsWith"),!TC||TC.writable));ar({target:"String",proto:!0,forced:!wQ&&!UP},{endsWith:function(e){var t=Un(Ei(this));EC(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=n===void 0?r:CQ(Hc(n),r),i=Un(e);return IP?IP(t,i,o):EQ(t,o-i.length,o)===i}});var xQ=pt([].join),AQ=Av!=Object,SQ=sP("join",",");ar({target:"Array",proto:!0,forced:AQ||!SQ},{join:function(e){return xQ(ku(this),e===void 0?",":e)}});var DQ=ir("species"),Bv=function(e){return up>=51||!wn(function(){var t=[];return(t.constructor={})[DQ]=function(){return{foo:1}},t[e](Boolean).foo!==1})},OQ=Vc.map,_Q=Bv("map");ar({target:"Array",proto:!0,forced:!_Q},{map:function(e){return OQ(this,e,arguments.length>1?arguments[1]:void 0)}});var PC=Ne.RegExp,RC=wn(function(){var e=PC("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),TQ=RC||wn(function(){return!PC("a","y").sticky}),Fv={BROKEN_CARET:RC||wn(function(){var e=PC("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:TQ,UNSUPPORTED_Y:RC},PQ=Ne.RegExp,jC=wn(function(){var e=PQ(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),RQ=Ne.RegExp,NC=wn(function(){var e=RQ("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),jQ=Ao.get,NQ=X2("native-string-replace",String.prototype.replace),kv=RegExp.prototype.exec,BC=kv,BQ=pt("".charAt),FQ=pt("".indexOf),kQ=pt("".replace),FC=pt("".slice),kC=function(){var e=/a/,t=/b*/g;return cn(kv,e,"a"),cn(kv,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),zP=Fv.BROKEN_CARET,LC=/()??/.exec("")[1]!==void 0;(kC||LC||zP||jC||NC)&&(BC=function(e){var t,n,r,o,i,a,u,s=this,l=jQ(s),c=Un(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=cn(BC,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=zP&&s.sticky,y=cn(pC,s),g=s.source,v=0,m=c;if(d&&(y=kQ(y,"y",""),FQ(y,"g")===-1&&(y+="g"),m=FC(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&BQ(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),LC&&(n=new RegExp("^"+g+"$(?!\\s)",y)),kC&&(r=s.lastIndex),o=cn(kv,d?n:s,m),d?o?(o.input=FC(o.input,v),o[0]=FC(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:kC&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),LC&&o&&o.length>1&&cn(NQ,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=Pv(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Cp=BC;ar({target:"RegExp",proto:!0,forced:/./.exec!==Cp},{exec:Cp});var MC=Function.prototype,HP=MC.apply,LQ=MC.bind,VP=MC.call,IC=typeof Reflect=="object"&&Reflect.apply||(LQ?VP.bind(HP):function(){return VP.apply(HP,arguments)}),MQ=ir("species"),UC=RegExp.prototype,zC=function(e,t,n,r){var o=ir(e),i=!wn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!wn(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[MQ]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=pt(/./[o]),s=t(o,""[e],function(l,c,f,p,d){var y=pt(l),g=c.exec;return g===Cp||g===UC.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});Vo(String.prototype,e,s[0]),Vo(UC,o,s[1])}r&&Vi(UC[o],"sham",!0)},IQ=BP.charAt,HC=function(e,t,n){return t+(n?IQ(e,t).length:1)},UQ=Math.floor,VC=pt("".charAt),zQ=pt("".replace),WC=pt("".slice),HQ=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,VQ=/\$([$&'`]|\d{1,2})/g,WQ=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=VQ;return o!==void 0&&(o=Nu(o),s=HQ),zQ(i,s,function(l,c){var f;switch(VC(c,0)){case"$":return"$";case"&":return e;case"`":return WC(t,0,n);case"'":return WC(t,a);case"<":f=o[WC(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=UQ(p/10);return d===0?l:d<=u?r[d-1]===void 0?VC(c,1):r[d-1]+VC(c,1):l}f=r[p-1]}return f===void 0?"":f})},GQ=Ne.TypeError,wp=function(e,t){var n=e.exec;if(Tn(n)){var r=cn(n,e,t);return r!==null&&xr(r),r}if(Wi(e)==="RegExp")return cn(Cp,e,t);throw GQ("RegExp#exec called on incompatible receiver")},GC=ir("replace"),KQ=Math.max,XQ=Math.min,YQ=pt([].concat),KC=pt([].push),WP=pt("".indexOf),GP=pt("".slice),JQ="a".replace(/./,"$0")==="$0",KP=!!/./[GC]&&/./[GC]("a","$0")==="";zC("replace",function(e,t,n){var r=KP?"$":"$0";return[function(o,i){var a=Ei(this),u=o==null?void 0:fl(o,GC);return u?cn(u,o,a,i):cn(t,Un(a),o,i)},function(o,i){var a=xr(this),u=Un(o);if(typeof i=="string"&&WP(i,r)===-1&&WP(i,"$<")===-1){var s=n(t,a,u,i);if(s.done)return s.value}var l=Tn(i);l||(i=Un(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=wp(a,u);if(d===null)break;if(KC(p,d),!c)break;Un(d[0])===""&&(a.lastIndex=HC(u,Hc(a.lastIndex),f))}for(var y,g="",v=0,m=0;m<p.length;m++){for(var h=Un((d=p[m])[0]),b=KQ(XQ(dp(d.index),u.length),0),E=[],w=1;w<d.length;w++)KC(E,(y=d[w])===void 0?y:String(y));var S=d.groups;if(l){var x=YQ([h],E,b,u);S!==void 0&&KC(x,S);var B=Un(IC(i,void 0,x))}else B=WQ(h,u,b,E,S,i);b>=v&&(g+=GP(u,v,b)+B,v=b+h.length)}return g+GP(u,v)}]},!!wn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!JQ||KP);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var XC=function(e,t){return XC=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},XC(e,t)};function Jc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}XC(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ci=function(){return Ci=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ci.apply(this,arguments)};function wi(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function fn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function YC(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var ZQ=0,XP=function(){this.id=""+ZQ++},QQ=Ao.set,qQ=Ao.getterFor("Array Iterator"),xp=_C(Array,"Array",function(e,t){QQ(this,{type:"Array Iterator",target:ku(e),index:0,kind:t})},function(){var e=qQ(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Xc.Arguments=Xc.Array,yp("keys"),yp("values"),yp("entries");var Zc=function(e,t,n){for(var r in t)Vo(e,r,t[r],n);return e},$Q=Ne.Array,eq=Math.max,JC=function(e,t,n){for(var r=hl(e),o=Wc(t,r),i=Wc(n===void 0?r:n,r),a=$Q(eq(i-o,0)),u=0;o<i;o++,u++)bp(a,u,e[o]);return a.length=u,a},YP=gp.f,JP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],tq={f:function(e){return JP&&Wi(e)=="Window"?function(t){try{return YP(t)}catch(n){return JC(JP)}}(e):YP(ku(e))}},ZP=wn(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),Lv=Object.isExtensible,vl=wn(function(){Lv(1)})||ZP?function(e){return!!Vn(e)&&(!ZP||Wi(e)!="ArrayBuffer")&&(!Lv||Lv(e))}:Lv,nq=!wn(function(){return Object.isExtensible(Object.preventExtensions({}))}),Mv=ap(function(e){var t=Hi.f,n=!1,r=Z2("meta"),o=0,i=function(u){t(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var u=gp.f,s=pt([].splice),l={};l[r]=1,u(l).length&&(gp.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},ar({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:tq.f}))},fastKey:function(u,s){if(!Vn(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!wr(u,r)){if(!vl(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!wr(u,r)){if(!vl(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return nq&&n&&vl(u)&&!wr(u,r)&&i(u),u}};Cv[r]=!0}),rq=Ne.TypeError,Iv=function(e,t){this.stopped=e,this.result=t},QP=Iv.prototype,Ap=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),y=pl(t,c),g=function(m){return r&&wC(r,"normal",m),new Iv(!0,m)},v=function(m){return f?(xr(m),d?y(m[0],m[1],g):y(m[0],m[1])):d?y(m,g):y(m)};if(p)r=e;else{if(!(o=xC(e)))throw rq(vv(e)+" is not iterable");if(AP(o)){for(i=0,a=hl(e);a>i;i++)if((u=v(e[i]))&&cl(QP,u))return u;return new Iv(!1)}r=SP(e,o)}for(s=r.next;!(l=cn(s,r)).done;){try{u=v(l.value)}catch(m){wC(r,"throw",m)}if(typeof u=="object"&&u&&cl(QP,u))return u}return new Iv(!1)},oq=Ne.TypeError,Uv=function(e,t){if(cl(t,e))return e;throw oq("Incorrect invocation")},qP=function(e,t,n){var r,o;return Yc&&Tn(r=t.constructor)&&r!==n&&Vn(o=r.prototype)&&o!==n.prototype&&Yc(e,o),e},$P=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Ne[e],u=a&&a.prototype,s=a,l={},c=function(v){var m=pt(u[v]);Vo(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Vn(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!Vn(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Vn(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(mp(e,!Tn(a)||!(o||u.forEach&&!wn(function(){new a().entries().next()}))))s=n.getConstructor(t,e,r,i),Mv.enable();else if(mp(e,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=wn(function(){f.has(1)}),y=AC(function(v){new a(v)}),g=!o&&wn(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=t(function(v,m){Uv(v,u);var h=qP(new a,v,s);return m!=null&&Ap(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,ar({global:!0,forced:s!=a},l),jv(s,e),o||n.setStrong(s,e,r),s},zv=Mv.getWeakData,iq=Ao.set,aq=Ao.getterFor,uq=Vc.find,sq=Vc.findIndex,lq=pt([].splice),cq=0,Hv=function(e){return e.frozen||(e.frozen=new e7)},e7=function(){this.entries=[]},ZC=function(e,t){return uq(e.entries,function(n){return n[0]===t})};e7.prototype={get:function(e){var t=ZC(this,e);if(t)return t[1]},has:function(e){return!!ZC(this,e)},set:function(e,t){var n=ZC(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=sq(this.entries,function(n){return n[0]===e});return~t&&lq(this.entries,t,1),!!~t}};var Sp,t7={getConstructor:function(e,t,n,r){var o=e(function(s,l){Uv(s,i),iq(s,{type:t,id:cq++,frozen:void 0}),l!=null&&Ap(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=aq(t),u=function(s,l,c){var f=a(s),p=zv(xr(l),!0);return p===!0?Hv(f).set(l,c):p[f.id]=c,s};return Zc(i,{delete:function(s){var l=a(this);if(!Vn(s))return!1;var c=zv(s);return c===!0?Hv(l).delete(s):c&&wr(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Vn(s))return!1;var c=zv(s);return c===!0?Hv(l).has(s):c&&wr(c,l.id)}}),Zc(i,n?{get:function(s){var l=a(this);if(Vn(s)){var c=zv(s);return c===!0?Hv(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},Vv=Ao.enforce,fq=!Ne.ActiveXObject&&"ActiveXObject"in Ne,n7=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},dq=$P("WeakMap",n7,t7);if(ZT&&fq){Sp=t7.getConstructor(n7,"WeakMap",!0),Mv.enable();var Dp=dq.prototype,r7=pt(Dp.delete),Wv=pt(Dp.has),o7=pt(Dp.get),i7=pt(Dp.set);Zc(Dp,{delete:function(e){if(Vn(e)&&!vl(e)){var t=Vv(this);return t.frozen||(t.frozen=new Sp),r7(this,e)||t.frozen.delete(e)}return r7(this,e)},has:function(e){if(Vn(e)&&!vl(e)){var t=Vv(this);return t.frozen||(t.frozen=new Sp),Wv(this,e)||t.frozen.has(e)}return Wv(this,e)},get:function(e){if(Vn(e)&&!vl(e)){var t=Vv(this);return t.frozen||(t.frozen=new Sp),Wv(this,e)?o7(this,e):t.frozen.get(e)}return o7(this,e)},set:function(e,t){if(Vn(e)&&!vl(e)){var n=Vv(this);n.frozen||(n.frozen=new Sp),Wv(this,e)?i7(this,e,t):n.frozen.set(e,t)}else i7(this,e,t);return this}})}var QC=ir("iterator"),a7=ir("toStringTag"),qC=xp.values,u7=function(e,t){if(e){if(e[QC]!==qC)try{Vi(e,QC,qC)}catch(r){e[QC]=qC}if(e[a7]||Vi(e,a7,t),xv[t]){for(var n in xp)if(e[n]!==xp[n])try{Vi(e,n,xp[n])}catch(r){e[n]=xp[n]}}}};for(var $C in xv)u7(Ne[$C]&&Ne[$C].prototype,$C);u7(tP,"DOMTokenList");var ew=new WeakMap,tw=new WeakMap,nw=new WeakMap,Gv=new WeakMap,rw=new WeakMap,Kv=new WeakMap,ow=new WeakMap,iw=new WeakMap,Xv=new WeakMap,s7=new WeakMap,l7=new WeakMap,c7=new WeakMap,f7=new WeakMap,Op=new WeakMap,Qc=new WeakMap,aw=new WeakMap,Yv=new WeakMap,uw=new WeakMap,Jv=new WeakMap,Zv=new WeakMap,d7=new WeakMap,ml=new WeakMap,sw=new WeakMap,p7=new WeakMap,lw=new WeakMap,pq=Vc.find,h7=!0;"find"in[]&&Array(1).find(function(){h7=!1}),ar({target:"Array",proto:!0,forced:h7},{find:function(e){return pq(this,e,arguments.length>1?arguments[1]:void 0)}}),yp("find"),ar({global:!0},{globalThis:Ne});const hq=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];ev&&(k.fn.css=ev),mi&&(k.fn.append=mi),Sc&&(k.fn.addClass=Sc),Dc&&(k.fn.removeClass=Dc),Oc&&(k.fn.hasClass=Oc),ca&&(k.fn.on=ca),Du&&(k.fn.focus=Du),vi&&(k.fn.attr=vi),Z0&&(k.fn.removeAttr=Z0),Tc&&(k.fn.hide=Tc),$0&&(k.fn.show=$0),y8&&(k.fn.offset=y8),Q0&&(k.fn.width=Q0),q0&&(k.fn.height=q0),Pc&&(k.fn.parent=Pc),rv&&(k.fn.parents=rv),E8&&(k.fn.is=E8),_c&&(k.fn.dataset=_c),la&&(k.fn.val=la),nv&&(k.fn.text=nv),Su&&(k.fn.html=Su),jc&&(k.fn.children=jc),Nc&&(k.fn.remove=Nc),Rc&&(k.fn.find=Rc),tv&&(k.fn.each=tv),Bc&&(k.fn.empty=Bc);var ga,So,cw=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},Gi=function(e){return yl(e)&&e.nodeType===1},yl=function(e){var t=cw(e);return!!t&&e instanceof t.Node},g7=function(e){var t=e&&e.anchorNode&&cw(e.anchorNode);return!!t&&e instanceof t.Selection},v7=function(e){return yl(e)&&e.nodeType===3},fw=function(e){var t,n,r;return(t=window.document.getElementById(e))!==null&&t!==void 0?t:((r=(n=window.document.activeElement)===null||n===void 0?void 0:n.shadowRoot)===null||r===void 0?void 0:r.getElementById(e))||null},m7=function(e,t,n){for(var r,o=e.childNodes,i=o[t],a=t,u=!1,s=!1;(yl(r=i)&&r.nodeType===8||Gi(i)&&i.childNodes.length===0||Gi(i)&&i.getAttribute("contenteditable")==="false")&&(!u||!s);)a>=o.length?(u=!0,a=t-1,n="backward"):a<0?(s=!0,a=t+1,n="forward"):(i=o[a],t=a,a+=n==="forward"?1:-1);return[i,t]},gq=function(e,t,n){return fn(m7(e,t,n),1)[0]},vq=function e(t){var n,r,o="";if(v7(t)&&t.nodeValue)return t.nodeValue;if(Gi(t)){try{for(var i=wi(Array.from(t.childNodes)),a=i.next();!a.done;a=i.next())o+=e(a.value)}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}var u=getComputedStyle(t).getPropertyValue("display");u!=="block"&&u!=="list"&&u!=="table-row"&&t.tagName!=="BR"||(o+=`
`)}return o};function y7(e,t){if(!(e instanceof HTMLElement&&e.dataset.slateVoid==="true"))for(var n=e.childNodes,r=n.length;r--;){var o=n[r],i=o.nodeType;i==3?t(o,e):i!=1&&i!=9&&i!=11||y7(o,t)}}function b7(e){if(e.length===0)return"";var t=e[0];return t.nodeType!==ga.ELEMENT_NODE?"":t.tagName.toLowerCase()}(So=ga||(ga={}))[So.ELEMENT_NODE=1]="ELEMENT_NODE",So[So.TEXT_NODE=3]="TEXT_NODE",So[So.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",So[So.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",So[So.COMMENT_NODE=8]="COMMENT_NODE",So[So.DOCUMENT_NODE=9]="DOCUMENT_NODE",So[So.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",So[So.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",globalThis.navigator!==void 0&&globalThis.window!==void 0&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var dw=typeof navigator!="undefined"&&/Mac OS X/.test(navigator.userAgent),_p=typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var Tp=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),mq=typeof navigator!="undefined"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),yq=typeof navigator!="undefined"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),pw=typeof navigator!="undefined"&&/Chrome/i.test(navigator.userAgent);typeof navigator!="undefined"&&/.*QQBrowser/.test(navigator.userAgent);var Pp=!yq&&!mq&&typeof globalThis!="undefined"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",N={getWindow:function(e){var t=d7.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=Zv.get(t);return n||(n=new XP,Zv.set(t,n)),n},setNewKey:function(e){var t=new XP;Zv.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var o=Qc.get(r);if(o==null){if(C.isEditor(r))return n;break}var i=Op.get(r);if(i==null)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=N.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&n.getSelection!=null?n:t.ownerDocument},getParentNode:function(e,t){return Qc.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&r!=null;){var o=N.getParentNode(e,r);if(o==null)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[N.findPath(e,t)[0]];return Le.get(e,n)},toDOMNode:function(e,t){var n;if(C.isEditor(t))n=aw.get(e);else{var r=N.findKey(e,t);n=uw.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){n===void 0&&(n={});var r,o=n.editable,i=o!==void 0&&o,a=N.toDOMNode(e,e);try{r=Gi(t)?t:t.parentElement}catch(u){if(!u.message.includes('Permission denied to access property "nodeType"'))throw u}return!!r&&r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=re.isBackward(t),i=N.toDOMPoint(e,n),a=re.isCollapsed(t)?i:N.toDOMPoint(e,r),u=N.getWindow(e).document.createRange(),s=fn(o?a:i,2),l=s[0],c=s[1],f=fn(o?i:a,2),p=f[0],d=f[1],y=!!(Gi(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(Gi(p)?p:p.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,y?1:c),u.setEnd(p,g?1:d),u},toDOMPoint:function(e,t){var n,r,o,i=fn(C.node(e,t.path),1)[0],a=N.toDOMNode(e,i);C.void(e,{at:t})&&(t={path:t.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=wi(u),c=l.next();!c.done;c=l.next()){var f=c.value,p=f.childNodes[0];if(p!=null&&p.textContent!=null){var d=p.textContent.length,y=f.getAttribute("data-slate-length"),g=s+(y==null?d:parseInt(y,10));if(t.offset<=g){o=[p,Math.min(d,Math.max(0,t.offset-s))];break}s=g}}}catch(v){n={error:v}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o},toSlateNode:function(e,t){var n=Gi(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Yv.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(n==null||r==null)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var i,a=N.toSlateNode(e,t.target),u=N.findPath(e,a);if(C.isVoid(e,a)){var s=o.getBoundingClientRect(),l=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=C.point(e,u,{edge:l?"start":"end"}),f=l?C.before(e,c):C.after(e,c);if(f)return C.range(e,f)}var p=this.getWindow(e).document;if(p.caretRangeFromPoint)i=p.caretRangeFromPoint(n,r);else{var d=p.caretPositionFromPoint(n,r);d&&((i=p.createRange()).setStart(d.offsetNode,d.offset),i.setEnd(d.offsetNode,d.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return N.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((g7(t)?t.anchorNode:t.startContainer)&&(g7(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=pw&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=t.collapsed)),r==null||i==null||o==null||a==null)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=N.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:N.toSlatePoint(e,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var p={anchor:c,focus:f};return re.isExpanded(p)&&re.isForward(p)&&Gi(i)&&C.void(e,{at:p.focus,mode:"highest"})&&(p=C.unhangRange(e,p,{voids:!0})),p},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=fn(o?t:function(h){var b,E=fn(h,2),w=E[0],S=E[1];if(Gi(w)&&w.childNodes.length){var x=S===w.childNodes.length,B=x?S-1:S;for(w=(b=fn(m7(w,B,x?"backward":"forward"),2))[0],x=(B=b[1])<S;Gi(w)&&w.childNodes.length;){var U=x?w.childNodes.length-1:0;w=gq(w,U,x?"backward":"forward")}S=x&&w.textContent!=null?w.textContent.length:0}return[w,S]}(t),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var p=l.closest('[data-slate-void="true"]'),d=l.closest("[data-slate-leaf]"),y=null;if(d){c=d.closest('[data-slate-node="text"]');var g=N.getWindow(e).document.createRange();g.setStart(c,0),g.setEnd(u,s);var v=g.cloneContents();YC(YC([],fn(p8(v.querySelectorAll("[data-slate-zero-width]")))),fn(p8(v.querySelectorAll("[contenteditable=false]")))).forEach(function(h){h.parentNode.removeChild(h)}),f=v.textContent.length,y=c}else p&&((d=p.querySelector("[data-slate-leaf]"))?(c=d.closest('[data-slate-node="text"]'),f=(y=d).textContent.length,y.querySelectorAll("[data-slate-zero-width]").forEach(function(h){f-=h.textContent.length})):f=1);y&&f===y.textContent.length&&(l.hasAttribute("data-slate-zero-width")||_p&&((r=y.textContent)===null||r===void 0?void 0:r.endsWith(`
`)))&&f--}if(!c){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var m=N.toSlateNode(e,c);return{path:N.findPath(e,m),offset:f}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return C.hasPath(e,n.path)&&C.hasPath(e,r.path)},getNodeType:function(e){return ft.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map(function(t){return Le.string(t)}).join("")},getSelectedElems:function(e){var t,n,r=[],o=C.nodes(e,{universal:!0});try{for(var i=wi(o),a=i.next();!a.done;a=i.next()){var u=fn(a.value,1)[0];ft.isElement(u)&&r.push(u)}}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=fn(C.nodes(e,{match:function(i){return n.checkNodeType(i,t)},universal:!0}),1),o=r[0];return o==null?null:o[0]},getSelectedTextNode:function(e){var t=fn(C.nodes(e,{match:function(r){return Ye.isText(r)},universal:!0}),1),n=t[0];return n==null?null:n[0]},isNodeSelected:function(e,t){var n=fn(C.nodes(e,{match:function(o){return o===t},universal:!0}),1),r=n[0];return r!=null&&fn(r,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(C.isEnd(e,n.anchor,t)||C.isEnd(e,n.focus,t))},getTextarea:function(e){var t=ew.get(e);if(t==null)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return Gv.get(e)||null},getHoverbar:function(e){return Kv.get(e)||null},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]])})},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if(typeof n!="number"||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,i=N.getTextarea(e).$textArea,a=i==null?void 0:i[0].childNodes;if(a)try{for(var u=wi(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(l.nodeType!==3)break;l.remove()}}catch(g){t={error:g}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var c=C.nodes(e,{match:function(g){return!(!ft.isElement(g)||e.isInline(g))},universal:!0});try{for(var f=wi(c),p=f.next();!p.done;p=f.next()){var d=p.value;if(d!=null){var y=d[0];y7(N.toDOMNode(e,y),function(g,v){var m=k(v);m.attr("data-slate-string")||m.attr("data-slate-zero-width")||m.attr("data-w-e-reserve")||v.removeChild(g)})}}}catch(g){r={error:g}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=C.nodes(e,{match:function(u){return e.isVoid(u)}}),o=0;try{for(var i=wi(r),a=i.next();!a.done;a=i.next())a.value,o++}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(t==null)return!1;if(re.isExpanded(t))return!1;var n=N.getSelectedNodeByType(e,"paragraph");if(n===null)return!1;var r=n.children;return r.length===1&&(r[0].text===""||void 0)},isEmptyPath:function(e,t){var n=C.node(e,t);if(n==null)return!1;var r=fn(n,1)[0].children;return r.length===1&&r[0].text===""}},bq=1,E7={},Rp={},Eq=Vc.filter,Cq=Bv("filter");ar({target:"Array",proto:!0,forced:!Cq},{filter:function(e){return Eq(this,e,arguments.length>1?arguments[1]:void 0)}});var hw=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,C7=pt("".replace),Qv="["+hw+"]",wq=RegExp("^"+Qv+Qv+"*"),xq=RegExp(Qv+Qv+"*$"),gw=function(e){return function(t){var n=Un(Ei(t));return 1&e&&(n=C7(n,wq,"")),2&e&&(n=C7(n,xq,"")),n}},Aq={start:gw(1),end:gw(2),trim:gw(3)},Sq=zc.PROPER,Dq=Aq.trim;ar({target:"String",proto:!0,forced:function(e){return wn(function(){return!!hw[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||Sq&&hw[e].name!==e})}("trim")},{trim:function(){return Dq(this)}});var vw=[],w7={};function Oq(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"}var jp,qc,x7,mw,qv=Ne.Promise,A7=ir("species"),yw=function(e){var t=sl(e),n=Hi.f;ro&&t&&!t[A7]&&n(t,A7,{configurable:!0,get:function(){return this}})},_q=Ne.TypeError,Tq=ir("species"),S7=function(e,t){var n,r=xr(e).constructor;return r===void 0||(n=xr(r)[Tq])==null?t:function(o){if(Dv(o))return o;throw _q(vv(o)+" is not a constructor")}(n)},D7=pt([].slice),O7=/(?:ipad|iphone|ipod).*applewebkit/i.test(Ic),Lu=Wi(Ne.process)=="process",bw=Ne.setImmediate,Ew=Ne.clearImmediate,Pq=Ne.process,Cw=Ne.Dispatch,Rq=Ne.Function,_7=Ne.MessageChannel,jq=Ne.String,ww=0,Np={};try{jp=Ne.location}catch(e){}var xw=function(e){if(wr(Np,e)){var t=Np[e];delete Np[e],t()}},Aw=function(e){return function(){xw(e)}},T7=function(e){xw(e.data)},P7=function(e){Ne.postMessage(jq(e),jp.protocol+"//"+jp.host)};bw&&Ew||(bw=function(e){var t=D7(arguments,1);return Np[++ww]=function(){IC(Tn(e)?e:Rq(e),void 0,t)},qc(ww),ww},Ew=function(e){delete Np[e]},Lu?qc=function(e){Pq.nextTick(Aw(e))}:Cw&&Cw.now?qc=function(e){Cw.now(Aw(e))}:_7&&!O7?(mw=(x7=new _7).port2,x7.port1.onmessage=T7,qc=pl(mw.postMessage,mw)):Ne.addEventListener&&Tn(Ne.postMessage)&&!Ne.importScripts&&jp&&jp.protocol!=="file:"&&!wn(P7)?(qc=P7,Ne.addEventListener("message",T7,!1)):qc="onreadystatechange"in lp("script")?function(e){gC.appendChild(lp("script")).onreadystatechange=function(){gC.removeChild(this),xw(e)}}:function(e){setTimeout(Aw(e),0)});var Bp,bl,Fp,$c,Sw,Dw,Ow,R7,j7={set:bw,clear:Ew},Nq=/ipad|iphone|ipod/i.test(Ic)&&Ne.Pebble!==void 0,Bq=/web0s(?!.*chrome)/i.test(Ic),Fq=hp.f,_w=j7.set,N7=Ne.MutationObserver||Ne.WebKitMutationObserver,B7=Ne.document,F7=Ne.process,$v=Ne.Promise,k7=Fq(Ne,"queueMicrotask"),L7=k7&&k7.value;L7||(Bp=function(){var e,t;for(Lu&&(e=F7.domain)&&e.exit();bl;){t=bl.fn,bl=bl.next;try{t()}catch(n){throw bl?$c():Fp=void 0,n}}Fp=void 0,e&&e.enter()},O7||Lu||Bq||!N7||!B7?!Nq&&$v&&$v.resolve?((Ow=$v.resolve(void 0)).constructor=$v,R7=pl(Ow.then,Ow),$c=function(){R7(Bp)}):Lu?$c=function(){F7.nextTick(Bp)}:(_w=pl(_w,Ne),$c=function(){_w(Bp)}):(Sw=!0,Dw=B7.createTextNode(""),new N7(Bp).observe(Dw,{characterData:!0}),$c=function(){Dw.data=Sw=!Sw}));var Tw,M7,I7,U7,z7=L7||function(e){var t={fn:e,next:void 0};Fp&&(Fp.next=t),bl||(bl=t,$c()),Fp=t},kq=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=Bu(t),this.reject=Bu(n)},Pw={f:function(e){return new kq(e)}},Rw=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},Lq=typeof window=="object",H7=j7.set,Mq=ir("species"),va="Promise",V7=Ao.getterFor(va),Iq=Ao.set,Uq=Ao.getterFor(va),El=qv&&qv.prototype,ma=qv,kp=El,W7=Ne.TypeError,jw=Ne.document,Nw=Ne.process,ef=Pw.f,zq=ef,Hq=!!(jw&&jw.createEvent&&Ne.dispatchEvent),G7=Tn(Ne.PromiseRejectionEvent),K7=!1,Lp=mp(va,function(){var e=Ev(ma),t=e!==String(ma);if(!t&&up===66)return!0;if(up>=51&&/native code/.test(e))return!1;var n=new ma(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[Mq]=r,!(K7=n.then(function(){})instanceof r)||!t&&Lq&&!G7}),Vq=Lp||!AC(function(e){ma.all(e).catch(function(){})}),X7=function(e){var t;return!(!Vn(e)||!Tn(t=e.then))&&t},Bw=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;z7(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,p=l.reject,d=l.domain;try{c?(o||(e.rejection===2&&Gq(e),e.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(W7("Promise-chain cycle")):(u=X7(a))?cn(u,a,f,p):f(a)):p(r)}catch(y){d&&!s&&d.exit(),p(y)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Wq(e)})}},Y7=function(e,t,n){var r,o;Hq?((r=jw.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Ne.dispatchEvent(r)):r={promise:t,reason:n},!G7&&(o=Ne["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var u=Ne.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},Wq=function(e){cn(H7,Ne,function(){var t,n=e.facade,r=e.value;if(J7(e)&&(t=Rw(function(){Lu?Nw.emit("unhandledRejection",r,n):Y7("unhandledrejection",n,r)}),e.rejection=Lu||J7(e)?2:1,t.error))throw t.value})},J7=function(e){return e.rejection!==1&&!e.parent},Gq=function(e){cn(H7,Ne,function(){var t=e.facade;Lu?Nw.emit("rejectionHandled",t):Y7("rejectionhandled",t,e.value)})},tf=function(e,t,n){return function(r){e(t,r,n)}},nf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Bw(e,!0))},Fw=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw W7("Promise can't be resolved itself");var r=X7(t);r?z7(function(){var o={done:!1};try{cn(r,t,tf(Fw,o,e),tf(nf,o,e))}catch(i){nf(o,i,e)}}):(e.value=t,e.state=1,Bw(e,!1))}catch(o){nf({done:!1},o,e)}}};if(Lp&&(kp=(ma=function(e){Uv(this,kp),Bu(e),cn(Tw,this);var t=V7(this);try{e(tf(Fw,t),tf(nf,t))}catch(n){nf(t,n)}}).prototype,(Tw=function(e){Iq(this,{type:va,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Zc(kp,{then:function(e,t){var n=Uq(this),r=n.reactions,o=ef(S7(this,ma));return o.ok=!Tn(e)||e,o.fail=Tn(t)&&t,o.domain=Lu?Nw.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&Bw(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),M7=function(){var e=new Tw,t=V7(e);this.promise=e,this.resolve=tf(Fw,t),this.reject=tf(nf,t)},Pw.f=ef=function(e){return e===ma||e===I7?new M7(e):zq(e)},Tn(qv)&&El!==Object.prototype)){U7=El.then,K7||(Vo(El,"then",function(e,t){var n=this;return new ma(function(r,o){cn(U7,n,r,o)}).then(e,t)},{unsafe:!0}),Vo(El,"catch",kp.catch,{unsafe:!0}));try{delete El.constructor}catch(e){}Yc&&Yc(El,kp)}ar({global:!0,wrap:!0,forced:Lp},{Promise:ma}),jv(ma,va,!1),yw(va),I7=sl(va),ar({target:va,stat:!0,forced:Lp},{reject:function(e){var t=ef(this);return cn(t.reject,void 0,e),t.promise}}),ar({target:va,stat:!0,forced:Lp},{resolve:function(e){return function(t,n){if(xr(t),Vn(n)&&n.constructor===t)return n;var r=Pw.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),ar({target:va,stat:!0,forced:Vq},{all:function(e){var t=this,n=ef(t),r=n.resolve,o=n.reject,i=Rw(function(){var a=Bu(t.resolve),u=[],s=0,l=1;Ap(e,function(c){var f=s++,p=!1;l++,cn(a,t,c).then(function(d){p||(p=!0,u[f]=d,--l||r(u))},o)}),--l||r(u)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=ef(t),r=n.reject,o=Rw(function(){var i=Bu(t.resolve);Ap(e,function(a){cn(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var rf=Fv.UNSUPPORTED_Y,Kq=Math.min,Z7=[].push,Xq=pt(/./.exec),of=pt(Z7),Mp=pt("".slice);function xi(e){Promise.resolve().then(e)}function Q7(e,t){return ft.isElement(e)?function(n,r){var o=n.type,i=o===void 0?"":o,a=n.children,u=a===void 0?[]:a,s=C.isVoid(r,n),l="";s||(l=u.map(function(m){return Q7(m,r)}).join(""));var c=function(m){return w7[m]||Oq}(i),f=c(n,l,r),p="";if(p=typeof f=="string"?f:f.html||"",s||vw.forEach(function(m){return p=m(n,p)}),typeof f=="string")return p;var d=f.prefix,y=d===void 0?"":d,g=f.suffix,v=g===void 0?"":g;return y&&(p=y+p),v&&(p+=v),p}(e,t):function(n,r){var o=n.text;if(o==null)throw new Error("Current node is not slate Text "+JSON.stringify(n));var i=o;i=function(s){return s.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(i);var a=N.getParentsNodes(r,n).some(function(s){return N.getNodeType(s)==="pre"});if(a||(i=i.replace(/\r\n|\r|\n/g,"<br>")),a&&(i=i.replace(/&nbsp;/g," ")),i===""){var u=N.getParentNode(null,n);if(!u||u.children.length!==0)return i;i="<br>"}return vw.forEach(function(s){return i=s(n,i)}),i}(e,t)}function q7(e){return"w-e-element-"+e}zC("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a=Un(Ei(this)),u=i===void 0?4294967295:i>>>0;if(u===0)return[];if(o===void 0)return[a];if(!bC(o))return cn(t,a,o,u);for(var s,l,c,f=[],p=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),d=0,y=new RegExp(o.source,p+"g");(s=cn(Cp,y,a))&&!((l=y.lastIndex)>d&&(of(f,Mp(a,d,s.index)),s.length>1&&s.index<a.length&&IC(Z7,f,JC(s,1)),c=s[0].length,d=l,f.length>=u));)y.lastIndex===s.index&&y.lastIndex++;return d===a.length?!c&&Xq(y,"")||of(f,""):of(f,Mp(a,d)),f.length>u?JC(f,0,u):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:cn(t,this,o,i)}:t,[function(o,i){var a=Ei(this),u=o==null?void 0:fl(o,e);return u?cn(u,o,a,i):cn(r,Un(a),o,i)},function(o,i){var a=xr(this),u=Un(o),s=n(r,a,u,i,r!==t);if(s.done)return s.value;var l=S7(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(rf?"g":"y"),p=new l(rf?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return wp(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g<u.length;){p.lastIndex=rf?0:g;var m,h=wp(p,rf?Mp(u,g):u);if(h===null||(m=Kq(Hc(p.lastIndex+(rf?g:0)),u.length))===y)g=HC(u,g,c);else{if(of(v,Mp(u,y,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(of(v,h[b]),v.length===d)return v;g=y=m}}return of(v,Mp(u,y)),v}]},!!wn(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),rf);var $7=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},eR=function(e,t,n){var r=N.toDOMRange(e,t).getBoundingClientRect(),o=N.toDOMRange(e,n).getBoundingClientRect();return $7(r,o)&&$7(o,r)},tR=["span","b","strong","i","em","s","strike","u","font","sub","sup"],nR=[],kw=[],em={},Yq=Hi.f,Jq=gp.f,Zq=Ao.enforce,Qq=ir("match"),Ya=Ne.RegExp,af=Ya.prototype,qq=Ne.SyntaxError,$q=pt(pC),e$=pt(af.exec),tm=pt("".charAt),rR=pt("".replace),oR=pt("".indexOf),t$=pt("".slice),n$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Cl=/a/g,Lw=/a/g,r$=new Ya(Cl)!==Cl,iR=Fv.MISSED_STICKY,o$=Fv.UNSUPPORTED_Y,i$=ro&&(!r$||iR||jC||NC||wn(function(){return Lw[Qq]=!1,Ya(Cl)!=Cl||Ya(Lw)==Lw||Ya(Cl,"i")!="/a/i"}));if(mp("RegExp",i$)){for(var Mu=function(e,t){var n,r,o,i,a,u,s=cl(af,this),l=bC(e),c=t===void 0,f=[],p=e;if(!s&&l&&c&&e.constructor===Mu)return e;if((l||cl(af,e))&&(e=e.source,c&&(t="flags"in p?p.flags:$q(p))),e=e===void 0?"":Un(e),t=t===void 0?"":Un(t),p=e,jC&&"dotAll"in Cl&&(r=!!t&&oR(t,"s")>-1)&&(t=rR(t,/s/g,"")),n=t,iR&&"sticky"in Cl&&(o=!!t&&oR(t,"y")>-1)&&o$&&(t=rR(t,/y/g,"")),NC&&(i=function(d){for(var y,g=d.length,v=0,m="",h=[],b={},E=!1,w=!1,S=0,x="";v<=g;v++){if((y=tm(d,v))==="\\")y+=tm(d,++v);else if(y==="]")E=!1;else if(!E)switch(!0){case y==="[":E=!0;break;case y==="(":e$(n$,t$(d,v+1))&&(v+=2,w=!0),m+=y,S++;continue;case(y===">"&&w):if(x===""||wr(b,x))throw new qq("Invalid capture group name");b[x]=!0,h[h.length]=[x,S],w=!1,x="";continue}w?x+=y:m+=y}return[m,h]}(e),e=i[0],f=i[1]),a=qP(Ya(e,t),s?this:af,Mu),(r||o||f.length)&&(u=Zq(a),r&&(u.dotAll=!0,u.raw=Mu(function(d){for(var y,g=d.length,v=0,m="",h=!1;v<=g;v++)(y=tm(d,v))!=="\\"?h||y!=="."?(y==="["?h=!0:y==="]"&&(h=!1),m+=y):m+="[\\s\\S]":m+=y+tm(d,++v);return m}(e),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),e!==p)try{Vi(a,"source",p===""?"(?:)":p)}catch(d){}return a},a$=function(e){e in Mu||Yq(Mu,e,{configurable:!0,get:function(){return Ya[e]},set:function(t){Ya[e]=t}})},aR=Jq(Ya),uR=0;aR.length>uR;)a$(aR[uR++]);af.constructor=Mu,Mu.prototype=af,Vo(Ne,"RegExp",Mu)}yw("RegExp");var u$=new RegExp(String.fromCharCode(160),"g");function sR(e){return e.replace(u$," ")}function lR(e,t){var n=e.length;if(n){var r=e[n-1];if(Ye.isText(r)){var o=Object.keys(r);if(o.length===1&&o[0]==="text")return r.text=r.text+t,!0}}return!1}function s$(e,t,n){return{type:"paragraph",children:[{text:k(e).text().replace(/\s+/gm," ")}]}}function Mw(e,t){var n=function(i,a){var u=[];if(i.attr("data-w-e-is-void")!=null)return u;var s=i[0].childNodes;return s.length===1&&s[0].nodeName==="BR"?(u.push({text:""}),u):(s.forEach(function(l){if(l.nodeType!==ga.ELEMENT_NODE){if(!(l.nodeType!==ga.TEXT_NODE)){var c=l.textContent||"";if(c.trim()===""&&c.indexOf(`
`)>=0)return;c&&(c=sR(c),lR(u,c)||u.push({text:c}))}}else{if(l.nodeName==="BR")return void(lR(u,`
`)||u.push({text:`
`}));var f=Uw(k(l),a);Array.isArray(f)?f.forEach(function(p){return u.push(p)}):u.push(f)}}),u)}(e,t),r=function(i){for(var a in em)if(i[0].matches(a))return em[a];return s$}(e),o=r(e[0],n,t);return Array.isArray(o)||(o=[o]),o.forEach(function(i){C.isVoid(t,i)||(n.length===0&&(i.children=[{text:e.text().replace(/\s+/gm," ")}]),kw.forEach(function(a){i=a(e[0],i,t)}))}),o}function Iw(e,t){e.parents("pre").length===0&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,`
`));var n=e[0].textContent||"";n=function(o){return o.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"\xAE").replace(/&copy;/g,"\xA9").replace(/&trade;/g,"\u2122").replace(/&quot;/g,'"')}(n);var r={text:n=sR(n)};return kw.forEach(function(o){r=o(e[0],r,t)}),r}function Uw(e,t){nR.forEach(function(r){var o=r.selector,i=r.preParseHtml;e[0].matches(o)&&(e=k(i(e[0])))});var n=b7(e);return n==="span"?e.attr("data-w-e-type")?Mw(e,t):Iw(e,t):n==="code"?b7(e.parent())==="pre"?Mw(e,t):Iw(e,t):tR.includes(n)?Iw(e,t):Mw(e,t)}function cR(e,t,n){var r=k(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function fR(e,t){t===void 0&&(t="");var n=[];t===""&&(t="<p><br></p>"),t.indexOf("<")!==0&&(t=t.split(/\n/).map(function(o){return"<p>"+o+"</p>"}).join(""));var r=k("<div>"+t+"</div>");return Array.from(r.children()).forEach(function(o){var i=Uw(k(o),e);Array.isArray(i)?i.forEach(function(a){return n.push(a)}):n.push(i)}),n}var l$=Hi.f,dR=Mv.fastKey,pR=Ao.set,zw=Ao.getterFor,c$={getConstructor:function(e,t,n,r){var o=e(function(l,c){Uv(l,i),pR(l,{type:t,index:Pv(null),first:void 0,last:void 0,size:0}),ro||(l.size=0),c!=null&&Ap(c,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=zw(t),u=function(l,c,f){var p,d,y=a(l),g=s(l,c);return g?g.value=f:(y.last=g={index:d=dR(c,!0),key:c,value:f,previous:p=y.last,next:void 0,removed:!1},y.first||(y.first=g),p&&(p.next=g),ro?y.size++:l.size++,d!=="F"&&(y.index[d]=g)),l},s=function(l,c){var f,p=a(l),d=dR(c);if(d!=="F")return p.index[d];for(f=p.first;f;f=f.next)if(f.key==c)return f};return Zc(i,{clear:function(){for(var l=a(this),c=l.index,f=l.first;f;)f.removed=!0,f.previous&&(f.previous=f.previous.next=void 0),delete c[f.index],f=f.next;l.first=l.last=void 0,ro?l.size=0:this.size=0},delete:function(l){var c=this,f=a(c),p=s(c,l);if(p){var d=p.next,y=p.previous;delete f.index[p.index],p.removed=!0,y&&(y.next=d),d&&(d.previous=y),f.first==p&&(f.first=d),f.last==p&&(f.last=y),ro?f.size--:c.size--}return!!p},forEach:function(l){for(var c,f=a(this),p=pl(l,arguments.length>1?arguments[1]:void 0);c=c?c.next:f.first;)for(p(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(l){return!!s(this,l)}}),Zc(i,n?{get:function(l){var c=s(this,l);return c&&c.value},set:function(l,c){return u(this,l===0?0:l,c)}}:{add:function(l){return u(this,l=l===0?0:l,l)}}),ro&&l$(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=zw(t),i=zw(r);_C(e,t,function(a,u){pR(this,{type:r,target:a,state:o(a),kind:u,last:void 0})},function(){for(var a=i(this),u=a.kind,s=a.last;s&&s.removed;)s=s.previous;return a.target&&(a.last=s=s?s.next:a.state.first)?u=="keys"?{value:s.key,done:!1}:u=="values"?{value:s.value,done:!1}:{value:[s.key,s.value],done:!1}:(a.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),yw(t)}};$P("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},c$);var hR=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function gR(e,t){e.isInline(t)?(e.insertNode(t),t.type==="link"&&e.insertFragment([{text:""}])):Z.insertNodes(e,t,{mode:"highest"})}var f$=function(e){var t=e,n=t.insertText;return t.insertFragment,t.setFragmentData=function(r){var o=t.selection;if(o){var i=fn(re.edges(o),2),a=i[0],u=i[1],s=C.void(t,{at:a.path}),l=C.void(t,{at:u.path});if(!re.isCollapsed(o)||s){var c=N.toDOMRange(t,o),f=c.cloneContents(),p=f.childNodes[0];if(f.childNodes.forEach(function(w){w.textContent&&w.textContent.trim()!==""&&(p=w)}),l){var d=fn(l,1)[0],y=c.cloneRange(),g=N.toDOMNode(t,d);y.setEndAfter(g),f=y.cloneContents()}if(s&&(p=f.querySelector("[data-slate-spacer]")),Array.from(f.querySelectorAll("[data-slate-zero-width]")).forEach(function(w){var S=w.getAttribute("data-slate-zero-width")==="n";w.textContent=S?`
`:""}),v7(p)){var v=p.ownerDocument.createElement("span");v.style.whiteSpace="pre",v.appendChild(p),f.appendChild(v),p=v}var m=t.getFragment(),h=JSON.stringify(m),b=window.btoa(encodeURIComponent(h));p.setAttribute("data-slate-fragment",b),r.setData("application/x-slate-fragment",b);var E=f.ownerDocument.createElement("div");return E.appendChild(f),E.setAttribute("hidden","true"),f.ownerDocument.body.appendChild(E),r.setData("text/html",E.innerHTML),r.setData("text/plain",vq(E)),f.ownerDocument.body.removeChild(E),r}}},t.insertData=function(r){var o,i,a=r.getData("application/x-slate-fragment");if(a){var u=decodeURIComponent(window.atob(a)),s=JSON.parse(u);t.insertFragment(s)}else{var l=r.getData("text/plain"),c=r.getData("text/html");if(c)t.dangerouslyInsertHtml(c);else if(l){var f=l.split(/\r\n|\r|\n/),p=!1;try{for(var d=wi(f),y=d.next();!y.done;y=d.next()){var g=y.value;p&&Z.splitNodes(t,{always:!0}),n(g),p=!0}}catch(v){o={error:v}}finally{try{y&&!y.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}}},t},Ip=function(e){return e!=null},d$={object:!0,function:!0,undefined:!0},p$=/^\s*class[\s{/}]/,h$=Function.prototype.toString,vR=function(e){return!!function(t){if(typeof t!="function")return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if(typeof t.length!="number")return!1;if(typeof t.call!="function")return!1;if(typeof t.apply!="function")return!1}catch(n){return!1}return!function(n){if(!function(r){return!!Ip(r)&&hasOwnProperty.call(d$,typeof r)}(n))return!1;try{return!!n.constructor&&n.constructor.prototype===n}catch(r){return!1}}(t)}(e)&&!p$.test(h$.call(e))},Hw=function(e){return e!=null},g$=Object.keys,v$=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return g$(Hw(e)?Object(e):e)},m$=function(e){if(!Hw(e))throw new TypeError("Cannot use null or undefined");return e},y$=Math.max,mR=function(){var e,t=Object.assign;return typeof t=="function"&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=y$(arguments.length,2);for(e=Object(m$(e)),o=function(a){try{e[a]=t[a]}catch(u){n||(n=u)}},r=1;r<i;++r)v$(t=arguments[r]).forEach(o);if(n!==void 0)throw n;return e},b$=Array.prototype.forEach,E$=Object.create,C$=function(e,t){var n;for(n in e)t[n]=e[n]},yR=function(e){var t=E$(null);return b$.call(arguments,function(n){Hw(n)&&C$(Object(n),t)}),t},Vw="razdwatrzy",w$=String.prototype.indexOf,Up=typeof Vw.contains=="function"&&Vw.contains("dwa")===!0&&Vw.contains("foo")===!1?String.prototype.contains:function(e){return w$.call(this,e,arguments[1])>-1},nm=ap(function(e){var t=e.exports=function(n,r){var o,i,a,u,s;return arguments.length<2||typeof n!="string"?(u=r,r=n,n=null):u=arguments[2],Ip(n)?(o=Up.call(n,"c"),i=Up.call(n,"e"),a=Up.call(n,"w")):(o=a=!0,i=!1),s={value:r,configurable:o,enumerable:i,writable:a},u?mR(yR(u),s):s};t.gs=function(n,r,o){var i,a,u,s;return typeof n!="string"?(u=o,o=r,r=n,n=null):u=arguments[3],Ip(r)?vR(r)?Ip(o)?vR(o)||(u=o,o=void 0):o=void 0:(u=r,r=o=void 0):r=void 0,Ip(n)?(i=Up.call(n,"c"),a=Up.call(n,"e")):(i=!0,a=!1),s={get:r,set:o,configurable:i,enumerable:a},u?mR(yR(u),s):s}}),Ww=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},x$=ap(function(e,t){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,p=Object.defineProperty,d=Object.defineProperties,y=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(v,m){var h;return Ww(m),y.call(this,"__ee__")?h=this.__ee__:(h=g.value=f(null),p(this,"__ee__",g),g.value=null),h[v]?typeof h[v]=="object"?h[v].push(m):h[v]=[h[v],m]:h[v]=m,this},r=function(v,m){var h,b;return Ww(m),b=this,n.call(this,v,h=function(){o.call(b,v,h),l.call(m,this,arguments)}),h.__eeOnceListener__=m,this},o=function(v,m){var h,b,E,w;if(Ww(m),!y.call(this,"__ee__"))return this;if(!(h=this.__ee__)[v])return this;if(typeof(b=h[v])=="object")for(w=0;E=b[w];++w)E!==m&&E.__eeOnceListener__!==m||(b.length===2?h[v]=b[w?0:1]:b.splice(w,1));else b!==m&&b.__eeOnceListener__!==m||delete h[v];return this},i=function(v){var m,h,b,E,w;if(y.call(this,"__ee__")&&(E=this.__ee__[v]))if(typeof E=="object"){for(h=arguments.length,w=new Array(h-1),m=1;m<h;++m)w[m-1]=arguments[m];for(E=E.slice(),m=0;b=E[m];++m)l.call(b,this,w)}else switch(arguments.length){case 1:c.call(E,this);break;case 2:c.call(E,this,arguments[1]);break;case 3:c.call(E,this,arguments[1],arguments[2]);break;default:for(h=arguments.length,w=new Array(h-1),m=1;m<h;++m)w[m-1]=arguments[m];l.call(E,this,w)}},a={on:n,once:r,off:o,emit:i},u={on:nm(n),once:nm(r),off:nm(o),emit:nm(i)},s=d({},u),e.exports=t=function(v){return v==null?f(s):d(Object(v),u)},t.methods=a});function rm(e){var t=p7.get(e);return t==null&&(t=x$(),p7.set(e,t)),t}var om=new WeakMap;function bR(e,t){var n=om.get(e);n==null&&(n=new Set,om.set(e,n)),n.add(t)}function A$(e){return om.get(e)||new Set}function S$(e){om.set(e,new Set)}function Gw(e){var t=N.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function Kw(e){var t={top:"0",left:"0"},n=e.selection;if(n==null)return t;var r=Gw(e);if(r==null)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=N.toDOMRange(e,n).getClientRects()[0];if(s==null)return t;s.width;var l=s.height,c={},f=s.top-o,p=s.left-i;if(p>a/2){var d=a-p;c.right=d+5+"px"}else c.left=p+5+"px";if(f>u/2){var y=u-f;c.bottom=y+5+"px"}else{var g=f+l;g<0&&(g=0),c.top=g+5+"px"}return c}function Xw(e,t,n){n===void 0&&(n="modal");var r={top:"0",left:"0"};if(e.selection==null)return r;var o=ft.isElement(t)&&e.isVoid(t),i=ft.isElement(t)&&e.isInline(t),a=Jv.get(t);if(a==null)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var p=function(x){var B=[];B.push(x);for(var U=0;B.length>0;){var oe=B.pop();if(oe==null)break;if(++U>1e4)break;var fe=oe.nodeName;if(oe.nodeType===1){var ie=fe.toLowerCase();if(hq.includes(ie)||ie==="iframe"||ie==="video")return oe;var De=oe.children||[],me=De.length;if(me)for(var ye=me-1;ye>=0;ye--)B.push(De[ye])}}return null}(a);if(p!=null){var d=p.getBoundingClientRect();s=d.top,c=d.height}}var y=Gw(e);if(y==null)return r;var g,v=y.top,m=y.left,h=y.width,b=y.height,E={},w=s-v,S=l-m;if(n==="bar")return E.left=S+"px",w>40?E.bottom=b-w+5+"px":E.top=w+c+5+"px",E;if(n==="modal")return o?i?S>(h-f)/2?E.right=h-S+5+"px":E.left=S+f+5+"px":E.left="20px":E.left=S+"px",o?((g=w)<0&&(g=0),E.top=g+"px"):w>(b-c)/2?E.bottom=b-w+5+"px":((g=w+c)<0&&(g=0),E.top=g+5+"px"),E;throw new Error("type '"+n+"' is invalid")}function Yw(e,t){xi(function(){var n=Gw(e);if(n!=null){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=t.offset(),l=s.top,c=s.left,f=t.width(),p=t.height(),d=l-o,y=c-i,g=t.attr("style");if(g.indexOf("top")>=0&&(r=d+p-u)>0){var v=t.css("top"),m=parseInt(v.toString())-r;m<0&&(m=0),t.css("top",m+"px")}if(g.indexOf("bottom")>=0&&l<0){var h=t.css("bottom"),b=parseInt(h.toString())-Math.abs(l);t.css("bottom",b+"px")}if(g.indexOf("left")>=0&&(r=y+f-a)>0){var E=t.css("left"),w=parseInt(E.toString())-r;w<0&&(w=0),t.css("left",w+"px")}if(g.indexOf("right")>=0&&c<0){var S=t.css("right"),x=parseInt(S.toString())-Math.abs(c);t.css("right",x+"px")}}})}var D$=Bv("slice"),O$=ir("species"),Jw=Ne.Array,_$=Math.max;ar({target:"Array",proto:!0,forced:!D$},{slice:function(e,t){var n,r,o,i=ku(this),a=hl(i),u=Wc(e,a),s=Wc(t===void 0?a:t,a);if(Sv(i)&&(n=i.constructor,(Dv(n)&&(n===Jw||Sv(n.prototype))||Vn(n)&&(n=n[O$])===null)&&(n=void 0),n===Jw||n===void 0))return D7(i,u,s);for(r=new(n===void 0?Jw:n)(_$(s-u,0)),o=0;u<s;u++,o++)u in i&&bp(r,o,i[u]);return r.length=o,r}});var T$=hp.f,ER=pt("".startsWith),P$=pt("".slice),R$=Math.min,CR=CC("startsWith"),j$=!CR&&!!function(){var e=T$(String.prototype,"startsWith");return e&&!e.writable}();ar({target:"String",proto:!0,forced:!j$&&!CR},{startsWith:function(e){var t=Un(Ei(this));EC(e);var n=Hc(R$(arguments.length>1?arguments[1]:void 0,t.length)),r=Un(e);return ER?ER(t,r,n):P$(t,n,n+r.length)===r}});var uf=Object.assign,wR=Object.defineProperty,N$=pt([].concat),xR=!uf||wn(function(){if(ro&&uf({b:1},uf(wR({},"a",{enumerable:!0,get:function(){wR(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),uf({},e)[n]!=7||Gc(uf({},t)).join("")!=r})?function(e,t){for(var n=Nu(e),r=arguments.length,o=1,i=yP.f,a=dP.f;r>o;)for(var u,s=Av(arguments[o++]),l=i?N$(Gc(s),i(s)):Gc(s),c=l.length,f=0;c>f;)u=l[f++],ro&&!cn(a,s,u)||(n[u]=s[u]);return n}:uf;ar({target:"Object",stat:!0,forced:Object.assign!==xR},{assign:xR});var B$=["props","attrs","style","dataset","on","hook"];function AR(e){var t=e.data,n=t===void 0?{}:t,r=e.children,o=r===void 0?[]:r;Object.keys(n).forEach(function(i){var a,u,s=n[i];if(i!=="key"){if(!B$.includes(i)){if(i.startsWith("data-")){var l=i.slice(5);return l=oY(l),function(c,f){c.data==null&&(c.data={});var p=c.data;p.dataset==null&&(p.dataset={}),Object.assign(p.dataset,f)}(e,((a={})[l]=s,a)),void delete n[i]}!function(c,f){c.data==null&&(c.data={});var p=c.data;p.props==null&&(p.props={}),Object.assign(p.props,f)}(e,(u={},u[i]=s,u)),delete n[i]}}else e.key=s}),o.length>0&&o.forEach(function(i){typeof i!="string"&&AR(i)})}var Zw=[],SR={};function F$(e,t,n){return Pt(n.isInline(e)?"span":"div",null,t)}function DR(e,t){return t===void 0&&(t=!1),Pt("span",{"data-slate-string":!0},t?e+`
`:e)}function Qw(e,t){return e===void 0&&(e=0),t===void 0&&(t=!1),Pt("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\uFEFF",t?Pt("br",null):null)}function qw(e,t,n,r){return Op.set(e,t),Qc.set(e,n),ft.isElement(e)?function(o,i){var a,u=N.findKey(i,o),s=i.isInline(o),l=C.isVoid(i,o),c=q7(u.id),f={id:c,key:u.id,"data-slate-node":"element","data-slate-inline":s},p=o.type,d=o.children,y=d===void 0?[]:d,g=function(w){return SR[w]||F$}(p);a=l?null:y.map(function(w,S){return qw(w,S,o,i)});var v=g(o,a,i);if(l){f["data-slate-void"]=!0;var m=s?"span":"div",h=fn(Le.texts(o),1),b=fn(h[0],1)[0],E=Pt(m,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},qw(b,0,o,i));v=Pt(m,{style:{position:"relative"}},v,E),Op.set(b,0),Qc.set(b,o)}return v.data==null&&(v.data={}),Object.assign(v.data,f),l||s||(v=function(w,S){var x=S;return Zw.forEach(function(B){x=B(w,S)}),x}(o,v)),xi(function(){var w=fw(c);w!=null&&(uw.set(u,w),Jv.set(o,w),Yv.set(w,o))}),v}(e,r):function(o,i,a){if(o.text==null)throw new Error("Current node is not slate Text "+JSON.stringify(o));var u=N.findKey(a,o),s=a.getConfig().decorate;if(s==null)throw new Error("Can not get config.decorate");var l=N.findPath(a,o),c=s([o,l]),f=Ye.decorations(o,c),p=f.map(function(g,v){var m=function(h,b,E,w,S){b===void 0&&(b=!1);var x=h.text,B=N.findPath(S,E),U=X.parent(B);if(C.isEditor(w))throw new Error("Text node "+JSON.stringify(E)+" parent is Editor");return S.isVoid(w)?Qw(Le.string(w).length):x!==""||w.children[w.children.length-1]!==E||S.isInline(w)||C.string(S,U)!==""?x===""?Qw():b&&x.slice(-1)===`
`?DR(x,!0):DR(x):Qw(0,!0)}(g,v===f.length-1,o,i,a);return m=function(h,b){var E=b;return Zw.forEach(function(w){E=w(h,E)}),E}(g,m),Pt("span",{"data-slate-leaf":!0},m)}),d=function(g){return"w-e-text-"+g}(u.id),y=Pt("span",{"data-slate-node":"text",id:d,key:u.id},p);return xi(function(){var g=fw(d);g!=null&&(uw.set(u,g),Jv.set(o,g),Yv.set(g,o))}),y}(e,n,r)}function k$(e,t){var n,r=e.$scroll,o=function(g){return"w-e-textarea-"+g}(e.id),i=t.getConfig(),a=i.readOnly,u=i.autoFocus,s=function(g,v){return v===void 0&&(v=!1),Fc("div#"+g,{props:{contentEditable:!v}})}(o,a),l=t.children||[];s.children=l.map(function(g,v){var m=qw(g,v,t,t);return AR(m),m});var c=l7.get(e);if(c==null&&(c=!0),c){var f=function(g,v){return k(`<div
id="`+g+`"
data-slate-editor
data-slate-node="value"
suppressContentEditableWarning
role="textarea"
spellCheck="true"
autoCorrect="true"
autoCapitalize="true"
></div>`)}(o);r.append(f),e.$textArea=f,n=f[0],(d=DX([_X,jX,BX,TX,RX,OX]))(n,s),l7.set(e,!1),c7.set(e,d)}else{var p=f7.get(e),d=c7.get(e);if(p==null||d==null)return;n=p.elm,d(p,s)}if(n!=null||(n=fw(o))!=null){if((c?u:t.isFocused())&&n.focus({preventScroll:!0}),c){var y=cw(n);y&&d7.set(t,y)}aw.set(t,n),Jv.set(t,n),Yv.set(n,t),f7.set(e,s)}}function OR(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function _R(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function $w(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return _R(n.overflowY,t)||_R(n.overflowX,t)||function(r){var o=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(a){return null}}(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)}(e)}return!1}function im(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}function TR(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,s=typeof a=="function"?a:function(Lt){return Lt!==a};if(!OR(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;OR(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}f!=null&&f===document.body&&$w(f)&&!$w(document.documentElement)||f!=null&&$w(f,u)&&c.push(f)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,d=n.visualViewport?n.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),m=v.height,h=v.width,b=v.top,E=v.right,w=v.bottom,S=v.left,x=o==="start"||o==="nearest"?b:o==="end"?w:b+m/2,B=i==="center"?S+h/2:i==="end"?E:S,U=[],oe=0;oe<c.length;oe++){var fe=c[oe],ie=fe.getBoundingClientRect(),De=ie.height,me=ie.width,ye=ie.top,we=ie.right,Ve=ie.bottom,st=ie.left;if(r==="if-needed"&&b>=0&&S>=0&&w<=d&&E<=p&&b>=ye&&w<=Ve&&S>=st&&E<=we)return U;var at=getComputedStyle(fe),rt=parseInt(at.borderLeftWidth,10),L=parseInt(at.borderTopWidth,10),R=parseInt(at.borderRightWidth,10),G=parseInt(at.borderBottomWidth,10),le=0,Re=0,he="offsetWidth"in fe?fe.offsetWidth-fe.clientWidth-rt-R:0,Qe="offsetHeight"in fe?fe.offsetHeight-fe.clientHeight-L-G:0;if(l===fe)le=o==="start"?x:o==="end"?x-d:o==="nearest"?im(g,g+d,d,L,G,g+x,g+x+m,m):x-d/2,Re=i==="start"?B:i==="center"?B-p/2:i==="end"?B-p:im(y,y+p,p,rt,R,y+B,y+B+h,h),le=Math.max(0,le+g),Re=Math.max(0,Re+y);else{le=o==="start"?x-ye-L:o==="end"?x-Ve+G+Qe:o==="nearest"?im(ye,Ve,De,L,G+Qe,x,x+m,m):x-(ye+De/2)+Qe/2,Re=i==="start"?B-st-rt:i==="center"?B-(st+me/2)+he/2:i==="end"?B-we+R+he:im(st,we,me,rt,R+he,B,B+h,h);var Ct=fe.scrollLeft,Tt=fe.scrollTop;x+=Tt-(le=Math.max(0,Math.min(Tt+le,fe.scrollHeight-De+Qe))),B+=Ct-(Re=Math.max(0,Math.min(Ct+Re,fe.scrollWidth-me+he)))}U.push({el:fe,top:le,left:Re})}return U}function PR(e){return e===Object(e)&&Object.keys(e).length!==0}function Ai(e,t){return yl(t)&&N.hasDOMNode(e,t,{editable:!0})}function RR(e,t){if(e.getConfig().readOnly)return!1;var n=sf(e,t)&&N.toSlateNode(e,t);return C.isVoid(e,n)}function sf(e,t){return yl(t)&&N.hasDOMNode(e,t)}function jR(e,t,n){n===void 0&&(n=!1);var r=t.selection,o=t.getConfig(),i=N.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a=i.type!=="None";if(r||a){var u=aw.get(t),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=N.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(l&&re.equals(l,r)){var c=!0;if(re.isCollapsed(r)){var f=i.anchorNode,p=i.anchorOffset;if(f===u){var d=u.childNodes,y=void 0;(y=d[p])&&y.matches("table")&&(c=!1),(y=d[p-1])&&y.matches("table")&&(c=!1)}}if(c)return}}if(!r||N.hasRange(t,r)){e.isUpdatingSelection=!0;var g=r&&N.toDOMRange(t,r);if(g){re.isBackward(r)?i.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):i.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset);var v=g.startContainer.parentElement;if(!v.closest("[data-slate-spacer]")){v.getBoundingClientRect=g.getBoundingClientRect.bind(g);var m=document.body;(function(h,b){var E=!h.ownerDocument.documentElement.contains(h);if(PR(b)&&typeof b.behavior=="function")return b.behavior(E?[]:TR(h,b));if(!E){var w=function(S){return S===!1?{block:"end",inline:"nearest"}:PR(S)?S:{block:"start",inline:"nearest"}}(b);(function(S,x){x===void 0&&(x="auto");var B="scrollBehavior"in document.body.style;S.forEach(function(U){var oe=U.el,fe=U.top,ie=U.left;oe.scroll&&B?oe.scroll({top:fe,left:ie,behavior:x}):(oe.scrollTop=fe,oe.scrollLeft=ie)})})(TR(h,w),w.behavior)}})(v,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:m,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){g&&_p&&u.focus(),e.isUpdatingSelection=!1})}else t.selection=N.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})}}}var ex=new WeakMap,NR=new WeakMap,L$={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},M$={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},I$={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},er=function(e){var t=L$[e],n=M$[e],r=I$[e],o=t&&D2(t),i=n&&D2(n),a=r&&D2(r);return function(u){return!(!o||!o(u))||!!(dw&&i&&i(u))||!(dw||!a||!a(u))}},ur={isBold:er("bold"),isCompose:er("compose"),isMoveBackward:er("moveBackward"),isMoveForward:er("moveForward"),isDeleteBackward:er("deleteBackward"),isDeleteForward:er("deleteForward"),isDeleteLineBackward:er("deleteLineBackward"),isDeleteLineForward:er("deleteLineForward"),isDeleteWordBackward:er("deleteWordBackward"),isDeleteWordForward:er("deleteWordForward"),isExtendBackward:er("extendBackward"),isExtendForward:er("extendForward"),isExtendLineBackward:er("extendLineBackward"),isExtendLineForward:er("extendLineForward"),isItalic:er("italic"),isMoveLineBackward:er("moveLineBackward"),isMoveLineForward:er("moveLineForward"),isMoveWordBackward:er("moveWordBackward"),isMoveWordForward:er("moveWordForward"),isRedo:er("redo"),isSplitBlock:er("splitBlock"),isTransposeCharacter:er("transposeCharacter"),isUndo:er("undo"),isTab:er("tab"),isSelectAll:er("selectAll")};function kr(e){e.preventDefault()}var U$={beforeinput:function(e,t,n){var r=e,o=n.getConfig().readOnly;if(Pp&&!o&&Ai(n,r.target)){var i=n.selection,a=r.inputType,u=r.dataTransfer||r.data||void 0;if(a!=="insertCompositionText"&&a!=="deleteCompositionText"){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var s=fn(r.getTargetRanges(),1)[0];if(s){var l=N.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&re.equals(i,l)||Z.select(n,l)}}if(i&&re.isExpanded(i)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";C.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":C.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":C.deleteForward(n);break;case"deleteContentBackward":C.deleteBackward(n);break;case"deleteEntireSoftLine":C.deleteBackward(n,{unit:"line"}),C.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":C.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":C.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":C.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":C.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":C.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":C.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":C.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(a==="insertFromPaste"&&!lw.get(n))break;u instanceof DataTransfer?n.insertData(u):typeof u=="string"&&C.insertText(n,u)}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,i=t.latestElement;if(!n.getConfig().readOnly&&!o&&Ai(n,r.target)){var a=N.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var u=r.relatedTarget;if(!(u===N.toDOMNode(n,n)||Gi(u)&&u.hasAttribute("data-slate-spacer"))){if(u!=null&&yl(u)&&N.hasDOMNode(n,u)){var s=N.toSlateNode(n,u);if(ft.isElement(s)&&!n.isVoid(s))return}if(Tp){var l=a.getSelection();l==null||l.removeAllRanges()}ml.delete(n)}}}},focus:function(e,t,n){var r=N.toDOMNode(n,n),o=N.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,_p&&e.target!==r?r.focus():ml.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&sf(n,e.target)&&yl(e.target)){var r=N.toSlateNode(n,e.target),o=N.findPath(n,r);if(C.hasPath(n,o)&&Le.get(n,o)===r){var i=C.start(n,o),a=C.end(n,o),u=C.void(n,{at:i}),s=C.void(n,{at:a});if(u&&s&&X.equals(u[1],s[1])){var l=C.range(n,i);Z.select(n,l)}}}},compositionstart:function(e,t,n){if(Ai(n,e.target)){var r=n.selection;if(r&&re.isExpanded(r)&&(C.deleteFragment(n),Promise.resolve().then(function(){jR(t,n,!0)})),r&&re.isCollapsed(r)){var o=N.toDOMRange(n,r).startContainer,i=o.textContent||"";ex.set(n,i),NR.set(n,o)}t.isComposing=!0,function(a,u){var s;u.getConfig().placeholder&&u.isEmpty()&&a.showPlaceholder&&((s=a.$placeholder)===null||s===void 0||s.hide(),a.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(Ai(n,r.target)){t.isComposing=!1;var o=n.selection;if(o!=null){(pw||_p)&&N.cleanExposedTexNodeInSelectionBlock(n);for(var i=re.isBackward(o)?o.focus:o.anchor,a=fn(C.node(n,[i.path[0]]),1)[0],u=0;u<i.path.length;u++){var s=fn(C.node(n,i.path.slice(0,u+1)),1)[0];if(ft.isElement(s)&&((Tp||_p)&&s.type==="link"||s.type==="code")){N.setNewKey(a);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=N.getLeftLengthOfMaxLength(n);c<l.length?(N.toDOMRange(n,o).startContainer.textContent=ex.get(n)||"",c>0&&C.insertText(n,l.slice(0,c)),t.changeViewState()):C.insertText(n,l)}else C.insertText(n,l);Tp||setTimeout(function(){var f=n.selection;if(f!=null){var p=NR.get(n);p!=null&&N.toDOMRange(n,f).startContainer!==p&&(p.textContent=ex.get(n)||"")}})}}}},compositionupdate:function(e,t,n){Ai(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&Ai(n,r.target)){if(function(a,u){var s=Gv.get(a),l=s&&s.getMenus(),c=Kv.get(a),f=c&&c.getMenus(),p=Ci(Ci({},l),f);for(var d in p){var y=p[d],g=y.hotkey;if(g&&uY(g,u)&&!y.isDisabled(a)){var v=y.getValue(a);y.exec(a,v)}}}(n,r),ur.isTab(r))return kr(r),void n.handleTab();if(ur.isRedo(r))return kr(r),void(typeof n.redo=="function"&&n.redo());if(ur.isUndo(r))return kr(r),void(typeof n.undo=="function"&&n.undo());if(ur.isMoveLineBackward(r))return kr(r),void Z.move(n,{unit:"line",reverse:!0});if(ur.isMoveLineForward(r))return kr(r),void Z.move(n,{unit:"line"});if(ur.isExtendLineBackward(r))return kr(r),void Z.move(n,{unit:"line",edge:"focus",reverse:!0});if(ur.isExtendLineForward(r))return kr(r),void Z.move(n,{unit:"line",edge:"focus"});if(ur.isMoveBackward(r))return kr(r),void(o&&re.isCollapsed(o)?Z.move(n,{reverse:!0}):Z.collapse(n,{edge:"start"}));if(ur.isMoveForward(r))return kr(r),void(o&&re.isCollapsed(o)?Z.move(n):Z.collapse(n,{edge:"end"}));if(ur.isMoveWordBackward(r))return kr(r),o&&re.isExpanded(o)&&Z.collapse(n,{edge:"focus"}),void Z.move(n,{unit:"word",reverse:!0});if(ur.isMoveWordForward(r))return kr(r),o&&re.isExpanded(o)&&Z.collapse(n,{edge:"focus"}),void Z.move(n,{unit:"word"});if(ur.isSelectAll(r))return kr(r),void n.selectAll();if(Pp){if((pw||Tp)&&o&&(ur.isDeleteBackward(r)||ur.isDeleteForward(r))&&re.isCollapsed(o)){var i=Le.parent(n,o.anchor.path);if(ft.isElement(i)&&C.isVoid(n,i)&&C.isInline(n,i))return r.preventDefault(),void Z.delete(n,{unit:"block"})}}else{if(ur.isBold(r)||ur.isItalic(r)||ur.isTransposeCharacter(r))return void kr(r);if(ur.isSplitBlock(r))return kr(r),void C.insertBreak(n);if(ur.isDeleteBackward(r))return kr(r),void(o&&re.isExpanded(o)?C.deleteFragment(n,{direction:"backward"}):C.deleteBackward(n));if(ur.isDeleteForward(r))return kr(r),void(o&&re.isExpanded(o)?C.deleteFragment(n,{direction:"forward"}):C.deleteForward(n));if(ur.isDeleteLineBackward(r))return kr(r),void(o&&re.isExpanded(o)?C.deleteFragment(n,{direction:"backward"}):C.deleteBackward(n,{unit:"line"}));if(ur.isDeleteLineForward(r))return kr(r),void(o&&re.isExpanded(o)?C.deleteFragment(n,{direction:"forward"}):C.deleteForward(n,{unit:"line"}));if(ur.isDeleteWordBackward(r))return kr(r),void(o&&re.isExpanded(o)?C.deleteFragment(n,{direction:"backward"}):C.deleteBackward(n,{unit:"word"}));if(ur.isDeleteWordForward(r))return kr(r),void(o&&re.isExpanded(o)?C.deleteFragment(n,{direction:"forward"}):C.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!Pp&&!n.getConfig().readOnly&&Ai(n,e.target)){e.preventDefault();var r=e.key;C.insertText(n,r)}},copy:function(e,t,n){var r=e;if(Ai(n,r.target)){r.preventDefault();var o=r.clipboardData;o!=null&&n.setFragmentData(o)}},cut:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&Ai(n,r.target)){r.preventDefault();var i=r.clipboardData;if(i!=null&&(n.setFragmentData(i),o))if(re.isExpanded(o))C.deleteFragment(n);else{var a=Le.parent(n,o.anchor.path);C.isVoid(n,a)&&Z.delete(n)}}},paste:function(e,t,n){lw.set(n,!0);var r=e;if(!n.getConfig().readOnly&&Ai(n,r.target)){var o=n.getConfig().customPaste;if(o&&o(n,r)===!1)return void lw.set(n,!1);if(!Pp||function(a){return a.clipboardData&&a.clipboardData.getData("text/plain")!==""&&a.clipboardData.types.length===1}(r)){r.preventDefault();var i=r.clipboardData;i!=null&&n.insertData(i)}}},dragover:function(e,t,n){if(sf(n,e.target)){var r=N.toSlateNode(n,e.target);C.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(sf(n,r.target)&&!n.getConfig().readOnly){var o=N.toSlateNode(n,r.target),i=N.findPath(n,o);if(C.isVoid(n,o)||C.void(n,{at:i,voids:!0})){var a=C.range(n,i);Z.select(n,a)}var u=r.dataTransfer;u!=null&&(t.isDraggingInternally=!0,n.setFragmentData(u))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&sf(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&sf(n,r.target)&&o!=null&&!(Pp&&Tp&&o.files.length>0)){r.preventDefault();var i=n.selection,a=N.findEventRange(n,r);Z.select(n,a),t.isDraggingInternally&&(i&&Z.delete(n,{at:i}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},z$=1,H$=function(){function e(t){var n=this;this.id=z$++,this.$textArea=null,this.$progressBar=k('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=k('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=tl(function(){var a=n.editorInstance;!function(u,s){var l=u.isComposing,c=u.isUpdatingSelection,f=u.isDraggingInternally;if(!(s.getConfig().readOnly||l||c||f)){var p=N.findDocumentOrShadowRoot(s),d=p.activeElement,y=N.toDOMNode(s,s),g=p.getSelection();if(d===y?(u.latestElement=d,ml.set(s,!0)):ml.delete(s),!g)return Z.deselect(s);var v=g.anchorNode,m=g.focusNode,h=Ai(s,v)||RR(s,v),b=Ai(s,m)||RR(s,m);if(h&&b){var E=N.toSlateRange(s,g,{exactMatch:!1,suppressThrow:!1});Z.select(s,E)}else Z.deselect(s)}}(n,a)},100);var r=k(t);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+t+"'");this.$box=r;var o=k('<div class="w-e-text-container"></div>');o.append(this.$progressBar),o.append(this.$maxLengthInfo),r.append(o);var i=k('<div class="w-e-scroll"></div>');o.append(i),this.$scroll=i,this.$textAreaContainer=o,xi(function(){var a=n.editorInstance,u=N.getWindow(a);u.document.addEventListener("selectionchange",n.onDOMSelectionChange),a.on("destroyed",function(){u.document.removeEventListener("selectionchange",n.onDOMSelectionChange)}),o.on("click",function(){return a.hidePanelOrModal()}),a.on("change",n.changeViewState.bind(n));var s=a.getConfig().onChange;s&&a.on("change",function(){return s(a)}),n.onFocusAndOnBlur(),a.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var t=tw.get(this);if(t==null)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var t=this,n=this.$textArea,r=this.$scroll,o=this.editorInstance;n!=null&&(h2(U$,function(i,a){n.on(a,function(u){i(u,t,o)})}),o.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",tl(function(){o.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var t=this,n=this.editorInstance,r=n.getConfig(),o=r.onBlur,i=r.onFocus;this.latestEditorSelection=n.selection,n.on("change",function(){t.latestEditorSelection==null&&n.selection!=null?setTimeout(function(){return i&&i(n)}):t.latestEditorSelection!=null&&n.selection==null&&setTimeout(function(){return o&&o(n)}),t.latestEditorSelection=n.selection})},e.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,n=t.getConfig().maxLength;if(n){var r=n-N.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML=r+"/"+n}},e.prototype.changeProgress=function(t){var n=this.$progressBar;n.css("width",t+"%"),t>=100&&setTimeout(function(){n.hide(),n.css("width","0"),n.show()},1e3)},e.prototype.changeViewState=function(){var t=this,n=this.editorInstance;k$(this,n),function(r,o){var i,a=o.getConfig().placeholder;if(a){var u=o.isEmpty();if(u&&!r.showPlaceholder&&!r.isComposing){if(r.$placeholder==null){var s=k('<div class="w-e-text-placeholder">'+a+"</div>");r.$textAreaContainer.append(s),r.$placeholder=s}return r.$placeholder.show(),void(r.showPlaceholder=!0)}!u&&r.showPlaceholder&&((i=r.$placeholder)===null||i===void 0||i.hide(),r.showPlaceholder=!1)}}(this,n),xi(function(){jR(t,n)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function tx(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&tx(t)}function nx(){return k('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function BR(){return k('<div class="w-e-bar-divider"></div>')}function FR(e,t,n,r,o){if(o===void 0&&(o=!1),t){if(r){var i=dw?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+`
`+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}zC("match",function(e,t,n){return[function(r){var o=Ei(this),i=r==null?void 0:fl(r,e);return i?cn(i,r,o):new RegExp(r)[e](Un(o))},function(r){var o=xr(this),i=Un(r),a=n(t,o,i);if(a.done)return a.value;if(!o.global)return wp(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=wp(o,i))!==null;){var f=Un(s[0]);l[c]=f,f===""&&(o.lastIndex=HC(i,Hc(o.lastIndex),u)),c++}return c===0?null:l}]});var rx=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=k('<div class="w-e-bar-item"></div>'),this.$button=k('<button type="button"></button>'),this.disabled=!1,this.menu=n;var i=n.tag,a=n.width;if(i!=="button")throw new Error("Invalid tag '"+i+"', expected 'button'");var u=n.title,s=n.hotkey,l=s===void 0?"":s,c=n.iconSvg,f=c===void 0?"":c,p=this.$button;if(f){var d=k(f);tx(d),p.append(d)}else p.text(u);FR(p,f,u,l,r),r&&f&&p.append(k('<span class="title">'+u+"</span>")),a&&p.css("width",a+"px"),p.attr("data-menu-key",t),this.$elem.append(p),xi(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),oi(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},e.prototype.exec=function(){var t=oi(this),n=this.menu,r=n.getValue(t);n.exec(t,r)},e.prototype.setActive=function(){var t=oi(this),n=this.$button,r="active";this.menu.isActive(t)?n.addClass(r):n.removeClass(r)},e.prototype.setDisabled=function(){var t=oi(this),n=this.$button,r=this.menu.isDisabled(t);(t.selection==null||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var o="disabled";r?n.addClass(o):n.removeClass(o),this.disabled=r},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),V$=function(e){function t(n,r,o){return o===void 0&&(o=!1),e.call(this,n,r,o)||this}return Jc(t,e),t.prototype.onButtonClick=function(){},t}(rx),ox=function(){function e(t){this.isShow=!1,this.showTime=0,this.record(t)}return e.prototype.record=function(t){var n=iw.get(t);n==null&&(n=new Set,iw.set(t,n)),n.add(this),Xv.set(this,t)},e.prototype.renderContent=function(t){var n=this.$elem;n.empty(),n.append(t);var r=this.genSelfElem();r&&n.append(r)},e.prototype.appendTo=function(t){var n=this.$elem;t.append(n)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=Xv.get(this);t&&t.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=Xv.get(this);t&&t.emit("modalOrPanelHide")}},e}(),W$=function(e){function t(n){var r=e.call(this,n)||this;return r.type="dropPanel",r.$elem=k('<div class="w-e-drop-panel"></div>'),r}return Jc(t,e),t.prototype.genSelfElem=function(){return null},t}(ox),G$=function(e){function t(n,r,o){o===void 0&&(o=!1);var i=e.call(this,n,r,o)||this;if(i.dropPanel=null,i.menu=r,r.showDropPanel){var a=nx();i.$button.append(a)}return i}return Jc(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var n=this.menu;if(n.getPanelContentElem!=null){var r=oi(this);if(this.dropPanel==null){var o=new W$(r),i=n.getPanelContentElem(r);o.renderContent(i),o.appendTo(this.$elem),o.show(),this.dropPanel=o}else{var a=this.dropPanel;a.isShow?a.hide():(i=n.getPanelContentElem(r),a.renderContent(i),a.show())}var u=this.dropPanel;if(u.isShow){var s=this.$elem,l=s.offset().left,c=s.parents(".w-e-bar");l-c.offset().left>=c.width()/2?u.$elem.css({left:"none",right:"0"}):u.$elem.css({left:"0",right:"none"})}}},t}(rx),K$=function(e){function t(n,r){r===void 0&&(r=0);var o=e.call(this,n)||this;o.type="modal",o.$elem=k('<div class="w-e-modal"></div>'),o.width=0,r&&(o.width=r);var i=o.$elem;return i.on("click",function(a){return a.stopPropagation()}),i.on("keyup",function(a){a.code==="Escape"&&(o.hide(),n.restoreSelection())}),o}return Jc(t,e),t.prototype.genSelfElem=function(){var n=this,r=k('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),o=Xv.get(this);return r.on("click",function(){n.hide(),o==null||o.restoreSelection()}),r},t.prototype.setStyle=function(n){var r=this.width,o=this.$elem;o.attr("style",""),r&&o.css("width",r+"px"),o.css(n)},t}(ox);function ri(e,t,n){var r=k('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=k('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function zye(e,t,n){var r=k('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=k('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function lf(e,t){var n=k('<div class="button-container"></div>'),r=k('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var X$=function(e){function t(n,r,o){o===void 0&&(o=!1);var i=e.call(this,n,r,o)||this;return i.$body=k("body"),i.modal=null,i.menu=r,i}return Jc(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var n=oi(this),r=this.menu.getModalPositionNode(n);return ft.isElement(r)?Xw(n,r,"modal"):Kw(n)},t.prototype.handleModal=function(){var n=oi(this),r=this.menu;if(this.modal==null){var o=new K$(n,r.modalWidth);this.renderAndShowModal(o,!0),this.modal=o}else(o=this.modal).isShow?o.hide():this.renderAndShowModal(o,!1)},t.prototype.renderAndShowModal=function(n,r){r===void 0&&(r=!1);var o=oi(this),i=this.menu;if(i.getModalContentElem!=null){var a=N.getTextarea(o),u=N.getToolbar(o),s=((u==null?void 0:u.getConfig())||{}).modalAppendToBody,l=i.getModalContentElem(o);if(n.renderContent(l),s)n.setStyle({left:"0",right:"0"});else{var c=this.getPosition();n.setStyle(c)}r&&(s?n.appendTo(this.$body):n.appendTo(a.$textAreaContainer)),n.show(),s||Yw(o,n.$elem),setTimeout(function(){o.blur()})}},t}(rx),Y$=function(e){function t(n,r){var o=e.call(this,n)||this;return o.type="selectList",o.$elem=k('<div class="w-e-select-list"></div>'),r&&o.$elem.css("width",r+"px"),o.$elem.on("click",function(i){i.stopPropagation()}),o}return Jc(t,e),t.prototype.renderList=function(n){var r=this.$elem;r.empty();var o=k("<ul></ul>");n.forEach(function(i){var a=i.value,u=i.text,s=i.selected,l=i.styleForRenderMenuList,c=k('<li data-value="'+a+'"></li>');if(l&&c.css(l),s){var f=k('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');c.append(f),c.addClass("selected")}c.append(k('<span data-value="'+a+'">'+u+"</span>")),c.attr("title",u),o.append(c)}),r.append(o)},t.prototype.genSelfElem=function(){return null},t}(ox),J$=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=k('<div class="w-e-bar-item"></div>'),this.$button=k('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var i=n.tag,a=n.title,u=n.width,s=n.iconSvg,l=s===void 0?"":s,c=n.hotkey,f=c===void 0?"":c;if(i!=="select")throw new Error("Invalid tag '"+i+"', expected 'select'");var p=this.$button;u&&p.css("width",u+"px"),p.attr("data-menu-key",t),FR(p,l,a,f,r),this.$elem.append(p),this.menu=n,xi(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),oi(t).hidePanelOrModal(),t.trigger()})},e.prototype.trigger=function(){var t=this,n=oi(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new Y$(n,r.selectPanelWidth);var o=this.selectList,i=r.getOptions(n);o.renderList(i),o.appendTo(this.$elem),o.show(),o.$elem.on("click","li",function(a){var u=a.target;if(u!=null){a.preventDefault();var s=k(u).attr("data-value");t.onChange(s)}})}else(o=this.selectList).isShow?o.hide():(i=r.getOptions(n),o.renderList(i),o.show())}},e.prototype.onChange=function(t){var n=oi(this),r=this.menu;r.exec&&r.exec(n,t)},e.prototype.setSelectedValue=function(){var t=oi(this),n=this.menu,r=n.getValue(t),o=function(u,s){for(var l=u.length,c="",f=0;f<l;f++){var p=u[f];if(p.value===s){c=p.text;break}}return c}(n.getOptions(t),r.toString()),i=this.$button,a=nx();i.empty(),i.text(o),i.append(a)},e.prototype.setDisabled=function(){var t=oi(this),n=this.menu.isDisabled(t),r=this.$button;(t.selection==null||t.isDisabled())&&(n=!0);var o="disabled";n?r.addClass(o):r.removeClass(o),this.disabled=n},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),kR=function(){function e(t){this.$elem=k('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=k('<div class="w-e-bar-item-menus-container"></div>'),this.$button=k('<button type="button"></button>');var n=t.key,r=t.iconSvg,o=t.title,i=this.$elem,a=this.$button;if(r){var u=k(r);tx(u),a.append(u)}else a.text(o);a.attr("data-menu-key",n);var s=nx();a.append(s),i.append(a);var l=this.$container;i.append(l);var c=this.createObserver();this.observe(c)}return e.prototype.appendBarItem=function(t){var n=t.$elem;this.$container.append(n)},e.prototype.observe=function(t){var n=this.$container;t.observe(n[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var t=this,n=this.$container,r=this.$button,o=new MutationObserver(function(){var i=n.find("button"),a=i.length;if(a!==0){var u=0;i.each(function(s){k(s).hasClass("disabled")&&u++}),o.disconnect(),u===a?r.addClass("disabled"):r.removeClass("disabled"),t.observe(o)}});return o},e}(),LR=new WeakMap;function oi(e){var t=ow.get(e);if(t==null)throw new Error("Can not get editor instance");return t}function MR(e,t,n){n===void 0&&(n=!1);var r=LR.get(t);if(r)return r;var o=t.tag;if(o==="button"){var i=t.showDropPanel,a=t.showModal;r=i?new G$(e,t,n):a?new X$(e,t,n):new V$(e,t,n)}if(o==="select"&&(r=new J$(e,t,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(t));return LR.set(t,r),r}function Z$(e,t){var n=e.selection;return n!=null&&!re.isCollapsed(n)&&!N.getSelectedElems(e).some(function(r){if(e.isVoid(r))return!0;var o=r.type;return!!["pre","code","table"].includes(o)||void 0})&&!!Ye.isText(t)}var Q$=function(){function e(){var t=this;this.$elem=k('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=aT(function(){var n=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},o=r.node,i=o===void 0?null:o,a=r.menuKeys,u=a===void 0?[]:a;i!=null&&t.changeItemsState(),i&&ft.isElement(i)&&n&&t.isSamePath(i,t.prevSelectedNode)||(t.hideAndClean(),i!=null&&(t.registerItems(u),t.setPosition(i),t.show()),t.prevSelectedNode=i)},200),xi(function(){var n=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(i){return i.preventDefault()},{passive:!1}),N.getTextarea(n).$textAreaContainer.append(r),n.on("change",t.changeHoverbarState);var o=t.hideAndClean.bind(t);n.on("scroll",o),n.on("fullScreen",o),n.on("unFullScreen",o)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var t=this.$elem,n=!1,r=window.innerHeight;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(n=!0),n?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var t=this;xi(function(){t.hoverbarItems.forEach(function(n){n.changeMenuState()})})},e.prototype.registerItems=function(t){var n=this,r=this.$elem;t.forEach(function(o){if(o!=="|")n.registerSingleItem(o);else{var i=BR();r.append(i)}})},e.prototype.registerSingleItem=function(t){var n=this.getEditorInstance(),r=this.menus,o=r[t];if(o==null){var i=Rp[t];if(i==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof i!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");o=i(),r[t]=o}var a=MR(t,o);this.hoverbarItems.push(a),ow.set(a,n),this.$elem.append(a.$elem)},e.prototype.setPosition=function(t){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),ft.isElement(t)){var o=Xw(n,t,"bar");return r.css(o),void Yw(n,r)}if(Ye.isText(t))return o=Kw(n),r.css(o),void Yw(n,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(t.selection==null)return null;var n=this.getHoverbarKeysConf(),r=null,o=[],i=function(u){var s=n[u],l=s.match,c=s.menuKeys,f=c===void 0?[]:c,p=l||function(g,v){return N.checkNodeType(v,u)},d=fn(C.nodes(t,{match:function(g){return p(t,g)},universal:!0}),1),y=d[0];if(y!=null)return r=y[0],o=f,"break"};for(var a in n)if(i(a)==="break")break;return r==null||o.length===0?null:{node:r,menuKeys:o}},e.prototype.getEditorInstance=function(){var t=rw.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,n=t===void 0?{}:t,r=n.text;return r&&r.match==null&&(r.match=Z$),n},e.prototype.isSamePath=function(t,n){if(t==null||n==null)return!1;var r=N.findPath(null,t),o=N.findPath(null,n);return X.equals(r,o)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function IR(e,t,n,r){if(Op.set(e,t),Qc.set(e,n),ft.isElement(e)){var o=e.children;if((o===void 0?[]:o).forEach(function(u,s){return IR(u,s,e,r)}),C.isVoid(r,e)){var i=fn(Le.texts(e),1),a=fn(i[0],1)[0];Op.set(a,0),Qc.set(a,e)}}}function q$(e){var t=e.selector,n=t===void 0?"":t,r=e.config,o=r===void 0?{}:r,i=e.content,a=e.html,u=e.plugins,s=u===void 0?[]:u,l=(m=>{var h=m,{apply:b}=h;return h.history={undos:[],redos:[]},h.redo=()=>{var{history:E}=h,{redos:w}=E;if(w.length>0){var S=w[w.length-1];Kc.withoutSaving(h,()=>{C.withoutNormalizing(h,()=>{for(var x of S)h.apply(x)})}),E.redos.pop(),E.undos.push(S)}},h.undo=()=>{var{history:E}=h,{undos:w}=E;if(w.length>0){var S=w[w.length-1];Kc.withoutSaving(h,()=>{C.withoutNormalizing(h,()=>{var x=S.map(xu.inverse).reverse();for(var B of x)h.apply(B)})}),E.redos.push(S),E.undos.pop()}},h.apply=E=>{var{operations:w,history:S}=h,{undos:x}=S,B=x[x.length-1],U=B&&B[B.length-1],oe=((me,ye)=>!(!ye||me.type!=="set_selection"||ye.type!=="set_selection"))(E,U),fe=Kc.isSaving(h),ie=Kc.isMerging(h);if(fe==null&&(fe=((me,ye)=>me.type!=="set_selection"||me.properties!=null&&me.newProperties!=null)(E)),fe){if(ie==null&&(ie=B!=null&&(w.length!==0||((me,ye)=>me.type==="set_selection"||!(!ye||me.type!=="insert_text"||ye.type!=="insert_text"||me.offset!==ye.offset+ye.text.length||!X.equals(me.path,ye.path))||!(!ye||me.type!=="remove_text"||ye.type!=="remove_text"||me.offset+me.text.length!==ye.offset||!X.equals(me.path,ye.path)))(E,U)||oe)),B&&ie)oe&&B.pop(),B.push(E);else{var De=[E];x.push(De)}for(;x.length>100;)x.shift();(me=>me.type!=="set_selection")(E)&&(S.redos=[])}b(E)},h})(function(m){var h=m,b=h.insertText,E=h.insertNode,w=h.insertFragment,S=h.dangerouslyInsertHtml;return h.insertText=function(x){if(h.getConfig().maxLength){var B=N.getLeftLengthOfMaxLength(h);B<=0||(B<x.length?b(x.slice(0,B)):b(x))}else b(x)},h.insertNode=function(x){if(h.getConfig().maxLength){var B=N.getLeftLengthOfMaxLength(h);B<=0||B<Le.string(x).length||E(x)}else E(x)},h.insertFragment=function(x){if(h.getConfig().maxLength)if(x.length!==1)x.forEach(function(U){h.insertNode(U)});else{var B=x[0];if(N.getLeftLengthOfMaxLength(h)<Le.string(B).length)return;w(x)}else w(x)},h.dangerouslyInsertHtml=function(x,B){if(x===void 0&&(x=""),B===void 0&&(B=!1),x)if(h.getConfig().maxLength){var U=N.getLeftLengthOfMaxLength(h);if(!(U<=0)){var oe=document.createElement("div");oe.innerHTML=x;var fe=Array.from(oe.childNodes).reduce(function(ie,De){var me=De.nodeType,ye=De.nodeName;return De?me===ga.TEXT_NODE?ie+(De.textContent||""):me===ga.ELEMENT_NODE?hR.has(ye.toLowerCase())?ie:ie+(De.textContent||""):ie:ie},"");U<fe.length||S(x,B)}}else S(x,B)},h}(function(m){var h=m;return h.on=function(b,E){var w=rm(h);if(w.on(b,E),b==="destroyed"&&bR(h,E),b!=="destroyed"){var S=function(){return w.off(b,E)};w.on("destroyed",S),bR(h,S)}},h.once=function(b,E){rm(h).once(b,E)},h.off=function(b,E){rm(h).off(b,E)},h.emit=function(b){for(var E=[],w=1;w<arguments.length;w++)E[w-1]=arguments[w];var S=rm(h);S.emit.apply(S,YC([b],fn(E))),b==="destroyed"&&(A$(h).forEach(function(x){return S.off("destroyed",x)}),S$(h))},h}(function(m){var h=m;return h.select=function(b){Z.select(h,b)},h.deselect=function(){var b=h.selection,E=N.findDocumentOrShadowRoot(h).getSelection();E&&E.rangeCount>0&&E.removeAllRanges(),b&&Z.deselect(m)},h.move=function(b,E){E===void 0&&(E=!1),b&&(b<0||Z.move(m,{distance:b,unit:"character",reverse:E}))},h.moveReverse=function(b){h.move(b,!0)},h.restoreSelection=function(){var b=sw.get(h);b!=null&&(h.focus(),Z.select(h,b))},h.getSelectionPosition=function(){return Kw(h)},h.getNodePosition=function(b){return Xw(h,b)},h.isSelectedAll=function(){var b=h.selection;if(b==null)return!1;var E=fn(re.edges(b),2),w=E[0],S=E[1],x=fn(C.edges(h,[]),2),B=x[0],U=x[1];return!(!Wt.equals(w,B)||!Wt.equals(S,U))},h.selectAll=function(){var b=C.start(h,[]),E=C.end(h,[]);Z.select(h,{anchor:b,focus:E})},h}(function(m){var h=m,b=h.onChange,E=h.insertText,w=h.apply,S=h.deleteBackward;return h.insertText=function(x){h.getConfig().readOnly||E(x)},h.apply=function(x){var B,U,oe,fe,ie,De,me,ye,we=[];switch(x.type){case"insert_text":case"remove_text":case"set_node":try{for(var Ve=wi(C.levels(h,{at:x.path})),st=Ve.next();!st.done;st=Ve.next()){var at=fn(st.value,2),rt=at[0],L=at[1],R=N.findKey(h,rt);we.push([L,R])}}catch(en){B={error:en}}finally{try{st&&!st.done&&(U=Ve.return)&&U.call(Ve)}finally{if(B)throw B.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var G=wi(C.levels(h,{at:X.parent(x.path)})),le=G.next();!le.done;le=G.next()){var Re=fn(le.value,2);rt=Re[0],L=Re[1],R=N.findKey(h,rt),we.push([L,R])}}catch(en){oe={error:en}}finally{try{le&&!le.done&&(fe=G.return)&&fe.call(G)}finally{if(oe)throw oe.error}}break;case"move_node":try{for(var he=wi(C.levels(h,{at:X.common(X.parent(x.path),X.parent(x.newPath))})),Qe=he.next();!Qe.done;Qe=he.next()){var Ct=fn(Qe.value,2);rt=Ct[0],L=Ct[1],R=N.findKey(h,rt),we.push([L,R])}}catch(en){ie={error:en}}finally{try{Qe&&!Qe.done&&(De=he.return)&&De.call(he)}finally{if(ie)throw ie.error}}}w(x);try{for(var Tt=wi(we),Lt=Tt.next();!Lt.done;Lt=Tt.next()){var Ce=fn(Lt.value,2);L=Ce[0],R=Ce[1],rt=fn(C.node(h,L),1)[0],Zv.set(rt,R)}}catch(en){me={error:en}}finally{try{Lt&&!Lt.done&&(ye=Tt.return)&&ye.call(Tt)}finally{if(me)throw me.error}}},h.deleteBackward=function(x){if(x!=="line")return S(x);if(m.selection&&re.isCollapsed(m.selection)){var B=C.above(m,{match:function(ie){return C.isBlock(m,ie)},at:m.selection});if(B){var U=fn(B,2)[1],oe=C.range(m,U,m.selection.anchor),fe=function(ie,De){var me=C.range(ie,re.end(De)),ye=Array.from(C.positions(ie,{at:De})),we=0,Ve=ye.length,st=Math.floor(Ve/2);if(eR(ie,C.range(ie,ye[we]),me))return C.range(ie,ye[we],me);if(ye.length<2)return C.range(ie,ye[ye.length-1],me);for(;st!==ye.length&&st!==we;)eR(ie,C.range(ie,ye[st]),me)?Ve=st:we=st,st=Math.floor((we+Ve)/2);return C.range(ie,ye[Ve],me)}(h,oe);re.isCollapsed(fe)||Z.delete(m,{at:fe})}}},h.onChange=function(){var x=h.selection;x!=null&&sw.set(h,x),h.emit("change"),b()},h.handleTab=function(){h.insertText(" ")},h.getHtml=function(){var x=h.children;return(x===void 0?[]:x).map(function(B){return Q7(B,h)}).join("")},h.getText=function(){var x=h.children;return(x===void 0?[]:x).map(function(B){return Le.string(B)}).join(`
`)},h.getSelectionText=function(){var x=h.selection;return x==null?"":C.string(m,x)},h.getElemsByType=function(x,B){var U,oe;B===void 0&&(B=!1);var fe=[],ie=C.nodes(h,{at:[],universal:!0});try{for(var De=wi(ie),me=De.next();!me.done;me=De.next()){var ye=fn(me.value,1)[0];if(ft.isElement(ye)&&(B?ye.type.indexOf(x)>=0:ye.type===x)){var we=q7(N.findKey(h,ye).id);fe.push(Ci(Ci({},ye),{id:we}))}}}catch(Ve){U={error:Ve}}finally{try{me&&!me.done&&(oe=De.return)&&oe.call(De)}finally{if(U)throw U.error}}return fe},h.getElemsByTypePrefix=function(x){return h.getElemsByType(x,!0)},h.isEmpty=function(){var x=h.children,B=x===void 0?[]:x;if(B.length>1)return!1;var U=B[0];if(U==null)return!0;if(ft.isElement(U)&&U.type==="paragraph"){var oe=U.children,fe=oe===void 0?[]:oe;if(fe.length>1)return!1;var ie=fe[0];if(ie==null)return!0;if(Ye.isText(ie)&&ie.text==="")return!0}return!1},h.clear=function(){Z.delete(h,{at:{anchor:C.start(h,[]),focus:C.end(h,[])}}),h.children.length===0&&Z.insertNodes(h,[{type:"paragraph",children:[{text:""}]}])},h.getParentNode=function(x){return N.getParentNode(h,x)},h.dangerouslyInsertHtml=function(x,B){if(x===void 0&&(x=""),B===void 0&&(B=!1),x){var U=document.createElement("div");U.innerHTML=x;var oe=Array.from(U.childNodes);if(oe=oe.filter(function(me){var ye=me.nodeType,we=me.nodeName;return ye===ga.TEXT_NODE||ye===ga.ELEMENT_NODE&&!hR.has(we.toLowerCase())}),oe.length!==0){var fe=h.selection;if(fe!=null){var ie=null;N.isSelectedEmptyParagraph(h)&&!B&&(ie=[fe.focus.path[0]]),U.setAttribute("hidden","true"),document.body.appendChild(U);var De=0;oe.forEach(function(me){var ye=me.nodeType,we=me.nodeName,Ve=me.textContent,st=Ve===void 0?"":Ve;if(ye!==ga.TEXT_NODE)if(we!=="BR"){var at=me,rt=!1;if(tR.includes(we.toLowerCase()))rt=!0;else for(var L in em)if(at.matches(L)){rt=!0;break}if(rt){var R=Uw(k(at),h);return Array.isArray(R)?(R.forEach(function(le){return gR(h,le)}),De++):(gR(h,R),De++),void(N.isSelectedVoidNode(h)&&h.move(1))}var G=window.getComputedStyle(at).display;N.isSelectedEmptyParagraph(h)||G.indexOf("inline")<0&&h.insertBreak(),h.dangerouslyInsertHtml(at.innerHTML,!0)}else h.insertText(`
`);else{if(!st||!st.trim())return;h.insertNode({text:st})}}),De&&ie&&N.isEmptyPath(h,ie)&&Z.removeNodes(h,{at:ie}),U.remove()}}}},h.setHtml=function(x){x===void 0&&(x="");var B=h.isDisabled(),U=h.isFocused(),oe=JSON.stringify(h.selection);h.enable(),h.focus(),h.clear();var fe=fR(h,x);if(Z.insertFragment(h,fe),U||(h.deselect(),h.blur()),B&&(h.deselect(),h.disable()),h.isFocused())try{h.select(JSON.parse(oe))}catch(ie){h.select(C.start(h,[]))}},h}(function(m){var h=m;return h.getAllMenuKeys=function(){var b=[];for(var E in Rp)b.push(E);return b},h.getConfig=function(){var b=s7.get(h);if(b==null)throw new Error("Can not get editor config");return b},h.getMenuConfig=function(b){var E=h.getConfig().MENU_CONF;return(E===void 0?{}:E)[b]||{}},h.alert=function(b,E){E===void 0&&(E="info");var w=h.getConfig().customAlert;w&&w(b,E)},h}(function(m){var h=f$(BG());return h.id="wangEditor-"+bq++,h.isDestroyed=!1,h.isFullScreen=!1,h.focus=function(b){if(N.toDOMNode(h,h).focus({preventScroll:!0}),ml.set(h,!0),b){var E=C.end(h,[]);Z.select(h,E)}else{var w=sw.get(h);w?Z.select(h,w):Z.select(h,C.start(h,[]))}},h.isFocused=function(){return!!ml.get(h)},h.blur=function(){N.toDOMNode(h,h).blur(),Z.deselect(h),ml.set(h,!1)},h.updateView=function(){N.getTextarea(h).changeViewState();var b=N.getToolbar(h);b&&b.changeToolbarState();var E=N.getHoverbar(h);E&&E.changeHoverbarState()},h.destroy=function(){if(!h.isDestroyed){var b=N.getTextarea(h);b.destroy(),ew.delete(h),tw.delete(b);var E=N.getToolbar(h);E&&(E.destroy(),Gv.delete(h),nw.delete(E));var w=N.getHoverbar(h);w&&(w.destroy(),Kv.delete(h),rw.delete(w)),h.isDestroyed=!0,h.emit("destroyed")}},h.scrollToElem=function(b){if(!h.getConfig().scroll){var E="\u7F16\u8F91\u5668\u7981\u7528\u4E86 scroll \uFF0C\u7F16\u8F91\u5668\u5185\u5BB9\u65E0\u6CD5\u6EDA\u52A8\uFF0C\u8BF7\u81EA\u884C\u5B9E\u73B0\u8BE5\u529F\u80FD";return E+=`
You has disabled editor scroll, please do this yourself`,void console.warn(E)}var w=k("#"+b);if(w.length!==0){var S=w[0];if(!N.hasDOMNode(h,S))return E="Element (found by id is '"+b+"') is not in editor DOM",E+=`
\u901A\u8FC7 id '`+b+"' \u627E\u5230\u7684 element \u4E0D\u5728 editor DOM \u4E4B\u5185",void console.error(E,S);var x=N.getTextarea(h),B=x.$textAreaContainer,U=x.$scroll,oe=w.offset().top,fe=B.offset().top;U[0].scrollBy({top:oe-fe,behavior:"smooth"})}},h.showProgressBar=function(b){b<1||N.getTextarea(h).changeProgress(b)},h.hidePanelOrModal=function(){var b=iw.get(h);b!=null&&b.forEach(function(E){return E.hide()})},h.enable=function(){h.getConfig().readOnly=!1,h.updateView()},h.disable=function(){h.getConfig().readOnly=!0,h.updateView()},h.isDisabled=function(){return h.getConfig().readOnly},h.toDOMNode=function(b){return N.toDOMNode(h,b)},h.fullScreen=function(){if(!h.isFullScreen){var b=null,E=N.getToolbar(h);E&&(b=E.$box);var w=N.getTextarea(h).$box.parent();if(b&&b.parent()[0]!==w[0])throw new Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
\u4E0D\u80FD\u8BBE\u7F6E\u5168\u5C4F\uFF0C\u56E0\u4E3A toolbar DOM \u7236\u8282\u70B9\u548C textarea DOM \u7236\u8282\u70B9\u4E0D\u4E00\u81F4`);w.addClass("w-e-full-screen-container");var S=w.css("z-index");w.attr("data-z-index",S.toString()),h.isFullScreen=!0,h.emit("fullScreen")}},h.unFullScreen=function(){if(h.isFullScreen){var b=N.getTextarea(h).$box.parent();setTimeout(function(){b.removeClass("w-e-full-screen-container"),h.isFullScreen=!1,h.emit("unFullScreen")},200)}},h.getEditableContainer=function(){return N.getTextarea(h).$textAreaContainer[0]},h}()))))));if(n&&function(m,h){return cR(m,"data-w-e-textarea",h)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(m){m===void 0&&(m={});var h=uT(E7),b={},E=m.MENU_CONF,w=E===void 0?{}:E;return h2(h,function(S,x){b[x]=Ci(Ci({},S),w[x]||{})}),delete m.MENU_CONF,Ci({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:b,hoverbarKeys:{},customAlert:function(S,x){window.alert(x+`:
`+S)}},m)}(o);s7.set(l,c);var f=c.hoverbarKeys,p=f===void 0?{}:f;if(s.forEach(function(m){l=m(l)}),a!=null&&(l.children=fR(l,a)),i&&i.length&&(l.children=i),l.children.length===0&&(l.children=[{type:"paragraph",children:[{text:""}]}]),N.normalizeContent(l),n){var d=new H$(n);ew.set(l,d),tw.set(d,l),d.changeViewState(),xi(function(){var m=d.$scroll;m!=null&&m.height()<300&&console.warn(`\u7F16\u8F91\u533A\u57DF\u9AD8\u5EA6 < 300px \u8FD9\u53EF\u80FD\u4F1A\u5BFC\u81F4 modal hoverbar \u5B9A\u4F4D\u5F02\u5E38
Textarea height < 300px . This may be cause modal and hoverbar position error`,m)});var y=void 0;Object.keys(p).length>0&&(y=new Q$,rw.set(y,l),Kv.set(l,y)),l.on("change",function(){l.hidePanelOrModal()}),l.on("scroll",function(){l.hidePanelOrModal()})}else l.children.forEach(function(m,h){return IR(m,h,l,l)});var g=c.onCreated,v=c.onDestroyed;return g&&l.on("created",function(){return g(l)}),v&&l.on("destroyed",function(){return v(l)}),xi(function(){return l.emit("created")}),l}var $$=Bv("splice"),eee=Ne.TypeError,tee=Math.max,nee=Math.min;ar({target:"Array",proto:!0,forced:!$$},{splice:function(e,t){var n,r,o,i,a,u,s=Nu(this),l=hl(s),c=Wc(e,l),f=arguments.length;if(f===0?n=r=0:f===1?(n=0,r=l-c):(n=f-2,r=nee(tee(dp(t),0),l-c)),l+n-r>9007199254740991)throw eee("Maximum allowed length exceeded");for(o=aP(s,r),i=0;i<r;i++)(a=c+i)in s&&bp(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var ree=function(){function e(t,n){var r=this;this.$toolbar=k('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=aT(function(){r.toolbarItems.forEach(function(a){a.changeMenuState()})},200),this.config=n;var o=k(t);if(o.length===0)throw new Error("Cannot find toolbar DOM by selector '"+t+"'");this.$box=o;var i=this.$toolbar;i.on("mousedown",function(a){return a.preventDefault()},{passive:!1}),o.append(i),xi(function(){r.registerItems(),r.changeToolbarState(),r.getEditorInstance().on("change",r.changeToolbarState)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var t=this,n="",r=this.$toolbar,o=this.config,i=o.toolbarKeys,a=i===void 0?[]:i,u=o.insertKeys,s=u===void 0?{index:0,keys:[]}:u,l=o.excludeKeys,c=l===void 0?[]:l,f=uT(a);s.keys.length>0&&(typeof s.keys=="string"&&(s.keys=[s.keys]),s.keys.forEach(function(y,g){f.splice(s.index+g,0,y)}));var p=f.filter(function(y){if(typeof y=="string"){if(c.includes(y))return!1}else if(c.includes(y.key))return!1;return!0}),d=p.length;p.forEach(function(y,g){if(y==="|"){if(g===0)return;if(g+1===d)return;if(n==="|")return;var v=BR();return r.append(v),void(n=y)}if(typeof y=="string")return t.registerSingleItem(y,t),void(n=y);t.registerGroup(y),n="group"})},e.prototype.registerGroup=function(t){var n=this,r=this.$toolbar,o=function(l){return new kR(l)}(t),i=t.menuKeys,a=i===void 0?[]:i,u=this.config.excludeKeys,s=u===void 0?[]:u;a.forEach(function(l){s.includes(l)||n.registerSingleItem(l,o)}),r.append(o.$elem)},e.prototype.registerSingleItem=function(t,n){var r=this.getEditorInstance(),o=n instanceof kR,i=this.menus,a=i[t];if(a==null){var u=Rp[t];if(u==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof u!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");a=u(),i[t]=a}else console.warn("Duplicated toolbar menu key '"+t+`'
\u91CD\u590D\u6CE8\u518C\u4E86\u83DC\u5355\u680F menu '`+t+"'");var s=MR(t,a,o);this.toolbarItems.push(s),ow.set(s,r),o?n.appendBarItem(s):n.$toolbar.append(s.$elem)},e.prototype.getEditorInstance=function(){var t=nw.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}(),oee=zc.EXISTS,iee=Hi.f,UR=Function.prototype,aee=pt(UR.toString),zR=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,uee=pt(zR.exec);function HR(e){var t=e.server,n=t===void 0?"":t,r=e.fieldName,o=r===void 0?"":r,i=e.maxFileSize,a=i===void 0?10485760:i,u=e.maxNumberOfFiles,s=u===void 0?100:u,l=e.meta,c=l===void 0?{}:l,f=e.metaWithUrl,p=f!==void 0&&f,d=e.headers,y=d===void 0?{}:d,g=e.withCredentials,v=g!==void 0&&g,m=e.timeout,h=m===void 0?1e4:m,b=e.onBeforeUpload,E=b===void 0?function(De){return De}:b,w=e.onSuccess,S=w===void 0?function(De,me){}:w,x=e.onError,B=x===void 0?function(De,me,ye){console.error(De.name+" upload error",me,ye)}:x,U=e.onProgress,oe=U===void 0?function(De){}:U;if(!n)throw new Error(`Cannot get upload server address
\u6CA1\u6709\u914D\u7F6E\u4E0A\u4F20\u5730\u5740`);if(!o)throw new Error(`Cannot get fieldName
\u6CA1\u6709\u914D\u7F6E fieldName`);var fe=n;p&&(fe=function(De,me){var ye=fn(De.split("#"),2),we=ye[0],Ve=ye[1],st=[];h2(me,function(rt,L){st.push(L+"="+rt)});var at=st.join("&");return we=we.indexOf("?")>0?we+"&"+at:we+"?"+at,Ve?we+"#"+Ve:we}(fe,c));var ie=new ep({onBeforeUpload:E,restrictions:{maxFileSize:a,maxNumberOfFiles:s},meta:c}).use(BJ,{endpoint:fe,headers:y,formData:!0,fieldName:o,bundle:!0,withCredentials:v,timeout:h});return ie.on("upload-success",function(De,me){var ye=me.body,we=ye===void 0?{}:ye;try{S(De,we)}catch(Ve){console.error("wangEditor upload file - onSuccess error",Ve)}ie.removeFile(De.id)}),ie.on("progress",function(De){De<1||oe(De)}),ie.on("upload-error",function(De,me,ye){try{B(De,me,ye)}catch(we){console.error("wangEditor upload file - onError error",we)}ie.removeFile(De.id)}),ie.on("restriction-failed",function(De,me){try{B(De,me)}catch(ye){console.error("wangEditor upload file - onError error",ye)}ie.removeFile(De.id)}),ie}function Iu(e){return Iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Iu(e)}function see(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.forEach(function(o){see(e,o,n[o])})}return e}function Ja(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Za(e,t,n){return t&&VR(e.prototype,t),n&&VR(e,n),e}function wl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(e,t){if(t&&(Iu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wl(e)}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},cf(e)}function ix(e,t){return ix=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},ix(e,t)}function am(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ix(e,t)}ro&&!oee&&iee(UR,"name",{configurable:!0,get:function(){try{return uee(zR,aee(this))[1]}catch(e){return""}}});var lee={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Qa=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ja(this,e),this.init(t,n)}return Za(e,[{key:"init",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||lee,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,n,r,o){return o&&!this.debug?null:(typeof t[0]=="string"&&(t[0]="".concat(r).concat(this.prefix," ").concat(t[0])),this.logger[n](t))}},{key:"create",value:function(t){return new e(this.logger,Lr({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Uu=function(){function e(){Ja(this,e),this.observers={}}return Za(e,[{key:"on",value:function(t,n){var r=this;return t.split(" ").forEach(function(o){r.observers[o]=r.observers[o]||[],r.observers[o].push(n)}),this}},{key:"off",value:function(t,n){this.observers[t]&&(n?this.observers[t]=this.observers[t].filter(function(r){return r!==n}):delete this.observers[t])}},{key:"emit",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(this.observers[t]){var i=[].concat(this.observers[t]);i.forEach(function(u){u.apply(void 0,r)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(u){u.apply(u,[t].concat(r))})}}}]),e}();function Hp(){var e,t,n=new Promise(function(r,o){e=r,t=o});return n.resolve=e,n.reject=t,n}function WR(e){return e==null?"":""+e}function cee(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function ax(e,t,n){function r(u){return u&&u.indexOf("###")>-1?u.replace(/###/g,"."):u}function o(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function GR(e,t,n){var r=ax(e,t,Object);r.obj[r.k]=n}function um(e,t){var n=ax(e,t),r=n.obj,o=n.k;if(r)return r[o]}function KR(e,t,n){var r=um(e,n);return r!==void 0?r:um(t,n)}function XR(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):XR(e[r],t[r],n):e[r]=t[r]);return e}function ff(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var fee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function dee(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return fee[t]}):e}var sm=typeof window!="undefined"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function YR(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if(typeof o[r[i]]=="string"&&i+1<r.length)return;if(o[r[i]]===void 0){for(var a=2,u=r.slice(i,i+a).join(n),s=o[u];s===void 0&&r.length>i+a;)a++,s=o[u=r.slice(i,i+a).join(n)];if(s===void 0)return;if(typeof s=="string")return s;if(u&&typeof s[u]=="string")return s[u];var l=r.slice(i+a).join(n);return l?YR(s,l,n):void 0}o=o[r[i]]}return o}}var pee=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Ja(this,t),r=zp(this,cf(t).call(this)),sm&&Uu.call(wl(r)),r.data=n||{},r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return am(t,Uu),Za(t,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var r=this.options.ns.indexOf(n);r>-1&&this.options.ns.splice(r,1)}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,s=[n,r];o&&typeof o!="string"&&(s=s.concat(o)),o&&typeof o=="string"&&(s=s.concat(a?o.split(a):o)),n.indexOf(".")>-1&&(s=n.split("."));var l=um(this.data,s);return l||!u||typeof o!="string"?l:YR(this.data&&this.data[n]&&this.data[n][r],o,a)}},{key:"addResource",value:function(n,r,o,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var s=[n,r];o&&(s=s.concat(u?o.split(u):o)),n.indexOf(".")>-1&&(i=r,r=(s=n.split("."))[1]),this.addNamespaces(r),GR(this.data,s,i),a.silent||this.emit("added",n,r,o,i)}},{key:"addResources",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in o)typeof o[a]!="string"&&Object.prototype.toString.apply(o[a])!=="[object Array]"||this.addResource(n,r,a,o[a],{silent:!0});i.silent||this.emit("added",n,r,o)}},{key:"addResourceBundle",value:function(n,r,o,i,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},s=[n,r];n.indexOf(".")>-1&&(i=o,o=r,r=(s=n.split("."))[1]),this.addNamespaces(r);var l=um(this.data,s)||{};i?XR(l,o,a):l=Lr({},l,o),GR(this.data,s,l),u.silent||this.emit("added",n,r,o)}},{key:"removeResourceBundle",value:function(n,r){this.hasResourceBundle(n,r)&&delete this.data[n][r],this.removeNamespaces(r),this.emit("removed",n,r)}},{key:"hasResourceBundle",value:function(n,r){return this.getResource(n,r)!==void 0}},{key:"getResourceBundle",value:function(n,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Lr({},{},this.getResource(n,r)):this.getResource(n,r)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),t}(),JR={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(a){i.processors[a]&&(t=i.processors[a].process(t,n,r,o))}),t}},ZR={},QR=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ja(this,t),r=zp(this,cf(t).call(this)),sm&&Uu.call(wl(r)),cee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,wl(r)),r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=Qa.create("translator"),r}return am(t,Uu),Za(t,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var o=this.resolve(n,r);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(n,r){var o=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS;if(o&&n.indexOf(o)>-1){var u=n.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:n,namespaces:a};var s=n.split(o);(o!==i||o===i&&this.options.ns.indexOf(s[0])>-1)&&(a=s.shift()),n=s.join(i)}return typeof a=="string"&&(a=[a]),{key:n,namespaces:a}}},{key:"translate",value:function(n,r,o){var i=this;if(Iu(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,u=this.extractFromKey(n[n.length-1],r),s=u.key,l=u.namespaces,c=l[l.length-1],f=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(p){var d=r.nsSeparator||this.options.nsSeparator;return c+d+s}return s}var y=this.resolve(n,r),g=y&&y.res,v=y&&y.usedKey||s,m=y&&y.exactUsedKey||s,h=Object.prototype.toString.apply(g),b=["[object Number]","[object Function]","[object RegExp]"],E=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,S=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(w&&g&&S&&b.indexOf(h)<0&&(typeof E!="string"||h!=="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,Lr({},r,{ns:l})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var x=h==="[object Array]",B=x?[]:{},U=x?m:v;for(var oe in g)if(Object.prototype.hasOwnProperty.call(g,oe)){var fe="".concat(U).concat(a).concat(oe);B[oe]=this.translate(fe,Lr({},r,{joinArrays:!1,ns:l})),B[oe]===fe&&(B[oe]=g[oe])}g=B}}else if(w&&typeof E=="string"&&h==="[object Array]")(g=g.join(E))&&(g=this.extendTranslation(g,n,r,o));else{var ie=!1,De=!1,me=r.count!==void 0&&typeof r.count!="string",ye=t.hasDefaultValue(r),we=me?this.pluralResolver.getSuffix(f,r.count):"",Ve=r["defaultValue".concat(we)]||r.defaultValue;!this.isValidLookup(g)&&ye&&(ie=!0,g=Ve),this.isValidLookup(g)||(De=!0,g=s);var st=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,at=st&&De?void 0:g,rt=ye&&Ve!==g&&this.options.updateMissing;if(De||ie||rt){if(this.logger.log(rt?"updateKey":"missingKey",f,c,s,rt?Ve:g),a){var L=this.resolve(s,Lr({},r,{keySeparator:!1}));L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var R=[],G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&G&&G[0])for(var le=0;le<G.length;le++)R.push(G[le]);else this.options.saveMissingTo==="all"?R=this.languageUtils.toResolveHierarchy(r.lng||this.language):R.push(r.lng||this.language);var Re=function(he,Qe,Ct){i.options.missingKeyHandler?i.options.missingKeyHandler(he,c,Qe,rt?Ct:at,rt,r):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(he,c,Qe,rt?Ct:at,rt,r),i.emit("missingKey",he,c,Qe,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&me?R.forEach(function(he){i.pluralResolver.getSuffixes(he).forEach(function(Qe){Re([he],s+Qe,r["defaultValue".concat(Qe)]||Ve)})}):Re(R,s,Ve))}g=this.extendTranslation(g,n,r,y,o),De&&g===s&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(s)),(De||ie)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(n,r,o,i,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,o,i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(Lr({},o,{interpolation:Lr({},this.options.interpolation,o.interpolation)}));var s,l=o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(l){var c=n.match(this.interpolator.nestingRegexp);s=c&&c.length}var f=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(f=Lr({},this.options.interpolation.defaultVariables,f)),n=this.interpolator.interpolate(n,f,o.lng||this.language,o),l){var p=n.match(this.interpolator.nestingRegexp);s<(p&&p.length)&&(o.nest=!1)}o.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var g=arguments.length,v=new Array(g),m=0;m<g;m++)v[m]=arguments[m];return a&&a[0]===v[0]&&!o.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(v[0]," in key: ").concat(r[0])),null):u.translate.apply(u,v.concat([r]))},o)),o.interpolation&&this.interpolator.reset()}var d=o.postProcess||this.options.postProcess,y=typeof d=="string"?[d]:d;return n!=null&&y&&y.length&&o.applyPostProcessor!==!1&&(n=JR.handle(y,n,r,this.options&&this.options.postProcessPassResolved?Lr({i18nResolved:i},o):o,this)),n}},{key:"resolve",value:function(n){var r,o,i,a,u,s=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(c){if(!s.isValidLookup(r)){var f=s.extractFromKey(c,l),p=f.key;o=p;var d=f.namespaces;s.options.fallbackNS&&(d=d.concat(s.options.fallbackNS));var y=l.count!==void 0&&typeof l.count!="string",g=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",v=l.lngs?l.lngs:s.languageUtils.toResolveHierarchy(l.lng||s.language,l.fallbackLng);d.forEach(function(m){s.isValidLookup(r)||(u=m,!ZR["".concat(v[0],"-").concat(m)]&&s.utils&&s.utils.hasLoadedNamespace&&!s.utils.hasLoadedNamespace(u)&&(ZR["".concat(v[0],"-").concat(m)]=!0,s.logger.warn('key "'.concat(o,'" for languages "').concat(v.join(", "),`" won't get resolved as namespace "`).concat(u,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(h){if(!s.isValidLookup(r)){a=h;var b,E,w=p,S=[w];for(s.i18nFormat&&s.i18nFormat.addLookupKeys?s.i18nFormat.addLookupKeys(S,p,h,m,l):(y&&(b=s.pluralResolver.getSuffix(h,l.count)),y&&g&&S.push(w+b),g&&S.push(w+="".concat(s.options.contextSeparator).concat(l.context)),y&&S.push(w+=b));E=S.pop();)s.isValidLookup(r)||(i=E,r=s.getResource(h,m,E,l))}}))})}}),{res:r,usedKey:o,exactUsedKey:i,usedLng:a,usedNS:u}}},{key:"isValidLookup",value:function(n){return!(n===void 0||!this.options.returnNull&&n===null||!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,o,i):this.resourceStore.getResource(n,r,o,i)}}],[{key:"hasDefaultValue",value:function(n){var r="defaultValue";for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&r===o.substring(0,r.length)&&n[o]!==void 0)return!0;return!1}}]),t}();function ux(e){return e.charAt(0).toUpperCase()+e.slice(1)}var hee=function(){function e(t){Ja(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Qa.create("languageUtils")}return Za(e,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var n=t.split("-");return n.length===2?null:(n.pop(),n[n.length-1].toLowerCase()==="x"?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var n=t.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(t){if(typeof t=="string"&&t.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],r=t.split("-");return this.options.lowerCaseLng?r=r.map(function(o){return o.toLowerCase()}):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=ux(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=ux(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=ux(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isWhitelisted",value:function(t){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(t)}},{key:"isSupportedCode",value:function(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var n,r=this;return t?(t.forEach(function(o){if(!n){var i=r.formatLanguageCode(o);r.options.supportedLngs&&!r.isSupportedCode(i)||(n=i)}}),!n&&this.options.supportedLngs&&t.forEach(function(o){if(!n){var i=r.getLanguagePartFromCode(o);if(r.isSupportedCode(i))return n=i;n=r.options.supportedLngs.find(function(a){if(a.indexOf(i)===0)return a})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];var r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}},{key:"toResolveHierarchy",value:function(t,n){var r=this,o=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],a=function(u){u&&(r.isSupportedCode(u)?i.push(u):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof t=="string"&&t.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),o.forEach(function(u){i.indexOf(u)<0&&a(r.formatLanguageCode(u))}),i}}]),e}(),gee=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],vee={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e!==0?1:2)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function mee(){var e={};return gee.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:vee[t.fc]}})}),e}var yee=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ja(this,e),this.languageUtils=t,this.options=n,this.logger=Qa.create("pluralResolver"),this.rules=mee()}return Za(e,[{key:"addRule",value:function(t,n){this.rules[t]=n}},{key:"getRule",value:function(t){return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var n=this.getRule(t);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,n){return this.getSuffixes(t).map(function(r){return n+r})}},{key:"getSuffixes",value:function(t){var n=this,r=this.getRule(t);return r?r.numbers.map(function(o){return n.getSuffix(t,o)}):[]}},{key:"getSuffix",value:function(t,n){var r=this,o=this.getRule(t);if(o){var i=o.noAbs?o.plurals(n):o.plurals(Math.abs(n)),a=o.numbers[i];this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var u=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1?u():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),e}(),bee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ja(this,e),this.logger=Qa.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return Za(e,[{key:"init",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escape=n.escape!==void 0?n.escape:dee,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?ff(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?ff(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?ff(n.nestingPrefix):n.nestingPrefixEscaped||ff("$t("),this.nestingSuffix=n.nestingSuffix?ff(n.nestingSuffix):n.nestingSuffixEscaped||ff(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(t,n,r,o){var i,a,u,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}var f=function(g){if(g.indexOf(s.formatSeparator)<0){var v=KR(n,l,g);return s.alwaysFormat?s.format(v,void 0,r,Lr({},o,n,{interpolationkey:g})):v}var m=g.split(s.formatSeparator),h=m.shift().trim(),b=m.join(s.formatSeparator).trim();return s.format(KR(n,l,h),b,r,Lr({},o,n,{interpolationkey:h}))};this.resetRegExp();var p=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,d=o&&o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,y=[{regex:this.regexpUnescape,safeValue:function(g){return c(g)}},{regex:this.regexp,safeValue:function(g){return s.escapeValue?c(s.escape(g)):c(g)}}];return y.forEach(function(g){for(u=0;i=g.regex.exec(t);){if((a=f(i[1].trim()))===void 0)if(typeof p=="function"){var v=p(t,i,o);a=typeof v=="string"?v:""}else{if(d){a=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(t)),a=""}else typeof a=="string"||s.useRawValueToEscape||(a=WR(a));var m=g.safeValue(a);if(t=t.replace(i[0],m),d?(g.regex.lastIndex+=m.length,g.regex.lastIndex-=i[0].length):g.regex.lastIndex=0,++u>=s.maxReplaces)break}}),t}},{key:"nest",value:function(t,n){var r,o,i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=Lr({},a);function s(p,d){var y=this.nestingOptionsSeparator;if(p.indexOf(y)<0)return p;var g=p.split(new RegExp("".concat(y,"[ ]*{"))),v="{".concat(g[1]);p=g[0],v=(v=this.interpolate(v,u)).replace(/'/g,'"');try{u=JSON.parse(v),d&&(u=Lr({},d,u))}catch(m){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),m),"".concat(p).concat(y).concat(v)}return delete u.defaultValue,p}for(u.applyPostProcessor=!1,delete u.defaultValue;r=this.nestingRegexp.exec(t);){var l=[],c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var f=r[1].split(this.formatSeparator).map(function(p){return p.trim()});r[1]=f.shift(),l=f,c=!0}if((o=n(s.call(this,r[1].trim(),u),u))&&r[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=WR(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),o=""),c&&(o=l.reduce(function(p,d){return i.format(p,d,a.lng,Lr({},a,{interpolationkey:r[1].trim()}))},o.trim())),t=t.replace(r[0],o),this.regexp.lastIndex=0}return t}}]),e}(),Eee=function(e){function t(n,r,o){var i,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Ja(this,t),i=zp(this,cf(t).call(this)),sm&&Uu.call(wl(i)),i.backend=n,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=Qa.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return am(t,Uu),Za(t,[{key:"queueLoad",value:function(n,r,o,i){var a=this,u=[],s=[],l=[],c=[];return n.forEach(function(f){var p=!0;r.forEach(function(d){var y="".concat(f,"|").concat(d);!o.reload&&a.store.hasResourceBundle(f,d)?a.state[y]=2:a.state[y]<0||(a.state[y]===1?s.indexOf(y)<0&&s.push(y):(a.state[y]=1,p=!1,s.indexOf(y)<0&&s.push(y),u.indexOf(y)<0&&u.push(y),c.indexOf(d)<0&&c.push(d)))}),p||l.push(f)}),(u.length||s.length)&&this.queue.push({pending:s,loaded:{},errors:[],callback:i}),{toLoad:u,pending:s,toLoadLanguages:l,toLoadNamespaces:c}}},{key:"loaded",value:function(n,r,o){var i=n.split("|"),a=i[0],u=i[1];r&&this.emit("failedLoading",a,u,r),o&&this.store.addResourceBundle(a,u,o),this.state[n]=r?-1:2;var s={};this.queue.forEach(function(l){!function(c,f,p,d){var y=ax(c,f,Object),g=y.obj,v=y.k;g[v]=g[v]||[],g[v].push(p)}(l.loaded,[a],u),function(c,f){for(var p=c.indexOf(f);p!==-1;)c.splice(p,1),p=c.indexOf(f)}(l.pending,n),r&&l.errors.push(r),l.pending.length!==0||l.done||(Object.keys(l.loaded).forEach(function(c){s[c]||(s[c]=[]),l.loaded[c].length&&l.loaded[c].forEach(function(f){s[c].indexOf(f)<0&&s[c].push(f)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(n,r,o){var i=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,s=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[o](n,r,function(l,c){l&&c&&a<5?setTimeout(function(){i.read.call(i,n,r,o,a+1,2*u,s)},u):s(l,c)}):s(null,{})}},{key:"prepareLoading",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var u=this.queueLoad(n,r,i,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(s){o.loadOne(s)})}},{key:"load",value:function(n,r,o){this.prepareLoading(n,r,{},o)}},{key:"reload",value:function(n,r,o){this.prepareLoading(n,r,{reload:!0},o)}},{key:"loadOne",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=n.split("|"),a=i[0],u=i[1];this.read(a,u,"read",void 0,void 0,function(s,l){s&&r.logger.warn("".concat(o,"loading namespace ").concat(u," for language ").concat(a," failed"),s),!s&&l&&r.logger.log("".concat(o,"loaded namespace ").concat(u," for language ").concat(a),l),r.loaded(n,s,l)})}},{key:"saveMissing",value:function(n,r,o,i,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)?this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):o!=null&&o!==""&&(this.backend&&this.backend.create&&this.backend.create(n,r,o,i,null,Lr({},u,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,o,i))}}]),t}();function Cee(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(Iu(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),Iu(e[2])==="object"||Iu(e[3])==="object"){var n=e[3]||e[2];Object.keys(n).forEach(function(r){t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function qR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function lm(){}var wee=function(e){function t(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(Ja(this,t),n=zp(this,cf(t).call(this)),sm&&Uu.call(wl(n)),n.options=qR(r),n.services={},n.logger=Qa,n.modules={external:[]},o&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,o),zp(n,wl(n));setTimeout(function(){n.init(r,o)},0)}return n}return am(t,Uu),Za(t,[{key:"init",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;function i(d){return d?typeof d=="function"?new d:d:null}if(typeof r=="function"&&(o=r,r={}),r.whitelist&&!r.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),r.nonExplicitWhitelist&&!r.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Lr({},Cee(),this.options,qR(r)),this.format=this.options.interpolation.format,o||(o=lm),!this.options.isClone){this.modules.logger?Qa.init(i(this.modules.logger),this.options):Qa.init(null,this.options);var a=new hee(this.options);this.store=new pee(this.options.resources,this.options);var u=this.services;u.logger=Qa,u.resourceStore=this.store,u.languageUtils=a,u.pluralResolver=new yee(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u.interpolator=new bee(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Eee(i(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var y=arguments.length,g=new Array(y>1?y-1:0),v=1;v<y;v++)g[v-1]=arguments[v];n.emit.apply(n,[d].concat(g))}),this.modules.languageDetector&&(u.languageDetector=i(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=i(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new QR(this.services,this.options),this.translator.on("*",function(d){for(var y=arguments.length,g=new Array(y>1?y-1:0),v=1;v<y;v++)g[v-1]=arguments[v];n.emit.apply(n,[d].concat(g))}),this.modules.external.forEach(function(d){d.init&&d.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&s[0]!=="dev"&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var l=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];l.forEach(function(d){n[d]=function(){var y;return(y=n.store)[d].apply(y,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(d){n[d]=function(){var y;return(y=n.store)[d].apply(y,arguments),n}});var f=Hp(),p=function(){var d=function(y,g){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),f.resolve(g),o(y,g)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return d(null,n.t.bind(n));n.changeLanguage(n.options.lng,d)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),f}},{key:"loadResources",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lm,i=o,a=typeof n=="string"?n:this.language;if(typeof n=="function"&&(i=n),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return i();var u=[],s=function(c){c&&r.services.languageUtils.toResolveHierarchy(c).forEach(function(f){u.indexOf(f)<0&&u.push(f)})};if(a)s(a);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(c){return s(c)})}this.options.preload&&this.options.preload.forEach(function(c){return s(c)}),this.services.backendConnector.load(u,this.options.ns,i)}else i(null)}},{key:"reloadResources",value:function(n,r,o){var i=Hp();return n||(n=this.languages),r||(r=this.options.ns),o||(o=lm),this.services.backendConnector.reload(n,r,function(a){i.resolve(),o(a)}),i}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&JR.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var o=this;this.isLanguageChangingTo=n;var i=Hp();this.emit("languageChanging",n);var a=function(u){n||u||!o.services.languageDetector||(u=[]);var s=typeof u=="string"?u:o.services.languageUtils.getBestMatchFromCodes(u);s&&(o.language||(o.language=s,o.languages=o.services.languageUtils.toResolveHierarchy(s)),o.translator.language||o.translator.changeLanguage(s),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage(s)),o.loadResources(s,function(l){!function(c,f){f?(o.language=f,o.languages=o.services.languageUtils.toResolveHierarchy(f),o.translator.changeLanguage(f),o.isLanguageChangingTo=void 0,o.emit("languageChanged",f),o.logger.log("languageChanged",f)):o.isLanguageChangingTo=void 0,i.resolve(function(){return o.t.apply(o,arguments)}),r&&r(c,function(){return o.t.apply(o,arguments)})}(l,s)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(n):a(this.services.languageDetector.detect()),i}},{key:"getFixedT",value:function(n,r,o){var i=this,a=function u(s,l){var c;if(Iu(l)!=="object"){for(var f=arguments.length,p=new Array(f>2?f-2:0),d=2;d<f;d++)p[d-2]=arguments[d];c=i.options.overloadTranslationOptionHandler([s,l].concat(p))}else c=Lr({},l);c.lng=c.lng||u.lng,c.lngs=c.lngs||u.lngs,c.ns=c.ns||u.ns;var y=i.options.keySeparator||".",g=o?"".concat(o).concat(y).concat(s):s;return i.t(g,c)};return typeof n=="string"?a.lng=n:a.lngs=n,a.ns=r,a.keyPrefix=o,a}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=this.languages[0],a=!!this.options&&this.options.fallbackLng,u=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;var s=function(c,f){var p=r.services.backendConnector.state["".concat(c,"|").concat(f)];return p===-1||p===2};if(o.precheck){var l=o.precheck(this,s);if(l!==void 0)return l}return!!this.hasResourceBundle(i,n)||!this.services.backendConnector.backend||!(!s(i,n)||a&&!s(u,n))}},{key:"loadNamespaces",value:function(n,r){var o=this,i=Hp();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(a){o.options.ns.indexOf(a)<0&&o.options.ns.push(a)}),this.loadResources(function(a){i.resolve(),r&&r(a)}),i):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var o=Hp();typeof n=="string"&&(n=[n]);var i=this.options.preload||[],a=n.filter(function(u){return i.indexOf(u)<0});return a.length?(this.options.preload=i.concat(a),this.loadResources(function(u){o.resolve(),r&&r(u)}),o):(r&&r(),Promise.resolve())}},{key:"dir",value:function(n){return n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),n?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new t(n,r)}},{key:"cloneInstance",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lm,i=Lr({},this.options,r,{isClone:!0}),a=new t(i),u=["store","services","language"];return u.forEach(function(s){a[s]=n[s]}),a.services=Lr({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new QR(a.services,a.options),a.translator.on("*",function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),f=1;f<l;f++)c[f-1]=arguments[f];a.emit.apply(a,[s].concat(c))}),a.init(i,o),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),df=new wee;function Wo(e,t){df.addResourceBundle(e,"translation",t,!0,!0)}function Hye(e){df.changeLanguage(e)}function Vye(e){return df.getResourceBundle(e,"translation")}df.init({lng:"zh-CN",resources:{}});var Me=df.t.bind(df);Wo("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),Wo("zh-CN",{editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}});var xee=tE?{}.toString:function(){return"[object "+S0(this)+"]"};tE||yu(Object.prototype,"toString",xee,{unsafe:!0});var $R=Array.isArray||function(e){return Hs(e)=="Array"},e9=function(){},Aee=[],t9=Ad("Reflect","construct"),sx=/^\s*(?:class|function)\b/,See=Ln(sx.exec),Dee=!sx.exec(e9),Vp=function(e){if(!Rr(e))return!1;try{return t9(e9,Aee,e),!0}catch(t){return!1}},Oee=!t9||to(function(){var e;return Vp(Vp.call)||!Vp(Object)||!Vp(function(){e=!0})||e})?function(e){if(!Rr(e))return!1;switch(S0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Dee||!!See(sx,Xb(e))}:Vp,_ee=Bo("species"),n9=Bt.Array,Tee=function(e,t){return new(function(n){var r;return $R(n)&&(r=n.constructor,(Oee(r)&&(r===n9||$R(r.prototype))||Mi(r)&&(r=r[_ee])===null)&&(r=void 0)),r===void 0?n9:r}(e))(t===0?0:t)},r9=Ln([].push),zu=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=Hb(s),g=t3(y),v=B3(l,c),m=w0(g),h=0,b=f||Tee,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:r9(E,p)}else switch(e){case 4:return!1;case 7:r9(E,p)}return i?-1:r||o?o:E}},Pee={forEach:zu(0),map:zu(1),filter:zu(2),some:zu(3),every:zu(4),find:zu(5),findIndex:zu(6),filterReject:zu(7)}.forEach,Ree=function(e,t){var n=[][e];return!!n&&to(function(){n.call(null,t||function(){throw 1},1)})}("forEach"),lx=Ree?[].forEach:function(e){return Pee(this,e,arguments.length>1?arguments[1]:void 0)},o9=function(e){if(e&&e.forEach!==lx)try{Fo(e,"forEach",lx)}catch(t){e.forEach=lx}};for(var cx in j0)j0[cx]&&o9(Bt[cx]&&Bt[cx].prototype);o9(K3),Wo("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),Wo("zh-CN",{common:{ok:"\u786E\u5B9A",delete:"\u5220\u9664",enter:"\u56DE\u8F66"},blockQuote:{title:"\u5F15\u7528"},codeBlock:{title:"\u4EE3\u7801\u5757"},color:{color:"\u6587\u5B57\u989C\u8272",bgColor:"\u80CC\u666F\u8272",default:"\u9ED8\u8BA4\u989C\u8272",clear:"\u6E05\u9664\u80CC\u666F\u8272"},divider:{title:"\u5206\u5272\u7EBF"},emotion:{title:"\u8868\u60C5"},fontSize:{title:"\u5B57\u53F7",default:"\u9ED8\u8BA4\u5B57\u53F7"},fontFamily:{title:"\u5B57\u4F53",default:"\u9ED8\u8BA4\u5B57\u4F53"},fullScreen:{title:"\u5168\u5C4F"},header:{title:"\u6807\u9898",text:"\u6B63\u6587"},image:{netImage:"\u7F51\u7EDC\u56FE\u7247",delete:"\u5220\u9664\u56FE\u7247",edit:"\u7F16\u8F91\u56FE\u7247",viewLink:"\u67E5\u770B\u94FE\u63A5",src:"\u56FE\u7247\u5730\u5740",desc:"\u56FE\u7247\u63CF\u8FF0",link:"\u56FE\u7247\u94FE\u63A5"},indent:{decrease:"\u51CF\u5C11\u7F29\u8FDB",increase:"\u589E\u52A0\u7F29\u8FDB"},justify:{left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D\u5BF9\u9F50",justify:"\u4E24\u7AEF\u5BF9\u9F50"},lineHeight:{title:"\u884C\u9AD8",default:"\u9ED8\u8BA4\u884C\u9AD8"},link:{insert:"\u63D2\u5165\u94FE\u63A5",text:"\u94FE\u63A5\u6587\u672C",url:"\u94FE\u63A5\u5730\u5740",unLink:"\u53D6\u6D88\u94FE\u63A5",edit:"\u4FEE\u6539\u94FE\u63A5",view:"\u67E5\u770B\u94FE\u63A5"},textStyle:{bold:"\u7C97\u4F53",clear:"\u6E05\u9664\u683C\u5F0F",code:"\u884C\u5185\u4EE3\u7801",italic:"\u659C\u4F53",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",through:"\u5220\u9664\u7EBF",underline:"\u4E0B\u5212\u7EBF"},undo:{undo:"\u64A4\u9500",redo:"\u91CD\u505A"},todo:{todo:"\u5F85\u529E"}});var jee={type:"paragraph",renderElem:function(e,t,n){return Pt("p",null,t)}},cm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function fm(e){var t={exports:{}};return e(t,t.exports),t.exports}var Hu,dm,pm=function(e){return e&&e.Math==Math&&e},It=pm(typeof globalThis=="object"&&globalThis)||pm(typeof window=="object"&&window)||pm(typeof self=="object"&&self)||pm(typeof cm=="object"&&cm)||function(){return this}()||Function("return this")(),sr=function(e){try{return!!e()}catch(t){return!0}},Ki=!sr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Wp=Function.prototype.call,mr=Wp.bind?Wp.bind(Wp):function(){return Wp.apply(Wp,arguments)},i9={}.propertyIsEnumerable,a9=Object.getOwnPropertyDescriptor,Nee=a9&&!i9.call({1:2},1)?function(e){var t=a9(this,e);return!!t&&t.enumerable}:i9,u9={f:Nee},fx=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},s9=Function.prototype,dx=s9.bind,px=s9.call,Bee=dx&&dx.bind(px),_t=dx?function(e){return e&&Bee(px,e)}:function(e){return e&&function(){return px.apply(e,arguments)}},Fee=_t({}.toString),kee=_t("".slice),Vu=function(e){return kee(Fee(e),8,-1)},hx=It.Object,Lee=_t("".split),hm=sr(function(){return!hx("z").propertyIsEnumerable(0)})?function(e){return Vu(e)=="String"?Lee(e,""):hx(e)}:hx,Mee=It.TypeError,Si=function(e){if(e==null)throw Mee("Can't call method on "+e);return e},pf=function(e){return hm(Si(e))},ho=function(e){return typeof e=="function"},Di=function(e){return typeof e=="object"?e!==null:ho(e)},Iee=function(e){return ho(e)?e:void 0},Gp=function(e,t){return arguments.length<2?Iee(It[e]):It[e]&&It[e][t]},l9=_t({}.isPrototypeOf),gx=Gp("navigator","userAgent")||"",c9=It.process,f9=It.Deno,d9=c9&&c9.versions||f9&&f9.version,p9=d9&&d9.v8;p9&&(dm=(Hu=p9.split("."))[0]>0&&Hu[0]<4?1:+(Hu[0]+Hu[1])),!dm&&gx&&(!(Hu=gx.match(/Edge\/(\d+)/))||Hu[1]>=74)&&(Hu=gx.match(/Chrome\/(\d+)/))&&(dm=+Hu[1]);var vx=dm,mx=!!Object.getOwnPropertySymbols&&!sr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&vx&&vx<41}),yx=mx&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Uee=It.Object,bx=yx?function(e){return typeof e=="symbol"}:function(e){var t=Gp("Symbol");return ho(t)&&l9(t.prototype,Uee(e))},zee=It.String,h9=function(e){try{return zee(e)}catch(t){return"Object"}},Hee=It.TypeError,g9=function(e){if(ho(e))return e;throw Hee(h9(e)+" is not a function")},gm=function(e,t){var n=e[t];return n==null?void 0:g9(n)},Vee=It.TypeError,Wee=Object.defineProperty,Ex=function(e,t){try{Wee(It,e,{value:t,configurable:!0,writable:!0})}catch(n){It[e]=t}return t},Wu=It["__core-js_shared__"]||Ex("__core-js_shared__",{}),Cx=fm(function(e){(e.exports=function(t,n){return Wu[t]||(Wu[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Gee=It.Object,Kp=function(e){return Gee(Si(e))},Kee=_t({}.hasOwnProperty),Oi=Object.hasOwn||function(e,t){return Kee(Kp(e),t)},Xee=0,Yee=Math.random(),Jee=_t(1 .toString),v9=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Jee(++Xee+Yee,36)},Xp=Cx("wks"),xl=It.Symbol,m9=xl&&xl.for,Zee=yx?xl:xl&&xl.withoutSetter||v9,ii=function(e){if(!Oi(Xp,e)||!mx&&typeof Xp[e]!="string"){var t="Symbol."+e;mx&&Oi(xl,e)?Xp[e]=xl[e]:Xp[e]=yx&&m9?m9(t):Zee(t)}return Xp[e]},Qee=It.TypeError,qee=ii("toPrimitive"),wx=function(e){var t=function(n,r){if(!Di(n)||bx(n))return n;var o,i=gm(n,qee);if(i){if(r===void 0&&(r="default"),o=mr(i,n,r),!Di(o)||bx(o))return o;throw Qee("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&ho(s=a.toString)&&!Di(l=mr(s,a)))return l;if(ho(s=a.valueOf)&&!Di(l=mr(s,a)))return l;if(u!=="string"&&ho(s=a.toString)&&!Di(l=mr(s,a)))return l;throw Vee("Can't convert object to primitive value")}(n,r)}(e,"string");return bx(t)?t:t+""},xx=It.document,$ee=Di(xx)&&Di(xx.createElement),Ax=function(e){return $ee?xx.createElement(e):{}},y9=!Ki&&!sr(function(){return Object.defineProperty(Ax("div"),"a",{get:function(){return 7}}).a!=7}),b9=Object.getOwnPropertyDescriptor,Sx={f:Ki?b9:function(e,t){if(e=pf(e),t=wx(t),y9)try{return b9(e,t)}catch(n){}if(Oi(e,t))return fx(!mr(u9.f,e,t),e[t])}},ete=It.String,tte=It.TypeError,ai=function(e){if(Di(e))return e;throw tte(ete(e)+" is not an object")},nte=It.TypeError,E9=Object.defineProperty,hf={f:Ki?E9:function(e,t,n){if(ai(e),t=wx(t),ai(n),y9)try{return E9(e,t,n)}catch(r){}if("get"in n||"set"in n)throw nte("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},gf=Ki?function(e,t,n){return hf.f(e,t,fx(1,n))}:function(e,t,n){return e[t]=n,e},rte=_t(Function.toString);ho(Wu.inspectSource)||(Wu.inspectSource=function(e){return rte(e)});var vm,Yp,mm,Dx=Wu.inspectSource,C9=It.WeakMap,ote=ho(C9)&&/native code/.test(Dx(C9)),w9=Cx("keys"),x9=function(e){return w9[e]||(w9[e]=v9(e))},Ox={},_x=It.TypeError,ite=It.WeakMap;if(ote||Wu.state){var Al=Wu.state||(Wu.state=new ite),ate=_t(Al.get),A9=_t(Al.has),ute=_t(Al.set);vm=function(e,t){if(A9(Al,e))throw new _x("Object already initialized");return t.facade=e,ute(Al,e,t),t},Yp=function(e){return ate(Al,e)||{}},mm=function(e){return A9(Al,e)}}else{var vf=x9("state");Ox[vf]=!0,vm=function(e,t){if(Oi(e,vf))throw new _x("Object already initialized");return t.facade=e,gf(e,vf,t),t},Yp=function(e){return Oi(e,vf)?e[vf]:{}},mm=function(e){return Oi(e,vf)}}var Tx={set:vm,get:Yp,has:mm,enforce:function(e){return mm(e)?Yp(e):vm(e,{})},getterFor:function(e){return function(t){var n;if(!Di(t)||(n=Yp(t)).type!==e)throw _x("Incompatible receiver, "+e+" required");return n}}},S9=Function.prototype,ste=Ki&&Object.getOwnPropertyDescriptor,Px=Oi(S9,"name"),ym={EXISTS:Px,PROPER:Px&&function(){}.name==="something",CONFIGURABLE:Px&&(!Ki||Ki&&ste(S9,"name").configurable)},Jp=fm(function(e){var t=ym.CONFIGURABLE,n=Tx.get,r=Tx.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;ho(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Oi(u,"name")||t&&u.name!==d)&&gf(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==It?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:gf(i,a,u)):f?i[a]=u:Ex(a,u)})(Function.prototype,"toString",function(){return ho(this)&&n(this).source||Dx(this)})}),lte=Math.ceil,cte=Math.floor,mf=function(e){var t=+e;return t!=t||t===0?0:(t>0?cte:lte)(t)},fte=Math.max,dte=Math.min,Zp=function(e,t){var n=mf(e);return n<0?fte(n+t,0):dte(n,t)},pte=Math.min,Qp=function(e){return e>0?pte(mf(e),9007199254740991):0},bm=function(e){return Qp(e.length)},D9=function(e){return function(t,n,r){var o,i=pf(t),a=bm(i),u=Zp(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},O9={includes:D9(!0),indexOf:D9(!1)},hte=O9.indexOf,_9=_t([].push),T9=function(e,t){var n,r=pf(e),o=0,i=[];for(n in r)!Oi(Ox,n)&&Oi(r,n)&&_9(i,n);for(;t.length>o;)Oi(r,n=t[o++])&&(~hte(i,n)||_9(i,n));return i},Em=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gte=Em.concat("length","prototype"),vte={f:Object.getOwnPropertyNames||function(e){return T9(e,gte)}},P9={f:Object.getOwnPropertySymbols},mte=_t([].concat),yte=Gp("Reflect","ownKeys")||function(e){var t=vte.f(ai(e)),n=P9.f;return n?mte(t,n(e)):t},bte=function(e,t){for(var n=yte(t),r=hf.f,o=Sx.f,i=0;i<n.length;i++){var a=n[i];Oi(e,a)||r(e,a,o(t,a))}},Ete=/#|\.prototype\./,qp=function(e,t){var n=wte[Cte(e)];return n==Ate||n!=xte&&(ho(t)?sr(t):!!t)},Cte=qp.normalize=function(e){return String(e).replace(Ete,".").toLowerCase()},wte=qp.data={},xte=qp.NATIVE="N",Ate=qp.POLYFILL="P",Ste=qp,Dte=Sx.f,Xr=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?It:l?It[u]||Ex(u,{}):(It[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Dte(n,r))&&a.value:n[r],!Ste(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;bte(i,o)}(e.sham||o&&o.sham)&&gf(i,"sham",!0),Jp(n,r,i,e)}},R9=_t(_t.bind),Cm=Array.isArray||function(e){return Vu(e)=="Array"},j9={};j9[ii("toStringTag")]="z";var Rx=String(j9)==="[object z]",Ote=ii("toStringTag"),_te=It.Object,Tte=Vu(function(){return arguments}())=="Arguments",jx=Rx?Vu:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=_te(e),Ote))=="string"?n:Tte?Vu(t):(r=Vu(t))=="Object"&&ho(t.callee)?"Arguments":r},N9=function(){},Pte=[],B9=Gp("Reflect","construct"),Nx=/^\s*(?:class|function)\b/,Rte=_t(Nx.exec),jte=!Nx.exec(N9),$p=function(e){if(!ho(e))return!1;try{return B9(N9,Pte,e),!0}catch(t){return!1}},Bx=!B9||sr(function(){var e;return $p($p.call)||!$p(Object)||!$p(function(){e=!0})||e})?function(e){if(!ho(e))return!1;switch(jx(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return jte||!!Rte(Nx,Dx(e))}:$p,Nte=ii("species"),F9=It.Array,Bte=function(e,t){return new(function(n){var r;return Cm(n)&&(r=n.constructor,(Bx(r)&&(r===F9||Cm(r.prototype))||Di(r)&&(r=r[Nte])===null)&&(r=void 0)),r===void 0?F9:r}(e))(t===0?0:t)},k9=_t([].push),Gu=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=Kp(s),g=hm(y),v=function(w,S){return g9(w),S===void 0?w:R9?R9(w,S):function(){return w.apply(S,arguments)}}(l,c),m=bm(g),h=0,b=f||Bte,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:k9(E,p)}else switch(e){case 4:return!1;case 7:k9(E,p)}return i?-1:r||o?o:E}},wm={forEach:Gu(0),map:Gu(1),filter:Gu(2),some:Gu(3),every:Gu(4),find:Gu(5),findIndex:Gu(6),filterReject:Gu(7)},Fte=ii("species"),Fx=function(e){return vx>=51||!sr(function(){var t=[];return(t.constructor={})[Fte]=function(){return{foo:1}},t[e](Boolean).foo!==1})},kte=wm.filter;Xr({target:"Array",proto:!0,forced:!Fx("filter")},{filter:function(e){return kte(this,e,arguments.length>1?arguments[1]:void 0)}});var Lte=Rx?{}.toString:function(){return"[object "+jx(this)+"]"};Rx||Jp(Object.prototype,"toString",Lte,{unsafe:!0});var xm,Mte=It.String,lr=function(e){if(jx(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Mte(e)},L9=function(){var e=ai(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},kx=It.RegExp,Lx=sr(function(){var e=kx("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Ite=Lx||sr(function(){return!kx("a","y").sticky}),M9={BROKEN_CARET:Lx||sr(function(){var e=kx("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Ite,UNSUPPORTED_Y:Lx},yf=Object.keys||function(e){return T9(e,Em)},Ute=Ki?Object.defineProperties:function(e,t){ai(e);for(var n,r=pf(t),o=yf(t),i=o.length,a=0;i>a;)hf.f(e,n=o[a++],r[n]);return e},zte=Gp("document","documentElement"),I9=x9("IE_PROTO"),Mx=function(){},U9=function(e){return"<script>"+e+"</script>"},z9=function(e){e.write(U9("")),e.close();var t=e.parentWindow.Object;return e=null,t},Am=function(){try{xm=new ActiveXObject("htmlfile")}catch(r){}var e,t;Am=typeof document!="undefined"?document.domain&&xm?z9(xm):((t=Ax("iframe")).style.display="none",zte.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(U9("document.F=Object")),e.close(),e.F):z9(xm);for(var n=Em.length;n--;)delete Am.prototype[Em[n]];return Am()};Ox[I9]=!0;var H9,Ix,V9=Object.create||function(e,t){var n;return e!==null?(Mx.prototype=ai(e),n=new Mx,Mx.prototype=null,n[I9]=e):n=Am(),t===void 0?n:Ute(n,t)},Hte=It.RegExp,Vte=sr(function(){var e=Hte(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),Wte=It.RegExp,Gte=sr(function(){var e=Wte("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Kte=Tx.get,Xte=Cx("native-string-replace",String.prototype.replace),Sm=RegExp.prototype.exec,Ux=Sm,Yte=_t("".charAt),Jte=_t("".indexOf),Zte=_t("".replace),zx=_t("".slice),Hx=(Ix=/b*/g,mr(Sm,H9=/a/,"a"),mr(Sm,Ix,"a"),H9.lastIndex!==0||Ix.lastIndex!==0),W9=M9.BROKEN_CARET,Vx=/()??/.exec("")[1]!==void 0;(Hx||Vx||W9||Vte||Gte)&&(Ux=function(e){var t,n,r,o,i,a,u,s=this,l=Kte(s),c=lr(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=mr(Ux,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=W9&&s.sticky,y=mr(L9,s),g=s.source,v=0,m=c;if(d&&(y=Zte(y,"y",""),Jte(y,"g")===-1&&(y+="g"),m=zx(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Yte(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),Vx&&(n=new RegExp("^"+g+"$(?!\\s)",y)),Hx&&(r=s.lastIndex),o=mr(Sm,d?n:s,m),d?o?(o.input=zx(o.input,v),o[0]=zx(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Hx&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Vx&&o&&o.length>1&&mr(Xte,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=V9(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var eh=Ux;Xr({target:"RegExp",proto:!0,forced:/./.exec!==eh},{exec:eh});var Wx=Function.prototype,G9=Wx.apply,Qte=Wx.bind,K9=Wx.call,X9=typeof Reflect=="object"&&Reflect.apply||(Qte?K9.bind(G9):function(){return K9.apply(G9,arguments)}),qte=ii("species"),Gx=RegExp.prototype,Kx=function(e,t,n,r){var o=ii(e),i=!sr(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!sr(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[qte]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=_t(/./[o]),s=t(o,""[e],function(l,c,f,p,d){var y=_t(l),g=c.exec;return g===eh||g===Gx.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});Jp(String.prototype,e,s[0]),Jp(Gx,o,s[1])}r&&gf(Gx[o],"sham",!0)},$te=_t("".charAt),Y9=_t("".charCodeAt),ene=_t("".slice),J9=function(e){return function(t,n){var r,o,i=lr(Si(t)),a=mf(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Y9(i,a))<55296||r>56319||a+1===u||(o=Y9(i,a+1))<56320||o>57343?e?$te(i,a):r:e?ene(i,a,a+2):o-56320+(r-55296<<10)+65536}},tne=(J9(!1),J9(!0)),Xx=function(e,t,n){return t+(n?tne(e,t).length:1)},nne=Math.floor,Yx=_t("".charAt),rne=_t("".replace),Jx=_t("".slice),one=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ine=/\$([$&'`]|\d{1,2})/g,ane=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=ine;return o!==void 0&&(o=Kp(o),s=one),rne(i,s,function(l,c){var f;switch(Yx(c,0)){case"$":return"$";case"&":return e;case"`":return Jx(t,0,n);case"'":return Jx(t,a);case"<":f=o[Jx(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=nne(p/10);return d===0?l:d<=u?r[d-1]===void 0?Yx(c,1):r[d-1]+Yx(c,1):l}f=r[p-1]}return f===void 0?"":f})},une=It.TypeError,th=function(e,t){var n=e.exec;if(ho(n)){var r=mr(n,e,t);return r!==null&&ai(r),r}if(Vu(e)==="RegExp")return mr(eh,e,t);throw une("RegExp#exec called on incompatible receiver")},Zx=ii("replace"),sne=Math.max,lne=Math.min,cne=_t([].concat),Qx=_t([].push),Z9=_t("".indexOf),Q9=_t("".slice),fne="a".replace(/./,"$0")==="$0",q9=!!/./[Zx]&&/./[Zx]("a","$0")==="";Kx("replace",function(e,t,n){var r=q9?"$":"$0";return[function(o,i){var a=Si(this),u=o==null?void 0:gm(o,Zx);return u?mr(u,o,a,i):mr(t,lr(a),o,i)},function(o,i){var a=ai(this),u=lr(o);if(typeof i=="string"&&Z9(i,r)===-1&&Z9(i,"$<")===-1){var s=n(t,a,u,i);if(s.done)return s.value}var l=ho(i);l||(i=lr(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=th(a,u);if(d===null)break;if(Qx(p,d),!c)break;lr(d[0])===""&&(a.lastIndex=Xx(u,Qp(a.lastIndex),f))}for(var y,g="",v=0,m=0;m<p.length;m++){for(var h=lr((d=p[m])[0]),b=sne(lne(mf(d.index),u.length),0),E=[],w=1;w<d.length;w++)Qx(E,(y=d[w])===void 0?y:String(y));var S=d.groups;if(l){var x=cne([h],E,b,u);S!==void 0&&Qx(x,S);var B=lr(X9(i,void 0,x))}else B=ane(h,u,b,E,S,i);b>=v&&(g+=Q9(u,v,b)+B,v=b+h.length)}return g+Q9(u,v)}]},!!sr(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!fne||q9);var qx=ii("unscopables"),$x=Array.prototype;$x[qx]==null&&hf.f($x,qx,{configurable:!0,value:V9(null)});var $9=function(e){$x[qx][e]=!0},dne=wm.find,ej=!0;"find"in[]&&Array(1).find(function(){ej=!1}),Xr({target:"Array",proto:!0,forced:ej},{find:function(e){return dne(this,e,arguments.length>1?arguments[1]:void 0)}}),$9("find");var pne=ii("match"),tj=function(e){var t;return Di(e)&&((t=e[pne])!==void 0?!!t:Vu(e)=="RegExp")},hne=It.TypeError,gne=ii("species"),nj=function(e,t,n){var r=wx(t);r in e?hf.f(e,r,fx(0,n)):e[r]=n},vne=It.Array,mne=Math.max,rj=function(e,t,n){for(var r=bm(e),o=Zp(t,r),i=Zp(n===void 0?r:n,r),a=vne(mne(i-o,0)),u=0;o<i;o++,u++)nj(a,u,e[o]);return a.length=u,a},bf=M9.UNSUPPORTED_Y,yne=Math.min,oj=[].push,bne=_t(/./.exec),Ef=_t(oj),nh=_t("".slice);Kx("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a=lr(Si(this)),u=i===void 0?4294967295:i>>>0;if(u===0)return[];if(o===void 0)return[a];if(!tj(o))return mr(t,a,o,u);for(var s,l,c,f=[],p=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),d=0,y=new RegExp(o.source,p+"g");(s=mr(eh,y,a))&&!((l=y.lastIndex)>d&&(Ef(f,nh(a,d,s.index)),s.length>1&&s.index<a.length&&X9(oj,f,rj(s,1)),c=s[0].length,d=l,f.length>=u));)y.lastIndex===s.index&&y.lastIndex++;return d===a.length?!c&&bne(y,"")||Ef(f,""):Ef(f,nh(a,d)),f.length>u?rj(f,0,u):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:mr(t,this,o,i)}:t,[function(o,i){var a=Si(this),u=o==null?void 0:gm(o,e);return u?mr(u,o,a,i):mr(r,lr(a),o,i)},function(o,i){var a=ai(this),u=lr(o),s=n(r,a,u,i,r!==t);if(s.done)return s.value;var l=function(E,w){var S,x=ai(E).constructor;return x===void 0||(S=ai(x)[gne])==null?w:function(B){if(Bx(B))return B;throw hne(h9(B)+" is not a constructor")}(S)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(bf?"g":"y"),p=new l(bf?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return th(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g<u.length;){p.lastIndex=bf?0:g;var m,h=th(p,bf?nh(u,g):u);if(h===null||(m=yne(Qp(p.lastIndex+(bf?g:0)),u.length))===y)g=Xx(u,g,c);else{if(Ef(v,nh(u,y,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Ef(v,h[b]),v.length===d)return v;g=y=m}}return Ef(v,nh(u,y)),v}]},!!sr(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),bf);var eA=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,ij=_t("".replace),Dm="["+eA+"]",Ene=RegExp("^"+Dm+Dm+"*"),Cne=RegExp(Dm+Dm+"*$"),tA=function(e){return function(t){var n=lr(Si(t));return 1&e&&(n=ij(n,Ene,"")),2&e&&(n=ij(n,Cne,"")),n}},wne={start:tA(1),end:tA(2),trim:tA(3)},xne=ym.PROPER,Ane=wne.trim;function nA(e){return k("<div>"+e+"</div>").children().filter(function(t){return t.tagName!=="BR"}).length===0}function Cf(e){return e.length===0?"":e[0].outerHTML}function wf(e){return e.length?e[0].tagName.toLowerCase():""}function Xi(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===t&&(n=u[1].trim())}}return n}Xr({target:"String",proto:!0,forced:sr(function(){return!!eA.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||xne&&eA.trim.name!=="trim"})},{trim:function(){return Ane(this)}}),Xr({global:!0},{globalThis:It}),ev&&(k.fn.css=ev),mi&&(k.fn.append=mi),C8&&(k.fn.prepend=C8),Sc&&(k.fn.addClass=Sc),Dc&&(k.fn.removeClass=Dc),Oc&&(k.fn.hasClass=Oc),ca&&(k.fn.on=ca),m8&&(k.fn.off=m8),Du&&(k.fn.focus=Du),vi&&(k.fn.attr=vi),Z0&&(k.fn.removeAttr=Z0),Tc&&(k.fn.hide=Tc),$0&&(k.fn.show=$0),rv&&(k.fn.parents=rv),_c&&(k.fn.dataset=_c),la&&(k.fn.val=la),nv&&(k.fn.text=nv),Su&&(k.fn.html=Su),jc&&(k.fn.children=jc),Nc&&(k.fn.remove=Nc),Rc&&(k.fn.find=Rc),Q0&&(k.fn.width=Q0),q0&&(k.fn.height=q0),b8&&(k.fn.filter=b8),Bc&&(k.fn.empty=Bc);var Sne={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e);return(t=t.filter(function(o){return!!Ye.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},rA=function(e,t){return rA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},rA(e,t);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */};function tr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}rA(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ku=function(){return Ku=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ku.apply(this,arguments)};function Xu(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(l){try{s(r.next(l))}catch(c){i(c)}}function u(l){try{s(r.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function Yu(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function aj(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function pn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function uj(e){var t=pn(C.nodes(e,{match:function(i){return e.children[0]===i},mode:"highest"}),1)[0];if(t==null)return!1;var n=t[0];if(!ft.isElement(n))return!1;if(n.type==="paragraph")return!1;if(Le.string(n)!=="")return!1;var r=n.children,o=r===void 0?[]:r;return!!Ye.isText(o[0])&&(Z.setNodes(e,{type:"paragraph"}),!0)}var Dne={renderElems:[jee],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return t===""?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[Sne],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(o){uj(r)||t(o)},r.deleteForward=function(o){uj(r)||n(o)},r}},One=/"/g,_ne=_t("".replace),rh=function(e,t,n,r){var o=lr(Si(e)),i="<"+t;return n!==""&&(i+=" "+n+'="'+_ne(lr(r),One,"&quot;")+'"'),i+">"+o+"</"+t+">"},oh=function(e){return sr(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function oA(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function Sl(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}Xr({target:"String",proto:!0,forced:oh("bold")},{bold:function(){return rh(this,"b","","")}}),Xr({target:"String",proto:!0,forced:oh("italics")},{italics:function(){return rh(this,"i","","")}}),Xr({target:"String",proto:!0,forced:oh("sub")},{sub:function(){return rh(this,"sub","","")}}),Xr({target:"String",proto:!0,forced:oh("sup")},{sup:function(){return rh(this,"sup","","")}});var sj={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},iA=Ax("span").classList,lj=iA&&iA.constructor&&iA.constructor.prototype,Tne=lj===Object.prototype?void 0:lj,cj=function(e,t){var n=[][e];return!!n&&sr(function(){n.call(null,t||function(){throw 1},1)})},Pne=wm.forEach,aA=cj("forEach")?[].forEach:function(e){return Pne(this,e,arguments.length>1?arguments[1]:void 0)},fj=function(e){if(e&&e.forEach!==aA)try{gf(e,"forEach",aA)}catch(t){e.forEach=aA}};for(var uA in sj)sj[uA]&&fj(It[uA]&&It[uA].prototype);function dj(e,t){return e.selection==null||!!pn(C.nodes(e,{match:function(n){return N.getNodeType(n)==="pre"||!!C.isVoid(e,n)},universal:!0}),1)[0]}function Rne(e,t){Object.keys(t).forEach(function(n){n!=="text"&&C.removeMark(e,n)})}fj(Tne),Xr({target:"Object",stat:!0,forced:sr(function(){yf(1)})},{keys:function(e){return yf(Kp(e))}});var Dl=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(t){var n=this.mark,r=C.marks(t);return r?r[n]:!!pn(C.nodes(t,{match:function(o){return o[n]===!0}}),1)[0]},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return dj(t,this.mark)},e.prototype.exec=function(t,n){var r=this.mark,o=this.marksNeedToRemove;n?t.removeMark(r):(t.addMark(r,!0),o&&o.forEach(function(i){return t.removeMark(i)}))},e}(),jne='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',Nne='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',Bne='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',Fne='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',kne='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',pj='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',hj='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',Lne='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',Mne='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',Ine='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',Une='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',zne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',Hne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',Vne='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Wne='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Gne='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Kne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',Xne='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Yne='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Jne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="bold",n.title=Me("textStyle.bold"),n.iconSvg=jne,n.hotkey="mod+b",n}return tr(t,e),t}(Dl),Zne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="code",n.title=Me("textStyle.code"),n.iconSvg=kne,n.hotkey="mod+e",n}return tr(t,e),t}(Dl),Qne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="italic",n.title=Me("textStyle.italic"),n.iconSvg=Bne,n.hotkey="mod+i",n}return tr(t,e),t}(Dl),qne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="through",n.title=Me("textStyle.through"),n.iconSvg=Fne,n.hotkey="mod+shift+x",n}return tr(t,e),t}(Dl),$ne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="underline",n.title=Me("textStyle.underline"),n.iconSvg=Nne,n.hotkey="mod+u",n}return tr(t,e),t}(Dl),ere=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=Me("textStyle.sub"),n.iconSvg=Yne,n.hotkey="",n}return tr(t,e),t}(Dl),tre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=Me("textStyle.sup"),n.iconSvg=Xne,n.hotkey="",n}return tr(t,e),t}(Dl),nre=function(){function e(){this.title=Me("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return dj(t)},e.prototype.exec=function(t,n){var r,o,i=C.nodes(t,{match:function(s){return Ye.isText(s)},universal:!0});try{for(var a=aj(i),u=a.next();!u.done;u=a.next())Rne(t,u.value[0])}catch(s){r={error:s}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},e}(),rre={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,i=n.underline,a=n.code,u=n.through,s=n.sub,l=n.sup,c=t;return r&&(c=Pt("strong",null,c)),a&&(c=Pt("code",null,c)),o&&(c=Pt("em",null,c)),i&&(c=Pt("u",null,c)),u&&(c=Pt("s",null,c)),s&&(c=Pt("sub",null,c)),l&&(c=Pt("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new Jne}},{key:"underline",factory:function(){return new $ne}},{key:"italic",factory:function(){return new Qne}},{key:"through",factory:function(){return new qne}},{key:"code",factory:function(){return new Zne}},{key:"sub",factory:function(){return new ere}},{key:"sup",factory:function(){return new tre}},{key:"clearStyle",factory:function(){return new nre}}],styleToHtml:function(e,t){if(!Ye.isText(e))return t;if(nA(t))return oA(e,t);var n=k(t);if(wf(n)==="br")return oA(e,"<br>");var r=n.html();return r=oA(e,r),n.html(r),Cf(n)},parseStyleHtml:function(e,t,n){var r=k(e);if(!Ye.isText(t))return t;var o=t;return Sl(r,"b,strong")&&(o.bold=!0),Sl(r,"i,em")&&(o.italic=!0),Sl(r,"u")&&(o.underline=!0),Sl(r,"s,strike")&&(o.through=!0),Sl(r,"sub")&&(o.sub=!0),Sl(r,"sup")&&(o.sup=!0),Sl(r,"code")&&(o.code=!0),o}};function ih(e){return function(t,n,r){return Pt("h"+e,null,n)}}var ore={type:"header1",renderElem:ih(1)},ire={type:"header2",renderElem:ih(2)},are={type:"header3",renderElem:ih(3)},ure={type:"header4",renderElem:ih(4)},sre={type:"header5",renderElem:ih(5)},lre=ym.PROPER,sA=RegExp.prototype,gj=sA.toString,cre=_t(L9),fre=sr(function(){return gj.call({source:"a",flags:"b"})!="/a/b"}),dre=lre&&gj.name!="toString";(fre||dre)&&Jp(RegExp.prototype,"toString",function(){var e=ai(this),t=lr(e.source),n=e.flags;return"/"+t+"/"+lr(n===void 0&&l9(sA,e)&&!("flags"in sA)?cre(e):n)},{unsafe:!0});var lA,pre=It.TypeError,vj=function(e){if(tj(e))throw pre("The method doesn't accept regular expressions");return e},hre=ii("match"),mj=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[hre]=!1,"/./"[e](t)}catch(r){}}return!1},gre=Sx.f,yj=_t("".startsWith),vre=_t("".slice),mre=Math.min,bj=mj("startsWith");function Ej(e){var t=pn(C.nodes(e,{match:function(o){return N.getNodeType(o).startsWith("header")},universal:!0}),1),n=t[0];if(n==null)return"paragraph";var r=pn(n,1)[0];return N.getNodeType(r)}function Cj(e){return e.selection==null||!pn(C.nodes(e,{match:function(t){var n=N.getNodeType(t);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function wj(e,t){t&&Z.setNodes(e,{type:t})}Xr({target:"String",proto:!0,forced:!(!bj&&(lA=gre(String.prototype,"startsWith"),lA&&!lA.writable)||bj)},{startsWith:function(e){var t=lr(Si(this));vj(e);var n=Qp(mre(arguments.length>1?arguments[1]:void 0,t.length)),r=lr(e);return yj?yj(t,r,n):vre(t,n,n+r.length)===r}});var yre=function(){function e(){this.title=Me("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(t){var n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:Me("header.text")}],r=this.getValue(t).toString();return n.forEach(function(o){o.value===r?o.selected=!0:delete o.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){return Ej(t)},e.prototype.isDisabled=function(t){return Cj(t)},e.prototype.exec=function(t,n){wj(t,n.toString())},e}(),ah=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return Ej(t)},e.prototype.isActive=function(t){return this.getValue(t)===this.type},e.prototype.isDisabled=function(t){return Cj(t)},e.prototype.exec=function(t,n){var r=this.type;wj(t,n===r?"paragraph":r)},e}(),bre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return tr(t,e),t}(ah),Ere=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return tr(t,e),t}(ah),Cre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return tr(t,e),t}(ah),wre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return tr(t,e),t}(ah),xre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return tr(t,e),t}(ah),Are={key:"headerSelect",factory:function(){return new yre}},Sre={key:"header1",factory:function(){return new bre}},Dre={key:"header2",factory:function(){return new Ere}},Ore={key:"header3",factory:function(){return new Cre}},_re={key:"header4",factory:function(){return new wre}},Tre={key:"header5",factory:function(){return new xre}};function uh(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function sh(e){return function(t,n,r){var o=k(t);return(n=n.filter(function(i){return!!Ye.isText(i)||!!r.isInline(i)})).length===0&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var Pre={renderElems:[ore,ire,are,ure,sre],elemsToHtml:[{type:"header1",elemToHtml:uh(1)},{type:"header2",elemToHtml:uh(2)},{type:"header3",elemToHtml:uh(3)},{type:"header4",elemToHtml:uh(4)},{type:"header5",elemToHtml:uh(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:sh(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:sh(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:sh(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:sh(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:sh(5)}],menus:[Are,Sre,Dre,Ore,_re,Tre],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=pn(C.nodes(n,{match:function(o){return N.getNodeType(o).startsWith("header")},universal:!0}),1)[0];r&&N.isSelectionAtLineEnd(e,r[1])?Z.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},xf=Object.assign,xj=Object.defineProperty,Rre=_t([].concat),Aj=!xf||sr(function(){if(Ki&&xf({b:1},xf(xj({},"a",{enumerable:!0,get:function(){xj(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),xf({},e)[n]!=7||yf(xf({},t)).join("")!=r})?function(e,t){for(var n=Kp(e),r=arguments.length,o=1,i=P9.f,a=u9.f;r>o;)for(var u,s=hm(arguments[o++]),l=i?Rre(yf(s),i(s)):yf(s),c=l.length,f=0;c>f;)u=l[f++],Ki&&!mr(a,s,u)||(n[u]=s[u]);return n}:xf;function Ol(e,t){e.data==null&&(e.data={});var n=e.data;n.style==null&&(n.style={}),Object.assign(n.style,t)}Xr({target:"Object",stat:!0,forced:Object.assign!==Aj},{assign:Aj});var jre={selector:"font",preParseHtml:function(e){var t=k(e);if(wf(t)!=="font")return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},Sj=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){var n=this.mark,r=C.marks(t);return r&&r[n]?r[n]:""},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return t.selection==null||!!pn(C.nodes(t,{match:function(n){return N.getNodeType(n)==="pre"||!!C.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){var n=this.mark;if(this.$content==null){var r=k('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(l){var c=l.target;if(c!=null&&(l.preventDefault(),t.selection!=null)){var f=k(c).attr("data-value");f==="0"?C.removeMark(t,n):C.addMark(t,n,f)}}),this.$content=r}var o=this.$content;if(o==null)return document.createElement("ul");o.empty();var i=this.getValue(t),a=t.getMenuConfig(n).colors;(a===void 0?[]:a).forEach(function(l){var c=k('<div class="color-block" data-value="'+l+'"></div>');c.css("background-color",l);var f=k('<li data-value="'+l+'"></li>');i===l&&f.addClass("active"),f.append(c),o.append(f)});var u="";n==="color"&&(u=Me("color.default")),n==="bgColor"&&(u=Me("color.clear"));var s=k(`
<li data-value="0" class="clear">
<svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>
`+u+`
</li>
`);return o.prepend(s),o[0]},e}(),Nre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("color.color"),n.iconSvg=Lne,n.mark="color",n}return tr(t,e),t}(Sj),Bre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("color.bgColor"),n.iconSvg=Mne,n.mark="bgColor",n}return tr(t,e),t}(Sj),Dj=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],Fre={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,i=t;return r&&Ol(i,{color:r}),o&&Ol(i,{backgroundColor:o}),i},styleToHtml:function(e,t){if(!Ye.isText(e))return t;var n,r=e,o=r.color,i=r.bgColor;return o||i?((nA(t)||wf(n=k(t))!=="span")&&(n=k("<span>"+t+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),Cf(n)):t},preParseHtml:[jre],parseStyleHtml:function(e,t,n){var r=k(e);if(!Ye.isText(t))return t;var o=t,i=Xi(r,"color");i&&(o.color=i);var a=Xi(r,"background-color");return a||(a=Xi(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new Nre},config:{colors:Dj}},{key:"bgColor",factory:function(){return new Bre},config:{colors:Dj}}]},kre=/^(?:\w+:)?\/\/(\S+)$/,Lre=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Mre=/^[^\s\.]+\.\S{2,}$/,Ire=O9.includes;function Om(e){return e===void 0&&(e="r"),e+"-"+_8()}function cA(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Oj(e,t,n,r){return Xu(this,void 0,void 0,function(){var o,i;return Yu(this,function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if(typeof(i=a.sent())=="string")return t.alert(i,"error"),[2,!1];if(i==null)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function _j(e,t,n){return Xu(this,void 0,void 0,function(){var r;return Yu(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function fA(e){return e.selection==null||!!N.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function dA(e,t){return{type:"link",url:cA(e),children:t?[{text:t}]:[]}}function Tj(e,t,n){return Xu(this,void 0,void 0,function(){var r,o,i;return Yu(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),fA(e)?[2]:[4,Oj("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,_j("insertLink",e,n)]:[2];case 2:return r=a.sent(),(o=e.selection)==null||(re.isCollapsed(o)?(e.insertText(" "),i=dA(r,t),Z.insertNodes(e,i),e.insertFragment([{text:" "}])):C.string(e,o)!==t?(e.deleteFragment(),i=dA(r,t),Z.insertNodes(e,i)):(i=dA(r),Z.wrapNodes(e,i,{split:!0}),Z.collapse(e,{edge:"end"}))),[2]}})})}Xr({target:"Array",proto:!0},{includes:function(e){return Ire(this,e,arguments.length>1?arguments[1]:void 0)}}),$9("includes");var Ure={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,i=r.target;return Pt("a",{href:o,target:i===void 0?"_blank":i},t)}},zre={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e);return(t=t.filter(function(o){return!!Ye.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function pA(){return Om("w-e-insert-link")}var Hre=function(){function e(){this.title=Me("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=pA(),this.urlInputId=pA(),this.buttonId=pA()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return fA(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=t.selection,r=this,o=r.textInputId,i=r.urlInputId,a=r.buttonId,u=pn(ri(Me("link.text"),o),2),s=u[0],l=k(u[1]),c=pn(ri(Me("link.url"),i),2),f=c[0],p=k(c[1]),d=pn(lf(a,Me("common.ok")),1)[0];if(this.$content==null){var y=k("<div></div>");y.on("click","#"+a,function(m){m.preventDefault();var h=y.find("#"+o).val(),b=y.find("#"+i).val();Tj(t,h,b),t.hidePanelOrModal()}),this.$content=y}var g=this.$content;if(g.empty(),g.append(s),g.append(f),g.append(d),n==null||re.isCollapsed(n))l.val("");else{var v=C.string(t,n);l.val(v)}return p.val(""),setTimeout(function(){l.focus()}),g[0]},e}();function Pj(){return Om("w-e-update-link")}var Vre=function(){function e(){this.title=Me("link.edit"),this.iconSvg=pj,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=Pj(),this.buttonId=Pj()}return e.prototype.getSelectedLinkElem=function(t){var n=N.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.getModalPositionNode=function(t){return N.getSelectedNodeByType(t,"link")},e.prototype.getModalContentElem=function(t){var n=this.urlInputId,r=this.buttonId,o=pn(ri(Me("link.url"),n),2),i=o[0],a=k(o[1]),u=pn(lf(r,Me("common.ok")),1)[0];if(this.$content==null){var s=k("<div></div>");s.on("click","button",function(f){f.preventDefault(),t.restoreSelection();var p=N.getSelectedNodeByType(t,"link"),d=p?Le.string(p):"",y=s.find("#"+n).val();!function(g,v,m){Xu(this,void 0,void 0,function(){var h,b;return Yu(this,function(E){switch(E.label){case 0:return m?[4,Oj("editLink",g,v,m)]:[2];case 1:return E.sent()?[4,_j("editLink",g,m)]:[2];case 2:return h=E.sent(),b={url:cA(h)},Z.setNodes(g,b,{match:function(w){return N.checkNodeType(w,"link")}}),[2]}})})}(t,d,y),t.hidePanelOrModal()}),this.$content=s}var l=this.$content;l.empty(),l.append(i),l.append(u);var c=this.getValue(t);return a.val(c),setTimeout(function(){a.focus()}),l[0]},e}(),Wre=function(){function e(){this.title=Me("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||N.getSelectedNodeByType(t,"link")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Z.unwrapNodes(t,{match:function(r){return N.checkNodeType(r,"link")}})},e}(),Gre=function(){function e(){this.title=Me("link.view"),this.iconSvg=hj,this.tag="button"}return e.prototype.getSelectedLinkElem=function(t){var n=N.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View link failed, link url is '"+n+"'");window.open(n,"_blank")}},e}(),Rj={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},Kre={renderElems:[Ure],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(o===void 0?"_blank":o)+'">'+t+"</a>"}}],parseElemsHtml:[zre],menus:[{key:"insertLink",factory:function(){return new Hre},config:Rj},{key:"editLink",factory:function(){return new Vre},config:Rj},{key:"unLink",factory:function(){return new Wre}},{key:"viewLink",factory:function(){return new Gre}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(i){return i.type==="link"||t(i)},o.insertData=function(i){var a=i.getData("text/plain");if(function(l){if(typeof l!="string")return!1;var c=l.match(kre);if(!c)return!1;var f=c[1];return!(!f||!Lre.test(f)&&!Mre.test(f))}(a)){if(!fA(o)){var u=o.selection;if(u!=null){var s=C.string(o,u);Tj(o,s,a)}}}else n(i)},o.normalizeNode=function(i){var a=pn(i,2),u=a[0],s=a[1];return N.getNodeType(u)!=="link"?r([u,s]):Le.string(u)===""?Z.removeNodes(o,{at:s}):r([u,s])},o}},Xre=_t(1 .valueOf),Yre=It.RangeError,Jre=It.RangeError,jj=It.String,Nj=Math.floor,hA=_t(function(e){var t=lr(Si(this)),n="",r=mf(e);if(r<0||r==1/0)throw Yre("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),Bj=_t("".slice),lh=_t(1 .toFixed),Af=function(e,t,n){return t===0?n:t%2==1?Af(e,t-1,n*e):Af(e*e,t/2,n)},Sf=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=Nj(o/1e7)},gA=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=Nj(r/t),r=r%t*1e7},Fj=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=jj(e[t]);n=n===""?r:n+hA("0",7-r.length)+r}return n};function kj(e,t){return"w-e-image-container-"+N.findKey(e,t).id}Xr({target:"Number",proto:!0,forced:sr(function(){return lh(8e-5,3)!=="0.000"||lh(.9,0)!=="1"||lh(1.255,2)!=="1.25"||lh(1000000000000000100,0)!=="1000000000000000128"})||!sr(function(){lh({})})},{toFixed:function(e){var t,n,r,o,i=Xre(this),a=mf(e),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw Jre("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return jj(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=(t=function(c){for(var f=0,p=c;p>=4096;)f+=12,p/=4096;for(;p>=2;)f+=1,p/=2;return f}(i*Af(2,69,1))-69)<0?i*Af(2,-t,1):i/Af(2,t,1),n*=4503599627370496,(t=52-t)>0){for(Sf(u,0,n),r=a;r>=7;)Sf(u,1e7,0),r-=7;for(Sf(u,Af(10,r,1),0),r=t-1;r>=23;)gA(u,1<<23),r-=23;gA(u,1<<r),Sf(u,1,1),gA(u,2),l=Fj(u)}else Sf(u,0,n),Sf(u,1<<-t,0),l=Fj(u)+hA("0",a);return a>0?s+((o=l.length)<=a?"0."+hA("0",a-o)+l:Bj(l,0,o-a)+"."+Bj(l,o-a)):s+l}});var Zre={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,i=r.alt,a=i===void 0?"":i,u=r.href,s=u===void 0?"":u,l=r.style,c=l===void 0?{}:l,f=c.width,p=f===void 0?"":f,d=c.height,y=d===void 0?"":d,g=N.isNodeSelected(n,e),v={};p&&(v.width="100%"),y&&(v.height="100%");var m=Pt("img",{style:v,src:o,alt:a,"data-href":s}),h=n.isDisabled();return g&&!h?function(b,E,w,S){var x=k("body"),B=kj(b,E),U=S.width,oe=S.height,fe=0,ie=0,De=0,me=!1,ye=null;function we(rt){ye=function(){var G=k("#"+B);if(G.length===0)throw new Error("Cannot find image container elem");return G}(),fe=rt;var L=ye.find("img");if(L.length===0)throw new Error("Cannot find image elem");ie=L.width(),De=L.height(),x.on("mousemove",Ve),x.on("mouseup",st);var R=N.getHoverbar(b);R&&R.hideAndClean()}var Ve=tl(function(rt){rt.preventDefault();var L=rt.clientX,R=ie+(me?fe-L:L-fe),G=De*(R/ie);ye!=null&&(R<=15||G<=15||(ye.css("width",R+"px"),ye.css("height",G+"px")))},100);function st(rt){if(x.off("mousemove",Ve),ye!=null){var L=ye.width().toFixed(2),R=ye.height().toFixed(2),G={style:Ku(Ku({},E.style),{width:L+"px",height:R+"px"})};Z.setNodes(b,G,{at:N.findPath(b,E)}),x.off("mouseup",st)}}var at={};return U&&(at.width=U),oe&&(at.height=oe),Pt("div",{id:B,style:at,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(rt){var L=k(rt.target);L.hasClass("w-e-image-dragger")&&(rt.preventDefault(),(L.hasClass("left-top")||L.hasClass("left-bottom"))&&(me=!0),we(rt.clientX))}}},w,Pt("div",{className:"w-e-image-dragger left-top"}),Pt("div",{className:"w-e-image-dragger right-top"}),Pt("div",{className:"w-e-image-dragger left-bottom"}),Pt("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,m,{width:p,height:y}):function(b,E,w,S){var x=S.width,B=S.height,U={};return x&&(U.width=x),B&&(U.height=B),Pt("div",{id:kj(b,E),style:U,className:"w-e-image-container"},w)}(n,e,m,{width:p,height:y})}},Qre={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:Xi(r,"width"),height:Xi(r,"height")},children:[{text:""}]}}};function Lj(e,t,n,r,o){return r===void 0&&(r=""),o===void 0&&(o=""),Xu(this,void 0,void 0,function(){var i,a;return Yu(this,function(u){switch(u.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if(typeof(a=u.sent())=="string")return t.alert(a,"error"),[2,!1];if(a==null)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function Mj(e,t,n){return Xu(this,void 0,void 0,function(){var r;return Yu(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function _l(e,t,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),Xu(this,void 0,void 0,function(){var o,i,a;return Yu(this,function(u){switch(u.label){case 0:return[4,Lj("insertImage",e,t,n,r)];case 1:return u.sent()?[4,Mj("insertImage",e,t)]:[2];case 2:return o=u.sent(),i={type:"image",src:cA(o),href:r,alt:n,style:{},children:[{text:""}]},e.selection===null&&e.restoreSelection(),N.getSelectedNodeByType(e,"image")&&e.move(1),_m(e)||(Z.insertNodes(e,i),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(i)),[2]}})})}function _m(e){var t=e.selection;return t==null||!re.isCollapsed(t)||!!pn(C.nodes(e,{match:function(n){var r=N.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!C.isVoid(e,n)},universal:!0}),1)[0]}function Tm(){return Om("w-e-insert-image")}var qre=function(){function e(){this.title=Me("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=Tm(),this.altInputId=Tm(),this.hrefInputId=Tm(),this.buttonId=Tm()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return _m(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,u=r.buttonId,s=pn(ri(Me("image.src"),o),2),l=s[0],c=k(s[1]),f=pn(ri(Me("image.desc"),i),2),p=f[0],d=k(f[1]),y=pn(ri(Me("image.link"),a),2),g=y[0],v=k(y[1]),m=pn(lf(u,Me("common.ok")),1)[0];if(this.$content==null){var h=k("<div></div>");h.on("click","#"+u,function(E){E.preventDefault();var w=h.find("#"+o).val().trim(),S=h.find("#"+i).val().trim(),x=h.find("#"+a).val().trim();n.insertImage(t,w,S,x),t.hidePanelOrModal()}),this.$content=h}var b=this.$content;return b.empty(),b.append(l),b.append(p),b.append(g),b.append(m),c.val(""),d.val(""),v.val(""),setTimeout(function(){c.focus()}),b[0]},e.prototype.insertImage=function(t,n,r,o){r===void 0&&(r=""),o===void 0&&(o=""),n&&(t.restoreSelection(),this.isDisabled(t)||_l(t,n,r,o))},e}(),$re=function(){function e(){this.title=Me("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||N.getSelectedNodeByType(t,"image")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Z.removeNodes(t,{match:function(r){return N.checkNodeType(r,"image")}})},e}();function Pm(){return Om("w-e-edit-image")}var eoe=function(){function e(){this.title=Me("image.edit"),this.iconSvg=pj,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=Pm(),this.altInputId=Pm(),this.hrefInputId=Pm(),this.buttonId=Pm()}return e.prototype.getValue=function(t){return""},e.prototype.getImageNode=function(t){return N.getSelectedNodeByType(t,"image")},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"image")==null},e.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,u=r.buttonId,s=this.getImageNode(t);if(s==null)throw new Error("Not found selected image node");var l=pn(ri(Me("image.src"),o),2),c=l[0],f=k(l[1]),p=pn(ri(Me("image.desc"),i),2),d=p[0],y=k(p[1]),g=pn(ri(Me("image.link"),a),2),v=g[0],m=k(g[1]),h=pn(lf(u,Me("common.ok")),1)[0];if(this.$content==null){var b=k("<div></div>");b.on("click","#"+u,function(fe){fe.preventDefault();var ie=b.find("#"+o).val(),De=b.find("#"+i).val(),me=b.find("#"+a).val();n.updateImage(t,ie,De,me),t.hidePanelOrModal()}),this.$content=b}var E=this.$content;E.empty(),E.append(c),E.append(d),E.append(v),E.append(h);var w=s,S=w.src,x=w.alt,B=x===void 0?"":x,U=w.href,oe=U===void 0?"":U;return f.val(S),y.val(B),m.val(oe),setTimeout(function(){f.focus()}),E[0]},e.prototype.updateImage=function(t,n,r,o,i){r===void 0&&(r=""),o===void 0&&(o=""),i===void 0&&(i={}),n&&(t.restoreSelection(),this.isDisabled(t)||function(a,u,s,l,c){s===void 0&&(s=""),l===void 0&&(l=""),c===void 0&&(c={}),Xu(this,void 0,void 0,function(){var f,p,d,y,g,v;return Yu(this,function(m){switch(m.label){case 0:return[4,Lj("editImage",a,u,s,l)];case 1:return m.sent()?[4,Mj("editImage",a,u)]:[2];case 2:return f=m.sent(),(p=N.getSelectedNodeByType(a,"image"))==null||(d=p.style,y={src:f,alt:s,href:l,style:Ku(Ku({},d===void 0?{}:d),c)},Z.setNodes(a,y,{match:function(h){return N.checkNodeType(h,"image")}}),g=N.getSelectedNodeByType(a,"image"),(v=a.getMenuConfig("editImage").onUpdatedImage)&&v(g)),[2]}})})}(t,n,r,o,i))},e}(),toe=function(){function e(){this.title=Me("image.viewLink"),this.iconSvg=hj,this.tag="button"}return e.prototype.getValue=function(t){var n=N.getSelectedNodeByType(t,"image");return n&&n.href||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!this.getValue(t)},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View image link failed, image.href is '"+n+"'");window.open(n,"_blank")}},e}(),vA=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getSelectedNode=function(t){return N.getSelectedNodeByType(t,"image")},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedNode(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(r!=null){var o=N.getHoverbar(t);o&&o.hideAndClean();var i=r.style,a={style:Ku(Ku({},i===void 0?{}:i),{width:this.value,height:""})};Z.setNodes(t,a,{match:function(u){return N.checkNodeType(u,"image")}})}}},e}(),noe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return tr(t,e),t}(vA),roe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return tr(t,e),t}(vA),ooe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return tr(t,e),t}(vA),Ij={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},ioe={renderElems:[Zre],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,i=o===void 0?"":o,a=n.href,u=a===void 0?"":a,s=n.style,l=s===void 0?{}:s,c=l.width,f=c===void 0?"":c,p=l.height,d=p===void 0?"":p,y="";return f&&(y+="width: "+f+";"),d&&(y+="height: "+d+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+u+'" style="'+y+'"/>'}}],parseElemsHtml:[Qre],menus:[{key:"insertImage",factory:function(){return new qre},config:Ij},{key:"deleteImage",factory:function(){return new $re}},{key:"editImage",factory:function(){return new eoe},config:Ij},{key:"viewImageLink",factory:function(){return new toe}},{key:"imageWidth30",factory:function(){return new noe}},{key:"imageWidth50",factory:function(){return new roe}},{key:"imageWidth100",factory:function(){return new ooe}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(o){return o.type==="image"||t(o)},r.isVoid=function(o){return o.type==="image"||n(o)},r}},aoe={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=Pt("div",{style:{margin:"5px 0"}},Pt("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Pt("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(i){var a=N.findPath(n,e),u={checked:i.target.checked};Z.setNodes(n,u,{at:a})}}})),Pt("span",null,t));return o}},uoe=function(){function e(){this.title=Me("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!N.getSelectedNodeByType(t,"todo")},e.prototype.isDisabled=function(t){return t.selection==null||!!N.getSelectedElems(t).some(function(n){if(C.isVoid(t,n)&&C.isBlock(t,n))return!0;var r=n.type;return!!["pre","table","list-item"].includes(r)||void 0})},e.prototype.exec=function(t,n){var r=this.isActive(t);Z.setNodes(t,{type:r?"paragraph":"todo"})},e}(),soe={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=k(e);(t=t.filter(function(i){return!!Ye.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return r.find('input[type="checkbox"]').attr("checked")!=null&&(o=!0),{type:"todo",checked:o,children:t}}},loe={renderElems:[aoe],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=k(e).find("li"),n=k('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[soe],menus:[{key:"todo",factory:function(){return new uoe}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(r){var o=e.selection;if(o&&re.isCollapsed(o)){var i=N.getSelectedNodeByType(e,"todo");if(i&&Le.string(i).length===0)return void Z.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(r)},n}},coe={type:"blockquote",renderElem:function(e,t,n){return Pt("blockquote",null,t)}},foe={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e);return(t=t.filter(function(o){return!!Ye.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},doe=function(){function e(){this.title=Me("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!N.getSelectedNodeByType(t,"blockquote")},e.prototype.isDisabled=function(t){return t.selection==null||!pn(C.nodes(t,{match:function(n){var r=N.getNodeType(n);return r==="paragraph"||r==="blockquote"},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";Z.setNodes(t,{type:r},{mode:"highest"})}},e}(),poe={key:"blockquote",factory:function(){return new doe}},hoe=_t([].slice),goe=Fx("slice"),voe=ii("species"),mA=It.Array,moe=Math.max;Xr({target:"Array",proto:!0,forced:!goe},{slice:function(e,t){var n,r,o,i=pf(this),a=bm(i),u=Zp(e,a),s=Zp(t===void 0?a:t,a);if(Cm(i)&&(n=i.constructor,(Bx(n)&&(n===mA||Cm(n.prototype))||Di(n)&&(n=n[voe])===null)&&(n=void 0),n===mA||n===void 0))return hoe(i,u,s);for(r=new(n===void 0?mA:n)(moe(s-u,0)),o=0;u<s;u++,o++)u in i&&nj(r,o,i[u]);return r.length=o,r}});var yoe={renderElems:[coe],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[foe],menus:[poe],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var o=r.selection;if(o==null)return t();var i=pn(C.nodes(e,{match:function(c){return N.checkNodeType(c,"blockquote")},universal:!0}),1)[0];if(!i)return t();var a=i[0],u=N.findPath(e,a),s=C.end(e,u);if(Wt.equals(s,o.focus)){var l=Le.string(a);if(l&&l.slice(-1)===`
`)return e.deleteBackward("character"),void Z.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
`)},r}},boe=function(){function e(){this.title=Me("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!pn(C.nodes(t,{match:function(n){return N.getNodeType(n)==="pre"||!!C.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){if(this.$content==null){var n=k('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(i){var a=i.target;if(a!=null){i.preventDefault();var u=k(a).text();t.insertText(u)}}),this.$content=n}var r=this.$content;if(r==null)return document.createElement("ul");r.empty();var o=t.getMenuConfig("emotion").emotions;return(o===void 0?[]:o).forEach(function(i){var a=k("<li>"+i+"</li>");r.append(a)}),r[0]},e}(),Eoe={menus:[{key:"emotion",factory:function(){return new boe},config:{emotions:"\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F602} \u{1F923} \u{1F60A} \u{1F607} \u{1F642} \u{1F643} \u{1F609} \u{1F60C} \u{1F60D} \u{1F618} \u{1F617} \u{1F619} \u{1F61A} \u{1F60B} \u{1F61B} \u{1F61D} \u{1F61C} \u{1F913} \u{1F60E} \u{1F60F} \u{1F612} \u{1F61E} \u{1F614} \u{1F61F} \u{1F615} \u{1F641} \u{1F623} \u{1F616} \u{1F62B} \u{1F629} \u{1F622} \u{1F62D} \u{1F624} \u{1F620} \u{1F621} \u{1F633} \u{1F631} \u{1F628} \u{1F917} \u{1F914} \u{1F636} \u{1F611} \u{1F62C} \u{1F644} \u{1F62F} \u{1F634} \u{1F637} \u{1F911} \u{1F608} \u{1F921} \u{1F4A9} \u{1F47B} \u{1F480} \u{1F440} \u{1F463} \u{1F450} \u{1F64C} \u{1F44F} \u{1F91D} \u{1F44D} \u{1F44E} \u{1F44A} \u270A \u{1F91B} \u{1F91C} \u{1F91E} \u270C\uFE0F \u{1F918} \u{1F44C} \u{1F448} \u{1F449} \u{1F446} \u{1F447} \u261D\uFE0F \u270B \u{1F91A} \u{1F590} \u{1F596} \u{1F44B} \u{1F919} \u{1F4AA} \u{1F595} \u270D\uFE0F \u{1F64F}".split(" ")}}]},Coe={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},woe={selector:"font",preParseHtml:function(e){var t=k(e);if(wf(t)!=="font")return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",Coe[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},xoe=_t("".indexOf);Xr({target:"String",proto:!0,forced:!mj("includes")},{includes:function(e){return!!~xoe(lr(Si(this)),lr(vj(e)),arguments.length>1?arguments[1]:void 0)}});var Ju,Rm,jm=function(e){return e&&e.Math==Math&&e},Kt=jm(typeof globalThis=="object"&&globalThis)||jm(typeof window=="object"&&window)||jm(typeof self=="object"&&self)||jm(typeof cm=="object"&&cm)||function(){return this}()||Function("return this")(),yA=Function.prototype,Uj=yA.apply,Aoe=yA.bind,zj=yA.call,Hj=typeof Reflect=="object"&&Reflect.apply||(Aoe?zj.bind(Uj):function(){return zj.apply(Uj,arguments)}),Vj=Function.prototype,bA=Vj.bind,EA=Vj.call,Soe=bA&&bA.bind(EA),yr=bA?function(e){return e&&Soe(EA,e)}:function(e){return e&&function(){return EA.apply(e,arguments)}},go=function(e){return typeof e=="function"},ui=function(e){try{return!!e()}catch(t){return!0}},Go=!ui(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ch=Function.prototype.call,Yi=ch.bind?ch.bind(ch):function(){return ch.apply(ch,arguments)},Wj={}.propertyIsEnumerable,Gj=Object.getOwnPropertyDescriptor,Doe=Gj&&!Wj.call({1:2},1)?function(e){var t=Gj(this,e);return!!t&&t.enumerable}:Wj,CA={f:Doe},Tl=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ooe=yr({}.toString),_oe=yr("".slice),Pl=function(e){return _oe(Ooe(e),8,-1)},wA=Kt.Object,Toe=yr("".split),Kj=ui(function(){return!wA("z").propertyIsEnumerable(0)})?function(e){return Pl(e)=="String"?Toe(e,""):wA(e)}:wA,Poe=Kt.TypeError,xA=function(e){if(e==null)throw Poe("Can't call method on "+e);return e},ya=function(e){return Kj(xA(e))},_i=function(e){return typeof e=="object"?e!==null:go(e)},Ti={},Xj=function(e){return go(e)?e:void 0},fh=function(e,t){return arguments.length<2?Xj(Ti[e])||Xj(Kt[e]):Ti[e]&&Ti[e][t]||Kt[e]&&Kt[e][t]},Yj=yr({}.isPrototypeOf),AA=fh("navigator","userAgent")||"",Jj=Kt.process,Zj=Kt.Deno,Qj=Jj&&Jj.versions||Zj&&Zj.version,qj=Qj&&Qj.v8;qj&&(Rm=(Ju=qj.split("."))[0]>0&&Ju[0]<4?1:+(Ju[0]+Ju[1])),!Rm&&AA&&(!(Ju=AA.match(/Edge\/(\d+)/))||Ju[1]>=74)&&(Ju=AA.match(/Chrome\/(\d+)/))&&(Rm=+Ju[1]);var Nm=Rm,ba=!!Object.getOwnPropertySymbols&&!ui(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Nm&&Nm<41}),SA=ba&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Roe=Kt.Object,Df=SA?function(e){return typeof e=="symbol"}:function(e){var t=fh("Symbol");return go(t)&&Yj(t.prototype,Roe(e))},joe=Kt.String,Noe=Kt.TypeError,$j=function(e){if(go(e))return e;throw Noe(function(t){try{return joe(t)}catch(n){return"Object"}}(e)+" is not a function")},Boe=Kt.TypeError,Foe=Object.defineProperty,Zu=Kt["__core-js_shared__"]||function(e,t){try{Foe(Kt,e,{value:t,configurable:!0,writable:!0})}catch(n){Kt[e]=t}return t}("__core-js_shared__",{}),Rl=fm(function(e){(e.exports=function(t,n){return Zu[t]||(Zu[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),koe=Kt.Object,dh=function(e){return koe(xA(e))},Loe=yr({}.hasOwnProperty),hn=Object.hasOwn||function(e,t){return Loe(dh(e),t)},Moe=0,Ioe=Math.random(),Uoe=yr(1 .toString),Bm=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Uoe(++Moe+Ioe,36)},ph=Rl("wks"),jl=Kt.Symbol,eN=jl&&jl.for,zoe=SA?jl:jl&&jl.withoutSetter||Bm,si=function(e){if(!hn(ph,e)||!ba&&typeof ph[e]!="string"){var t="Symbol."+e;ba&&hn(jl,e)?ph[e]=jl[e]:ph[e]=SA&&eN?eN(t):zoe(t)}return ph[e]},Hoe=Kt.TypeError,Voe=si("toPrimitive"),Of=function(e){var t=function(n,r){if(!_i(n)||Df(n))return n;var o,i,a=(o=n[Voe])==null?void 0:$j(o);if(a){if(r===void 0&&(r="default"),i=Yi(a,n,r),!_i(i)||Df(i))return i;throw Hoe("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(u,s){var l,c;if(s==="string"&&go(l=u.toString)&&!_i(c=Yi(l,u)))return c;if(go(l=u.valueOf)&&!_i(c=Yi(l,u)))return c;if(s!=="string"&&go(l=u.toString)&&!_i(c=Yi(l,u)))return c;throw Boe("Can't convert object to primitive value")}(n,r)}(e,"string");return Df(t)?t:t+""},DA=Kt.document,Woe=_i(DA)&&_i(DA.createElement),tN=function(e){return Woe?DA.createElement(e):{}},nN=!Go&&!ui(function(){return Object.defineProperty(tN("div"),"a",{get:function(){return 7}}).a!=7}),rN=Object.getOwnPropertyDescriptor,OA={f:Go?rN:function(e,t){if(e=ya(e),t=Of(t),nN)try{return rN(e,t)}catch(n){}if(hn(e,t))return Tl(!Yi(CA.f,e,t),e[t])}},Goe=/#|\.prototype\./,hh=function(e,t){var n=Xoe[Koe(e)];return n==Joe||n!=Yoe&&(go(t)?ui(t):!!t)},Koe=hh.normalize=function(e){return String(e).replace(Goe,".").toLowerCase()},Xoe=hh.data={},Yoe=hh.NATIVE="N",Joe=hh.POLYFILL="P",Zoe=hh,oN=yr(yr.bind),iN=function(e,t){return $j(e),t===void 0?e:oN?oN(e,t):function(){return e.apply(t,arguments)}},Qoe=Kt.String,qoe=Kt.TypeError,Nl=function(e){if(_i(e))return e;throw qoe(Qoe(e)+" is not an object")},$oe=Kt.TypeError,aN=Object.defineProperty,Bl={f:Go?aN:function(e,t,n){if(Nl(e),t=Of(t),Nl(n),nN)try{return aN(e,t,n)}catch(r){}if("get"in n||"set"in n)throw $oe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ea=Go?function(e,t,n){return Bl.f(e,t,Tl(1,n))}:function(e,t,n){return e[t]=n,e},eie=OA.f,tie=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return Hj(e,this,arguments)};return t.prototype=e.prototype,t},Qu=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,p=e.stat,d=e.proto,y=f?Kt:p?Kt[c]:(Kt[c]||{}).prototype,g=f?Ti:Ti[c]||Ea(Ti,c,{})[c],v=g.prototype;for(o in t)n=!Zoe(f?o:c+(p?".":"#")+o,e.forced)&&y&&hn(y,o),a=g[o],n&&(u=e.noTargetGet?(l=eie(y,o))&&l.value:y[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?iN(i,Kt):e.wrap&&n?tie(i):d&&go(i)?yr(i):i,(e.sham||i&&i.sham||a&&a.sham)&&Ea(s,"sham",!0),Ea(g,o,s),d&&(hn(Ti,r=c+"Prototype")||Ea(Ti,r,{}),Ea(Ti[r],o,i),e.real&&v&&!v[o]&&Ea(v,o,i)))},Fm=Array.isArray||function(e){return Pl(e)=="Array"},nie=Math.ceil,rie=Math.floor,_A=function(e){var t=+e;return t!=t||t===0?0:(t>0?rie:nie)(t)},oie=Math.min,km=function(e){return(t=e.length)>0?oie(_A(t),9007199254740991):0;var t},TA=function(e,t,n){var r=Of(t);r in e?Bl.f(e,r,Tl(0,n)):e[r]=n},uN={};uN[si("toStringTag")]="z";var PA=String(uN)==="[object z]",iie=si("toStringTag"),aie=Kt.Object,uie=Pl(function(){return arguments}())=="Arguments",Lm=PA?Pl:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=aie(e),iie))=="string"?n:uie?Pl(t):(r=Pl(t))=="Object"&&go(t.callee)?"Arguments":r},sie=yr(Function.toString);go(Zu.inspectSource)||(Zu.inspectSource=function(e){return sie(e)});var sN=Zu.inspectSource,lN=function(){},lie=[],cN=fh("Reflect","construct"),RA=/^\s*(?:class|function)\b/,cie=yr(RA.exec),fie=!RA.exec(lN),gh=function(e){if(!go(e))return!1;try{return cN(lN,lie,e),!0}catch(t){return!1}},die=!cN||ui(function(){var e;return gh(gh.call)||!gh(Object)||!gh(function(){e=!0})||e})?function(e){if(!go(e))return!1;switch(Lm(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return fie||!!cie(RA,sN(e))}:gh,pie=si("species"),fN=Kt.Array,dN=function(e,t){return new(function(n){var r;return Fm(n)&&(r=n.constructor,(die(r)&&(r===fN||Fm(r.prototype))||_i(r)&&(r=r[pie])===null)&&(r=void 0)),r===void 0?fN:r}(e))(t===0?0:t)},hie=si("species"),pN=si("isConcatSpreadable"),hN=Kt.TypeError,gie=Nm>=51||!ui(function(){var e=[];return e[pN]=!1,e.concat()[0]!==e}),vie=Nm>=51||!ui(function(){var e=[];return(e.constructor={})[hie]=function(){return{foo:1}},e.concat(Boolean).foo!==1}),mie=function(e){if(!_i(e))return!1;var t=e[pN];return t!==void 0?!!t:Fm(e)};Qu({target:"Array",proto:!0,forced:!gie||!vie},{concat:function(e){var t,n,r,o,i,a=dh(this),u=dN(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(mie(i=t===-1?a:arguments[t])){if(s+(o=km(i))>9007199254740991)throw hN("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&TA(u,s,i[n])}else{if(s>=9007199254740991)throw hN("Maximum allowed index exceeded");TA(u,s++,i)}return u.length=s,u}});var Mm,yie=Kt.String,Im=function(e){if(Lm(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return yie(e)},bie=Math.max,Eie=Math.min,jA=function(e,t){var n=_A(e);return n<0?bie(n+t,0):Eie(n,t)},gN=function(e){return function(t,n,r){var o,i=ya(t),a=km(i),u=jA(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Cie={includes:gN(!0),indexOf:gN(!1)},vh={},wie=Cie.indexOf,vN=yr([].push),mN=function(e,t){var n,r=ya(e),o=0,i=[];for(n in r)!hn(vh,n)&&hn(r,n)&&vN(i,n);for(;t.length>o;)hn(r,n=t[o++])&&(~wie(i,n)||vN(i,n));return i},Um=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],NA=Object.keys||function(e){return mN(e,Um)},xie=Go?Object.defineProperties:function(e,t){Nl(e);for(var n,r=ya(t),o=NA(t),i=o.length,a=0;i>a;)Bl.f(e,n=o[a++],r[n]);return e},Aie=fh("document","documentElement"),yN=Rl("keys"),zm=function(e){return yN[e]||(yN[e]=Bm(e))},bN=zm("IE_PROTO"),BA=function(){},EN=function(e){return"<script>"+e+"</script>"},CN=function(e){e.write(EN("")),e.close();var t=e.parentWindow.Object;return e=null,t},Hm=function(){try{Mm=new ActiveXObject("htmlfile")}catch(r){}var e,t;Hm=typeof document!="undefined"?document.domain&&Mm?CN(Mm):((t=tN("iframe")).style.display="none",Aie.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(EN("document.F=Object")),e.close(),e.F):CN(Mm);for(var n=Um.length;n--;)delete Hm.prototype[Um[n]];return Hm()};vh[bN]=!0;var Vm,mh,Wm,Fl=Object.create||function(e,t){var n;return e!==null?(BA.prototype=Nl(e),n=new BA,BA.prototype=null,n[bN]=e):n=Hm(),t===void 0?n:xie(n,t)},Sie=Um.concat("length","prototype"),wN={f:Object.getOwnPropertyNames||function(e){return mN(e,Sie)}},Die=Kt.Array,Oie=Math.max,xN=wN.f,AN=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],SN={f:function(e){return AN&&Pl(e)=="Window"?function(t){try{return xN(t)}catch(n){return function(r,o,i){for(var a=km(r),u=jA(void 0,a),s=jA(a,a),l=Die(Oie(s-u,0)),c=0;u<s;u++,c++)TA(l,c,r[u]);return l.length=c,l}(AN)}}(e):xN(ya(e))}},FA={f:Object.getOwnPropertySymbols},_ie=yr([].slice),_f=function(e,t,n,r){r&&r.enumerable?e[t]=n:Ea(e,t,n)},kA={f:si},Tie=Bl.f,Ar=function(e){var t=Ti.Symbol||(Ti.Symbol={});hn(t,e)||Tie(t,e,{value:kA.f(e)})},Pie=PA?{}.toString:function(){return"[object "+Lm(this)+"]"},Rie=Bl.f,DN=si("toStringTag"),Gm=function(e,t,n,r){if(e){var o=n?e:e.prototype;hn(o,DN)||Rie(o,DN,{configurable:!0,value:t}),r&&!PA&&Ea(o,"toString",Pie)}},ON=Kt.WeakMap,jie=go(ON)&&/native code/.test(sN(ON)),LA=Kt.TypeError,Nie=Kt.WeakMap;if(jie||Zu.state){var kl=Zu.state||(Zu.state=new Nie),Bie=yr(kl.get),_N=yr(kl.has),Fie=yr(kl.set);Vm=function(e,t){if(_N(kl,e))throw new LA("Object already initialized");return t.facade=e,Fie(kl,e,t),t},mh=function(e){return Bie(kl,e)||{}},Wm=function(e){return _N(kl,e)}}else{var Tf=zm("state");vh[Tf]=!0,Vm=function(e,t){if(hn(e,Tf))throw new LA("Object already initialized");return t.facade=e,Ea(e,Tf,t),t},mh=function(e){return hn(e,Tf)?e[Tf]:{}},Wm=function(e){return hn(e,Tf)}}var Pf={set:Vm,get:mh,has:Wm,enforce:function(e){return Wm(e)?mh(e):Vm(e,{})},getterFor:function(e){return function(t){var n;if(!_i(t)||(n=mh(t)).type!==e)throw LA("Incompatible receiver, "+e+" required");return n}}},TN=yr([].push),qu=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=dh(s),g=Kj(y),v=iN(l,c),m=km(g),h=0,b=f||dN,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:TN(E,p)}else switch(e){case 4:return!1;case 7:TN(E,p)}return i?-1:r||o?o:E}},Km=[qu(0),qu(1),qu(2),qu(3),qu(4),qu(5),qu(6),qu(7)][0],Ko=zm("hidden"),PN=si("toPrimitive"),kie=Pf.set,RN=Pf.getterFor("Symbol"),Ji=Object.prototype,$u=Kt.Symbol,es=$u&&$u.prototype,jN=Kt.TypeError,MA=Kt.QObject,yh=fh("JSON","stringify"),NN=OA.f,ts=Bl.f,BN=SN.f,Lie=CA.f,FN=yr([].push),qa=Rl("symbols"),bh=Rl("op-symbols"),IA=Rl("string-to-symbol-registry"),UA=Rl("symbol-to-string-registry"),Mie=Rl("wks"),zA=!MA||!MA.prototype||!MA.prototype.findChild,HA=Go&&ui(function(){return Fl(ts({},"a",{get:function(){return ts(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=NN(Ji,t);r&&delete Ji[t],ts(e,t,n),r&&e!==Ji&&ts(Ji,t,r)}:ts,VA=function(e,t){var n=qa[e]=Fl(es);return kie(n,{type:"Symbol",tag:e,description:t}),Go||(n.description=t),n},Xm=function(e,t,n){e===Ji&&Xm(bh,t,n),Nl(e);var r=Of(t);return Nl(n),hn(qa,r)?(n.enumerable?(hn(e,Ko)&&e[Ko][r]&&(e[Ko][r]=!1),n=Fl(n,{enumerable:Tl(0,!1)})):(hn(e,Ko)||ts(e,Ko,Tl(1,{})),e[Ko][r]=!0),HA(e,r,n)):ts(e,r,n)},kN=function(e,t){Nl(e);var n=ya(t),r=NA(n).concat(WA(n));return Km(r,function(o){Go&&!Yi(LN,n,o)||Xm(e,o,n[o])}),e},LN=function(e){var t=Of(e),n=Yi(Lie,this,t);return!(this===Ji&&hn(qa,t)&&!hn(bh,t))&&(!(n||!hn(this,t)||!hn(qa,t)||hn(this,Ko)&&this[Ko][t])||n)},MN=function(e,t){var n=ya(e),r=Of(t);if(n!==Ji||!hn(qa,r)||hn(bh,r)){var o=NN(n,r);return!o||!hn(qa,r)||hn(n,Ko)&&n[Ko][r]||(o.enumerable=!0),o}},IN=function(e){var t=BN(ya(e)),n=[];return Km(t,function(r){hn(qa,r)||hn(vh,r)||FN(n,r)}),n},WA=function(e){var t=e===Ji,n=BN(t?bh:ya(e)),r=[];return Km(n,function(o){!hn(qa,o)||t&&!hn(Ji,o)||FN(r,qa[o])}),r};if(ba||(es=($u=function(){if(Yj(es,this))throw jN("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?Im(arguments[0]):void 0,t=Bm(e),n=function(r){this===Ji&&Yi(n,bh,r),hn(this,Ko)&&hn(this[Ko],t)&&(this[Ko][t]=!1),HA(this,t,Tl(1,r))};return Go&&zA&&HA(Ji,t,{configurable:!0,set:n}),VA(t,e)}).prototype,_f(es,"toString",function(){return RN(this).tag}),_f($u,"withoutSetter",function(e){return VA(Bm(e),e)}),CA.f=LN,Bl.f=Xm,OA.f=MN,wN.f=SN.f=IN,FA.f=WA,kA.f=function(e){return VA(si(e),e)},Go&&ts(es,"description",{configurable:!0,get:function(){return RN(this).description}})),Qu({global:!0,wrap:!0,forced:!ba,sham:!ba},{Symbol:$u}),Km(NA(Mie),function(e){Ar(e)}),Qu({target:"Symbol",stat:!0,forced:!ba},{for:function(e){var t=Im(e);if(hn(IA,t))return IA[t];var n=$u(t);return IA[t]=n,UA[n]=t,n},keyFor:function(e){if(!Df(e))throw jN(e+" is not a symbol");if(hn(UA,e))return UA[e]},useSetter:function(){zA=!0},useSimple:function(){zA=!1}}),Qu({target:"Object",stat:!0,forced:!ba,sham:!Go},{create:function(e,t){return t===void 0?Fl(e):kN(Fl(e),t)},defineProperty:Xm,defineProperties:kN,getOwnPropertyDescriptor:MN}),Qu({target:"Object",stat:!0,forced:!ba},{getOwnPropertyNames:IN,getOwnPropertySymbols:WA}),Qu({target:"Object",stat:!0,forced:ui(function(){FA.f(1)})},{getOwnPropertySymbols:function(e){return FA.f(dh(e))}}),yh){var Iie=!ba||ui(function(){var e=$u();return yh([e])!="[null]"||yh({a:e})!="{}"||yh(Object(e))!="{}"});Qu({target:"JSON",stat:!0,forced:Iie},{stringify:function(e,t,n){var r=_ie(arguments),o=t;if((_i(t)||e!==void 0)&&!Df(e))return Fm(t)||(t=function(i,a){if(go(o)&&(a=Yi(o,this,i,a)),!Df(a))return a}),r[1]=t,Hj(yh,null,r)}})}if(!es[PN]){var Uie=es.valueOf;_f(es,PN,function(e){return Yi(Uie,this)})}Gm($u,"Symbol"),vh[Ko]=!0,Ar("asyncIterator"),Ar("hasInstance"),Ar("isConcatSpreadable"),Ar("iterator"),Ar("match"),Ar("matchAll"),Ar("replace"),Ar("search"),Ar("species"),Ar("split"),Ar("toPrimitive"),Ar("toStringTag"),Ar("unscopables"),Gm(Kt.JSON,"JSON",!0);var ns,UN,zN,zie=Ti.Symbol,Ll={},HN=Function.prototype,Hie=Go&&Object.getOwnPropertyDescriptor,GA=hn(HN,"name"),Vie={EXISTS:GA,PROPER:GA&&function(){}.name==="something",CONFIGURABLE:GA&&(!Go||Go&&Hie(HN,"name").configurable)},Wie=!ui(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),VN=zm("IE_PROTO"),KA=Kt.Object,Gie=KA.prototype,XA=Wie?KA.getPrototypeOf:function(e){var t=dh(e);if(hn(t,VN))return t[VN];var n=t.constructor;return go(n)&&t instanceof n?n.prototype:t instanceof KA?Gie:null},YA=si("iterator"),WN=!1;[].keys&&("next"in(zN=[].keys())?(UN=XA(XA(zN)))!==Object.prototype&&(ns=UN):WN=!0);var Kie=ns==null||ui(function(){var e={};return ns[YA].call(e)!==e});ns=Kie?{}:Fl(ns),go(ns[YA])||_f(ns,YA,function(){return this});var GN={IteratorPrototype:ns,BUGGY_SAFARI_ITERATORS:WN},Xie=GN.IteratorPrototype,Yie=function(){return this};Kt.String,Kt.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{yr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array}catch(t){}}();var Jie=Vie.PROPER,Ym=GN.BUGGY_SAFARI_ITERATORS,JA=si("iterator"),Zie=function(){return this},KN=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=Fl(Xie,{next:Tl(1,b)}),Gm(m,w,!1,!0),Ll[w]=Yie}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!Ym&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[JA]||d["@@iterator"]||o&&d[o],g=!Ym&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=XA(v.call(new e)))!==Object.prototype&&u.next&&(Gm(u,f,!0,!0),Ll[f]=Zie),Jie&&o=="values"&&y&&y.name!=="values"&&(p=!0,g=function(){return Yi(y,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(Ym||p||!(l in d))&&_f(d,l,s[l]);else Qu({target:t,proto:!0,forced:Ym||p},s);return a&&d[JA]!==g&&_f(d,JA,g,{name:o}),Ll[t]=g,s},Qie=Pf.set,qie=Pf.getterFor("Array Iterator");KN(Array,"Array",function(e,t){Qie(this,{type:"Array Iterator",target:ya(e),index:0,kind:t})},function(){var e=qie(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Ll.Arguments=Ll.Array;var XN=si("toStringTag");for(var ZA in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var YN=Kt[ZA],QA=YN&&YN.prototype;QA&&Lm(QA)!==XN&&Ea(QA,XN,ZA),Ll[ZA]=Ll.Array}var $ie=zie;Ar("asyncDispose"),Ar("dispose"),Ar("matcher"),Ar("metadata"),Ar("observable"),Ar("patternMatch"),Ar("replaceAll");var Jm=$ie,eae=yr("".charAt),JN=yr("".charCodeAt),tae=yr("".slice),ZN=function(e){return function(t,n){var r,o,i=Im(xA(t)),a=_A(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=JN(i,a))<55296||r>56319||a+1===u||(o=JN(i,a+1))<56320||o>57343?e?eae(i,a):r:e?tae(i,a,a+2):o-56320+(r-55296<<10)+65536}},nae=(ZN(!1),ZN(!0)),rae=Pf.set,oae=Pf.getterFor("String Iterator");KN(String,"String",function(e){rae(this,{type:"String Iterator",string:Im(e),index:0})},function(){var e,t=oae(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=nae(n,r),t.index+=e.length,{value:e,done:!1})});var iae=kA.f("iterator"),aae=fm(function(e){function t(n){return typeof Jm=="function"&&typeof iae=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof Jm=="function"&&r.constructor===Jm&&r!==Jm.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),QN=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(aae),uae=ym.EXISTS,sae=hf.f,qN=Function.prototype,lae=_t(qN.toString),$N=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,cae=_t($N.exec);Ki&&!uae&&sae(qN,"name",{configurable:!0,get:function(){try{return cae($N,lae(this))[1]}catch(e){return""}}});var eB=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.mark,r=C.marks(t);return r&&r[n]?r[n]:""},e.prototype.isDisabled=function(t){return t.selection==null||(this.mark,!!pn(C.nodes(t,{match:function(n){return N.getNodeType(n)==="pre"||!!C.isVoid(t,n)},universal:!0}),1)[0])},e.prototype.exec=function(t,n){var r=this.mark;n?t.addMark(r,n):t.removeMark(r)},e}(),fae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("fontSize.title"),n.iconSvg=Ine,n.mark="fontSize",n}return tr(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:Me("fontSize.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u});else if(QN(u)==="object"){var s=u.name,l=u.value;r.push({text:s,value:l})}});var a=this.getValue(n);return r.forEach(function(u){u.value===a?u.selected=!0:delete u.selected}),r},t}(eB),dae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("fontFamily.title"),n.iconSvg=Une,n.mark="fontFamily",n.selectPanelWidth=150,n}return tr(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:Me("fontFamily.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u,styleForRenderMenuList:{"font-family":u}});else if(QN(u)==="object"){var s=u.name,l=u.value;r.push({text:s,value:l,styleForRenderMenuList:{"font-family":l}})}});var a=this.getValue(n);return r.forEach(function(u){u.value===a?u.selected=!0:delete u.selected}),r},t}(eB),pae={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,i=t;return r&&Ol(i,{fontSize:r}),o&&Ol(i,{fontFamily:o}),i},styleToHtml:function(e,t){if(!Ye.isText(e))return t;var n,r=e,o=r.fontSize,i=r.fontFamily;return o||i?((nA(t)||wf(n=k(t))!=="span")&&(n=k("<span>"+t+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),Cf(n)):t},preParseHtml:[woe],parseStyleHtml:function(e,t,n){var r=k(e);if(!Ye.isText(t))return t;var o=t,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,u=Xi(r,"font-size"),s=a.find(function(d){return d.value&&d.value===u})||a.includes(u);u&&s&&(o.fontSize=u);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=l===void 0?[]:l,f=Xi(r,"font-family").replace(/"/g,""),p=c.find(function(d){return d.value&&d.value===f})||c.includes(f);return f&&p&&(o.fontFamily=f),o},menus:[{key:"fontSize",factory:function(){return new fae},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new dae},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},hae={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=k(e),n=Xi(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},tB=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){var n=pn(C.nodes(t,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":pn(r,1)[0].indent||""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=pn(C.nodes(t,{match:function(r){var o=N.getNodeType(r);return o==="paragraph"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e}(),gae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("indent.decrease"),n.iconSvg=zne,n}return tr(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},t.prototype.exec=function(n,r){Z.setNodes(n,{indent:null},{match:function(o){return ft.isElement(o)}})},t}(tB),vae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("indent.increase"),n.iconSvg=Hne,n}return tr(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},t.prototype.exec=function(n,r){Z.setNodes(n,{indent:"2em"},{match:function(o){return ft.isElement(o)},mode:"highest"})},t}(tB),mae={renderStyle:function(e,t){if(!ft.isElement(e))return t;var n=e.indent,r=t;return n&&Ol(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!ft.isElement(e))return t;var n=e.indent;if(!n)return t;var r=k(t);return r.css("text-indent",n),Cf(r)},preParseHtml:[hae],parseStyleHtml:function(e,t,n){var r=k(e);if(!ft.isElement(t))return t;var o=t,i=Xi(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new vae}},{key:"delIndent",factory:function(){return new gae}}]},Zm=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=pn(C.nodes(t,{match:function(r){var o=N.getNodeType(r);return o==="paragraph"||o==="blockquote"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isDisabled=function(t){return t.selection==null||!!N.getSelectedElems(t).some(function(n){if(C.isVoid(t,n)&&C.isBlock(t,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},e}(),yae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("justify.left"),n.iconSvg=Vne,n}return tr(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"left"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},t}(Zm),bae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("justify.right"),n.iconSvg=Wne,n}return tr(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"right"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},t}(Zm),Eae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("justify.center"),n.iconSvg=Gne,n}return tr(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"center"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},t}(Zm),Cae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Me("justify.justify"),n.iconSvg=Kne,n}return tr(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"justify"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},t}(Zm),wae={renderStyle:function(e,t){if(!ft.isElement(e))return t;var n=e.textAlign,r=t;return n&&Ol(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!ft.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=k(t);return r.css("text-align",n),Cf(r)},parseStyleHtml:function(e,t,n){var r=k(e);if(!ft.isElement(t))return t;var o=t,i=Xi(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new yae}},{key:"justifyRight",factory:function(){return new bae}},{key:"justifyCenter",factory:function(){return new Eae}},{key:"justifyJustify",factory:function(){return new Cae}}]},xae=function(){function e(){this.title=Me("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("lineHeight").lineHeightList,o=r===void 0?[]:r;n.push({text:Me("lineHeight.default"),value:""}),o.forEach(function(a){n.push({text:a,value:a})});var i=this.getValue(t);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},e.prototype.getMatchNode=function(t){var n=pn(C.nodes(t,{match:function(r){var o=N.getNodeType(r);return!!o.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(o)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getMatchNode(t);return n==null?"":ft.isElement(n)&&n.lineHeight||""},e.prototype.isDisabled=function(t){return t.selection==null||this.getMatchNode(t)==null},e.prototype.exec=function(t,n){Z.setNodes(t,{lineHeight:n.toString()},{mode:"highest"})},e}(),Aae={renderStyle:function(e,t){if(!ft.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Ol(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!ft.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=k(t);return r.css("line-height",n),Cf(r)},parseStyleHtml:function(e,t,n){var r=k(e);if(!ft.isElement(t))return t;var o=t,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,u=Xi(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o},menus:[{key:"lineHeight",factory:function(){return new xae},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Sae=function(){function e(){this.title=Me("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.redo=="function"&&t.redo()},e}(),Dae=function(){function e(){this.title=Me("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.undo=="function"&&t.undo()},e}(),Oae={menus:[{key:"redo",factory:function(){return new Sae}},{key:"undo",factory:function(){return new Dae}}]},_ae={type:"divider",renderElem:function(e,t,n){return Fc("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:N.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[Fc("hr")])}},Tae=function(){function e(){this.title=Me("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!N.getSelectedElems(t).some(function(n){if(t.isVoid(n))return!0;var r=N.getNodeType(n);return r==="table"||r==="pre"||void 0})},e.prototype.exec=function(t,n){Z.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),Pae={renderElems:[_ae],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new Tae}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(o){return o.type==="divider"||t(o)},r.normalizeNode=function(o){var i=pn(o,2),a=i[0],u=i[1];if(N.getNodeType(a)!=="divider")return n([a,u]);N.isLastNode(r,a)&&Z.insertNodes(r,N.genEmptyParagraph(),{at:[u[0]+1]})},r}},Rae=wm.map;Xr({target:"Array",proto:!0,forced:!Fx("map")},{map:function(e){return Rae(this,e,arguments.length>1?arguments[1]:void 0)}});var jae=_t([].join),Nae=hm!=Object,Bae=cj("join",",");Xr({target:"Array",proto:!0,forced:Nae||!Bae},{join:function(e){return jae(pf(this),e===void 0?",":e)}});var Fae=function(){function e(){this.title=Me("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(t){var n=N.getSelectedNodeByType(t,"code");if(n==null)return null;var r=N.getParentNode(t,n);return r==null||N.getNodeType(r)!=="pre"?null:n},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);return n==null?"":n.language||""},e.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},e.prototype.isDisabled=function(t){if(t.selection==null)return!0;var n=N.getSelectedElems(t);return!!n.some(function(r){return t.isVoid(r)})||!n.some(function(r){var o=N.getNodeType(r);if(o==="pre"||o==="paragraph")return!0})},e.prototype.exec=function(t,n){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,n.toString())},e.prototype.changeToPlainText=function(t){var n=this.getSelectCodeElem(t);if(n!=null){var r=Le.string(n);Z.removeNodes(t,{mode:"highest"});var o=r.split(`
`).map(function(i){return{type:"paragraph",children:[{text:i}]}});Z.insertNodes(t,o,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(t,n){var r,o,i=[],a=C.nodes(t,{match:function(f){return t.children.includes(f)},universal:!0});try{for(var u=aj(a),s=u.next();!s.done;s=u.next()){var l=pn(s.value,1)[0];l&&i.push(Le.string(l))}}catch(f){r={error:f}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}Z.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:i.join(`
`)}]}]};Z.insertNodes(t,c,{mode:"highest"})},e}(),kae={key:"codeBlock",factory:function(){return new Fae}};Xr({target:"String",proto:!0,forced:oh("anchor")},{anchor:function(e){return rh(this,"a","name",e)}}),Kx("match",function(e,t,n){return[function(r){var o=Si(this),i=r==null?void 0:gm(r,e);return i?mr(i,r,o):new RegExp(r)[e](lr(o))},function(r){var o=ai(this),i=lr(r),a=n(t,o,i);if(a.done)return a.value;if(!o.global)return th(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=th(o,i))!==null;){var f=lr(s[0]);l[c]=f,f===""&&(o.lastIndex=Xx(i,Qp(o.lastIndex),u)),c++}return c===0?null:l}]});var Lae={type:"pre",renderElem:function(e,t,n){return Pt("pre",null,t)}},Mae={type:"code",renderElem:function(e,t,n){return Pt("code",null,t)}},Iae={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e);return(t=t.filter(function(o){return N.getNodeType(o)==="code"})).length===0&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(o){return N.getNodeType(o)==="code"})}}},Uae={menus:[kae],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var i=N.getSelectedNodeByType(o,"code");if(i!=null){var a=function(l,c){var f=c.selection;if(f==null)return"";var p=Le.string(l),d=f.anchor.offset,y=p.slice(0,d).split(`
`),g=y.length;return g===0?"":y[g-1]}(i,o);if(a){var u=a.match(/^\s+/);if(u!=null&&u[0]!=null){var s=u[0];return void o.insertText(`
`+s)}}o.insertText(`
`)}else t()},o.normalizeNode=function(i){var a=pn(i,2),u=a[0],s=a[1],l=N.getNodeType(u);return l==="code"&&s.length<=1&&Z.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(N.isLastNode(o,u)&&Z.insertNodes(o,N.genEmptyParagraph(),{at:[s[0]+1]}),N.getNodeType(u.children[0])!=="code"&&(Z.unwrapNodes(o),Z.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([u,s])},o.insertData=function(i){if(N.getSelectedNodeByType(o,"code")!=null){var a=i.getData("text/plain");C.insertText(o,a)}else r(i)},o},renderElems:[Lae,Mae],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=k(e);if(wf(t)!=="code")return e;var n=t.find("xmp");if(n.length===0)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:k(e)[0].textContent||""}]}}},Iae]},zae=function(){function e(){this.title=Me("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return t.isFullScreen},e.prototype.isDisabled=function(t){return!1},e.prototype.exec=function(t,n){t.isFullScreen?t.unFullScreen():t.fullScreen()},e}(),Hae={menus:[{key:"fullScreen",factory:function(){return new zae}}]},Vae=function(){function e(){this.title=Me("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!!re.isExpanded(n)},e.prototype.exec=function(t,n){var r=t.selection;if(r!=null){var o=[r.anchor.path[0]];Z.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:o}),t.select(C.start(t,o))}},e}(),Wae=[rre,Fre,pae,mae,wae,Aae,ioe,Pae,Eoe,Kre,Uae,yoe,Pre,Dne,loe,Oae,Hae,{menus:[{key:"enter",factory:function(){return new Vae}}]}];Wo("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Wo("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var nB=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function qA(e){var t={exports:{}};return e(t,t.exports),t.exports}var rs,Qm,qm=function(e){return e&&e.Math==Math&&e},Rt=qm(typeof globalThis=="object"&&globalThis)||qm(typeof window=="object"&&window)||qm(typeof self=="object"&&self)||qm(typeof nB=="object"&&nB)||function(){return this}()||Function("return this")(),rB=Function.prototype,$A=rB.bind,eS=rB.call,Gae=$A&&$A.bind(eS),Zt=$A?function(e){return e&&Gae(eS,e)}:function(e){return e&&function(){return eS.apply(e,arguments)}},dr=function(e){try{return!!e()}catch(t){return!0}},Kae=Zt({}.toString),Xae=Zt("".slice),$a=function(e){return Xae(Kae(e),8,-1)},tS=Rt.Object,Yae=Zt("".split),oB=dr(function(){return!tS("z").propertyIsEnumerable(0)})?function(e){return $a(e)=="String"?Yae(e,""):tS(e)}:tS,Jae=Rt.TypeError,$m=function(e){if(e==null)throw Jae("Can't call method on "+e);return e},Rf=function(e){return oB($m(e))},Zae=Object.defineProperty,nS=function(e,t){try{Zae(Rt,e,{value:t,configurable:!0,writable:!0})}catch(n){Rt[e]=t}return t},os=Rt["__core-js_shared__"]||nS("__core-js_shared__",{}),rS=qA(function(e){(e.exports=function(t,n){return os[t]||(os[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Qae=Rt.Object,Eh=function(e){return Qae($m(e))},qae=Zt({}.hasOwnProperty),Yr=Object.hasOwn||function(e,t){return qae(Eh(e),t)},$ae=0,eue=Math.random(),tue=Zt(1 .toString),oS=function(e){return"Symbol("+(e===void 0?"":e)+")_"+tue(++$ae+eue,36)},pr=function(e){return typeof e=="function"},nue=function(e){return pr(e)?e:void 0},Ch=function(e,t){return arguments.length<2?nue(Rt[e]):Rt[e]&&Rt[e][t]},iS=Ch("navigator","userAgent")||"",iB=Rt.process,aB=Rt.Deno,uB=iB&&iB.versions||aB&&aB.version,sB=uB&&uB.v8;sB&&(Qm=(rs=sB.split("."))[0]>0&&rs[0]<4?1:+(rs[0]+rs[1])),!Qm&&iS&&(!(rs=iS.match(/Edge\/(\d+)/))||rs[1]>=74)&&(rs=iS.match(/Chrome\/(\d+)/))&&(Qm=+rs[1]);var ey,aS=Qm,uS=!!Object.getOwnPropertySymbols&&!dr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&aS&&aS<41}),sS=uS&&!Symbol.sham&&typeof Symbol.iterator=="symbol",wh=rS("wks"),Ml=Rt.Symbol,lB=Ml&&Ml.for,rue=sS?Ml:Ml&&Ml.withoutSetter||oS,vo=function(e){if(!Yr(wh,e)||!uS&&typeof wh[e]!="string"){var t="Symbol."+e;uS&&Yr(Ml,e)?wh[e]=Ml[e]:wh[e]=sS&&lB?lB(t):rue(t)}return wh[e]},hr=function(e){return typeof e=="object"?e!==null:pr(e)},oue=Rt.String,iue=Rt.TypeError,Xo=function(e){if(hr(e))return e;throw iue(oue(e)+" is not an object")},is=!dr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),lS=Rt.document,aue=hr(lS)&&hr(lS.createElement),cS=function(e){return aue?lS.createElement(e):{}},cB=!is&&!dr(function(){return Object.defineProperty(cS("div"),"a",{get:function(){return 7}}).a!=7}),xh=Function.prototype.call,Jr=xh.bind?xh.bind(xh):function(){return xh.apply(xh,arguments)},ty=Zt({}.isPrototypeOf),uue=Rt.Object,fS=sS?function(e){return typeof e=="symbol"}:function(e){var t=Ch("Symbol");return pr(t)&&ty(t.prototype,uue(e))},sue=Rt.String,dS=function(e){try{return sue(e)}catch(t){return"Object"}},lue=Rt.TypeError,pS=function(e){if(pr(e))return e;throw lue(dS(e)+" is not a function")},Ah=function(e,t){var n=e[t];return n==null?void 0:pS(n)},cue=Rt.TypeError,fue=Rt.TypeError,due=vo("toPrimitive"),hS=function(e){var t=function(n,r){if(!hr(n)||fS(n))return n;var o,i=Ah(n,due);if(i){if(r===void 0&&(r="default"),o=Jr(i,n,r),!hr(o)||fS(o))return o;throw fue("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&pr(s=a.toString)&&!hr(l=Jr(s,a)))return l;if(pr(s=a.valueOf)&&!hr(l=Jr(s,a)))return l;if(u!=="string"&&pr(s=a.toString)&&!hr(l=Jr(s,a)))return l;throw cue("Can't convert object to primitive value")}(n,r)}(e,"string");return fS(t)?t:t+""},pue=Rt.TypeError,fB=Object.defineProperty,Il={f:is?fB:function(e,t,n){if(Xo(e),t=hS(t),Xo(n),cB)try{return fB(e,t,n)}catch(r){}if("get"in n||"set"in n)throw pue("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},hue=Math.ceil,gue=Math.floor,Sh=function(e){var t=+e;return t!=t||t===0?0:(t>0?gue:hue)(t)},vue=Math.max,mue=Math.min,gS=function(e,t){var n=Sh(e);return n<0?vue(n+t,0):mue(n,t)},yue=Math.min,dB=function(e){return e>0?yue(Sh(e),9007199254740991):0},jf=function(e){return dB(e.length)},pB=function(e){return function(t,n,r){var o,i=Rf(t),a=jf(i),u=gS(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},hB={includes:pB(!0),indexOf:pB(!1)},ny={},bue=hB.indexOf,gB=Zt([].push),vB=function(e,t){var n,r=Rf(e),o=0,i=[];for(n in r)!Yr(ny,n)&&Yr(r,n)&&gB(i,n);for(;t.length>o;)Yr(r,n=t[o++])&&(~bue(i,n)||gB(i,n));return i},ry=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Eue=Object.keys||function(e){return vB(e,ry)},Cue=is?Object.defineProperties:function(e,t){Xo(e);for(var n,r=Rf(t),o=Eue(t),i=o.length,a=0;i>a;)Il.f(e,n=o[a++],r[n]);return e},wue=Ch("document","documentElement"),mB=rS("keys"),vS=function(e){return mB[e]||(mB[e]=oS(e))},yB=vS("IE_PROTO"),mS=function(){},bB=function(e){return"<script>"+e+"</script>"},EB=function(e){e.write(bB("")),e.close();var t=e.parentWindow.Object;return e=null,t},oy=function(){try{ey=new ActiveXObject("htmlfile")}catch(r){}var e,t;oy=typeof document!="undefined"?document.domain&&ey?EB(ey):((t=cS("iframe")).style.display="none",wue.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(bB("document.F=Object")),e.close(),e.F):EB(ey);for(var n=ry.length;n--;)delete oy.prototype[ry[n]];return oy()};ny[yB]=!0;var yS=Object.create||function(e,t){var n;return e!==null?(mS.prototype=Xo(e),n=new mS,mS.prototype=null,n[yB]=e):n=oy(),t===void 0?n:Cue(n,t)},bS=vo("unscopables"),ES=Array.prototype;ES[bS]==null&&Il.f(ES,bS,{configurable:!0,value:yS(null)});var Dh=function(e){ES[bS][e]=!0},Nf={},xue=Zt(Function.toString);pr(os.inspectSource)||(os.inspectSource=function(e){return xue(e)});var iy,Oh,ay,CS=os.inspectSource,CB=Rt.WeakMap,wB=pr(CB)&&/native code/.test(CS(CB)),uy=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},as=is?function(e,t,n){return Il.f(e,t,uy(1,n))}:function(e,t,n){return e[t]=n,e},wS=Rt.TypeError,Aue=Rt.WeakMap;if(wB||os.state){var Ul=os.state||(os.state=new Aue),Sue=Zt(Ul.get),xB=Zt(Ul.has),Due=Zt(Ul.set);iy=function(e,t){if(xB(Ul,e))throw new wS("Object already initialized");return t.facade=e,Due(Ul,e,t),t},Oh=function(e){return Sue(Ul,e)||{}},ay=function(e){return xB(Ul,e)}}else{var Bf=vS("state");ny[Bf]=!0,iy=function(e,t){if(Yr(e,Bf))throw new wS("Object already initialized");return t.facade=e,as(e,Bf,t),t},Oh=function(e){return Yr(e,Bf)?e[Bf]:{}},ay=function(e){return Yr(e,Bf)}}var zl,AB,SB,Ca={set:iy,get:Oh,has:ay,enforce:function(e){return ay(e)?Oh(e):iy(e,{})},getterFor:function(e){return function(t){var n;if(!hr(t)||(n=Oh(t)).type!==e)throw wS("Incompatible receiver, "+e+" required");return n}}},DB={}.propertyIsEnumerable,OB=Object.getOwnPropertyDescriptor,Oue={f:OB&&!DB.call({1:2},1)?function(e){var t=OB(this,e);return!!t&&t.enumerable}:DB},_B=Object.getOwnPropertyDescriptor,TB={f:is?_B:function(e,t){if(e=Rf(e),t=hS(t),cB)try{return _B(e,t)}catch(n){}if(Yr(e,t))return uy(!Jr(Oue.f,e,t),e[t])}},PB=Function.prototype,_ue=is&&Object.getOwnPropertyDescriptor,xS=Yr(PB,"name"),AS={EXISTS:xS,PROPER:xS&&function(){}.name==="something",CONFIGURABLE:xS&&(!is||is&&_ue(PB,"name").configurable)},wa=qA(function(e){var t=AS.CONFIGURABLE,n=Ca.get,r=Ca.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;pr(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Yr(u,"name")||t&&u.name!==d)&&as(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Rt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:as(i,a,u)):f?i[a]=u:nS(a,u)})(Function.prototype,"toString",function(){return pr(this)&&n(this).source||CS(this)})}),Tue=ry.concat("length","prototype"),sy={f:Object.getOwnPropertyNames||function(e){return vB(e,Tue)}},Pue={f:Object.getOwnPropertySymbols},Rue=Zt([].concat),jue=Ch("Reflect","ownKeys")||function(e){var t=sy.f(Xo(e)),n=Pue.f;return n?Rue(t,n(e)):t},Nue=function(e,t){for(var n=jue(t),r=Il.f,o=TB.f,i=0;i<n.length;i++){var a=n[i];Yr(e,a)||r(e,a,o(t,a))}},Bue=/#|\.prototype\./,_h=function(e,t){var n=kue[Fue(e)];return n==Mue||n!=Lue&&(pr(t)?dr(t):!!t)},Fue=_h.normalize=function(e){return String(e).replace(Bue,".").toLowerCase()},kue=_h.data={},Lue=_h.NATIVE="N",Mue=_h.POLYFILL="P",SS=_h,Iue=TB.f,us=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Rt:l?Rt[u]||nS(u,{}):(Rt[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Iue(n,r))&&a.value:n[r],!SS(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Nue(i,o)}(e.sham||o&&o.sham)&&as(i,"sham",!0),wa(n,r,i,e)}},Uue=!dr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),RB=vS("IE_PROTO"),DS=Rt.Object,zue=DS.prototype,ly=Uue?DS.getPrototypeOf:function(e){var t=Eh(e);if(Yr(t,RB))return t[RB];var n=t.constructor;return pr(n)&&t instanceof n?n.prototype:t instanceof DS?zue:null},OS=vo("iterator"),jB=!1;[].keys&&("next"in(SB=[].keys())?(AB=ly(ly(SB)))!==Object.prototype&&(zl=AB):jB=!0);var Hue=zl==null||dr(function(){var e={};return zl[OS].call(e)!==e});Hue&&(zl={}),pr(zl[OS])||wa(zl,OS,function(){return this});var _S={IteratorPrototype:zl,BUGGY_SAFARI_ITERATORS:jB},Vue=Il.f,NB=vo("toStringTag"),TS=function(e,t,n){e&&!Yr(e=n?e:e.prototype,NB)&&Vue(e,NB,{configurable:!0,value:t})},Wue=_S.IteratorPrototype,Gue=function(){return this},Kue=Rt.String,Xue=Rt.TypeError,cy=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Zt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,o){return Xo(r),function(i){if(typeof i=="object"||pr(i))return i;throw Xue("Can't set "+Kue(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),Yue=AS.PROPER,Jue=AS.CONFIGURABLE,BB=_S.IteratorPrototype,fy=_S.BUGGY_SAFARI_ITERATORS,Th=vo("iterator"),Zue=function(){return this},FB=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=yS(Wue,{next:uy(1,b)}),TS(m,w,!1),Nf[w]=Gue}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!fy&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[Th]||d["@@iterator"]||o&&d[o],g=!fy&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=ly(v.call(new e)))!==Object.prototype&&u.next&&(ly(u)!==BB&&(cy?cy(u,BB):pr(u[Th])||wa(u,Th,Zue)),TS(u,f,!0)),Yue&&o=="values"&&y&&y.name!=="values"&&(Jue?as(d,"name","values"):(p=!0,g=function(){return Jr(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(fy||p||!(l in d))&&wa(d,l,s[l]);else us({target:t,proto:!0,forced:fy||p},s);return d[Th]!==g&&wa(d,Th,g,{name:o}),Nf[t]=g,s},Que=Ca.set,que=Ca.getterFor("Array Iterator"),Ph=FB(Array,"Array",function(e,t){Que(this,{type:"Array Iterator",target:Rf(e),index:0,kind:t})},function(){var e=que(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Nf.Arguments=Nf.Array,Dh("keys"),Dh("values"),Dh("entries");var kB={};kB[vo("toStringTag")]="z";var PS=String(kB)==="[object z]",$ue=vo("toStringTag"),ese=Rt.Object,tse=$a(function(){return arguments}())=="Arguments",dy=PS?$a:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=ese(e),$ue))=="string"?n:tse?$a(t):(r=$a(t))=="Object"&&pr(t.callee)?"Arguments":r},nse=PS?{}.toString:function(){return"[object "+dy(this)+"]"};PS||wa(Object.prototype,"toString",nse,{unsafe:!0});var rse=Rt.String,eu=function(e){if(dy(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return rse(e)},ose=Zt("".charAt),LB=Zt("".charCodeAt),ise=Zt("".slice),MB=function(e){return function(t,n){var r,o,i=eu($m(t)),a=Sh(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=LB(i,a))<55296||r>56319||a+1===u||(o=LB(i,a+1))<56320||o>57343?e?ose(i,a):r:e?ise(i,a,a+2):o-56320+(r-55296<<10)+65536}},IB={codeAt:MB(!1),charAt:MB(!0)},ase=IB.charAt,use=Ca.set,sse=Ca.getterFor("String Iterator");FB(String,"String",function(e){use(this,{type:"String Iterator",string:eu(e),index:0})},function(){var e,t=sse(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=ase(n,r),t.index+=e.length,{value:e,done:!1})});var RS=function(e,t,n){for(var r in t)wa(e,r,t[r],n);return e},lse=Rt.Array,cse=Math.max,UB=sy.f,zB=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fse={f:function(e){return zB&&$a(e)=="Window"?function(t){try{return UB(t)}catch(n){return function(r,o,i){for(var a,u,s,l,c=jf(r),f=gS(void 0,c),p=gS(c,c),d=lse(cse(p-f,0)),y=0;f<p;f++,y++)a=d,u=y,s=r[f],(l=hS(u))in a?Il.f(a,l,uy(0,s)):a[l]=s;return d.length=y,d}(zB)}}(e):UB(Rf(e))}},HB=dr(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),py=Object.isExtensible,Hl=dr(function(){py(1)})||HB?function(e){return!!hr(e)&&(!HB||$a(e)!="ArrayBuffer")&&(!py||py(e))}:py,dse=!dr(function(){return Object.isExtensible(Object.preventExtensions({}))}),jS=qA(function(e){var t=Il.f,n=!1,r=oS("meta"),o=0,i=function(u){t(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var u=sy.f,s=Zt([].splice),l={};l[r]=1,u(l).length&&(sy.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},us({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:fse.f}))},fastKey:function(u,s){if(!hr(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Yr(u,r)){if(!Hl(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Yr(u,r)){if(!Hl(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return dse&&n&&Hl(u)&&!Yr(u,r)&&i(u),u}};ny[r]=!0}),VB=Zt(Zt.bind),NS=function(e,t){return pS(e),t===void 0?e:VB?VB(e,t):function(){return e.apply(t,arguments)}},pse=vo("iterator"),hse=Array.prototype,gse=vo("iterator"),WB=function(e){if(e!=null)return Ah(e,gse)||Ah(e,"@@iterator")||Nf[dy(e)]},vse=Rt.TypeError,GB=function(e,t,n){var r,o;Xo(e);try{if(!(r=Ah(e,"return"))){if(t==="throw")throw n;return n}r=Jr(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return Xo(r),n},mse=Rt.TypeError,hy=function(e,t){this.stopped=e,this.result=t},KB=hy.prototype,XB=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=NS(t,f),v=function(h){return r&&GB(r,"normal",h),new hy(!0,h)},m=function(h){return p?(Xo(h),y?g(h[0],h[1],v):g(h[0],h[1])):y?g(h,v):g(h)};if(d)r=e;else{if(!(o=WB(e)))throw mse(dS(e)+" is not iterable");if((c=o)!==void 0&&(Nf.Array===c||hse[pse]===c)){for(i=0,a=jf(e);a>i;i++)if((u=m(e[i]))&&ty(KB,u))return u;return new hy(!1)}r=function(h,b){var E=arguments.length<2?WB(h):b;if(pS(E))return Xo(Jr(E,h));throw vse(dS(h)+" is not iterable")}(e,o)}for(s=r.next;!(l=Jr(s,r)).done;){try{u=m(l.value)}catch(h){GB(r,"throw",h)}if(typeof u=="object"&&u&&ty(KB,u))return u}return new hy(!1)},yse=Rt.TypeError,YB=function(e,t){if(ty(t,e))return e;throw yse("Incorrect invocation")},JB=vo("iterator"),ZB=!1;try{var bse=0,QB={next:function(){return{done:!!bse++}},return:function(){ZB=!0}};QB[JB]=function(){return this},Array.from(QB,function(){throw 2})}catch(e){}var BS=Array.isArray||function(e){return $a(e)=="Array"},qB=function(){},Ese=[],$B=Ch("Reflect","construct"),FS=/^\s*(?:class|function)\b/,Cse=Zt(FS.exec),wse=!FS.exec(qB),Rh=function(e){if(!pr(e))return!1;try{return $B(qB,Ese,e),!0}catch(t){return!1}},xse=!$B||dr(function(){var e;return Rh(Rh.call)||!Rh(Object)||!Rh(function(){e=!0})||e})?function(e){if(!pr(e))return!1;switch(dy(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return wse||!!Cse(FS,CS(e))}:Rh,Ase=vo("species"),eF=Rt.Array,tF=function(e,t){return new(function(n){var r;return BS(n)&&(r=n.constructor,(xse(r)&&(r===eF||BS(r.prototype))||hr(r)&&(r=r[Ase])===null)&&(r=void 0)),r===void 0?eF:r}(e))(t===0?0:t)},nF=Zt([].push),ss=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=Eh(s),g=oB(y),v=NS(l,c),m=jf(g),h=0,b=f||tF,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:nF(E,p)}else switch(e){case 4:return!1;case 7:nF(E,p)}return i?-1:r||o?o:E}},kS={forEach:ss(0),map:ss(1),filter:ss(2),some:ss(3),every:ss(4),find:ss(5),findIndex:ss(6),filterReject:ss(7)},gy=jS.getWeakData,Sse=Ca.set,Dse=Ca.getterFor,Ose=kS.find,_se=kS.findIndex,Tse=Zt([].splice),Pse=0,vy=function(e){return e.frozen||(e.frozen=new rF)},rF=function(){this.entries=[]},LS=function(e,t){return Ose(e.entries,function(n){return n[0]===t})};rF.prototype={get:function(e){var t=LS(this,e);if(t)return t[1]},has:function(e){return!!LS(this,e)},set:function(e,t){var n=LS(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=_se(this.entries,function(n){return n[0]===e});return~t&&Tse(this.entries,t,1),!!~t}};var jh,oF={getConstructor:function(e,t,n,r){var o=e(function(s,l){YB(s,i),Sse(s,{type:t,id:Pse++,frozen:void 0}),l!=null&&XB(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Dse(t),u=function(s,l,c){var f=a(s),p=gy(Xo(l),!0);return p===!0?vy(f).set(l,c):p[f.id]=c,s};return RS(i,{delete:function(s){var l=a(this);if(!hr(s))return!1;var c=gy(s);return c===!0?vy(l).delete(s):c&&Yr(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!hr(s))return!1;var c=gy(s);return c===!0?vy(l).has(s):c&&Yr(c,l.id)}}),RS(i,n?{get:function(s){var l=a(this);if(hr(s)){var c=gy(s);return c===!0?vy(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},my=Ca.enforce,Rse=!Rt.ActiveXObject&&"ActiveXObject"in Rt,iF=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},jse=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Rt[e],u=a&&a.prototype,s=a,l={},c=function(v){var m=Zt(u[v]);wa(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!hr(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!hr(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!hr(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(SS(e,!pr(a)||!(o||u.forEach&&!dr(function(){new a().entries().next()}))))s=n.getConstructor(t,e,r,i),jS.enable();else if(SS(e,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=dr(function(){f.has(1)}),y=function(v,m){if(!ZB)return!1;var h=!1;try{var b={};b[JB]=function(){return{next:function(){return{done:h=!0}}}},function(E){new a(E)}(b)}catch(E){}return h}(),g=!o&&dr(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=t(function(v,m){YB(v,u);var h=function(b,E,w){var S,x;return cy&&pr(S=E.constructor)&&S!==w&&hr(x=S.prototype)&&x!==w.prototype&&cy(b,x),b}(new a,v,s);return m!=null&&XB(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,us({global:!0,forced:s!=a},l),TS(s,e),o||n.setStrong(s,e,r),s}("WeakMap",iF,oF);if(wB&&Rse){jh=oF.getConstructor(iF,"WeakMap",!0),jS.enable();var Nh=jse.prototype,aF=Zt(Nh.delete),yy=Zt(Nh.has),uF=Zt(Nh.get),sF=Zt(Nh.set);RS(Nh,{delete:function(e){if(hr(e)&&!Hl(e)){var t=my(this);return t.frozen||(t.frozen=new jh),aF(this,e)||t.frozen.delete(e)}return aF(this,e)},has:function(e){if(hr(e)&&!Hl(e)){var t=my(this);return t.frozen||(t.frozen=new jh),yy(this,e)||t.frozen.has(e)}return yy(this,e)},get:function(e){if(hr(e)&&!Hl(e)){var t=my(this);return t.frozen||(t.frozen=new jh),yy(this,e)?uF(this,e):t.frozen.get(e)}return uF(this,e)},set:function(e,t){if(hr(e)&&!Hl(e)){var n=my(this);n.frozen||(n.frozen=new jh),yy(this,e)?sF(this,e,t):n.frozen.set(e,t)}else sF(this,e,t);return this}})}var lF={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},MS=cS("span").classList,cF=MS&&MS.constructor&&MS.constructor.prototype,Nse=cF===Object.prototype?void 0:cF,IS=vo("iterator"),fF=vo("toStringTag"),US=Ph.values,dF=function(e,t){if(e){if(e[IS]!==US)try{as(e,IS,US)}catch(r){e[IS]=US}if(e[fF]||as(e,fF,t),lF[t]){for(var n in Ph)if(e[n]!==Ph[n])try{as(e,n,Ph[n])}catch(r){e[n]=Ph[n]}}}};for(var zS in lF)dF(Rt[zS]&&Rt[zS].prototype,zS);dF(Nse,"DOMTokenList");var HS=new WeakMap,Bse={type:"list-item",renderElem:function(e,t,n){HS.set(e,n);var r=e,o=r.level,i=o===void 0?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(a!==void 0&&a){var l=function(f,p){var d=p,y=d.type,g=d.level,v=g===void 0?0:g,m=d.ordered,h=m!==void 0&&m;if(!h)return-1;var b=1,E=p,w=N.findPath(f,E);if(w[0]===0)return 1;for(;w[0]>0;){var S=X.previous(w),x=C.node(f,S);if(x==null)break;var B=x[0],U=B.level,oe=U===void 0?0:U,fe=B.type,ie=B.ordered;if(fe!==y)break;if(oe<v)break;if(oe===v){if(ie!==h)break;b++}E=B,w=S}return b}(n,e);s=l+"."}else s=function(f){f===void 0&&(f=0);var p="";switch(f){case 0:p="\u2022";break;case 1:p="\u25E6";break;default:p="\u25AA"}return p}(i);var c=function(f){var p,d=f.children||[],y=d.length;if(y===0)return"";for(var g=0;g<y&&!p;g++){var v=d[g];Ye.isText(v)&&(p=v)}return p==null?"":p.color||""}(e);return Pt("div",{style:u},Pt("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),Pt("span",null,t))}},VS=function(e,t){return VS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},VS(e,t);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */};function pF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}VS(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function hF(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Bh(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function gF(e){return C.nodes(e,{at:e.selection||void 0,match:function(t){return N.findPath(e,t).length===1}})}var Fse=hB.includes;us({target:"Array",proto:!0},{includes:function(e){return Fse(this,e,arguments.length>1?arguments[1]:void 0)}}),Dh("includes");var vF,WS,kse=function(){var e=Xo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},GS=Rt.RegExp,KS=dr(function(){var e=GS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Lse=KS||dr(function(){return!GS("a","y").sticky}),Mse={BROKEN_CARET:KS||dr(function(){var e=GS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Lse,UNSUPPORTED_Y:KS},Ise=Rt.RegExp,Use=dr(function(){var e=Ise(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),zse=Rt.RegExp,Hse=dr(function(){var e=zse("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Vse=Ca.get,Wse=rS("native-string-replace",String.prototype.replace),by=RegExp.prototype.exec,XS=by,Gse=Zt("".charAt),Kse=Zt("".indexOf),Xse=Zt("".replace),YS=Zt("".slice),JS=(WS=/b*/g,Jr(by,vF=/a/,"a"),Jr(by,WS,"a"),vF.lastIndex!==0||WS.lastIndex!==0),mF=Mse.BROKEN_CARET,ZS=/()??/.exec("")[1]!==void 0;(JS||ZS||mF||Use||Hse)&&(XS=function(e){var t,n,r,o,i,a,u,s=this,l=Vse(s),c=eu(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Jr(XS,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=mF&&s.sticky,y=Jr(kse,s),g=s.source,v=0,m=c;if(d&&(y=Xse(y,"y",""),Kse(y,"g")===-1&&(y+="g"),m=YS(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Gse(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),ZS&&(n=new RegExp("^"+g+"$(?!\\s)",y)),JS&&(r=s.lastIndex),o=Jr(by,d?n:s,m),d?o?(o.input=YS(o.input,v),o[0]=YS(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:JS&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),ZS&&o&&o.length>1&&Jr(Wse,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=yS(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Ey=XS;us({target:"RegExp",proto:!0,forced:/./.exec!==Ey},{exec:Ey});var yF=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(t){var n=this.type;return N.getSelectedNodeByType(t,n)},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){var n=this.getListNode(t);if(n==null)return!1;var r=n.ordered;return(r!==void 0&&r)===this.ordered},e.prototype.isDisabled=function(t){return t.selection==null||!!N.getSelectedElems(t).some(function(n){if(C.isVoid(t,n)&&C.isBlock(t,n))return!0;var r=n.type;return!!["pre","code","table"].includes(r)||void 0})},e.prototype.exec=function(t,n){this.isActive(t)?Z.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):Z.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),Yse='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',Jse='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',Zse=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!1,n.title=Me("listModule.unOrderedList"),n.iconSvg=Yse,n}return pF(t,e),t}(yF),Qse=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!0,n.title=Me("listModule.orderedList"),n.iconSvg=Jse,n}return pF(t,e),t}(yF),qse={key:"bulletedList",factory:function(){return new Zse}},$se={key:"numberedList",factory:function(){return new Qse}},bF=[],ele={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=o!==void 0&&o?"ol":"ul",a=function(l){var c=HS.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,y=d!==void 0&&d,g=f.level,v=g===void 0?0:g,m=N.findPath(c,l);if(m[0]===0)return v+1;var h=X.previous(m),b=C.node(c,h);if(!b)return 0;var E=Bh(b,1)[0];if(N.getNodeType(E)!==p)return v+1;var w=E,S=w.ordered,x=S!==void 0&&S,B=w.level,U=B===void 0?0:B;return U<v?v-U:U>v?0:U===v?x===y?0:1:0}(e);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",bF.push(i);var s=function(l){var c=HS.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,y=d!==void 0&&d,g=f.level,v=g===void 0?0:g,m=N.findPath(c,l);if(m[0]===c.children.length-1)return v+1;var h=X.next(m),b=C.node(c,h);if(!b)return 0;var E=Bh(b,1)[0];if(N.getNodeType(E)!==p)return v+1;var w=E,S=w.ordered,x=S!==void 0&&S,B=w.level,U=B===void 0?0:B;return U<v?v-U:U>v?0:U===v?x===y?0:1:0}(e);if(s>0)for(u=0;u<s;u++)r+="</"+bF.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},tle=vo("species"),nle=kS.filter,rle=aS>=51||!dr(function(){var e=[];return(e.constructor={})[tle]=function(){return{foo:1}},e.filter(Boolean).foo!==1});us({target:"Array",proto:!0,forced:!rle},{filter:function(e){return nle(this,e,arguments.length>1?arguments[1]:void 0)}});var QS=Function.prototype,EF=QS.apply,ole=QS.bind,CF=QS.call,ile=typeof Reflect=="object"&&Reflect.apply||(ole?CF.bind(EF):function(){return CF.apply(EF,arguments)}),wF=(vo("species"),RegExp.prototype),ale=IB.charAt,ule=function(e,t,n){return t+(n?ale(e,t).length:1)},sle=Math.floor,qS=Zt("".charAt),lle=Zt("".replace),$S=Zt("".slice),cle=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,fle=/\$([$&'`]|\d{1,2})/g,dle=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=fle;return o!==void 0&&(o=Eh(o),s=cle),lle(i,s,function(l,c){var f;switch(qS(c,0)){case"$":return"$";case"&":return e;case"`":return $S(t,0,n);case"'":return $S(t,a);case"<":f=o[$S(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=sle(p/10);return d===0?l:d<=u?r[d-1]===void 0?qS(c,1):r[d-1]+qS(c,1):l}f=r[p-1]}return f===void 0?"":f})},ple=Rt.TypeError,hle=function(e,t){var n=e.exec;if(pr(n)){var r=Jr(n,e,t);return r!==null&&Xo(r),r}if($a(e)==="RegExp")return Jr(Ey,e,t);throw ple("RegExp#exec called on incompatible receiver")},eD=vo("replace"),gle=Math.max,vle=Math.min,mle=Zt([].concat),tD=Zt([].push),xF=Zt("".indexOf),AF=Zt("".slice),yle="a".replace(/./,"$0")==="$0",SF=!!/./[eD]&&/./[eD]("a","$0")==="";!function(e,t,n,r){var o=vo(e),i=!dr(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!dr(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Zt(/./[o]),s=function(l,c,f){var p=SF?"$":"$0";return[function(d,y){var g=$m(this),v=d==null?void 0:Ah(d,eD);return v?Jr(v,d,g,y):Jr(c,eu(g),d,y)},function(d,y){var g=Xo(this),v=eu(d);if(typeof y=="string"&&xF(y,p)===-1&&xF(y,"$<")===-1){var m=f(c,g,v,y);if(m.done)return m.value}var h=pr(y);h||(y=eu(y));var b=g.global;if(b){var E=g.unicode;g.lastIndex=0}for(var w=[];;){var S=hle(g,v);if(S===null)break;if(tD(w,S),!b)break;eu(S[0])===""&&(g.lastIndex=ule(v,dB(g.lastIndex),E))}for(var x,B="",U=0,oe=0;oe<w.length;oe++){for(var fe=eu((S=w[oe])[0]),ie=gle(vle(Sh(S.index),v.length),0),De=[],me=1;me<S.length;me++)tD(De,(x=S[me])===void 0?x:String(x));var ye=S.groups;if(h){var we=mle([fe],De,ie,v);ye!==void 0&&tD(we,ye);var Ve=eu(ile(y,void 0,we))}else Ve=dle(fe,v,ie,De,ye,y);ie>=U&&(B+=AF(v,U,ie)+Ve,U=ie+fe.length)}return B+AF(v,U)}]}(0,""[e],function(l,c,f,p,d){var y=Zt(l),g=c.exec;return g===Ey||g===wF.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});wa(String.prototype,e,s[0]),wa(wF,o,s[1])}}("replace",0,!!dr(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!yle||SF);var ble=Rt.TypeError,DF=function(e,t,n,r,o,i,a,u){for(var s,l,c=o,f=0,p=!!a&&NS(a,u);f<r;){if(f in n){if(s=p?p(n[f],f,t):n[f],i>0&&BS(s))l=jf(s),c=DF(e,t,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw ble("Exceed the acceptable array length");e[c]=s}c++}f++}return c},Ele=DF;function nD(e){return e.length?e[0].tagName.toLowerCase():""}us({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Eh(this),n=jf(t),r=tF(t,0);return r.length=Ele(r,t,t,n,0,e===void 0?1:Sh(e)),r}}),Dh("flat"),us({global:!0},{globalThis:Rt}),mi&&(k.fn.append=mi),vi&&(k.fn.attr=vi),Pc&&(k.fn.parent=Pc);var Cle={renderElems:[Bse],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(re.isExpanded(a))t(i);else{var u=N.getSelectedNodeByType(o,"list-item");if(u!=null)if(a.focus.offset!==0)t(i);else{var s=u.level,l=s===void 0?0:s;l>0?Z.setNodes(o,{level:l-1}):Z.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else t(i)}else t(i)},o.handleTab=function(){var i,a,u,s,l=o.selection;if(l!=null){if(re.isCollapsed(l)){var c=N.getSelectedNodeByType(o,"list-item");if(c==null)return void n();if(l.focus.offset===0){var f=c.level,p=f===void 0?0:f;return void Z.setNodes(o,{level:p+1})}}if(re.isExpanded(l)){var d=0,y=!1;try{for(var g=hF(gF(o)),v=g.next();!v.done;v=g.next()){var m=Bh(v.value,1)[0];N.getNodeType(m)==="list-item"?d++:y=!0}}catch(x){i={error:x}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(y||d<=1)return void n();try{for(var h=hF(gF(o)),b=h.next();!b.done;b=h.next()){var E=Bh(b.value,2),w=(m=E[0],E[1]),S=m.level;p=S===void 0?0:S,Z.setNodes(o,{level:p+1},{at:w})}}catch(x){u={error:x}}finally{try{b&&!b.done&&(s=h.return)&&s.call(h)}finally{if(u)throw u.error}}}else n()}else n()},o.normalizeNode=function(i){var a=Bh(i,2),u=a[0],s=a[1],l=N.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||Z.unwrapNodes(o,{at:s}),r([u,s])},o},menus:[qse,$se],elemsToHtml:[ele],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e);(t=t.filter(function(a){return!!Ye.isText(a)||!!n.isInline(a)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return nD(a.parent())==="ol"}(r),i=function(a){for(var u=0,s=a.parent(),l=nD(s);l==="ul"||l==="ol";)l=nD(s=s.parent()),u++;return u-1}(r);return{type:"list-item",ordered:o,level:i,children:t}}}]},OF=xt(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Array]",a="[object Boolean]",u="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",p="[object Object]",d="[object Promise]",y="[object RegExp]",g="[object Set]",v="[object String]",m="[object Symbol]",h="[object WeakMap]",b="[object ArrayBuffer]",E="[object DataView]",w=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,x={};x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x[o]=x[i]=x[b]=x[a]=x[E]=x[u]=x[s]=x[l]=x[c]=x[f]=x[p]=x[y]=x[g]=x[v]=x[h]=!1;var B=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,U=typeof self=="object"&&self&&self.Object===Object&&self,oe=B||U||Function("return this")(),fe=t&&!t.nodeType&&t,ie=fe&&e&&!e.nodeType&&e,De=ie&&ie.exports===fe,me=De&&B.process,ye=function(){try{return me&&me.binding&&me.binding("util")}catch(W){}}(),we=ye&&ye.isTypedArray;function Ve(W,ne){for(var ke=-1,yt=W==null?0:W.length;++ke<yt;)if(ne(W[ke],ke,W))return!0;return!1}function st(W){var ne=-1,ke=Array(W.size);return W.forEach(function(yt,jn){ke[++ne]=[jn,yt]}),ke}function at(W){var ne=-1,ke=Array(W.size);return W.forEach(function(yt){ke[++ne]=yt}),ke}var rt=Array.prototype,L=Function.prototype,R=Object.prototype,G=oe["__core-js_shared__"],le=L.toString,Re=R.hasOwnProperty,he=function(){var W=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return W?"Symbol(src)_1."+W:""}(),Qe=R.toString,Ct=RegExp("^"+le.call(Re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=De?oe.Buffer:void 0,Lt=oe.Symbol,Ce=oe.Uint8Array,en=R.propertyIsEnumerable,Ht=rt.splice,ht=Lt?Lt.toStringTag:void 0,Vt=Object.getOwnPropertySymbols,br=Tt?Tt.isBuffer:void 0,dn=function(W,ne){return function(ke){return W(ne(ke))}}(Object.keys,Object),Rn=ks(oe,"DataView"),nr=ks(oe,"Map"),_o=ks(oe,"Promise"),sn=ks(oe,"Set"),Jo=ks(oe,"WeakMap"),ea=ks(Object,"create"),Ra=lu(Rn),dd=lu(nr),lc=lu(_o),ta=lu(sn),ja=lu(Jo),au=Lt?Lt.prototype:void 0,To=au?au.valueOf:void 0;function Po(W){var ne=-1,ke=W==null?0:W.length;for(this.clear();++ne<ke;){var yt=W[ne];this.set(yt[0],yt[1])}}function Ro(W){var ne=-1,ke=W==null?0:W.length;for(this.clear();++ne<ke;){var yt=W[ne];this.set(yt[0],yt[1])}}function Lo(W){var ne=-1,ke=W==null?0:W.length;for(this.clear();++ne<ke;){var yt=W[ne];this.set(yt[0],yt[1])}}function so(W){var ne=-1,ke=W==null?0:W.length;for(this.__data__=new Lo;++ne<ke;)this.add(W[ne])}function ki(W){var ne=this.__data__=new Ro(W);this.size=ne.size}function r0(W,ne){var ke=cu(W),yt=!ke&&sb(W),jn=!ke&&!yt&&Na(W),qt=!ke&&!yt&&!jn&&Fa(W),I=ke||yt||jn||qt,ue=I?function(rn,Jn){for(var Nn=-1,gn=Array(rn);++Nn<rn;)gn[Nn]=Jn(Nn);return gn}(W.length,String):[],Ie=ue.length;for(var ot in W)!ne&&!Re.call(W,ot)||I&&(ot=="length"||jn&&(ot=="offset"||ot=="parent")||qt&&(ot=="buffer"||ot=="byteLength"||ot=="byteOffset")||o0(ot,Ie))||ue.push(ot);return ue}function Fs(W,ne){for(var ke=W.length;ke--;)if(gd(W[ke][0],ne))return ke;return-1}function uu(W){return W==null?W===void 0?"[object Undefined]":"[object Null]":ht&&ht in Object(W)?function(ne){var ke=Re.call(ne,ht),yt=ne[ht];try{ne[ht]=void 0;var jn=!0}catch(I){}var qt=Qe.call(ne);return jn&&(ke?ne[ht]=yt:delete ne[ht]),qt}(W):function(ne){return Qe.call(ne)}(W)}function pd(W){return Ls(W)&&uu(W)==o}function cc(W,ne,ke,yt,jn){return W===ne||(W==null||ne==null||!Ls(W)&&!Ls(ne)?W!=W&&ne!=ne:function(qt,I,ue,Ie,ot,rn){var Jn=cu(qt),Nn=cu(I),gn=Jn?i:pi(qt),Qr=Nn?i:pi(I),jo=(gn=gn==o?p:gn)==p,fc=(Qr=Qr==o?p:Qr)==p,fu=gn==Qr;if(fu&&Na(qt)){if(!Na(I))return!1;Jn=!0,jo=!1}if(fu&&!jo)return rn||(rn=new ki),Jn||Fa(qt)?Li(qt,I,ue,Ie,ot,rn):function(tn,vn,mn,Er,Mo,Zo,oa){switch(mn){case E:if(tn.byteLength!=vn.byteLength||tn.byteOffset!=vn.byteOffset)return!1;tn=tn.buffer,vn=vn.buffer;case b:return!(tn.byteLength!=vn.byteLength||!Zo(new Ce(tn),new Ce(vn)));case a:case u:case f:return gd(+tn,+vn);case s:return tn.name==vn.name&&tn.message==vn.message;case y:case v:return tn==vn+"";case c:var Is=st;case g:var a0=1&Er;if(Is||(Is=at),tn.size!=vn.size&&!a0)return!1;var fb=oa.get(tn);if(fb)return fb==vn;Er|=2,oa.set(tn,vn);var vd=Li(Is(tn),Is(vn),Er,Mo,Zo,oa);return oa.delete(tn),vd;case m:if(To)return To.call(tn)==To.call(vn)}return!1}(qt,I,gn,ue,Ie,ot,rn);if(!(1&ue)){var Ms=jo&&Re.call(qt,"__wrapped__"),jt=fc&&Re.call(I,"__wrapped__");if(Ms||jt){var xn=Ms?qt.value():qt,Or=jt?I.value():I;return rn||(rn=new ki),ot(xn,Or,ue,Ie,rn)}}return fu?(rn||(rn=new ki),function(tn,vn,mn,Er,Mo,Zo){var oa=1&mn,Is=su(tn),a0=Is.length,fb=su(vn).length;if(a0!=fb&&!oa)return!1;for(var vd=a0;vd--;){var dc=Is[vd];if(!(oa?dc in vn:Re.call(vn,dc)))return!1}var Zz=Zo.get(tn);if(Zz&&Zo.get(vn))return Zz==vn;var db=!0;Zo.set(tn,vn),Zo.set(vn,tn);for(var S5=oa;++vd<a0;){var pb=tn[dc=Is[vd]],hb=vn[dc];if(Er)var Qz=oa?Er(hb,pb,dc,vn,tn,Zo):Er(pb,hb,dc,tn,vn,Zo);if(!(Qz===void 0?pb===hb||Mo(pb,hb,mn,Er,Zo):Qz)){db=!1;break}S5||(S5=dc=="constructor")}if(db&&!S5){var gb=tn.constructor,vb=vn.constructor;gb==vb||!("constructor"in tn)||!("constructor"in vn)||typeof gb=="function"&&gb instanceof gb&&typeof vb=="function"&&vb instanceof vb||(db=!1)}return Zo.delete(tn),Zo.delete(vn),db}(qt,I,ue,Ie,ot,rn)):!1}(W,ne,ke,yt,cc,jn))}function hd(W){return!(!lb(W)||function(ne){return!!he&&he in ne}(W))&&(i0(W)?Ct:w).test(lu(W))}function na(W){if(ke=(ne=W)&&ne.constructor,yt=typeof ke=="function"&&ke.prototype||R,ne!==yt)return dn(W);var ne,ke,yt,jn=[];for(var qt in Object(W))Re.call(W,qt)&&qt!="constructor"&&jn.push(qt);return jn}function Li(W,ne,ke,yt,jn,qt){var I=1&ke,ue=W.length,Ie=ne.length;if(ue!=Ie&&!(I&&Ie>ue))return!1;var ot=qt.get(W);if(ot&&qt.get(ne))return ot==ne;var rn=-1,Jn=!0,Nn=2&ke?new so:void 0;for(qt.set(W,ne),qt.set(ne,W);++rn<ue;){var gn=W[rn],Qr=ne[rn];if(yt)var jo=I?yt(Qr,gn,rn,ne,W,qt):yt(gn,Qr,rn,W,ne,qt);if(jo!==void 0){if(jo)continue;Jn=!1;break}if(Nn){if(!Ve(ne,function(fc,fu){if(Ms=fu,!Nn.has(Ms)&&(gn===fc||jn(gn,fc,ke,yt,qt)))return Nn.push(fu);var Ms})){Jn=!1;break}}else if(gn!==Qr&&!jn(gn,Qr,ke,yt,qt)){Jn=!1;break}}return qt.delete(W),qt.delete(ne),Jn}function su(W){return function(ne,ke,yt){var jn=ke(ne);return cu(ne)?jn:function(qt,I){for(var ue=-1,Ie=I.length,ot=qt.length;++ue<Ie;)qt[ot+ue]=I[ue];return qt}(jn,yt(ne))}(W,cb,ub)}function ra(W,ne){var ke,yt,jn=W.__data__;return((yt=typeof(ke=ne))=="string"||yt=="number"||yt=="symbol"||yt=="boolean"?ke!=="__proto__":ke===null)?jn[typeof ne=="string"?"string":"hash"]:jn.map}function ks(W,ne){var ke=function(yt,jn){return yt==null?void 0:yt[jn]}(W,ne);return hd(ke)?ke:void 0}Po.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},Po.prototype.delete=function(W){var ne=this.has(W)&&delete this.__data__[W];return this.size-=ne?1:0,ne},Po.prototype.get=function(W){var ne=this.__data__;if(ea){var ke=ne[W];return ke===n?void 0:ke}return Re.call(ne,W)?ne[W]:void 0},Po.prototype.has=function(W){var ne=this.__data__;return ea?ne[W]!==void 0:Re.call(ne,W)},Po.prototype.set=function(W,ne){var ke=this.__data__;return this.size+=this.has(W)?0:1,ke[W]=ea&&ne===void 0?n:ne,this},Ro.prototype.clear=function(){this.__data__=[],this.size=0},Ro.prototype.delete=function(W){var ne=this.__data__,ke=Fs(ne,W);return!(ke<0)&&(ke==ne.length-1?ne.pop():Ht.call(ne,ke,1),--this.size,!0)},Ro.prototype.get=function(W){var ne=this.__data__,ke=Fs(ne,W);return ke<0?void 0:ne[ke][1]},Ro.prototype.has=function(W){return Fs(this.__data__,W)>-1},Ro.prototype.set=function(W,ne){var ke=this.__data__,yt=Fs(ke,W);return yt<0?(++this.size,ke.push([W,ne])):ke[yt][1]=ne,this},Lo.prototype.clear=function(){this.size=0,this.__data__={hash:new Po,map:new(nr||Ro),string:new Po}},Lo.prototype.delete=function(W){var ne=ra(this,W).delete(W);return this.size-=ne?1:0,ne},Lo.prototype.get=function(W){return ra(this,W).get(W)},Lo.prototype.has=function(W){return ra(this,W).has(W)},Lo.prototype.set=function(W,ne){var ke=ra(this,W),yt=ke.size;return ke.set(W,ne),this.size+=ke.size==yt?0:1,this},so.prototype.add=so.prototype.push=function(W){return this.__data__.set(W,n),this},so.prototype.has=function(W){return this.__data__.has(W)},ki.prototype.clear=function(){this.__data__=new Ro,this.size=0},ki.prototype.delete=function(W){var ne=this.__data__,ke=ne.delete(W);return this.size=ne.size,ke},ki.prototype.get=function(W){return this.__data__.get(W)},ki.prototype.has=function(W){return this.__data__.has(W)},ki.prototype.set=function(W,ne){var ke=this.__data__;if(ke instanceof Ro){var yt=ke.__data__;if(!nr||yt.length<199)return yt.push([W,ne]),this.size=++ke.size,this;ke=this.__data__=new Lo(yt)}return ke.set(W,ne),this.size=ke.size,this};var ub=Vt?function(W){return W==null?[]:(W=Object(W),function(ne,ke){for(var yt=-1,jn=ne==null?0:ne.length,qt=0,I=[];++yt<jn;){var ue=ne[yt];ke(ue,yt,ne)&&(I[qt++]=ue)}return I}(Vt(W),function(ne){return en.call(W,ne)}))}:function(){return[]},pi=uu;function o0(W,ne){return!!(ne=ne==null?r:ne)&&(typeof W=="number"||S.test(W))&&W>-1&&W%1==0&&W<ne}function lu(W){if(W!=null){try{return le.call(W)}catch(ne){}try{return W+""}catch(ne){}}return""}function gd(W,ne){return W===ne||W!=W&&ne!=ne}(Rn&&pi(new Rn(new ArrayBuffer(1)))!=E||nr&&pi(new nr)!=c||_o&&pi(_o.resolve())!=d||sn&&pi(new sn)!=g||Jo&&pi(new Jo)!=h)&&(pi=function(W){var ne=uu(W),ke=ne==p?W.constructor:void 0,yt=ke?lu(ke):"";if(yt)switch(yt){case Ra:return E;case dd:return c;case lc:return d;case ta:return g;case ja:return h}return ne});var sb=pd(function(){return arguments}())?pd:function(W){return Ls(W)&&Re.call(W,"callee")&&!en.call(W,"callee")},cu=Array.isArray,Na=br||function(){return!1};function i0(W){if(!lb(W))return!1;var ne=uu(W);return ne==l||ne=="[object GeneratorFunction]"||ne=="[object AsyncFunction]"||ne=="[object Proxy]"}function Ba(W){return typeof W=="number"&&W>-1&&W%1==0&&W<=r}function lb(W){var ne=typeof W;return W!=null&&(ne=="object"||ne=="function")}function Ls(W){return W!=null&&typeof W=="object"}var Fa=we?function(W){return function(ne){return W(ne)}}(we):function(W){return Ls(W)&&Ba(W.length)&&!!x[uu(W)]};function cb(W){return(ne=W)!=null&&Ba(ne.length)&&!i0(ne)?r0(W):na(W);var ne}e.exports=function(W,ne){return cc(W,ne)}});Wo("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Wo("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var _F=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function TF(e){var t={exports:{}};return e(t,t.exports),t.exports}var ls,Cy,wy=function(e){return e&&e.Math==Math&&e},Xt=wy(typeof globalThis=="object"&&globalThis)||wy(typeof window=="object"&&window)||wy(typeof self=="object"&&self)||wy(typeof _F=="object"&&_F)||function(){return this}()||Function("return this")(),Mr=function(e){try{return!!e()}catch(t){return!0}},cs=!Mr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Fh=Function.prototype.call,Ir=Fh.bind?Fh.bind(Fh):function(){return Fh.apply(Fh,arguments)},PF={}.propertyIsEnumerable,RF=Object.getOwnPropertyDescriptor,wle={f:RF&&!PF.call({1:2},1)?function(e){var t=RF(this,e);return!!t&&t.enumerable}:PF},rD=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},jF=Function.prototype,oD=jF.bind,iD=jF.call,xle=oD&&oD.bind(iD),$t=oD?function(e){return e&&xle(iD,e)}:function(e){return e&&function(){return iD.apply(e,arguments)}},Ale=$t({}.toString),Sle=$t("".slice),fs=function(e){return Sle(Ale(e),8,-1)},aD=Xt.Object,Dle=$t("".split),NF=Mr(function(){return!aD("z").propertyIsEnumerable(0)})?function(e){return fs(e)=="String"?Dle(e,""):aD(e)}:aD,Ole=Xt.TypeError,ds=function(e){if(e==null)throw Ole("Can't call method on "+e);return e},kh=function(e){return NF(ds(e))},mo=function(e){return typeof e=="function"},Pi=function(e){return typeof e=="object"?e!==null:mo(e)},_le=function(e){return mo(e)?e:void 0},Lh=function(e,t){return arguments.length<2?_le(Xt[e]):Xt[e]&&Xt[e][t]},BF=$t({}.isPrototypeOf),uD=Lh("navigator","userAgent")||"",FF=Xt.process,kF=Xt.Deno,LF=FF&&FF.versions||kF&&kF.version,MF=LF&&LF.v8;MF&&(Cy=(ls=MF.split("."))[0]>0&&ls[0]<4?1:+(ls[0]+ls[1])),!Cy&&uD&&(!(ls=uD.match(/Edge\/(\d+)/))||ls[1]>=74)&&(ls=uD.match(/Chrome\/(\d+)/))&&(Cy=+ls[1]);var sD=Cy,lD=!!Object.getOwnPropertySymbols&&!Mr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&sD&&sD<41}),cD=lD&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Tle=Xt.Object,fD=cD?function(e){return typeof e=="symbol"}:function(e){var t=Lh("Symbol");return mo(t)&&BF(t.prototype,Tle(e))},Ple=Xt.String,IF=function(e){try{return Ple(e)}catch(t){return"Object"}},Rle=Xt.TypeError,UF=function(e){if(mo(e))return e;throw Rle(IF(e)+" is not a function")},dD=function(e,t){var n=e[t];return n==null?void 0:UF(n)},jle=Xt.TypeError,Nle=Object.defineProperty,pD=function(e,t){try{Nle(Xt,e,{value:t,configurable:!0,writable:!0})}catch(n){Xt[e]=t}return t},ps=Xt["__core-js_shared__"]||pD("__core-js_shared__",{}),hD=TF(function(e){(e.exports=function(t,n){return ps[t]||(ps[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Ble=Xt.Object,gD=function(e){return Ble(ds(e))},Fle=$t({}.hasOwnProperty),Ri=Object.hasOwn||function(e,t){return Fle(gD(e),t)},kle=0,Lle=Math.random(),Mle=$t(1 .toString),zF=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Mle(++kle+Lle,36)},Mh=hD("wks"),Vl=Xt.Symbol,HF=Vl&&Vl.for,Ile=cD?Vl:Vl&&Vl.withoutSetter||zF,ji=function(e){if(!Ri(Mh,e)||!lD&&typeof Mh[e]!="string"){var t="Symbol."+e;lD&&Ri(Vl,e)?Mh[e]=Vl[e]:Mh[e]=cD&&HF?HF(t):Ile(t)}return Mh[e]},Ule=Xt.TypeError,zle=ji("toPrimitive"),vD=function(e){var t=function(n,r){if(!Pi(n)||fD(n))return n;var o,i=dD(n,zle);if(i){if(r===void 0&&(r="default"),o=Ir(i,n,r),!Pi(o)||fD(o))return o;throw Ule("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&mo(s=a.toString)&&!Pi(l=Ir(s,a)))return l;if(mo(s=a.valueOf)&&!Pi(l=Ir(s,a)))return l;if(u!=="string"&&mo(s=a.toString)&&!Pi(l=Ir(s,a)))return l;throw jle("Can't convert object to primitive value")}(n,r)}(e,"string");return fD(t)?t:t+""},mD=Xt.document,Hle=Pi(mD)&&Pi(mD.createElement),yD=function(e){return Hle?mD.createElement(e):{}},VF=!cs&&!Mr(function(){return Object.defineProperty(yD("div"),"a",{get:function(){return 7}}).a!=7}),WF=Object.getOwnPropertyDescriptor,GF={f:cs?WF:function(e,t){if(e=kh(e),t=vD(t),VF)try{return WF(e,t)}catch(n){}if(Ri(e,t))return rD(!Ir(wle.f,e,t),e[t])}},Vle=Xt.String,Wle=Xt.TypeError,Ni=function(e){if(Pi(e))return e;throw Wle(Vle(e)+" is not an object")},Gle=Xt.TypeError,KF=Object.defineProperty,Ih={f:cs?KF:function(e,t,n){if(Ni(e),t=vD(t),Ni(n),VF)try{return KF(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Gle("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ff=cs?function(e,t,n){return Ih.f(e,t,rD(1,n))}:function(e,t,n){return e[t]=n,e},Kle=$t(Function.toString);mo(ps.inspectSource)||(ps.inspectSource=function(e){return Kle(e)});var xy,Uh,Ay,bD=ps.inspectSource,XF=Xt.WeakMap,Xle=mo(XF)&&/native code/.test(bD(XF)),YF=hD("keys"),JF=function(e){return YF[e]||(YF[e]=zF(e))},ED={},CD=Xt.TypeError,Yle=Xt.WeakMap;if(Xle||ps.state){var Wl=ps.state||(ps.state=new Yle),Jle=$t(Wl.get),ZF=$t(Wl.has),Zle=$t(Wl.set);xy=function(e,t){if(ZF(Wl,e))throw new CD("Object already initialized");return t.facade=e,Zle(Wl,e,t),t},Uh=function(e){return Jle(Wl,e)||{}},Ay=function(e){return ZF(Wl,e)}}else{var kf=JF("state");ED[kf]=!0,xy=function(e,t){if(Ri(e,kf))throw new CD("Object already initialized");return t.facade=e,Ff(e,kf,t),t},Uh=function(e){return Ri(e,kf)?e[kf]:{}},Ay=function(e){return Ri(e,kf)}}var wD={set:xy,get:Uh,has:Ay,enforce:function(e){return Ay(e)?Uh(e):xy(e,{})},getterFor:function(e){return function(t){var n;if(!Pi(t)||(n=Uh(t)).type!==e)throw CD("Incompatible receiver, "+e+" required");return n}}},QF=Function.prototype,Qle=cs&&Object.getOwnPropertyDescriptor,xD=Ri(QF,"name"),AD={EXISTS:xD,PROPER:xD&&function(){}.name==="something",CONFIGURABLE:xD&&(!cs||cs&&Qle(QF,"name").configurable)},zh=TF(function(e){var t=AD.CONFIGURABLE,n=wD.get,r=wD.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;mo(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ri(u,"name")||t&&u.name!==d)&&Ff(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Xt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Ff(i,a,u)):f?i[a]=u:pD(a,u)})(Function.prototype,"toString",function(){return mo(this)&&n(this).source||bD(this)})}),qle=Math.ceil,$le=Math.floor,Sy=function(e){var t=+e;return t!=t||t===0?0:(t>0?$le:qle)(t)},ece=Math.max,tce=Math.min,Hh=function(e,t){var n=Sy(e);return n<0?ece(n+t,0):tce(n,t)},nce=Math.min,SD=function(e){return e>0?nce(Sy(e),9007199254740991):0},Dy=function(e){return SD(e.length)},qF=function(e){return function(t,n,r){var o,i=kh(t),a=Dy(i),u=Hh(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},rce=(qF(!0),qF(!1)),$F=$t([].push),ek=function(e,t){var n,r=kh(e),o=0,i=[];for(n in r)!Ri(ED,n)&&Ri(r,n)&&$F(i,n);for(;t.length>o;)Ri(r,n=t[o++])&&(~rce(i,n)||$F(i,n));return i},Oy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oce=Oy.concat("length","prototype"),ice={f:Object.getOwnPropertyNames||function(e){return ek(e,oce)}},ace={f:Object.getOwnPropertySymbols},uce=$t([].concat),sce=Lh("Reflect","ownKeys")||function(e){var t=ice.f(Ni(e)),n=ace.f;return n?uce(t,n(e)):t},lce=function(e,t){for(var n=sce(t),r=Ih.f,o=GF.f,i=0;i<n.length;i++){var a=n[i];Ri(e,a)||r(e,a,o(t,a))}},cce=/#|\.prototype\./,Vh=function(e,t){var n=dce[fce(e)];return n==hce||n!=pce&&(mo(t)?Mr(t):!!t)},fce=Vh.normalize=function(e){return String(e).replace(cce,".").toLowerCase()},dce=Vh.data={},pce=Vh.NATIVE="N",hce=Vh.POLYFILL="P",gce=Vh,vce=GF.f,hs=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Xt:l?Xt[u]||pD(u,{}):(Xt[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=vce(n,r))&&a.value:n[r],!gce(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;lce(i,o)}(e.sham||o&&o.sham)&&Ff(i,"sham",!0),zh(n,r,i,e)}},tk={};tk[ji("toStringTag")]="z";var DD=String(tk)==="[object z]",mce=ji("toStringTag"),yce=Xt.Object,bce=fs(function(){return arguments}())=="Arguments",OD=DD?fs:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=yce(e),mce))=="string"?n:bce?fs(t):(r=fs(t))=="Object"&&mo(t.callee)?"Arguments":r},Ece=Xt.String,Do=function(e){if(OD(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Ece(e)},Cce=/"/g,wce=$t("".replace);hs({target:"String",proto:!0,forced:Mr(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=Do(ds(this)),r="<a",(r+=' name="'+wce(Do(t),Cce,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var _y,nk=function(){var e=Ni(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},_D=Xt.RegExp,TD=Mr(function(){var e=_D("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),xce=TD||Mr(function(){return!_D("a","y").sticky}),rk={BROKEN_CARET:TD||Mr(function(){var e=_D("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:xce,UNSUPPORTED_Y:TD},Ace=Object.keys||function(e){return ek(e,Oy)},Sce=cs?Object.defineProperties:function(e,t){Ni(e);for(var n,r=kh(t),o=Ace(t),i=o.length,a=0;i>a;)Ih.f(e,n=o[a++],r[n]);return e},Dce=Lh("document","documentElement"),ok=JF("IE_PROTO"),PD=function(){},ik=function(e){return"<script>"+e+"</script>"},ak=function(e){e.write(ik("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ty=function(){try{_y=new ActiveXObject("htmlfile")}catch(r){}var e,t;Ty=typeof document!="undefined"?document.domain&&_y?ak(_y):((t=yD("iframe")).style.display="none",Dce.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ik("document.F=Object")),e.close(),e.F):ak(_y);for(var n=Oy.length;n--;)delete Ty.prototype[Oy[n]];return Ty()};ED[ok]=!0;var uk,RD,sk=Object.create||function(e,t){var n;return e!==null?(PD.prototype=Ni(e),n=new PD,PD.prototype=null,n[ok]=e):n=Ty(),t===void 0?n:Sce(n,t)},Oce=Xt.RegExp,_ce=Mr(function(){var e=Oce(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),Tce=Xt.RegExp,Pce=Mr(function(){var e=Tce("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Rce=wD.get,jce=hD("native-string-replace",String.prototype.replace),Py=RegExp.prototype.exec,jD=Py,Nce=$t("".charAt),Bce=$t("".indexOf),Fce=$t("".replace),ND=$t("".slice),BD=(RD=/b*/g,Ir(Py,uk=/a/,"a"),Ir(Py,RD,"a"),uk.lastIndex!==0||RD.lastIndex!==0),lk=rk.BROKEN_CARET,FD=/()??/.exec("")[1]!==void 0;(BD||FD||lk||_ce||Pce)&&(jD=function(e){var t,n,r,o,i,a,u,s=this,l=Rce(s),c=Do(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Ir(jD,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=lk&&s.sticky,y=Ir(nk,s),g=s.source,v=0,m=c;if(d&&(y=Fce(y,"y",""),Bce(y,"g")===-1&&(y+="g"),m=ND(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Nce(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),FD&&(n=new RegExp("^"+g+"$(?!\\s)",y)),BD&&(r=s.lastIndex),o=Ir(Py,d?n:s,m),d?o?(o.input=ND(o.input,v),o[0]=ND(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:BD&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),FD&&o&&o.length>1&&Ir(jce,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=sk(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Wh=jD;hs({target:"RegExp",proto:!0,forced:/./.exec!==Wh},{exec:Wh});var Ry=Array.isArray||function(e){return fs(e)=="Array"},ck=function(){},kce=[],fk=Lh("Reflect","construct"),kD=/^\s*(?:class|function)\b/,Lce=$t(kD.exec),Mce=!kD.exec(ck),Gh=function(e){if(!mo(e))return!1;try{return fk(ck,kce,e),!0}catch(t){return!1}},LD=!fk||Mr(function(){var e;return Gh(Gh.call)||!Gh(Object)||!Gh(function(){e=!0})||e})?function(e){if(!mo(e))return!1;switch(OD(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Mce||!!Lce(kD,bD(e))}:Gh,dk=function(e,t,n){var r=vD(t);r in e?Ih.f(e,r,rD(0,n)):e[r]=n},Ice=ji("species"),MD=function(e){return sD>=51||!Mr(function(){var t=[];return(t.constructor={})[Ice]=function(){return{foo:1}},t[e](Boolean).foo!==1})},Uce=$t([].slice),zce=MD("slice"),Hce=ji("species"),ID=Xt.Array,Vce=Math.max;function Zi(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function pk(e){var t=e.selection;if(t==null)return!1;var n=Zi(C.nodes(e,{match:function(i){return N.checkNodeType(i,"table-cell")}}),1)[0];if(n){var r=Zi(n,2)[1],o=C.start(e,r);if(Wt.equals(t.anchor,o))return!0}return!1}function hk(e,t){var n,r,o=C.nodes(e,{at:t,match:function(s){return N.getNodeType(s)==="table"}}),i=!1;try{for(var a=function(s){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&s[l],f=0;if(c)return c.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&f>=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(s){n={error:s}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}hs({target:"Array",proto:!0,forced:!zce},{slice:function(e,t){var n,r,o,i=kh(this),a=Dy(i),u=Hh(e,a),s=Hh(t===void 0?a:t,a);if(Ry(i)&&(n=i.constructor,(LD(n)&&(n===ID||Ry(n.prototype))||Pi(n)&&(n=n[Hce])===null)&&(n=void 0),n===ID||n===void 0))return Uce(i,u,s);for(r=new(n===void 0?ID:n)(Vce(s-u,0)),o=0;u<s;u++,o++)u in i&&dk(r,o,i[u]);return r.length=o,r}});var gk=$t($t.bind),Wce=ji("species"),vk=Xt.Array,Gce=function(e,t){return new(function(n){var r;return Ry(n)&&(r=n.constructor,(LD(r)&&(r===vk||Ry(r.prototype))||Pi(r)&&(r=r[Wce])===null)&&(r=void 0)),r===void 0?vk:r}(e))(t===0?0:t)},mk=$t([].push),gs=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=gD(s),g=NF(y),v=function(w,S){return UF(w),S===void 0?w:gk?gk(w,S):function(){return w.apply(S,arguments)}}(l,c),m=Dy(g),h=0,b=f||Gce,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:mk(E,p)}else switch(e){case 4:return!1;case 7:mk(E,p)}return i?-1:r||o?o:E}},jy={forEach:gs(0),map:gs(1),filter:gs(2),some:gs(3),every:gs(4),find:gs(5),findIndex:gs(6),filterReject:gs(7)},Kce=jy.map;hs({target:"Array",proto:!0,forced:!MD("map")},{map:function(e){return Kce(this,e,arguments.length>1?arguments[1]:void 0)}});var Xce=DD?{}.toString:function(){return"[object "+OD(this)+"]"};function Ny(e){var t=e.children||[];return t.length===0?[]:(t[0]||{}).children||[]}function yk(e){return Ny(e).every(function(t){return!!t.isHeader})}DD||zh(Object.prototype,"toString",Xce,{unsafe:!0});var Yce=AD.PROPER,UD=RegExp.prototype,bk=UD.toString,Jce=$t(nk),Zce=Mr(function(){return bk.call({source:"a",flags:"b"})!="/a/b"}),Qce=Yce&&bk.name!="toString";(Zce||Qce)&&zh(RegExp.prototype,"toString",function(){var e=Ni(this),t=Do(e.source),n=e.flags;return"/"+t+"/"+Do(n===void 0&&BF(UD,e)&&!("flags"in UD)?Jce(e):n)},{unsafe:!0});var zD=ji("unscopables"),HD=Array.prototype;HD[zD]==null&&Ih.f(HD,zD,{configurable:!0,value:sk(null)});var qce=jy.find,Ek=!0;"find"in[]&&Array(1).find(function(){Ek=!1}),hs({target:"Array",proto:!0,forced:Ek},{find:function(e){return qce(this,e,arguments.length>1?arguments[1]:void 0)}}),HD[zD].find=!0;var VD=Function.prototype,Ck=VD.apply,$ce=VD.bind,wk=VD.call,xk=typeof Reflect=="object"&&Reflect.apply||($ce?wk.bind(Ck):function(){return wk.apply(Ck,arguments)}),efe=ji("species"),WD=RegExp.prototype,Ak=function(e,t,n,r){var o=ji(e),i=!Mr(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!Mr(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[efe]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=$t(/./[o]),s=t(o,""[e],function(l,c,f,p,d){var y=$t(l),g=c.exec;return g===Wh||g===WD.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});zh(String.prototype,e,s[0]),zh(WD,o,s[1])}r&&Ff(WD[o],"sham",!0)},tfe=ji("match"),nfe=Xt.TypeError,rfe=ji("species"),ofe=$t("".charAt),Sk=$t("".charCodeAt),ife=$t("".slice),Dk=function(e){return function(t,n){var r,o,i=Do(ds(t)),a=Sy(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Sk(i,a))<55296||r>56319||a+1===u||(o=Sk(i,a+1))<56320||o>57343?e?ofe(i,a):r:e?ife(i,a,a+2):o-56320+(r-55296<<10)+65536}},afe=(Dk(!1),Dk(!0)),Ok=function(e,t,n){return t+(n?afe(e,t).length:1)},ufe=Xt.Array,sfe=Math.max,_k=function(e,t,n){for(var r=Dy(e),o=Hh(t,r),i=Hh(n===void 0?r:n,r),a=ufe(sfe(i-o,0)),u=0;o<i;o++,u++)dk(a,u,e[o]);return a.length=u,a},lfe=Xt.TypeError,GD=function(e,t){var n=e.exec;if(mo(n)){var r=Ir(n,e,t);return r!==null&&Ni(r),r}if(fs(e)==="RegExp")return Ir(Wh,e,t);throw lfe("RegExp#exec called on incompatible receiver")},Lf=rk.UNSUPPORTED_Y,cfe=Math.min,Tk=[].push,ffe=$t(/./.exec),Mf=$t(Tk),Kh=$t("".slice);Ak("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a,u,s=Do(ds(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!Pi(a=o)||!((u=a[tfe])!==void 0?u:fs(a)=="RegExp"))return Ir(t,s,o,l);for(var c,f,p,d=[],y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,y+"g");(c=Ir(Wh,v,s))&&!((f=v.lastIndex)>g&&(Mf(d,Kh(s,g,c.index)),c.length>1&&c.index<s.length&&xk(Tk,d,_k(c,1)),p=c[0].length,g=f,d.length>=l));)v.lastIndex===c.index&&v.lastIndex++;return g===s.length?!p&&ffe(v,"")||Mf(d,""):Mf(d,Kh(s,g)),d.length>l?_k(d,0,l):d}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Ir(t,this,o,i)}:t,[function(o,i){var a=ds(this),u=o==null?void 0:dD(o,e);return u?Ir(u,o,a,i):Ir(r,Do(a),o,i)},function(o,i){var a=Ni(this),u=Do(o),s=n(r,a,u,i,r!==t);if(s.done)return s.value;var l=function(E,w){var S,x=Ni(E).constructor;return x===void 0||(S=Ni(x)[rfe])==null?w:function(B){if(LD(B))return B;throw nfe(IF(B)+" is not a constructor")}(S)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Lf?"g":"y"),p=new l(Lf?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return GD(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g<u.length;){p.lastIndex=Lf?0:g;var m,h=GD(p,Lf?Kh(u,g):u);if(h===null||(m=cfe(SD(p.lastIndex+(Lf?g:0)),u.length))===y)g=Ok(u,g,c);else{if(Mf(v,Kh(u,y,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Mf(v,h[b]),v.length===d)return v;g=y=m}}return Mf(v,Kh(u,y)),v}]},!!Mr(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Lf);var KD=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,Pk=$t("".replace),By="["+KD+"]",dfe=RegExp("^"+By+By+"*"),pfe=RegExp(By+By+"*$"),XD=function(e){return function(t){var n=Do(ds(t));return 1&e&&(n=Pk(n,dfe,"")),2&e&&(n=Pk(n,pfe,"")),n}},hfe={start:XD(1),end:XD(2),trim:XD(3)},gfe=AD.PROPER,vfe=hfe.trim;function Rk(e){return e.length?e[0].tagName.toLowerCase():""}hs({target:"String",proto:!0,forced:function(e){return Mr(function(){return!!KD[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||gfe&&KD[e].name!==e})}("trim")},{trim:function(){return vfe(this)}}),hs({global:!0},{globalThis:Xt}),mi&&(k.fn.append=mi),ca&&(k.fn.on=ca),Du&&(k.fn.focus=Du),vi&&(k.fn.attr=vi),la&&(k.fn.val=la),Su&&(k.fn.html=Su),_c&&(k.fn.dataset=_c),Sc&&(k.fn.addClass=Sc),Dc&&(k.fn.removeClass=Dc),jc&&(k.fn.children=jc),tv&&(k.fn.each=tv),Rc&&(k.fn.find=Rc);var Xh=!1,jk=0,Nk=0,Yh=null,Jh=null,Zh=k("body");function Bk(e){Xh=!1,Jh=null,Yh=null,Zh.off("mousemove",Fk),Zh.off("mouseup",Bk)}Zh.on("mousedown",function(e){var t=e.target;if((t.tagName==="TH"||t.tagName==="TD")&&t.style.cursor==="col-resize"){t.style.cursor="auto",e.preventDefault(),Xh=!0;var n=e.clientX;jk=n;var r=t.getBoundingClientRect().width;Nk=r,Zh.on("mousemove",Fk),Zh.on("mouseup",Bk)}});var Fk=tl(function(e){if(Xh&&Jh!=null&&Yh!=null){e.preventDefault();var t=e.clientX,n=Nk+(t-jk);(n=Math.floor(100*n)/100)<30&&(n=30),Z.setNodes(Jh,{width:n.toString()},{at:Yh})}},100),mfe={type:"table",renderElem:function(e,t,n){var r=function(u,s){if(u.isDisabled())return!1;var l=u.selection;if(l==null)return!0;if(re.isCollapsed(l))return!0;var c=l.anchor,f=l.focus,p=N.findPath(u,s),d=C.start(u,p),y=C.end(u,p),g=Wt.compare(c,y)<=0&&Wt.compare(c,d)>=0,v=Wt.compare(f,y)<=0&&Wt.compare(f,d)>=0;return!!(g&&v&&X.equals(c.path.slice(0,3),f.path.slice(0,3)))}(n,e),o=e.width,i=o===void 0?"auto":o,a=Pt("div",{className:"table-container","data-selected":N.isNodeSelected(n,e),on:{mousedown:function(u){if(u.target.tagName==="DIV"&&u.preventDefault(),!n.isDisabled()){var s=N.findPath(n,e),l=C.start(n,s),c=n.selection;c!=null?c.anchor.path[0]!==s[0]&&n.select(l):n.select(l)}}}},Pt("table",{width:i,contentEditable:r},Pt("colgroup",null,Ny(e).map(function(u){var s=u.width;return Pt("col",{width:s===void 0?"auto":s})})),Pt("tbody",null,t)));return a}},yfe={type:"table-row",renderElem:function(e,t,n){return Pt("tr",null,t)}},bfe={type:"table-cell",renderElem:function(e,t,n){var r=function(p,d){var y=N.getParentNode(p,d);if(y==null)return!1;var g=N.getParentNode(p,y);return g!=null&&Ny(g).some(function(v){return v===d})}(n,e),o=e,i=o.colSpan,a=i===void 0?1:i,u=o.rowSpan,s=u===void 0?1:u,l=o.isHeader,c=l!==void 0&&l;if(!r)return Pt("td",{colSpan:a,rowSpan:s},t);var f=Pt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:tl(function(p){var d=this.elm;if(d!=null){var y=d.getBoundingClientRect(),g=y.left,v=y.width,m=y.top,h=y.height,b=p.clientX,E=p.clientY;Xh||(b>g+v-5&&b<g+v&&E>m&&E<m+h?(d.style.cursor="col-resize",Jh=n,Yh=N.findPath(n,e)):Xh||(d.style.cursor="auto",Jh=null,Yh=null))}},100)}},t);return f}},Efe={selector:"table",preParseHtml:function(e){var t=k(e);if(Rk(t)!=="table")return e;var n=t.find("tbody");if(n.length===0)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}},Cfe=jy.filter;hs({target:"Array",proto:!0,forced:!MD("filter")},{filter:function(e){return Cfe(this,e,arguments.length>1?arguments[1]:void 0)}});var wfe=Math.floor,YD=$t("".charAt),xfe=$t("".replace),JD=$t("".slice),Afe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Sfe=/\$([$&'`]|\d{1,2})/g,Dfe=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Sfe;return o!==void 0&&(o=gD(o),s=Afe),xfe(i,s,function(l,c){var f;switch(YD(c,0)){case"$":return"$";case"&":return e;case"`":return JD(t,0,n);case"'":return JD(t,a);case"<":f=o[JD(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=wfe(p/10);return d===0?l:d<=u?r[d-1]===void 0?YD(c,1):r[d-1]+YD(c,1):l}f=r[p-1]}return f===void 0?"":f})},ZD=ji("replace"),Ofe=Math.max,_fe=Math.min,Tfe=$t([].concat),QD=$t([].push),kk=$t("".indexOf),Lk=$t("".slice),Pfe="a".replace(/./,"$0")==="$0",Mk=!!/./[ZD]&&/./[ZD]("a","$0")==="";Ak("replace",function(e,t,n){var r=Mk?"$":"$0";return[function(o,i){var a=ds(this),u=o==null?void 0:dD(o,ZD);return u?Ir(u,o,a,i):Ir(t,Do(a),o,i)},function(o,i){var a=Ni(this),u=Do(o);if(typeof i=="string"&&kk(i,r)===-1&&kk(i,"$<")===-1){var s=n(t,a,u,i);if(s.done)return s.value}var l=mo(i);l||(i=Do(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=GD(a,u);if(d===null)break;if(QD(p,d),!c)break;Do(d[0])===""&&(a.lastIndex=Ok(u,SD(a.lastIndex),f))}for(var y,g="",v=0,m=0;m<p.length;m++){for(var h=Do((d=p[m])[0]),b=Ofe(_fe(Sy(d.index),u.length),0),E=[],w=1;w<d.length;w++)QD(E,(y=d[w])===void 0?y:String(y));var S=d.groups;if(l){var x=Tfe([h],E,b,u);S!==void 0&&QD(x,S);var B=Do(xk(i,void 0,x))}else B=Dfe(h,u,b,E,S,i);b>=v&&(g+=Lk(u,v,b)+B,v=b+h.length)}return g+Lk(u,v)}]},!!Mr(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Pfe||Mk);var Rfe={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e);(t=t.filter(function(u){return!!Ye.isText(u)||!!n.isInline(u)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:Rk(r)==="th",colSpan:o,rowSpan:i,width:a,children:t}}},jfe={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(r){return N.getNodeType(r)==="table-cell"})}}},Nfe={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=k(e),o="auto";return function(i,a){for(var u="",s=(i.attr("style")||"").split(";"),l=s.length,c=0;c<l;c++){var f=s[c];if(f){var p=f.split(":");p[0].trim()==="width"&&(u=p[1].trim())}}return u}(r)==="100%"&&(o="100%"),r.attr("width")==="100%"&&(o="100%"),{type:"table",width:o,children:t.filter(function(i){return N.getNodeType(i)==="table-row"})}}},Bfe=function(){function e(){this.title=Me("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!N.getSelectedElems(t).some(function(r){var o=N.getNodeType(r);return o==="pre"||o==="table"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getPanelContentElem=function(t){var n=this;if(this.$content)return this.$content[0];for(var r=k('<div class="w-e-panel-content-table"></div>'),o=k("<span>0 &times; 0</span>"),i=k("<table></table>"),a=0;a<10;a++){for(var u=k("<tr></tr>"),s=0;s<10;s++){var l=k("<td></td>");l.attr("data-x",s.toString()),l.attr("data-y",a.toString()),u.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,y=p.y;o[0].innerHTML=d+1+" &times; "+(y+1),i.children().each(function(g){k(g).children().each(function(v){var m=k(v),h=m.dataset(),b=h.x,E=h.y;b<=d&&E<=y?m.addClass("active"):m.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,y=p.y;n.insertTable(t,y+1,d+1)}})}i.append(u)}return r.append(i),r.append(o),this.$content=r,r[0]},e.prototype.insertTable=function(t,n,r){var o=parseInt(n,10),i=parseInt(r,10);if(o&&i&&!(o<=0||i<=0)){N.isSelectedEmptyParagraph(t)&&Z.removeNodes(t,{mode:"highest"});var a=function(u,s){for(var l=[],c=0;c<u;c++){for(var f=[],p=0;p<s;p++){var d={type:"table-cell",children:[{text:""}]};c===0&&(d.isHeader=!0),f.push(d)}l.push({type:"table-row",children:f})}return{type:"table",width:"auto",children:l}}(o,i);Z.insertNodes(t,a,{mode:"highest"})}},e}(),Ffe=function(){function e(){this.title=Me("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||N.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Z.removeNodes(t,{mode:"highest"})},e}(),kfe=function(){function e(){this.title=Me("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Zi(C.nodes(t,{match:function(d){return N.checkNodeType(d,"table-cell")},universal:!0}),1),o=Zi(r[0],2),i=o[0],a=o[1],u=N.getParentNode(t,i),s=(u==null?void 0:u.children.length)||0;if(s!==0){for(var l={type:"table-row",children:[]},c=0;c<s;c++)l.children.push({type:"table-cell",children:[{text:""}]});var f=X.parent(a),p=X.next(f);Z.insertNodes(t,l,{at:p})}}},e}(),Lfe=function(){function e(){this.title=Me("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"table-row")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Zi(C.nodes(t,{match:function(s){return N.checkNodeType(s,"table-row")},universal:!0}),1),o=Zi(r[0],2),i=o[0],a=o[1],u=N.getParentNode(t,i);((u==null?void 0:u.children.length)||0)<=1?Z.removeNodes(t,{mode:"highest"}):Z.removeNodes(t,{at:a})}},e}(),Ik={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},qD=yD("span").classList,Uk=qD&&qD.constructor&&qD.constructor.prototype,Mfe=Uk===Object.prototype?void 0:Uk,Ife=jy.forEach,Ufe=function(e,t){var n=[].forEach;return!!n&&Mr(function(){n.call(null,function(){throw 1},1)})}(),$D=Ufe?[].forEach:function(e){return Ife(this,e,arguments.length>1?arguments[1]:void 0)},zk=function(e){if(e&&e.forEach!==$D)try{Ff(e,"forEach",$D)}catch(t){e.forEach=$D}};for(var eO in Ik)Ik[eO]&&zk(Xt[eO]&&Xt[eO].prototype);zk(Mfe);var zfe=function(){function e(){this.title=Me("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Zi(C.nodes(t,{match:function(l){return N.checkNodeType(l,"table-cell")},universal:!0}),1),o=Zi(r[0],2),i=o[0],a=o[1],u=N.getParentNode(t,i);if(u!=null){var s=N.getParentNode(t,u);s!=null&&(s.children||[]).forEach(function(l,c){ft.isElement(l)&&(l.children||[]).forEach(function(f){var p=N.findPath(t,f);if(p.length===a.length&&OF(p.slice(-1),a.slice(-1))){var d={type:"table-cell",children:[{text:""}]};c===0&&yk(s)&&(d.isHeader=!0),Z.insertNodes(t,d,{at:p})}})})}}},e}(),Hfe=function(){function e(){this.title=Me("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"table-cell")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Zi(C.nodes(t,{match:function(c){return N.checkNodeType(c,"table-cell")},universal:!0}),1),o=Zi(r[0],2),i=o[0],a=o[1],u=N.getParentNode(t,i),s=(u==null?void 0:u.children.length)||0;if(!u||s<=1)Z.removeNodes(t,{mode:"highest"});else{var l=N.getParentNode(t,u);l!=null&&(l.children||[]).forEach(function(c){ft.isElement(c)&&(c.children||[]).forEach(function(f){var p=N.findPath(t,f);p.length===a.length&&OF(p.slice(-1),a.slice(-1))&&Z.removeNodes(t,{at:p})})})}}},e}(),Vfe=function(){function e(){this.title=Me("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=N.getSelectedNodeByType(t,"table");return n!=null&&yk(n)},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=!n,o=N.getSelectedNodeByType(t,"table");o!=null&&Ny(o).forEach(function(i){return Z.setNodes(t,{isHeader:r},{at:N.findPath(t,i)})})}},e}(),Wfe=function(){function e(){this.title=Me("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=N.getSelectedNodeByType(t,"table");return n!=null&&n.width==="100%"},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||N.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r={width:n?"auto":"100%"};Z.setNodes(t,r,{mode:"highest"})}},e}(),Gfe={renderElems:[mfe,yfe,bfe],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(n===void 0?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,o=r===void 0?1:r,i=n.rowSpan,a=i===void 0?1:i,u=n.isHeader,s=u!==void 0&&u,l=n.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+t+"</"+c+">"}}],preParseHtml:[Efe],parseElemsHtml:[Rfe,jfe,Nfe],menus:[{key:"insertTable",factory:function(){return new Bfe}},{key:"deleteTable",factory:function(){return new Ffe}},{key:"insertTableRow",factory:function(){return new kfe}},{key:"deleteTableRow",factory:function(){return new Lfe}},{key:"insertTableCol",factory:function(){return new zfe}},{key:"deleteTableCol",factory:function(){return new Hfe}},{key:"tableHeader",factory:function(){return new Vfe}},{key:"tableFullWidth",factory:function(){return new Wfe}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,u=e.selectAll,s=e;return s.insertBreak=function(){N.getSelectedNodeByType(s,"table")==null?t():s.insertText(`
`)},s.deleteBackward=function(l){if(!pk(s)){var c=s.selection;if(c){var f=C.before(s,c);if(f){var p=hk(s,f),d=hk(s,c);if(p&&!d)return}}n(l)}},s.handleTab=function(){var l;if(N.getSelectedNodeByType(s,"table")){var c=C.above(e);N.checkNodeType(c[0],"table-cell")&&Z.select(e,c[1]);var f=C.next(e);if(f)f[0]&&f[0].text&&(f=(l=C.above(e,{at:f[1]}))!==null&&l!==void 0?l:f),Z.select(e,f[1]);else{var p=s.children||[],d=p.length;if(N.checkNodeType(p[d-1],"table")){var y=N.genEmptyParagraph();Z.insertNodes(s,y,{at:[d]}),s.handleTab()}}}else a()},s.deleteForward=function(l){pk(s)||r(l)},s.normalizeNode=function(l){var c=Zi(l,2),f=c[0],p=c[1];if(N.getNodeType(f)!=="table")return o([f,p]);if(N.isLastNode(s,f)){var d=N.genEmptyParagraph();Z.insertNodes(s,d,{at:[p[0]+1]})}},s.insertData=function(l){if(N.getSelectedNodeByType(s,"table")!=null){var c=l.getData("text/plain");c===`
`||/<img[^>]+>/.test(l.getData("text/html"))?i(l):C.insertText(s,c)}else i(l)},s.selectAll=function(){var l=s.selection;if(l!=null){var c=N.getSelectedNodeByType(s,"table-cell");if(c!=null){var f=l.anchor,p=l.focus;if(X.equals(f.path.slice(0,3),p.path.slice(0,3)))if(Le.string(c).length!==0){var d=N.findPath(s,c),y={anchor:C.start(s,d),focus:C.end(s,d)};s.select(y)}else u();else u()}else u()}else u()},s}};Wo("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),Wo("zh-CN",{videoModule:{delete:"\u5220\u9664\u89C6\u9891",uploadVideo:"\u4E0A\u4F20\u89C6\u9891",insertVideo:"\u63D2\u5165\u89C6\u9891",videoSrc:"\u89C6\u9891\u5730\u5740",videoSrcPlaceHolder:"\u89C6\u9891\u6587\u4EF6 url \u6216\u7B2C\u4E09\u65B9 <iframe>",videoPoster:"\u89C6\u9891\u5C01\u9762",videoPosterPlaceHolder:"\u5C01\u9762\u56FE\u7247 url",ok:"\u786E\u5B9A",editSize:"\u4FEE\u6539\u5C3A\u5BF8",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6"}});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Fy=function(){return Fy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fy.apply(this,arguments)};function ky(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(l){try{s(r.next(l))}catch(c){i(c)}}function u(l){try{s(r.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function Ly(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function Gl(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Kfe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(o){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&o[i],u=0;if(a)return a.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(i){return new Promise(function(a,u){!function(s,l,c,f){Promise.resolve(f).then(function(p){s({value:p,done:c})},l)}(a,u,(i=e[o](i)).done,i.value)})}}}var Hk=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function tO(e){var t={exports:{}};return e(t,t.exports),t.exports}var vs,My,Iy=function(e){return e&&e.Math==Math&&e},He=Iy(typeof globalThis=="object"&&globalThis)||Iy(typeof window=="object"&&window)||Iy(typeof self=="object"&&self)||Iy(typeof Hk=="object"&&Hk)||function(){return this}()||Function("return this")(),Wn=function(e){try{return!!e()}catch(t){return!0}},xa=!Wn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Qh=Function.prototype.call,zn=Qh.bind?Qh.bind(Qh):function(){return Qh.apply(Qh,arguments)},Vk={}.propertyIsEnumerable,Wk=Object.getOwnPropertyDescriptor,Xfe={f:Wk&&!Vk.call({1:2},1)?function(e){var t=Wk(this,e);return!!t&&t.enumerable}:Vk},Uy=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Gk=Function.prototype,nO=Gk.bind,rO=Gk.call,Yfe=nO&&nO.bind(rO),kt=nO?function(e){return e&&Yfe(rO,e)}:function(e){return e&&function(){return rO.apply(e,arguments)}},Jfe=kt({}.toString),Zfe=kt("".slice),Aa=function(e){return Zfe(Jfe(e),8,-1)},oO=He.Object,Qfe=kt("".split),iO=Wn(function(){return!oO("z").propertyIsEnumerable(0)})?function(e){return Aa(e)=="String"?Qfe(e,""):oO(e)}:oO,qfe=He.TypeError,qh=function(e){if(e==null)throw qfe("Can't call method on "+e);return e},ms=function(e){return iO(qh(e))},Pn=function(e){return typeof e=="function"},Xn=function(e){return typeof e=="object"?e!==null:Pn(e)},$fe=function(e){return Pn(e)?e:void 0},Kl=function(e,t){return arguments.length<2?$fe(He[e]):He[e]&&He[e][t]},$h=kt({}.isPrototypeOf),If=Kl("navigator","userAgent")||"",Kk=He.process,Xk=He.Deno,Yk=Kk&&Kk.versions||Xk&&Xk.version,Jk=Yk&&Yk.v8;Jk&&(My=(vs=Jk.split("."))[0]>0&&vs[0]<4?1:+(vs[0]+vs[1])),!My&&If&&(!(vs=If.match(/Edge\/(\d+)/))||vs[1]>=74)&&(vs=If.match(/Chrome\/(\d+)/))&&(My=+vs[1]);var eg=My,aO=!!Object.getOwnPropertySymbols&&!Wn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&eg&&eg<41}),uO=aO&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ede=He.Object,sO=uO?function(e){return typeof e=="symbol"}:function(e){var t=Kl("Symbol");return Pn(t)&&$h(t.prototype,ede(e))},tde=He.String,zy=function(e){try{return tde(e)}catch(t){return"Object"}},nde=He.TypeError,ys=function(e){if(Pn(e))return e;throw nde(zy(e)+" is not a function")},tg=function(e,t){var n=e[t];return n==null?void 0:ys(n)},rde=He.TypeError,ode=Object.defineProperty,lO=function(e,t){try{ode(He,e,{value:t,configurable:!0,writable:!0})}catch(n){He[e]=t}return t},bs=He["__core-js_shared__"]||lO("__core-js_shared__",{}),cO=tO(function(e){(e.exports=function(t,n){return bs[t]||(bs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),ide=He.Object,Hy=function(e){return ide(qh(e))},ade=kt({}.hasOwnProperty),Ur=Object.hasOwn||function(e,t){return ade(Hy(e),t)},ude=0,sde=Math.random(),lde=kt(1 .toString),fO=function(e){return"Symbol("+(e===void 0?"":e)+")_"+lde(++ude+sde,36)},ng=cO("wks"),Xl=He.Symbol,Zk=Xl&&Xl.for,cde=uO?Xl:Xl&&Xl.withoutSetter||fO,Sr=function(e){if(!Ur(ng,e)||!aO&&typeof ng[e]!="string"){var t="Symbol."+e;aO&&Ur(Xl,e)?ng[e]=Xl[e]:ng[e]=uO&&Zk?Zk(t):cde(t)}return ng[e]},fde=He.TypeError,dde=Sr("toPrimitive"),dO=function(e){var t=function(n,r){if(!Xn(n)||sO(n))return n;var o,i=tg(n,dde);if(i){if(r===void 0&&(r="default"),o=zn(i,n,r),!Xn(o)||sO(o))return o;throw fde("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Pn(s=a.toString)&&!Xn(l=zn(s,a)))return l;if(Pn(s=a.valueOf)&&!Xn(l=zn(s,a)))return l;if(u!=="string"&&Pn(s=a.toString)&&!Xn(l=zn(s,a)))return l;throw rde("Can't convert object to primitive value")}(n,r)}(e,"string");return sO(t)?t:t+""},pO=He.document,pde=Xn(pO)&&Xn(pO.createElement),rg=function(e){return pde?pO.createElement(e):{}},Qk=!xa&&!Wn(function(){return Object.defineProperty(rg("div"),"a",{get:function(){return 7}}).a!=7}),qk=Object.getOwnPropertyDescriptor,hO={f:xa?qk:function(e,t){if(e=ms(e),t=dO(t),Qk)try{return qk(e,t)}catch(n){}if(Ur(e,t))return Uy(!zn(Xfe.f,e,t),e[t])}},hde=He.String,gde=He.TypeError,oo=function(e){if(Xn(e))return e;throw gde(hde(e)+" is not an object")},vde=He.TypeError,$k=Object.defineProperty,tu={f:xa?$k:function(e,t,n){if(oo(e),t=dO(t),oo(n),Qk)try{return $k(e,t,n)}catch(r){}if("get"in n||"set"in n)throw vde("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Es=xa?function(e,t,n){return tu.f(e,t,Uy(1,n))}:function(e,t,n){return e[t]=n,e},mde=kt(Function.toString);Pn(bs.inspectSource)||(bs.inspectSource=function(e){return mde(e)});var Vy,og,Wy,Gy=bs.inspectSource,eL=He.WeakMap,tL=Pn(eL)&&/native code/.test(Gy(eL)),nL=cO("keys"),gO=function(e){return nL[e]||(nL[e]=fO(e))},Ky={},vO=He.TypeError,yde=He.WeakMap;if(tL||bs.state){var Yl=bs.state||(bs.state=new yde),bde=kt(Yl.get),rL=kt(Yl.has),Ede=kt(Yl.set);Vy=function(e,t){if(rL(Yl,e))throw new vO("Object already initialized");return t.facade=e,Ede(Yl,e,t),t},og=function(e){return bde(Yl,e)||{}},Wy=function(e){return rL(Yl,e)}}else{var Uf=gO("state");Ky[Uf]=!0,Vy=function(e,t){if(Ur(e,Uf))throw new vO("Object already initialized");return t.facade=e,Es(e,Uf,t),t},og=function(e){return Ur(e,Uf)?e[Uf]:{}},Wy=function(e){return Ur(e,Uf)}}var li={set:Vy,get:og,has:Wy,enforce:function(e){return Wy(e)?og(e):Vy(e,{})},getterFor:function(e){return function(t){var n;if(!Xn(t)||(n=og(t)).type!==e)throw vO("Incompatible receiver, "+e+" required");return n}}},oL=Function.prototype,Cde=xa&&Object.getOwnPropertyDescriptor,mO=Ur(oL,"name"),zf={EXISTS:mO,PROPER:mO&&function(){}.name==="something",CONFIGURABLE:mO&&(!xa||xa&&Cde(oL,"name").configurable)},ci=tO(function(e){var t=zf.CONFIGURABLE,n=li.get,r=li.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Pn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ur(u,"name")||t&&u.name!==d)&&Es(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==He?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Es(i,a,u)):f?i[a]=u:lO(a,u)})(Function.prototype,"toString",function(){return Pn(this)&&n(this).source||Gy(this)})}),wde=Math.ceil,xde=Math.floor,Xy=function(e){var t=+e;return t!=t||t===0?0:(t>0?xde:wde)(t)},Ade=Math.max,Sde=Math.min,ig=function(e,t){var n=Xy(e);return n<0?Ade(n+t,0):Sde(n,t)},Dde=Math.min,iL=function(e){return e>0?Dde(Xy(e),9007199254740991):0},ag=function(e){return iL(e.length)},aL=function(e){return function(t,n,r){var o,i=ms(t),a=ag(i),u=ig(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},uL={includes:aL(!0),indexOf:aL(!1)},Ode=uL.indexOf,sL=kt([].push),lL=function(e,t){var n,r=ms(e),o=0,i=[];for(n in r)!Ur(Ky,n)&&Ur(r,n)&&sL(i,n);for(;t.length>o;)Ur(r,n=t[o++])&&(~Ode(i,n)||sL(i,n));return i},Yy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_de=Yy.concat("length","prototype"),Jy={f:Object.getOwnPropertyNames||function(e){return lL(e,_de)}},Tde={f:Object.getOwnPropertySymbols},Pde=kt([].concat),Rde=Kl("Reflect","ownKeys")||function(e){var t=Jy.f(oo(e)),n=Tde.f;return n?Pde(t,n(e)):t},jde=function(e,t){for(var n=Rde(t),r=tu.f,o=hO.f,i=0;i<n.length;i++){var a=n[i];Ur(e,a)||r(e,a,o(t,a))}},Nde=/#|\.prototype\./,ug=function(e,t){var n=Fde[Bde(e)];return n==Lde||n!=kde&&(Pn(t)?Wn(t):!!t)},Bde=ug.normalize=function(e){return String(e).replace(Nde,".").toLowerCase()},Fde=ug.data={},kde=ug.NATIVE="N",Lde=ug.POLYFILL="P",Zy=ug,Mde=hO.f,Yo=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?He:l?He[u]||lO(u,{}):(He[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Mde(n,r))&&a.value:n[r],!Zy(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;jde(i,o)}(e.sham||o&&o.sham)&&Es(i,"sham",!0),ci(n,r,i,e)}},cL={};cL[Sr("toStringTag")]="z";var yO=String(cL)==="[object z]",Ide=Sr("toStringTag"),Ude=He.Object,zde=Aa(function(){return arguments}())=="Arguments",Qy=yO?Aa:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=Ude(e),Ide))=="string"?n:zde?Aa(t):(r=Aa(t))=="Object"&&Pn(t.callee)?"Arguments":r},Hde=He.String,Bi=function(e){if(Qy(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Hde(e)},bO=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,fL=kt("".replace),qy="["+bO+"]",Vde=RegExp("^"+qy+qy+"*"),Wde=RegExp(qy+qy+"*$"),EO=function(e){return function(t){var n=Bi(qh(t));return 1&e&&(n=fL(n,Vde,"")),2&e&&(n=fL(n,Wde,"")),n}},Gde={start:EO(1),end:EO(2),trim:EO(3)},Kde=zf.PROPER,Xde=Gde.trim;function dL(e){return e.length?e[0].tagName.toLowerCase():""}function pL(e,t,n){t===void 0&&(t="auto"),n===void 0&&(n="auto");var r=k(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}Yo({target:"String",proto:!0,forced:Wn(function(){return!!bO.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||Kde&&bO.trim.name!=="trim"})},{trim:function(){return Xde(this)}}),Yo({global:!0},{globalThis:He}),mi&&(k.fn.append=mi),ca&&(k.fn.on=ca),Du&&(k.fn.focus=Du),vi&&(k.fn.attr=vi),la&&(k.fn.val=la),Su&&(k.fn.html=Su),Pc&&(k.fn.parent=Pc),Oc&&(k.fn.hasClass=Oc),Bc&&(k.fn.empty=Bc);var $y,Yde={type:"video",renderElem:function(e,t,n){var r,o=e,i=o.src,a=i===void 0?"":i,u=o.poster,s=u===void 0?"":u,l=o.width,c=l===void 0?"auto":l,f=o.height,p=f===void 0?"auto":f,d=N.isNodeSelected(n,e);if(a.trim().indexOf("<iframe ")===0)r=Pt("div",{className:"w-e-textarea-video-container","data-selected":d?"true":"",innerHTML:pL(a,c,p)});else{var y=Pt("video",{poster:s,controls:!0},Pt("source",{src:a,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
\u62B1\u6B49\uFF0C\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 video \u89C6\u9891`);c!=="auto"&&(y.data.width=c),p!=="auto"&&(y.data.height=p),r=Pt("div",{className:"w-e-textarea-video-container","data-selected":d?"true":""},y)}return Fc("div",{props:{contentEditable:!1},on:{mousedown:function(g){return g.preventDefault()}}},r)}},Jde={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,o=r===void 0?"":r,i=n.poster,a=i===void 0?"":i,u=n.width,s=u===void 0?"auto":u,l=n.height,c=l===void 0?"auto":l,f=`<div data-w-e-type="video" data-w-e-is-void>
`;return o.trim().indexOf("<iframe ")===0?f+=pL(o,s,c):f+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'"><source src="'+o+'" type="video/mp4"/></video>',f+`
</div>`}},Zde=Object.keys||function(e){return lL(e,Yy)},Qde=xa?Object.defineProperties:function(e,t){oo(e);for(var n,r=ms(t),o=Zde(t),i=o.length,a=0;i>a;)tu.f(e,n=o[a++],r[n]);return e},CO=Kl("document","documentElement"),hL=gO("IE_PROTO"),wO=function(){},gL=function(e){return"<script>"+e+"</script>"},vL=function(e){e.write(gL("")),e.close();var t=e.parentWindow.Object;return e=null,t},e1=function(){try{$y=new ActiveXObject("htmlfile")}catch(r){}var e,t;e1=typeof document!="undefined"?document.domain&&$y?vL($y):((t=rg("iframe")).style.display="none",CO.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(gL("document.F=Object")),e.close(),e.F):vL($y);for(var n=Yy.length;n--;)delete e1.prototype[Yy[n]];return e1()};Ky[hL]=!0;var xO=Object.create||function(e,t){var n;return e!==null?(wO.prototype=oo(e),n=new wO,wO.prototype=null,n[hL]=e):n=e1(),t===void 0?n:Qde(n,t)},AO=Sr("unscopables"),SO=Array.prototype;SO[AO]==null&&tu.f(SO,AO,{configurable:!0,value:xO(null)});var sg=function(e){SO[AO][e]=!0},qde=uL.includes;Yo({target:"Array",proto:!0},{includes:function(e){return qde(this,e,arguments.length>1?arguments[1]:void 0)}}),sg("includes");var $de={selector:"iframe,video,p",preParseHtml:function(e){var t=k(e),n=t;if(dL(t)==="p"){var r=t.children();if(r.length===1){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=k(o))}}var a=dL(n);if(a!=="iframe"&&a!=="video")return n[0];if(n.parent().attr("data-w-e-type")==="video")return n[0];var u=k('<div data-w-e-type="video" data-w-e-is-void></div>');return u.append(n),u[0]}},mL=kt(kt.bind),lg=function(e,t){return ys(e),t===void 0?e:mL?mL(e,t):function(){return e.apply(t,arguments)}},t1=Array.isArray||function(e){return Aa(e)=="Array"},yL=function(){},epe=[],bL=Kl("Reflect","construct"),DO=/^\s*(?:class|function)\b/,tpe=kt(DO.exec),npe=!DO.exec(yL),cg=function(e){if(!Pn(e))return!1;try{return bL(yL,epe,e),!0}catch(t){return!1}},OO=!bL||Wn(function(){var e;return cg(cg.call)||!cg(Object)||!cg(function(){e=!0})||e})?function(e){if(!Pn(e))return!1;switch(Qy(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return npe||!!tpe(DO,Gy(e))}:cg,rpe=Sr("species"),EL=He.Array,ope=function(e,t){return new(function(n){var r;return t1(n)&&(r=n.constructor,(OO(r)&&(r===EL||t1(r.prototype))||Xn(r)&&(r=r[rpe])===null)&&(r=void 0)),r===void 0?EL:r}(e))(t===0?0:t)},CL=kt([].push),Cs=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=Hy(s),g=iO(y),v=lg(l,c),m=ag(g),h=0,b=f||ope,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:CL(E,p)}else switch(e){case 4:return!1;case 7:CL(E,p)}return i?-1:r||o?o:E}},_O={forEach:Cs(0),map:Cs(1),filter:Cs(2),some:Cs(3),every:Cs(4),find:Cs(5),findIndex:Cs(6),filterReject:Cs(7)},ipe=_O.find,wL=!0;"find"in[]&&Array(1).find(function(){wL=!1}),Yo({target:"Array",proto:!0,forced:wL},{find:function(e){return ipe(this,e,arguments.length>1?arguments[1]:void 0)}}),sg("find");var ape=yO?{}.toString:function(){return"[object "+Qy(this)+"]"};function xL(e,t,n,r){return t===void 0&&(t=""),n===void 0&&(n="auto"),r===void 0&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}yO||ci(Object.prototype,"toString",ape,{unsafe:!0});var AL,TO,upe={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=k(e),o="",i="",a="auto",u="auto",s=r.find("iframe");if(s.length>0)return a=s.attr("width")||"auto",u=s.attr("height")||"auto",xL(o=s[0].outerHTML,i,a,u);var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),a=l.attr("width")||"auto",u=l.attr("height")||"auto",xL(o,i=l.attr("poster")||"",a,u)}},SL=function(){var e=oo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},PO=He.RegExp,RO=Wn(function(){var e=PO("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),spe=RO||Wn(function(){return!PO("a","y").sticky}),lpe={BROKEN_CARET:RO||Wn(function(){var e=PO("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:spe,UNSUPPORTED_Y:RO},cpe=He.RegExp,fpe=Wn(function(){var e=cpe(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),dpe=He.RegExp,ppe=Wn(function(){var e=dpe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),hpe=li.get,gpe=cO("native-string-replace",String.prototype.replace),n1=RegExp.prototype.exec,jO=n1,vpe=kt("".charAt),mpe=kt("".indexOf),ype=kt("".replace),NO=kt("".slice),BO=(TO=/b*/g,zn(n1,AL=/a/,"a"),zn(n1,TO,"a"),AL.lastIndex!==0||TO.lastIndex!==0),DL=lpe.BROKEN_CARET,FO=/()??/.exec("")[1]!==void 0;(BO||FO||DL||fpe||ppe)&&(jO=function(e){var t,n,r,o,i,a,u,s=this,l=hpe(s),c=Bi(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=zn(jO,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=DL&&s.sticky,y=zn(SL,s),g=s.source,v=0,m=c;if(d&&(y=ype(y,"y",""),mpe(y,"g")===-1&&(y+="g"),m=NO(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&vpe(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),FO&&(n=new RegExp("^"+g+"$(?!\\s)",y)),BO&&(r=s.lastIndex),o=zn(n1,d?n:s,m),d?o?(o.input=NO(o.input,v),o[0]=NO(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:BO&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),FO&&o&&o.length>1&&zn(gpe,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=xO(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var r1=jO;Yo({target:"RegExp",proto:!0,forced:/./.exec!==r1},{exec:r1});var kO=Function.prototype,OL=kO.apply,bpe=kO.bind,_L=kO.call,TL=typeof Reflect=="object"&&Reflect.apply||(bpe?_L.bind(OL):function(){return _L.apply(OL,arguments)}),PL=(Sr("species"),RegExp.prototype),Epe=kt("".charAt),RL=kt("".charCodeAt),Cpe=kt("".slice),jL=function(e){return function(t,n){var r,o,i=Bi(qh(t)),a=Xy(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=RL(i,a))<55296||r>56319||a+1===u||(o=RL(i,a+1))<56320||o>57343?e?Epe(i,a):r:e?Cpe(i,a,a+2):o-56320+(r-55296<<10)+65536}},NL={codeAt:jL(!1),charAt:jL(!0)},wpe=NL.charAt,xpe=function(e,t,n){return t+(n?wpe(e,t).length:1)},Ape=Math.floor,LO=kt("".charAt),Spe=kt("".replace),MO=kt("".slice),Dpe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ope=/\$([$&'`]|\d{1,2})/g,_pe=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Ope;return o!==void 0&&(o=Hy(o),s=Dpe),Spe(i,s,function(l,c){var f;switch(LO(c,0)){case"$":return"$";case"&":return e;case"`":return MO(t,0,n);case"'":return MO(t,a);case"<":f=o[MO(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Ape(p/10);return d===0?l:d<=u?r[d-1]===void 0?LO(c,1):r[d-1]+LO(c,1):l}f=r[p-1]}return f===void 0?"":f})},Tpe=He.TypeError,Ppe=function(e,t){var n=e.exec;if(Pn(n)){var r=zn(n,e,t);return r!==null&&oo(r),r}if(Aa(e)==="RegExp")return zn(r1,e,t);throw Tpe("RegExp#exec called on incompatible receiver")},IO=Sr("replace"),Rpe=Math.max,jpe=Math.min,Npe=kt([].concat),UO=kt([].push),BL=kt("".indexOf),FL=kt("".slice),Bpe="a".replace(/./,"$0")==="$0",kL=!!/./[IO]&&/./[IO]("a","$0")==="";function LL(e){return e===void 0&&(e="r"),e+"-"+_8()}!function(e,t,n,r){var o=Sr(e),i=!Wn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!Wn(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=kt(/./[o]),s=function(l,c,f){var p=kL?"$":"$0";return[function(d,y){var g=qh(this),v=d==null?void 0:tg(d,IO);return v?zn(v,d,g,y):zn(c,Bi(g),d,y)},function(d,y){var g=oo(this),v=Bi(d);if(typeof y=="string"&&BL(y,p)===-1&&BL(y,"$<")===-1){var m=f(c,g,v,y);if(m.done)return m.value}var h=Pn(y);h||(y=Bi(y));var b=g.global;if(b){var E=g.unicode;g.lastIndex=0}for(var w=[];;){var S=Ppe(g,v);if(S===null)break;if(UO(w,S),!b)break;Bi(S[0])===""&&(g.lastIndex=xpe(v,iL(g.lastIndex),E))}for(var x,B="",U=0,oe=0;oe<w.length;oe++){for(var fe=Bi((S=w[oe])[0]),ie=Rpe(jpe(Xy(S.index),v.length),0),De=[],me=1;me<S.length;me++)UO(De,(x=S[me])===void 0?x:String(x));var ye=S.groups;if(h){var we=Npe([fe],De,ie,v);ye!==void 0&&UO(we,ye);var Ve=Bi(TL(y,void 0,we))}else Ve=_pe(fe,v,ie,De,ye,y);ie>=U&&(B+=FL(v,U,ie)+Ve,U=ie+fe.length)}return B+FL(v,U)}]}(0,""[e],function(l,c,f,p,d){var y=kt(l),g=c.exec;return g===r1||g===PL.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});ci(String.prototype,e,s[0]),ci(PL,o,s[1])}}("replace",0,!!Wn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Bpe||kL);var o1=He.Promise,i1=function(e,t,n){for(var r in t)ci(e,r,t[r],n);return e},Fpe=He.String,kpe=He.TypeError,Hf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=kt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,o){return oo(r),function(i){if(typeof i=="object"||Pn(i))return i;throw kpe("Can't set "+Fpe(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),Lpe=tu.f,ML=Sr("toStringTag"),a1=function(e,t,n){e&&!Ur(e=n?e:e.prototype,ML)&&Lpe(e,ML,{configurable:!0,value:t})},IL=Sr("species"),Mpe=He.TypeError,zO=function(e,t){if($h(t,e))return e;throw Mpe("Incorrect invocation")},Vf={},Ipe=Sr("iterator"),Upe=Array.prototype,zpe=Sr("iterator"),UL=function(e){if(e!=null)return tg(e,zpe)||tg(e,"@@iterator")||Vf[Qy(e)]},Hpe=He.TypeError,zL=function(e,t,n){var r,o;oo(e);try{if(!(r=tg(e,"return"))){if(t==="throw")throw n;return n}r=zn(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return oo(r),n},Vpe=He.TypeError,u1=function(e,t){this.stopped=e,this.result=t},HL=u1.prototype,s1=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=lg(t,f),v=function(h){return r&&zL(r,"normal",h),new u1(!0,h)},m=function(h){return p?(oo(h),y?g(h[0],h[1],v):g(h[0],h[1])):y?g(h,v):g(h)};if(d)r=e;else{if(!(o=UL(e)))throw Vpe(zy(e)+" is not iterable");if((c=o)!==void 0&&(Vf.Array===c||Upe[Ipe]===c)){for(i=0,a=ag(e);a>i;i++)if((u=m(e[i]))&&$h(HL,u))return u;return new u1(!1)}r=function(h,b){var E=arguments.length<2?UL(h):b;if(ys(E))return oo(zn(E,h));throw Hpe(zy(h)+" is not iterable")}(e,o)}for(s=r.next;!(l=zn(s,r)).done;){try{u=m(l.value)}catch(h){zL(r,"throw",h)}if(typeof u=="object"&&u&&$h(HL,u))return u}return new u1(!1)},VL=Sr("iterator"),WL=!1;try{var Wpe=0,GL={next:function(){return{done:!!Wpe++}},return:function(){WL=!0}};GL[VL]=function(){return this},Array.from(GL,function(){throw 2})}catch(e){}var fg,Wf,KL,HO,XL=function(e,t){if(!t&&!WL)return!1;var n=!1;try{var r={};r[VL]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(o){}return n},Gpe=He.TypeError,Kpe=Sr("species"),YL=kt([].slice),JL=/(?:ipad|iphone|ipod).*applewebkit/i.test(If),ws=Aa(He.process)=="process",VO=He.setImmediate,WO=He.clearImmediate,Xpe=He.process,GO=He.Dispatch,Ype=He.Function,ZL=He.MessageChannel,Jpe=He.String,KO=0,dg={};try{fg=He.location}catch(e){}var XO=function(e){if(Ur(dg,e)){var t=dg[e];delete dg[e],t()}},YO=function(e){return function(){XO(e)}},QL=function(e){XO(e.data)},qL=function(e){He.postMessage(Jpe(e),fg.protocol+"//"+fg.host)};VO&&WO||(VO=function(e){var t=YL(arguments,1);return dg[++KO]=function(){TL(Pn(e)?e:Ype(e),void 0,t)},Wf(KO),KO},WO=function(e){delete dg[e]},ws?Wf=function(e){Xpe.nextTick(YO(e))}:GO&&GO.now?Wf=function(e){GO.now(YO(e))}:ZL&&!JL?(HO=(KL=new ZL).port2,KL.port1.onmessage=QL,Wf=lg(HO.postMessage,HO)):He.addEventListener&&Pn(He.postMessage)&&!He.importScripts&&fg&&fg.protocol!=="file:"&&!Wn(qL)?(Wf=qL,He.addEventListener("message",QL,!1)):Wf="onreadystatechange"in rg("script")?function(e){CO.appendChild(rg("script")).onreadystatechange=function(){CO.removeChild(this),XO(e)}}:function(e){setTimeout(YO(e),0)});var pg,Jl,hg,Gf,JO,ZO,QO,$L,eM={set:VO,clear:WO},Zpe=/ipad|iphone|ipod/i.test(If)&&He.Pebble!==void 0,Qpe=/web0s(?!.*chrome)/i.test(If),qpe=hO.f,qO=eM.set,tM=He.MutationObserver||He.WebKitMutationObserver,nM=He.document,rM=He.process,l1=He.Promise,oM=qpe(He,"queueMicrotask"),iM=oM&&oM.value;iM||(pg=function(){var e,t;for(ws&&(e=rM.domain)&&e.exit();Jl;){t=Jl.fn,Jl=Jl.next;try{t()}catch(n){throw Jl?Gf():hg=void 0,n}}hg=void 0,e&&e.enter()},JL||ws||Qpe||!tM||!nM?!Zpe&&l1&&l1.resolve?((QO=l1.resolve(void 0)).constructor=l1,$L=lg(QO.then,QO),Gf=function(){$L(pg)}):ws?Gf=function(){rM.nextTick(pg)}:(qO=lg(qO,He),Gf=function(){qO(pg)}):(JO=!0,ZO=nM.createTextNode(""),new tM(pg).observe(ZO,{characterData:!0}),Gf=function(){ZO.data=JO=!JO}));var $O,aM,uM,sM,lM=iM||function(e){var t={fn:e,next:void 0};hg&&(hg.next=t),Jl||(Jl=t,Gf()),hg=t},$pe=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=ys(t),this.reject=ys(n)},e4={f:function(e){return new $pe(e)}},t4=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},ehe=typeof window=="object",cM=eM.set,the=Sr("species"),nu="Promise",fM=li.getterFor(nu),nhe=li.set,rhe=li.getterFor(nu),Zl=o1&&o1.prototype,Sa=o1,gg=Zl,dM=He.TypeError,n4=He.document,r4=He.process,Kf=e4.f,ohe=Kf,ihe=!!(n4&&n4.createEvent&&He.dispatchEvent),pM=Pn(He.PromiseRejectionEvent),hM=!1,vg=Zy(nu,function(){var e=Gy(Sa),t=e!==String(Sa);if(!t&&eg===66)return!0;if(eg>=51&&/native code/.test(e))return!1;var n=new Sa(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[the]=r,!(hM=n.then(function(){})instanceof r)||!t&&ehe&&!pM}),ahe=vg||!XL(function(e){Sa.all(e).catch(function(){})}),gM=function(e){var t;return!(!Xn(e)||!Pn(t=e.then))&&t},o4=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;lM(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,p=l.reject,d=l.domain;try{c?(o||(e.rejection===2&&she(e),e.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(dM("Promise-chain cycle")):(u=gM(a))?zn(u,a,f,p):f(a)):p(r)}catch(y){d&&!s&&d.exit(),p(y)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&uhe(e)})}},vM=function(e,t,n){var r,o;ihe?((r=n4.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),He.dispatchEvent(r)):r={promise:t,reason:n},!pM&&(o=He["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var u=He.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},uhe=function(e){zn(cM,He,function(){var t,n=e.facade,r=e.value;if(mM(e)&&(t=t4(function(){ws?r4.emit("unhandledRejection",r,n):vM("unhandledrejection",n,r)}),e.rejection=ws||mM(e)?2:1,t.error))throw t.value})},mM=function(e){return e.rejection!==1&&!e.parent},she=function(e){zn(cM,He,function(){var t=e.facade;ws?r4.emit("rejectionHandled",t):vM("rejectionhandled",t,e.value)})},Xf=function(e,t,n){return function(r){e(t,r,n)}},Yf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,o4(e,!0))},i4=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw dM("Promise can't be resolved itself");var r=gM(t);r?lM(function(){var o={done:!1};try{zn(r,t,Xf(i4,o,e),Xf(Yf,o,e))}catch(i){Yf(o,i,e)}}):(e.value=t,e.state=1,o4(e,!1))}catch(o){Yf({done:!1},o,e)}}};if(vg&&(gg=(Sa=function(e){zO(this,gg),ys(e),zn($O,this);var t=fM(this);try{e(Xf(i4,t),Xf(Yf,t))}catch(n){Yf(t,n)}}).prototype,($O=function(e){nhe(this,{type:nu,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=i1(gg,{then:function(e,t){var n=rhe(this),r=n.reactions,o=Kf(function(i,a){var u,s=oo(i).constructor;return s===void 0||(u=oo(s)[Kpe])==null?a:function(l){if(OO(l))return l;throw Gpe(zy(l)+" is not a constructor")}(u)}(this,Sa));return o.ok=!Pn(e)||e,o.fail=Pn(t)&&t,o.domain=ws?r4.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&o4(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),aM=function(){var e=new $O,t=fM(e);this.promise=e,this.resolve=Xf(i4,t),this.reject=Xf(Yf,t)},e4.f=Kf=function(e){return e===Sa||e===uM?new aM(e):ohe(e)},Pn(o1)&&Zl!==Object.prototype)){sM=Zl.then,hM||(ci(Zl,"then",function(e,t){var n=this;return new Sa(function(r,o){zn(sM,n,r,o)}).then(e,t)},{unsafe:!0}),ci(Zl,"catch",gg.catch,{unsafe:!0}));try{delete Zl.constructor}catch(e){}Hf&&Hf(Zl,gg)}function mg(e,t,n){return n===void 0&&(n=""),ky(this,void 0,void 0,function(){var r,o,i,a,u,s,l;return Ly(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),o=r.onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(t,n)]):[2];case 1:return typeof(u=c.sent())=="string"?(e.alert(u,"error"),[2]):u==null?[2]:[4,a(t)];case 2:return(s=c.sent()).trim().indexOf("<iframe ")!==0&&(s=s.replace(/</g,"&lt;").replace(/>/g,"&gt;")),l={type:"video",src:s,poster:n,children:[{text:""}]},Promise.resolve().then(function(){Z.insertNodes(e,l)}),o(l),[2]}})})}function a4(){return LL("w-e-insert-video")}Yo({global:!0,wrap:!0,forced:vg},{Promise:Sa}),a1(Sa,nu,!1),function(e){var t=Kl("Promise"),n=tu.f;xa&&t&&!t[IL]&&n(t,IL,{configurable:!0,get:function(){return this}})}(),uM=Kl(nu),Yo({target:nu,stat:!0,forced:vg},{reject:function(e){var t=Kf(this);return zn(t.reject,void 0,e),t.promise}}),Yo({target:nu,stat:!0,forced:vg},{resolve:function(e){return function(t,n){if(oo(t),Xn(n)&&n.constructor===t)return n;var r=e4.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Yo({target:nu,stat:!0,forced:ahe},{all:function(e){var t=this,n=Kf(t),r=n.resolve,o=n.reject,i=t4(function(){var a=ys(t.resolve),u=[],s=0,l=1;s1(e,function(c){var f=s++,p=!1;l++,zn(a,t,c).then(function(d){p||(p=!0,u[f]=d,--l||r(u))},o)}),--l||r(u)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Kf(t),r=n.reject,o=t4(function(){var i=ys(t.resolve);s1(e,function(a){zn(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var lhe=function(){function e(){this.title=Me("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=a4(),this.posterInputId=a4(),this.buttonId=a4()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!N.getSelectedElems(t).some(function(r){var o=N.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.posterInputId,a=r.buttonId,u=Gl(ri(Me("videoModule.videoSrc"),o,Me("videoModule.videoSrcPlaceHolder")),2),s=u[0],l=u[1],c=Gl(ri(Me("videoModule.videoPoster"),i,Me("videoModule.videoPosterPlaceHolder")),2),f=c[0],p=c[1],d=k(l),y=k(p),g=Gl(lf(a,Me("videoModule.ok")),1)[0];if(this.$content==null){var v=k("<div></div>");v.on("click","#"+a,function(h){return ky(n,void 0,void 0,function(){var b,E;return Ly(this,function(w){switch(w.label){case 0:return h.preventDefault(),b=v.find("#"+o).val().trim(),E=v.find("#"+i).val().trim(),[4,mg(t,b,E)];case 1:return w.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=v}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(g),d.val(""),y.val(""),setTimeout(function(){d.focus()}),m[0]},e}(),che=kt([].join),fhe=iO!=Object,dhe=function(e,t){var n=[].join;return!!n&&Wn(function(){n.call(null,",",1)})}();Yo({target:"Array",proto:!0,forced:fhe||!dhe},{join:function(e){return che(ms(this),e===void 0?",":e)}});var Ql,yM,bM,phe=!Wn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),EM=gO("IE_PROTO"),u4=He.Object,hhe=u4.prototype,c1=phe?u4.getPrototypeOf:function(e){var t=Hy(e);if(Ur(t,EM))return t[EM];var n=t.constructor;return Pn(n)&&t instanceof n?n.prototype:t instanceof u4?hhe:null},s4=Sr("iterator"),CM=!1;[].keys&&("next"in(bM=[].keys())?(yM=c1(c1(bM)))!==Object.prototype&&(Ql=yM):CM=!0);var ghe=Ql==null||Wn(function(){var e={};return Ql[s4].call(e)!==e});ghe&&(Ql={}),Pn(Ql[s4])||ci(Ql,s4,function(){return this});var l4={IteratorPrototype:Ql,BUGGY_SAFARI_ITERATORS:CM},vhe=l4.IteratorPrototype,mhe=function(){return this},yhe=zf.PROPER,bhe=zf.CONFIGURABLE,wM=l4.IteratorPrototype,f1=l4.BUGGY_SAFARI_ITERATORS,yg=Sr("iterator"),Ehe=function(){return this},xM=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=xO(vhe,{next:Uy(1,b)}),a1(m,w,!1),Vf[w]=mhe}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!f1&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[yg]||d["@@iterator"]||o&&d[o],g=!f1&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=c1(v.call(new e)))!==Object.prototype&&u.next&&(c1(u)!==wM&&(Hf?Hf(u,wM):Pn(u[yg])||ci(u,yg,Ehe)),a1(u,f,!0)),yhe&&o=="values"&&y&&y.name!=="values"&&(bhe?Es(d,"name","values"):(p=!0,g=function(){return zn(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(f1||p||!(l in d))&&ci(d,l,s[l]);else Yo({target:t,proto:!0,forced:f1||p},s);return d[yg]!==g&&ci(d,yg,g,{name:o}),Vf[t]=g,s},Che=li.set,whe=li.getterFor("Array Iterator"),bg=xM(Array,"Array",function(e,t){Che(this,{type:"Array Iterator",target:ms(e),index:0,kind:t})},function(){var e=whe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Vf.Arguments=Vf.Array,sg("keys"),sg("values"),sg("entries");var xhe=NL.charAt,Ahe=li.set,She=li.getterFor("String Iterator");xM(String,"String",function(e){Ahe(this,{type:"String Iterator",string:Bi(e),index:0})},function(){var e,t=She(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=xhe(n,r),t.index+=e.length,{value:e,done:!1})});var AM=function(e,t,n){var r=dO(t);r in e?tu.f(e,r,Uy(0,n)):e[r]=n},Dhe=He.Array,Ohe=Math.max,SM=Jy.f,DM=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_he={f:function(e){return DM&&Aa(e)=="Window"?function(t){try{return SM(t)}catch(n){return function(r,o,i){for(var a=ag(r),u=ig(void 0,a),s=ig(a,a),l=Dhe(Ohe(s-u,0)),c=0;u<s;u++,c++)AM(l,c,r[u]);return l.length=c,l}(DM)}}(e):SM(ms(e))}},OM=Wn(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),d1=Object.isExtensible,ql=Wn(function(){d1(1)})||OM?function(e){return!!Xn(e)&&(!OM||Aa(e)!="ArrayBuffer")&&(!d1||d1(e))}:d1,The=!Wn(function(){return Object.isExtensible(Object.preventExtensions({}))}),c4=tO(function(e){var t=tu.f,n=!1,r=fO("meta"),o=0,i=function(u){t(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var u=Jy.f,s=kt([].splice),l={};l[r]=1,u(l).length&&(Jy.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},Yo({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:_he.f}))},fastKey:function(u,s){if(!Xn(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Ur(u,r)){if(!ql(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Ur(u,r)){if(!ql(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return The&&n&&ql(u)&&!Ur(u,r)&&i(u),u}};Ky[r]=!0}),p1=c4.getWeakData,Phe=li.set,Rhe=li.getterFor,jhe=_O.find,Nhe=_O.findIndex,Bhe=kt([].splice),Fhe=0,h1=function(e){return e.frozen||(e.frozen=new _M)},_M=function(){this.entries=[]},f4=function(e,t){return jhe(e.entries,function(n){return n[0]===t})};_M.prototype={get:function(e){var t=f4(this,e);if(t)return t[1]},has:function(e){return!!f4(this,e)},set:function(e,t){var n=f4(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Nhe(this.entries,function(n){return n[0]===e});return~t&&Bhe(this.entries,t,1),!!~t}};var Eg,TM={getConstructor:function(e,t,n,r){var o=e(function(s,l){zO(s,i),Phe(s,{type:t,id:Fhe++,frozen:void 0}),l!=null&&s1(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Rhe(t),u=function(s,l,c){var f=a(s),p=p1(oo(l),!0);return p===!0?h1(f).set(l,c):p[f.id]=c,s};return i1(i,{delete:function(s){var l=a(this);if(!Xn(s))return!1;var c=p1(s);return c===!0?h1(l).delete(s):c&&Ur(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Xn(s))return!1;var c=p1(s);return c===!0?h1(l).has(s):c&&Ur(c,l.id)}}),i1(i,n?{get:function(s){var l=a(this);if(Xn(s)){var c=p1(s);return c===!0?h1(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},g1=li.enforce,khe=!He.ActiveXObject&&"ActiveXObject"in He,PM=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Lhe=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=He[e],u=a&&a.prototype,s=a,l={},c=function(v){var m=kt(u[v]);ci(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Xn(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!Xn(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Xn(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(Zy(e,!Pn(a)||!(o||u.forEach&&!Wn(function(){new a().entries().next()}))))s=n.getConstructor(t,e,r,i),c4.enable();else if(Zy(e,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Wn(function(){f.has(1)}),y=XL(function(v){new a(v)}),g=!o&&Wn(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=t(function(v,m){zO(v,u);var h=function(b,E,w){var S,x;return Hf&&Pn(S=E.constructor)&&S!==w&&Xn(x=S.prototype)&&x!==w.prototype&&Hf(b,x),b}(new a,v,s);return m!=null&&s1(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,Yo({global:!0,forced:s!=a},l),a1(s,e),o||n.setStrong(s,e,r),s}("WeakMap",PM,TM);if(tL&&khe){Eg=TM.getConstructor(PM,"WeakMap",!0),c4.enable();var Cg=Lhe.prototype,RM=kt(Cg.delete),v1=kt(Cg.has),jM=kt(Cg.get),NM=kt(Cg.set);i1(Cg,{delete:function(e){if(Xn(e)&&!ql(e)){var t=g1(this);return t.frozen||(t.frozen=new Eg),RM(this,e)||t.frozen.delete(e)}return RM(this,e)},has:function(e){if(Xn(e)&&!ql(e)){var t=g1(this);return t.frozen||(t.frozen=new Eg),v1(this,e)||t.frozen.has(e)}return v1(this,e)},get:function(e){if(Xn(e)&&!ql(e)){var t=g1(this);return t.frozen||(t.frozen=new Eg),v1(this,e)?jM(this,e):t.frozen.get(e)}return jM(this,e)},set:function(e,t){if(Xn(e)&&!ql(e)){var n=g1(this);n.frozen||(n.frozen=new Eg),v1(this,e)?NM(this,e,t):n.frozen.set(e,t)}else NM(this,e,t);return this}})}var BM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},d4=rg("span").classList,FM=d4&&d4.constructor&&d4.constructor.prototype,Mhe=FM===Object.prototype?void 0:FM,p4=Sr("iterator"),kM=Sr("toStringTag"),h4=bg.values,LM=function(e,t){if(e){if(e[p4]!==h4)try{Es(e,p4,h4)}catch(r){e[p4]=h4}if(e[kM]||Es(e,kM,t),BM[t]){for(var n in bg)if(e[n]!==bg[n])try{Es(e,n,bg[n])}catch(r){e[n]=bg[n]}}}};for(var g4 in BM)LM(He[g4]&&He[g4].prototype,g4);LM(Mhe,"DOMTokenList");var Ihe=zf.EXISTS,Uhe=tu.f,MM=Function.prototype,zhe=kt(MM.toString),IM=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Hhe=kt(IM.exec);xa&&!Ihe&&Uhe(MM,"name",{configurable:!0,get:function(){try{return Hhe(IM,zhe(this))[1]}catch(e){return""}}});var Vhe=Sr("species"),Whe=eg>=51||!Wn(function(){var e=[];return(e.constructor={})[Vhe]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),Ghe=Sr("species"),v4=He.Array,Khe=Math.max;function UM(e){return e.getMenuConfig("uploadVideo")}Yo({target:"Array",proto:!0,forced:!Whe},{slice:function(e,t){var n,r,o,i=ms(this),a=ag(i),u=ig(e,a),s=ig(t===void 0?a:t,a);if(t1(i)&&(n=i.constructor,(OO(n)&&(n===v4||t1(n.prototype))||Xn(n)&&(n=n[Ghe])===null)&&(n=void 0),n===v4||n===void 0))return YL(i,u,s);for(r=new(n===void 0?v4:n)(Khe(s-u,0)),o=0;u<s;u++,o++)u in i&&AM(r,o,i[u]);return r.length=o,r}});var zM=new WeakMap;function Xhe(e,t){return ky(this,void 0,void 0,function(){var n,r,o,i;return Ly(this,function(a){switch(a.label){case 0:return n=function(u){var s=zM.get(u);if(s!=null)return s;var l=UM(u),c=l.onSuccess,f=l.onProgress,p=l.onFailed,d=l.customInsert,y=l.onError;return s=HR(Fy(Fy({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(d)return d(v,function(B,U){return mg(u,B,U)}),void c(g,v);var m=v.errno,h=m===void 0?1:m,b=v.data,E=b===void 0?{}:b;if(h===0){var w=E.url,S=w===void 0?"":w,x=E.poster;mg(u,S,x===void 0?"":x),c(g,v)}else p(g,v)},onError:function(g,v,m){y(g,v,m)}})),zM.set(u,s),s}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}var Yhe=function(){function e(){this.title=Me("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(c,f){return mg(t,c,f)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=k("body"),l=k('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;!function(f,p){var d,y;ky(this,void 0,void 0,function(){var g,v,m,h,b,E;return Ly(this,function(w){switch(w.label){case 0:if(p==null)return[2];g=Array.prototype.slice.call(p),v=UM(f).customUpload,w.label=1;case 1:w.trys.push([1,9,10,15]),m=Kfe(g),w.label=2;case 2:return[4,m.next()];case 3:return(h=w.sent()).done?[3,8]:(b=h.value,v?[4,v(b,function(S,x){return mg(f,S,x)})]:[3,5]);case 4:return w.sent(),[3,7];case 5:return[4,Xhe(f,b)];case 6:w.sent(),w.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return E=w.sent(),d={error:E},[3,15];case 10:return w.trys.push([10,,13,14]),h&&!h.done&&(y=m.return)?[4,y.call(m)]:[3,12];case 11:w.sent(),w.label=12;case 12:return[3,14];case 13:if(d)throw d.error;return[7];case 14:return[7];case 15:return[2]}})})}(t,c)})}},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!N.getSelectedElems(t).some(function(r){var o=N.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},e}(),Jhe=zf.PROPER,m4=RegExp.prototype,HM=m4.toString,Zhe=kt(SL),Qhe=Wn(function(){return HM.call({source:"a",flags:"b"})!="/a/b"}),qhe=Jhe&&HM.name!="toString";function y4(){return LL("w-e-insert-video")}(Qhe||qhe)&&ci(RegExp.prototype,"toString",function(){var e=oo(this),t=Bi(e.source),n=e.flags;return"/"+t+"/"+Bi(n===void 0&&$h(m4,e)&&!("flags"in m4)?Zhe(e):n)},{unsafe:!0});var $he=function(){function e(){this.title=Me("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=y4(),this.heightInputId=y4(),this.buttonId=y4()}return e.prototype.getSelectedVideoNode=function(t){return N.getSelectedNodeByType(t,"video")},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedVideoNode(t)==null},e.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=n.widthInputId,o=n.heightInputId,i=n.buttonId,a=Gl(ri(Me("videoModule.width"),r,"auto"),2),u=a[0],s=k(a[1]),l=Gl(ri(Me("videoModule.height"),o,"auto"),2),c=l[0],f=k(l[1]),p=Gl(lf(i,Me("videoModule.ok")),1)[0];if(this.$content==null){var d=k("<div></div>");d.on("click","#"+i,function(E){E.preventDefault();var w=d.find("#"+r).val().trim(),S=d.find("#"+o).val().trim(),x=parseInt(w),B=parseInt(S),U=x?x.toString():"auto",oe=B?B.toString():"auto";t.restoreSelection(),Z.setNodes(t,{width:U,height:oe},{match:function(fe){return N.checkNodeType(fe,"video")}}),t.hidePanelOrModal()}),this.$content=d}var y=this.$content;y.empty(),y.append(u),y.append(c),y.append(p);var g=this.getSelectedVideoNode(t);if(g==null)return y[0];var v=g.width,m=v===void 0?"auto":v,h=g.height,b=h===void 0?"auto":h;return s.val(m),f.val(b),setTimeout(function(){s.focus()}),y[0]},e}(),ege={renderElems:[Yde],elemsToHtml:[Jde],preParseHtml:[$de],parseElemsHtml:[upe],menus:[{key:"insertVideo",factory:function(){return new lhe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Yhe},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new $he}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(o){return o.type==="video"||t(o)},r.normalizeNode=function(o){var i=Gl(o,2),a=i[0],u=i[1];return N.getNodeType(a)==="video"&&N.isLastNode(r,a)&&Z.insertNodes(r,N.genEmptyParagraph(),{at:[u[0]+1]}),n([a,u])},r}};Wo("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Wo("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var VM=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function b4(e){var t={exports:{}};return e(t,t.exports),t.exports}var xs,m1,y1=function(e){return e&&e.Math==Math&&e},ze=y1(typeof globalThis=="object"&&globalThis)||y1(typeof window=="object"&&window)||y1(typeof self=="object"&&self)||y1(typeof VM=="object"&&VM)||function(){return this}()||Function("return this")(),Yn=function(e){try{return!!e()}catch(t){return!0}},Da=!Yn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),wg=Function.prototype.call,Dn=wg.bind?wg.bind(wg):function(){return wg.apply(wg,arguments)},WM={}.propertyIsEnumerable,GM=Object.getOwnPropertyDescriptor,tge={f:GM&&!WM.call({1:2},1)?function(e){var t=GM(this,e);return!!t&&t.enumerable}:WM},b1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},KM=Function.prototype,E4=KM.bind,C4=KM.call,nge=E4&&E4.bind(C4),Yt=E4?function(e){return e&&nge(C4,e)}:function(e){return e&&function(){return C4.apply(e,arguments)}},rge=Yt({}.toString),oge=Yt("".slice),Qi=function(e){return oge(rge(e),8,-1)},w4=ze.Object,ige=Yt("".split),x4=Yn(function(){return!w4("z").propertyIsEnumerable(0)})?function(e){return Qi(e)=="String"?ige(e,""):w4(e)}:w4,age=ze.TypeError,xg=function(e){if(e==null)throw age("Can't call method on "+e);return e},As=function(e){return x4(xg(e))},Mn=function(e){return typeof e=="function"},Gn=function(e){return typeof e=="object"?e!==null:Mn(e)},uge=function(e){return Mn(e)?e:void 0},$l=function(e,t){return arguments.length<2?uge(ze[e]):ze[e]&&ze[e][t]},Ag=Yt({}.isPrototypeOf),Jf=$l("navigator","userAgent")||"",XM=ze.process,YM=ze.Deno,JM=XM&&XM.versions||YM&&YM.version,ZM=JM&&JM.v8;ZM&&(m1=(xs=ZM.split("."))[0]>0&&xs[0]<4?1:+(xs[0]+xs[1])),!m1&&Jf&&(!(xs=Jf.match(/Edge\/(\d+)/))||xs[1]>=74)&&(xs=Jf.match(/Chrome\/(\d+)/))&&(m1=+xs[1]);var Sg=m1,A4=!!Object.getOwnPropertySymbols&&!Yn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Sg&&Sg<41}),S4=A4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",sge=ze.Object,D4=S4?function(e){return typeof e=="symbol"}:function(e){var t=$l("Symbol");return Mn(t)&&Ag(t.prototype,sge(e))},lge=ze.String,E1=function(e){try{return lge(e)}catch(t){return"Object"}},cge=ze.TypeError,Ss=function(e){if(Mn(e))return e;throw cge(E1(e)+" is not a function")},Dg=function(e,t){var n=e[t];return n==null?void 0:Ss(n)},fge=ze.TypeError,dge=Object.defineProperty,O4=function(e,t){try{dge(ze,e,{value:t,configurable:!0,writable:!0})}catch(n){ze[e]=t}return t},Ds=ze["__core-js_shared__"]||O4("__core-js_shared__",{}),_4=b4(function(e){(e.exports=function(t,n){return Ds[t]||(Ds[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),pge=ze.Object,T4=function(e){return pge(xg(e))},hge=Yt({}.hasOwnProperty),zr=Object.hasOwn||function(e,t){return hge(T4(e),t)},gge=0,vge=Math.random(),mge=Yt(1 .toString),P4=function(e){return"Symbol("+(e===void 0?"":e)+")_"+mge(++gge+vge,36)},Og=_4("wks"),ec=ze.Symbol,QM=ec&&ec.for,yge=S4?ec:ec&&ec.withoutSetter||P4,Dr=function(e){if(!zr(Og,e)||!A4&&typeof Og[e]!="string"){var t="Symbol."+e;A4&&zr(ec,e)?Og[e]=ec[e]:Og[e]=S4&&QM?QM(t):yge(t)}return Og[e]},bge=ze.TypeError,Ege=Dr("toPrimitive"),R4=function(e){var t=function(n,r){if(!Gn(n)||D4(n))return n;var o,i=Dg(n,Ege);if(i){if(r===void 0&&(r="default"),o=Dn(i,n,r),!Gn(o)||D4(o))return o;throw bge("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Mn(s=a.toString)&&!Gn(l=Dn(s,a)))return l;if(Mn(s=a.valueOf)&&!Gn(l=Dn(s,a)))return l;if(u!=="string"&&Mn(s=a.toString)&&!Gn(l=Dn(s,a)))return l;throw fge("Can't convert object to primitive value")}(n,r)}(e,"string");return D4(t)?t:t+""},j4=ze.document,Cge=Gn(j4)&&Gn(j4.createElement),_g=function(e){return Cge?j4.createElement(e):{}},qM=!Da&&!Yn(function(){return Object.defineProperty(_g("div"),"a",{get:function(){return 7}}).a!=7}),$M=Object.getOwnPropertyDescriptor,N4={f:Da?$M:function(e,t){if(e=As(e),t=R4(t),qM)try{return $M(e,t)}catch(n){}if(zr(e,t))return b1(!Dn(tge.f,e,t),e[t])}},wge=ze.String,xge=ze.TypeError,io=function(e){if(Gn(e))return e;throw xge(wge(e)+" is not an object")},Age=ze.TypeError,eI=Object.defineProperty,ru={f:Da?eI:function(e,t,n){if(io(e),t=R4(t),io(n),qM)try{return eI(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Age("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Oa=Da?function(e,t,n){return ru.f(e,t,b1(1,n))}:function(e,t,n){return e[t]=n,e},Sge=Yt(Function.toString);Mn(Ds.inspectSource)||(Ds.inspectSource=function(e){return Sge(e)});var C1,Tg,w1,x1=Ds.inspectSource,tI=ze.WeakMap,nI=Mn(tI)&&/native code/.test(x1(tI)),rI=_4("keys"),B4=function(e){return rI[e]||(rI[e]=P4(e))},A1={},F4=ze.TypeError,Dge=ze.WeakMap;if(nI||Ds.state){var tc=Ds.state||(Ds.state=new Dge),Oge=Yt(tc.get),oI=Yt(tc.has),_ge=Yt(tc.set);C1=function(e,t){if(oI(tc,e))throw new F4("Object already initialized");return t.facade=e,_ge(tc,e,t),t},Tg=function(e){return Oge(tc,e)||{}},w1=function(e){return oI(tc,e)}}else{var Zf=B4("state");A1[Zf]=!0,C1=function(e,t){if(zr(e,Zf))throw new F4("Object already initialized");return t.facade=e,Oa(e,Zf,t),t},Tg=function(e){return zr(e,Zf)?e[Zf]:{}},w1=function(e){return zr(e,Zf)}}var fi={set:C1,get:Tg,has:w1,enforce:function(e){return w1(e)?Tg(e):C1(e,{})},getterFor:function(e){return function(t){var n;if(!Gn(t)||(n=Tg(t)).type!==e)throw F4("Incompatible receiver, "+e+" required");return n}}},iI=Function.prototype,Tge=Da&&Object.getOwnPropertyDescriptor,k4=zr(iI,"name"),Pg={EXISTS:k4,PROPER:k4&&function(){}.name==="something",CONFIGURABLE:k4&&(!Da||Da&&Tge(iI,"name").configurable)},di=b4(function(e){var t=Pg.CONFIGURABLE,n=fi.get,r=fi.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Mn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!zr(u,"name")||t&&u.name!==d)&&Oa(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==ze?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Oa(i,a,u)):f?i[a]=u:O4(a,u)})(Function.prototype,"toString",function(){return Mn(this)&&n(this).source||x1(this)})}),Pge=Math.ceil,Rge=Math.floor,L4=function(e){var t=+e;return t!=t||t===0?0:(t>0?Rge:Pge)(t)},jge=Math.max,Nge=Math.min,Rg=function(e,t){var n=L4(e);return n<0?jge(n+t,0):Nge(n,t)},Bge=Math.min,aI=function(e){return e>0?Bge(L4(e),9007199254740991):0},jg=function(e){return aI(e.length)},uI=function(e){return function(t,n,r){var o,i=As(t),a=jg(i),u=Rg(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Fge=(uI(!0),uI(!1)),sI=Yt([].push),lI=function(e,t){var n,r=As(e),o=0,i=[];for(n in r)!zr(A1,n)&&zr(r,n)&&sI(i,n);for(;t.length>o;)zr(r,n=t[o++])&&(~Fge(i,n)||sI(i,n));return i},S1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kge=S1.concat("length","prototype"),D1={f:Object.getOwnPropertyNames||function(e){return lI(e,kge)}},Lge={f:Object.getOwnPropertySymbols},Mge=Yt([].concat),Ige=$l("Reflect","ownKeys")||function(e){var t=D1.f(io(e)),n=Lge.f;return n?Mge(t,n(e)):t},Uge=function(e,t){for(var n=Ige(t),r=ru.f,o=N4.f,i=0;i<n.length;i++){var a=n[i];zr(e,a)||r(e,a,o(t,a))}},zge=/#|\.prototype\./,Ng=function(e,t){var n=Vge[Hge(e)];return n==Gge||n!=Wge&&(Mn(t)?Yn(t):!!t)},Hge=Ng.normalize=function(e){return String(e).replace(zge,".").toLowerCase()},Vge=Ng.data={},Wge=Ng.NATIVE="N",Gge=Ng.POLYFILL="P",O1=Ng,Kge=N4.f,_a=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?ze:l?ze[u]||O4(u,{}):(ze[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Kge(n,r))&&a.value:n[r],!O1(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Uge(i,o)}(e.sham||o&&o.sham)&&Oa(i,"sham",!0),di(n,r,i,e)}},_1=Array.isArray||function(e){return Qi(e)=="Array"},cI={};cI[Dr("toStringTag")]="z";var M4=String(cI)==="[object z]",Xge=Dr("toStringTag"),Yge=ze.Object,Jge=Qi(function(){return arguments}())=="Arguments",T1=M4?Qi:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=Yge(e),Xge))=="string"?n:Jge?Qi(t):(r=Qi(t))=="Object"&&Mn(t.callee)?"Arguments":r},fI=function(){},Zge=[],dI=$l("Reflect","construct"),I4=/^\s*(?:class|function)\b/,Qge=Yt(I4.exec),qge=!I4.exec(fI),Bg=function(e){if(!Mn(e))return!1;try{return dI(fI,Zge,e),!0}catch(t){return!1}},U4=!dI||Yn(function(){var e;return Bg(Bg.call)||!Bg(Object)||!Bg(function(){e=!0})||e})?function(e){if(!Mn(e))return!1;switch(T1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return qge||!!Qge(I4,x1(e))}:Bg,pI=function(e,t,n){var r=R4(t);r in e?ru.f(e,r,b1(0,n)):e[r]=n},$ge=Dr("species"),hI=Yt([].slice),e0e=Sg>=51||!Yn(function(){var e=[];return(e.constructor={})[$ge]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),t0e=Dr("species"),z4=ze.Array,n0e=Math.max;_a({target:"Array",proto:!0,forced:!e0e},{slice:function(e,t){var n,r,o,i=As(this),a=jg(i),u=Rg(e,a),s=Rg(t===void 0?a:t,a);if(_1(i)&&(n=i.constructor,(U4(n)&&(n===z4||_1(n.prototype))||Gn(n)&&(n=n[t0e])===null)&&(n=void 0),n===z4||n===void 0))return hI(i,u,s);for(r=new(n===void 0?z4:n)(n0e(s-u,0)),o=0;u<s;u++,o++)u in i&&pI(r,o,i[u]);return r.length=o,r}});var r0e=M4?{}.toString:function(){return"[object "+T1(this)+"]"};M4||di(Object.prototype,"toString",r0e,{unsafe:!0});var P1,o0e=ze.String,Os=function(e){if(T1(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return o0e(e)},gI=function(){var e=io(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},H4=ze.RegExp,V4=Yn(function(){var e=H4("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),i0e=V4||Yn(function(){return!H4("a","y").sticky}),vI={BROKEN_CARET:V4||Yn(function(){var e=H4("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:i0e,UNSUPPORTED_Y:V4},a0e=Object.keys||function(e){return lI(e,S1)},u0e=Da?Object.defineProperties:function(e,t){io(e);for(var n,r=As(t),o=a0e(t),i=o.length,a=0;i>a;)ru.f(e,n=o[a++],r[n]);return e},W4=$l("document","documentElement"),mI=B4("IE_PROTO"),G4=function(){},yI=function(e){return"<script>"+e+"</script>"},bI=function(e){e.write(yI("")),e.close();var t=e.parentWindow.Object;return e=null,t},R1=function(){try{P1=new ActiveXObject("htmlfile")}catch(r){}var e,t;R1=typeof document!="undefined"?document.domain&&P1?bI(P1):((t=_g("iframe")).style.display="none",W4.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(yI("document.F=Object")),e.close(),e.F):bI(P1);for(var n=S1.length;n--;)delete R1.prototype[S1[n]];return R1()};A1[mI]=!0;var EI,K4,X4=Object.create||function(e,t){var n;return e!==null?(G4.prototype=io(e),n=new G4,G4.prototype=null,n[mI]=e):n=R1(),t===void 0?n:u0e(n,t)},s0e=ze.RegExp,l0e=Yn(function(){var e=s0e(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),c0e=ze.RegExp,f0e=Yn(function(){var e=c0e("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),d0e=fi.get,p0e=_4("native-string-replace",String.prototype.replace),j1=RegExp.prototype.exec,Y4=j1,h0e=Yt("".charAt),g0e=Yt("".indexOf),v0e=Yt("".replace),J4=Yt("".slice),Z4=(K4=/b*/g,Dn(j1,EI=/a/,"a"),Dn(j1,K4,"a"),EI.lastIndex!==0||K4.lastIndex!==0),CI=vI.BROKEN_CARET,Q4=/()??/.exec("")[1]!==void 0;(Z4||Q4||CI||l0e||f0e)&&(Y4=function(e){var t,n,r,o,i,a,u,s=this,l=d0e(s),c=Os(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Dn(Y4,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=CI&&s.sticky,y=Dn(gI,s),g=s.source,v=0,m=c;if(d&&(y=v0e(y,"y",""),g0e(y,"g")===-1&&(y+="g"),m=J4(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&h0e(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),Q4&&(n=new RegExp("^"+g+"$(?!\\s)",y)),Z4&&(r=s.lastIndex),o=Dn(j1,d?n:s,m),d?o?(o.input=J4(o.input,v),o[0]=J4(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Z4&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Q4&&o&&o.length>1&&Dn(p0e,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=X4(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Fg=Y4;_a({target:"RegExp",proto:!0,forced:/./.exec!==Fg},{exec:Fg});var q4=Function.prototype,wI=q4.apply,m0e=q4.bind,xI=q4.call,AI=typeof Reflect=="object"&&Reflect.apply||(m0e?xI.bind(wI):function(){return xI.apply(wI,arguments)}),y0e=Dr("species"),$4=RegExp.prototype,b0e=Dr("match"),E0e=ze.TypeError,C0e=Dr("species"),SI=function(e,t){var n,r=io(e).constructor;return r===void 0||(n=io(r)[C0e])==null?t:function(o){if(U4(o))return o;throw E0e(E1(o)+" is not a constructor")}(n)},w0e=Yt("".charAt),DI=Yt("".charCodeAt),x0e=Yt("".slice),OI=function(e){return function(t,n){var r,o,i=Os(xg(t)),a=L4(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=DI(i,a))<55296||r>56319||a+1===u||(o=DI(i,a+1))<56320||o>57343?e?w0e(i,a):r:e?x0e(i,a,a+2):o-56320+(r-55296<<10)+65536}},_I={codeAt:OI(!1),charAt:OI(!0)},A0e=_I.charAt,S0e=function(e,t,n){return t+(n?A0e(e,t).length:1)},D0e=ze.Array,O0e=Math.max,e_=function(e,t,n){for(var r=jg(e),o=Rg(t,r),i=Rg(n===void 0?r:n,r),a=D0e(O0e(i-o,0)),u=0;o<i;o++,u++)pI(a,u,e[o]);return a.length=u,a},_0e=ze.TypeError,TI=function(e,t){var n=e.exec;if(Mn(n)){var r=Dn(n,e,t);return r!==null&&io(r),r}if(Qi(e)==="RegExp")return Dn(Fg,e,t);throw _0e("RegExp#exec called on incompatible receiver")},Qf=vI.UNSUPPORTED_Y,T0e=Math.min,PI=[].push,P0e=Yt(/./.exec),qf=Yt(PI),kg=Yt("".slice);!function(e,t,n,r){var o=Dr(e),i=!Yn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!Yn(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[y0e]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Yt(/./[o]),s=function(l,c,f){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(d,y){var g,v,m=Os(xg(this)),h=y===void 0?4294967295:y>>>0;if(h===0)return[];if(d===void 0)return[m];if(!Gn(g=d)||!((v=g[b0e])!==void 0?v:Qi(g)=="RegExp"))return Dn(c,m,d,h);for(var b,E,w,S=[],x=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),B=0,U=new RegExp(d.source,x+"g");(b=Dn(Fg,U,m))&&!((E=U.lastIndex)>B&&(qf(S,kg(m,B,b.index)),b.length>1&&b.index<m.length&&AI(PI,S,e_(b,1)),w=b[0].length,B=E,S.length>=h));)U.lastIndex===b.index&&U.lastIndex++;return B===m.length?!w&&P0e(U,"")||qf(S,""):qf(S,kg(m,B)),S.length>h?e_(S,0,h):S}:"0".split(void 0,0).length?function(d,y){return d===void 0&&y===0?[]:Dn(c,this,d,y)}:c,[function(d,y){var g=xg(this),v=d==null?void 0:Dg(d,l);return v?Dn(v,d,g,y):Dn(p,Os(g),d,y)},function(d,y){var g=io(this),v=Os(d),m=f(p,g,v,y,p!==c);if(m.done)return m.value;var h=SI(g,RegExp),b=g.unicode,E=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(Qf?"g":"y"),w=new h(Qf?"^(?:"+g.source+")":g,E),S=y===void 0?4294967295:y>>>0;if(S===0)return[];if(v.length===0)return TI(w,v)===null?[v]:[];for(var x=0,B=0,U=[];B<v.length;){w.lastIndex=Qf?0:B;var oe,fe=TI(w,Qf?kg(v,B):v);if(fe===null||(oe=T0e(aI(w.lastIndex+(Qf?B:0)),v.length))===x)B=S0e(v,B,b);else{if(qf(U,kg(v,x,B)),U.length===S)return U;for(var ie=1;ie<=fe.length-1;ie++)if(qf(U,fe[ie]),U.length===S)return U;B=x=oe}}return qf(U,kg(v,x)),U}]}(o,""[e],function(l,c,f,p,d){var y=Yt(l),g=c.exec;return g===Fg||g===$4.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});di(String.prototype,e,s[0]),di($4,o,s[1])}r&&Oa($4[o],"sham",!0)}("split",0,!!Yn(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Qf);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var N1=function(){return N1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N1.apply(this,arguments)};function t_(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(l){try{s(r.next(l))}catch(c){i(c)}}function u(l){try{s(r.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function n_(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function R0e(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(o){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&o[i],u=0;if(a)return a.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(i){return new Promise(function(a,u){!function(s,l,c,f){Promise.resolve(f).then(function(p){s({value:p,done:c})},l)}(a,u,(i=e[o](i)).done,i.value)})}}}var r_=Dr("unscopables"),o_=Array.prototype;o_[r_]==null&&ru.f(o_,r_,{configurable:!0,value:X4(null)});var nc,RI,jI,i_=function(e){o_[r_][e]=!0},$f={},j0e=!Yn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),NI=B4("IE_PROTO"),a_=ze.Object,N0e=a_.prototype,B1=j0e?a_.getPrototypeOf:function(e){var t=T4(e);if(zr(t,NI))return t[NI];var n=t.constructor;return Mn(n)&&t instanceof n?n.prototype:t instanceof a_?N0e:null},u_=Dr("iterator"),BI=!1;[].keys&&("next"in(jI=[].keys())?(RI=B1(B1(jI)))!==Object.prototype&&(nc=RI):BI=!0);var B0e=nc==null||Yn(function(){var e={};return nc[u_].call(e)!==e});B0e&&(nc={}),Mn(nc[u_])||di(nc,u_,function(){return this});var s_={IteratorPrototype:nc,BUGGY_SAFARI_ITERATORS:BI},F0e=ru.f,FI=Dr("toStringTag"),F1=function(e,t,n){e&&!zr(e=n?e:e.prototype,FI)&&F0e(e,FI,{configurable:!0,value:t})},k0e=s_.IteratorPrototype,L0e=function(){return this},M0e=ze.String,I0e=ze.TypeError,ed=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Yt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,o){return io(r),function(i){if(typeof i=="object"||Mn(i))return i;throw I0e("Can't set "+M0e(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),U0e=Pg.PROPER,z0e=Pg.CONFIGURABLE,kI=s_.IteratorPrototype,k1=s_.BUGGY_SAFARI_ITERATORS,Lg=Dr("iterator"),H0e=function(){return this},LI=function(e,t,n,r,o,i,a){!function(m,h,b,E){var w=h+" Iterator";m.prototype=X4(k0e,{next:b1(1,b)}),F1(m,w,!1),$f[w]=L0e}(n,t,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!k1&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,y=d[Lg]||d["@@iterator"]||o&&d[o],g=!k1&&y||c(o),v=t=="Array"&&d.entries||y;if(v&&(u=B1(v.call(new e)))!==Object.prototype&&u.next&&(B1(u)!==kI&&(ed?ed(u,kI):Mn(u[Lg])||di(u,Lg,H0e)),F1(u,f,!0)),U0e&&o=="values"&&y&&y.name!=="values"&&(z0e?Oa(d,"name","values"):(p=!0,g=function(){return Dn(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(k1||p||!(l in d))&&di(d,l,s[l]);else _a({target:t,proto:!0,forced:k1||p},s);return d[Lg]!==g&&di(d,Lg,g,{name:o}),$f[t]=g,s},V0e=fi.set,W0e=fi.getterFor("Array Iterator"),Mg=LI(Array,"Array",function(e,t){V0e(this,{type:"Array Iterator",target:As(e),index:0,kind:t})},function(){var e=W0e(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");$f.Arguments=$f.Array,i_("keys"),i_("values"),i_("entries");var G0e=_I.charAt,K0e=fi.set,X0e=fi.getterFor("String Iterator");LI(String,"String",function(e){K0e(this,{type:"String Iterator",string:Os(e),index:0})},function(){var e,t=X0e(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=G0e(n,r),t.index+=e.length,{value:e,done:!1})});var L1=function(e,t,n){for(var r in t)di(e,r,t[r],n);return e},MI=D1.f,II=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Y0e={f:function(e){return II&&Qi(e)=="Window"?function(t){try{return MI(t)}catch(n){return e_(II)}}(e):MI(As(e))}},UI=Yn(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),M1=Object.isExtensible,rc=Yn(function(){M1(1)})||UI?function(e){return!!Gn(e)&&(!UI||Qi(e)!="ArrayBuffer")&&(!M1||M1(e))}:M1,J0e=!Yn(function(){return Object.isExtensible(Object.preventExtensions({}))}),l_=b4(function(e){var t=ru.f,n=!1,r=P4("meta"),o=0,i=function(u){t(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var u=D1.f,s=Yt([].splice),l={};l[r]=1,u(l).length&&(D1.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},_a({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Y0e.f}))},fastKey:function(u,s){if(!Gn(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!zr(u,r)){if(!rc(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!zr(u,r)){if(!rc(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return J0e&&n&&rc(u)&&!zr(u,r)&&i(u),u}};A1[r]=!0}),zI=Yt(Yt.bind),Ig=function(e,t){return Ss(e),t===void 0?e:zI?zI(e,t):function(){return e.apply(t,arguments)}},Z0e=Dr("iterator"),Q0e=Array.prototype,q0e=Dr("iterator"),HI=function(e){if(e!=null)return Dg(e,q0e)||Dg(e,"@@iterator")||$f[T1(e)]},$0e=ze.TypeError,VI=function(e,t,n){var r,o;io(e);try{if(!(r=Dg(e,"return"))){if(t==="throw")throw n;return n}r=Dn(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return io(r),n},eve=ze.TypeError,I1=function(e,t){this.stopped=e,this.result=t},WI=I1.prototype,U1=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=Ig(t,f),v=function(h){return r&&VI(r,"normal",h),new I1(!0,h)},m=function(h){return p?(io(h),y?g(h[0],h[1],v):g(h[0],h[1])):y?g(h,v):g(h)};if(d)r=e;else{if(!(o=HI(e)))throw eve(E1(e)+" is not iterable");if((c=o)!==void 0&&($f.Array===c||Q0e[Z0e]===c)){for(i=0,a=jg(e);a>i;i++)if((u=m(e[i]))&&Ag(WI,u))return u;return new I1(!1)}r=function(h,b){var E=arguments.length<2?HI(h):b;if(Ss(E))return io(Dn(E,h));throw $0e(E1(h)+" is not iterable")}(e,o)}for(s=r.next;!(l=Dn(s,r)).done;){try{u=m(l.value)}catch(h){VI(r,"throw",h)}if(typeof u=="object"&&u&&Ag(WI,u))return u}return new I1(!1)},tve=ze.TypeError,c_=function(e,t){if(Ag(t,e))return e;throw tve("Incorrect invocation")},GI=Dr("iterator"),KI=!1;try{var nve=0,XI={next:function(){return{done:!!nve++}},return:function(){KI=!0}};XI[GI]=function(){return this},Array.from(XI,function(){throw 2})}catch(e){}var YI=function(e,t){if(!t&&!KI)return!1;var n=!1;try{var r={};r[GI]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(o){}return n},rve=Dr("species"),JI=ze.Array,ove=function(e,t){return new(function(n){var r;return _1(n)&&(r=n.constructor,(U4(r)&&(r===JI||_1(r.prototype))||Gn(r)&&(r=r[rve])===null)&&(r=void 0)),r===void 0?JI:r}(e))(t===0?0:t)},ZI=Yt([].push),_s=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=T4(s),g=x4(y),v=Ig(l,c),m=jg(g),h=0,b=f||ove,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:ZI(E,p)}else switch(e){case 4:return!1;case 7:ZI(E,p)}return i?-1:r||o?o:E}},f_={forEach:_s(0),map:_s(1),filter:_s(2),some:_s(3),every:_s(4),find:_s(5),findIndex:_s(6),filterReject:_s(7)},z1=l_.getWeakData,ive=fi.set,ave=fi.getterFor,uve=f_.find,sve=f_.findIndex,lve=Yt([].splice),cve=0,H1=function(e){return e.frozen||(e.frozen=new QI)},QI=function(){this.entries=[]},d_=function(e,t){return uve(e.entries,function(n){return n[0]===t})};QI.prototype={get:function(e){var t=d_(this,e);if(t)return t[1]},has:function(e){return!!d_(this,e)},set:function(e,t){var n=d_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=sve(this.entries,function(n){return n[0]===e});return~t&&lve(this.entries,t,1),!!~t}};var Ug,qI={getConstructor:function(e,t,n,r){var o=e(function(s,l){c_(s,i),ive(s,{type:t,id:cve++,frozen:void 0}),l!=null&&U1(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=ave(t),u=function(s,l,c){var f=a(s),p=z1(io(l),!0);return p===!0?H1(f).set(l,c):p[f.id]=c,s};return L1(i,{delete:function(s){var l=a(this);if(!Gn(s))return!1;var c=z1(s);return c===!0?H1(l).delete(s):c&&zr(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Gn(s))return!1;var c=z1(s);return c===!0?H1(l).has(s):c&&zr(c,l.id)}}),L1(i,n?{get:function(s){var l=a(this);if(Gn(s)){var c=z1(s);return c===!0?H1(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},V1=fi.enforce,fve=!ze.ActiveXObject&&"ActiveXObject"in ze,$I=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},dve=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=ze[e],u=a&&a.prototype,s=a,l={},c=function(v){var m=Yt(u[v]);di(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Gn(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!Gn(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Gn(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(O1(e,!Mn(a)||!(o||u.forEach&&!Yn(function(){new a().entries().next()}))))s=n.getConstructor(t,e,r,i),l_.enable();else if(O1(e,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Yn(function(){f.has(1)}),y=YI(function(v){new a(v)}),g=!o&&Yn(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=t(function(v,m){c_(v,u);var h=function(b,E,w){var S,x;return ed&&Mn(S=E.constructor)&&S!==w&&Gn(x=S.prototype)&&x!==w.prototype&&ed(b,x),b}(new a,v,s);return m!=null&&U1(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,_a({global:!0,forced:s!=a},l),F1(s,e),o||n.setStrong(s,e,r),s}("WeakMap",$I,qI);if(nI&&fve){Ug=qI.getConstructor($I,"WeakMap",!0),l_.enable();var zg=dve.prototype,eU=Yt(zg.delete),W1=Yt(zg.has),tU=Yt(zg.get),nU=Yt(zg.set);L1(zg,{delete:function(e){if(Gn(e)&&!rc(e)){var t=V1(this);return t.frozen||(t.frozen=new Ug),eU(this,e)||t.frozen.delete(e)}return eU(this,e)},has:function(e){if(Gn(e)&&!rc(e)){var t=V1(this);return t.frozen||(t.frozen=new Ug),W1(this,e)||t.frozen.has(e)}return W1(this,e)},get:function(e){if(Gn(e)&&!rc(e)){var t=V1(this);return t.frozen||(t.frozen=new Ug),W1(this,e)?tU(this,e):t.frozen.get(e)}return tU(this,e)},set:function(e,t){if(Gn(e)&&!rc(e)){var n=V1(this);n.frozen||(n.frozen=new Ug),W1(this,e)?nU(this,e,t):n.frozen.set(e,t)}else nU(this,e,t);return this}})}var G1={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},p_=_g("span").classList,rU=p_&&p_.constructor&&p_.constructor.prototype,oU=rU===Object.prototype?void 0:rU,h_=Dr("iterator"),iU=Dr("toStringTag"),g_=Mg.values,aU=function(e,t){if(e){if(e[h_]!==g_)try{Oa(e,h_,g_)}catch(r){e[h_]=g_}if(e[iU]||Oa(e,iU,t),G1[t]){for(var n in Mg)if(e[n]!==Mg[n])try{Oa(e,n,Mg[n])}catch(r){e[n]=Mg[n]}}}};for(var v_ in G1)aU(ze[v_]&&ze[v_].prototype,v_);aU(oU,"DOMTokenList");var uU=function(e,t){var n=[][e];return!!n&&Yn(function(){n.call(null,t||function(){throw 1},1)})},pve=f_.forEach,m_=uU("forEach")?[].forEach:function(e){return pve(this,e,arguments.length>1?arguments[1]:void 0)},sU=function(e){if(e&&e.forEach!==m_)try{Oa(e,"forEach",m_)}catch(t){e.forEach=m_}};for(var y_ in G1)G1[y_]&&sU(ze[y_]&&ze[y_].prototype);sU(oU);var Hg,td,lU,b_,K1=ze.Promise,cU=Dr("species"),fU=/(?:ipad|iphone|ipod).*applewebkit/i.test(Jf),Ts=Qi(ze.process)=="process",E_=ze.setImmediate,C_=ze.clearImmediate,hve=ze.process,w_=ze.Dispatch,gve=ze.Function,dU=ze.MessageChannel,vve=ze.String,x_=0,Vg={};try{Hg=ze.location}catch(e){}var A_=function(e){if(zr(Vg,e)){var t=Vg[e];delete Vg[e],t()}},S_=function(e){return function(){A_(e)}},pU=function(e){A_(e.data)},hU=function(e){ze.postMessage(vve(e),Hg.protocol+"//"+Hg.host)};E_&&C_||(E_=function(e){var t=hI(arguments,1);return Vg[++x_]=function(){AI(Mn(e)?e:gve(e),void 0,t)},td(x_),x_},C_=function(e){delete Vg[e]},Ts?td=function(e){hve.nextTick(S_(e))}:w_&&w_.now?td=function(e){w_.now(S_(e))}:dU&&!fU?(b_=(lU=new dU).port2,lU.port1.onmessage=pU,td=Ig(b_.postMessage,b_)):ze.addEventListener&&Mn(ze.postMessage)&&!ze.importScripts&&Hg&&Hg.protocol!=="file:"&&!Yn(hU)?(td=hU,ze.addEventListener("message",pU,!1)):td="onreadystatechange"in _g("script")?function(e){W4.appendChild(_g("script")).onreadystatechange=function(){W4.removeChild(this),A_(e)}}:function(e){setTimeout(S_(e),0)});var Wg,oc,Gg,nd,D_,O_,__,gU,vU={set:E_,clear:C_},mve=/ipad|iphone|ipod/i.test(Jf)&&ze.Pebble!==void 0,yve=/web0s(?!.*chrome)/i.test(Jf),bve=N4.f,T_=vU.set,mU=ze.MutationObserver||ze.WebKitMutationObserver,yU=ze.document,bU=ze.process,X1=ze.Promise,EU=bve(ze,"queueMicrotask"),CU=EU&&EU.value;CU||(Wg=function(){var e,t;for(Ts&&(e=bU.domain)&&e.exit();oc;){t=oc.fn,oc=oc.next;try{t()}catch(n){throw oc?nd():Gg=void 0,n}}Gg=void 0,e&&e.enter()},fU||Ts||yve||!mU||!yU?!mve&&X1&&X1.resolve?((__=X1.resolve(void 0)).constructor=X1,gU=Ig(__.then,__),nd=function(){gU(Wg)}):Ts?nd=function(){bU.nextTick(Wg)}:(T_=Ig(T_,ze),nd=function(){T_(Wg)}):(D_=!0,O_=yU.createTextNode(""),new mU(Wg).observe(O_,{characterData:!0}),nd=function(){O_.data=D_=!D_}));var P_,wU,xU,AU,SU=CU||function(e){var t={fn:e,next:void 0};Gg&&(Gg.next=t),oc||(oc=t,nd()),Gg=t},Eve=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=Ss(t),this.reject=Ss(n)},R_={f:function(e){return new Eve(e)}},j_=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},Cve=typeof window=="object",DU=vU.set,wve=Dr("species"),ou="Promise",OU=fi.getterFor(ou),xve=fi.set,Ave=fi.getterFor(ou),ic=K1&&K1.prototype,Ta=K1,Kg=ic,_U=ze.TypeError,N_=ze.document,B_=ze.process,rd=R_.f,Sve=rd,Dve=!!(N_&&N_.createEvent&&ze.dispatchEvent),TU=Mn(ze.PromiseRejectionEvent),PU=!1,Xg=O1(ou,function(){var e=x1(Ta),t=e!==String(Ta);if(!t&&Sg===66)return!0;if(Sg>=51&&/native code/.test(e))return!1;var n=new Ta(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[wve]=r,!(PU=n.then(function(){})instanceof r)||!t&&Cve&&!TU}),Ove=Xg||!YI(function(e){Ta.all(e).catch(function(){})}),RU=function(e){var t;return!(!Gn(e)||!Mn(t=e.then))&&t},F_=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;SU(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,p=l.reject,d=l.domain;try{c?(o||(e.rejection===2&&Tve(e),e.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(_U("Promise-chain cycle")):(u=RU(a))?Dn(u,a,f,p):f(a)):p(r)}catch(y){d&&!s&&d.exit(),p(y)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&_ve(e)})}},jU=function(e,t,n){var r,o;Dve?((r=N_.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ze.dispatchEvent(r)):r={promise:t,reason:n},!TU&&(o=ze["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var u=ze.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},_ve=function(e){Dn(DU,ze,function(){var t,n=e.facade,r=e.value;if(NU(e)&&(t=j_(function(){Ts?B_.emit("unhandledRejection",r,n):jU("unhandledrejection",n,r)}),e.rejection=Ts||NU(e)?2:1,t.error))throw t.value})},NU=function(e){return e.rejection!==1&&!e.parent},Tve=function(e){Dn(DU,ze,function(){var t=e.facade;Ts?B_.emit("rejectionHandled",t):jU("rejectionhandled",t,e.value)})},od=function(e,t,n){return function(r){e(t,r,n)}},id=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,F_(e,!0))},k_=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw _U("Promise can't be resolved itself");var r=RU(t);r?SU(function(){var o={done:!1};try{Dn(r,t,od(k_,o,e),od(id,o,e))}catch(i){id(o,i,e)}}):(e.value=t,e.state=1,F_(e,!1))}catch(o){id({done:!1},o,e)}}};if(Xg&&(Kg=(Ta=function(e){c_(this,Kg),Ss(e),Dn(P_,this);var t=OU(this);try{e(od(k_,t),od(id,t))}catch(n){id(t,n)}}).prototype,(P_=function(e){xve(this,{type:ou,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=L1(Kg,{then:function(e,t){var n=Ave(this),r=n.reactions,o=rd(SI(this,Ta));return o.ok=!Mn(e)||e,o.fail=Mn(t)&&t,o.domain=Ts?B_.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&F_(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),wU=function(){var e=new P_,t=OU(e);this.promise=e,this.resolve=od(k_,t),this.reject=od(id,t)},R_.f=rd=function(e){return e===Ta||e===xU?new wU(e):Sve(e)},Mn(K1)&&ic!==Object.prototype)){AU=ic.then,PU||(di(ic,"then",function(e,t){var n=this;return new Ta(function(r,o){Dn(AU,n,r,o)}).then(e,t)},{unsafe:!0}),di(ic,"catch",Kg.catch,{unsafe:!0}));try{delete ic.constructor}catch(e){}ed&&ed(ic,Kg)}_a({global:!0,wrap:!0,forced:Xg},{Promise:Ta}),F1(Ta,ou,!1),function(e){var t=$l("Promise"),n=ru.f;Da&&t&&!t[cU]&&n(t,cU,{configurable:!0,get:function(){return this}})}(),xU=$l(ou),_a({target:ou,stat:!0,forced:Xg},{reject:function(e){var t=rd(this);return Dn(t.reject,void 0,e),t.promise}}),_a({target:ou,stat:!0,forced:Xg},{resolve:function(e){return function(t,n){if(io(t),Gn(n)&&n.constructor===t)return n;var r=R_.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),_a({target:ou,stat:!0,forced:Ove},{all:function(e){var t=this,n=rd(t),r=n.resolve,o=n.reject,i=j_(function(){var a=Ss(t.resolve),u=[],s=0,l=1;U1(e,function(c){var f=s++,p=!1;l++,Dn(a,t,c).then(function(d){p||(p=!0,u[f]=d,--l||r(u))},o)}),--l||r(u)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=rd(t),r=n.reject,o=j_(function(){var i=Ss(t.resolve);U1(e,function(a){Dn(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Pve=Pg.PROPER,L_=RegExp.prototype,BU=L_.toString,Rve=Yt(gI),jve=Yn(function(){return BU.call({source:"a",flags:"b"})!="/a/b"}),Nve=Pve&&BU.name!="toString";(jve||Nve)&&di(RegExp.prototype,"toString",function(){var e=io(this),t=Os(e.source),n=e.flags;return"/"+t+"/"+Os(n===void 0&&Ag(L_,e)&&!("flags"in L_)?Rve(e):n)},{unsafe:!0});var Bve=Pg.EXISTS,Fve=ru.f,FU=Function.prototype,kve=Yt(FU.toString),kU=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Lve=Yt(kU.exec);Da&&!Bve&&Fve(FU,"name",{configurable:!0,get:function(){try{return Lve(kU,kve(this))[1]}catch(e){return""}}});var LU=new WeakMap;function MU(e){return e.getMenuConfig("uploadImage")}function Mve(e,t){return t_(this,void 0,void 0,function(){return n_(this,function(n){return[2,new Promise(function(r){var o=new FileReader;o.readAsDataURL(t),o.onload=function(){var i=o.result;if(i){var a=i.toString(),u=a.indexOf("data:image")===0?"":a;_l(e,a,t.name,u),r("ok")}}})]})})}function Ive(e,t){return t_(this,void 0,void 0,function(){var n,r,o,i;return n_(this,function(a){switch(a.label){case 0:return n=function(u){var s=LU.get(u);if(s!=null)return s;var l=MU(u),c=l.onSuccess,f=l.onProgress,p=l.onFailed,d=l.customInsert,y=l.onError;return s=HR(N1(N1({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(d)return d(v,function(oe,fe,ie){return _l(u,oe,fe,ie)}),void c(g,v);var m=v.errno,h=m===void 0?1:m,b=v.data,E=b===void 0?{}:b;if(h===0){if(Array.isArray(E))E.forEach(function(oe){var fe=oe.url,ie=fe===void 0?"":fe,De=oe.alt,me=De===void 0?"":De,ye=oe.href;_l(u,ie,me,ye===void 0?"":ye)});else{var w=E.url,S=w===void 0?"":w,x=E.alt,B=x===void 0?"":x,U=E.href;_l(u,S,B,U===void 0?"":U)}c(g,v)}else p(g,v)},onError:function(g,v,m){y(g,v,m)}})),LU.set(u,s),s}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}function IU(e,t){var n,r;return t_(this,void 0,void 0,function(){var o,i,a,u,s,l,c,f,p;return n_(this,function(d){switch(d.label){case 0:if(t==null)return[2];o=Array.prototype.slice.call(t),i=MU(e),a=i.customUpload,u=i.base64LimitSize,d.label=1;case 1:d.trys.push([1,11,12,17]),s=R0e(o),d.label=2;case 2:return[4,s.next()];case 3:return(l=d.sent()).done?[3,10]:(c=l.value,f=c.size,u&&f<=u?[4,Mve(e,c)]:[3,5]);case 4:return d.sent(),[3,9];case 5:return a?[4,a(c,function(y,g,v){return _l(e,y,g,v)})]:[3,7];case 6:return d.sent(),[3,9];case 7:return[4,Ive(e,c)];case 8:d.sent(),d.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return p=d.sent(),n={error:p},[3,17];case 12:return d.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:d.sent(),d.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var Uve=Yt([].join),zve=x4!=Object,Hve=uU("join",",");_a({target:"Array",proto:!0,forced:zve||!Hve},{join:function(e){return Uve(As(this),e===void 0?",":e)}}),mi&&(k.fn.append=mi),ca&&(k.fn.on=ca),Nc&&(k.fn.remove=Nc),la&&(k.fn.val=la),x8&&(k.fn.click=x8),Tc&&(k.fn.hide=Tc);var Vve=function(){function e(){this.title=Me("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return _m(t)},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(c,f,p){return _l(t,c,f,p)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=k("body"),l=k('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;IU(t,c)})}},e}(),Wve={menus:[{key:"uploadImage",factory:function(){return new Vve},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(_m(n))t(r);else if(r.getData("text/plain"))t(r);else{var o=r.files;o.length<=0?t(r):Array.prototype.slice.call(o).some(function(i){return function(a,u){var s=typeof Symbol=="function"&&a[Symbol.iterator];if(!s)return a;var l,c,f=s.call(a),p=[];try{for(;(u===void 0||u-- >0)&&!(l=f.next()).done;)p.push(l.value)}catch(d){c={error:d}}finally{try{l&&!l.done&&(s=f.return)&&s.call(f)}finally{if(c)throw c.error}}return p}(i.type.split("/"),1)[0]==="image"})?IU(e,o):t(r)}},n}};Wo("en",{highLightModule:{selectLang:"Language"}}),Wo("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var Y1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof qe!="undefined"?qe:typeof self!="undefined"?self:{};function M_(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ps,J1,Z1=function(e){return e&&e.Math==Math&&e},Qt=Z1(typeof globalThis=="object"&&globalThis)||Z1(typeof window=="object"&&window)||Z1(typeof self=="object"&&self)||Z1(typeof Y1=="object"&&Y1)||function(){return this}()||Function("return this")(),Gve=Object.defineProperty,I_=function(e,t){try{Gve(Qt,e,{value:t,configurable:!0,writable:!0})}catch(n){Qt[e]=t}return t},Rs=Qt["__core-js_shared__"]||I_("__core-js_shared__",{}),U_=M_(function(e){(e.exports=function(t,n){return Rs[t]||(Rs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),UU=Function.prototype,z_=UU.bind,H_=UU.call,Kve=z_&&z_.bind(H_),On=z_?function(e){return e&&Kve(H_,e)}:function(e){return e&&function(){return H_.apply(e,arguments)}},Xve=Qt.TypeError,ad=function(e){if(e==null)throw Xve("Can't call method on "+e);return e},Yve=Qt.Object,V_=function(e){return Yve(ad(e))},Jve=On({}.hasOwnProperty),Fi=Object.hasOwn||function(e,t){return Jve(V_(e),t)},Zve=0,Qve=Math.random(),qve=On(1 .toString),zU=function(e){return"Symbol("+(e===void 0?"":e)+")_"+qve(++Zve+Qve,36)},Oo=function(e){return typeof e=="function"},$ve=function(e){return Oo(e)?e:void 0},Yg=function(e,t){return arguments.length<2?$ve(Qt[e]):Qt[e]&&Qt[e][t]},W_=Yg("navigator","userAgent")||"",HU=Qt.process,VU=Qt.Deno,WU=HU&&HU.versions||VU&&VU.version,GU=WU&&WU.v8;GU&&(J1=(Ps=GU.split("."))[0]>0&&Ps[0]<4?1:+(Ps[0]+Ps[1])),!J1&&W_&&(!(Ps=W_.match(/Edge\/(\d+)/))||Ps[1]>=74)&&(Ps=W_.match(/Chrome\/(\d+)/))&&(J1=+Ps[1]);var KU=J1,ao=function(e){try{return!!e()}catch(t){return!0}},G_=!!Object.getOwnPropertySymbols&&!ao(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&KU&&KU<41}),K_=G_&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Jg=U_("wks"),ac=Qt.Symbol,XU=ac&&ac.for,eme=K_?ac:ac&&ac.withoutSetter||zU,js=function(e){if(!Fi(Jg,e)||!G_&&typeof Jg[e]!="string"){var t="Symbol."+e;G_&&Fi(ac,e)?Jg[e]=ac[e]:Jg[e]=K_&&XU?XU(t):eme(t)}return Jg[e]},YU={};YU[js("toStringTag")]="z";var X_=String(YU)==="[object z]",Pa=!ao(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),qi=function(e){return typeof e=="object"?e!==null:Oo(e)},Y_=Qt.document,tme=qi(Y_)&&qi(Y_.createElement),J_=function(e){return tme?Y_.createElement(e):{}},JU=!Pa&&!ao(function(){return Object.defineProperty(J_("div"),"a",{get:function(){return 7}}).a!=7}),nme=Qt.String,rme=Qt.TypeError,$i=function(e){if(qi(e))return e;throw rme(nme(e)+" is not an object")},Zg=Function.prototype.call,Zr=Zg.bind?Zg.bind(Zg):function(){return Zg.apply(Zg,arguments)},ZU=On({}.isPrototypeOf),ome=Qt.Object,Z_=K_?function(e){return typeof e=="symbol"}:function(e){var t=Yg("Symbol");return Oo(t)&&ZU(t.prototype,ome(e))},ime=Qt.String,QU=function(e){try{return ime(e)}catch(t){return"Object"}},ame=Qt.TypeError,qU=function(e){if(Oo(e))return e;throw ame(QU(e)+" is not a function")},$U=function(e,t){var n=e[t];return n==null?void 0:qU(n)},ume=Qt.TypeError,sme=Qt.TypeError,lme=js("toPrimitive"),Q_=function(e){var t=function(n,r){if(!qi(n)||Z_(n))return n;var o,i=$U(n,lme);if(i){if(r===void 0&&(r="default"),o=Zr(i,n,r),!qi(o)||Z_(o))return o;throw sme("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Oo(s=a.toString)&&!qi(l=Zr(s,a)))return l;if(Oo(s=a.valueOf)&&!qi(l=Zr(s,a)))return l;if(u!=="string"&&Oo(s=a.toString)&&!qi(l=Zr(s,a)))return l;throw ume("Can't convert object to primitive value")}(n,r)}(e,"string");return Z_(t)?t:t+""},cme=Qt.TypeError,ez=Object.defineProperty,Q1={f:Pa?ez:function(e,t,n){if($i(e),t=Q_(t),$i(n),JU)try{return ez(e,t,n)}catch(r){}if("get"in n||"set"in n)throw cme("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},q_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ud=Pa?function(e,t,n){return Q1.f(e,t,q_(1,n))}:function(e,t,n){return e[t]=n,e},fme=On(Function.toString);Oo(Rs.inspectSource)||(Rs.inspectSource=function(e){return fme(e)});var q1,Qg,$1,$_=Rs.inspectSource,tz=Qt.WeakMap,dme=Oo(tz)&&/native code/.test($_(tz)),nz=U_("keys"),rz=function(e){return nz[e]||(nz[e]=zU(e))},e5={},t5=Qt.TypeError,pme=Qt.WeakMap;if(dme||Rs.state){var uc=Rs.state||(Rs.state=new pme),hme=On(uc.get),oz=On(uc.has),gme=On(uc.set);q1=function(e,t){if(oz(uc,e))throw new t5("Object already initialized");return t.facade=e,gme(uc,e,t),t},Qg=function(e){return hme(uc,e)||{}},$1=function(e){return oz(uc,e)}}else{var sd=rz("state");e5[sd]=!0,q1=function(e,t){if(Fi(e,sd))throw new t5("Object already initialized");return t.facade=e,ud(e,sd,t),t},Qg=function(e){return Fi(e,sd)?e[sd]:{}},$1=function(e){return Fi(e,sd)}}var n5={set:q1,get:Qg,has:$1,enforce:function(e){return $1(e)?Qg(e):q1(e,{})},getterFor:function(e){return function(t){var n;if(!qi(t)||(n=Qg(t)).type!==e)throw t5("Incompatible receiver, "+e+" required");return n}}},iz=Function.prototype,vme=Pa&&Object.getOwnPropertyDescriptor,r5=Fi(iz,"name"),az={EXISTS:r5,PROPER:r5&&function(){}.name==="something",CONFIGURABLE:r5&&(!Pa||Pa&&vme(iz,"name").configurable)},qg=M_(function(e){var t=az.CONFIGURABLE,n=n5.get,r=n5.enforce,o=String(String).split("String");(e.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Oo(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Fi(u,"name")||t&&u.name!==d)&&ud(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Qt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:ud(i,a,u)):f?i[a]=u:I_(a,u)})(Function.prototype,"toString",function(){return Oo(this)&&n(this).source||$_(this)})}),mme=On({}.toString),yme=On("".slice),Ns=function(e){return yme(mme(e),8,-1)},bme=js("toStringTag"),Eme=Qt.Object,Cme=Ns(function(){return arguments}())=="Arguments",o5=X_?Ns:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(t=Eme(e),bme))=="string"?n:Cme?Ns(t):(r=Ns(t))=="Object"&&Oo(t.callee)?"Arguments":r},wme=X_?{}.toString:function(){return"[object "+o5(this)+"]"};X_||qg(Object.prototype,"toString",wme,{unsafe:!0});var uz,sz={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},i5=J_("span").classList,lz=i5&&i5.constructor&&i5.constructor.prototype,xme=lz===Object.prototype?void 0:lz,cz=On(On.bind),a5=Qt.Object,Ame=On("".split),u5=ao(function(){return!a5("z").propertyIsEnumerable(0)})?function(e){return Ns(e)=="String"?Ame(e,""):a5(e)}:a5,Sme=Math.ceil,Dme=Math.floor,s5=function(e){var t=+e;return t!=t||t===0?0:(t>0?Dme:Sme)(t)},Ome=Math.min,fz=function(e){return e>0?Ome(s5(e),9007199254740991):0},l5=function(e){return fz(e.length)},dz=Array.isArray||function(e){return Ns(e)=="Array"},pz=function(){},_me=[],hz=Yg("Reflect","construct"),c5=/^\s*(?:class|function)\b/,Tme=On(c5.exec),Pme=!c5.exec(pz),$g=function(e){if(!Oo(e))return!1;try{return hz(pz,_me,e),!0}catch(t){return!1}},gz=!hz||ao(function(){var e;return $g($g.call)||!$g(Object)||!$g(function(){e=!0})||e})?function(e){if(!Oo(e))return!1;switch(o5(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Pme||!!Tme(c5,$_(e))}:$g,Rme=js("species"),vz=Qt.Array,jme=function(e,t){return new(function(n){var r;return dz(n)&&(r=n.constructor,(gz(r)&&(r===vz||dz(r.prototype))||qi(r)&&(r=r[Rme])===null)&&(r=void 0)),r===void 0?vz:r}(e))(t===0?0:t)},mz=On([].push),Bs=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,u=e==5||i;return function(s,l,c,f){for(var p,d,y=V_(s),g=u5(y),v=function(w,S){return qU(w),S===void 0?w:cz?cz(w,S):function(){return w.apply(S,arguments)}}(l,c),m=l5(g),h=0,b=f||jme,E=t?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),e))if(t)E[h]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return h;case 2:mz(E,p)}else switch(e){case 4:return!1;case 7:mz(E,p)}return i?-1:r||o?o:E}},Nme=[Bs(0),Bs(1),Bs(2),Bs(3),Bs(4),Bs(5),Bs(6),Bs(7)][0],f5=(uz=[].forEach)&&ao(function(){uz.call(null,function(){throw 1},1)})?[].forEach:function(e){return Nme(this,e,arguments.length>1?arguments[1]:void 0)},yz=function(e){if(e&&e.forEach!==f5)try{ud(e,"forEach",f5)}catch(t){e.forEach=f5}};for(var d5 in sz)sz[d5]&&yz(Qt[d5]&&Qt[d5].prototype);yz(xme);var bz={}.propertyIsEnumerable,Ez=Object.getOwnPropertyDescriptor,Cz={f:Ez&&!bz.call({1:2},1)?function(e){var t=Ez(this,e);return!!t&&t.enumerable}:bz},eb=function(e){return u5(ad(e))},wz=Object.getOwnPropertyDescriptor,xz={f:Pa?wz:function(e,t){if(e=eb(e),t=Q_(t),JU)try{return wz(e,t)}catch(n){}if(Fi(e,t))return q_(!Zr(Cz.f,e,t),e[t])}},Bme=Math.max,Fme=Math.min,p5=function(e,t){var n=s5(e);return n<0?Bme(n+t,0):Fme(n,t)},Az=function(e){return function(t,n,r){var o,i=eb(t),a=l5(i),u=p5(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},kme=(Az(!0),Az(!1)),Sz=On([].push),Dz=function(e,t){var n,r=eb(e),o=0,i=[];for(n in r)!Fi(e5,n)&&Fi(r,n)&&Sz(i,n);for(;t.length>o;)Fi(r,n=t[o++])&&(~kme(i,n)||Sz(i,n));return i},tb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Lme=tb.concat("length","prototype"),Mme={f:Object.getOwnPropertyNames||function(e){return Dz(e,Lme)}},Oz={f:Object.getOwnPropertySymbols},Ime=On([].concat),Ume=Yg("Reflect","ownKeys")||function(e){var t=Mme.f($i(e)),n=Oz.f;return n?Ime(t,n(e)):t},zme=function(e,t){for(var n=Ume(t),r=Q1.f,o=xz.f,i=0;i<n.length;i++){var a=n[i];Fi(e,a)||r(e,a,o(t,a))}},Hme=/#|\.prototype\./,e0=function(e,t){var n=Wme[Vme(e)];return n==Kme||n!=Gme&&(Oo(t)?ao(t):!!t)},Vme=e0.normalize=function(e){return String(e).replace(Hme,".").toLowerCase()},Wme=e0.data={},Gme=e0.NATIVE="N",Kme=e0.POLYFILL="P",Xme=e0,Yme=xz.f,nb=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Qt:l?Qt[u]||I_(u,{}):(Qt[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Yme(n,r))&&a.value:n[r],!Xme(s?r:u+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;zme(i,o)}(e.sham||o&&o.sham)&&ud(i,"sham",!0),qg(n,r,i,e)}},rb=Object.keys||function(e){return Dz(e,tb)},ld=Object.assign,_z=Object.defineProperty,Jme=On([].concat),Tz=!ld||ao(function(){if(Pa&&ld({b:1},ld(_z({},"a",{enumerable:!0,get:function(){_z(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),ld({},e)[n]!=7||rb(ld({},t)).join("")!=r})?function(e,t){for(var n=V_(e),r=arguments.length,o=1,i=Oz.f,a=Cz.f;r>o;)for(var u,s=u5(arguments[o++]),l=i?Jme(rb(s),i(s)):rb(s),c=l.length,f=0;c>f;)u=l[f++],Pa&&!Zr(a,s,u)||(n[u]=s[u]);return n}:ld;nb({target:"Object",stat:!0,forced:Object.assign!==Tz},{assign:Tz});var Pz=M_(function(e){var t=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,o=0,i={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function v(m){return m instanceof u?new u(m.type,v(m.content),m.alias):Array.isArray(m)?m.map(v):m.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(v){return Object.prototype.toString.call(v).slice(8,-1)},objId:function(v){return v.__id||Object.defineProperty(v,"__id",{value:++o}),v.__id},clone:function v(m,h){var b,E;switch(h=h||{},a.util.type(m)){case"Object":if(E=a.util.objId(m),h[E])return h[E];for(var w in b={},h[E]=b,m)m.hasOwnProperty(w)&&(b[w]=v(m[w],h));return b;case"Array":return E=a.util.objId(m),h[E]?h[E]:(b=[],h[E]=b,m.forEach(function(S,x){b[x]=v(S,h)}),b);default:return m}},getLanguage:function(v){for(;v&&!r.test(v.className);)v=v.parentElement;return v?(v.className.match(r)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(b){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(b.stack)||[])[1];if(v){var m=document.getElementsByTagName("script");for(var h in m)if(m[h].src==v)return m[h]}return null}},isActive:function(v,m,h){for(var b="no-"+m;v;){var E=v.classList;if(E.contains(m))return!0;if(E.contains(b))return!1;v=v.parentElement}return!!h}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(v,m){var h=a.util.clone(a.languages[v]);for(var b in m)h[b]=m[b];return h},insertBefore:function(v,m,h,b){var E=(b=b||a.languages)[v],w={};for(var S in E)if(E.hasOwnProperty(S)){if(S==m)for(var x in h)h.hasOwnProperty(x)&&(w[x]=h[x]);h.hasOwnProperty(S)||(w[S]=E[S])}var B=b[v];return b[v]=w,a.languages.DFS(a.languages,function(U,oe){oe===B&&U!=v&&(this[U]=w)}),w},DFS:function v(m,h,b,E){E=E||{};var w=a.util.objId;for(var S in m)if(m.hasOwnProperty(S)){h.call(m,S,m[S],b||S);var x=m[S],B=a.util.type(x);B!=="Object"||E[w(x)]?B!=="Array"||E[w(x)]||(E[w(x)]=!0,v(x,h,S,E)):(E[w(x)]=!0,v(x,h,null,E))}}},plugins:{},highlightAll:function(v,m){a.highlightAllUnder(document,v,m)},highlightAllUnder:function(v,m,h){var b={callback:h,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",b),b.elements=Array.prototype.slice.apply(b.container.querySelectorAll(b.selector)),a.hooks.run("before-all-elements-highlight",b);for(var E,w=0;E=b.elements[w++];)a.highlightElement(E,m===!0,b.callback)},highlightElement:function(v,m,h){var b=a.util.getLanguage(v),E=a.languages[b];v.className=v.className.replace(r,"").replace(/\s+/g," ")+" language-"+b;var w=v.parentElement;w&&w.nodeName.toLowerCase()==="pre"&&(w.className=w.className.replace(r,"").replace(/\s+/g," ")+" language-"+b);var S={element:v,language:b,grammar:E,code:v.textContent};function x(U){S.highlightedCode=U,a.hooks.run("before-insert",S),S.element.innerHTML=S.highlightedCode,a.hooks.run("after-highlight",S),a.hooks.run("complete",S),h&&h.call(S.element)}if(a.hooks.run("before-sanity-check",S),(w=S.element.parentElement)&&w.nodeName.toLowerCase()==="pre"&&!w.hasAttribute("tabindex")&&w.setAttribute("tabindex","0"),!S.code)return a.hooks.run("complete",S),void(h&&h.call(S.element));if(a.hooks.run("before-highlight",S),S.grammar)if(m&&n.Worker){var B=new Worker(a.filename);B.onmessage=function(U){x(U.data)},B.postMessage(JSON.stringify({language:S.language,code:S.code,immediateClose:!0}))}else x(a.highlight(S.code,S.grammar,S.language));else x(a.util.encode(S.code))},highlight:function(v,m,h){var b={code:v,grammar:m,language:h};return a.hooks.run("before-tokenize",b),b.tokens=a.tokenize(b.code,b.grammar),a.hooks.run("after-tokenize",b),u.stringify(a.util.encode(b.tokens),b.language)},tokenize:function(v,m){var h=m.rest;if(h){for(var b in h)m[b]=h[b];delete m.rest}var E=new c;return f(E,E.head,v),l(v,E,m,E.head,0),function(w){for(var S=[],x=w.head.next;x!==w.tail;)S.push(x.value),x=x.next;return S}(E)},hooks:{all:{},add:function(v,m){var h=a.hooks.all;h[v]=h[v]||[],h[v].push(m)},run:function(v,m){var h=a.hooks.all[v];if(h&&h.length)for(var b,E=0;b=h[E++];)b(m)}},Token:u};function u(v,m,h,b){this.type=v,this.content=m,this.alias=h,this.length=0|(b||"").length}function s(v,m,h,b){v.lastIndex=m;var E=v.exec(h);if(E&&b&&E[1]){var w=E[1].length;E.index+=w,E[0]=E[0].slice(w)}return E}function l(v,m,h,b,E,w){for(var S in h)if(h.hasOwnProperty(S)&&h[S]){var x=h[S];x=Array.isArray(x)?x:[x];for(var B=0;B<x.length;++B){if(w&&w.cause==S+","+B)return;var U=x[B],oe=U.inside,fe=!!U.lookbehind,ie=!!U.greedy,De=U.alias;if(ie&&!U.pattern.global){var me=U.pattern.toString().match(/[imsuy]*$/)[0];U.pattern=RegExp(U.pattern.source,me+"g")}for(var ye=U.pattern||U,we=b.next,Ve=E;we!==m.tail&&!(w&&Ve>=w.reach);Ve+=we.value.length,we=we.next){var st=we.value;if(m.length>v.length)return;if(!(st instanceof u)){var at,rt=1;if(ie){if(!(at=s(ye,Ve,v,fe)))break;var L=at.index,R=at.index+at[0].length,G=Ve;for(G+=we.value.length;L>=G;)G+=(we=we.next).value.length;if(Ve=G-=we.value.length,we.value instanceof u)continue;for(var le=we;le!==m.tail&&(G<R||typeof le.value=="string");le=le.next)rt++,G+=le.value.length;rt--,st=v.slice(Ve,G),at.index-=Ve}else if(!(at=s(ye,0,st,fe)))continue;L=at.index;var Re=at[0],he=st.slice(0,L),Qe=st.slice(L+Re.length),Ct=Ve+st.length;w&&Ct>w.reach&&(w.reach=Ct);var Tt=we.prev;if(he&&(Tt=f(m,Tt,he),Ve+=he.length),p(m,Tt,rt),we=f(m,Tt,new u(S,oe?a.tokenize(Re,oe):Re,De,Re)),Qe&&f(m,we,Qe),rt>1){var Lt={cause:S+","+B,reach:Ct};l(v,m,h,we.prev,Ve,Lt),w&&Lt.reach>w.reach&&(w.reach=Lt.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},m={value:null,prev:v,next:null};v.next=m,this.head=v,this.tail=m,this.length=0}function f(v,m,h){var b=m.next,E={value:h,prev:m,next:b};return m.next=E,b.prev=E,v.length++,E}function p(v,m,h){for(var b=m.next,E=0;E<h&&b!==v.tail;E++)b=b.next;m.next=b,b.prev=m,v.length-=E}if(n.Prism=a,u.stringify=function v(m,h){if(typeof m=="string")return m;if(Array.isArray(m)){var b="";return m.forEach(function(B){b+=v(B,h)}),b}var E={type:m.type,content:v(m.content,h),tag:"span",classes:["token",m.type],attributes:{},language:h},w=m.alias;w&&(Array.isArray(w)?Array.prototype.push.apply(E.classes,w):E.classes.push(w)),a.hooks.run("wrap",E);var S="";for(var x in E.attributes)S+=" "+x+'="'+(E.attributes[x]||"").replace(/"/g,"&quot;")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+S+">"+E.content+"</"+E.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(v){var m=JSON.parse(v.data),h=m.language,b=m.code,E=m.immediateClose;n.postMessage(a.highlight(b,a.languages[h],h)),E&&n.close()},!1)),a;var d=a.util.currentScript();function y(){a.manual||a.highlightAll()}if(d&&(a.filename=d.src,d.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var g=document.readyState;g==="loading"||g==="interactive"&&d&&d.defer?document.addEventListener("DOMContentLoaded",y):window.requestAnimationFrame?window.requestAnimationFrame(y):window.setTimeout(y,16)}return a}(typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{});/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/e.exports&&(e.exports=t),Y1!==void 0&&(Y1.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var o={};o["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};i["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var o=n.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(t!==void 0&&typeof document!="undefined"){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",o='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',i=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",function(s){s.selector+=", "+o}),t.hooks.add("before-sanity-check",function(s){var l=s.element;if(l.matches(o)){s.code="",l.setAttribute(r,"loading");var c=l.appendChild(document.createElement("CODE"));c.textContent="Loading\u2026";var f=l.getAttribute("data-src"),p=s.language;if(p==="none"){var d=(/\.(\w+)$/.exec(f)||[,"none"])[1];p=n[d]||d}u(c,p),u(l,p);var y=t.plugins.autoloader;y&&y.loadLanguages(p);var g=new XMLHttpRequest;g.open("GET",f,!0),g.onreadystatechange=function(){g.readyState==4&&(g.status<400&&g.responseText?(l.setAttribute(r,"loaded"),c.textContent=g.responseText,t.highlightElement(c)):(l.setAttribute(r,"failed"),g.status>=400?c.textContent="\u2716 Error "+g.status+" while fetching file: "+g.statusText:c.textContent="\u2716 Error: File does not exist or is empty"))},g.send(null)}}),t.plugins.fileHighlight={highlight:function(s){for(var l,c=(s||document).querySelectorAll(o),f=0;l=c[f++];)t.highlightElement(l)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function u(s,l){var c=s.className;c=c.replace(i," ")+" language-"+l,s.className=c.replace(/\s+/g," ").trim()}}()});!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(s,l){return s=s.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),RegExp(s,l)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(s){return s?typeof s=="string"?s:typeof s.content=="string"?s.content:s.content.map(a).join(""):""},u=function(s){for(var l=[],c=0;c<s.length;c++){var f=s[c],p=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?l.length>0&&l[l.length-1].tagName===a(f.content[0].content[1])&&l.pop():f.content[f.content.length-1].content==="/>"||l.push({tagName:a(f.content[0].content[1]),openedBraces:0}):l.length>0&&f.type==="punctuation"&&f.content==="{"?l[l.length-1].openedBraces++:l.length>0&&l[l.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?l[l.length-1].openedBraces--:p=!0),(p||typeof f=="string")&&l.length>0&&l[l.length-1].openedBraces===0){var d=a(f);c<s.length-1&&(typeof s[c+1]=="string"||s[c+1].type==="plain-text")&&(d+=a(s[c+1]),s.splice(c+1,1)),c>0&&(typeof s[c-1]=="string"||s[c-1].type==="plain-text")&&(d=a(s[c-1])+d,s.splice(c-1,1),c--),s[c]=new e.Token("plain-text",d,null,d)}f.content&&typeof f.content!="string"&&u(f.content)}};e.hooks.add("after-tokenize",function(s){s.language!=="jsx"&&s.language!=="tsx"||u(s.tokens)})}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(s){/<\?/.test(s.code)&&e.languages["markup-templating"].buildPlaceholders(s,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),e.hooks.add("after-tokenize",function(s){e.languages["markup-templating"].tokenizePlaceholders(s,"php")})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(R,G){return R.replace(/<<(\d+)>>/g,function(le,Re){return"(?:"+G[+Re]+")"})}function n(R,G,le){return RegExp(t(R,G),le||"")}function r(R,G){for(var le=0;le<G;le++)R=R.replace(/<<self>>/g,function(){return"(?:"+R+")"});return R.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(R){return"\\b(?:"+R.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),p=s(o+" "+i+" "+u),d=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),y=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=t(/<<0>>(?:\s*<<1>>)?/.source,[g,d]),m=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),h=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,h]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,y,h]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,m,h]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},B=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,U=/"(?:\\.|[^\\"\r\n])*"/.source,oe=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[oe]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[U]),lookbehind:!0,greedy:!0},{pattern:RegExp(B),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,S]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:x},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:x},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:x},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,p,g]),inside:x}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[y]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,m]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,d]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(d),alias:"class-name",inside:x}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,g,S,c.source,y,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,y]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var fe=U+"|"+B,ie=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[fe]),De=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[ie]),2),me=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ye=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,De]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[me,ye]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[me]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[De]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var we=/:[^}\r\n]+/.source,Ve=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[ie]),2),st=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Ve,we]),at=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[fe]),2),rt=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[at,we]);function L(R,G){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[R]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[G,we]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[st]),lookbehind:!0,greedy:!0,inside:L(st,Ve)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[rt]),lookbehind:!0,greedy:!0,inside:L(rt,at)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:[']|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(l){return l=l.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+l+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(l){["url","bold","italic","strike","code-snippet"].forEach(function(c){l!==c&&(e.languages.markdown[l].inside.content.inside[c]=e.languages.markdown[c])})}),e.hooks.add("after-tokenize",function(l){l.language!=="markdown"&&l.language!=="md"||function c(f){if(f&&typeof f!="string")for(var p=0,d=f.length;p<d;p++){var y=f[p];if(y.type==="code"){var g=y.content[1],v=y.content[3];if(g&&v&&g.type==="code-language"&&v.type==="code-block"&&typeof g.content=="string"){var m=g.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),h="language-"+(m=(/[a-z][\w-]*/i.exec(m)||[""])[0].toLowerCase());v.alias?typeof v.alias=="string"?v.alias=[v.alias,h]:v.alias.push(h):v.alias=[h]}}else c(y.content)}}(l.tokens)}),e.hooks.add("wrap",function(l){if(l.type==="code-block"){for(var c="",f=0,p=l.classes.length;f<p;f++){var d=l.classes[f],y=/language-(.+)/.exec(d);if(y){c=y[1];break}}var g=e.languages[c];if(g)l.content=e.highlight(function(m){var h=m.replace(a,"");return h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,E){var w;return(E=E.toLowerCase())[0]==="#"?(w=E[1]==="x"?parseInt(E.slice(2),16):Number(E.slice(1)),s(w)):u[E]||b})}(l.content),g,c);else if(c&&c!=="none"&&e.plugins.autoloader){var v="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());l.attributes.id=v,e.plugins.autoloader.loadLanguages(c,function(){var m=document.getElementById(v);m&&(m.innerHTML=e.highlight(m.textContent,e.languages[c],c))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if(e.language==="groovy"&&e.type==="string"){var t=e.content[0];if(t!="'"){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;t==="$"&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(t==="/"?"regex":"gstring")}}});var Zme=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function Rz(e){return typeof e=="string"?e.length:typeof e.content=="string"?e.content.length:e.content.reduce(function(t,n){return t+Rz(n)},0)}var ob,Qme=Qt.String,iu=function(e){if(o5(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Qme(e)},jz=function(){var e=$i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},h5=Qt.RegExp,g5=ao(function(){var e=h5("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),qme=g5||ao(function(){return!h5("a","y").sticky}),Nz={BROKEN_CARET:g5||ao(function(){var e=h5("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:qme,UNSUPPORTED_Y:g5},$me=Pa?Object.defineProperties:function(e,t){$i(e);for(var n,r=eb(t),o=rb(t),i=o.length,a=0;i>a;)Q1.f(e,n=o[a++],r[n]);return e},eye=Yg("document","documentElement"),Bz=rz("IE_PROTO"),v5=function(){},Fz=function(e){return"<script>"+e+"</script>"},kz=function(e){e.write(Fz("")),e.close();var t=e.parentWindow.Object;return e=null,t},ib=function(){try{ob=new ActiveXObject("htmlfile")}catch(r){}var e,t;ib=typeof document!="undefined"?document.domain&&ob?kz(ob):((t=J_("iframe")).style.display="none",eye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Fz("document.F=Object")),e.close(),e.F):kz(ob);for(var n=tb.length;n--;)delete ib.prototype[tb[n]];return ib()};e5[Bz]=!0;var Lz,m5,tye=Object.create||function(e,t){var n;return e!==null?(v5.prototype=$i(e),n=new v5,v5.prototype=null,n[Bz]=e):n=ib(),t===void 0?n:$me(n,t)},nye=Qt.RegExp,rye=ao(function(){var e=nye(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),oye=Qt.RegExp,iye=ao(function(){var e=oye("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),aye=n5.get,uye=U_("native-string-replace",String.prototype.replace),ab=RegExp.prototype.exec,y5=ab,sye=On("".charAt),lye=On("".indexOf),cye=On("".replace),b5=On("".slice),E5=(m5=/b*/g,Zr(ab,Lz=/a/,"a"),Zr(ab,m5,"a"),Lz.lastIndex!==0||m5.lastIndex!==0),Mz=Nz.BROKEN_CARET,C5=/()??/.exec("")[1]!==void 0;(E5||C5||Mz||rye||iye)&&(y5=function(e){var t,n,r,o,i,a,u,s=this,l=aye(s),c=iu(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Zr(y5,f,c),s.lastIndex=f.lastIndex,t;var p=l.groups,d=Mz&&s.sticky,y=Zr(jz,s),g=s.source,v=0,m=c;if(d&&(y=cye(y,"y",""),lye(y,"g")===-1&&(y+="g"),m=b5(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&sye(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),C5&&(n=new RegExp("^"+g+"$(?!\\s)",y)),E5&&(r=s.lastIndex),o=Zr(ab,d?n:s,m),d?o?(o.input=b5(o.input,v),o[0]=b5(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:E5&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),C5&&o&&o.length>1&&Zr(uye,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=tye(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var t0=y5;nb({target:"RegExp",proto:!0,forced:/./.exec!==t0},{exec:t0});var w5=Function.prototype,Iz=w5.apply,fye=w5.bind,Uz=w5.call,dye=typeof Reflect=="object"&&Reflect.apply||(fye?Uz.bind(Iz):function(){return Uz.apply(Iz,arguments)}),pye=js("species"),x5=RegExp.prototype,hye=js("match"),gye=Qt.TypeError,vye=js("species"),mye=On("".charAt),zz=On("".charCodeAt),yye=On("".slice),Hz=function(e){return function(t,n){var r,o,i=iu(ad(t)),a=s5(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=zz(i,a))<55296||r>56319||a+1===u||(o=zz(i,a+1))<56320||o>57343?e?mye(i,a):r:e?yye(i,a,a+2):o-56320+(r-55296<<10)+65536}},bye=(Hz(!1),Hz(!0)),Eye=function(e,t,n){return t+(n?bye(e,t).length:1)},Cye=Qt.Array,wye=Math.max,Vz=function(e,t,n){for(var r,o,i,a,u=l5(e),s=p5(t,u),l=p5(n===void 0?u:n,u),c=Cye(wye(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],(a=Q_(o))in r?Q1.f(r,a,q_(0,i)):r[a]=i;return c.length=f,c},xye=Qt.TypeError,Wz=function(e,t){var n=e.exec;if(Oo(n)){var r=Zr(n,e,t);return r!==null&&$i(r),r}if(Ns(e)==="RegExp")return Zr(t0,e,t);throw xye("RegExp#exec called on incompatible receiver")},cd=Nz.UNSUPPORTED_Y,Aye=Math.min,Gz=[].push,Sye=On(/./.exec),fd=On(Gz),n0=On("".slice);!function(e,t,n,r){var o=js(e),i=!ao(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),a=i&&!ao(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[pye]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=On(/./[o]),s=function(l,c,f){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(d,y){var g,v,m=iu(ad(this)),h=y===void 0?4294967295:y>>>0;if(h===0)return[];if(d===void 0)return[m];if(!qi(g=d)||!((v=g[hye])!==void 0?v:Ns(g)=="RegExp"))return Zr(c,m,d,h);for(var b,E,w,S=[],x=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),B=0,U=new RegExp(d.source,x+"g");(b=Zr(t0,U,m))&&!((E=U.lastIndex)>B&&(fd(S,n0(m,B,b.index)),b.length>1&&b.index<m.length&&dye(Gz,S,Vz(b,1)),w=b[0].length,B=E,S.length>=h));)U.lastIndex===b.index&&U.lastIndex++;return B===m.length?!w&&Sye(U,"")||fd(S,""):fd(S,n0(m,B)),S.length>h?Vz(S,0,h):S}:"0".split(void 0,0).length?function(d,y){return d===void 0&&y===0?[]:Zr(c,this,d,y)}:c,[function(d,y){var g=ad(this),v=d==null?void 0:$U(d,l);return v?Zr(v,d,g,y):Zr(p,iu(g),d,y)},function(d,y){var g=$i(this),v=iu(d),m=f(p,g,v,y,p!==c);if(m.done)return m.value;var h=function(De,me){var ye,we=$i(De).constructor;return we===void 0||(ye=$i(we)[vye])==null?me:function(Ve){if(gz(Ve))return Ve;throw gye(QU(Ve)+" is not a constructor")}(ye)}(g,RegExp),b=g.unicode,E=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(cd?"g":"y"),w=new h(cd?"^(?:"+g.source+")":g,E),S=y===void 0?4294967295:y>>>0;if(S===0)return[];if(v.length===0)return Wz(w,v)===null?[v]:[];for(var x=0,B=0,U=[];B<v.length;){w.lastIndex=cd?0:B;var oe,fe=Wz(w,cd?n0(v,B):v);if(fe===null||(oe=Aye(fz(w.lastIndex+(cd?B:0)),v.length))===x)B=Eye(v,B,b);else{if(fd(U,n0(v,x,B)),U.length===S)return U;for(var ie=1;ie<=fe.length-1;ie++)if(fd(U,fe[ie]),U.length===S)return U;B=x=oe}}return fd(U,n0(v,x)),U}]}(o,""[e],function(l,c,f,p,d){var y=On(l),g=c.exec;return g===t0||g===x5.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});qg(String.prototype,e,s[0]),qg(x5,o,s[1])}r&&ud(x5[o],"sham",!0)}("split",0,!!ao(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),cd),nb({global:!0},{globalThis:Qt}),vi&&(k.fn.attr=vi);var Dye=az.PROPER,A5=RegExp.prototype,Kz=A5.toString,Oye=On(jz),_ye=ao(function(){return Kz.call({source:"a",flags:"b"})!="/a/b"}),Tye=Dye&&Kz.name!="toString";(_ye||Tye)&&qg(RegExp.prototype,"toString",function(){var e=$i(this),t=iu(e.source),n=e.flags;return"/"+t+"/"+iu(n===void 0&&ZU(A5,e)&&!("flags"in A5)?Oye(e):n)},{unsafe:!0});var Pye=function(){function e(){this.title=Me("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("codeSelectLang").codeLangs,o=r===void 0?[]:r;n.push({text:"plain text",value:""}),o.forEach(function(a){var u=a.text,s=a.value;n.push({text:u,value:s})});var i=this.getValue(t);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);if(n==null)return"";if(!ft.isElement(n))return"";var r=n.language.toString(),o=t.getMenuConfig("codeSelectLang").codeLangs;return(o===void 0?[]:o).some(function(i){return i.value===r})?r:""},e.prototype.isDisabled=function(t){return t.selection==null||!this.getSelectCodeElem(t)},e.prototype.exec=function(t,n){if(this.getSelectCodeElem(t)!=null){var r={language:n.toString()};Z.setNodes(t,r,{match:function(o){return N.checkNodeType(o,"code")}})}},e.prototype.getSelectCodeElem=function(t){var n=N.getSelectedNodeByType(t,"code");if(n==null)return null;var r=N.getParentNode(t,n);return ft.isElement(r)?r.type!=="pre"?null:n:null},e}(),Rye={renderStyle:function(e,t){var n=e,r=t,o="";return Zme.forEach(function(i){n[i]&&(o=i)}),o&&function(i,a){i.data==null&&(i.data={});var u=i.data;u.props==null&&(u.props={}),Object.assign(u.props,{className:a})}(r,o="token "+o),r},parseStyleHtml:function(e,t,n){var r=k(e);if(!ft.isElement(t))return t;if(N.getNodeType(t)!=="code")return t;var o=t,i=r.attr("class")||"";return i.indexOf("language-")===0?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new Pye},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=n===void 0?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},jye=/"/g,Nye=On("".replace);nb({target:"String",proto:!0,forced:ao(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=iu(ad(this)),r="<a",(r+=' name="'+Nye(iu(t),jye,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var Xz=function(e){var t,n,r,o=function(m,h){var b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var E,w,S=b.call(m),x=[];try{for(;(h===void 0||h-- >0)&&!(E=S.next()).done;)x.push(E.value)}catch(B){w={error:B}}finally{try{E&&!E.done&&(b=S.return)&&b.call(S)}finally{if(w)throw w.error}}return x}(e,2),i=o[0],a=o[1],u=[],s=function(m){if(!Ye.isText(m))return null;var h=N.getParentNode(null,m);if(h&&N.getNodeType(h)==="code"){var b=N.getParentNode(null,h);if(b&&N.getNodeType(b)==="pre")return h}return null}(i);if(s==null)return u;var l=s.language,c=l===void 0?"":l;if(!c)return u;var f=function(m,h){if(!h)return[];var b=Pz.languages[h];return b?Pz.tokenize(m.text,b):[]}(i,c),p=0;try{for(var d=function(m){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&m[h],E=0;if(b)return b.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&E>=m.length&&(m=void 0),{value:m&&m[E++],done:!m}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),y=d.next();!y.done;y=d.next()){var g=y.value,v=p+Rz(g);typeof g!="string"&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:p},r.focus={path:a,offset:v},r)),p=v}}catch(m){t={error:m}}finally{try{y&&!y.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}return u},gr=function(){return gr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},gr.apply(this,arguments)},uo=function(){function e(){throw new Error(`\u4E0D\u80FD\u5B9E\u4F8B\u5316
Can not construct a instance`)}return e.setEditorConfig=function(t){t===void 0&&(t={}),this.editorConfig=gr(gr({},this.editorConfig),t)},e.setSimpleEditorConfig=function(t){t===void 0&&(t={}),this.simpleEditorConfig=gr(gr({},this.simpleEditorConfig),t)},e.setToolbarConfig=function(t){t===void 0&&(t={}),this.toolbarConfig=gr(gr({},this.toolbarConfig),t)},e.setSimpleToolbarConfig=function(t){t===void 0&&(t={}),this.simpleToolbarConfig=gr(gr({},this.simpleToolbarConfig),t)},e.registerPlugin=function(t){this.plugins.push(t)},e.registerMenu=function(t,n){!function(r,o){var i=r.key,a=r.factory,u=r.config,s=Ci(Ci({},u),o||{});if(Rp[i]!=null)throw new Error("Duplicated key '"+i+"' in menu items");Rp[i]=a,function(l,c){c!=null&&(E7[l]=c)}(i,s)}(t,n)},e.registerRenderElem=function(t){!function(n){var r=n.type,o=n.renderElem;SR[r||""]=o}(t)},e.registerRenderStyle=function(t){!function(n){Zw.push(n)}(t)},e.registerElemToHtml=function(t){!function(n){var r=n.type,o=n.elemToHtml;w7[r||""]=o}(t)},e.registerStyleToHtml=function(t){!function(n){vw.push(n)}(t)},e.registerPreParseHtml=function(t){!function(n){nR.push(n)}(t)},e.registerParseElemHtml=function(t){!function(n){var r=n.selector,o=n.parseElemHtml;em[r]=o}(t)},e.registerParseStyleHtml=function(t){!function(n){kw.push(n)}(t)},e.registerModule=function(t){sc(t)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function sc(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(c){return uo.registerMenu(c)}),n&&n.forEach(function(c){return uo.registerRenderElem(c)}),r&&uo.registerRenderStyle(r),o&&o.forEach(function(c){return uo.registerElemToHtml(c)}),i&&uo.registerStyleToHtml(i),a&&a.forEach(function(c){return uo.registerPreParseHtml(c)}),u&&u.forEach(function(c){return uo.registerParseElemHtml(c)}),s&&uo.registerParseStyleHtml(s),l&&uo.registerPlugin(l)}Wae.forEach(function(e){return sc(e)}),sc(Cle),sc(Gfe),sc(ege),sc(Wve),sc(Rye);var Yz='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',Jz={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},Bye={hoverbarKeys:gr(gr({},Jz),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};uo.setEditorConfig(gr(gr({},Bye),{decorate:Xz}));var Fye={hoverbarKeys:Jz};uo.setSimpleEditorConfig(gr(gr({},Fye),{decorate:Xz}));var kye={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:Me("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:Me("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:Me("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:Me("editor.image"),iconSvg:Yz,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:Me("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};uo.setToolbarConfig(kye);var Lye={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:Me("editor.image"),iconSvg:Yz,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Mye(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?"":t,r=e.content,o=r===void 0?[]:r,i=e.html,a=e.config,u=a===void 0?{}:a,s=e.mode,l=(s===void 0?"default":s)==="simple"?uo.simpleEditorConfig:uo.editorConfig,c=gr(gr({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return q$({selector:n,config:gr(gr(gr({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:uo.plugins})}function Iye(e){var t=e.selector,n=e.editor,r=e.config,o=r===void 0?{}:r,i=e.mode,a=i===void 0?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var u=a==="simple"?uo.simpleToolbarConfig:uo.toolbarConfig,s=function(l,c){if(l==null)throw new Error("Cannot create toolbar, because editor is null");var f=c.selector,p=c.config,d=p===void 0?{}:p;if(function(v,m){return cR(v,"data-w-e-toolbar",m)}(l,f))throw new Error("Repeated create toolbar by selector '"+f+"'");var y=Ci({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},d||{}),g=new ree(f,y);return nw.set(g,l),Gv.set(l,g),g}(n,{selector:t,config:gr(gr({},u),o)});return s}uo.setSimpleToolbarConfig(Lye);var Wye={}}).call(this,D("IyRk"))},z4EP:function(Je,Ge){Je.exports="data:image/png;base64,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"}}]);