ai-error-assistant-mobile 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +33 -0
  2. package/components/demo/api/index.js +123 -0
  3. package/components/demo/index.js +7 -0
  4. package/components/demo/plugins/cache.js +77 -0
  5. package/components/demo/src/chat-tools.vue +477 -0
  6. package/components/demo/src/chat.vue +618 -0
  7. package/components/demo/src/error-chat.vue +384 -0
  8. package/components/demo/src/main.vue +408 -0
  9. package/components/demo/static/bg-img.png +0 -0
  10. package/components/demo/static/cai-active.png +0 -0
  11. package/components/demo/static/cai.png +0 -0
  12. package/components/demo/static/correct.png +0 -0
  13. package/components/demo/static/delete.png +0 -0
  14. package/components/demo/static/error.png +0 -0
  15. package/components/demo/static/logo.png +0 -0
  16. package/components/demo/static/robot.png +0 -0
  17. package/components/demo/static/send-icon.png +0 -0
  18. package/components/demo/static/zan-active.png +0 -0
  19. package/components/demo/static/zan.png +0 -0
  20. package/components/demo/utils/aes-utils.js +35 -0
  21. package/components/demo/utils/config.js +99 -0
  22. package/components/demo/utils/constants.js +15 -0
  23. package/components/demo/utils/request.js +72 -0
  24. package/components/index.js +16 -0
  25. package/dist/ai-error-assistant-mobile.common.js +14916 -0
  26. package/dist/ai-error-assistant-mobile.common.js.map +1 -0
  27. package/dist/ai-error-assistant-mobile.css +1 -0
  28. package/dist/ai-error-assistant-mobile.umd.js +14935 -0
  29. package/dist/ai-error-assistant-mobile.umd.js.map +1 -0
  30. package/dist/ai-error-assistant-mobile.umd.min.js +18 -0
  31. package/dist/ai-error-assistant-mobile.umd.min.js.map +1 -0
  32. package/dist/demo.html +1 -0
  33. package/dist/img/robot.7ad12cd4.png +0 -0
  34. package/package.json +47 -0
