import { _ as m, a as p, b as f } from './icon_level3.5b194074.js'
import { C as Q } from './index.e311a214.js'
import { n as R, p as d, r as y, s as T } from './index.9e4b607f.js'
import {
  d as h,
  T as g,
  a as e,
  F as u,
  j as n,
  g as l,
  B as v,
  D as B,
  I as A,
  y as j,
  C as b,
  P as x
} from './vendor.3506a68e.js'
/* empty css              */ /* empty css               */ /* empty css               */ import { C as k } from './code-down-load.328a30fb.js'
import { h as w } from './browser.ebb85846.js'
import './logo.bcac726b.js'
var L =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAz1JREFUWEftlU1oVFcUx3/njZP4EZX4UaxVEE2NZoxTFIsmLpS4qKAQELKSikKx8QMzo0hF3LRQa8FJREZEcVGwFJQumkI3FVSExKaimGRmLHbRkgRFBfEr1sT3TnkzJpkk7827UcGNF2bz7jn//++ee84d4R0vecf+vAcIrIA2RqpRDiMsRyk2uzLtR+QmIoekofP3QjkFAbQpsgKHK2BqPMrKRpzPJJa54AdRGCARaQY2mp3aN6pF4qlqYwC9erICtatBQrSd+hq7f+YbAYjVy8r6vagqWG1SVX8jX29YBbQt+QkvaQPC2aDrP0DfMx9/gQVroXQe3DgLdp93nBWCT7cP7DmIUyOrdl8a+DAcoPVEHNWjg0q+AAJlNTBjITy9D6mfQR0TAFD5Vqp3HPQBSO5HORIIsKAGZpbnzDPNYL/wv6XhFQCRI7Jqx1evDxCeCMu2QO8DSOeZF02GqbPh/l/DYd46gCs/cTr89xic/pxZ8RSoqIXiklw/vHg8BDFGgC9QTg1m3/wJnj8sPAT55t1/gvvLX+EJsHxr/pcDUrXzO+8ruJycS5jbgw+Pe7+Puv0BgszdzEkzoLJuaAocXSqrd6U8AdyP2npiC6qns6PYcw263Kn0WEWTILIpV3avkw+kzIrCvOw7ZAN7pWrnsXw1z5dQW5JlQC2Puj8k07wHCI1CmDoHFm+ErmvQM6LsQ8dT5q9L8kF5N2L9Kiu/TI/UMfgzWnIG1W2eVQgV+T9AuYRfJJ6qLdREwQCHK0spdv4APi7cjSN3tQfRFRLL3HkjgGxfJCLulfw2BoguLNkgDZ3tQdCBFRgQ0Gwl3GdaP/fsiVygInKOfqdB9qfvBpm7+8YAgyBHFy1EQnWgDSDTX/k+QaQJtc9L/FaHibHvGJomayJyEViTjRfaJZaKmuYGjqGfkB4vn01feBmWPQ5HvkFkSQ5A/wGNoZaN47TLvsy/pjDGV6CJ6Efw8hZQUlBc6UOtqOzrcGMDlzlAY8V6VNxJCF6imyWW/jE4cAxNqN9XzCIsaZTSAOFeICrx1N9vFSA7Y4nINLAqUXucp7hl2Yy30lLffs/E/LXG0FTYNM64B0wFxxr3HuB/pTgdMJbIN7EAAAAASUVORK5CYII=',
  _ = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: L
  }),
  Y =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAASCAYAAABM8m7ZAAAAAXNSR0IArs4c6QAAA1RJREFUSEuVlk9rG1cUxc+5b+RIG1tZBOxtta+9DrWCN/YI2TImRLEJgWrTfIGafIa2kFX+qgkKBGFZEGKpViICwVDirEu8Lcmyzq5eCYzlV97c0YwmkWQ62x/3nnn33XvuIy74bLOZwelpE+QqSEDEQuQuy+XfXGjAL11SLqKcvMtCQfmHDxn0ek2IJPkkXVurZWHMHyB/CJOegfyJm5u1IOmrV1kA3/JiUfnBQRb9fsyN0fjFxRrHCdsnT+aQTncBfB+K9mDMFjc3W0HSly/nAHRBJnmxqLzbnYMxyl2ljOlBZIv5fMBHCtvnz3M4P38Lke/C8p5gaqrEmzf/DE+aQ7//FmTMU6kSi0Xl797lcHamXMt/AmNKvHYt4COFbbW6AGPegJwNRY/heQXeuvVXeKcLAJS7pOQxyAI3NpR3OgsQeQMRjTfmGCIFLi0FfKSwffo0D2vbIGfCP/0EY1Z4+/bfQdLdXeUiM+FPfUK/v8JyWXmnkwep8Sqq3PcDPlLYPn68DnIHIpkw6CNOT33eufNPkLReX4fIDshM+FMfQfq8fl15u/0tt9an7wd8pLB9+LACsgoRL0z6HiJrrFT+DZK+eFGBSBVkzFOpNW5sKN/bq8AY5Tpy75FOr3FpKeAjhe39+9sQ+QUkQ9F9zMyUWS73QtFtkMo16T5EYt5qbQNIxmezZV69GsSPF37w4GeQv0bCxnQwPX1jSDjmem8dkDHf20tykQ4uX75xoXBwqkePfgTwe1BqTX7onCYqdb2ufFBq8hBTU6tRqdvtZLzIIdLp1YmlHpTCVqslWNsYap4jpFKuo7V5dnZKAJRryY8gshI11/5+zHV2j2Ct6+jxzRWJ6zi1QGbD+/4MY5ajcarX8/A85zzKyc9IpZa5vh6PE9CCSMzPz5cnjlMk/uzZfGiFAwP4AmP8yEAajXmIOCtUAxH5AsCPDKTbnYe1Se7iJxlIJP61ZRpzAmeJA8tsNHLwvNgSSeUDy3z9Ogdj/p9lRuK1mjuRWxLzkckPL4lmcxaep1xP7sZni6WSLomDg1n0+8n4i5bEkHgWntcGsDh2LTqL/JoP1qJbm9PTSS4yeS1G4vfuZXDlyq5zsrEPgXR6F4ByY5IPAfdQcPGODz0U/gNfamgaWngHlgAAAABJRU5ErkJggg==',
  C = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: Y
  }),
  M =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAASCAYAAABM8m7ZAAAAAXNSR0IArs4c6QAAA0RJREFUSEudls1PE2EQxp+hJoaT3JSjhquEMxoSLmSx0EJISknTxEYsyJFE+RuM/gVeMCFErCGEFgJyIXyEs3rXqyQeBC5guzNj3neWrls+NM5t8+vzzu7T+XhJ9/efQ/UlRAgiAFDDzZvj1Nt76h50YyPJRWqo18cplzNeqRhnNr2q6SPufnNZkBfv7ZUg8gYiN6AKiOwjlRqm/v4jz9fXS1A1bofvAxim0VHjS0sXOfMwlUqeX5nYi3d3sxB5B5H26PAvYA4oCL57Xq1mASQ5ENDYmPGlpSyYk/zXr4CmpjxvDf/F56E7O31grkLkVpT8G5gH6NGjr9GX96HRqEI15qnUAI2OGn//vg/1elLf1jZAjx97/mckEnvx9nYPRDbAfCey/RAig5ROf/J8ZaUHRMbN9kMAg5TLGV9c7EEYbkA15syDVC57fh4XEnvx5mYXUqmPELkXHX4M1Qyl07uer652IQyNW00cgyhD4+PGFxaMq8Z6xycnPXdxaeIoeSeINiHSHSU/hcgEZTKrni8vd0J1E8zdPrmq8ULB+MJCJ8LQuDlzCtUJmp72/MrEke0dODurQeRhJA4hUqaRkfnI9g40Ghd5sWh8fr4Drv2YH0bOhFAt08zM/LWJvfjgoB1HRxWIDPnkIgqiOcpmX3leqbguiDmgUJ2jYjHmx8cxV1WIzP1b4p8/P0AkHVnqDn5BIyOvm4lVP4DZuHsx4AUVizE/OTFulpu+tcz/fNbtbWf1GkQeNK0GnlIm87Zpdb2+BtUkLxSMm9WxXiSE0z979vZvxeUq936zOIA8DQ1Vm8Ul4io3yScmjLviajSSeqI8lcueX91ObW1bUL0b/a9u9GUT7dRoGLeKPkIYZqlQiNuJeQsipgdMf107+QHC7NrodnOAELnR+TmytweA8fMBIhJQPm/cDRCnZza9DZiAnjzx/NI+/q+RGYYDlM/HI9ONVOZ4pP5tZDaXBHO7f1PgM1KpgPr73Ru7DZVcAo6HYUC5nPHWJeG4c6JU8rw14rXo1h6zrT1gDycnmebaa12LjrsR2roWnd7s3QNz5tq1eOlF4MePeNGfXwTcojcnajg7S14EROwiYX1cg9PPzvqLwlXxG5q+C3kM/hHqAAAAAElFTkSuQmCC',
  S = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: M
  }),
  G =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAA////6Ojo+Pj49PT09PT08/Pz8/Pz9fX19PT09fX19PT08/Pz9PT09PT09PT09PT09PT09fX19fX1wMDAxcXFx8fHyMjIz8/P7Ozs9PT0YPUOQwAAABR0Uk5TAAoLI0dIUliDhpWosbrQ1+vx9vj8NAlzAAAA8klEQVQ4y5WVVxKEMAxDTe8b+oLuf9AdtkGCKdJfxm8ySeTIIra8MCtN3XW1KbPQkzNFRYuN2iI6ROMHdnrEKhpUUFUFezZpcKAmcdkUJ0ptNsep8tv7OnsnuNT/3EFzDTe/N6lwQ9XXC9zSx53Vt2mcbWAep9XLdz+stbEfLHoe+nFdLX1SWMUt7SwLEb/FQdlh0foSAjrtskAoGXR6zyKTEiqtsCjFQKM1FkZqaLTGopYOGq2x6DiYOgZ1QerpKFMou4lG8rgW3Tb/87L5qW/FfVgqCriQoeKLC0Yucrkw58YEN4C40UYOzUX+dhz7TvEFrMaVF5fX03QAAAAASUVORK5CYII=',
  D = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: G
  }),
  O =
    'data:image/png;base64,[encoded data, 4516 characters]',
  P = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: O
  }),
  V =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAAXNSR0IArs4c6QAAAYZQTFRFAAAA////////////////////////////////////////////////////////////////////////////////LceqL8eqL8erMcirMsisOMquOsqvO8qvPsuwR820VtG5VtG6V9G6W9K8Z9XBatbCbtbDb9fEcNfEcNjEcdjEctjFdNnGddjGddnGdtnGftvJgdzLg9zLhN3Mhd3Mhd3Nht3Mh93NiN7OjN7PjN/Pjd/PkN/RkeDRk+DSlODSlOHSl+HUmuLUmuLVnuPWnuPXoOPXqubbsOfdsujes+jftOnftenftunftunguOrguerhuurhu+rhvevivevjvuvjwOvkwezkwuzkwuzlxe3lx+3mx+3nyO3nyu7ny+7ozO/oze/pz+/p0O/q0fDq0/Dr1fHs2fLu3fPv3vPv3vPw4fTx4vTx5PTy5vXy5vXz5/Xz6Pbz6Pb06fb06vf17Pf27fj27vj27vj38fn48vn49vv69/z7+fz8/P79/f7+/v7+/v//////I957DgAAABV0Uk5TAAIECRMbN1dYeIeWl6ustNLT4+v4nN+bkwAAAmJJREFUOMuVVfl30kAQDi1FuY9kvQ/SCmrUelAPKhLBtoKAUqqECkWLB1qU6lIo5Z7/vAlsmpWG9+L3Q2ay+73ZnXMZhobJYnV6WI5jPU6rxcTMwoLNBxR8tgVdmtnOAfQ77WYD40az3ekDcHbzad5ZFkbdQ0zhsDsC9swUbc4B0DvAUzjoATjmaN68G4ZHWAdHQ3DPU/bcMGhhXbQG4NZsOmDQxDPQHIDjxA8YtvBMtIZAPDKzQN+vXsm9K/+m7wnsJEp26GmrkuAXQo9uXV8ua2s9sI/zwY1O4lINBkpSXBRj29ufv648V6M04pQc2aCr8ip8KhlO1zDey2zeOI8u18h6F2xyHfhAzUeV34lkJ+r+JYSurPxQcwQ+E2OBvmowmIrsEvUbQi/KtfvqTh8sjBU6qh+BRFbd+YDQ99zr2+/JbwesjAva5E8oriri78YSf+cpuvgHP/t4k2y1wcl4gSSl7i9kFN4yGuMaxm/z/D5JD3gZFhrEZSGmeLkx4aFFjH+9vPtpstcAluGAmM+FoopYQujVz8cIBWVdfLJJNoHTiFshURF+hPZwBqEHsh4NbWlE6ui4crSA0L03PEJrGNfiQkU7mnJGSssif258xatysDMFf111xsM4tfCUwopYv6Dw8rIWLgpUeOiAJ8cB/yI+XFOSl00EJCrg+imUsRtJBekU6heFbC+yw1fpopgqs8RqRva9lg4nU3wF02U2XbjFQiwqxqVSIFjF/xauTiuE5I90qhV0mitXqes1l+F2NT4AjI8Uw0PK+NgzPkj/YzQbH/bk+XB5lefD65p+Po4BPFXiyZWqFZgAAAAASUVORK5CYII=',
  I = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: V
  }),
  J =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAAAXNSR0IArs4c6QAAA7FJREFUWEe9lm9oVWUcx7/f46BioBFB7wJfaU2MDBHN5rQZ05jaHMtyOgbeS0lKVjAaRE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peMjvmXkQv4hx+z5fRd6/jo6PIuAO9lg37O5qHc+4S6pYEVu+DKv4A62s31wztMC8cBqJsLF4OZCSca2Tx8e0KRc2PXv3wO6A5CcFClRjalbpnW/wvweGeAGl1PfwAAAABJRU5ErkJggg==',
  U = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: J
  }),
  q =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABexJREFUWMO9WPlPVFcUfl1smi6JbdrEX5oYmzT9qTFp/Aea/tCYtEkTRUZkUZFNdhAHV0RFRFwALZtjxQ1xKSISihhRFnHYRAq80RKTRts0tT+YNmkbSefr+e7tYx4yAzMWOsmXue/ec7/z3XvOPe/OGEaIH9y+/TE8nhzBtzDNRxgb+xMPHvytwLbH81DQLGPZ6OpabMzFB+fOvYKhoWRxcl+cejE6CnkG+vuBnh7A7dZgm30cM00oW1MaQ0PxaGt7eXbE3L0bLqQ/KxF01t4OtLQADQ3A+fNAbS1w+rQG2+zjGG06OvQczvV4HmFw8MvnF9LWNh/Dw5cUGVd/9Spw4QJw/DhQUQGUlgIHDwLFxT7s36/7OFZerm05h3PJYZpe2a1zIvjN0MR0dCwSMffV6lpbgbNngcpK7ayoCCgoAHbvBnbtmgr2E7Sh7aFDQFUVUFenuQYGgJGRYdy8+V5wYq5dWySr+FESEqivB6qr9crpYOdOID8/MDj+rA2f9+wBDhwAjh4FLl0CuruZZz/MKEoEzJc43xNDvStlZZqMxDt2TIdhsfllWhtykOvwYb1bzMXBwWFJjTcCC+rtrceNGzpBGR6GIC8P2L7dPziWn1+r5hYUvCvtJ1PGn51PTnKfOQO18J6eOv9iurvD1KmgIbeXq9q2bXpw1UVFaRMchYV3lIBg5tEHT2VXl1f8Tj596Oubh87On9SRpXqSbtkyPbZu1XlVXp4xwVNa+p1aSDBzaUdfPIVdXQ/Fp69OSTwT0dQEHDmCCcLNm4FNmzTYtoN9tOEpqqnJ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C37t+f8FiYz8RIhGsGIFAiIsbDL82Tgc9yUNPpud/4hYpxyOMHHWgeXLvQIECa/M6ZYwRUj7pbn5Ny08fCGWLYsXnBIn/fL9WPDXv2B7QPpPCxJlZ94Plf8fbomw+HbQ7s8AAAAASUVORK5CYII=',
  F = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: q
  }),
  Z =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAgCAMAAADaHo1mAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////CDfnXgAAABp0Uk5TABUYGRsqLC4yTE1Tfn+BgpyiwcLm8PP7/P6E2VJmAAAA3ElEQVRIx7XWuRKDMBADUBlzmfs0oP//0BQhCTBMGiO1z5Vt7SxwjjH4m1BHkmodzmkddaV1DKPW7brESkdDtkqPZtJbnaMnyU7nxUaSW6ny3JMk6TONZxP3TLnCS89vfPG4227jIVsfPepx63nJ3Nhn3KSuGhfeZB1ql5hQh0lcPax3B5axcqkJ9f0Gm/nKvj0MlVAHEPXnR+ouhQ91AMXxm92UMdSB/FeUTOFA9ql6rnGgfA+rQuVAR5K9zmE9OUc6B1qyUTriZbVKB8ZB66hqretXxzTR+vPr+wshVkZF5A2Z9gAAAABJRU5ErkJggg==',
  N = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: Z
  }),
  X =
    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARIAAAA+CAMAAADQ8GToAAAAAXNSR0IArs4c6QAAAO1QTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////bAyRTwAAAE50Uk5TAAIEBQYKEBETFRgdHiAmJygvMTU4Oj5ASU5QUVhaYWJlanJ7gYKDiouSlJaao6uvsrS3uLm7vMHDxczS1N3i5OXs7fDx8vP09vj7/P3+lZ3IWQAAAYtJREFUGBntwedC4lAYBNCJvfeKYq/Y3bWj2CDWef/H2RBCuDfE8nu/OQcViqeCY4rnGJsUzyYKFE8BQxTPEPBAcTwAOKM4zgBsUxzbABYpjkUAoxTHKICgRknVAkQuKalL1O1SUruoW6KkllA3TkmNo67zlZJ47UTsmpK4RsM+JbGPhlVKYhUNU5TEFBq63ymx924kypRYGU0HlNgBmtYosTU0zVJis2jq+aREPnuQuqVEbtFySIkcomWdEllHyxwlMoeWAUpkAI57Cu/hOqHwBK4tCrfgWqBwAa5hCofheaR5j/Cd07xz+HZo3g58RZpXhG+M5o3BF4Q0LgyQcUXjrpBVonElZC3TuGVkTdC4CWR1VGlatQNtTmnaKdqt0LQVtOsNaVjYixx7NGwPeQZfaNbLIHJt0KwN5Ou6oVE3XfjCyBNNehrBl2ZqNKg6g29MP9Oc52l8a7JCYyqT+EH/EU056sfP5ss0ozyPXwkKf99owNufQoBf6yuWLu7CD/6nPsK7i1KxD7n+AUIlM/jQlx8vAAAAAElFTkSuQmCC',
  E = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: X
  }),
  K = './assets/wx_bg.7fc6518a.png',
  z = Object.freeze({
    __proto__: null,
    [Symbol.toStringTag]: 'Module',
    default: K
  })
const H = '_review_1vw06_1',
  W = '_reviewContainer_1vw06_7',
  $ = '_section_1vw06_12',
  ee = '_activeTime_1vw06_18',
  te = '_activeBg_1vw06_22',
  se = '_title_1vw06_39',
  ie = '_tips_1vw06_55',
  ae = '_title2_1vw06_65',
  ne = '_titlePrefix_1vw06_78',
  oe = '_iconStar_1vw06_86',
  re = '_titleTips_1vw06_89',
  ce = '_prizeTitle_1vw06_94',
  le = '_prizeLevel_1vw06_102',
  Ae = '_prizeSection_1vw06_107',
  ue = '_prize_1vw06_94',
  ge = '_prizeContainer_1vw06_126',
  ve = '_prizeName_1vw06_129',
  me = '_prizeDesc_1vw06_134',
  pe = '_musicItem_1vw06_138',
  fe = '_musicTitle_1vw06_150',
  de = '_cellLevel_1vw06_155',
  he = '_iconMusic_1vw06_158',
  Be = '_kingSection_1vw06_162',
  be = '_score_1vw06_165',
  we = '_iconKing_1vw06_177',
  _e = '_userImg_1vw06_181',
  Ce = '_iconLevel_1vw06_189',
  Se = '_userInfo_1vw06_197',
  De = '_users_1vw06_201',
  Pe = '_userName_1vw06_206',
  Ie = '_name_1vw06_217',
  Ue = '_subjectName_1vw06_220',
  Fe = '_userLogo_1vw06_228',
  Ne = '_img_1vw06_240',
  Ee = '_noText_1vw06_244',
  ze = '_musicName_1vw06_249',
  Qe = '_btnGroup_1vw06_260',
  Re = '_submit_1vw06_264',
  ye = '_shareContainer_1vw06_272',
  Te = '_cover_1vw06_276',
  je = '_shareCodeUrl_1vw06_282',
  xe = '_shareSection_1vw06_289',
  ke = '_shareActiveTime_1vw06_295',
  Le = '_shareGroupBtn_1vw06_298'