@@ -0,0 +1,18 @@
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("element-ui")):"function"===typeof define&&define.amd?define(["element-ui"],t):"object"===typeof exports?exports["ai-error-assistant-mobile"]=t(require("element-ui")):e["ai-error-assistant-mobile"]=t(e["element-ui"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={565:function(e,t,n){(function(t,r){e.exports=r(n(763),n(360),n(490),n(568),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,s=t.algo,i=[],o=[],a=[],c=[],l=[],u=[],h=[],d=[],f=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var s=r^r<<1^r<<2^r<<3^r<<4;s=s>>>8^255&s^99,i[n]=s,o[s]=n;var g=e[n],m=e[g],y=e[m],w=257*e[s]^16843008*s;a[n]=w<<24|w>>>8,c[n]=w<<16|w>>>16,l[n]=w<<8|w>>>24,u[n]=w;w=16843009*y^65537*m^257*g^16843008*n;h[s]=w<<24|w>>>8,d[s]=w<<16|w>>>16,f[s]=w<<8|w>>>24,p[s]=w,n?(n=g^e[e[e[y^g]]],r^=e[e[r]]):n=r=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],m=s.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=this._nRounds=n+6,s=4*(r+1),o=this._keySchedule=[],a=0;a<s;a++)a<n?o[a]=t[a]:(u=o[a-1],a%n?n>6&&a%n==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=u<<8|u>>>24,u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=g[a/n|0]<<24),o[a]=o[a-n]^u);for(var c=this._invKeySchedule=[],l=0;l<s;l++){a=s-l;if(l%4)var u=o[a];else u=o[a-4];c[l]=l<4||a<=4?u:h[i[u>>>24]]^d[i[u>>>16&255]]^f[i[u>>>8&255]]^p[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,c,l,u,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,h,d,f,p,o);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,s,i,o,a){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],h=e[t+2]^n[2],d=e[t+3]^n[3],f=4,p=1;p<c;p++){var g=r[l>>>24]^s[u>>>16&255]^i[h>>>8&255]^o[255&d]^n[f++],m=r[u>>>24]^s[h>>>16&255]^i[d>>>8&255]^o[255&l]^n[f++],y=r[h>>>24]^s[d>>>16&255]^i[l>>>8&255]^o[255&u]^n[f++],w=r[d>>>24]^s[l>>>16&255]^i[u>>>8&255]^o[255&h]^n[f++];l=g,u=m,h=y,d=w}g=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&d])^n[f++],m=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[d>>>8&255]<<8|a[255&l])^n[f++],y=(a[h>>>24]<<24|a[d>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^n[f++],w=(a[d>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^n[f++];e[t]=g,e[t+1]=m,e[t+2]=y,e[t+3]=w},keySize:8});t.AES=r._createHelper(m)}(),e.AES}))},966:function(e,t,n){(function(t,r){e.exports=r(n(763),n(360),n(490),n(568),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,s=t.algo;const i=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,s=t>>8&255,i=255&t,o=e.sbox[0][n]+e.sbox[1][r];return o^=e.sbox[2][s],o+=e.sbox[3][i],o}function u(e,t,n){let r,s=t,o=n;for(let a=0;a<i;++a)s^=e.pbox[a],o=l(e,s)^o,r=s,s=o,o=r;return r=s,s=o,o=r,o^=e.pbox[i],s^=e.pbox[i+1],{left:s,right:o}}function h(e,t,n){let r,s=t,o=n;for(let a=i+1;a>1;--a)s^=e.pbox[a],o=l(e,s)^o,r=s,s=o,o=r;return r=s,s=o,o=r,o^=e.pbox[1],s^=e.pbox[0],{left:s,right:o}}function d(e,t,n){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=a[i][t]}let r=0;for(let a=0;a<i+2;a++)e.pbox[a]=o[a]^t[r],r++,r>=n&&(r=0);let s=0,c=0,l=0;for(let o=0;o<i+2;o+=2)l=u(e,s,c),s=l.left,c=l.right,e.pbox[o]=s,e.pbox[o+1]=c;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)l=u(e,s,c),s=l.left,c=l.right,e.sbox[i][t]=s,e.sbox[i][t+1]=c;return!0}var f=s.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;d(c,t,n)}},encryptBlock:function(e,t){var n=u(c,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=h(c,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(f)}(),e.Blowfish}))},796:function(e,t,n){(function(t,r){e.exports=r(n(763),n(568))})(0,(function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,s=r.Base,i=r.WordArray,o=r.BufferedBlockAlgorithm,a=n.enc,c=(a.Utf8,a.Base64),l=n.algo,u=l.EvpKDF,h=r.Cipher=o.extend({cfg:s.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?x:b}return function(t){return{encrypt:function(n,r,s){return e(r).encrypt(t,n,r,s)},decrypt:function(n,r,s){return e(r).decrypt(t,n,r,s)}}}}()}),d=(r.StreamCipher=h.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),f=r.BlockCipherMode=s.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=f.extend();function n(e,n,r){var s,i=this._iv;i?(s=i,this._iv=t):s=this._prevBlock;for(var o=0;o<r;o++)e[n+o]^=s[o]}return e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,s=r.blockSize;n.call(this,e,t,s),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+s)}}),e.Decryptor=e.extend({processBlock:function(e,t){var r=this._cipher,s=r.blockSize,i=e.slice(t,t+s);r.decryptBlock(e,t),n.call(this,e,t,s),this._prevBlock=i}}),e}(),g=n.pad={},m=g.Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,s=r<<24|r<<16|r<<8|r,o=[],a=0;a<r;a+=4)o.push(s);var c=i.create(o,r);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},y=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:m}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),w=n.format={},A=w.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?i.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(c)},parse:function(e){var t,n=c.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),y.create({ciphertext:n,salt:t})}},b=r.SerializableCipher=s.extend({cfg:s.extend({format:A}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var s=e.createEncryptor(n,r),i=s.finalize(t),o=s.cfg;return y.create({ciphertext:i,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var s=e.createDecryptor(n,r).finalize(t.ciphertext);return s},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=n.kdf={},k=v.OpenSSL={execute:function(e,t,n,r,s){if(r||(r=i.random(8)),s)o=u.create({keySize:t+n,hasher:s}).compute(e,r);else var o=u.create({keySize:t+n}).compute(e,r);var a=i.create(o.words.slice(t),4*n);return o.sigBytes=4*t,y.create({key:o,iv:a,salt:r})}},x=r.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:k}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var s=r.kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=s.iv;var i=b.encrypt.call(this,e,t,s.key,r);return i.mixIn(s),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var s=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);r.iv=s.iv;var i=b.decrypt.call(this,e,t,s.key,r);return i}})}()}))},763:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(m){}var s=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},a=o.lib={},c=a.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=a.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,s=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<s;i++){var o=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=o<<24-(r+i)%4*8}else for(var a=0;a<s;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=s,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(s());return new l.init(t,e)}}),u=o.enc={},h=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s<n;s++){var i=t[s>>>2]>>>24-s%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},d=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s<n;s++){var i=t[s>>>2]>>>24-s%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},f=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,s=r.words,i=r.sigBytes,o=this.blockSize,a=4*o,c=i/a;c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0);var u=c*o,h=e.min(4*u,i);if(u){for(var d=0;d<u;d+=o)this._doProcessBlock(s,d);n=s.splice(0,u),r.sigBytes-=h}return new l.init(n,h)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=p.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),o.algo={});return o}(Math);return e}))},360:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,s=t.enc;s.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var s=[],i=0;i<n;i+=3)for(var o=t[i>>>2]>>>24-i%4*8&255,a=t[i+1>>>2]>>>24-(i+1)%4*8&255,c=t[i+2>>>2]>>>24-(i+2)%4*8&255,l=o<<16|a<<8|c,u=0;u<4&&i+.75*u<n;u++)s.push(r.charAt(l>>>6*(3-u)&63));var h=r.charAt(64);if(h)while(s.length%4)s.push(h);return s.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<n.length;s++)r[n.charCodeAt(s)]=s}var o=n.charAt(64);if(o){var a=e.indexOf(o);-1!==a&&(t=a)}return i(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function i(e,t,n){for(var s=[],i=0,o=0;o<t;o++)if(o%4){var a=n[e.charCodeAt(o-1)]<<o%4*2,c=n[e.charCodeAt(o)]>>>6-o%4*2,l=a|c;s[i>>>2]|=l<<24-i%4*8,i++}return r.create(s,i)}}(),e.enc.Base64}))},811:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,s=t.enc;s.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,s=t?this._safe_map:this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var a=n[o>>>2]>>>24-o%4*8&255,c=n[o+1>>>2]>>>24-(o+1)%4*8&255,l=n[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|c<<8|l,h=0;h<4&&o+.75*h<r;h++)i.push(s.charAt(u>>>6*(3-h)&63));var d=s.charAt(64);if(d)while(i.length%4)i.push(d);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,r=t?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var o=0;o<r.length;o++)s[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(n=c)}return i(e,n,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function i(e,t,n){for(var s=[],i=0,o=0;o<t;o++)if(o%4){var a=n[e.charCodeAt(o-1)]<<o%4*2,c=n[e.charCodeAt(o)]>>>6-o%4*2,l=a|c;s[i>>>2]|=l<<24-i%4*8,i++}return r.create(s,i)}}(),e.enc.Base64url}))},573:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,s=t.enc;s.Utf16=s.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s<n;s+=2){var i=t[s>>>2]>>>16-s%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],s=0;s<t;s++)n[s>>>1]|=e.charCodeAt(s)<<16-s%2*16;return r.create(n,2*t)}};function i(e){return e<<8&4278255360|e>>>8&16711935}s.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s<n;s+=2){var o=i(t[s>>>2]>>>16-s%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],s=0;s<t;s++)n[s>>>1]|=i(e.charCodeAt(s)<<16-s%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16}))},568:function(e,t,n){(function(t,r){e.exports=r(n(763),n(5),n(767))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,s=n.WordArray,i=t.algo,o=i.MD5,a=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:o,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n,r=this.cfg,i=r.hasher.create(),o=s.create(),a=o.words,c=r.keySize,l=r.iterations;while(a.length<c){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var u=1;u<l;u++)n=i.finalize(n),i.reset();o.concat(n)}return o.sigBytes=4*c,o}});t.EvpKDF=function(e,t,n){return a.create(n).compute(e,t)}}(),e.EvpKDF}))},775:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.CipherParams,s=t.enc,i=s.Hex,o=t.format;o.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return r.create({ciphertext:t})}}}(),e.format.Hex}))},767:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){(function(){var t=e,n=t.lib,r=n.Base,s=t.enc,i=s.Utf8,o=t.algo;o.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),o=this._iKey=t.clone(),a=s.words,c=o.words,l=0;l<n;l++)a[l]^=1549556828,c[l]^=909522486;s.sigBytes=o.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var r=t.finalize(this._oKey.clone().concat(n));return r}})})()}))},190:function(e,t,n){(function(t,r){e.exports=r(n(763),n(482),n(14),n(573),n(360),n(811),n(490),n(5),n(535),n(314),n(310),n(511),n(515),n(478),n(767),n(973),n(568),n(796),n(395),n(545),n(730),n(903),n(604),n(771),n(163),n(708),n(253),n(770),n(775),n(565),n(634),n(199),n(728),n(802),n(966))})(0,(function(e){return e}))},14:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,s=r.init,i=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;s.call(this,n,t)}else s.apply(this,arguments)};i.prototype=r}}(),e.lib.WordArray}))},490:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(t){var n=e,r=n.lib,s=r.WordArray,i=r.Hasher,o=n.algo,a=[];(function(){for(var e=0;e<64;e++)a[e]=4294967296*t.abs(t.sin(e+1))|0})();var c=o.MD5=i.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,s=e[r];e[r]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}var i=this._hash.words,o=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],w=e[t+7],A=e[t+8],b=e[t+9],v=e[t+10],k=e[t+11],x=e[t+12],S=e[t+13],E=e[t+14],_=e[t+15],R=i[0],C=i[1],B=i[2],I=i[3];R=l(R,C,B,I,o,7,a[0]),I=l(I,R,C,B,c,12,a[1]),B=l(B,I,R,C,f,17,a[2]),C=l(C,B,I,R,p,22,a[3]),R=l(R,C,B,I,g,7,a[4]),I=l(I,R,C,B,m,12,a[5]),B=l(B,I,R,C,y,17,a[6]),C=l(C,B,I,R,w,22,a[7]),R=l(R,C,B,I,A,7,a[8]),I=l(I,R,C,B,b,12,a[9]),B=l(B,I,R,C,v,17,a[10]),C=l(C,B,I,R,k,22,a[11]),R=l(R,C,B,I,x,7,a[12]),I=l(I,R,C,B,S,12,a[13]),B=l(B,I,R,C,E,17,a[14]),C=l(C,B,I,R,_,22,a[15]),R=u(R,C,B,I,c,5,a[16]),I=u(I,R,C,B,y,9,a[17]),B=u(B,I,R,C,k,14,a[18]),C=u(C,B,I,R,o,20,a[19]),R=u(R,C,B,I,m,5,a[20]),I=u(I,R,C,B,v,9,a[21]),B=u(B,I,R,C,_,14,a[22]),C=u(C,B,I,R,g,20,a[23]),R=u(R,C,B,I,b,5,a[24]),I=u(I,R,C,B,E,9,a[25]),B=u(B,I,R,C,p,14,a[26]),C=u(C,B,I,R,A,20,a[27]),R=u(R,C,B,I,S,5,a[28]),I=u(I,R,C,B,f,9,a[29]),B=u(B,I,R,C,w,14,a[30]),C=u(C,B,I,R,x,20,a[31]),R=h(R,C,B,I,m,4,a[32]),I=h(I,R,C,B,A,11,a[33]),B=h(B,I,R,C,k,16,a[34]),C=h(C,B,I,R,E,23,a[35]),R=h(R,C,B,I,c,4,a[36]),I=h(I,R,C,B,g,11,a[37]),B=h(B,I,R,C,w,16,a[38]),C=h(C,B,I,R,v,23,a[39]),R=h(R,C,B,I,S,4,a[40]),I=h(I,R,C,B,o,11,a[41]),B=h(B,I,R,C,p,16,a[42]),C=h(C,B,I,R,y,23,a[43]),R=h(R,C,B,I,b,4,a[44]),I=h(I,R,C,B,x,11,a[45]),B=h(B,I,R,C,_,16,a[46]),C=h(C,B,I,R,f,23,a[47]),R=d(R,C,B,I,o,6,a[48]),I=d(I,R,C,B,w,10,a[49]),B=d(B,I,R,C,E,15,a[50]),C=d(C,B,I,R,m,21,a[51]),R=d(R,C,B,I,x,6,a[52]),I=d(I,R,C,B,p,10,a[53]),B=d(B,I,R,C,v,15,a[54]),C=d(C,B,I,R,c,21,a[55]),R=d(R,C,B,I,A,6,a[56]),I=d(I,R,C,B,_,10,a[57]),B=d(B,I,R,C,y,15,a[58]),C=d(C,B,I,R,S,21,a[59]),R=d(R,C,B,I,g,6,a[60]),I=d(I,R,C,B,k,10,a[61]),B=d(B,I,R,C,f,15,a[62]),C=d(C,B,I,R,b,21,a[63]),i[0]=i[0]+R|0,i[1]=i[1]+C|0,i[2]=i[2]+B|0,i[3]=i[3]+I|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,s=8*e.sigBytes;n[s>>>5]|=128<<24-s%32;var i=t.floor(r/4294967296),o=r;n[15+(s+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(s+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,s,i,o){var a=e+(t&n|~t&r)+s+o;return(a<<i|a>>>32-i)+t}function u(e,t,n,r,s,i,o){var a=e+(t&r|n&~r)+s+o;return(a<<i|a>>>32-i)+t}function h(e,t,n,r,s,i,o){var a=e+(t^n^r)+s+o;return(a<<i|a>>>32-i)+t}function d(e,t,n,r,s,i,o){var a=e+(n^(t|~r))+s+o;return(a<<i|a>>>32-i)+t}n.MD5=i._createHelper(c),n.HmacMD5=i._createHmacHelper(c)}(Math),e.MD5}))},395:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var s,i=this._iv;i?(s=i.slice(0),this._iv=void 0):s=this._prevBlock,r.encryptBlock(s,0);for(var o=0;o<n;o++)e[t+o]^=s[o]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,s=r.blockSize;n.call(this,e,t,s,r),this._prevBlock=e.slice(t,t+s)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,s=r.blockSize,i=e.slice(t,t+s);n.call(this,e,t,s,r),this._prevBlock=i}}),t}(),e.mode.CFB}))},730:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){
2
+ /** @preserve
3
+ * Counter block mode compatible with Dr Brian Gladman fileenc.c
4
+ * derived from CryptoJS.mode.CTR
5
+ * Jan Hruby jhruby.web@gmail.com
6
+ */
7
+ return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var s=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,s=n.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0),r(o);var a=o.slice(0);n.encryptBlock(a,0);for(var c=0;c<s;c++)e[t+c]^=a[c]}});return t.Decryptor=s,t}(),e.mode.CTRGladman}))},545:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,s=this._iv,i=this._counter;s&&(i=this._counter=s.slice(0),this._iv=void 0);var o=i.slice(0);n.encryptBlock(o,0),i[r-1]=i[r-1]+1|0;for(var a=0;a<r;a++)e[t+a]^=o[a]}});return t.Decryptor=n,t}(),e.mode.CTR}))},604:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},903:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,s=this._iv,i=this._keystream;s&&(i=this._keystream=s.slice(0),this._iv=void 0),n.encryptBlock(i,0);for(var o=0;o<r;o++)e[t+o]^=i[o]}});return t.Decryptor=n,t}(),e.mode.OFB}))},771:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,s=r-n%r,i=n+s-1;e.clamp(),e.words[i>>>2]|=s<<24-i%4*8,e.sigBytes+=s},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}))},163:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.pad.Iso10126={pad:function(t,n){var r=4*n,s=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(s-1)).concat(e.lib.WordArray.create([s<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}))},708:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}))},770:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},253:function(e,t,n){(function(t,r){e.exports=r(n(763),n(796))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},973:function(e,t,n){(function(t,r){e.exports=r(n(763),n(535),n(767))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,s=n.WordArray,i=t.algo,o=i.SHA256,a=i.HMAC,c=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:o,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,r=a.create(n.hasher,e),i=s.create(),o=s.create([1]),c=i.words,l=o.words,u=n.keySize,h=n.iterations;while(c.length<u){var d=r.update(t).finalize(o);r.reset();for(var f=d.words,p=f.length,g=d,m=1;m<h;m++){g=r.finalize(g),r.reset();for(var y=g.words,w=0;w<p;w++)f[w]^=y[w]}i.concat(d),l[0]++}return i.sigBytes=4*u,i}});t.PBKDF2=function(e,t,n){return c.create(n).compute(e,t)}}(),e.PBKDF2}))},802:function(e,t,n){(function(t,r){e.exports=r(n(763),n(360),n(490),n(568),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,s=t.algo,i=[],o=[],a=[],c=s.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var s=0;s<4;s++)l.call(this);for(s=0;s<8;s++)r[s]^=n[s+4&7];if(t){var i=t.words,o=i[0],a=i[1],c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=c>>>16|4294901760&u,d=u<<16|65535&c;r[0]^=c,r[1]^=h,r[2]^=u,r[3]^=d,r[4]^=c,r[5]^=h,r[6]^=u,r[7]^=d;for(s=0;s<4;s++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],s=65535&r,i=r>>>16,c=((s*s>>>17)+s*i>>>15)+i*i,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=r._createHelper(c)}(),e.RabbitLegacy}))},728:function(e,t,n){(function(t,r){e.exports=r(n(763),n(360),n(490),n(568),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,s=t.algo,i=[],o=[],a=[],c=s.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],s=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)s[n]^=r[n+4&7];if(t){var i=t.words,o=i[0],a=i[1],c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=c>>>16|4294901760&u,d=u<<16|65535&c;s[0]^=c,s[1]^=h,s[2]^=u,s[3]^=d,s[4]^=c,s[5]^=h,s[6]^=u,s[7]^=d;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],s=65535&r,i=r>>>16,c=((s*s>>>17)+s*i>>>15)+i*i,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=r._createHelper(c)}(),e.Rabbit}))},199:function(e,t,n){(function(t,r){e.exports=r(n(763),n(360),n(490),n(568),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,s=t.algo,i=s.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],s=0;s<256;s++)r[s]=s;s=0;for(var i=0;s<256;s++){var o=s%n,a=t[o>>>2]>>>24-o%4*8&255;i=(i+r[s]+a)%256;var c=r[s];r[s]=r[i],r[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,r=0,s=0;s<4;s++){t=(t+1)%256,n=(n+e[t])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*s}return this._i=t,this._j=n,r}t.RC4=r._createHelper(i);var a=s.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});t.RC4Drop=r._createHelper(a)}(),e.RC4}))},478:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){
8
+ /** @preserve
9
+ (c) 2012 by Cédric Mesnil. All rights reserved.
10
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
11
+ - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
12
+ - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14
+ */
15
+ return function(){var t=e,n=t.lib,r=n.WordArray,s=n.Hasher,i=t.algo,o=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),d=i.RIPEMD160=s.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,s=e[r];e[r]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}var i,d,A,b,v,k,x,S,E,_,R,C=this._hash.words,B=u.words,I=h.words,O=o.words,D=a.words,T=c.words,U=l.words;k=i=C[0],x=d=C[1],S=A=C[2],E=b=C[3],_=v=C[4];for(n=0;n<80;n+=1)R=i+e[t+O[n]]|0,R+=n<16?f(d,A,b)+B[0]:n<32?p(d,A,b)+B[1]:n<48?g(d,A,b)+B[2]:n<64?m(d,A,b)+B[3]:y(d,A,b)+B[4],R|=0,R=w(R,T[n]),R=R+v|0,i=v,v=b,b=w(A,10),A=d,d=R,R=k+e[t+D[n]]|0,R+=n<16?y(x,S,E)+I[0]:n<32?m(x,S,E)+I[1]:n<48?g(x,S,E)+I[2]:n<64?p(x,S,E)+I[3]:f(x,S,E)+I[4],R|=0,R=w(R,U[n]),R=R+_|0,k=_,_=E,E=w(S,10),S=x,x=R;R=C[1]+A+E|0,C[1]=C[2]+b+_|0,C[2]=C[3]+v+k|0,C[3]=C[4]+i+x|0,C[4]=C[0]+d+S|0,C[0]=R},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var s=this._hash,i=s.words,o=0;o<5;o++){var a=i[o];i[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return s},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function w(e,t){return e<<t|e>>>32-t}t.RIPEMD160=s._createHelper(d),t.HmacRIPEMD160=s._createHmacHelper(d)}(Math),e.RIPEMD160}))},5:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,s=n.Hasher,i=t.algo,o=[],a=i.SHA1=s.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],s=n[1],i=n[2],a=n[3],c=n[4],l=0;l<80;l++){if(l<16)o[l]=0|e[t+l];else{var u=o[l-3]^o[l-8]^o[l-14]^o[l-16];o[l]=u<<1|u>>>31}var h=(r<<5|r>>>27)+c+o[l];h+=l<20?1518500249+(s&i|~s&a):l<40?1859775393+(s^i^a):l<60?(s&i|s&a|i&a)-1894007588:(s^i^a)-899497514,c=a,a=i,i=s<<30|s>>>2,s=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+s|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=s._createHelper(a),t.HmacSHA1=s._createHmacHelper(a)}(),e.SHA1}))},314:function(e,t,n){(function(t,r){e.exports=r(n(763),n(535))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,s=t.algo,i=s.SHA256,o=s.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(o),t.HmacSHA224=i._createHmacHelper(o)}(),e.SHA224}))},535:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(t){var n=e,r=n.lib,s=r.WordArray,i=r.Hasher,o=n.algo,a=[],c=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,s=0;while(s<64)e(r)&&(s<8&&(a[s]=n(t.pow(r,.5))),c[s]=n(t.pow(r,1/3)),s++),r++})();var l=[],u=o.SHA256=i.extend({_doReset:function(){this._hash=new s.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],s=n[1],i=n[2],o=n[3],a=n[4],u=n[5],h=n[6],d=n[7],f=0;f<64;f++){if(f<16)l[f]=0|e[t+f];else{var p=l[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=l[f-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[f]=g+l[f-7]+y+l[f-16]}var w=a&u^~a&h,A=r&s^r&i^s&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),v=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),k=d+v+w+c[f]+l[f],x=b+A;d=h,h=u,u=a,a=o+k|0,o=i,i=s,s=r,r=k+x|0}n[0]=n[0]+r|0,n[1]=n[1]+s|0,n[2]=n[2]+i|0,n[3]=n[3]+o|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,s=8*e.sigBytes;return n[s>>>5]|=128<<24-s%32,n[14+(s+64>>>9<<4)]=t.floor(r/4294967296),n[15+(s+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256}))},515:function(e,t,n){(function(t,r){e.exports=r(n(763),n(482))})(0,(function(e){return function(t){var n=e,r=n.lib,s=r.WordArray,i=r.Hasher,o=n.x64,a=o.Word,c=n.algo,l=[],u=[],h=[];(function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=t%5,s=(2*e+3*t)%5;e=r,t=s}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var c=0,d=0,f=0;f<7;f++){if(1&i){var p=(1<<f)-1;p<32?d^=1<<p:c^=1<<p-32}128&i?i=i<<1^113:i<<=1}h[o]=a.create(c,d)}})();var d=[];(function(){for(var e=0;e<25;e++)d[e]=a.create()})();var f=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,s=0;s<r;s++){var i=e[t+2*s],o=e[t+2*s+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8);var a=n[s];a.high^=o,a.low^=i}for(var c=0;c<24;c++){for(var f=0;f<5;f++){for(var p=0,g=0,m=0;m<5;m++){a=n[f+5*m];p^=a.high,g^=a.low}var y=d[f];y.high=p,y.low=g}for(f=0;f<5;f++){var w=d[(f+4)%5],A=d[(f+1)%5],b=A.high,v=A.low;for(p=w.high^(b<<1|v>>>31),g=w.low^(v<<1|b>>>31),m=0;m<5;m++){a=n[f+5*m];a.high^=p,a.low^=g}}for(var k=1;k<25;k++){a=n[k];var x=a.high,S=a.low,E=l[k];E<32?(p=x<<E|S>>>32-E,g=S<<E|x>>>32-E):(p=S<<E-32|x>>>64-E,g=x<<E-32|S>>>64-E);var _=d[u[k]];_.high=p,_.low=g}var R=d[0],C=n[0];R.high=C.high,R.low=C.low;for(f=0;f<5;f++)for(m=0;m<5;m++){k=f+5*m,a=n[k];var B=d[k],I=d[(f+1)%5+5*m],O=d[(f+2)%5+5*m];a.high=B.high^~I.high&O.high,a.low=B.low^~I.low&O.low}a=n[0];var D=h[c];a.high^=D.high,a.low^=D.low}},_doFinalize:function(){var e=this._data,n=e.words,r=(this._nDataBytes,8*e.sigBytes),i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],u=0;u<c;u++){var h=o[u],d=h.high,f=h.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),l.push(f),l.push(d)}return new s.init(l,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(f),n.HmacSHA3=i._createHmacHelper(f)}(Math),e.SHA3}))},511:function(e,t,n){(function(t,r){e.exports=r(n(763),n(482),n(310))})(0,(function(e){return function(){var t=e,n=t.x64,r=n.Word,s=n.WordArray,i=t.algo,o=i.SHA512,a=i.SHA384=o.extend({_doReset:function(){this._hash=new s.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=o._createHelper(a),t.HmacSHA384=o._createHmacHelper(a)}(),e.SHA384}))},310:function(e,t,n){(function(t,r){e.exports=r(n(763),n(482))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Hasher,s=t.x64,i=s.Word,o=s.WordArray,a=t.algo;function c(){return i.create.apply(i,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var e=0;e<80;e++)u[e]=c()})();var h=a.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],s=n[1],i=n[2],o=n[3],a=n[4],c=n[5],h=n[6],d=n[7],f=r.high,p=r.low,g=s.high,m=s.low,y=i.high,w=i.low,A=o.high,b=o.low,v=a.high,k=a.low,x=c.high,S=c.low,E=h.high,_=h.low,R=d.high,C=d.low,B=f,I=p,O=g,D=m,T=y,U=w,M=A,z=b,j=v,N=k,P=x,L=S,F=E,H=_,J=R,Q=C,W=0;W<80;W++){var G,q,Z=u[W];if(W<16)q=Z.high=0|e[t+2*W],G=Z.low=0|e[t+2*W+1];else{var V=u[W-15],K=V.high,Y=V.low,$=(K>>>1|Y<<31)^(K>>>8|Y<<24)^K>>>7,X=(Y>>>1|K<<31)^(Y>>>8|K<<24)^(Y>>>7|K<<25),ee=u[W-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,se=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=u[W-7],oe=ie.high,ae=ie.low,ce=u[W-16],le=ce.high,ue=ce.low;G=X+ae,q=$+oe+(G>>>0<X>>>0?1:0),G+=se,q=q+re+(G>>>0<se>>>0?1:0),G+=ue,q=q+le+(G>>>0<ue>>>0?1:0),Z.high=q,Z.low=G}var he=j&P^~j&F,de=N&L^~N&H,fe=B&O^B&T^O&T,pe=I&D^I&U^D&U,ge=(B>>>28|I<<4)^(B<<30|I>>>2)^(B<<25|I>>>7),me=(I>>>28|B<<4)^(I<<30|B>>>2)^(I<<25|B>>>7),ye=(j>>>14|N<<18)^(j>>>18|N<<14)^(j<<23|N>>>9),we=(N>>>14|j<<18)^(N>>>18|j<<14)^(N<<23|j>>>9),Ae=l[W],be=Ae.high,ve=Ae.low,ke=Q+we,xe=J+ye+(ke>>>0<Q>>>0?1:0),Se=(ke=ke+de,xe=xe+he+(ke>>>0<de>>>0?1:0),ke=ke+ve,xe=xe+be+(ke>>>0<ve>>>0?1:0),ke=ke+G,xe=xe+q+(ke>>>0<G>>>0?1:0),me+pe),Ee=ge+fe+(Se>>>0<me>>>0?1:0);J=F,Q=H,F=P,H=L,P=j,L=N,N=z+ke|0,j=M+xe+(N>>>0<z>>>0?1:0)|0,M=T,z=U,T=O,U=D,O=B,D=I,I=ke+Se|0,B=xe+Ee+(I>>>0<ke>>>0?1:0)|0}p=r.low=p+I,r.high=f+B+(p>>>0<I>>>0?1:0),m=s.low=m+D,s.high=g+O+(m>>>0<D>>>0?1:0),w=i.low=w+U,i.high=y+T+(w>>>0<U>>>0?1:0),b=o.low=b+z,o.high=A+M+(b>>>0<z>>>0?1:0),k=a.low=k+N,a.high=v+j+(k>>>0<N>>>0?1:0),S=c.low=S+L,c.high=x+P+(S>>>0<L>>>0?1:0),_=h.low=_+H,h.high=E+F+(_>>>0<H>>>0?1:0),C=d.low=C+Q,d.high=R+J+(C>>>0<Q>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var s=this._hash.toX32();return s},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512}))},634:function(e,t,n){(function(t,r){e.exports=r(n(763),n(360),n(490),n(568),n(796))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,s=n.BlockCipher,i=t.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=i.DES=s.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],r=0;r<56;r++){var s=o[r]-1;n[r]=t[s>>>5]>>>31-s%32&1}for(var i=this._subKeys=[],l=0;l<16;l++){var u=i[l]=[],h=c[l];for(r=0;r<24;r++)u[r/6|0]|=n[(a[r]-1+h)%28]<<31-r%6,u[4+(r/6|0)]|=n[28+(a[r+24]-1+h)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var s=n[r],i=this._lBlock,o=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((o^s[c])&u[c])>>>0];this._lBlock=o,this._rBlock=i^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,d.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function f(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=s._createHelper(h);var p=i.TripleDES=s.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=t.slice(0,2),s=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=h.createEncryptor(r.create(n)),this._des2=h.createEncryptor(r.create(s)),this._des3=h.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=s._createHelper(p)}(),e.TripleDES}))},482:function(e,t,n){(function(t,r){e.exports=r(n(763))})(0,(function(e){return function(t){var n=e,r=n.lib,s=r.Base,i=r.WordArray,o=n.x64={};o.Word=s.extend({init:function(e,t){this.high=e,this.low=t}}),o.WordArray=s.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var s=e[r];n.push(s.high),n.push(s.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=s.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),e}))},271:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUU1NjJFMDc1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUU1NjJFMDg1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5RTU2MkUwNTU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5RTU2MkUwNjU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnYHytYAAADTSURBVHjapFPRDcIgEC3EPWQFXcA6ifVfZ6jO4ADqJGUCV6BOgnfJI70iJTRc8gIc8Lh3dyjvfVNjmzDZX5u+4PyXYD+PZgwOjcstDTeCEWMKB8Iwo2QJu4tvCQ5zRzA8j8F+7LfBp9folaHPJKw0SzjVEIzIxz8BJdOJhOUqMScgbRzWGbDIdk6CQeWmPgAJR2Gg8Y51FxFshZSJIHqhF/3xhE/aMVREpVqZLg6IgA85OqyW9OiSUhX9hcje/DKBJbyyDKmWFW3bLe0HqNrv/BNgANkfieaZ8+wxAAAAAElFTkSuQmCC"},554:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOVJREFUOE+lk80VgyAQhMdKgjfKWCtJrMRYiekklMFN0kkcHpuHCkme7sUf5JvdGWxwshrdb6wMf7BeAFzwLui3EWCsCIDncvsAcEvXGk+Cd20JMHHBWJkBdLlK1qVJQn3wzvF93sFPQOqWAqcAE0HBu/5oBzSbPnQ7QJqVc9KDOOO2jBWaPKiReYxMgkUFRjVWABRQo90HkDlNhau2mBRz1mV5uANomVQJEKNKker52I4zrmIszMlDxRF44uZlnJ3Q6iAVAPSBnRByCKBGsQMaGjMvVbU1Y4UQ5s3/o1pVwLdN+dob2Bx9EVmMIDsAAAAASUVORK5CYII="},25:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAArBJREFUaEPtWetxwjAMtpmkTFCzAUxSmKAwATABdILSSUonwJ2g6SK4pyRu87Bi2ZbDcdf8gQPb+T69JUtx54+8c/zin8CtNciuAXU5PNSk4NN+L+A3PducuQmzEChBTyZPwphlAzSGFcichTFvHISSCKjPl60wZpcg1UJIedKPz/vYM6IIqMthLqR8JUibiqsQxuz1bHOibrDrggkofQTgYCr8j5S7UG2QCZR2Xkl9zo+8dSJoY6Fnm9LxfQ+dgD6+jwDe4iWTIBFQ44K3JM5arRfJGshq8z50Qpy0Wq+Glg1qoI42YDq3eyp/QBPgMIHbmE5XWIVW6ykmQZSAuhyWddTJK31jwM4hoX2hLzJmheUInIA+woG2lslDogGsDtMYCVQLTgKjSN8h1cFoh/iCm0DObAu6DAUPe5AsjRHIZz4OIMQ84zQjjIDJY/T9uE4EX8ExZtotMXoEPM6UwquXlILAVwR6OcFFICR8noWU0Jz4eoJ08BkIlLVKoxvDSLjAx5XkDueP1UDLoQZI9AqypNqKSAC6LX/904kmDhK84ANMCBoXPK033dhFomp6RLcUTpK8fWeWKOQg0Q11DM0/PYzCyuDwNtDLcpYlWq17PutOZDHjEleG5a1onc0NVszRHLmd1lozHk7J11nY2dhwl9MlCXG9fnP3Ei7zKWs8rDZIkCCMQ3j7iKiGZrw5kK++imspy2hUjRD9Sc0HIeX/lKa+JBETkVIAt/emjVVqLYw1UuzS5hlsNUiAKfE6J66pQbtvVTNUbdeNzjbbZPoPCEnydjlpNmoXE2p/qjywdV6b724MItAgAl0baIPLpGAaDcOr4Du0KAK/fkG/F8Mkfpsrpi6ahmnB5YfvAsSWGx8xEmcxoSFDv8tr1lTPTdkf7QMpL+Xc+0+AU5oxZ/0A2tCFQOR6UrIAAAAASUVORK5CYII="},114:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADaRJREFUeF7tnW2MXGUVx88zs7YBATERPlAltZ29d1pogbQ7Q8FEiEYtWiMhYIwhJmoQSEhUjG8JscQYExBREgNC5IMmxoDhzRfQaGiMtOzd3aBFmr13tk0RaCK+oW2I1J17zAiYtu7snHPnPLP3mfvfr3Oec8/5nfPvv89tOusIPyAAAn0JOLABARDoTwACwXaAwDIEIBCsBwhAINgBEChGAA5SjBtOVYQABFKRQaPNYgQgkGLccKoiBCCQigwabRYjAIEU44ZTFSEAgVRk0GizGAEIpBg3nKoIAQikIoNGm8UIQCDFuOFURQhAIBUZNNosRgACKcYNpypCAAIZMOhGo33axARvy3PaNk474Rw90+26PQsL08+PU1/WvUAgyxCN49a1xO4mIj7LGnxZ8jHx3Vk286my1FO2OiCQPhOJoql3OXK/KtvAfNTDRDdnWbLTR+7Qc0IgS0xw7drzT1+9atU0EUWhD1haP1N+WZbNPiqNr0ocBLLEpKOo9SFH9GBVluC/fTJ/K+3MfKZSPQuahUCWFMjU9Y7cdwT8xieE6f60k1w1Pg3ZdAKBLMGx0WhvrNf4GRvEgWRx9Mk0Tb4XSLUjKxMC6YM6jluPENOOkU1iRR/kDtUnDsf79u07sqJllPDhEMgyQ4mi1h8c0TklnJtpSa7GF8/Pz+w2TTomySCQAYOMotbOGtH7mKg9JjN/9U5OtEBEjy4udm86cGDuH+PUm2UvEIglTeQaOwIQyNiNFA1ZEoBALGki19gRgEDGbqRoyJIABGJJE7nGjgAEMnYjRUOWBCAQS5rINXYEIJCxGykasiQAgVjSRK6xIzASgURR+zKifA2RWzN2BNHQChDgF5nds51O8jPfD/cukHiyNUuOtvhuBPkrSeAhcvkX03Q29dW9V4HEk637yNGVvopHXhAgck+Qm9iepk8c9kHDm0Di+MIPEucP+ygaOUHgOAJMt6Sd5As+qHgUSPvTxHy7j6KREwROIPBQmiWX+6DiTSDNydYN7OgOH0UjJwgcS4DJPZBl01f4oOJNIFHUutwRPeCjaOQEgWMJOKJvzmfJjT6oeBPIxo0bT+kunpqO85eu+RgIcqoJ/I0p355ls4n6pOCAN4H0nt1sTl3EuXtCUAdCQKAIgYNM9NksS7x9RZNXgfQ6Xrduy5veMFH/EjGtI+IzilDAGRA4joBzLxFT5uq1O+fnnzzok453gfgsHrlBwDcBCMQ3YeQPmgAEEvT4ULxvAhCIb8LIHzQBCCTo8aF43wQgEN+EkT9oAhBI0OND8b4JQCC+CSN/0AQgkKDHh+J9E4BAfBNG/qAJQCBBjw/F+yYAgfgmjPxBE4BAgh4fivdNAALxTRj5gyYQlECiqH21I76GiONXqbuUyd2dZdM/CHoKY1p8o7Flfb1ev52YNhFR77867GOin2dZsjOUloMRSBy3riSm+5YE6+iqNE3uDwV6FercuG7L2d2J+rNL9hrQr5wOQiDN5rZNnHf3LrdYrlbfPD+/5+kqLF8IPTaj1k+Z6P39anVMH53vJD8sey9BCKT3izQd0VeWg8lEN4dk3WVfjGHqaza2XsK12uPL53CPptn0ZcM8ZxRngxBIPDn1ODl3ybJAmHelnZlLRwFtqWc0m+0t1OWLqE7Z4qLbs7Aw/c9R19JstLblNXpvLc93cX31nK9vGxzUl+QPtF6ONEtKv3+lL7AHsswCieP2Zsr53uO/f9gdIsdfTdPkrkHLZPF5GWo4tg8IxGKqihxlFcj69RedOVFf/FO/Vpj43Vk282tFq+rQMtRwYtEQiHqMwx0oq0DiuP1jYl7uG/2yV46efN7Bg7v+NRyB/qfLUAME4mu6wrxlFUgUtf7oiN62/MuD7oYsm5sXtqoKW7v2/NNXr1r190GHmPzVsNSz4SCDJmL8eVkFEkctHtSqy/NL5xdmdw2KK/K57G0Rkc8aIJAikzM+A4EsDRQCMV60JdLhLdYQjOEgS8PDX7GGWKoiR+EgcJAie2NxBg4yBEU4CBxkiPWxOwoHgYPYbZMuExxEx+u4aDgIHGSI9bE7CgeBg9htky4THETHCw4i4IW3WAJIliFwEDiI5T5pcsFBNLROiMUdBHeQIdbH7igcBA5it026THAQHS/cQQS8cAcRQLIMgYPAQSz3SZMLDqKhhTuIiBYcRITJLggOAgex2yZdJjiIjhfuIAJecBABJMsQOAgcxHKfNLngIBpauIOIaMFBRJjsguAgcBC7bdJlgoPoeOEOIuAFBxFAsgyBg8BBLPdJkwsOoqGFO4iIFhxEhMkuCA4CB7HbJl0mOIiOF+4gAl5wEAEkyxA4CBzEcp80ueAgGlq4g4howUFEmOyC4CBwELtt0mWCg+h44Q4i4AUHEUCyDIGDwEEs90mTCw6ioYU7iIgWHESEyS4IDgIHsdsmXSY4iI4X7iACXnAQASTLEDgIHMRynzS54CAaWriDiGjBQUSY7ILgIHAQu23SZYKD6HjhDiLgBQcRQLIMgYPAQSz3SZMLDqKhhTuIiBYcRITJLggOAgex2yZdJjiIjhfuIAJecBABJMsQOAgcxHKfNLngIBpauIOIaMFBRJjsguAgcBC7bdJlgoPoeOEOIuAFBxFAsgyBg8BBLPdJkwsOoqGFO4iIFhxEhMkuCA4CB7HbJl0mOIiOF+4gAl5wEAEkyxA4CBzEcp80ueAgGlq4g4howUFEmOyC4CBwELtt0mWCg+h44Q4i4AUHEUCyDIGDwEEs90mTCw6ioYU7iIgWHESEyS4IDgIHsdsmXSY4iI4X7iACXnAQASTLEDgIHMRynzS54CAaWriDiGjBQUSY7ILgIHAQu23SZYKD6HjhDiLgBQcRQLIMgYPAQSz3SZMLDqKhhTuIiBYcRITJLggOAgex2yZdJjiIjhfuIAJecBABJMsQOAgcxHKfNLngIBpauIOIaMFBRJjsguAgcBC7bdJlgoPoeOEOIuAFBxFAsgyBg8BBLPdJkwsOoqGFO4iIFhxEhMkuCA4CB7HbJl0mOIiOF+4gAl5wEAEkyxA4CBzEcp80ueAgGlq4g4howUFEmOyC4CBwELtt0mWCg+h44Q4i4AUHEUCyDIGDwEEs90mTCw6ioYU7iIgWHESEyS4IDgIHsdsmXSY4iI7XiXeQl4nopOVS5Fy7sNN5cnqIx/Q9GsftzcT8+0G5fdaw1LPhIIMmYvx5iR2kt5ybl2uXqf7WLNvzgjGS/6WLo9bzRLRmJWs48dkQiK9p98lbVoFE0dR3Hblr+uJgmks7yVafuMpQAwTic8KC3GUVSK/0OGpx3xacOy9Np/cKWhwqpAw1HNsAHGSoceoPl1kgvW6aUfvrOfEOR7SOif7inEsWF+vX79+/+0V9t8VO9Gpg4st7miWiA+TcU6Ou4fXKIZBiMyx8quwCKdzYmB6EQEY8WAhkxMCHfBwEMiRA7XEIREtsZeMhkBHzh0BGDHzIx0EgQwLUHodAtMRWNh4CGTF/CGTEwId8HAQyJEDtcQhES2xl4yGQEfOHQEYMfMjHQSBDAtQeh0C0xFY2HgIZMX8IZMTAh3wcBDIkQO1xkUCIDqdZcpo2N+LtCcRx6xFi2jEoc5olpf/vFqUvsAdZKBDKmS/odGZ+N2gw+NwvgThqv0DEZw16CgQyiJDwc6lAmPiaLJu5R5gWYR4IbNiw9dy8W3takhoCkVASxEgFQkS70yy5WJASIZ4IxJOtO8nRtZL0EIiEkiAmjlu/IKb3CEKJmO5KO8l1olgEmRKIoqkPO3I/EiY9mmbJamHsioWFcQeJWt8noqullJh4fZbNHJDGI86GQBy1DxPxKcJsz6VZcrYwdsXCwhBIPHUrsfuchlLO/M5OZ+Y3mjOILUYgjltvZ6ZfOqKGIsNsmiVTivgVCQ1CIM3J1gfY0U/UhJi/vZjTbfv3zzynPosDIgLNaOpGJvcNUfAxQUzutiybVv2hp32GRXwQAuk1Kn11+P9Q3BEi3ktMe9m53bW8C7EMsTlcd2uYXdsRnUNE5xLRmUXSjfqriIrU2DsTjECiqHWHI7qhaKM4Vx4Cjmh6PksuLE9F/SsJRiCvvV9/kojeGAJY1NifABN9LMuS3ouX0v8EI5AeyShqfc0Rfbn0VFHgcgQeS7NkeyiIghJIo7F9db32156LnB8KYNR5PAGX55fOL8zuCoVLUALpQd2woT2ZdzkLBTDqPIaA4+vTdObOkJgEJ5Ae3EZj6wX1eu23xHRySLArXatzn0jT6XtDYxCkQHqQN539jjcfPemVe4jdFaFBr1K9TPQUc+06X99w75tlsAJ5HUwctz9OzJ9/7Ss3ffNCfikBRy8z061HjnRvOXRorvdrIoL8CV4gr77d2vKWGtc/ws5tJ+Jg3pAEuTEDiu79G0dO9Fie5w8vLMw+FXqPYyGQE4fQaFxwBtGqMyaoW+hfeUMf6qjr7zr3knMTfz711KMvzs3N/XvUz/f5vLEUiE9gyF0tAhBIteaNbpUEIBAlMIRXiwAEUq15o1slAQhECQzh1SIAgVRr3uhWSQACUQJDeLUIQCDVmje6VRKAQJTAEF4tAhBIteaNbpUEIBAlMIRXiwAEUq15o1slAQhECQzh1SIAgVRr3uhWSQACUQJDeLUIQCDVmje6VRKAQJTAEF4tAhBIteaNbpUE/gPa701uB8rN2gAAAABJRU5ErkJggg=="},689:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAuVJREFUaEPtWYtNwzAQvbAA7QawQUaADbIBMElhEsoG2YCyQTagGxQWIHDBRk7is9/ZbqNKWEJUYLvv3efd2a7ozEd15vjpn8DSHizugUPdXBlS/Nt+3vPf1l27K024CAED+q4iundAS1j3FdHui+ilBKEsAoe62fxs8Jhh1X1PtF137VPqHkkEDnVzUxE9A9ZGcTGRp3XXbtEFdp6awGfdPPe/oVJ89ESPWm/ABDjOjdVviiMfb8jeuF137ZD4sQET+KibVyI6NniLFyYBETgxeEtit+ra22wPHDPmAXDby659CM0LesCoDYfOYsPkg1gAgwQWCp2psfarrr2WLCgSONTNvVEdxPpWMWzrEFujmt8TPUg1QiTwUTfvYKEaLGRklsMtRoIVhuOaWwpkPhtD9IKXgML6o40BEgN42wMB8/88KeWCl4BCeWZ6HQA1As/IzFz2dHRIVdpLQBE+g3unldNDIgu8YecNI4nAD2HVCJEgN2y0lndR9ETX0xZjRkDj1glFLwlOarfvz9ifDcE90qgm+Aho5HOm2aFGLAc8f9EpCHhzIidsJiE0qwelPWAJ/EmlBaCRTCn7fAXNR4BPW6n9z0xtXDC5JNAQ4oMLpM2eJB5Z3t5QuMqRQ+KYKhTSeaROQJoNEeCdlF0oUqSKkFh17SzkpV4IvS5BwFvrZpGoiLyHG4kAmsgjUIDO++bz9Uz0rK1q5kwYwe00b85rwOQfSJj5EHie6wsfs4c/fxQt9aD9wDnA/SKezz9Ry5sKrD/QnPAeKKZAaUdKU/7RXIiBSP5/1qHekEAVKRmktFBSHnd+9GJrwVAqc7HldJLoAbyEJ4Jxr/KA201eEG2OdTPtgIIsb+dHQ2jaTRIRv8TkPGqIHkJifrpYRcDxBp/aNkrtD4VWsA0PLUwiYPPCeAN5F5MwLPPENEXjPPJxZY1V1wE0Eb0t/sjnM+tZPrOW0M3UPZJzIPULS6/7J1Daotr9vgHY/J9AOfq8kAAAAABJRU5ErkJggg=="},951:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAVNJREFUWEftltGRwjAMRKVOjko4KoGr5KCSu06gE+hkYTMyE5ATK2CTn3gmH5ko3peVvbHKzENn1pcF4CMOANiJyK+IXFR10297U4Ce8JeJEmDVHCAjnDTbAowIJ4BTkxYEhBPAv6r+VGvBBOGkuVfVw9sALwjXAQgIX0wprfrnoH3NgYAwhfYi8m3XUMJvVPUUbkFQmPMxXBg0BBgbMYAJwvwaruqtOVD6t61UNbWpq3VJCODvFpmMztLo+mmwfKc4bvVOLwdwjFoJgJazPjJcCmYdSDPZ5LxdGxBXNi0/0EYAvD9HlK1mGkBpYgAUH9puudddDI86EABAqebpuYvhTwO4EFoAajvAkw635NDCdClYE+De35Egawbg9jcA/heYpn03XAzXciC7ui3IGNEdRC6G3wVgv/n1D0es/t63tCQEQ+jhJJTqmh7LI0G1AMzuwBVqnaAhSR8MMgAAAABJRU5ErkJggg=="},793:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6M0YyMDhFRTY1OUUzMTFFRjlBN0NGODZCQ0M3RUY5QzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6M0YyMDhFRTc1OUUzMTFFRjlBN0NGODZCQ0M3RUY5QzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozRjIwOEVFNDU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozRjIwOEVFNTU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Phk9awQAAADGSURBVHjaYvz//z8DJYAJl4RRLoMCECcQMoARmwtAmoHUfSB+AMLnJjM4kuqCeiBeAMQgjQ7keAGk6SAxYcCCQxzkhQNQGuSl/WjyB4DeasRqADTgFgAVPACyQSARTYk8EIPUNKIEIlCxA5L/4TbgCWBFkCUsSJr3Q0NdAWY6Hu+BYuYBeiCCBBVhUYfHAHto+OBPSATAA0oMAAXgQ6q5ABwL0ECcD5VwQPYjlgBkgIYVSkJ6gBTyC/FZDdS8gGBmIgUABBgAgktC2XC6NmEAAAAASUVORK5CYII="},632:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOJJREFUOE+lk9sRwiAQRW8qkfzRhaSTpBLHSmInbhn8ZTvRXGZR8sCJykx+MuzZuwdo8OdqavXOBwcgaJTbpx67ACueACg/jdLVIDXAaAVXAJNGqSatAdidxfIr4AGgBUAPdwOVU8icig2wSeB86Oeis0YZssjV/KfZS69R2OANcD4E23hhx9xhLa8Q3GoUTQmsmFFpnbE7jcL5N8v2josE5U/nAwUSQNgegAkdR3yN8AMAC4lfAtIR5xtaOkhzHRiBgCE7WgBMIk9jV6AJZvx0hKWD9HCOPMz146re8SMw7nkC7MV4ERlYkdMAAAAASUVORK5CYII="},317:function(t){"use strict";t.exports=e},477:function(){}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var s={};return function(){"use strict";r.r(s),r.d(s,{default:function(){return io}});var e={};if(r.r(e),r.d(e,{hasBrowserEnv:function(){return Je},hasStandardBrowserEnv:function(){return Qe},hasStandardBrowserWebWorkerEnv:function(){return We},origin:function(){return Ge}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}var i=function(){var e=this,t=e._self._c;return e.visible?t("div",{staticClass:"ai-contain"},[t("div",{staticClass:"ai-contain-header"},[t("div",{staticClass:"header-left"},[t("i",{staticClass:"el-icon-back",on:{click:e.closeMessage}}),t("span",{staticClass:"title-font"},[e._v("错题解析")])])]),e.courseFlag?[t("div",{staticClass:"ai-main-content"},[t("chat",{ref:"chatRef",attrs:{resId:e.resId,xtId:e.xtId,"show-more-q-a":e.showMoreQA,"show-file":e.showFile,avatarUrl:e.avatarUrl,"key-word":e.aiMessageKeyWord,"analy-exercise":e.analyExercise,businessSource:e.businessSource},on:{"on-reanser":e.reanserMethod,"on-message-finish":e.messageFinish}})],1),t("div",{staticClass:"ai-message-send",on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goChat.apply(null,arguments)}}},[t("el-input",{attrs:{placeholder:"可以提出问题...",type:"textarea",rows:5},model:{value:e.aiMessage,callback:function(t){e.aiMessage=t},expression:"aiMessage"}}),t("div",{staticClass:"ai-send-icon",on:{click:e.goChat}},[t("img",{staticStyle:{width:"24px",height:"24px"},attrs:{src:r(951),alt:""}})]),t("div",{staticClass:"delete-icon",on:{click:e.clearChat}},[t("img",{staticStyle:{width:"24px",height:"24px"},attrs:{src:r(114),alt:""}})])],1)]:t("div",{staticClass:"message-wrap"},[t("div",{staticClass:"message-line"},[e._v(e._s(e.message))])])],2):e._e()},o=[],a=function(){var e=this,t=e._self._c;return t("div",{ref:"chatContainer",staticClass:"chat-contain"},[t("error-chat",{attrs:{"question-stem":e.analyExercise,businessSource:e.businessSource},on:{"on-init":e.errorChatInit}}),e._l(e.messageData,(function(n,r){return t("div",{key:r,staticClass:"message",class:{"user-list":"user"===n.type}},["user"===n.type&&e.avatarUrl?t("div",{staticClass:"robot"},[t("img",{staticStyle:{width:"48px",height:"48px","border-radius":"50%"},attrs:{src:e.avatarUrl,alt:""}})]):e._e(),"user"===n.type&&""===e.avatarUrl?t("div",{staticClass:"robot user"},[e._v("user")]):e._e(),t("div",{staticClass:"robot-message",class:{"user-info":"user"===n.type}},[t("div",{domProps:{innerHTML:e._s(n.message)}}),"robot"===n.type&&n.links.length>0&&e.showFile?t("div",{staticClass:"link"},[n.allIdWithStart?e._e():t("div",[t("div",{staticClass:"link-title"},[e._v("参考文件")]),t("div",{staticClass:"link-content"},[e._l(n.links,(function(n){return[n.title.startsWith(e.chatMajorId)?e._e():[t("div",{staticClass:"links"},[t("span",[e._v(e._s(`《${n.title}》`)+" 共 "),t("span",{staticStyle:{"font-weight":"bold"}},[e._v(" "+e._s(n.fileDTOS.length)+" ")]),e._v(" 处引用 ")])]),e._l(n.fileDTOS,(function(n,r){return t("div",{key:r,staticClass:"link-part-container"},[t("span",{staticClass:"link-list-part"},[e._v(" "+e._s(n.matchContent)+" ")])])}))]]}))],2)])]):e._e(),"robot"===n.type&&n.connectUrl.length>0?t("div",{staticClass:"link"},[t("div",{staticClass:"link-title"},[e._v("相关链接")]),t("div",{staticClass:"link-content"},[e._l(n.connectUrl,(function(n){return[t("div",{staticClass:"links"},[t("a",{attrs:{href:n.iaUrl,target:"_blank"}},[t("span",[e._v(e._s(n.iaUrlName))])])])]}))],2)]):e._e(),"robot"===n.type&&e.finish&&n.followUps&&n.followUps.length>0?t("div",[t("div",{staticClass:"link-title"},[e._v("智能追问")]),t("div",{staticClass:"link-content"},e._l(n.followUps,(function(n,r){return t("div",{key:r,staticClass:"hot-list",on:{click:function(t){return e.selectModule(n)}}},[e._v(" "+e._s(n)+" "),t("i",{staticClass:"el-icon-arrow-right go-icon"})])})),0)]):e._e(),"robot"===n.type?t("chat-tools",{attrs:{chatId:e.chatId,"detail-data":n,sending:n.sending,"is-last":r===e.messageData.length-1},on:{"on-reanswer":t=>e.reanswer(t,r),"on-stop-chat":e.onStopChat}}):e._e()],1)])}))],2)},c=[];function l(e,t){return function(){return e.apply(t,arguments)}}const{toString:u}=Object.prototype,{getPrototypeOf:h}=Object,d=(e=>t=>{const n=u.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),f=e=>(e=e.toLowerCase(),t=>d(t)===e),p=e=>t=>typeof t===e,{isArray:g}=Array,m=p("undefined");function y(e){return null!==e&&!m(e)&&null!==e.constructor&&!m(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const w=f("ArrayBuffer");function A(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&w(e.buffer),t}const b=p("string"),v=p("function"),k=p("number"),x=e=>null!==e&&"object"===typeof e,S=e=>!0===e||!1===e,E=e=>{if("object"!==d(e))return!1;const t=h(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_=f("Date"),R=f("File"),C=f("Blob"),B=f("FileList"),I=e=>x(e)&&v(e.pipe),O=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||v(e.append)&&("formdata"===(t=d(e))||"object"===t&&v(e.toString)&&"[object FormData]"===e.toString()))},D=f("URLSearchParams"),[T,U,M,z]=["ReadableStream","Request","Response","Headers"].map(f),j=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function N(e,t){let n,r,{allOwnKeys:s=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),g(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=s?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let o;for(n=0;n<i;n++)o=r[n],t.call(null,e[o],o,e)}}function P(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,s=n.length;while(s-- >0)if(r=n[s],t===r.toLowerCase())return r;return null}const L=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),F=e=>!m(e)&&e!==L;function H(){const{caseless:e}=F(this)&&this||{},t={},n=(n,r)=>{const s=e&&P(t,r)||r;E(t[s])&&E(n)?t[s]=H(t[s],n):E(n)?t[s]=H({},n):g(n)?t[s]=n.slice():t[s]=n};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&N(arguments[r],n);return t}const J=function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return N(t,((t,r)=>{n&&v(t)?e[r]=l(t,n):e[r]=t}),{allOwnKeys:r}),e},Q=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),W=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},G=(e,t,n,r)=>{let s,i,o;const a={};if(t=t||{},null==e)return t;do{s=Object.getOwnPropertyNames(e),i=s.length;while(i-- >0)o=s[i],r&&!r(o,e,t)||a[o]||(t[o]=e[o],a[o]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},q=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},Z=e=>{if(!e)return null;if(g(e))return e;let t=e.length;if(!k(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},V=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&h(Uint8Array)),K=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let s;while((s=r.next())&&!s.done){const n=s.value;t.call(e,n[0],n[1])}},Y=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},$=f("HTMLFormElement"),X=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),ee=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),te=f("RegExp"),ne=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};N(n,((n,s)=>{let i;!1!==(i=t(n,s,e))&&(r[s]=i||n)})),Object.defineProperties(e,r)},re=e=>{ne(e,((t,n)=>{if(v(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},se=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return g(e)?r(e):r(String(e).split(t)),n},ie=()=>{},oe=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,ae="abcdefghijklmnopqrstuvwxyz",ce="0123456789",le={DIGIT:ce,ALPHA:ae,ALPHA_DIGIT:ae+ae.toUpperCase()+ce},ue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.ALPHA_DIGIT,n="";const{length:r}=t;while(e--)n+=t[Math.random()*r|0];return n};function he(e){return!!(e&&v(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const de=e=>{const t=new Array(10),n=(e,r)=>{if(x(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const s=g(e)?[]:{};return N(e,((e,t)=>{const i=n(e,r+1);!m(i)&&(s[t]=i)})),t[r]=void 0,s}}return e};return n(e,0)},fe=f("AsyncFunction"),pe=e=>e&&(x(e)||v(e))&&v(e.then)&&v(e.catch),ge=((e,t)=>e?setImmediate:t?((e,t)=>(L.addEventListener("message",(n=>{let{source:r,data:s}=n;r===L&&s===e&&t.length&&t.shift()()}),!1),n=>{t.push(n),L.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,v(L.postMessage)),me="undefined"!==typeof queueMicrotask?queueMicrotask.bind(L):"undefined"!==typeof process&&process.nextTick||ge;var ye={isArray:g,isArrayBuffer:w,isBuffer:y,isFormData:O,isArrayBufferView:A,isString:b,isNumber:k,isBoolean:S,isObject:x,isPlainObject:E,isReadableStream:T,isRequest:U,isResponse:M,isHeaders:z,isUndefined:m,isDate:_,isFile:R,isBlob:C,isRegExp:te,isFunction:v,isStream:I,isURLSearchParams:D,isTypedArray:V,isFileList:B,forEach:N,merge:H,extend:J,trim:j,stripBOM:Q,inherits:W,toFlatObject:G,kindOf:d,kindOfTest:f,endsWith:q,toArray:Z,forEachEntry:K,matchAll:Y,isHTMLForm:$,hasOwnProperty:ee,hasOwnProp:ee,reduceDescriptors:ne,freezeMethods:re,toObjectSet:se,toCamelCase:X,noop:ie,toFiniteNumber:oe,findKey:P,global:L,isContextDefined:F,ALPHABET:le,generateString:ue,isSpecCompliantForm:he,toJSONObject:de,isAsyncFn:fe,isThenable:pe,setImmediate:ge,asap:me};function we(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}ye.inherits(we,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ye.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ae=we.prototype,be={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{be[e]={value:e}})),Object.defineProperties(we,be),Object.defineProperty(Ae,"isAxiosError",{value:!0}),we.from=(e,t,n,r,s,i)=>{const o=Object.create(Ae);return ye.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),we.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};var ve=we,ke=null;function xe(e){return ye.isPlainObject(e)||ye.isArray(e)}function Se(e){return ye.endsWith(e,"[]")?e.slice(0,-2):e}function Ee(e,t,n){return e?e.concat(t).map((function(e,t){return e=Se(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function _e(e){return ye.isArray(e)&&!e.some(xe)}const Re=ye.toFlatObject(ye,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Ce(e,t,n){if(!ye.isObject(e))throw new TypeError("target must be an object");t=t||new(ke||FormData),n=ye.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ye.isUndefined(t[e])}));const r=n.metaTokens,s=n.visitor||u,i=n.dots,o=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&ye.isSpecCompliantForm(t);if(!ye.isFunction(s))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ye.isDate(e))return e.toISOString();if(!c&&ye.isBlob(e))throw new ve("Blob is not supported. Use a Buffer instead.");return ye.isArrayBuffer(e)||ye.isTypedArray(e)?c&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,s){let a=e;if(e&&!s&&"object"===typeof e)if(ye.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ye.isArray(e)&&_e(e)||(ye.isFileList(e)||ye.endsWith(n,"[]"))&&(a=ye.toArray(e)))return n=Se(n),a.forEach((function(e,r){!ye.isUndefined(e)&&null!==e&&t.append(!0===o?Ee([n],r,i):null===o?n:n+"[]",l(e))})),!1;return!!xe(e)||(t.append(Ee(s,n,i),l(e)),!1)}const h=[],d=Object.assign(Re,{defaultVisitor:u,convertValue:l,isVisitable:xe});function f(e,n){if(!ye.isUndefined(e)){if(-1!==h.indexOf(e))throw Error("Circular reference detected in "+n.join("."));h.push(e),ye.forEach(e,(function(e,r){const i=!(ye.isUndefined(e)||null===e)&&s.call(t,e,ye.isString(r)?r.trim():r,n,d);!0===i&&f(e,n?n.concat(r):[r])})),h.pop()}}if(!ye.isObject(e))throw new TypeError("data must be an object");return f(e),t}var Be=Ce;function Ie(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Oe(e,t){this._pairs=[],e&&Be(e,this,t)}const De=Oe.prototype;De.append=function(e,t){this._pairs.push([e,t])},De.toString=function(e){const t=e?function(t){return e.call(this,t,Ie)}:Ie;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Te=Oe;function Ue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Me(e,t,n){if(!t)return e;const r=n&&n.encode||Ue,s=n&&n.serialize;let i;if(i=s?s(t,n):ye.isURLSearchParams(t)?t.toString():new Te(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}class ze{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ye.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var je=ze,Ne={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Pe="undefined"!==typeof URLSearchParams?URLSearchParams:Te,Le="undefined"!==typeof FormData?FormData:null,Fe="undefined"!==typeof Blob?Blob:null,He={isBrowser:!0,classes:{URLSearchParams:Pe,FormData:Le,Blob:Fe},protocols:["http","https","file","blob","url","data"]};const Je="undefined"!==typeof window&&"undefined"!==typeof document,Qe=(e=>Je&&["ReactNative","NativeScript","NS"].indexOf(e)<0)("undefined"!==typeof navigator&&navigator.product),We=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),Ge=Je&&window.location.href||"http://localhost";var qe={...e,...He};function Ze(e,t){return Be(e,new qe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return qe.isNode&&ye.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Ve(e){return ye.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function Ke(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],t[i]=e[i];return t}function Ye(e){function t(e,n,r,s){let i=e[s++];if("__proto__"===i)return!0;const o=Number.isFinite(+i),a=s>=e.length;if(i=!i&&ye.isArray(r)?r.length:i,a)return ye.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!o;r[i]&&ye.isObject(r[i])||(r[i]=[]);const c=t(e,n,r[i],s);return c&&ye.isArray(r[i])&&(r[i]=Ke(r[i])),!o}if(ye.isFormData(e)&&ye.isFunction(e.entries)){const n={};return ye.forEachEntry(e,((e,r)=>{t(Ve(e),r,n,0)})),n}return null}var $e=Ye;function Xe(e,t,n){if(ye.isString(e))try{return(t||JSON.parse)(e),ye.trim(e)}catch(wr){if("SyntaxError"!==wr.name)throw wr}return(n||JSON.stringify)(e)}const et={transitional:Ne,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=ye.isObject(e);s&&ye.isHTMLForm(e)&&(e=new FormData(e));const i=ye.isFormData(e);if(i)return r?JSON.stringify($e(e)):e;if(ye.isArrayBuffer(e)||ye.isBuffer(e)||ye.isStream(e)||ye.isFile(e)||ye.isBlob(e)||ye.isReadableStream(e))return e;if(ye.isArrayBufferView(e))return e.buffer;if(ye.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ze(e,this.formSerializer).toString();if((o=ye.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Be(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),Xe(e)):e}],transformResponse:[function(e){const t=this.transitional||et.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ye.isResponse(e)||ye.isReadableStream(e))return e;if(e&&ye.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,s=!n&&r;try{return JSON.parse(e)}catch(wr){if(s){if("SyntaxError"===wr.name)throw ve.from(wr,ve.ERR_BAD_RESPONSE,this,null,this.response);throw wr}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ye.forEach(["delete","get","head","post","put","patch"],(e=>{et.headers[e]={}}));var tt=et;const nt=ye.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var rt=e=>{const t={};let n,r,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),r=e.substring(s+1).trim(),!n||t[n]&&nt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const st=Symbol("internals");function it(e){return e&&String(e).trim().toLowerCase()}function ot(e){return!1===e||null==e?e:ye.isArray(e)?e.map(ot):String(e)}function at(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const ct=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function lt(e,t,n,r,s){return ye.isFunction(r)?r.call(this,t,n):(s&&(t=n),ye.isString(t)?ye.isString(r)?-1!==t.indexOf(r):ye.isRegExp(r)?r.test(t):void 0:void 0)}function ut(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function ht(e,t){const n=ye.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,s){return this[r].call(this,t,e,n,s)},configurable:!0})}))}class dt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=it(t);if(!s)throw new Error("header name must be a non-empty string");const i=ye.findKey(r,s);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ot(e))}const i=(e,t)=>ye.forEach(e,((e,n)=>s(e,n,t)));if(ye.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(ye.isString(e)&&(e=e.trim())&&!ct(e))i(rt(e),t);else if(ye.isHeaders(e))for(const[o,a]of e.entries())s(a,o,n);else null!=e&&s(t,e,n);return this}get(e,t){if(e=it(e),e){const n=ye.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return at(e);if(ye.isFunction(t))return t.call(this,e,n);if(ye.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=it(e),e){const n=ye.findKey(this,e);return!(!n||void 0===this[n]||t&&!lt(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=it(e),e){const s=ye.findKey(n,e);!s||t&&!lt(n,n[s],s,t)||(delete n[s],r=!0)}}return ye.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const s=t[n];e&&!lt(this,this[s],s,e,!0)||(delete this[s],r=!0)}return r}normalize(e){const t=this,n={};return ye.forEach(this,((r,s)=>{const i=ye.findKey(n,s);if(i)return t[i]=ot(r),void delete t[s];const o=e?ut(s):String(s).trim();o!==s&&delete t[s],t[o]=ot(r),n[o]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return ye.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ye.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=this[st]=this[st]={accessors:{}},n=t.accessors,r=this.prototype;function s(e){const t=it(e);n[t]||(ht(r,e),n[t]=!0)}return ye.isArray(e)?e.forEach(s):s(e),this}}dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ye.reduceDescriptors(dt.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),ye.freezeMethods(dt);var ft=dt;function pt(e,t){const n=this||tt,r=t||n,s=ft.from(r.headers);let i=r.data;return ye.forEach(e,(function(e){i=e.call(n,i,s.normalize(),t?t.status:void 0)})),s.normalize(),i}function gt(e){return!(!e||!e.__CANCEL__)}function mt(e,t,n){ve.call(this,null==e?"canceled":e,ve.ERR_CANCELED,t,n),this.name="CanceledError"}ye.inherits(mt,ve,{__CANCEL__:!0});var yt=mt;function wt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function At(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function bt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s,i=0,o=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[o];s||(s=c),n[i]=a,r[i]=c;let u=o,h=0;while(u!==i)h+=n[u++],u%=e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s<t)return;const d=l&&c-l;return d?Math.round(1e3*h/d):void 0}}var vt=bt;function kt(e,t){let n,r,s=0,i=1e3/t;const o=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();s=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)},a=function(){const e=Date.now(),t=e-s;for(var a=arguments.length,c=new Array(a),l=0;l<a;l++)c[l]=arguments[l];t>=i?o(c,e):(n=c,r||(r=setTimeout((()=>{r=null,o(n)}),i-t)))},c=()=>n&&o(n);return[a,c]}var xt=kt;const St=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const s=vt(50,250);return xt((n=>{const i=n.loaded,o=n.lengthComputable?n.total:void 0,a=i-r,c=s(a),l=i<=o;r=i;const u={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&l?(o-i)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0};e(u)}),n)},Et=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},_t=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ye.asap((()=>e(...n)))};var Rt=qe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=ye.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),Ct=qe.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];ye.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),ye.isString(r)&&o.push("path="+r),ye.isString(s)&&o.push("domain="+s),!0===i&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function It(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ot(e,t){return e&&!Bt(t)?It(e,t):t}const Dt=e=>e instanceof ft?{...e}:e;function Tt(e,t){t=t||{};const n={};function r(e,t,n){return ye.isPlainObject(e)&&ye.isPlainObject(t)?ye.merge.call({caseless:n},e,t):ye.isPlainObject(t)?ye.merge({},t):ye.isArray(t)?t.slice():t}function s(e,t,n){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!ye.isUndefined(t))return r(void 0,t)}function o(e,t){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,s,i){return i in t?r(n,s):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(e,t)=>s(Dt(e),Dt(t),!0)};return ye.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||s,o=i(e[r],t[r],r);ye.isUndefined(o)&&i!==a||(n[r]=o)})),n}var Ut=e=>{const t=Tt({},e);let n,{data:r,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:c}=t;if(t.headers=a=ft.from(a),t.url=Me(Ot(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),ye.isFormData(r))if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(qe.hasStandardBrowserEnv&&(s&&ye.isFunction(s)&&(s=s(t)),s||!1!==s&&Rt(t.url))){const e=i&&o&&Ct.read(o);e&&a.set(i,e)}return t};const Mt="undefined"!==typeof XMLHttpRequest;var zt=Mt&&function(e){return new Promise((function(t,n){const r=Ut(e);let s=r.data;const i=ft.from(r.headers).normalize();let o,a,c,l,u,{responseType:h,onUploadProgress:d,onDownloadProgress:f}=r;function p(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=ft.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),s=h&&"text"!==h&&"json"!==h?g.response:g.responseText,i={data:s,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};wt((function(e){t(e),p()}),(function(e){n(e),p()}),i),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new ve("Request aborted",ve.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new ve("Network Error",ve.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const s=r.transitional||Ne;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ve(t,s.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,g)),g=null},void 0===s&&i.setContentType(null),"setRequestHeader"in g&&ye.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),ye.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),h&&"json"!==h&&(g.responseType=r.responseType),f&&([c,u]=St(f,!0),g.addEventListener("progress",c)),d&&g.upload&&([a,l]=St(d),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(o=t=>{g&&(n(!t||t.type?new yt(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const y=At(r.url);y&&-1===qe.protocols.indexOf(y)?n(new ve("Unsupported protocol "+y+":",ve.ERR_BAD_REQUEST,e)):g.send(s||null)}))};const jt=(e,t)=>{let n,r=new AbortController;const s=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ve?t:new yt(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{s(new ve(`timeout ${t} of ms exceeded`,ve.ETIMEDOUT))}),t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",s):e.unsubscribe(s))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",s)));const{signal:a}=r;return a.unsubscribe=o,[a,()=>{i&&clearTimeout(i),i=null}]};var Nt=jt;const Pt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,s=0;while(s<n)r=s+t,yield e.slice(s,r),s=r},Lt=async function*(e,t,n){for await(const r of e)yield*Pt(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Ft=(e,t,n,r,s)=>{const i=Lt(e,t,s);let o,a=0,c=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return c(),void e.close();let s=r.byteLength;if(n){let e=a+=s;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw c(t),t}},cancel(e){return c(e),i.return()}},{highWaterMark:2})},Ht="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,Jt=Ht&&"function"===typeof ReadableStream,Qt=Ht&&("function"===typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Wt=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(wr){return!1}},Gt=Jt&&Wt((()=>{let e=!1;const t=new Request(qe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),qt=65536,Zt=Jt&&Wt((()=>ye.isReadableStream(new Response("").body))),Vt={stream:Zt&&(e=>e.body)};Ht&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Vt[t]&&(Vt[t]=ye.isFunction(e[t])?e=>e[t]():(e,n)=>{throw new ve(`Response type '${t}' is not supported`,ve.ERR_NOT_SUPPORT,n)})}))})(new Response);const Kt=async e=>null==e?0:ye.isBlob(e)?e.size:ye.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:ye.isArrayBufferView(e)||ye.isArrayBuffer(e)?e.byteLength:(ye.isURLSearchParams(e)&&(e+=""),ye.isString(e)?(await Qt(e)).byteLength:void 0),Yt=async(e,t)=>{const n=ye.toFiniteNumber(e.getContentLength());return null==n?Kt(t):n};var $t=Ht&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:h="same-origin",fetchOptions:d}=Ut(e);l=l?(l+"").toLowerCase():"text";let f,p,[g,m]=s||i||o?Nt([s,i],o):[];const y=()=>{!f&&setTimeout((()=>{g&&g.unsubscribe()})),f=!0};let w;try{if(c&&Gt&&"get"!==n&&"head"!==n&&0!==(w=await Yt(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(ye.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Et(w,St(_t(c)));r=Ft(n.body,qt,e,t,Qt)}}ye.isString(h)||(h=h?"include":"omit"),p=new Request(t,{...d,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:h});let s=await fetch(p);const i=Zt&&("stream"===l||"response"===l);if(Zt&&(a||i)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=ye.toFiniteNumber(s.headers.get("content-length")),[n,r]=a&&Et(t,St(_t(a),!0))||[];s=new Response(Ft(s.body,qt,n,(()=>{r&&r(),i&&y()}),Qt),e)}l=l||"text";let o=await Vt[ye.findKey(Vt,l)||"text"](s,e);return!i&&y(),m&&m(),await new Promise(((t,n)=>{wt(t,n,{data:o,headers:ft.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:p})}))}catch(A){if(y(),A&&"TypeError"===A.name&&/fetch/i.test(A.message))throw Object.assign(new ve("Network Error",ve.ERR_NETWORK,e,p),{cause:A.cause||A});throw ve.from(A,A&&A.code,e,p)}});const Xt={http:ke,xhr:zt,fetch:$t};ye.forEach(Xt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(wr){}Object.defineProperty(e,"adapterName",{value:t})}}));const en=e=>`- ${e}`,tn=e=>ye.isFunction(e)||null===e||!1===e;var nn={getAdapter:e=>{e=ye.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!tn(n)&&(r=Xt[(t=String(n)).toLowerCase()],void 0===r))throw new ve(`Unknown adapter '${t}'`);if(r)break;s[t||"#"+i]=r}if(!r){const e=Object.entries(s).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(en).join("\n"):" "+en(e[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:Xt};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yt(null,e)}function sn(e){rn(e),e.headers=ft.from(e.headers),e.data=pt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=nn.getAdapter(e.adapter||tt.adapter);return t(e).then((function(t){return rn(e),t.data=pt.call(e,e.transformResponse,t),t.headers=ft.from(t.headers),t}),(function(t){return gt(t)||(rn(e),t&&t.response&&(t.response.data=pt.call(e,e.transformResponse,t.response),t.response.headers=ft.from(t.response.headers))),Promise.reject(t)}))}const on="1.7.4",an={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{an[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const cn={};function ln(e,t,n){if("object"!==typeof e)throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;while(s-- >0){const i=r[s],o=t[i];if(o){const t=e[i],n=void 0===t||o(t,i,e);if(!0!==n)throw new ve("option "+i+" must be "+n,ve.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}an.transitional=function(e,t,n){function r(e,t){return"[Axios v"+on+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,i)=>{if(!1===e)throw new ve(r(s," has been removed"+(t?" in "+t:"")),ve.ERR_DEPRECATED);return t&&!cn[s]&&(cn[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,i)}};var un={assertOptions:ln,validators:an};const hn=un.validators;class dn{constructor(e){this.defaults=e,this.interceptors={request:new je,response:new je}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(wr){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=Tt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&un.assertOptions(n,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),null!=r&&(ye.isFunction(r)?t.paramsSerializer={serialize:r}:un.assertOptions(r,{encode:hn.function,serialize:hn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=s&&ye.merge(s.common,s[t.method]);s&&ye.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=ft.concat(i,s);const o=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,h=0;if(!a){const e=[sn.bind(this),void 0];e.unshift.apply(e,o),e.push.apply(e,c),u=e.length,l=Promise.resolve(t);while(h<u)l=l.then(e[h++],e[h++]);return l}u=o.length;let d=t;h=0;while(h<u){const e=o[h++],t=o[h++];try{d=e(d)}catch(f){t.call(this,f);break}}try{l=sn.call(this,d)}catch(f){return Promise.reject(f)}h=0,u=c.length;while(h<u)l=l.then(c[h++],c[h++]);return l}getUri(e){e=Tt(this.defaults,e);const t=Ot(e.baseURL,e.url);return Me(t,e.params,e.paramsSerializer)}}ye.forEach(["delete","get","head","options"],(function(e){dn.prototype[e]=function(t,n){return this.request(Tt(n||{},{method:e,url:t,data:(n||{}).data}))}})),ye.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,s){return this.request(Tt(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}dn.prototype[e]=t(),dn.prototype[e+"Form"]=t(!0)}));var fn=dn;class pn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,s){n.reason||(n.reason=new yt(e,r,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new pn((function(t){e=t}));return{token:t,cancel:e}}}var gn=pn;function mn(e){return function(t){return e.apply(null,t)}}function yn(e){return ye.isObject(e)&&!0===e.isAxiosError}const wn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wn).forEach((e=>{let[t,n]=e;wn[n]=t}));var An=wn;function bn(e){const t=new fn(e),n=l(fn.prototype.request,t);return ye.extend(n,fn.prototype,t,{allOwnKeys:!0}),ye.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return bn(Tt(e,t))},n}const vn=bn(tt);vn.Axios=fn,vn.CanceledError=yt,vn.CancelToken=gn,vn.isCancel=gt,vn.VERSION=on,vn.toFormData=Be,vn.AxiosError=ve,vn.Cancel=vn.CanceledError,vn.all=function(e){return Promise.all(e)},vn.spread=mn,vn.isAxiosError=yn,vn.mergeConfig=Tt,vn.AxiosHeaders=ft,vn.formToJSON=e=>$e(ye.isHTMLForm(e)?new FormData(e):e),vn.getAdapter=nn.getAdapter,vn.HttpStatusCode=An,vn.default=vn;var kn=vn;const xn={set(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){sessionStorage.removeItem(e)}},Sn={set(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){localStorage.removeItem(e)}};var En={session:xn,local:Sn},_n=r(317),Rn=r(190),Cn=r.n(Rn);const Bn="3.7.7",In=Bn,On="function"===typeof Buffer,Dn="function"===typeof TextDecoder?new TextDecoder:void 0,Tn="function"===typeof TextEncoder?new TextEncoder:void 0,Un="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Mn=Array.prototype.slice.call(Un),zn=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(Mn),jn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Nn=String.fromCharCode.bind(String),Pn="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Ln=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),Fn=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Hn=e=>{let t,n,r,s,i="";const o=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(s=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|s,i+=Mn[t>>18&63]+Mn[t>>12&63]+Mn[t>>6&63]+Mn[63&t]}return o?i.slice(0,o-3)+"===".substring(o):i},Jn="function"===typeof btoa?e=>btoa(e):On?e=>Buffer.from(e,"binary").toString("base64"):Hn,Qn=On?e=>Buffer.from(e).toString("base64"):e=>{const t=4096;let n=[];for(let r=0,s=e.length;r<s;r+=t)n.push(Nn.apply(null,e.subarray(r,r+t)));return Jn(n.join(""))},Wn=(e,t=!1)=>t?Ln(Qn(e)):Qn(e),Gn=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Nn(192|t>>>6)+Nn(128|63&t):Nn(224|t>>>12&15)+Nn(128|t>>>6&63)+Nn(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Nn(240|t>>>18&7)+Nn(128|t>>>12&63)+Nn(128|t>>>6&63)+Nn(128|63&t)},qn=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Zn=e=>e.replace(qn,Gn),Vn=On?e=>Buffer.from(e,"utf8").toString("base64"):Tn?e=>Qn(Tn.encode(e)):e=>Jn(Zn(e)),Kn=(e,t=!1)=>t?Ln(Vn(e)):Vn(e),Yn=e=>Kn(e,!0),$n=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Xn=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Nn(55296+(n>>>10))+Nn(56320+(1023&n));case 3:return Nn((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Nn((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},er=e=>e.replace($n,Xn),tr=e=>{if(e=e.replace(/\s+/g,""),!jn.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,s="";for(let i=0;i<e.length;)t=zn[e.charAt(i++)]<<18|zn[e.charAt(i++)]<<12|(n=zn[e.charAt(i++)])<<6|(r=zn[e.charAt(i++)]),s+=64===n?Nn(t>>16&255):64===r?Nn(t>>16&255,t>>8&255):Nn(t>>16&255,t>>8&255,255&t);return s},nr="function"===typeof atob?e=>atob(Fn(e)):On?e=>Buffer.from(e,"base64").toString("binary"):tr,rr=On?e=>Pn(Buffer.from(e,"base64")):e=>Pn(nr(e).split("").map((e=>e.charCodeAt(0)))),sr=e=>rr(or(e)),ir=On?e=>Buffer.from(e,"base64").toString("utf8"):Dn?e=>Dn.decode(rr(e)):e=>er(nr(e)),or=e=>Fn(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),ar=e=>ir(or(e)),cr=e=>{if("string"!==typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},lr=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),ur=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,lr(t));e("fromBase64",(function(){return ar(this)})),e("toBase64",(function(e){return Kn(this,e)})),e("toBase64URI",(function(){return Kn(this,!0)})),e("toBase64URL",(function(){return Kn(this,!0)})),e("toUint8Array",(function(){return sr(this)}))},hr=function(){const e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,lr(t));e("toBase64",(function(e){return Wn(this,e)})),e("toBase64URI",(function(){return Wn(this,!0)})),e("toBase64URL",(function(){return Wn(this,!0)}))},dr=()=>{ur(),hr()},fr={version:Bn,VERSION:In,atob:nr,atobPolyfill:tr,btoa:Jn,btoaPolyfill:Hn,fromBase64:ar,toBase64:Kn,encode:Kn,encodeURI:Yn,encodeURL:Yn,utob:Zn,btou:er,decode:ar,isValid:cr,fromUint8Array:Wn,toUint8Array:sr,extendString:ur,extendUint8Array:hr,extendBuiltins:dr},pr="RU5D",gr="ODE",mr="AE",yr="S_K",wr="RVkx",Ar=fr.decode(pr).concat(gr,"_",mr,yr,fr.decode(wr),"6"),br="d3d3",vr="w.e",kr="mru",xr="bik",Sr="Y29t",Er=fr.decode(br).concat(vr,kr,xr,".",fr.decode(Sr));Cn().enc.Utf8.parse(Ar),Cn().enc.Utf8.parse(Er);let _r="601a39a2a4a7cd88d5ddcef5";const Rr=["/home","/overview"];"aliyun"==={NODE_ENV:"production",BASE_URL:""}.VITE_APP_BUILD_TYPE&&(_r="6572ba195ec962924cc39951");var Cr={"X-Enterprise-Id":"www.hep-zj.com.cn","X-App-Id":"90403a27c0704259ab7a3c8aab4489b3","X-App-Secret":"bc11ce7c44824fcaa23ff301a54b7094",appId:_r,whiteList:Rr,publicPath:"https://agent.icve.com.cn/heatp-portal/do/",publicPrefix:"/heatp"};const Br=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL");kn.defaults.headers["Content-Type"]="application/json;charset=utf-8";const Ir=kn.create({baseURL:Br||Cr.publicPath,timeout:8e4});Ir.interceptors.request.use((e=>{En.session.getJSON("SRKJ_TOKEN_CACHE")&&(e.params||(e.params={}),e.params.token=En.session.getJSON("SRKJ_TOKEN_CACHE"));const t=!1===(e.headers||{}).repeatSubmit;if(!t&&("post"===e.method||"put"===e.method)){const t={url:e.url,data:"object"===typeof e.data?JSON.stringify(e.data):e.data,time:(new Date).getTime()},n=En.session.getJSON("sessionObj");if(void 0===n||null===n||""===n)En.session.setJSON("sessionObj",t);else{const e=n.url,r=n.data,s=n.time,i=100;r===t.data&&t.time-s<i&&e===t.url||En.session.setJSON("sessionObj",t)}}return e}),(e=>{Promise.reject(e)})),Ir.interceptors.response.use((e=>{if("blob"===e.request.responseType||"arraybuffer"===e.request.responseType)return e.data;let t=e.data;if(401!==e.status)return t.resultCode.endsWith("0000")||_n.Message.warning(t.message.description),t.queryData||t.data||t.token;_n.Message.warning(t.message.description)}));var Or=Ir;async function Dr(e,t){const n=e.getReader();let r;while(!(r=await n.read()).done)t(r.value)}function Tr(e){let t,n,r,s=!1;return function(i){void 0===t?(t=i,n=0,r=-1):t=Mr(t,i);const o=t.length;let a=0;while(n<o){s&&(10===t[n]&&(a=++n),s=!1);let i=-1;for(;n<o&&-1===i;++n)switch(t[n]){case 58:-1===r&&(r=n-a);break;case 13:s=!0;case 10:i=n;break}if(-1===i)break;e(t.subarray(a,i),r),a=n,r=-1}a===o?t=void 0:0!==a&&(t=t.subarray(a),n-=a)}}function Ur(e,t,n){let r=zr();const s=new TextDecoder;return function(i,o){if(0===i.length)null===n||void 0===n||n(r),r=zr();else if(o>0){const n=s.decode(i.subarray(0,o)),a=o+(32===i[o+1]?2:1),c=s.decode(i.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||t(r.retry=n);break}}}}function Mr(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function zr(){return{data:"",event:"",id:"",retry:void 0}}var jr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n};const Nr="text/event-stream",Pr=1e3,Lr="last-event-id";function Fr(e,t){var{signal:n,headers:r,onopen:s,onmessage:i,onclose:o,onerror:a,openWhenHidden:c,fetch:l}=t,u=jr(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise(((t,h)=>{const d=Object.assign({},r);let f;function p(){f.abort(),document.hidden||b()}d.accept||(d.accept=Nr),c||document.addEventListener("visibilitychange",p);let g=Pr,m=0;function y(){document.removeEventListener("visibilitychange",p),window.clearTimeout(m),f.abort()}null===n||void 0===n||n.addEventListener("abort",(()=>{y(),t()}));const w=null!==l&&void 0!==l?l:window.fetch,A=null!==s&&void 0!==s?s:Hr;async function b(){var n;f=new AbortController;try{const n=await w(e,Object.assign(Object.assign({},u),{headers:d,signal:f.signal}));await A(n),await Dr(n.body,Tr(Ur((e=>{e?d[Lr]=e:delete d[Lr]}),(e=>{g=e}),i))),null===o||void 0===o||o(),y(),t()}catch(r){if(!f.signal.aborted)try{const e=null!==(n=null===a||void 0===a?void 0:a(r))&&void 0!==n?n:g;window.clearTimeout(m),m=window.setTimeout(b,e)}catch(s){y(),h(s)}}}b()}))}function Hr(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(Nr)))throw new Error(`Expected content-type to be ${Nr}, Actual: ${t}`)}const Jr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL")||Cr.publicPath;let Qr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_PRE_FIX")||Cr.publicPrefix;Qr+="/plugin/v2";const Wr="https://agent.icve.com.cn",Gr=(e,t)=>Or({url:Qr+"/sso/assistant",method:"get",params:{token:e,businessSource:t}}),qr=e=>Or({url:Qr+"/erranalysis/send",method:"post",data:e}),Zr=e=>Or({url:Qr+"/erranalysis/retry",method:"post",params:{errId:e}}),Vr=e=>Or({url:Qr+"/assistant/chatEvaluateAdd",method:"post",data:e}),Kr=e=>Or({url:Qr+`/assistant/stop/${e}`,method:"post"}),Yr=e=>Or({url:Qr+"/assistant/chatEvaluateCancel",method:"post",data:e}),$r=e=>Or({url:Qr+`/assistant/chartClear/${e}`,method:"post"}),Xr=e=>Or({url:Qr+`/ia/hasPermission?courseId=${e}`,method:"get"});async function es(e,t){return Or.post(`${Qr}/ia/autoFollowUp`,{iaId:e,messages:t})}const ts=e=>Or({url:Qr+`/ia/byCourseId?courseId=${e}`,method:"get"});async function ns(e,t,n){return Fr(`${Jr}${Qr}/assistant/conversation?token=${En.session.getJSON("SRKJ_TOKEN_CACHE")}`,{method:"POST",signal:t,openWhenHidden:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify(e),onmessage:n})}const rs=[{name:"格式问题",code:"1"},{name:"逻辑问题",code:"2"},{name:"有害信息",code:"3"},{name:"事实错误",code:"4"},{name:"没有帮助",code:"5"},{name:"答非所问",code:"6"}],ss=async(e,t,n)=>{await Gr(e,t).then((async e=>{null!==e&&void 0!==e&&e.avatarUrl?En.session.setJSON("USER_AVATAR_URL",e.avatarUrl):En.session.setJSON("USER_AVATAR_URL","")})),En.session.setJSON("SRKJ_TOKEN_CACHE",e),n&&n()};var is=function(){var e=this,t=e._self._c;return e.listData?t("div",{staticClass:"robot-tools"},[(e.listData.stop||e.listData.finish||"error"===e.type&&!e.sending)&&e.isLast?t("div",{staticClass:"robot-reanswer",staticStyle:{"margin-bottom":"8px"},on:{click:function(t){return e.reAnswer(e.listData)}}},[t("i",{staticClass:"el-icon-refresh-right"}),e._v(" 重新回答 ")]):e._e(),e.listData.stop&&"error"!==e.type?t("div",{staticClass:"stopMsg",staticStyle:{color:"#cfcfcf",cursor:"default"}},[e._v("已停止生成 ")]):e._e(),e.listData.stop||e.listData.finish||"error"===e.type||e.sending?e._e():t("div",{staticClass:"stopMsg",on:{click:function(t){return e.stopChat(e.listData)}}},[e._v("停止输出 ")]),t("div",{staticClass:"right-tools"},[t("el-tooltip",{attrs:{disabled:!0,content:"赞",effect:"light",placement:"top"}},[t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doZan(e.listData)}}},[e.listData.zan?t("img",{attrs:{alt:"",src:r(793)}}):t("img",{attrs:{src:r(632),alt:""}})])]),t("el-drawer",{attrs:{visible:e.drawer,direction:"btt",size:"80%",wrapperClosable:!1,modal:!1,"custom-class":"feedback-drawer"},on:{"update:visible":function(t){e.drawer=t}}},[t("div",{staticClass:"drawer-content"},[t("div",{staticClass:"drawer-header"},[t("div",{staticClass:"drawer-title"},[e._v(" 你的反馈将 "),t("br"),e._v(" 帮助职教一问优化进步 ")])]),t("div",{staticClass:"error-list"},[t("div",{staticClass:"section-title"},[e._v("请选择问题类型")]),t("el-checkbox-group",{staticClass:"checkbox-group",model:{value:e.errors,callback:function(t){e.errors=t},expression:"errors"}},e._l(e.errorList,(function(n){return t("el-checkbox",{key:n.code,staticClass:"check",attrs:{label:n.code,border:""}},[e._v(" "+e._s(n.name)+" ")])})),1),t("div",{staticClass:"section-title"},[e._v("其他问题描述")]),t("el-input",{attrs:{rows:4,maxlength:"30","show-word-limit":"",placeholder:"请输入其他问题描述(选填)",resize:"none",type:"textarea"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}}),t("div",{staticClass:"sumit-button"},[t("el-button",{attrs:{type:"primary",disabled:e.canSubmit},on:{click:function(t){return e.doCai(e.listData)}}},[e._v("提交反馈")])],1)],1)])]),t("el-tooltip",{attrs:{disabled:!0,content:"踩",effect:"light",placement:"bottom"}},[e.listData.cai?t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doCai(e.listData)}}},[t("img",{attrs:{alt:"",src:r(271)}})]):t("div",{staticClass:"tools-icon",on:{click:e.openDrawer}},[t("img",{attrs:{alt:"",src:r(554)}})])])],1)]):e._e()},os=[],as={name:"ChatTools",props:{detailData:{type:Object,default:()=>{}},chatId:{type:String,default:""},type:{type:String,default:"chart"},sending:{type:Boolean,default:!1},isLast:{type:Boolean,default:!1}},data(){return{input:"",drawer:!1,errors:[],errorList:rs}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input},listData(){return this.detailData}},methods:{cancelDrawer(){this.drawer=!1},openDrawer(){this.drawer=!0},async stopChat(e){const{msgId:t}=e;await Kr(t),e.stop=!0,this.$emit("on-stop-chat",e)},async reAnswer(e){this.$emit("on-reanswer",e)},async doZan(e){const t={chatId:this.chatId,msgId:e.msgId,type:1};e.zan?await Yr(t):await Vr(t),e.zan=!e.zan,e.cai=!1},async doCai(e){let t={};e.cai||(t={desc:this.input,tags:this.errors});const n={chatId:this.chatId,msgId:e.msgId,type:2,...t};e.cai?await Yr(n):await Vr(n),e.cai=!e.cai,e.zan=!1,e.cai&&this.$message.success("感谢您的反馈"),this.drawer=!1,this.input="",this.errors=[]}}},cs=as;function ls(e,t,n,r,s,i,o,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:e,options:l}}var us=ls(cs,is,os,!1,null,"1bb1fe78",null),hs=us.exports,ds=function(){var e=this,t=e._self._c;return t("div",{staticClass:"error-chat-contain"},[t("div",{staticClass:"exercises-answer"},[t("div",{staticClass:"exercises-answer-bg"}),t("p",{staticClass:"question-stem",domProps:{innerHTML:e._s(e.questionStem.title)}}),"single"===e.questionStem.type||"multiple"===e.questionStem.type?t("div",{staticClass:"answer-part"},e._l(e.questionStem.options,(function(n,s){return t("div",{key:s,staticClass:"answer-list"},[t("div",{staticClass:"check-content",staticStyle:{width:"24px"}},[e.questionStem.answer.indexOf(n)>-1?t("img",{staticStyle:{width:"24px"},attrs:{src:r(25),alt:""}}):e._e()]),t("div",{staticClass:"answer-list",domProps:{innerHTML:e._s(n)}})])})),0):e._e(),"judge"===e.questionStem.type?t("div",{staticClass:"answer-part",staticStyle:{"padding-bottom":"24px"}},[e._v(" 正确答案: "),t("span",{staticStyle:{"margin-left":"8px"}},[e._v(e._s(e.questionStem.answer.join(",")))])]):e._e(),"shortanswer"===e.questionStem.type||"gapfilling"===e.questionStem.type?t("div",{staticClass:"answer-part",staticStyle:{"padding-bottom":"24px"}},[t("span",{staticStyle:{"vertical-align":"inherit",display:"inline-block"}},[e._v("正确答案:")]),t("span",{staticStyle:{"margin-left":"8px",display:"inline-block",width:"calc(100% - 82px)","vertical-align":"top"},domProps:{innerHTML:e._s(e.questionStem.answer.join(","))}})]):e._e(),t("div",{staticClass:"student-answer-part"},[e._m(0),"single"===e.questionStem.type||"multiple"===e.questionStem.type?t("div",e._l(e.questionStem.studentAnswer,(function(n,r){return t("div",{key:r,staticStyle:{"margin-right":"16px","font-size":"0.875rem","margin-top":"-10px"},domProps:{innerHTML:e._s(n)}})})),0):e._e(),"judge"===e.questionStem.type?t("div",[t("span",{staticStyle:{"margin-left":"8px"}},[e._v(e._s(e.questionStem.studentAnswer.join(",")))])]):e._e(),"shortanswer"===e.questionStem.type||"gapfilling"===e.questionStem.type?t("div",[t("span",{staticStyle:{"margin-left":"8px"},domProps:{innerHTML:e._s(e.questionStem.studentAnswer.join(","))}})]):e._e()])]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:!Object.keys(e.analysisData).length>0,expression:"!Object.keys(analysisData).length > 0"}],staticClass:"ai-analyze-content",attrs:{"element-loading-text":"分析中,请稍后"}},[t("div",{staticClass:"title-label"},[e._v("题目解析")]),t("div",{staticClass:"answer-content",domProps:{innerHTML:e._s(e.analysisData.analysis)}}),t("div",{staticClass:"title-label"},[e._v("错因分析")]),t("div",{staticClass:"answer-content",domProps:{innerHTML:e._s(e.analysisData.reason)}}),"2"!==e.businessSource&&e.analysisData.recommend&&e.analysisData.recommend.length>0&&!e.allIdWithStart?t("div",{staticClass:"title-label"},[e._v(" 推荐资料 ")]):e._e(),"2"!==e.businessSource?t("div",{staticClass:"answer-content"},e._l(e.analysisData.recommend,(function(n,r){return t("div",{key:r,staticStyle:{"margin-bottom":"8px"}},[n.title.startsWith(e.chatMajorId)?e._e():t("a",{attrs:{href:"https://ai-yuliao.hep.com.cn"+n.url,target:"_blank"}},[e._v(e._s(n.title)+" ")])])})),0):e._e(),t("chat-tools",{attrs:{type:"error",chatId:e.chatId,detailData:e.detailData},on:{"on-reanswer":e.reanswer}})],1)])},fs=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"check-content",staticStyle:{width:"24px","margin-right":"16px"}},[t("img",{staticStyle:{width:"24px"},attrs:{src:r(689)}})])}],ps={name:"ErrorChart",components:{ChatTools:hs},props:{questionStem:{},businessSource:{type:String,default:""}},data(){return{detailData:{},analysisData:{},chatId:"",chatMajorId:"",allIdWithStart:!0}},watch:{questionStem:{handler(){this.questionStem&&this.getErrorAnalysis()},immediate:!0}},methods:{async getErrorAnalysis(){try{this.analysisData={};const e=await qr({courseId:this.questionStem.courseId,busId:this.questionStem.busId,questionType:this.questionStem.type,title:this.questionStem.title,answer:this.questionStem.answer.join(","),studentAnswer:this.questionStem.studentAnswer.join(","),optionList:this.questionStem.options}),{eaAnalysisDtoList:[{content:t,errId:n,chatId:r,contentId:s,type:i}],xhModelDetailVoList:o}=e;o&&(this.chatMajorId=o[0].chatMajorId),this.chatId=r,this.detailData={msgId:s,zan:1===i,cai:2===i},this.$emit("on-init",o,r);try{if(this.analysisData=JSON.parse(t),this.detailData.errId=n,this.analysisData.recommend&&this.analysisData.recommend.length>0)for(let e of this.analysisData.recommend)e.title.startsWith(this.chatMajorId)||(this.allIdWithStart=!1)}catch(wr){this.$message.warning("解析失败"+wr),this.analysisData={key:!0},console.log(wr)}}catch(wr){throw new Error(wr)}},async reanswer(e){const t={...this.analysisData};this.analysisData={};const n=await Zr(e.errId);if(!n)return void(this.analysisData={...t});const{eaAnalysisDtoList:[{content:r,errId:s,contentId:i,type:o}]}=n;this.detailData={msgId:i,zan:1===o,cai:2===o};try{this.analysisData=JSON.parse(r),this.detailData.errId=s}catch(wr){this.$message.warn("解析失败"),this.analysisData={key:!0},console.log(wr)}}}},gs=ps,ms=ls(gs,ds,fs,!1,null,"0ace6e87",null),ys=ms.exports;function ws(e,t,n){return(t=As(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function As(e){var t=bs(e,"string");return"symbol"==typeof t?t:t+""}function bs(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function vs(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let ks=vs();function xs(e){ks=e}const Ss=/[&<>"']/,Es=new RegExp(Ss.source,"g"),_s=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Rs=new RegExp(_s.source,"g"),Cs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Bs=e=>Cs[e];function Is(e,t){if(t){if(Ss.test(e))return e.replace(Es,Bs)}else if(_s.test(e))return e.replace(Rs,Bs);return e}const Os=/(^|[^\[])\^/g;function Ds(e,t){let n="string"===typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let s="string"===typeof t?t:t.source;return s=s.replace(Os,"$1"),n=n.replace(e,s),r},getRegex:()=>new RegExp(n,t)};return r}function Ts(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Us={exec:()=>null};function Ms(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,s=t;while(--s>=0&&"\\"===n[s])r=!r;return r?"|":" |"})),r=n.split(/ \|/);let s=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(/\\\|/g,"|");return r}function zs(e,t,n){const r=e.length;if(0===r)return"";let s=0;while(s<r){const i=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}else s++}return e.slice(0,r-s)}function js(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function Ns(e,t,n,r){const s=t.href,i=t.title?Is(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:s,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:i,text:Is(o)}}function Ps(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}class Ls{constructor(e){ws(this,"options",void 0),ws(this,"rules",void 0),ws(this,"lexer",void 0),this.options=e||ks}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:zs(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=Ps(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=zs(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:zs(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=zs(t[0],"\n").split("\n"),n="",r="";const s=[];while(e.length>0){let t=!1;const i=[];let o;for(o=0;o<e.length;o++)if(/^ {0,3}>/.test(e[o]))i.push(e[o]),t=!0;else{if(t)break;i.push(e[o])}e=e.slice(o);const a=i.join("\n"),c=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${c}`:c;const l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,s,!0),this.lexer.state.top=l,0===e.length)break;const u=s[s.length-1];if("code"===(null===u||void 0===u?void 0:u.type))break;if("blockquote"===(null===u||void 0===u?void 0:u.type)){const t=u,i=t.raw+"\n"+e.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if("list"!==(null===u||void 0===u?void 0:u.type));else{const t=u,i=t.raw+"\n"+e.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=i.substring(s[s.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const i=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let o=!1;while(e){let n=!1,r="",a="";if(!(t=i.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),l=e.split("\n",1)[0],u=!c.trim(),h=0;if(this.options.pedantic?(h=2,a=c.trimStart()):u?h=t[1].length+1:(h=t[2].search(/[^ ]/),h=h>4?1:h,a=c.slice(h),h+=t[1].length),u&&/^[ \t]*$/.test(l)&&(r+=l+"\n",e=e.substring(l.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),s=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),i=new RegExp(`^ {0,${Math.min(3,h-1)}}#`),o=new RegExp(`^ {0,${Math.min(3,h-1)}}<[a-z].*>`,"i");while(e){const d=e.split("\n",1)[0];let f;if(l=d,this.options.pedantic?(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),f=l):f=l.replace(/\t/g," "),s.test(l))break;if(i.test(l))break;if(o.test(l))break;if(t.test(l))break;if(n.test(l))break;if(f.search(/[^ ]/)>=h||!l.trim())a+="\n"+f.slice(h);else{if(u)break;if(c.replace(/\t/g," ").search(/[^ ]/)>=4)break;if(s.test(c))break;if(i.test(c))break;if(n.test(c))break;a+="\n"+l}u||l.trim()||(u=!0),r+=d+"\n",e=e.substring(d.length+1),c=f.slice(h)}}s.loose||(o?s.loose=!0:/\n[ \t]*\n[ \t]*$/.test(r)&&(o=!0));let d,f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(a),f&&(d="[ ] "!==f[0],a=a.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:r,task:!!f,checked:d,loose:!1,text:a,tokens:[]}),s.raw+=r}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]};return e}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=Ms(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?i.align.push("right"):/^ *:-+: *$/.test(e)?i.align.push("center"):/^ *:-+ *$/.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(const e of s)i.rows.push(Ms(e,i.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]}))));return i}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Is(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=zs(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=js(t[2],"()");if(e>-1){const n=0===t[0].indexOf("!")?5:4,r=n+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),Ns(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=(n[2]||n[1]).replace(/\s+/g," "),r=t[e.toLowerCase()];if(!r){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Ns(n,r,n[0],this.lexer)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const s=r[1]||r[2]||"";if(!s||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let s,i,o=n,a=0;const c="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;c.lastIndex=0,t=t.slice(-1*e.length+n);while(null!=(r=c.exec(t))){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(i=[...s].length,r[3]||r[4]){o+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){a+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+a);const t=[...r[0]][0].length,c=e.slice(0,n+r.index+t+i);if(Math.min(n,i)%2){const e=c.slice(1,-1);return{type:"em",raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}const l=c.slice(2,-2);return{type:"strong",raw:c,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=Is(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=Is(t[1]),n="mailto:"+e):(e=Is(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,s;if("@"===t[2])e=Is(t[0]),s="mailto:"+e;else{let i;do{var n,r;i=t[0],t[0]=null!==(n=null===(r=this.rules.inline._backpedal.exec(t[0]))||void 0===r?void 0:r[0])&&void 0!==n?n:""}while(i!==t[0]);e=Is(t[0]),s="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:s,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:Is(t[0]),{type:"text",raw:t[0],text:e}}}}const Fs=/^(?:[ \t]*(?:\n|$))+/,Hs=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Js=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Qs=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ws=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Gs=/(?:[*+-]|\d{1,9}[.)])/,qs=Ds(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Gs).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Zs=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Vs=/^[^\n]+/,Ks=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ys=Ds(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ks).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),$s=Ds(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Gs).getRegex(),Xs="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ei=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ti=Ds("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",ei).replace("tag",Xs).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ni=Ds(Zs).replace("hr",Qs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xs).getRegex(),ri=Ds(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ni).getRegex(),si={blockquote:ri,code:Hs,def:Ys,fences:Js,heading:Ws,hr:Qs,html:ti,lheading:qs,list:$s,newline:Fs,paragraph:ni,table:Us,text:Vs},ii=Ds("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Qs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xs).getRegex(),oi={...si,table:ii,paragraph:Ds(Zs).replace("hr",Qs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ii).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xs).getRegex()},ai={...si,html:Ds("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",ei).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Us,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ds(Zs).replace("hr",Qs).replace("heading"," *#{1,6} *[^\n]").replace("lheading",qs).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ci=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,li=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ui=/^( {2,}|\\)\n(?!\s*$)/,hi=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,di="\\p{P}\\p{S}",fi=Ds(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,di).getRegex(),pi=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,gi=Ds(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,di).getRegex(),mi=Ds("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,di).getRegex(),yi=Ds("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,di).getRegex(),wi=Ds(/\\([punct])/,"gu").replace(/punct/g,di).getRegex(),Ai=Ds(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),bi=Ds(ei).replace("(?:--\x3e|$)","--\x3e").getRegex(),vi=Ds("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",bi).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ki=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,xi=Ds(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ki).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Si=Ds(/^!?\[(label)\]\[(ref)\]/).replace("label",ki).replace("ref",Ks).getRegex(),Ei=Ds(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ks).getRegex(),_i=Ds("reflink|nolink(?!\\()","g").replace("reflink",Si).replace("nolink",Ei).getRegex(),Ri={_backpedal:Us,anyPunctuation:wi,autolink:Ai,blockSkip:pi,br:ui,code:li,del:Us,emStrongLDelim:gi,emStrongRDelimAst:mi,emStrongRDelimUnd:yi,escape:ci,link:xi,nolink:Ei,punctuation:fi,reflink:Si,reflinkSearch:_i,tag:vi,text:hi,url:Us},Ci={...Ri,link:Ds(/^!?\[(label)\]\((.*?)\)/).replace("label",ki).getRegex(),reflink:Ds(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ki).getRegex()},Bi={...Ri,escape:Ds(ci).replace("])","~|])").getRegex(),url:Ds(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Ii={...Bi,br:Ds(ui).replace("{2,}","*").getRegex(),text:Ds(Bi.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Oi={normal:si,gfm:oi,pedantic:ai},Di={normal:Ri,gfm:Bi,breaks:Ii,pedantic:Ci};class Ti{constructor(e){ws(this,"tokens",void 0),ws(this,"options",void 0),ws(this,"state",void 0),ws(this,"tokenizer",void 0),ws(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ks,this.options.tokenizer=this.options.tokenizer||new Ls,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:Oi.normal,inline:Di.normal};this.options.pedantic?(t.block=Oi.pedantic,t.inline=Di.pedantic):this.options.gfm&&(t.block=Oi.gfm,this.options.breaks?t.inline=Di.breaks:t.inline=Di.gfm),this.tokenizer.rules=t}static get rules(){return{block:Oi,inline:Di}}static lex(e,t){const n=new Ti(t);return n.lex(e)}static lexInline(e,t){const n=new Ti(t);return n.inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e){let t,n,r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.options.pedantic&&(e=e.replace(/\t/g," ").replace(/^ +$/gm,""));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(t=n.call({lexer:this},e,s))&&(e=e.substring(t.raw.length),s.push(t),!0)))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&s.length>0?s[s.length-1].raw+="\n":s.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),n=s[s.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?s.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),n=s[s.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),s.push(t);else{if(r=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let s;this.options.extensions.startBlock.forEach((e=>{s=e.call({lexer:this},n),"number"===typeof s&&s>=0&&(t=Math.min(t,s))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}var o;if(this.state.top&&(t=this.tokenizer.paragraph(r)))n=s[s.length-1],i&&"paragraph"===(null===(o=n)||void 0===o?void 0:o.type)?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):s.push(t),i=r.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),n=s[s.length-1],n&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):s.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,s}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){let t,n,r,s,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)while(null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(c)))e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(s=this.tokenizer.rules.inline.blockSkip.exec(c)))c=c.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(c)))c=c.slice(0,s.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);while(e)if(i||(o=""),i=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(t=n.call({lexer:this},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),n=a[a.length-1],n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),n=a[a.length-1],n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(t=this.tokenizer.emStrong(e,c,o))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.autolink(e))e=e.substring(t.raw.length),a.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e))){if(r=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let s;this.options.extensions.startInline.forEach((e=>{s=e.call({lexer:this},n),"number"===typeof s&&s>=0&&(t=Math.min(t,s))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(r))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),i=!0,n=a[a.length-1],n&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(t.raw.length),a.push(t);return a}}class Ui{constructor(e){ws(this,"options",void 0),ws(this,"parser",void 0),this.options=e||ks}space(e){return""}code(e){var t;let{text:n,lang:r,escaped:s}=e;const i=null===(t=(r||"").match(/^\S*/))||void 0===t?void 0:t[0],o=n.replace(/\n$/,"")+"\n";return i?'<pre><code class="language-'+Is(i)+'">'+(s?o:Is(o,!0))+"</code></pre>\n":"<pre><code>"+(s?o:Is(o,!0))+"</code></pre>\n"}blockquote(e){let{tokens:t}=e;const n=this.parser.parse(t);return`<blockquote>\n${n}</blockquote>\n`}html(e){let{text:t}=e;return t}heading(e){let{tokens:t,depth:n}=e;return`<h${n}>${this.parser.parseInline(t)}</h${n}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let o=0;o<e.items.length;o++){const t=e.items[o];r+=this.listitem(t)}const s=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+s+i+">\n"+r+"</"+s+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox(e){let{checked:t}=e;return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){let{tokens:t}=e;return`<p>${this.parser.parseInline(t)}</p>\n`}table(e){let t="",n="";for(let s=0;s<e.header.length;s++)n+=this.tablecell(e.header[s]);t+=this.tablerow({text:n});let r="";for(let s=0;s<e.rows.length;s++){const t=e.rows[s];n="";for(let e=0;e<t.length;e++)n+=this.tablecell(t[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow(e){let{text:t}=e;return`<tr>\n${t}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td",r=e.align?`<${n} align="${e.align}">`:`<${n}>`;return r+t+`</${n}>\n`}strong(e){let{tokens:t}=e;return`<strong>${this.parser.parseInline(t)}</strong>`}em(e){let{tokens:t}=e;return`<em>${this.parser.parseInline(t)}</em>`}codespan(e){let{text:t}=e;return`<code>${t}</code>`}br(e){return"<br>"}del(e){let{tokens:t}=e;return`<del>${this.parser.parseInline(t)}</del>`}link(e){let{href:t,title:n,tokens:r}=e;const s=this.parser.parseInline(r),i=Ts(t);if(null===i)return s;t=i;let o='<a href="'+t+'"';return n&&(o+=' title="'+n+'"'),o+=">"+s+"</a>",o}image(e){let{href:t,title:n,text:r}=e;const s=Ts(t);if(null===s)return r;t=s;let i=`<img src="${t}" alt="${r}"`;return n&&(i+=` title="${n}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class Mi{strong(e){let{text:t}=e;return t}em(e){let{text:t}=e;return t}codespan(e){let{text:t}=e;return t}del(e){let{text:t}=e;return t}html(e){let{text:t}=e;return t}text(e){let{text:t}=e;return t}link(e){let{text:t}=e;return""+t}image(e){let{text:t}=e;return""+t}br(){return""}}class zi{constructor(e){ws(this,"options",void 0),ws(this,"renderer",void 0),ws(this,"textRenderer",void 0),this.options=e||ks,this.options.renderer=this.options.renderer||new Ui,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Mi}static parse(e,t){const n=new zi(t);return n.parse(e)}static parseInline(e,t){const n=new zi(t);return n.parseInline(e)}parse(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);while(r+1<e.length&&"text"===e[r+1].type)s=e[++r],o+="\n"+this.renderer.text(s);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o}]}):o;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}const i=s;switch(i.type){case"escape":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;case"text":n+=t.text(i);break;default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class ji{constructor(e){ws(this,"options",void 0),ws(this,"block",void 0),this.options=e||ks}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Ti.lex:Ti.lexInline}provideParser(){return this.block?zi.parse:zi.parseInline}}ws(ji,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Ni{constructor(){ws(this,"defaults",vs()),ws(this,"options",this.setOptions),ws(this,"parse",this.parseMarkdown(!0)),ws(this,"parseInline",this.parseMarkdown(!1)),ws(this,"Parser",zi),ws(this,"Renderer",Ui),ws(this,"TextRenderer",Mi),ws(this,"Lexer",Ti),ws(this,"Tokenizer",Ls),ws(this,"Hooks",ji),this.use(...arguments)}walkTokens(e,t){let n=[];for(const i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{const e=i;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=i;n=n.concat(this.walkTokens(e.items,t));break}default:{var r,s;const e=i;null!==(r=this.defaults.extensions)&&void 0!==r&&null!==(s=r.childTokens)&&void 0!==s&&s[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{const s=e[r].flat(1/0);n=n.concat(this.walkTokens(s,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){const e=this.defaults.extensions||{renderers:{},childTokens:{}};for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((t=>{const n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];let i=t.renderer.apply(this,r);return!1===i&&(i=n.apply(this,r)),i}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new Ui(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const r=n,s=t.renderer[r],i=e[r];e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=s.apply(e,n);return!1===o&&(o=i.apply(e,n)),o||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new Ls(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,s=t.tokenizer[r],i=e[r];e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=s.apply(e,n);return!1===o&&(o=i.apply(e,n)),o}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new ji;for(const n in t.hooks){if(!(n in e))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const r=n,s=t.hooks[r],i=e[r];ji.passThroughHooks.has(n)?e[r]=t=>{if(this.defaults.async)return Promise.resolve(s.call(e,t)).then((t=>i.call(e,t)));const n=s.call(e,t);return i.call(e,n)}:e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=s.apply(e,n);return!1===o&&(o=i.apply(e,n)),o}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Ti.lex(e,null!==t&&void 0!==t?t:this.defaults)}parser(e,t){return zi.parse(e,null!==t&&void 0!==t?t:this.defaults)}parseMarkdown(e){const t=(t,n)=>{const r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if("undefined"===typeof t||null===t)return i(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof t)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);const o=s.hooks?s.hooks.provideLexer():e?Ti.lex:Ti.lexInline,a=s.hooks?s.hooks.provideParser():e?zi.parse:zi.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then((e=>o(e,s))).then((e=>s.hooks?s.hooks.processAllTokens(e):e)).then((e=>s.walkTokens?Promise.all(this.walkTokens(e,s.walkTokens)).then((()=>e)):e)).then((e=>a(e,s))).then((e=>s.hooks?s.hooks.postprocess(e):e)).catch(i);try{s.hooks&&(t=s.hooks.preprocess(t));let e=o(t,s);s.hooks&&(e=s.hooks.processAllTokens(e)),s.walkTokens&&this.walkTokens(e,s.walkTokens);let n=a(e,s);return s.hooks&&(n=s.hooks.postprocess(n)),n}catch(wr){return i(wr)}};return t}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Is(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}}const Pi=new Ni;function Li(e,t){return Pi.parse(e,t)}Li.options=Li.setOptions=function(e){return Pi.setOptions(e),Li.defaults=Pi.defaults,xs(Li.defaults),Li},Li.getDefaults=vs,Li.defaults=ks,Li.use=function(){return Pi.use(...arguments),Li.defaults=Pi.defaults,xs(Li.defaults),Li},Li.walkTokens=function(e,t){return Pi.walkTokens(e,t)},Li.parseInline=Pi.parseInline,Li.Parser=zi,Li.parser=zi.parse,Li.Renderer=Ui,Li.TextRenderer=Mi,Li.Lexer=Ti,Li.lexer=Ti.lex,Li.Tokenizer=Ls,Li.Hooks=ji,Li.parse=Li;Li.options,Li.setOptions,Li.use,Li.walkTokens,Li.parseInline,zi.parse,Ti.lex;const Fi=new AbortController,Hi=Fi.signal;var Ji={name:"Chat",components:{ErrorChat:ys,ChatTools:hs},props:{analyExercise:{},keyWord:{type:String,default:""},businessSource:{type:String,default:""},resId:{type:String,default:""},xtId:{type:String,default:""},showMoreQA:{type:Boolean,default:!1},showFile:{type:Boolean,default:!1},avatarUrl:{type:String,default:""}},data(){return{popover:!1,input:"",errors:[],errorList:rs,cacheKeyWord:"",messageData:[],chatId:"",chatMajorId:"",finish:!1}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input}},watch:{keyWord:{handler(){this.keyWord&&(this.cacheKeyWord=this.keyWord,this.postMessage())},immediate:!0}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},scrollToBottom(){this.$refs.chatContainer.scrollTop=this.$refs.chatContainer.scrollHeight},async postMessage(e,t,n){let r={};this.finish=!1,e&&(e.sending=!0,r={reStatus:1,parentMsgId:e.parentMsgId,msgId:e.msgId,content:this.messageData[e.index-1].message},this.messageData[e.index].message="",this.messageData[e.index].cacheMessage="",this.makeAutoMessage());const s={messageList:[{content:this.keyWord||this.cacheKeyWord,resId:this.resId,chatId:this.chatId||void 0,commonKey:t||!1,parentMsgId:n||void 0,xtId:this.analyExercise.busId,...r}]};if(!e&&!t){const e=this.keyWord||this.cacheKeyWord;this.messageData.push({type:"user",message:e.replace(/\n/g,"<br>")}),setTimeout((()=>{this.messageData.push({type:"robot",message:"",cacheMessage:"",zan:!1,cai:!1,stop:!1,finish:!1,sending:!0,links:[],connectUrl:[],reAnswerCount:0}),this.makeAutoMessage()}))}await ns(s,Hi,(t=>{this.makeMessageLine(t,e)}))},makeAutoMessage(){const e=[];for(let t=0;t<this.messageData.length;t++){const n=this.messageData[t];e.push({role:"robot"===n.type?"assistant":"user",content:n.message||"正在思考中。"})}this.showMoreQA&&this.makeAutoQuestioning(e)},makeMessageLine(e,t){const{content:n,status:r,chatId:s,msgId:i,parentMsgId:o,reference:a,commonKey:c,connectUrl:l}=JSON.parse(e.data);let u=t?t.index:this.messageData.length-1;const h=this.messageData[u];let d=!0;if(2===r||1===r)return c?(h.sending=!0,void this.postMessage(t,c,o)):(h.finish=!0,a&&(h.links=JSON.parse(a),h.links.map((e=>{e.title.startsWith(this.chatMajorId)||(d=!1)}))),l&&(h.connectUrl=JSON.parse(l)),h.allIdWithStart=d,this.cacheKeyWord="",this.finish=!0,void this.$emit("on-message-finish",s));h.cacheMessage+=n,h.cacheMessage=h.cacheMessage.replace("```json{","```json\n{"),h.message=Li.parse(h.cacheMessage),h.msgId=i,h.parentMsgId=o,h.chatId=s,setTimeout((()=>{t||this.scrollToBottom()}),100),setTimeout((()=>h.sending=!1),500)},async makeAutoQuestioning(e){if(e.length<=2)return;const t=await es(this.chatMajorId,e),{message:{content:{followUps:n}}}=t;this.messageData[this.messageData.length-1].followUps=[],this.messageData[this.messageData.length-1].followUps=n.length>3?n.splice(0,3):n},onStopChat(e){this.$emit("on-message-finish",e.chatId)},selectModule(e){this.cacheKeyWord=e,this.postMessage()},async clearChat(){this.messageData.length<1?this.$message.warning("当前对话为最新对话"):(await $r(this.chatId),this.messageData=[],this.$message.success("对话清除成功!"))},reanswer(e,t){e.index=t,e.stop=!1,e.finish=!1,e.links=[],e.connectUrl=[],this.postMessage(e),this.$emit("on-reanser")},errorChatInit(e,t){if(e&&e[0].contents){const{chatMajorId:n}=e[0];this.chatMajorId=n&&n.toString();const r=[];e[0].contents.reverse().map((e=>{let t=!0;this.chatMajorId&&e.references&&e.references.map((e=>{e.title.startsWith(this.chatMajorId)||(t=!1)}));const n={type:"assistant"===e.role?"robot":"user",message:"assistant"===e.role?Li.parse(e.content||""):e.content.replace(/\n/g,"<br>"),zan:1===e.type,cai:2===e.type,stop:1===e.status,finish:!0,links:e.references||[],connectUrl:e.connectUrls||[],reAnswerCount:0,msgId:e.contentId,parentMsgId:e.parentMsgId,allIdWithStart:t};r.push(n)})),this.messageData=r,this.chatId=t}else this.messageData=[]},seeDetail(e,t){console.log(1234);const{pageIndex:n}=e,r=`${Wr}/#/pdf-view?documentUrl=${encodeURIComponent(t)}&pageIndex=${n}`;window.open(r,"_blank")}}},Qi=Ji,Wi=ls(Qi,a,c,!1,null,"3850420e",null),Gi=Wi.exports;
16
+ /*! js-cookie v3.0.5 | MIT */
17
+ function qi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Zi={read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Vi(e,t){function n(n,r,s){if("undefined"!==typeof document){s=qi({},t,s),"number"===typeof s.expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var o in s)s[o]&&(i+="; "+o,!0!==s[o]&&(i+="="+s[o].split(";")[0]));return document.cookie=n+"="+e.write(r,n)+i}}function r(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},s=0;s<n.length;s++){var i=n[s].split("="),o=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=e.read(o,a),t===a)break}catch(wr){}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,"",qi({},t,{expires:-1}))},withAttributes:function(e){return Vi(this.converter,qi({},this.attributes,e))},withConverter:function(e){return Vi(qi({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ki=Vi(Zi,{path:"/"}),Yi={name:"AiErrorAssistantMobile",components:{Chat:Gi},props:{visible:!0,analyExercise:{},businessSource:{type:String,default:""}},computed:{resId(){return this.analyExercise.courseId},xtId(){return this.analyExercise.busId}},watch:{visible(){this.visible&&Xr(this.resId).then((e=>{!0===e.flag?this.courseFlag=!0:(this.courseFlag=!1,this.message=e.message)}))}},data(){return{aiMessage:"",aiMessageKeyWord:"",stop:!1,courseFlag:!1,message:"",showMoreQA:!1,showFile:!1,avatarUrl:""}},mounted(){if(!Ki.get("token"))return this.$message.warning("未获取到登录信息,请重新登录");ss(Ki.get("token"),this.businessSource,(async()=>{const e=await ts(this.resId);if(!e)return;const{showMoreQA:t,isShowFile:n}=e;this.showMoreQA=t,this.showFile=!!n,this.avatarUrl=En.session.getJSON("USER_AVATAR_URL")}))},methods:{closeMessage(){this.stopMessage()&&this.$emit("close")},messageFinish(){this.stop=!1},clearChat(){this.stopMessage()&&this.$refs.chatRef.clearChat()},goChat(e){e.shiftKey||this.stopMessage()&&(this.aiMessage.length>6e3?this.$message.warning("文字长度不能超过3000字"):this.aiMessage.trim()?(this.aiMessageKeyWord=this.aiMessage,this.stop=!0,setTimeout((()=>{this.aiMessageKeyWord=this.aiMessage=""}),300)):this.$message.error("输入内容为空"))},reanserMethod(){this.stop=!0},stopMessage(){return!this.stop||(this.$message.warning("对话正在进行中,请稍后重试"),!1)}}},$i=Yi,Xi=ls($i,i,o,!1,null,"23c17acf",null),eo=Xi.exports;eo.install=function(e){e.component(eo.name,eo)};var to=eo;const no={AiErrorAssistantMobile:to},ro=function(e){ro.installed||Object.keys(no).forEach((t=>{e.component(no[t].name,no[t])}))};var so={install:ro},io=so}(),s}()}));
18
+ //# sourceMappingURL=ai-error-assistant-mobile.umd.min.js.map