var t = {
  review: H,
  reviewContainer: W,
  section: $,
  activeTime: ee,
  activeBg: te,
  title: se,
  tips: ie,
  title2: ae,
  titlePrefix: ne,
  iconStar: oe,
  titleTips: re,
  prizeTitle: ce,
  prizeLevel: le,
  prizeSection: Ae,
  prize: ue,
  prizeContainer: ge,
  prizeName: ve,
  prizeDesc: me,
  musicItem: pe,
  musicTitle: fe,
  cellLevel: de,
  iconMusic: he,
  kingSection: Be,
  score: be,
  iconKing: we,
  userImg: _e,
  iconLevel: Ce,
  userInfo: Se,
  users: De,
  userName: Pe,
  name: Ie,
  subjectName: Ue,
  userLogo: Fe,
  img: Ne,
  noText: Ee,
  musicName: ze,
  btnGroup: Qe,
  submit: Re,
  shareContainer: ye,
  cover: Te,
  shareCodeUrl: je,
  shareSection: xe,
  shareActiveTime: ke,
  shareGroupBtn: Le
}
const Ye = s => {
  const i = `./images/${s}`
  return {
    './images/icon-lv.png': _,
    './images/icon_arrow_left.png': C,
    './images/icon_arrow_right.png': S,
    './images/icon_close.png': D,
    './images/icon_king.png': P,
    './images/icon_level.png': m,
    './images/icon_level2.png': p,
    './images/icon_level3.png': f,
    './images/icon_music.png': I,
    './images/icon_no_level.png': U,
    './images/icon_time.png': F,
    './images/star_bg.png': N,
    './images/title_bg.png': E,
    './images/wx_bg.png': z
  }[i].default
}
var Me = h({
  name: 'share-model',
  props: {
    shareUrl: { type: String, default: '' },
    activeInfo: { type: Object, default: {} }
  },
  data() {
    return { image: null, codeUrl: '', subjectUrl: '' }
  },
  async mounted() {
    try {
      ;(this.subjectUrl =
        this.activeInfo.shareUrl + '@base@tag=imgScale&w=570?t=' + +new Date()),
        console.log(this.shareUrl),
        (this.codeUrl = this.shareUrl)
    } catch {}
  },
  methods: {
    async onSaveImg() {
      const s = document.getElementById('share-preview-container')
      w(s, { allowTaint: !0, useCORS: !0 }).then(async i => {
        var r
        const a = i.toDataURL('image/png')
        ;(this.image = a),
          g.loading({
            message: '\u56FE\u7247\u751F\u6210\u4E2D...',
            forbidClick: !0
          })
        const o = await R({
          api: 'savePicture',
          content: { base64: this.image }
        })
        ;((r = o == null ? void 0 : o.content) == null ? void 0 : r.status) ===
        'success'
          ? g.success('\u4FDD\u5B58\u6210\u529F')
          : g.fail('\u4FDD\u5B58\u5931\u8D25')
      })
    },
    async shareShow() {
      const s = document.getElementById('share-preview-container')
      w(s, { allowTaint: !0, useCORS: !0 }).then(async i => {
        const a = i.toDataURL('image/png')
        this.image = a
        const o = this.image
        o &&
          d(
            {
              api: 'shareAchievements',
              content: {
                title: '',
                desc: '',
                image: o,
                video: '',
                type: 'image'
              }
            },
            r => {
              r &&
                r.content &&
                g(
                  r.content.message ||
                    (r.content.status
                      ? '\u5206\u4EAB\u6210\u529F'
                      : '\u5206\u4EAB\u5931\u8D25')
                )
            }
          )
      })
    }
  },
  render() {
    return e(u, null, [
      this.codeUrl &&
        e(u, null, [
          e(
            'div',
            {
              class: t.shareContainer,
              id: 'share-preview-container',
              style: { backgroundColor: this.activeInfo.backgroundUrl }
            },
            [
              e(
                'img',
                {
                  class: [t.cover],
                  src: this.subjectUrl,
                  crossorigin: 'anonymous',
                  style: { objectFit: 'cover' }
                },
                null
              ),
              e('div', { class: t.reviewContainer }, [
                e(
                  'div',
                  { class: [t.section, t.activeTime, t.shareActiveTime] },
                  [
                    e('div', { class: t.activeBg }, [
                      e('img', { src: Ye('icon_time.png') }, null),
                      e('p', null, [
                        e('span', null, [n('\u6D3B\u52A8\u65F6\u95F4\uFF1A')]),
                        l(this.activeInfo.activityStart).format('YYYY-MM-DD'),
                        n('~'),
                        l(this.activeInfo.activityEnd).format('YYYY-MM-DD')
                      ])
                    ])
                  ]
                ),
                e('div', { class: [t.section, t.shareSection] }, [
                  this.activeInfo.describe
                ])
              ]),
              e('div', { class: t.shareCodeUrl }, [
                e(k, { shareUrl: this.codeUrl }, null)
              ])
            ]
          ),
          e('div', { class: ['btnGroup', t.shareGroupBtn] }, [
            e(
              v,
              {
                type: 'primary',
                plain: !0,
                round: !0,
                onClick: this.onSaveImg
              },
              { default: () => [n('\u4FDD\u5B58\u56FE\u7247')] }
            ),
            e(
              v,
              { type: 'primary', round: !0, onClick: this.shareShow },
              { default: () => [n('\u7ACB\u5373\u5206\u4EAB')] }
            )
          ])
        ])
    ])
  }
})
const c = s => {
  const i = `./images/${s}`
  return {
    './images/icon-lv.png': _,
    './images/icon_arrow_left.png': C,
    './images/icon_arrow_right.png': S,
    './images/icon_close.png': D,
    './images/icon_king.png': P,
    './images/icon_level.png': m,
    './images/icon_level2.png': p,
    './images/icon_level3.png': f,
    './images/icon_music.png': I,
    './images/icon_no_level.png': U,
    './images/icon_time.png': F,
    './images/star_bg.png': N,
    './images/title_bg.png': E,
    './images/wx_bg.png': z
  }[i].default
}
var $e = h({
  name: 'track-review-activity',
  data() {
    return {
      id: this.$route.query.id,
      activeInfo: {},
      shareStatus: !1,
      shareUrl: ''
    }
  },
  computed: {
    activityMusic() {
      return this.activeInfo.activityMusicVoList || []
    },
    rewardList() {
      let i = this.activeInfo.activityRewardList || []
      if (i && i.length > 0) {
        const a = i.sort((o, r) => (Number(o.group) < Number(r.group) ? -1 : 1))
        i = this.groupBy(a, o => [o.group])
      }
      return i || []
    }
  },
  async mounted() {
    await this.getMusicInfo(), this.checkActivityTime()
  },
  methods: {
    groupBy(s, i) {
      const a = {}
      return (
        s.forEach(function (o) {
          const r = JSON.stringify(i(o))
          ;(a[r] = a[r] || []), a[r].push(o)
        }),
        Object.keys(a).map(function (o) {
          return a[o]
        })
      )
    },
    async getMusicInfo() {
      var s
      try {
        const i = await y.post('/api-teacher/open/activity/info/' + this.id)
        ;(this.activeInfo = i.data),
          (document.title = this.activeInfo.activityName),
          (this.shareUrl = `${
            location.origin
          }/student/#/track-review-activity?recomUserId=${
            (s = T.user.data) == null ? void 0 : s.userId
          }&id=${this.activeInfo.id}`)
      } catch {}
    },
    checkActivityTime() {
      try {
        const s = this.activeInfo
        if (s.activityState !== 1)
          return (
            B.alert({
              message:
                '\u6D3B\u52A8\u5DF2\u7ED3\u675F\uFF0C\u611F\u8C22\u4F60\u7684\u5173\u6CE8\uFF01',
              theme: 'round-button',
              confirmButtonColor: '#01C1B5'
            }),
            this.onBackDialog(
              '\u6D3B\u52A8\u5DF2\u7ED3\u675F\uFF0C\u611F\u8C22\u4F60\u7684\u5173\u6CE8\uFF01'
            ),
            !1
          )
        const i = l(),
          a = l(s.activityStart),
          o = l(s.activityEnd)
        return l(i).isBefore(l(a))
          ? (this.onBackDialog(
              '\u6D3B\u52A8\u5C1A\u672A\u5F00\u59CB\uFF0C\u8BF7\u60A8\u8010\u5FC3\u7B49\u5F85\uFF01'
            ),
            !1)
          : l(i).isBefore(l(o))
          ? !0
          : (this.onBackDialog(
              '\u6D3B\u52A8\u5DF2\u7ED3\u675F\uFF0C\u611F\u8C22\u4F60\u7684\u5173\u6CE8\uFF01'
            ),
            !1)
      } catch {}
    },
    onBackDialog(s) {
      B.alert({
        message: s,
        theme: 'round-button',
        confirmButtonColor: '#01C1B5'
      }).then(() => {
        d({ api: 'back' })
      })
    }
  },
  render() {
    return e(
      'div',
      {
        class: t.review,
        style: {
          background: `url(${this.activeInfo.subjectUrl}) no-repeat top center ${this.activeInfo.backgroundUrl}`,
          backgroundSize: 'contain'
        }
      },
      [
        e('div', { class: t.reviewContainer }, [
          e('div', { class: [t.section, t.activeTime] }, [
            e('div', { class: t.activeBg }, [
              e('img', { src: c('icon_time.png') }, null),
              e('p', null, [
                e('span', null, [n('\u6D3B\u52A8\u65F6\u95F4\uFF1A')]),
                l(this.activeInfo.activityStart).format('YYYY-MM-DD'),
                n(' ~ '),
                l(this.activeInfo.activityEnd).format('YYYY-MM-DD')
              ])
            ])
          ]),
          e('div', { class: [t.section] }, [
            e('div', { class: t.title }, [
              e('img', { src: c('icon_arrow_left.png') }, null),
              e('span', null, [n('\u6D3B\u52A8\u4ECB\u7ECD')]),
              e('img', { src: c('icon_arrow_right.png') }, null)
            ]),
            e('div', { class: t.tips }, [this.activeInfo.describe])
          ]),
          e('div', { class: [t.section] }, [
            e('h2', { class: t.title2 }, [
              e('span', null, [
                e('i', { class: t.titlePrefix }, null),
                n('\u6D3B\u52A8\u5956\u54C1')
              ]),
              e(
                'span',
                {
                  class: t.titleTips,
                  onClick: () =>
                    this.$router.push({
                      path: '/leaderboard',
                      query: { id: this.id }
                    })
                },
                [
                  n('\u67E5\u770B\u6311\u6218\u6392\u884C\u699C'),
                  e(
                    'img',
                    {
                      style: { width: '16px', marginLeft: '4px' },
                      src: c('icon-lv.png')
                    },
                    null
                  )
                ]
              )
            ]),
            this.rewardList.map((s, i) =>
              e(u, null, [
                e('div', { class: t.prizeTitle }, [
                  i === 0 &&
                    e(
                      A,
                      { class: t.prizeLevel, src: c('icon_level.png') },
                      null
                    ),
                  i === 1 &&
                    e(
                      A,
                      { class: t.prizeLevel, src: c('icon_level2.png') },
                      null
                    ),
                  i === 2 &&
                    e(
                      A,
                      { class: t.prizeLevel, src: c('icon_level3.png') },
                      null
                    ),
                  n('\u7B2C'),
                  ++i,
                  n('\u540D\u5956\u54C1')
                ]),
                e('div', { class: t.prizeSection }, [
                  s.map(a =>
                    e('div', { class: [t.prize] }, [
                      e(A, { src: a.imgUrl }, null),
                      e('div', { class: t.prizeContainer }, [
                        e('div', { class: t.prizeName }, [a.rewardName]),
                        e('div', { class: t.prizeDesc }, [a.rewardDescribe])
                      ])
                    ])
                  )
                ])
              ])
            )
          ]),
          e('div', { class: [t.section], style: { backgroundColor: '#fff' } }, [
            e('h2', { class: t.title2 }, [
              e('span', null, [
                e('i', { class: t.titlePrefix }, null),
                n('\u6D3B\u52A8\u66F2\u76EE')
              ]),
              e('span', { class: t.titleTips }, [
                n('\u5171'),
                this.activityMusic.length || 0,
                n('\u9996\u66F2\u76EE')
              ])
            ]),
            this.activityMusic.map(s =>
              e(
                j,
                { class: t.musicItem, border: !1 },
                {
                  default: () => [
                    e(
                      b,
                      { center: !0, titleClass: t.musicTitle },
                      {
                        icon: () =>
                          e(
                            A,
                            { src: c('icon_music.png'), class: t.iconMusic },
                            null
                          ),
                        title: () =>
                          e('span', { class: t.musicName }, [s.musicSheetName]),
                        value: () => e('span', null, [s.musicSubject])
                      }
                    ),
                    e(
                      b,
                      { center: !0, class: t.cellLevel },
                      {
                        icon: () =>
                          e('div', { class: t.kingSection }, [
                            e(
                              A,
                              { src: c('icon_king.png'), class: t.iconKing },
                              null
                            ),
                            e('p', { class: t.score }, [
                              s.userId ? s.score : '--',
                              e('span', null, [n('\u5206')])
                            ])
                          ]),
                        title: () =>
                          e('div', { class: t.users }, [
                            e('div', { class: t.userInfo }, [
                              e('div', { class: t.userImg }, [
                                s.userId
                                  ? e(u, null, [
                                      e(
                                        A,
                                        {
                                          src: s.userAvatar,
                                          class: t.userLogo,
                                          fit: 'cover'
                                        },
                                        null
                                      ),
                                      e(
                                        'img',
                                        {
                                          src: c('icon_level.png'),
                                          class: t.iconLevel
                                        },
                                        null
                                      )
                                    ])
                                  : e('div', { class: t.userLogo }, [
                                      e(
                                        'img',
                                        {
                                          class: t.img,
                                          src: c('icon_no_level.png')
                                        },
                                        null
                                      )
                                    ])
                              ]),
                              e('div', { class: t.userName }, [
                                s.userId
                                  ? e(u, null, [
                                      e('p', { class: t.name }, [s.username]),
                                      e('p', null, [
                                        e('span', { class: t.subjectName }, [
                                          s.userSubject
                                        ])
                                      ]),
                                      ' '
                                    ])
                                  : e('span', { class: t.noText }, [
                                      n('\u865A\u4F4D\u4EE5\u5F85')
                                    ])
                              ])
                            ]),
                            e('div', { class: t.userBtn }, [
                              e(
                                v,
                                {
                                  round: !0,
                                  style: { padding: '0 8px', height: '32px' },
                                  color:
                                    'linear-gradient(180deg, #FFA200 0%, #FF6900 100%)',
                                  disabled: !0
                                },
                                {
                                  default: () => [n('\u7ACB\u523B\u6311\u6218')]
                                }
                              )
                            ])
                          ])
                      }
                    )
                  ]
                }
              )
            )
          ]),
          e('div', { class: [t.section] }, [
            e('div', { class: t.title }, [
              e('img', { src: c('icon_arrow_left.png') }, null),
              e('span', null, [n('\u6D3B\u52A8\u89C4\u5219')]),
              e('img', { src: c('icon_arrow_right.png') }, null)
            ]),
            e('div', { class: t.tips }, [this.activeInfo.ruleDescribe])
          ])
        ]),
        e(
          Q,
          { position: 'bottom' },
          {
            default: () => [
              e('div', { class: t.btnGroup }, [
                e(
                  v,
                  {
                    round: !0,
                    class: t.submit,
                    block: !0,
                    onClick: () => {
                      !this.checkActivityTime() || (this.shareStatus = !0)
                    }
                  },
                  { default: () => [n('\u7ACB\u5373\u5206\u4EAB')] }
                )
              ])
            ]
          }
        ),
        e(
          x,
          {
            show: this.shareStatus,
            'onUpdate:show': s => (this.shareStatus = s),
            style: { background: 'transparent' }
          },
          {
            default: () => [
              e(
                Me,
                { shareUrl: this.shareUrl, activeInfo: this.activeInfo },
                null
              )
            ]
          }
        )
      ]
    )
  }
})
export { $e as default, c as getAssetsHomeFile }
