index3.js 254 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005
  1. var dA = (M, n, A) => new Promise((D, w) => {
  2. var z = (Y) => {
  3. try {
  4. c(A.next(Y));
  5. } catch (B) {
  6. w(B);
  7. }
  8. }, l = (Y) => {
  9. try {
  10. c(A.throw(Y));
  11. } catch (B) {
  12. w(B);
  13. }
  14. }, c = (Y) => Y.done ? D(Y.value) : Promise.resolve(Y.value).then(z, l);
  15. c((A = A.apply(M, n)).next());
  16. });
  17. import { e as Og } from "./base64Util.js";
  18. import { c8 as I, dA as gw, c9 as Bw, n as PA, dB as ZB, dC as bB, dD as lB, dE as GB, ae as dB, dF as ww, dG as aB, dH as Dw, I as uB, dm as yB, B as XB, a7 as sw, a8 as ew, dI as mA, dJ as Kg, dK as Cw, y as tw, dL as jB, aB as Mw } from "./index2.js";
  19. import { openBlock as m, createElementBlock as T, normalizeStyle as vA, createElementVNode as V, withDirectives as xg, vShow as Zg, createVNode as o, Transition as vw, withCtx as F, normalizeClass as oA, toDisplayString as E, createCommentVNode as AA, Fragment as FA, renderList as bg, createTextVNode as $, createBlock as DA, resolveDynamicComponent as JA, resolveComponent as YA, withModifiers as jA, ref as MA, computed as rw, reactive as fw, onMounted as nw, unref as Eg, normalizeProps as zw, guardReactiveProps as Pw } from "vue";
  20. import { F as VB, _ as oB } from "./index5.js";
  21. import { T as cw, _ as Yw } from "./index13.js";
  22. import { S as FB } from "./index16.js";
  23. import { _ as Qw } from "./index10.js";
  24. import { useRoute as Ww, useRouter as Hw } from "vue-router";
  25. import { g as Lw } from "./account.js";
  26. import { T as Ow, P as xw, a as Zw } from "./index17.js";
  27. import { S as bw } from "./index9.js";
  28. import { C as lw } from "./index18.js";
  29. import { _ as Gw, a as dw } from "./index11.js";
  30. import { _ as aw } from "./index19.js";
  31. var NB = { exports: {} };
  32. function uw(M) {
  33. throw new Error('Could not dynamically require "' + M + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
  34. }
  35. var KA = { exports: {} }, Ig;
  36. function U() {
  37. return Ig || (Ig = 1, function(M, n) {
  38. (function(A, D) {
  39. M.exports = D();
  40. })(I, function() {
  41. var A = A || function(D, w) {
  42. var z;
  43. if (typeof window != "undefined" && window.crypto && (z = window.crypto), typeof self != "undefined" && self.crypto && (z = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (z = globalThis.crypto), !z && typeof window != "undefined" && window.msCrypto && (z = window.msCrypto), !z && typeof I != "undefined" && I.crypto && (z = I.crypto), !z && typeof uw == "function")
  44. try {
  45. z = gw;
  46. } catch (g) {
  47. }
  48. var l = function() {
  49. if (z) {
  50. if (typeof z.getRandomValues == "function")
  51. try {
  52. return z.getRandomValues(new Uint32Array(1))[0];
  53. } catch (g) {
  54. }
  55. if (typeof z.randomBytes == "function")
  56. try {
  57. return z.randomBytes(4).readInt32LE();
  58. } catch (g) {
  59. }
  60. }
  61. throw new Error("Native crypto module could not be used to get secure random number.");
  62. }, c = Object.create || /* @__PURE__ */ function() {
  63. function g() {
  64. }
  65. return function(C) {
  66. var r;
  67. return g.prototype = C, r = new g(), g.prototype = null, r;
  68. };
  69. }(), Y = {}, B = Y.lib = {}, s = B.Base = /* @__PURE__ */ function() {
  70. return {
  71. /**
  72. * Creates a new object that inherits from this object.
  73. *
  74. * @param {Object} overrides Properties to copy into the new object.
  75. *
  76. * @return {Object} The new object.
  77. *
  78. * @static
  79. *
  80. * @example
  81. *
  82. * var MyType = CryptoJS.lib.Base.extend({
  83. * field: 'value',
  84. *
  85. * method: function () {
  86. * }
  87. * });
  88. */
  89. extend: function(g) {
  90. var C = c(this);
  91. return g && C.mixIn(g), (!C.hasOwnProperty("init") || this.init === C.init) && (C.init = function() {
  92. C.$super.init.apply(this, arguments);
  93. }), C.init.prototype = C, C.$super = this, C;
  94. },
  95. /**
  96. * Extends this object and runs the init method.
  97. * Arguments to create() will be passed to init().
  98. *
  99. * @return {Object} The new object.
  100. *
  101. * @static
  102. *
  103. * @example
  104. *
  105. * var instance = MyType.create();
  106. */
  107. create: function() {
  108. var g = this.extend();
  109. return g.init.apply(g, arguments), g;
  110. },
  111. /**
  112. * Initializes a newly created object.
  113. * Override this method to add some logic when your objects are created.
  114. *
  115. * @example
  116. *
  117. * var MyType = CryptoJS.lib.Base.extend({
  118. * init: function () {
  119. * // ...
  120. * }
  121. * });
  122. */
  123. init: function() {
  124. },
  125. /**
  126. * Copies properties into this object.
  127. *
  128. * @param {Object} properties The properties to mix in.
  129. *
  130. * @example
  131. *
  132. * MyType.mixIn({
  133. * field: 'value'
  134. * });
  135. */
  136. mixIn: function(g) {
  137. for (var C in g)
  138. g.hasOwnProperty(C) && (this[C] = g[C]);
  139. g.hasOwnProperty("toString") && (this.toString = g.toString);
  140. },
  141. /**
  142. * Creates a copy of this object.
  143. *
  144. * @return {Object} The clone.
  145. *
  146. * @example
  147. *
  148. * var clone = instance.clone();
  149. */
  150. clone: function() {
  151. return this.init.prototype.extend(this);
  152. }
  153. };
  154. }(), Q = B.WordArray = s.extend({
  155. /**
  156. * Initializes a newly created word array.
  157. *
  158. * @param {Array} words (Optional) An array of 32-bit words.
  159. * @param {number} sigBytes (Optional) The number of significant bytes in the words.
  160. *
  161. * @example
  162. *
  163. * var wordArray = CryptoJS.lib.WordArray.create();
  164. * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
  165. * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
  166. */
  167. init: function(g, C) {
  168. g = this.words = g || [], C != w ? this.sigBytes = C : this.sigBytes = g.length * 4;
  169. },
  170. /**
  171. * Converts this word array to a string.
  172. *
  173. * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
  174. *
  175. * @return {string} The stringified word array.
  176. *
  177. * @example
  178. *
  179. * var string = wordArray + '';
  180. * var string = wordArray.toString();
  181. * var string = wordArray.toString(CryptoJS.enc.Utf8);
  182. */
  183. toString: function(g) {
  184. return (g || f).stringify(this);
  185. },
  186. /**
  187. * Concatenates a word array to this word array.
  188. *
  189. * @param {WordArray} wordArray The word array to append.
  190. *
  191. * @return {WordArray} This word array.
  192. *
  193. * @example
  194. *
  195. * wordArray1.concat(wordArray2);
  196. */
  197. concat: function(g) {
  198. var C = this.words, r = g.words, O = this.sigBytes, L = g.sigBytes;
  199. if (this.clamp(), O % 4)
  200. for (var Z = 0; Z < L; Z++) {
  201. var d = r[Z >>> 2] >>> 24 - Z % 4 * 8 & 255;
  202. C[O + Z >>> 2] |= d << 24 - (O + Z) % 4 * 8;
  203. }
  204. else
  205. for (var j = 0; j < L; j += 4)
  206. C[O + j >>> 2] = r[j >>> 2];
  207. return this.sigBytes += L, this;
  208. },
  209. /**
  210. * Removes insignificant bits.
  211. *
  212. * @example
  213. *
  214. * wordArray.clamp();
  215. */
  216. clamp: function() {
  217. var g = this.words, C = this.sigBytes;
  218. g[C >>> 2] &= 4294967295 << 32 - C % 4 * 8, g.length = D.ceil(C / 4);
  219. },
  220. /**
  221. * Creates a copy of this word array.
  222. *
  223. * @return {WordArray} The clone.
  224. *
  225. * @example
  226. *
  227. * var clone = wordArray.clone();
  228. */
  229. clone: function() {
  230. var g = s.clone.call(this);
  231. return g.words = this.words.slice(0), g;
  232. },
  233. /**
  234. * Creates a word array filled with random bytes.
  235. *
  236. * @param {number} nBytes The number of random bytes to generate.
  237. *
  238. * @return {WordArray} The random word array.
  239. *
  240. * @static
  241. *
  242. * @example
  243. *
  244. * var wordArray = CryptoJS.lib.WordArray.random(16);
  245. */
  246. random: function(g) {
  247. for (var C = [], r = 0; r < g; r += 4)
  248. C.push(l());
  249. return new Q.init(C, g);
  250. }
  251. }), e = Y.enc = {}, f = e.Hex = {
  252. /**
  253. * Converts a word array to a hex string.
  254. *
  255. * @param {WordArray} wordArray The word array.
  256. *
  257. * @return {string} The hex string.
  258. *
  259. * @static
  260. *
  261. * @example
  262. *
  263. * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
  264. */
  265. stringify: function(g) {
  266. for (var C = g.words, r = g.sigBytes, O = [], L = 0; L < r; L++) {
  267. var Z = C[L >>> 2] >>> 24 - L % 4 * 8 & 255;
  268. O.push((Z >>> 4).toString(16)), O.push((Z & 15).toString(16));
  269. }
  270. return O.join("");
  271. },
  272. /**
  273. * Converts a hex string to a word array.
  274. *
  275. * @param {string} hexStr The hex string.
  276. *
  277. * @return {WordArray} The word array.
  278. *
  279. * @static
  280. *
  281. * @example
  282. *
  283. * var wordArray = CryptoJS.enc.Hex.parse(hexString);
  284. */
  285. parse: function(g) {
  286. for (var C = g.length, r = [], O = 0; O < C; O += 2)
  287. r[O >>> 3] |= parseInt(g.substr(O, 2), 16) << 24 - O % 8 * 4;
  288. return new Q.init(r, C / 2);
  289. }
  290. }, t = e.Latin1 = {
  291. /**
  292. * Converts a word array to a Latin1 string.
  293. *
  294. * @param {WordArray} wordArray The word array.
  295. *
  296. * @return {string} The Latin1 string.
  297. *
  298. * @static
  299. *
  300. * @example
  301. *
  302. * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
  303. */
  304. stringify: function(g) {
  305. for (var C = g.words, r = g.sigBytes, O = [], L = 0; L < r; L++) {
  306. var Z = C[L >>> 2] >>> 24 - L % 4 * 8 & 255;
  307. O.push(String.fromCharCode(Z));
  308. }
  309. return O.join("");
  310. },
  311. /**
  312. * Converts a Latin1 string to a word array.
  313. *
  314. * @param {string} latin1Str The Latin1 string.
  315. *
  316. * @return {WordArray} The word array.
  317. *
  318. * @static
  319. *
  320. * @example
  321. *
  322. * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
  323. */
  324. parse: function(g) {
  325. for (var C = g.length, r = [], O = 0; O < C; O++)
  326. r[O >>> 2] |= (g.charCodeAt(O) & 255) << 24 - O % 4 * 8;
  327. return new Q.init(r, C);
  328. }
  329. }, P = e.Utf8 = {
  330. /**
  331. * Converts a word array to a UTF-8 string.
  332. *
  333. * @param {WordArray} wordArray The word array.
  334. *
  335. * @return {string} The UTF-8 string.
  336. *
  337. * @static
  338. *
  339. * @example
  340. *
  341. * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
  342. */
  343. stringify: function(g) {
  344. try {
  345. return decodeURIComponent(escape(t.stringify(g)));
  346. } catch (C) {
  347. throw new Error("Malformed UTF-8 data");
  348. }
  349. },
  350. /**
  351. * Converts a UTF-8 string to a word array.
  352. *
  353. * @param {string} utf8Str The UTF-8 string.
  354. *
  355. * @return {WordArray} The word array.
  356. *
  357. * @static
  358. *
  359. * @example
  360. *
  361. * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
  362. */
  363. parse: function(g) {
  364. return t.parse(unescape(encodeURIComponent(g)));
  365. }
  366. }, v = B.BufferedBlockAlgorithm = s.extend({
  367. /**
  368. * Resets this block algorithm's data buffer to its initial state.
  369. *
  370. * @example
  371. *
  372. * bufferedBlockAlgorithm.reset();
  373. */
  374. reset: function() {
  375. this._data = new Q.init(), this._nDataBytes = 0;
  376. },
  377. /**
  378. * Adds new data to this block algorithm's buffer.
  379. *
  380. * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
  381. *
  382. * @example
  383. *
  384. * bufferedBlockAlgorithm._append('data');
  385. * bufferedBlockAlgorithm._append(wordArray);
  386. */
  387. _append: function(g) {
  388. typeof g == "string" && (g = P.parse(g)), this._data.concat(g), this._nDataBytes += g.sigBytes;
  389. },
  390. /**
  391. * Processes available data blocks.
  392. *
  393. * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
  394. *
  395. * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
  396. *
  397. * @return {WordArray} The processed data.
  398. *
  399. * @example
  400. *
  401. * var processedData = bufferedBlockAlgorithm._process();
  402. * var processedData = bufferedBlockAlgorithm._process(!!'flush');
  403. */
  404. _process: function(g) {
  405. var C, r = this._data, O = r.words, L = r.sigBytes, Z = this.blockSize, d = Z * 4, j = L / d;
  406. g ? j = D.ceil(j) : j = D.max((j | 0) - this._minBufferSize, 0);
  407. var W = j * Z, x = D.min(W * 4, L);
  408. if (W) {
  409. for (var u = 0; u < W; u += Z)
  410. this._doProcessBlock(O, u);
  411. C = O.splice(0, W), r.sigBytes -= x;
  412. }
  413. return new Q.init(C, x);
  414. },
  415. /**
  416. * Creates a copy of this object.
  417. *
  418. * @return {Object} The clone.
  419. *
  420. * @example
  421. *
  422. * var clone = bufferedBlockAlgorithm.clone();
  423. */
  424. clone: function() {
  425. var g = s.clone.call(this);
  426. return g._data = this._data.clone(), g;
  427. },
  428. _minBufferSize: 0
  429. });
  430. B.Hasher = v.extend({
  431. /**
  432. * Configuration options.
  433. */
  434. cfg: s.extend(),
  435. /**
  436. * Initializes a newly created hasher.
  437. *
  438. * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
  439. *
  440. * @example
  441. *
  442. * var hasher = CryptoJS.algo.SHA256.create();
  443. */
  444. init: function(g) {
  445. this.cfg = this.cfg.extend(g), this.reset();
  446. },
  447. /**
  448. * Resets this hasher to its initial state.
  449. *
  450. * @example
  451. *
  452. * hasher.reset();
  453. */
  454. reset: function() {
  455. v.reset.call(this), this._doReset();
  456. },
  457. /**
  458. * Updates this hasher with a message.
  459. *
  460. * @param {WordArray|string} messageUpdate The message to append.
  461. *
  462. * @return {Hasher} This hasher.
  463. *
  464. * @example
  465. *
  466. * hasher.update('message');
  467. * hasher.update(wordArray);
  468. */
  469. update: function(g) {
  470. return this._append(g), this._process(), this;
  471. },
  472. /**
  473. * Finalizes the hash computation.
  474. * Note that the finalize operation is effectively a destructive, read-once operation.
  475. *
  476. * @param {WordArray|string} messageUpdate (Optional) A final message update.
  477. *
  478. * @return {WordArray} The hash.
  479. *
  480. * @example
  481. *
  482. * var hash = hasher.finalize();
  483. * var hash = hasher.finalize('message');
  484. * var hash = hasher.finalize(wordArray);
  485. */
  486. finalize: function(g) {
  487. g && this._append(g);
  488. var C = this._doFinalize();
  489. return C;
  490. },
  491. blockSize: 16,
  492. /**
  493. * Creates a shortcut function to a hasher's object interface.
  494. *
  495. * @param {Hasher} hasher The hasher to create a helper for.
  496. *
  497. * @return {Function} The shortcut function.
  498. *
  499. * @static
  500. *
  501. * @example
  502. *
  503. * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
  504. */
  505. _createHelper: function(g) {
  506. return function(C, r) {
  507. return new g.init(r).finalize(C);
  508. };
  509. },
  510. /**
  511. * Creates a shortcut function to the HMAC's object interface.
  512. *
  513. * @param {Hasher} hasher The hasher to use in this HMAC helper.
  514. *
  515. * @return {Function} The shortcut function.
  516. *
  517. * @static
  518. *
  519. * @example
  520. *
  521. * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
  522. */
  523. _createHmacHelper: function(g) {
  524. return function(C, r) {
  525. return new H.HMAC.init(g, r).finalize(C);
  526. };
  527. }
  528. });
  529. var H = Y.algo = {};
  530. return Y;
  531. }(Math);
  532. return A;
  533. });
  534. }(KA)), KA.exports;
  535. }
  536. var EA = { exports: {} }, pg;
  537. function kA() {
  538. return pg || (pg = 1, function(M, n) {
  539. (function(A, D) {
  540. M.exports = D(U());
  541. })(I, function(A) {
  542. return function(D) {
  543. var w = A, z = w.lib, l = z.Base, c = z.WordArray, Y = w.x64 = {};
  544. Y.Word = l.extend({
  545. /**
  546. * Initializes a newly created 64-bit word.
  547. *
  548. * @param {number} high The high 32 bits.
  549. * @param {number} low The low 32 bits.
  550. *
  551. * @example
  552. *
  553. * var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
  554. */
  555. init: function(B, s) {
  556. this.high = B, this.low = s;
  557. }
  558. /**
  559. * Bitwise NOTs this word.
  560. *
  561. * @return {X64Word} A new x64-Word object after negating.
  562. *
  563. * @example
  564. *
  565. * var negated = x64Word.not();
  566. */
  567. // not: function () {
  568. // var high = ~this.high;
  569. // var low = ~this.low;
  570. // return X64Word.create(high, low);
  571. // },
  572. /**
  573. * Bitwise ANDs this word with the passed word.
  574. *
  575. * @param {X64Word} word The x64-Word to AND with this word.
  576. *
  577. * @return {X64Word} A new x64-Word object after ANDing.
  578. *
  579. * @example
  580. *
  581. * var anded = x64Word.and(anotherX64Word);
  582. */
  583. // and: function (word) {
  584. // var high = this.high & word.high;
  585. // var low = this.low & word.low;
  586. // return X64Word.create(high, low);
  587. // },
  588. /**
  589. * Bitwise ORs this word with the passed word.
  590. *
  591. * @param {X64Word} word The x64-Word to OR with this word.
  592. *
  593. * @return {X64Word} A new x64-Word object after ORing.
  594. *
  595. * @example
  596. *
  597. * var ored = x64Word.or(anotherX64Word);
  598. */
  599. // or: function (word) {
  600. // var high = this.high | word.high;
  601. // var low = this.low | word.low;
  602. // return X64Word.create(high, low);
  603. // },
  604. /**
  605. * Bitwise XORs this word with the passed word.
  606. *
  607. * @param {X64Word} word The x64-Word to XOR with this word.
  608. *
  609. * @return {X64Word} A new x64-Word object after XORing.
  610. *
  611. * @example
  612. *
  613. * var xored = x64Word.xor(anotherX64Word);
  614. */
  615. // xor: function (word) {
  616. // var high = this.high ^ word.high;
  617. // var low = this.low ^ word.low;
  618. // return X64Word.create(high, low);
  619. // },
  620. /**
  621. * Shifts this word n bits to the left.
  622. *
  623. * @param {number} n The number of bits to shift.
  624. *
  625. * @return {X64Word} A new x64-Word object after shifting.
  626. *
  627. * @example
  628. *
  629. * var shifted = x64Word.shiftL(25);
  630. */
  631. // shiftL: function (n) {
  632. // if (n < 32) {
  633. // var high = (this.high << n) | (this.low >>> (32 - n));
  634. // var low = this.low << n;
  635. // } else {
  636. // var high = this.low << (n - 32);
  637. // var low = 0;
  638. // }
  639. // return X64Word.create(high, low);
  640. // },
  641. /**
  642. * Shifts this word n bits to the right.
  643. *
  644. * @param {number} n The number of bits to shift.
  645. *
  646. * @return {X64Word} A new x64-Word object after shifting.
  647. *
  648. * @example
  649. *
  650. * var shifted = x64Word.shiftR(7);
  651. */
  652. // shiftR: function (n) {
  653. // if (n < 32) {
  654. // var low = (this.low >>> n) | (this.high << (32 - n));
  655. // var high = this.high >>> n;
  656. // } else {
  657. // var low = this.high >>> (n - 32);
  658. // var high = 0;
  659. // }
  660. // return X64Word.create(high, low);
  661. // },
  662. /**
  663. * Rotates this word n bits to the left.
  664. *
  665. * @param {number} n The number of bits to rotate.
  666. *
  667. * @return {X64Word} A new x64-Word object after rotating.
  668. *
  669. * @example
  670. *
  671. * var rotated = x64Word.rotL(25);
  672. */
  673. // rotL: function (n) {
  674. // return this.shiftL(n).or(this.shiftR(64 - n));
  675. // },
  676. /**
  677. * Rotates this word n bits to the right.
  678. *
  679. * @param {number} n The number of bits to rotate.
  680. *
  681. * @return {X64Word} A new x64-Word object after rotating.
  682. *
  683. * @example
  684. *
  685. * var rotated = x64Word.rotR(7);
  686. */
  687. // rotR: function (n) {
  688. // return this.shiftR(n).or(this.shiftL(64 - n));
  689. // },
  690. /**
  691. * Adds this word with the passed word.
  692. *
  693. * @param {X64Word} word The x64-Word to add with this word.
  694. *
  695. * @return {X64Word} A new x64-Word object after adding.
  696. *
  697. * @example
  698. *
  699. * var added = x64Word.add(anotherX64Word);
  700. */
  701. // add: function (word) {
  702. // var low = (this.low + word.low) | 0;
  703. // var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
  704. // var high = (this.high + word.high + carry) | 0;
  705. // return X64Word.create(high, low);
  706. // }
  707. }), Y.WordArray = l.extend({
  708. /**
  709. * Initializes a newly created word array.
  710. *
  711. * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
  712. * @param {number} sigBytes (Optional) The number of significant bytes in the words.
  713. *
  714. * @example
  715. *
  716. * var wordArray = CryptoJS.x64.WordArray.create();
  717. *
  718. * var wordArray = CryptoJS.x64.WordArray.create([
  719. * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
  720. * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
  721. * ]);
  722. *
  723. * var wordArray = CryptoJS.x64.WordArray.create([
  724. * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
  725. * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
  726. * ], 10);
  727. */
  728. init: function(B, s) {
  729. B = this.words = B || [], s != D ? this.sigBytes = s : this.sigBytes = B.length * 8;
  730. },
  731. /**
  732. * Converts this 64-bit word array to a 32-bit word array.
  733. *
  734. * @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
  735. *
  736. * @example
  737. *
  738. * var x32WordArray = x64WordArray.toX32();
  739. */
  740. toX32: function() {
  741. for (var B = this.words, s = B.length, Q = [], e = 0; e < s; e++) {
  742. var f = B[e];
  743. Q.push(f.high), Q.push(f.low);
  744. }
  745. return c.create(Q, this.sigBytes);
  746. },
  747. /**
  748. * Creates a copy of this word array.
  749. *
  750. * @return {X64WordArray} The clone.
  751. *
  752. * @example
  753. *
  754. * var clone = x64WordArray.clone();
  755. */
  756. clone: function() {
  757. for (var B = l.clone.call(this), s = B.words = this.words.slice(0), Q = s.length, e = 0; e < Q; e++)
  758. s[e] = s[e].clone();
  759. return B;
  760. }
  761. });
  762. }(), A;
  763. });
  764. }(EA)), EA.exports;
  765. }
  766. var IA = { exports: {} }, Tg;
  767. function yw() {
  768. return Tg || (Tg = 1, function(M, n) {
  769. (function(A, D) {
  770. M.exports = D(U());
  771. })(I, function(A) {
  772. return function() {
  773. if (typeof ArrayBuffer == "function") {
  774. var D = A, w = D.lib, z = w.WordArray, l = z.init, c = z.init = function(Y) {
  775. if (Y instanceof ArrayBuffer && (Y = new Uint8Array(Y)), (Y instanceof Int8Array || typeof Uint8ClampedArray != "undefined" && Y instanceof Uint8ClampedArray || Y instanceof Int16Array || Y instanceof Uint16Array || Y instanceof Int32Array || Y instanceof Uint32Array || Y instanceof Float32Array || Y instanceof Float64Array) && (Y = new Uint8Array(Y.buffer, Y.byteOffset, Y.byteLength)), Y instanceof Uint8Array) {
  776. for (var B = Y.byteLength, s = [], Q = 0; Q < B; Q++)
  777. s[Q >>> 2] |= Y[Q] << 24 - Q % 4 * 8;
  778. l.call(this, s, B);
  779. } else
  780. l.apply(this, arguments);
  781. };
  782. c.prototype = z;
  783. }
  784. }(), A.lib.WordArray;
  785. });
  786. }(IA)), IA.exports;
  787. }
  788. var pA = { exports: {} }, Sg;
  789. function Xw() {
  790. return Sg || (Sg = 1, function(M, n) {
  791. (function(A, D) {
  792. M.exports = D(U());
  793. })(I, function(A) {
  794. return function() {
  795. var D = A, w = D.lib, z = w.WordArray, l = D.enc;
  796. l.Utf16 = l.Utf16BE = {
  797. /**
  798. * Converts a word array to a UTF-16 BE string.
  799. *
  800. * @param {WordArray} wordArray The word array.
  801. *
  802. * @return {string} The UTF-16 BE string.
  803. *
  804. * @static
  805. *
  806. * @example
  807. *
  808. * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
  809. */
  810. stringify: function(Y) {
  811. for (var B = Y.words, s = Y.sigBytes, Q = [], e = 0; e < s; e += 2) {
  812. var f = B[e >>> 2] >>> 16 - e % 4 * 8 & 65535;
  813. Q.push(String.fromCharCode(f));
  814. }
  815. return Q.join("");
  816. },
  817. /**
  818. * Converts a UTF-16 BE string to a word array.
  819. *
  820. * @param {string} utf16Str The UTF-16 BE string.
  821. *
  822. * @return {WordArray} The word array.
  823. *
  824. * @static
  825. *
  826. * @example
  827. *
  828. * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
  829. */
  830. parse: function(Y) {
  831. for (var B = Y.length, s = [], Q = 0; Q < B; Q++)
  832. s[Q >>> 1] |= Y.charCodeAt(Q) << 16 - Q % 2 * 16;
  833. return z.create(s, B * 2);
  834. }
  835. }, l.Utf16LE = {
  836. /**
  837. * Converts a word array to a UTF-16 LE string.
  838. *
  839. * @param {WordArray} wordArray The word array.
  840. *
  841. * @return {string} The UTF-16 LE string.
  842. *
  843. * @static
  844. *
  845. * @example
  846. *
  847. * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
  848. */
  849. stringify: function(Y) {
  850. for (var B = Y.words, s = Y.sigBytes, Q = [], e = 0; e < s; e += 2) {
  851. var f = c(B[e >>> 2] >>> 16 - e % 4 * 8 & 65535);
  852. Q.push(String.fromCharCode(f));
  853. }
  854. return Q.join("");
  855. },
  856. /**
  857. * Converts a UTF-16 LE string to a word array.
  858. *
  859. * @param {string} utf16Str The UTF-16 LE string.
  860. *
  861. * @return {WordArray} The word array.
  862. *
  863. * @static
  864. *
  865. * @example
  866. *
  867. * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
  868. */
  869. parse: function(Y) {
  870. for (var B = Y.length, s = [], Q = 0; Q < B; Q++)
  871. s[Q >>> 1] |= c(Y.charCodeAt(Q) << 16 - Q % 2 * 16);
  872. return z.create(s, B * 2);
  873. }
  874. };
  875. function c(Y) {
  876. return Y << 8 & 4278255360 | Y >>> 8 & 16711935;
  877. }
  878. }(), A.enc.Utf16;
  879. });
  880. }(pA)), pA.exports;
  881. }
  882. var TA = { exports: {} }, Ug;
  883. function OA() {
  884. return Ug || (Ug = 1, function(M, n) {
  885. (function(A, D) {
  886. M.exports = D(U());
  887. })(I, function(A) {
  888. return function() {
  889. var D = A, w = D.lib, z = w.WordArray, l = D.enc;
  890. l.Base64 = {
  891. /**
  892. * Converts a word array to a Base64 string.
  893. *
  894. * @param {WordArray} wordArray The word array.
  895. *
  896. * @return {string} The Base64 string.
  897. *
  898. * @static
  899. *
  900. * @example
  901. *
  902. * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
  903. */
  904. stringify: function(Y) {
  905. var B = Y.words, s = Y.sigBytes, Q = this._map;
  906. Y.clamp();
  907. for (var e = [], f = 0; f < s; f += 3)
  908. for (var t = B[f >>> 2] >>> 24 - f % 4 * 8 & 255, P = B[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, v = B[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, H = t << 16 | P << 8 | v, g = 0; g < 4 && f + g * 0.75 < s; g++)
  909. e.push(Q.charAt(H >>> 6 * (3 - g) & 63));
  910. var C = Q.charAt(64);
  911. if (C)
  912. for (; e.length % 4; )
  913. e.push(C);
  914. return e.join("");
  915. },
  916. /**
  917. * Converts a Base64 string to a word array.
  918. *
  919. * @param {string} base64Str The Base64 string.
  920. *
  921. * @return {WordArray} The word array.
  922. *
  923. * @static
  924. *
  925. * @example
  926. *
  927. * var wordArray = CryptoJS.enc.Base64.parse(base64String);
  928. */
  929. parse: function(Y) {
  930. var B = Y.length, s = this._map, Q = this._reverseMap;
  931. if (!Q) {
  932. Q = this._reverseMap = [];
  933. for (var e = 0; e < s.length; e++)
  934. Q[s.charCodeAt(e)] = e;
  935. }
  936. var f = s.charAt(64);
  937. if (f) {
  938. var t = Y.indexOf(f);
  939. t !== -1 && (B = t);
  940. }
  941. return c(Y, B, Q);
  942. },
  943. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
  944. };
  945. function c(Y, B, s) {
  946. for (var Q = [], e = 0, f = 0; f < B; f++)
  947. if (f % 4) {
  948. var t = s[Y.charCodeAt(f - 1)] << f % 4 * 2, P = s[Y.charCodeAt(f)] >>> 6 - f % 4 * 2, v = t | P;
  949. Q[e >>> 2] |= v << 24 - e % 4 * 8, e++;
  950. }
  951. return z.create(Q, e);
  952. }
  953. }(), A.enc.Base64;
  954. });
  955. }(TA)), TA.exports;
  956. }
  957. var SA = { exports: {} }, ig;
  958. function jw() {
  959. return ig || (ig = 1, function(M, n) {
  960. (function(A, D) {
  961. M.exports = D(U());
  962. })(I, function(A) {
  963. return function() {
  964. var D = A, w = D.lib, z = w.WordArray, l = D.enc;
  965. l.Base64url = {
  966. /**
  967. * Converts a word array to a Base64url string.
  968. *
  969. * @param {WordArray} wordArray The word array.
  970. *
  971. * @param {boolean} urlSafe Whether to use url safe
  972. *
  973. * @return {string} The Base64url string.
  974. *
  975. * @static
  976. *
  977. * @example
  978. *
  979. * var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
  980. */
  981. stringify: function(Y, B) {
  982. B === void 0 && (B = !0);
  983. var s = Y.words, Q = Y.sigBytes, e = B ? this._safe_map : this._map;
  984. Y.clamp();
  985. for (var f = [], t = 0; t < Q; t += 3)
  986. for (var P = s[t >>> 2] >>> 24 - t % 4 * 8 & 255, v = s[t + 1 >>> 2] >>> 24 - (t + 1) % 4 * 8 & 255, H = s[t + 2 >>> 2] >>> 24 - (t + 2) % 4 * 8 & 255, g = P << 16 | v << 8 | H, C = 0; C < 4 && t + C * 0.75 < Q; C++)
  987. f.push(e.charAt(g >>> 6 * (3 - C) & 63));
  988. var r = e.charAt(64);
  989. if (r)
  990. for (; f.length % 4; )
  991. f.push(r);
  992. return f.join("");
  993. },
  994. /**
  995. * Converts a Base64url string to a word array.
  996. *
  997. * @param {string} base64Str The Base64url string.
  998. *
  999. * @param {boolean} urlSafe Whether to use url safe
  1000. *
  1001. * @return {WordArray} The word array.
  1002. *
  1003. * @static
  1004. *
  1005. * @example
  1006. *
  1007. * var wordArray = CryptoJS.enc.Base64url.parse(base64String);
  1008. */
  1009. parse: function(Y, B) {
  1010. B === void 0 && (B = !0);
  1011. var s = Y.length, Q = B ? this._safe_map : this._map, e = this._reverseMap;
  1012. if (!e) {
  1013. e = this._reverseMap = [];
  1014. for (var f = 0; f < Q.length; f++)
  1015. e[Q.charCodeAt(f)] = f;
  1016. }
  1017. var t = Q.charAt(64);
  1018. if (t) {
  1019. var P = Y.indexOf(t);
  1020. P !== -1 && (s = P);
  1021. }
  1022. return c(Y, s, e);
  1023. },
  1024. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  1025. _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
  1026. };
  1027. function c(Y, B, s) {
  1028. for (var Q = [], e = 0, f = 0; f < B; f++)
  1029. if (f % 4) {
  1030. var t = s[Y.charCodeAt(f - 1)] << f % 4 * 2, P = s[Y.charCodeAt(f)] >>> 6 - f % 4 * 2, v = t | P;
  1031. Q[e >>> 2] |= v << 24 - e % 4 * 8, e++;
  1032. }
  1033. return z.create(Q, e);
  1034. }
  1035. }(), A.enc.Base64url;
  1036. });
  1037. }(SA)), SA.exports;
  1038. }
  1039. var UA = { exports: {} }, qg;
  1040. function xA() {
  1041. return qg || (qg = 1, function(M, n) {
  1042. (function(A, D) {
  1043. M.exports = D(U());
  1044. })(I, function(A) {
  1045. return function(D) {
  1046. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.algo, B = [];
  1047. (function() {
  1048. for (var P = 0; P < 64; P++)
  1049. B[P] = D.abs(D.sin(P + 1)) * 4294967296 | 0;
  1050. })();
  1051. var s = Y.MD5 = c.extend({
  1052. _doReset: function() {
  1053. this._hash = new l.init([
  1054. 1732584193,
  1055. 4023233417,
  1056. 2562383102,
  1057. 271733878
  1058. ]);
  1059. },
  1060. _doProcessBlock: function(P, v) {
  1061. for (var H = 0; H < 16; H++) {
  1062. var g = v + H, C = P[g];
  1063. P[g] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
  1064. }
  1065. var r = this._hash.words, O = P[v + 0], L = P[v + 1], Z = P[v + 2], d = P[v + 3], j = P[v + 4], W = P[v + 5], x = P[v + 6], u = P[v + 7], y = P[v + 8], N = P[v + 9], J = P[v + 10], K = P[v + 11], R = P[v + 12], i = P[v + 13], h = P[v + 14], q = P[v + 15], a = r[0], X = r[1], b = r[2], G = r[3];
  1066. a = Q(a, X, b, G, O, 7, B[0]), G = Q(G, a, X, b, L, 12, B[1]), b = Q(b, G, a, X, Z, 17, B[2]), X = Q(X, b, G, a, d, 22, B[3]), a = Q(a, X, b, G, j, 7, B[4]), G = Q(G, a, X, b, W, 12, B[5]), b = Q(b, G, a, X, x, 17, B[6]), X = Q(X, b, G, a, u, 22, B[7]), a = Q(a, X, b, G, y, 7, B[8]), G = Q(G, a, X, b, N, 12, B[9]), b = Q(b, G, a, X, J, 17, B[10]), X = Q(X, b, G, a, K, 22, B[11]), a = Q(a, X, b, G, R, 7, B[12]), G = Q(G, a, X, b, i, 12, B[13]), b = Q(b, G, a, X, h, 17, B[14]), X = Q(X, b, G, a, q, 22, B[15]), a = e(a, X, b, G, L, 5, B[16]), G = e(G, a, X, b, x, 9, B[17]), b = e(b, G, a, X, K, 14, B[18]), X = e(X, b, G, a, O, 20, B[19]), a = e(a, X, b, G, W, 5, B[20]), G = e(G, a, X, b, J, 9, B[21]), b = e(b, G, a, X, q, 14, B[22]), X = e(X, b, G, a, j, 20, B[23]), a = e(a, X, b, G, N, 5, B[24]), G = e(G, a, X, b, h, 9, B[25]), b = e(b, G, a, X, d, 14, B[26]), X = e(X, b, G, a, y, 20, B[27]), a = e(a, X, b, G, i, 5, B[28]), G = e(G, a, X, b, Z, 9, B[29]), b = e(b, G, a, X, u, 14, B[30]), X = e(X, b, G, a, R, 20, B[31]), a = f(a, X, b, G, W, 4, B[32]), G = f(G, a, X, b, y, 11, B[33]), b = f(b, G, a, X, K, 16, B[34]), X = f(X, b, G, a, h, 23, B[35]), a = f(a, X, b, G, L, 4, B[36]), G = f(G, a, X, b, j, 11, B[37]), b = f(b, G, a, X, u, 16, B[38]), X = f(X, b, G, a, J, 23, B[39]), a = f(a, X, b, G, i, 4, B[40]), G = f(G, a, X, b, O, 11, B[41]), b = f(b, G, a, X, d, 16, B[42]), X = f(X, b, G, a, x, 23, B[43]), a = f(a, X, b, G, N, 4, B[44]), G = f(G, a, X, b, R, 11, B[45]), b = f(b, G, a, X, q, 16, B[46]), X = f(X, b, G, a, Z, 23, B[47]), a = t(a, X, b, G, O, 6, B[48]), G = t(G, a, X, b, u, 10, B[49]), b = t(b, G, a, X, h, 15, B[50]), X = t(X, b, G, a, W, 21, B[51]), a = t(a, X, b, G, R, 6, B[52]), G = t(G, a, X, b, d, 10, B[53]), b = t(b, G, a, X, J, 15, B[54]), X = t(X, b, G, a, L, 21, B[55]), a = t(a, X, b, G, y, 6, B[56]), G = t(G, a, X, b, q, 10, B[57]), b = t(b, G, a, X, x, 15, B[58]), X = t(X, b, G, a, i, 21, B[59]), a = t(a, X, b, G, j, 6, B[60]), G = t(G, a, X, b, K, 10, B[61]), b = t(b, G, a, X, Z, 15, B[62]), X = t(X, b, G, a, N, 21, B[63]), r[0] = r[0] + a | 0, r[1] = r[1] + X | 0, r[2] = r[2] + b | 0, r[3] = r[3] + G | 0;
  1067. },
  1068. _doFinalize: function() {
  1069. var P = this._data, v = P.words, H = this._nDataBytes * 8, g = P.sigBytes * 8;
  1070. v[g >>> 5] |= 128 << 24 - g % 32;
  1071. var C = D.floor(H / 4294967296), r = H;
  1072. v[(g + 64 >>> 9 << 4) + 15] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, v[(g + 64 >>> 9 << 4) + 14] = (r << 8 | r >>> 24) & 16711935 | (r << 24 | r >>> 8) & 4278255360, P.sigBytes = (v.length + 1) * 4, this._process();
  1073. for (var O = this._hash, L = O.words, Z = 0; Z < 4; Z++) {
  1074. var d = L[Z];
  1075. L[Z] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360;
  1076. }
  1077. return O;
  1078. },
  1079. clone: function() {
  1080. var P = c.clone.call(this);
  1081. return P._hash = this._hash.clone(), P;
  1082. }
  1083. });
  1084. function Q(P, v, H, g, C, r, O) {
  1085. var L = P + (v & H | ~v & g) + C + O;
  1086. return (L << r | L >>> 32 - r) + v;
  1087. }
  1088. function e(P, v, H, g, C, r, O) {
  1089. var L = P + (v & g | H & ~g) + C + O;
  1090. return (L << r | L >>> 32 - r) + v;
  1091. }
  1092. function f(P, v, H, g, C, r, O) {
  1093. var L = P + (v ^ H ^ g) + C + O;
  1094. return (L << r | L >>> 32 - r) + v;
  1095. }
  1096. function t(P, v, H, g, C, r, O) {
  1097. var L = P + (H ^ (v | ~g)) + C + O;
  1098. return (L << r | L >>> 32 - r) + v;
  1099. }
  1100. w.MD5 = c._createHelper(s), w.HmacMD5 = c._createHmacHelper(s);
  1101. }(Math), A.MD5;
  1102. });
  1103. }(UA)), UA.exports;
  1104. }
  1105. var iA = { exports: {} }, hg;
  1106. function mB() {
  1107. return hg || (hg = 1, function(M, n) {
  1108. (function(A, D) {
  1109. M.exports = D(U());
  1110. })(I, function(A) {
  1111. return function() {
  1112. var D = A, w = D.lib, z = w.WordArray, l = w.Hasher, c = D.algo, Y = [], B = c.SHA1 = l.extend({
  1113. _doReset: function() {
  1114. this._hash = new z.init([
  1115. 1732584193,
  1116. 4023233417,
  1117. 2562383102,
  1118. 271733878,
  1119. 3285377520
  1120. ]);
  1121. },
  1122. _doProcessBlock: function(s, Q) {
  1123. for (var e = this._hash.words, f = e[0], t = e[1], P = e[2], v = e[3], H = e[4], g = 0; g < 80; g++) {
  1124. if (g < 16)
  1125. Y[g] = s[Q + g] | 0;
  1126. else {
  1127. var C = Y[g - 3] ^ Y[g - 8] ^ Y[g - 14] ^ Y[g - 16];
  1128. Y[g] = C << 1 | C >>> 31;
  1129. }
  1130. var r = (f << 5 | f >>> 27) + H + Y[g];
  1131. g < 20 ? r += (t & P | ~t & v) + 1518500249 : g < 40 ? r += (t ^ P ^ v) + 1859775393 : g < 60 ? r += (t & P | t & v | P & v) - 1894007588 : r += (t ^ P ^ v) - 899497514, H = v, v = P, P = t << 30 | t >>> 2, t = f, f = r;
  1132. }
  1133. e[0] = e[0] + f | 0, e[1] = e[1] + t | 0, e[2] = e[2] + P | 0, e[3] = e[3] + v | 0, e[4] = e[4] + H | 0;
  1134. },
  1135. _doFinalize: function() {
  1136. var s = this._data, Q = s.words, e = this._nDataBytes * 8, f = s.sigBytes * 8;
  1137. return Q[f >>> 5] |= 128 << 24 - f % 32, Q[(f + 64 >>> 9 << 4) + 14] = Math.floor(e / 4294967296), Q[(f + 64 >>> 9 << 4) + 15] = e, s.sigBytes = Q.length * 4, this._process(), this._hash;
  1138. },
  1139. clone: function() {
  1140. var s = l.clone.call(this);
  1141. return s._hash = this._hash.clone(), s;
  1142. }
  1143. });
  1144. D.SHA1 = l._createHelper(B), D.HmacSHA1 = l._createHmacHelper(B);
  1145. }(), A.SHA1;
  1146. });
  1147. }(iA)), iA.exports;
  1148. }
  1149. var qA = { exports: {} }, Rg;
  1150. function lg() {
  1151. return Rg || (Rg = 1, function(M, n) {
  1152. (function(A, D) {
  1153. M.exports = D(U());
  1154. })(I, function(A) {
  1155. return function(D) {
  1156. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.algo, B = [], s = [];
  1157. (function() {
  1158. function f(H) {
  1159. for (var g = D.sqrt(H), C = 2; C <= g; C++)
  1160. if (!(H % C))
  1161. return !1;
  1162. return !0;
  1163. }
  1164. function t(H) {
  1165. return (H - (H | 0)) * 4294967296 | 0;
  1166. }
  1167. for (var P = 2, v = 0; v < 64; )
  1168. f(P) && (v < 8 && (B[v] = t(D.pow(P, 1 / 2))), s[v] = t(D.pow(P, 1 / 3)), v++), P++;
  1169. })();
  1170. var Q = [], e = Y.SHA256 = c.extend({
  1171. _doReset: function() {
  1172. this._hash = new l.init(B.slice(0));
  1173. },
  1174. _doProcessBlock: function(f, t) {
  1175. for (var P = this._hash.words, v = P[0], H = P[1], g = P[2], C = P[3], r = P[4], O = P[5], L = P[6], Z = P[7], d = 0; d < 64; d++) {
  1176. if (d < 16)
  1177. Q[d] = f[t + d] | 0;
  1178. else {
  1179. var j = Q[d - 15], W = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, x = Q[d - 2], u = (x << 15 | x >>> 17) ^ (x << 13 | x >>> 19) ^ x >>> 10;
  1180. Q[d] = W + Q[d - 7] + u + Q[d - 16];
  1181. }
  1182. var y = r & O ^ ~r & L, N = v & H ^ v & g ^ H & g, J = (v << 30 | v >>> 2) ^ (v << 19 | v >>> 13) ^ (v << 10 | v >>> 22), K = (r << 26 | r >>> 6) ^ (r << 21 | r >>> 11) ^ (r << 7 | r >>> 25), R = Z + K + y + s[d] + Q[d], i = J + N;
  1183. Z = L, L = O, O = r, r = C + R | 0, C = g, g = H, H = v, v = R + i | 0;
  1184. }
  1185. P[0] = P[0] + v | 0, P[1] = P[1] + H | 0, P[2] = P[2] + g | 0, P[3] = P[3] + C | 0, P[4] = P[4] + r | 0, P[5] = P[5] + O | 0, P[6] = P[6] + L | 0, P[7] = P[7] + Z | 0;
  1186. },
  1187. _doFinalize: function() {
  1188. var f = this._data, t = f.words, P = this._nDataBytes * 8, v = f.sigBytes * 8;
  1189. return t[v >>> 5] |= 128 << 24 - v % 32, t[(v + 64 >>> 9 << 4) + 14] = D.floor(P / 4294967296), t[(v + 64 >>> 9 << 4) + 15] = P, f.sigBytes = t.length * 4, this._process(), this._hash;
  1190. },
  1191. clone: function() {
  1192. var f = c.clone.call(this);
  1193. return f._hash = this._hash.clone(), f;
  1194. }
  1195. });
  1196. w.SHA256 = c._createHelper(e), w.HmacSHA256 = c._createHmacHelper(e);
  1197. }(Math), A.SHA256;
  1198. });
  1199. }(qA)), qA.exports;
  1200. }
  1201. var hA = { exports: {} }, _g;
  1202. function Vw() {
  1203. return _g || (_g = 1, function(M, n) {
  1204. (function(A, D, w) {
  1205. M.exports = D(U(), lg());
  1206. })(I, function(A) {
  1207. return function() {
  1208. var D = A, w = D.lib, z = w.WordArray, l = D.algo, c = l.SHA256, Y = l.SHA224 = c.extend({
  1209. _doReset: function() {
  1210. this._hash = new z.init([
  1211. 3238371032,
  1212. 914150663,
  1213. 812702999,
  1214. 4144912697,
  1215. 4290775857,
  1216. 1750603025,
  1217. 1694076839,
  1218. 3204075428
  1219. ]);
  1220. },
  1221. _doFinalize: function() {
  1222. var B = c._doFinalize.call(this);
  1223. return B.sigBytes -= 4, B;
  1224. }
  1225. });
  1226. D.SHA224 = c._createHelper(Y), D.HmacSHA224 = c._createHmacHelper(Y);
  1227. }(), A.SHA224;
  1228. });
  1229. }(hA)), hA.exports;
  1230. }
  1231. var RA = { exports: {} }, $g;
  1232. function JB() {
  1233. return $g || ($g = 1, function(M, n) {
  1234. (function(A, D, w) {
  1235. M.exports = D(U(), kA());
  1236. })(I, function(A) {
  1237. return function() {
  1238. var D = A, w = D.lib, z = w.Hasher, l = D.x64, c = l.Word, Y = l.WordArray, B = D.algo;
  1239. function s() {
  1240. return c.create.apply(c, arguments);
  1241. }
  1242. var Q = [
  1243. s(1116352408, 3609767458),
  1244. s(1899447441, 602891725),
  1245. s(3049323471, 3964484399),
  1246. s(3921009573, 2173295548),
  1247. s(961987163, 4081628472),
  1248. s(1508970993, 3053834265),
  1249. s(2453635748, 2937671579),
  1250. s(2870763221, 3664609560),
  1251. s(3624381080, 2734883394),
  1252. s(310598401, 1164996542),
  1253. s(607225278, 1323610764),
  1254. s(1426881987, 3590304994),
  1255. s(1925078388, 4068182383),
  1256. s(2162078206, 991336113),
  1257. s(2614888103, 633803317),
  1258. s(3248222580, 3479774868),
  1259. s(3835390401, 2666613458),
  1260. s(4022224774, 944711139),
  1261. s(264347078, 2341262773),
  1262. s(604807628, 2007800933),
  1263. s(770255983, 1495990901),
  1264. s(1249150122, 1856431235),
  1265. s(1555081692, 3175218132),
  1266. s(1996064986, 2198950837),
  1267. s(2554220882, 3999719339),
  1268. s(2821834349, 766784016),
  1269. s(2952996808, 2566594879),
  1270. s(3210313671, 3203337956),
  1271. s(3336571891, 1034457026),
  1272. s(3584528711, 2466948901),
  1273. s(113926993, 3758326383),
  1274. s(338241895, 168717936),
  1275. s(666307205, 1188179964),
  1276. s(773529912, 1546045734),
  1277. s(1294757372, 1522805485),
  1278. s(1396182291, 2643833823),
  1279. s(1695183700, 2343527390),
  1280. s(1986661051, 1014477480),
  1281. s(2177026350, 1206759142),
  1282. s(2456956037, 344077627),
  1283. s(2730485921, 1290863460),
  1284. s(2820302411, 3158454273),
  1285. s(3259730800, 3505952657),
  1286. s(3345764771, 106217008),
  1287. s(3516065817, 3606008344),
  1288. s(3600352804, 1432725776),
  1289. s(4094571909, 1467031594),
  1290. s(275423344, 851169720),
  1291. s(430227734, 3100823752),
  1292. s(506948616, 1363258195),
  1293. s(659060556, 3750685593),
  1294. s(883997877, 3785050280),
  1295. s(958139571, 3318307427),
  1296. s(1322822218, 3812723403),
  1297. s(1537002063, 2003034995),
  1298. s(1747873779, 3602036899),
  1299. s(1955562222, 1575990012),
  1300. s(2024104815, 1125592928),
  1301. s(2227730452, 2716904306),
  1302. s(2361852424, 442776044),
  1303. s(2428436474, 593698344),
  1304. s(2756734187, 3733110249),
  1305. s(3204031479, 2999351573),
  1306. s(3329325298, 3815920427),
  1307. s(3391569614, 3928383900),
  1308. s(3515267271, 566280711),
  1309. s(3940187606, 3454069534),
  1310. s(4118630271, 4000239992),
  1311. s(116418474, 1914138554),
  1312. s(174292421, 2731055270),
  1313. s(289380356, 3203993006),
  1314. s(460393269, 320620315),
  1315. s(685471733, 587496836),
  1316. s(852142971, 1086792851),
  1317. s(1017036298, 365543100),
  1318. s(1126000580, 2618297676),
  1319. s(1288033470, 3409855158),
  1320. s(1501505948, 4234509866),
  1321. s(1607167915, 987167468),
  1322. s(1816402316, 1246189591)
  1323. ], e = [];
  1324. (function() {
  1325. for (var t = 0; t < 80; t++)
  1326. e[t] = s();
  1327. })();
  1328. var f = B.SHA512 = z.extend({
  1329. _doReset: function() {
  1330. this._hash = new Y.init([
  1331. new c.init(1779033703, 4089235720),
  1332. new c.init(3144134277, 2227873595),
  1333. new c.init(1013904242, 4271175723),
  1334. new c.init(2773480762, 1595750129),
  1335. new c.init(1359893119, 2917565137),
  1336. new c.init(2600822924, 725511199),
  1337. new c.init(528734635, 4215389547),
  1338. new c.init(1541459225, 327033209)
  1339. ]);
  1340. },
  1341. _doProcessBlock: function(t, P) {
  1342. for (var v = this._hash.words, H = v[0], g = v[1], C = v[2], r = v[3], O = v[4], L = v[5], Z = v[6], d = v[7], j = H.high, W = H.low, x = g.high, u = g.low, y = C.high, N = C.low, J = r.high, K = r.low, R = O.high, i = O.low, h = L.high, q = L.low, a = Z.high, X = Z.low, b = d.high, G = d.low, S = j, p = W, _ = x, k = u, rA = y, fA = N, aA = J, WA = K, sA = R, wA = i, ZA = h, HA = q, bA = a, nA = X, uA = b, LA = G, CA = 0; CA < 80; CA++) {
  1343. var eA, zA, BA = e[CA];
  1344. if (CA < 16)
  1345. zA = BA.high = t[P + CA * 2] | 0, eA = BA.low = t[P + CA * 2 + 1] | 0;
  1346. else {
  1347. var ag = e[CA - 15], lA = ag.high, yA = ag.low, EB = (lA >>> 1 | yA << 31) ^ (lA >>> 8 | yA << 24) ^ lA >>> 7, ug = (yA >>> 1 | lA << 31) ^ (yA >>> 8 | lA << 24) ^ (yA >>> 7 | lA << 25), yg = e[CA - 2], GA = yg.high, XA = yg.low, IB = (GA >>> 19 | XA << 13) ^ (GA << 3 | XA >>> 29) ^ GA >>> 6, Xg = (XA >>> 19 | GA << 13) ^ (XA << 3 | GA >>> 29) ^ (XA >>> 6 | GA << 26), jg = e[CA - 7], pB = jg.high, TB = jg.low, Vg = e[CA - 16], SB = Vg.high, og = Vg.low;
  1348. eA = ug + TB, zA = EB + pB + (eA >>> 0 < ug >>> 0 ? 1 : 0), eA = eA + Xg, zA = zA + IB + (eA >>> 0 < Xg >>> 0 ? 1 : 0), eA = eA + og, zA = zA + SB + (eA >>> 0 < og >>> 0 ? 1 : 0), BA.high = zA, BA.low = eA;
  1349. }
  1350. var UB = sA & ZA ^ ~sA & bA, Fg = wA & HA ^ ~wA & nA, iB = S & _ ^ S & rA ^ _ & rA, qB = p & k ^ p & fA ^ k & fA, hB = (S >>> 28 | p << 4) ^ (S << 30 | p >>> 2) ^ (S << 25 | p >>> 7), Ng = (p >>> 28 | S << 4) ^ (p << 30 | S >>> 2) ^ (p << 25 | S >>> 7), RB = (sA >>> 14 | wA << 18) ^ (sA >>> 18 | wA << 14) ^ (sA << 23 | wA >>> 9), _B = (wA >>> 14 | sA << 18) ^ (wA >>> 18 | sA << 14) ^ (wA << 23 | sA >>> 9), mg = Q[CA], $B = mg.high, Jg = mg.low, tA = LA + _B, cA = uA + RB + (tA >>> 0 < LA >>> 0 ? 1 : 0), tA = tA + Fg, cA = cA + UB + (tA >>> 0 < Fg >>> 0 ? 1 : 0), tA = tA + Jg, cA = cA + $B + (tA >>> 0 < Jg >>> 0 ? 1 : 0), tA = tA + eA, cA = cA + zA + (tA >>> 0 < eA >>> 0 ? 1 : 0), kg = Ng + qB, Aw = hB + iB + (kg >>> 0 < Ng >>> 0 ? 1 : 0);
  1351. uA = bA, LA = nA, bA = ZA, nA = HA, ZA = sA, HA = wA, wA = WA + tA | 0, sA = aA + cA + (wA >>> 0 < WA >>> 0 ? 1 : 0) | 0, aA = rA, WA = fA, rA = _, fA = k, _ = S, k = p, p = tA + kg | 0, S = cA + Aw + (p >>> 0 < tA >>> 0 ? 1 : 0) | 0;
  1352. }
  1353. W = H.low = W + p, H.high = j + S + (W >>> 0 < p >>> 0 ? 1 : 0), u = g.low = u + k, g.high = x + _ + (u >>> 0 < k >>> 0 ? 1 : 0), N = C.low = N + fA, C.high = y + rA + (N >>> 0 < fA >>> 0 ? 1 : 0), K = r.low = K + WA, r.high = J + aA + (K >>> 0 < WA >>> 0 ? 1 : 0), i = O.low = i + wA, O.high = R + sA + (i >>> 0 < wA >>> 0 ? 1 : 0), q = L.low = q + HA, L.high = h + ZA + (q >>> 0 < HA >>> 0 ? 1 : 0), X = Z.low = X + nA, Z.high = a + bA + (X >>> 0 < nA >>> 0 ? 1 : 0), G = d.low = G + LA, d.high = b + uA + (G >>> 0 < LA >>> 0 ? 1 : 0);
  1354. },
  1355. _doFinalize: function() {
  1356. var t = this._data, P = t.words, v = this._nDataBytes * 8, H = t.sigBytes * 8;
  1357. P[H >>> 5] |= 128 << 24 - H % 32, P[(H + 128 >>> 10 << 5) + 30] = Math.floor(v / 4294967296), P[(H + 128 >>> 10 << 5) + 31] = v, t.sigBytes = P.length * 4, this._process();
  1358. var g = this._hash.toX32();
  1359. return g;
  1360. },
  1361. clone: function() {
  1362. var t = z.clone.call(this);
  1363. return t._hash = this._hash.clone(), t;
  1364. },
  1365. blockSize: 1024 / 32
  1366. });
  1367. D.SHA512 = z._createHelper(f), D.HmacSHA512 = z._createHmacHelper(f);
  1368. }(), A.SHA512;
  1369. });
  1370. }(RA)), RA.exports;
  1371. }
  1372. var _A = { exports: {} }, AB;
  1373. function ow() {
  1374. return AB || (AB = 1, function(M, n) {
  1375. (function(A, D, w) {
  1376. M.exports = D(U(), kA(), JB());
  1377. })(I, function(A) {
  1378. return function() {
  1379. var D = A, w = D.x64, z = w.Word, l = w.WordArray, c = D.algo, Y = c.SHA512, B = c.SHA384 = Y.extend({
  1380. _doReset: function() {
  1381. this._hash = new l.init([
  1382. new z.init(3418070365, 3238371032),
  1383. new z.init(1654270250, 914150663),
  1384. new z.init(2438529370, 812702999),
  1385. new z.init(355462360, 4144912697),
  1386. new z.init(1731405415, 4290775857),
  1387. new z.init(2394180231, 1750603025),
  1388. new z.init(3675008525, 1694076839),
  1389. new z.init(1203062813, 3204075428)
  1390. ]);
  1391. },
  1392. _doFinalize: function() {
  1393. var s = Y._doFinalize.call(this);
  1394. return s.sigBytes -= 16, s;
  1395. }
  1396. });
  1397. D.SHA384 = Y._createHelper(B), D.HmacSHA384 = Y._createHmacHelper(B);
  1398. }(), A.SHA384;
  1399. });
  1400. }(_A)), _A.exports;
  1401. }
  1402. var $A = { exports: {} }, gB;
  1403. function Fw() {
  1404. return gB || (gB = 1, function(M, n) {
  1405. (function(A, D, w) {
  1406. M.exports = D(U(), kA());
  1407. })(I, function(A) {
  1408. return function(D) {
  1409. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.x64, B = Y.Word, s = w.algo, Q = [], e = [], f = [];
  1410. (function() {
  1411. for (var v = 1, H = 0, g = 0; g < 24; g++) {
  1412. Q[v + 5 * H] = (g + 1) * (g + 2) / 2 % 64;
  1413. var C = H % 5, r = (2 * v + 3 * H) % 5;
  1414. v = C, H = r;
  1415. }
  1416. for (var v = 0; v < 5; v++)
  1417. for (var H = 0; H < 5; H++)
  1418. e[v + 5 * H] = H + (2 * v + 3 * H) % 5 * 5;
  1419. for (var O = 1, L = 0; L < 24; L++) {
  1420. for (var Z = 0, d = 0, j = 0; j < 7; j++) {
  1421. if (O & 1) {
  1422. var W = (1 << j) - 1;
  1423. W < 32 ? d ^= 1 << W : Z ^= 1 << W - 32;
  1424. }
  1425. O & 128 ? O = O << 1 ^ 113 : O <<= 1;
  1426. }
  1427. f[L] = B.create(Z, d);
  1428. }
  1429. })();
  1430. var t = [];
  1431. (function() {
  1432. for (var v = 0; v < 25; v++)
  1433. t[v] = B.create();
  1434. })();
  1435. var P = s.SHA3 = c.extend({
  1436. /**
  1437. * Configuration options.
  1438. *
  1439. * @property {number} outputLength
  1440. * The desired number of bits in the output hash.
  1441. * Only values permitted are: 224, 256, 384, 512.
  1442. * Default: 512
  1443. */
  1444. cfg: c.cfg.extend({
  1445. outputLength: 512
  1446. }),
  1447. _doReset: function() {
  1448. for (var v = this._state = [], H = 0; H < 25; H++)
  1449. v[H] = new B.init();
  1450. this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
  1451. },
  1452. _doProcessBlock: function(v, H) {
  1453. for (var g = this._state, C = this.blockSize / 2, r = 0; r < C; r++) {
  1454. var O = v[H + 2 * r], L = v[H + 2 * r + 1];
  1455. O = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360, L = (L << 8 | L >>> 24) & 16711935 | (L << 24 | L >>> 8) & 4278255360;
  1456. var Z = g[r];
  1457. Z.high ^= L, Z.low ^= O;
  1458. }
  1459. for (var d = 0; d < 24; d++) {
  1460. for (var j = 0; j < 5; j++) {
  1461. for (var W = 0, x = 0, u = 0; u < 5; u++) {
  1462. var Z = g[j + 5 * u];
  1463. W ^= Z.high, x ^= Z.low;
  1464. }
  1465. var y = t[j];
  1466. y.high = W, y.low = x;
  1467. }
  1468. for (var j = 0; j < 5; j++)
  1469. for (var N = t[(j + 4) % 5], J = t[(j + 1) % 5], K = J.high, R = J.low, W = N.high ^ (K << 1 | R >>> 31), x = N.low ^ (R << 1 | K >>> 31), u = 0; u < 5; u++) {
  1470. var Z = g[j + 5 * u];
  1471. Z.high ^= W, Z.low ^= x;
  1472. }
  1473. for (var i = 1; i < 25; i++) {
  1474. var W, x, Z = g[i], h = Z.high, q = Z.low, a = Q[i];
  1475. a < 32 ? (W = h << a | q >>> 32 - a, x = q << a | h >>> 32 - a) : (W = q << a - 32 | h >>> 64 - a, x = h << a - 32 | q >>> 64 - a);
  1476. var X = t[e[i]];
  1477. X.high = W, X.low = x;
  1478. }
  1479. var b = t[0], G = g[0];
  1480. b.high = G.high, b.low = G.low;
  1481. for (var j = 0; j < 5; j++)
  1482. for (var u = 0; u < 5; u++) {
  1483. var i = j + 5 * u, Z = g[i], S = t[i], p = t[(j + 1) % 5 + 5 * u], _ = t[(j + 2) % 5 + 5 * u];
  1484. Z.high = S.high ^ ~p.high & _.high, Z.low = S.low ^ ~p.low & _.low;
  1485. }
  1486. var Z = g[0], k = f[d];
  1487. Z.high ^= k.high, Z.low ^= k.low;
  1488. }
  1489. },
  1490. _doFinalize: function() {
  1491. var v = this._data, H = v.words;
  1492. this._nDataBytes * 8;
  1493. var g = v.sigBytes * 8, C = this.blockSize * 32;
  1494. H[g >>> 5] |= 1 << 24 - g % 32, H[(D.ceil((g + 1) / C) * C >>> 5) - 1] |= 128, v.sigBytes = H.length * 4, this._process();
  1495. for (var r = this._state, O = this.cfg.outputLength / 8, L = O / 8, Z = [], d = 0; d < L; d++) {
  1496. var j = r[d], W = j.high, x = j.low;
  1497. W = (W << 8 | W >>> 24) & 16711935 | (W << 24 | W >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, Z.push(x), Z.push(W);
  1498. }
  1499. return new l.init(Z, O);
  1500. },
  1501. clone: function() {
  1502. for (var v = c.clone.call(this), H = v._state = this._state.slice(0), g = 0; g < 25; g++)
  1503. H[g] = H[g].clone();
  1504. return v;
  1505. }
  1506. });
  1507. w.SHA3 = c._createHelper(P), w.HmacSHA3 = c._createHmacHelper(P);
  1508. }(Math), A.SHA3;
  1509. });
  1510. }($A)), $A.exports;
  1511. }
  1512. var Ag = { exports: {} }, BB;
  1513. function Nw() {
  1514. return BB || (BB = 1, function(M, n) {
  1515. (function(A, D) {
  1516. M.exports = D(U());
  1517. })(I, function(A) {
  1518. /** @preserve
  1519. (c) 2012 by Cédric Mesnil. All rights reserved.
  1520. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  1521. - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  1522. - 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.
  1523. 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.
  1524. */
  1525. return function(D) {
  1526. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.algo, B = l.create([
  1527. 0,
  1528. 1,
  1529. 2,
  1530. 3,
  1531. 4,
  1532. 5,
  1533. 6,
  1534. 7,
  1535. 8,
  1536. 9,
  1537. 10,
  1538. 11,
  1539. 12,
  1540. 13,
  1541. 14,
  1542. 15,
  1543. 7,
  1544. 4,
  1545. 13,
  1546. 1,
  1547. 10,
  1548. 6,
  1549. 15,
  1550. 3,
  1551. 12,
  1552. 0,
  1553. 9,
  1554. 5,
  1555. 2,
  1556. 14,
  1557. 11,
  1558. 8,
  1559. 3,
  1560. 10,
  1561. 14,
  1562. 4,
  1563. 9,
  1564. 15,
  1565. 8,
  1566. 1,
  1567. 2,
  1568. 7,
  1569. 0,
  1570. 6,
  1571. 13,
  1572. 11,
  1573. 5,
  1574. 12,
  1575. 1,
  1576. 9,
  1577. 11,
  1578. 10,
  1579. 0,
  1580. 8,
  1581. 12,
  1582. 4,
  1583. 13,
  1584. 3,
  1585. 7,
  1586. 15,
  1587. 14,
  1588. 5,
  1589. 6,
  1590. 2,
  1591. 4,
  1592. 0,
  1593. 5,
  1594. 9,
  1595. 7,
  1596. 12,
  1597. 2,
  1598. 10,
  1599. 14,
  1600. 1,
  1601. 3,
  1602. 8,
  1603. 11,
  1604. 6,
  1605. 15,
  1606. 13
  1607. ]), s = l.create([
  1608. 5,
  1609. 14,
  1610. 7,
  1611. 0,
  1612. 9,
  1613. 2,
  1614. 11,
  1615. 4,
  1616. 13,
  1617. 6,
  1618. 15,
  1619. 8,
  1620. 1,
  1621. 10,
  1622. 3,
  1623. 12,
  1624. 6,
  1625. 11,
  1626. 3,
  1627. 7,
  1628. 0,
  1629. 13,
  1630. 5,
  1631. 10,
  1632. 14,
  1633. 15,
  1634. 8,
  1635. 12,
  1636. 4,
  1637. 9,
  1638. 1,
  1639. 2,
  1640. 15,
  1641. 5,
  1642. 1,
  1643. 3,
  1644. 7,
  1645. 14,
  1646. 6,
  1647. 9,
  1648. 11,
  1649. 8,
  1650. 12,
  1651. 2,
  1652. 10,
  1653. 0,
  1654. 4,
  1655. 13,
  1656. 8,
  1657. 6,
  1658. 4,
  1659. 1,
  1660. 3,
  1661. 11,
  1662. 15,
  1663. 0,
  1664. 5,
  1665. 12,
  1666. 2,
  1667. 13,
  1668. 9,
  1669. 7,
  1670. 10,
  1671. 14,
  1672. 12,
  1673. 15,
  1674. 10,
  1675. 4,
  1676. 1,
  1677. 5,
  1678. 8,
  1679. 7,
  1680. 6,
  1681. 2,
  1682. 13,
  1683. 14,
  1684. 0,
  1685. 3,
  1686. 9,
  1687. 11
  1688. ]), Q = l.create([
  1689. 11,
  1690. 14,
  1691. 15,
  1692. 12,
  1693. 5,
  1694. 8,
  1695. 7,
  1696. 9,
  1697. 11,
  1698. 13,
  1699. 14,
  1700. 15,
  1701. 6,
  1702. 7,
  1703. 9,
  1704. 8,
  1705. 7,
  1706. 6,
  1707. 8,
  1708. 13,
  1709. 11,
  1710. 9,
  1711. 7,
  1712. 15,
  1713. 7,
  1714. 12,
  1715. 15,
  1716. 9,
  1717. 11,
  1718. 7,
  1719. 13,
  1720. 12,
  1721. 11,
  1722. 13,
  1723. 6,
  1724. 7,
  1725. 14,
  1726. 9,
  1727. 13,
  1728. 15,
  1729. 14,
  1730. 8,
  1731. 13,
  1732. 6,
  1733. 5,
  1734. 12,
  1735. 7,
  1736. 5,
  1737. 11,
  1738. 12,
  1739. 14,
  1740. 15,
  1741. 14,
  1742. 15,
  1743. 9,
  1744. 8,
  1745. 9,
  1746. 14,
  1747. 5,
  1748. 6,
  1749. 8,
  1750. 6,
  1751. 5,
  1752. 12,
  1753. 9,
  1754. 15,
  1755. 5,
  1756. 11,
  1757. 6,
  1758. 8,
  1759. 13,
  1760. 12,
  1761. 5,
  1762. 12,
  1763. 13,
  1764. 14,
  1765. 11,
  1766. 8,
  1767. 5,
  1768. 6
  1769. ]), e = l.create([
  1770. 8,
  1771. 9,
  1772. 9,
  1773. 11,
  1774. 13,
  1775. 15,
  1776. 15,
  1777. 5,
  1778. 7,
  1779. 7,
  1780. 8,
  1781. 11,
  1782. 14,
  1783. 14,
  1784. 12,
  1785. 6,
  1786. 9,
  1787. 13,
  1788. 15,
  1789. 7,
  1790. 12,
  1791. 8,
  1792. 9,
  1793. 11,
  1794. 7,
  1795. 7,
  1796. 12,
  1797. 7,
  1798. 6,
  1799. 15,
  1800. 13,
  1801. 11,
  1802. 9,
  1803. 7,
  1804. 15,
  1805. 11,
  1806. 8,
  1807. 6,
  1808. 6,
  1809. 14,
  1810. 12,
  1811. 13,
  1812. 5,
  1813. 14,
  1814. 13,
  1815. 13,
  1816. 7,
  1817. 5,
  1818. 15,
  1819. 5,
  1820. 8,
  1821. 11,
  1822. 14,
  1823. 14,
  1824. 6,
  1825. 14,
  1826. 6,
  1827. 9,
  1828. 12,
  1829. 9,
  1830. 12,
  1831. 5,
  1832. 15,
  1833. 8,
  1834. 8,
  1835. 5,
  1836. 12,
  1837. 9,
  1838. 12,
  1839. 5,
  1840. 14,
  1841. 6,
  1842. 8,
  1843. 13,
  1844. 6,
  1845. 5,
  1846. 15,
  1847. 13,
  1848. 11,
  1849. 11
  1850. ]), f = l.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), t = l.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), P = Y.RIPEMD160 = c.extend({
  1851. _doReset: function() {
  1852. this._hash = l.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
  1853. },
  1854. _doProcessBlock: function(L, Z) {
  1855. for (var d = 0; d < 16; d++) {
  1856. var j = Z + d, W = L[j];
  1857. L[j] = (W << 8 | W >>> 24) & 16711935 | (W << 24 | W >>> 8) & 4278255360;
  1858. }
  1859. var x = this._hash.words, u = f.words, y = t.words, N = B.words, J = s.words, K = Q.words, R = e.words, i, h, q, a, X, b, G, S, p, _;
  1860. b = i = x[0], G = h = x[1], S = q = x[2], p = a = x[3], _ = X = x[4];
  1861. for (var k, d = 0; d < 80; d += 1)
  1862. k = i + L[Z + N[d]] | 0, d < 16 ? k += v(h, q, a) + u[0] : d < 32 ? k += H(h, q, a) + u[1] : d < 48 ? k += g(h, q, a) + u[2] : d < 64 ? k += C(h, q, a) + u[3] : k += r(h, q, a) + u[4], k = k | 0, k = O(k, K[d]), k = k + X | 0, i = X, X = a, a = O(q, 10), q = h, h = k, k = b + L[Z + J[d]] | 0, d < 16 ? k += r(G, S, p) + y[0] : d < 32 ? k += C(G, S, p) + y[1] : d < 48 ? k += g(G, S, p) + y[2] : d < 64 ? k += H(G, S, p) + y[3] : k += v(G, S, p) + y[4], k = k | 0, k = O(k, R[d]), k = k + _ | 0, b = _, _ = p, p = O(S, 10), S = G, G = k;
  1863. k = x[1] + q + p | 0, x[1] = x[2] + a + _ | 0, x[2] = x[3] + X + b | 0, x[3] = x[4] + i + G | 0, x[4] = x[0] + h + S | 0, x[0] = k;
  1864. },
  1865. _doFinalize: function() {
  1866. var L = this._data, Z = L.words, d = this._nDataBytes * 8, j = L.sigBytes * 8;
  1867. Z[j >>> 5] |= 128 << 24 - j % 32, Z[(j + 64 >>> 9 << 4) + 14] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, L.sigBytes = (Z.length + 1) * 4, this._process();
  1868. for (var W = this._hash, x = W.words, u = 0; u < 5; u++) {
  1869. var y = x[u];
  1870. x[u] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
  1871. }
  1872. return W;
  1873. },
  1874. clone: function() {
  1875. var L = c.clone.call(this);
  1876. return L._hash = this._hash.clone(), L;
  1877. }
  1878. });
  1879. function v(L, Z, d) {
  1880. return L ^ Z ^ d;
  1881. }
  1882. function H(L, Z, d) {
  1883. return L & Z | ~L & d;
  1884. }
  1885. function g(L, Z, d) {
  1886. return (L | ~Z) ^ d;
  1887. }
  1888. function C(L, Z, d) {
  1889. return L & d | Z & ~d;
  1890. }
  1891. function r(L, Z, d) {
  1892. return L ^ (Z | ~d);
  1893. }
  1894. function O(L, Z) {
  1895. return L << Z | L >>> 32 - Z;
  1896. }
  1897. w.RIPEMD160 = c._createHelper(P), w.HmacRIPEMD160 = c._createHmacHelper(P);
  1898. }(), A.RIPEMD160;
  1899. });
  1900. }(Ag)), Ag.exports;
  1901. }
  1902. var gg = { exports: {} }, wB;
  1903. function Gg() {
  1904. return wB || (wB = 1, function(M, n) {
  1905. (function(A, D) {
  1906. M.exports = D(U());
  1907. })(I, function(A) {
  1908. (function() {
  1909. var D = A, w = D.lib, z = w.Base, l = D.enc, c = l.Utf8, Y = D.algo;
  1910. Y.HMAC = z.extend({
  1911. /**
  1912. * Initializes a newly created HMAC.
  1913. *
  1914. * @param {Hasher} hasher The hash algorithm to use.
  1915. * @param {WordArray|string} key The secret key.
  1916. *
  1917. * @example
  1918. *
  1919. * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
  1920. */
  1921. init: function(B, s) {
  1922. B = this._hasher = new B.init(), typeof s == "string" && (s = c.parse(s));
  1923. var Q = B.blockSize, e = Q * 4;
  1924. s.sigBytes > e && (s = B.finalize(s)), s.clamp();
  1925. for (var f = this._oKey = s.clone(), t = this._iKey = s.clone(), P = f.words, v = t.words, H = 0; H < Q; H++)
  1926. P[H] ^= 1549556828, v[H] ^= 909522486;
  1927. f.sigBytes = t.sigBytes = e, this.reset();
  1928. },
  1929. /**
  1930. * Resets this HMAC to its initial state.
  1931. *
  1932. * @example
  1933. *
  1934. * hmacHasher.reset();
  1935. */
  1936. reset: function() {
  1937. var B = this._hasher;
  1938. B.reset(), B.update(this._iKey);
  1939. },
  1940. /**
  1941. * Updates this HMAC with a message.
  1942. *
  1943. * @param {WordArray|string} messageUpdate The message to append.
  1944. *
  1945. * @return {HMAC} This HMAC instance.
  1946. *
  1947. * @example
  1948. *
  1949. * hmacHasher.update('message');
  1950. * hmacHasher.update(wordArray);
  1951. */
  1952. update: function(B) {
  1953. return this._hasher.update(B), this;
  1954. },
  1955. /**
  1956. * Finalizes the HMAC computation.
  1957. * Note that the finalize operation is effectively a destructive, read-once operation.
  1958. *
  1959. * @param {WordArray|string} messageUpdate (Optional) A final message update.
  1960. *
  1961. * @return {WordArray} The HMAC.
  1962. *
  1963. * @example
  1964. *
  1965. * var hmac = hmacHasher.finalize();
  1966. * var hmac = hmacHasher.finalize('message');
  1967. * var hmac = hmacHasher.finalize(wordArray);
  1968. */
  1969. finalize: function(B) {
  1970. var s = this._hasher, Q = s.finalize(B);
  1971. s.reset();
  1972. var e = s.finalize(this._oKey.clone().concat(Q));
  1973. return e;
  1974. }
  1975. });
  1976. })();
  1977. });
  1978. }(gg)), gg.exports;
  1979. }
  1980. var Bg = { exports: {} }, DB;
  1981. function mw() {
  1982. return DB || (DB = 1, function(M, n) {
  1983. (function(A, D, w) {
  1984. M.exports = D(U(), lg(), Gg());
  1985. })(I, function(A) {
  1986. return function() {
  1987. var D = A, w = D.lib, z = w.Base, l = w.WordArray, c = D.algo, Y = c.SHA256, B = c.HMAC, s = c.PBKDF2 = z.extend({
  1988. /**
  1989. * Configuration options.
  1990. *
  1991. * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
  1992. * @property {Hasher} hasher The hasher to use. Default: SHA256
  1993. * @property {number} iterations The number of iterations to perform. Default: 250000
  1994. */
  1995. cfg: z.extend({
  1996. keySize: 128 / 32,
  1997. hasher: Y,
  1998. iterations: 25e4
  1999. }),
  2000. /**
  2001. * Initializes a newly created key derivation function.
  2002. *
  2003. * @param {Object} cfg (Optional) The configuration options to use for the derivation.
  2004. *
  2005. * @example
  2006. *
  2007. * var kdf = CryptoJS.algo.PBKDF2.create();
  2008. * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
  2009. * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
  2010. */
  2011. init: function(Q) {
  2012. this.cfg = this.cfg.extend(Q);
  2013. },
  2014. /**
  2015. * Computes the Password-Based Key Derivation Function 2.
  2016. *
  2017. * @param {WordArray|string} password The password.
  2018. * @param {WordArray|string} salt A salt.
  2019. *
  2020. * @return {WordArray} The derived key.
  2021. *
  2022. * @example
  2023. *
  2024. * var key = kdf.compute(password, salt);
  2025. */
  2026. compute: function(Q, e) {
  2027. for (var f = this.cfg, t = B.create(f.hasher, Q), P = l.create(), v = l.create([1]), H = P.words, g = v.words, C = f.keySize, r = f.iterations; H.length < C; ) {
  2028. var O = t.update(e).finalize(v);
  2029. t.reset();
  2030. for (var L = O.words, Z = L.length, d = O, j = 1; j < r; j++) {
  2031. d = t.finalize(d), t.reset();
  2032. for (var W = d.words, x = 0; x < Z; x++)
  2033. L[x] ^= W[x];
  2034. }
  2035. P.concat(O), g[0]++;
  2036. }
  2037. return P.sigBytes = C * 4, P;
  2038. }
  2039. });
  2040. D.PBKDF2 = function(Q, e, f) {
  2041. return s.create(f).compute(Q, e);
  2042. };
  2043. }(), A.PBKDF2;
  2044. });
  2045. }(Bg)), Bg.exports;
  2046. }
  2047. var wg = { exports: {} }, sB;
  2048. function QA() {
  2049. return sB || (sB = 1, function(M, n) {
  2050. (function(A, D, w) {
  2051. M.exports = D(U(), mB(), Gg());
  2052. })(I, function(A) {
  2053. return function() {
  2054. var D = A, w = D.lib, z = w.Base, l = w.WordArray, c = D.algo, Y = c.MD5, B = c.EvpKDF = z.extend({
  2055. /**
  2056. * Configuration options.
  2057. *
  2058. * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
  2059. * @property {Hasher} hasher The hash algorithm to use. Default: MD5
  2060. * @property {number} iterations The number of iterations to perform. Default: 1
  2061. */
  2062. cfg: z.extend({
  2063. keySize: 128 / 32,
  2064. hasher: Y,
  2065. iterations: 1
  2066. }),
  2067. /**
  2068. * Initializes a newly created key derivation function.
  2069. *
  2070. * @param {Object} cfg (Optional) The configuration options to use for the derivation.
  2071. *
  2072. * @example
  2073. *
  2074. * var kdf = CryptoJS.algo.EvpKDF.create();
  2075. * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
  2076. * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
  2077. */
  2078. init: function(s) {
  2079. this.cfg = this.cfg.extend(s);
  2080. },
  2081. /**
  2082. * Derives a key from a password.
  2083. *
  2084. * @param {WordArray|string} password The password.
  2085. * @param {WordArray|string} salt A salt.
  2086. *
  2087. * @return {WordArray} The derived key.
  2088. *
  2089. * @example
  2090. *
  2091. * var key = kdf.compute(password, salt);
  2092. */
  2093. compute: function(s, Q) {
  2094. for (var e, f = this.cfg, t = f.hasher.create(), P = l.create(), v = P.words, H = f.keySize, g = f.iterations; v.length < H; ) {
  2095. e && t.update(e), e = t.update(s).finalize(Q), t.reset();
  2096. for (var C = 1; C < g; C++)
  2097. e = t.finalize(e), t.reset();
  2098. P.concat(e);
  2099. }
  2100. return P.sigBytes = H * 4, P;
  2101. }
  2102. });
  2103. D.EvpKDF = function(s, Q, e) {
  2104. return B.create(e).compute(s, Q);
  2105. };
  2106. }(), A.EvpKDF;
  2107. });
  2108. }(wg)), wg.exports;
  2109. }
  2110. var Dg = { exports: {} }, eB;
  2111. function gA() {
  2112. return eB || (eB = 1, function(M, n) {
  2113. (function(A, D, w) {
  2114. M.exports = D(U(), QA());
  2115. })(I, function(A) {
  2116. A.lib.Cipher || function(D) {
  2117. var w = A, z = w.lib, l = z.Base, c = z.WordArray, Y = z.BufferedBlockAlgorithm, B = w.enc;
  2118. B.Utf8;
  2119. var s = B.Base64, Q = w.algo, e = Q.EvpKDF, f = z.Cipher = Y.extend({
  2120. /**
  2121. * Configuration options.
  2122. *
  2123. * @property {WordArray} iv The IV to use for this operation.
  2124. */
  2125. cfg: l.extend(),
  2126. /**
  2127. * Creates this cipher in encryption mode.
  2128. *
  2129. * @param {WordArray} key The key.
  2130. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2131. *
  2132. * @return {Cipher} A cipher instance.
  2133. *
  2134. * @static
  2135. *
  2136. * @example
  2137. *
  2138. * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
  2139. */
  2140. createEncryptor: function(W, x) {
  2141. return this.create(this._ENC_XFORM_MODE, W, x);
  2142. },
  2143. /**
  2144. * Creates this cipher in decryption mode.
  2145. *
  2146. * @param {WordArray} key The key.
  2147. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2148. *
  2149. * @return {Cipher} A cipher instance.
  2150. *
  2151. * @static
  2152. *
  2153. * @example
  2154. *
  2155. * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
  2156. */
  2157. createDecryptor: function(W, x) {
  2158. return this.create(this._DEC_XFORM_MODE, W, x);
  2159. },
  2160. /**
  2161. * Initializes a newly created cipher.
  2162. *
  2163. * @param {number} xformMode Either the encryption or decryption transormation mode constant.
  2164. * @param {WordArray} key The key.
  2165. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2166. *
  2167. * @example
  2168. *
  2169. * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
  2170. */
  2171. init: function(W, x, u) {
  2172. this.cfg = this.cfg.extend(u), this._xformMode = W, this._key = x, this.reset();
  2173. },
  2174. /**
  2175. * Resets this cipher to its initial state.
  2176. *
  2177. * @example
  2178. *
  2179. * cipher.reset();
  2180. */
  2181. reset: function() {
  2182. Y.reset.call(this), this._doReset();
  2183. },
  2184. /**
  2185. * Adds data to be encrypted or decrypted.
  2186. *
  2187. * @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
  2188. *
  2189. * @return {WordArray} The data after processing.
  2190. *
  2191. * @example
  2192. *
  2193. * var encrypted = cipher.process('data');
  2194. * var encrypted = cipher.process(wordArray);
  2195. */
  2196. process: function(W) {
  2197. return this._append(W), this._process();
  2198. },
  2199. /**
  2200. * Finalizes the encryption or decryption process.
  2201. * Note that the finalize operation is effectively a destructive, read-once operation.
  2202. *
  2203. * @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
  2204. *
  2205. * @return {WordArray} The data after final processing.
  2206. *
  2207. * @example
  2208. *
  2209. * var encrypted = cipher.finalize();
  2210. * var encrypted = cipher.finalize('data');
  2211. * var encrypted = cipher.finalize(wordArray);
  2212. */
  2213. finalize: function(W) {
  2214. W && this._append(W);
  2215. var x = this._doFinalize();
  2216. return x;
  2217. },
  2218. keySize: 128 / 32,
  2219. ivSize: 128 / 32,
  2220. _ENC_XFORM_MODE: 1,
  2221. _DEC_XFORM_MODE: 2,
  2222. /**
  2223. * Creates shortcut functions to a cipher's object interface.
  2224. *
  2225. * @param {Cipher} cipher The cipher to create a helper for.
  2226. *
  2227. * @return {Object} An object with encrypt and decrypt shortcut functions.
  2228. *
  2229. * @static
  2230. *
  2231. * @example
  2232. *
  2233. * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
  2234. */
  2235. _createHelper: /* @__PURE__ */ function() {
  2236. function W(x) {
  2237. return typeof x == "string" ? j : L;
  2238. }
  2239. return function(x) {
  2240. return {
  2241. encrypt: function(u, y, N) {
  2242. return W(y).encrypt(x, u, y, N);
  2243. },
  2244. decrypt: function(u, y, N) {
  2245. return W(y).decrypt(x, u, y, N);
  2246. }
  2247. };
  2248. };
  2249. }()
  2250. });
  2251. z.StreamCipher = f.extend({
  2252. _doFinalize: function() {
  2253. var W = this._process(!0);
  2254. return W;
  2255. },
  2256. blockSize: 1
  2257. });
  2258. var t = w.mode = {}, P = z.BlockCipherMode = l.extend({
  2259. /**
  2260. * Creates this mode for encryption.
  2261. *
  2262. * @param {Cipher} cipher A block cipher instance.
  2263. * @param {Array} iv The IV words.
  2264. *
  2265. * @static
  2266. *
  2267. * @example
  2268. *
  2269. * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
  2270. */
  2271. createEncryptor: function(W, x) {
  2272. return this.Encryptor.create(W, x);
  2273. },
  2274. /**
  2275. * Creates this mode for decryption.
  2276. *
  2277. * @param {Cipher} cipher A block cipher instance.
  2278. * @param {Array} iv The IV words.
  2279. *
  2280. * @static
  2281. *
  2282. * @example
  2283. *
  2284. * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
  2285. */
  2286. createDecryptor: function(W, x) {
  2287. return this.Decryptor.create(W, x);
  2288. },
  2289. /**
  2290. * Initializes a newly created mode.
  2291. *
  2292. * @param {Cipher} cipher A block cipher instance.
  2293. * @param {Array} iv The IV words.
  2294. *
  2295. * @example
  2296. *
  2297. * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
  2298. */
  2299. init: function(W, x) {
  2300. this._cipher = W, this._iv = x;
  2301. }
  2302. }), v = t.CBC = function() {
  2303. var W = P.extend();
  2304. W.Encryptor = W.extend({
  2305. /**
  2306. * Processes the data block at offset.
  2307. *
  2308. * @param {Array} words The data words to operate on.
  2309. * @param {number} offset The offset where the block starts.
  2310. *
  2311. * @example
  2312. *
  2313. * mode.processBlock(data.words, offset);
  2314. */
  2315. processBlock: function(u, y) {
  2316. var N = this._cipher, J = N.blockSize;
  2317. x.call(this, u, y, J), N.encryptBlock(u, y), this._prevBlock = u.slice(y, y + J);
  2318. }
  2319. }), W.Decryptor = W.extend({
  2320. /**
  2321. * Processes the data block at offset.
  2322. *
  2323. * @param {Array} words The data words to operate on.
  2324. * @param {number} offset The offset where the block starts.
  2325. *
  2326. * @example
  2327. *
  2328. * mode.processBlock(data.words, offset);
  2329. */
  2330. processBlock: function(u, y) {
  2331. var N = this._cipher, J = N.blockSize, K = u.slice(y, y + J);
  2332. N.decryptBlock(u, y), x.call(this, u, y, J), this._prevBlock = K;
  2333. }
  2334. });
  2335. function x(u, y, N) {
  2336. var J, K = this._iv;
  2337. K ? (J = K, this._iv = D) : J = this._prevBlock;
  2338. for (var R = 0; R < N; R++)
  2339. u[y + R] ^= J[R];
  2340. }
  2341. return W;
  2342. }(), H = w.pad = {}, g = H.Pkcs7 = {
  2343. /**
  2344. * Pads data using the algorithm defined in PKCS #5/7.
  2345. *
  2346. * @param {WordArray} data The data to pad.
  2347. * @param {number} blockSize The multiple that the data should be padded to.
  2348. *
  2349. * @static
  2350. *
  2351. * @example
  2352. *
  2353. * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
  2354. */
  2355. pad: function(W, x) {
  2356. for (var u = x * 4, y = u - W.sigBytes % u, N = y << 24 | y << 16 | y << 8 | y, J = [], K = 0; K < y; K += 4)
  2357. J.push(N);
  2358. var R = c.create(J, y);
  2359. W.concat(R);
  2360. },
  2361. /**
  2362. * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
  2363. *
  2364. * @param {WordArray} data The data to unpad.
  2365. *
  2366. * @static
  2367. *
  2368. * @example
  2369. *
  2370. * CryptoJS.pad.Pkcs7.unpad(wordArray);
  2371. */
  2372. unpad: function(W) {
  2373. var x = W.words[W.sigBytes - 1 >>> 2] & 255;
  2374. W.sigBytes -= x;
  2375. }
  2376. };
  2377. z.BlockCipher = f.extend({
  2378. /**
  2379. * Configuration options.
  2380. *
  2381. * @property {Mode} mode The block mode to use. Default: CBC
  2382. * @property {Padding} padding The padding strategy to use. Default: Pkcs7
  2383. */
  2384. cfg: f.cfg.extend({
  2385. mode: v,
  2386. padding: g
  2387. }),
  2388. reset: function() {
  2389. var W;
  2390. f.reset.call(this);
  2391. var x = this.cfg, u = x.iv, y = x.mode;
  2392. this._xformMode == this._ENC_XFORM_MODE ? W = y.createEncryptor : (W = y.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == W ? this._mode.init(this, u && u.words) : (this._mode = W.call(y, this, u && u.words), this._mode.__creator = W);
  2393. },
  2394. _doProcessBlock: function(W, x) {
  2395. this._mode.processBlock(W, x);
  2396. },
  2397. _doFinalize: function() {
  2398. var W, x = this.cfg.padding;
  2399. return this._xformMode == this._ENC_XFORM_MODE ? (x.pad(this._data, this.blockSize), W = this._process(!0)) : (W = this._process(!0), x.unpad(W)), W;
  2400. },
  2401. blockSize: 128 / 32
  2402. });
  2403. var C = z.CipherParams = l.extend({
  2404. /**
  2405. * Initializes a newly created cipher params object.
  2406. *
  2407. * @param {Object} cipherParams An object with any of the possible cipher parameters.
  2408. *
  2409. * @example
  2410. *
  2411. * var cipherParams = CryptoJS.lib.CipherParams.create({
  2412. * ciphertext: ciphertextWordArray,
  2413. * key: keyWordArray,
  2414. * iv: ivWordArray,
  2415. * salt: saltWordArray,
  2416. * algorithm: CryptoJS.algo.AES,
  2417. * mode: CryptoJS.mode.CBC,
  2418. * padding: CryptoJS.pad.PKCS7,
  2419. * blockSize: 4,
  2420. * formatter: CryptoJS.format.OpenSSL
  2421. * });
  2422. */
  2423. init: function(W) {
  2424. this.mixIn(W);
  2425. },
  2426. /**
  2427. * Converts this cipher params object to a string.
  2428. *
  2429. * @param {Format} formatter (Optional) The formatting strategy to use.
  2430. *
  2431. * @return {string} The stringified cipher params.
  2432. *
  2433. * @throws Error If neither the formatter nor the default formatter is set.
  2434. *
  2435. * @example
  2436. *
  2437. * var string = cipherParams + '';
  2438. * var string = cipherParams.toString();
  2439. * var string = cipherParams.toString(CryptoJS.format.OpenSSL);
  2440. */
  2441. toString: function(W) {
  2442. return (W || this.formatter).stringify(this);
  2443. }
  2444. }), r = w.format = {}, O = r.OpenSSL = {
  2445. /**
  2446. * Converts a cipher params object to an OpenSSL-compatible string.
  2447. *
  2448. * @param {CipherParams} cipherParams The cipher params object.
  2449. *
  2450. * @return {string} The OpenSSL-compatible string.
  2451. *
  2452. * @static
  2453. *
  2454. * @example
  2455. *
  2456. * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
  2457. */
  2458. stringify: function(W) {
  2459. var x, u = W.ciphertext, y = W.salt;
  2460. return y ? x = c.create([1398893684, 1701076831]).concat(y).concat(u) : x = u, x.toString(s);
  2461. },
  2462. /**
  2463. * Converts an OpenSSL-compatible string to a cipher params object.
  2464. *
  2465. * @param {string} openSSLStr The OpenSSL-compatible string.
  2466. *
  2467. * @return {CipherParams} The cipher params object.
  2468. *
  2469. * @static
  2470. *
  2471. * @example
  2472. *
  2473. * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
  2474. */
  2475. parse: function(W) {
  2476. var x, u = s.parse(W), y = u.words;
  2477. return y[0] == 1398893684 && y[1] == 1701076831 && (x = c.create(y.slice(2, 4)), y.splice(0, 4), u.sigBytes -= 16), C.create({ ciphertext: u, salt: x });
  2478. }
  2479. }, L = z.SerializableCipher = l.extend({
  2480. /**
  2481. * Configuration options.
  2482. *
  2483. * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
  2484. */
  2485. cfg: l.extend({
  2486. format: O
  2487. }),
  2488. /**
  2489. * Encrypts a message.
  2490. *
  2491. * @param {Cipher} cipher The cipher algorithm to use.
  2492. * @param {WordArray|string} message The message to encrypt.
  2493. * @param {WordArray} key The key.
  2494. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2495. *
  2496. * @return {CipherParams} A cipher params object.
  2497. *
  2498. * @static
  2499. *
  2500. * @example
  2501. *
  2502. * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
  2503. * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
  2504. * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
  2505. */
  2506. encrypt: function(W, x, u, y) {
  2507. y = this.cfg.extend(y);
  2508. var N = W.createEncryptor(u, y), J = N.finalize(x), K = N.cfg;
  2509. return C.create({
  2510. ciphertext: J,
  2511. key: u,
  2512. iv: K.iv,
  2513. algorithm: W,
  2514. mode: K.mode,
  2515. padding: K.padding,
  2516. blockSize: W.blockSize,
  2517. formatter: y.format
  2518. });
  2519. },
  2520. /**
  2521. * Decrypts serialized ciphertext.
  2522. *
  2523. * @param {Cipher} cipher The cipher algorithm to use.
  2524. * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
  2525. * @param {WordArray} key The key.
  2526. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2527. *
  2528. * @return {WordArray} The plaintext.
  2529. *
  2530. * @static
  2531. *
  2532. * @example
  2533. *
  2534. * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
  2535. * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
  2536. */
  2537. decrypt: function(W, x, u, y) {
  2538. y = this.cfg.extend(y), x = this._parse(x, y.format);
  2539. var N = W.createDecryptor(u, y).finalize(x.ciphertext);
  2540. return N;
  2541. },
  2542. /**
  2543. * Converts serialized ciphertext to CipherParams,
  2544. * else assumed CipherParams already and returns ciphertext unchanged.
  2545. *
  2546. * @param {CipherParams|string} ciphertext The ciphertext.
  2547. * @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
  2548. *
  2549. * @return {CipherParams} The unserialized ciphertext.
  2550. *
  2551. * @static
  2552. *
  2553. * @example
  2554. *
  2555. * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
  2556. */
  2557. _parse: function(W, x) {
  2558. return typeof W == "string" ? x.parse(W, this) : W;
  2559. }
  2560. }), Z = w.kdf = {}, d = Z.OpenSSL = {
  2561. /**
  2562. * Derives a key and IV from a password.
  2563. *
  2564. * @param {string} password The password to derive from.
  2565. * @param {number} keySize The size in words of the key to generate.
  2566. * @param {number} ivSize The size in words of the IV to generate.
  2567. * @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
  2568. *
  2569. * @return {CipherParams} A cipher params object with the key, IV, and salt.
  2570. *
  2571. * @static
  2572. *
  2573. * @example
  2574. *
  2575. * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
  2576. * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
  2577. */
  2578. execute: function(W, x, u, y, N) {
  2579. if (y || (y = c.random(64 / 8)), N)
  2580. var J = e.create({ keySize: x + u, hasher: N }).compute(W, y);
  2581. else
  2582. var J = e.create({ keySize: x + u }).compute(W, y);
  2583. var K = c.create(J.words.slice(x), u * 4);
  2584. return J.sigBytes = x * 4, C.create({ key: J, iv: K, salt: y });
  2585. }
  2586. }, j = z.PasswordBasedCipher = L.extend({
  2587. /**
  2588. * Configuration options.
  2589. *
  2590. * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
  2591. */
  2592. cfg: L.cfg.extend({
  2593. kdf: d
  2594. }),
  2595. /**
  2596. * Encrypts a message using a password.
  2597. *
  2598. * @param {Cipher} cipher The cipher algorithm to use.
  2599. * @param {WordArray|string} message The message to encrypt.
  2600. * @param {string} password The password.
  2601. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2602. *
  2603. * @return {CipherParams} A cipher params object.
  2604. *
  2605. * @static
  2606. *
  2607. * @example
  2608. *
  2609. * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
  2610. * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
  2611. */
  2612. encrypt: function(W, x, u, y) {
  2613. y = this.cfg.extend(y);
  2614. var N = y.kdf.execute(u, W.keySize, W.ivSize, y.salt, y.hasher);
  2615. y.iv = N.iv;
  2616. var J = L.encrypt.call(this, W, x, N.key, y);
  2617. return J.mixIn(N), J;
  2618. },
  2619. /**
  2620. * Decrypts serialized ciphertext using a password.
  2621. *
  2622. * @param {Cipher} cipher The cipher algorithm to use.
  2623. * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
  2624. * @param {string} password The password.
  2625. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2626. *
  2627. * @return {WordArray} The plaintext.
  2628. *
  2629. * @static
  2630. *
  2631. * @example
  2632. *
  2633. * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
  2634. * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
  2635. */
  2636. decrypt: function(W, x, u, y) {
  2637. y = this.cfg.extend(y), x = this._parse(x, y.format);
  2638. var N = y.kdf.execute(u, W.keySize, W.ivSize, x.salt, y.hasher);
  2639. y.iv = N.iv;
  2640. var J = L.decrypt.call(this, W, x, N.key, y);
  2641. return J;
  2642. }
  2643. });
  2644. }();
  2645. });
  2646. }(Dg)), Dg.exports;
  2647. }
  2648. var sg = { exports: {} }, CB;
  2649. function Jw() {
  2650. return CB || (CB = 1, function(M, n) {
  2651. (function(A, D, w) {
  2652. M.exports = D(U(), gA());
  2653. })(I, function(A) {
  2654. return A.mode.CFB = function() {
  2655. var D = A.lib.BlockCipherMode.extend();
  2656. D.Encryptor = D.extend({
  2657. processBlock: function(z, l) {
  2658. var c = this._cipher, Y = c.blockSize;
  2659. w.call(this, z, l, Y, c), this._prevBlock = z.slice(l, l + Y);
  2660. }
  2661. }), D.Decryptor = D.extend({
  2662. processBlock: function(z, l) {
  2663. var c = this._cipher, Y = c.blockSize, B = z.slice(l, l + Y);
  2664. w.call(this, z, l, Y, c), this._prevBlock = B;
  2665. }
  2666. });
  2667. function w(z, l, c, Y) {
  2668. var B, s = this._iv;
  2669. s ? (B = s.slice(0), this._iv = void 0) : B = this._prevBlock, Y.encryptBlock(B, 0);
  2670. for (var Q = 0; Q < c; Q++)
  2671. z[l + Q] ^= B[Q];
  2672. }
  2673. return D;
  2674. }(), A.mode.CFB;
  2675. });
  2676. }(sg)), sg.exports;
  2677. }
  2678. var eg = { exports: {} }, tB;
  2679. function kw() {
  2680. return tB || (tB = 1, function(M, n) {
  2681. (function(A, D, w) {
  2682. M.exports = D(U(), gA());
  2683. })(I, function(A) {
  2684. return A.mode.CTR = function() {
  2685. var D = A.lib.BlockCipherMode.extend(), w = D.Encryptor = D.extend({
  2686. processBlock: function(z, l) {
  2687. var c = this._cipher, Y = c.blockSize, B = this._iv, s = this._counter;
  2688. B && (s = this._counter = B.slice(0), this._iv = void 0);
  2689. var Q = s.slice(0);
  2690. c.encryptBlock(Q, 0), s[Y - 1] = s[Y - 1] + 1 | 0;
  2691. for (var e = 0; e < Y; e++)
  2692. z[l + e] ^= Q[e];
  2693. }
  2694. });
  2695. return D.Decryptor = w, D;
  2696. }(), A.mode.CTR;
  2697. });
  2698. }(eg)), eg.exports;
  2699. }
  2700. var Cg = { exports: {} }, MB;
  2701. function Kw() {
  2702. return MB || (MB = 1, function(M, n) {
  2703. (function(A, D, w) {
  2704. M.exports = D(U(), gA());
  2705. })(I, function(A) {
  2706. /** @preserve
  2707. * Counter block mode compatible with Dr Brian Gladman fileenc.c
  2708. * derived from CryptoJS.mode.CTR
  2709. * Jan Hruby jhruby.web@gmail.com
  2710. */
  2711. return A.mode.CTRGladman = function() {
  2712. var D = A.lib.BlockCipherMode.extend();
  2713. function w(c) {
  2714. if ((c >> 24 & 255) === 255) {
  2715. var Y = c >> 16 & 255, B = c >> 8 & 255, s = c & 255;
  2716. Y === 255 ? (Y = 0, B === 255 ? (B = 0, s === 255 ? s = 0 : ++s) : ++B) : ++Y, c = 0, c += Y << 16, c += B << 8, c += s;
  2717. } else
  2718. c += 1 << 24;
  2719. return c;
  2720. }
  2721. function z(c) {
  2722. return (c[0] = w(c[0])) === 0 && (c[1] = w(c[1])), c;
  2723. }
  2724. var l = D.Encryptor = D.extend({
  2725. processBlock: function(c, Y) {
  2726. var B = this._cipher, s = B.blockSize, Q = this._iv, e = this._counter;
  2727. Q && (e = this._counter = Q.slice(0), this._iv = void 0), z(e);
  2728. var f = e.slice(0);
  2729. B.encryptBlock(f, 0);
  2730. for (var t = 0; t < s; t++)
  2731. c[Y + t] ^= f[t];
  2732. }
  2733. });
  2734. return D.Decryptor = l, D;
  2735. }(), A.mode.CTRGladman;
  2736. });
  2737. }(Cg)), Cg.exports;
  2738. }
  2739. var tg = { exports: {} }, vB;
  2740. function Ew() {
  2741. return vB || (vB = 1, function(M, n) {
  2742. (function(A, D, w) {
  2743. M.exports = D(U(), gA());
  2744. })(I, function(A) {
  2745. return A.mode.OFB = function() {
  2746. var D = A.lib.BlockCipherMode.extend(), w = D.Encryptor = D.extend({
  2747. processBlock: function(z, l) {
  2748. var c = this._cipher, Y = c.blockSize, B = this._iv, s = this._keystream;
  2749. B && (s = this._keystream = B.slice(0), this._iv = void 0), c.encryptBlock(s, 0);
  2750. for (var Q = 0; Q < Y; Q++)
  2751. z[l + Q] ^= s[Q];
  2752. }
  2753. });
  2754. return D.Decryptor = w, D;
  2755. }(), A.mode.OFB;
  2756. });
  2757. }(tg)), tg.exports;
  2758. }
  2759. var Mg = { exports: {} }, rB;
  2760. function Iw() {
  2761. return rB || (rB = 1, function(M, n) {
  2762. (function(A, D, w) {
  2763. M.exports = D(U(), gA());
  2764. })(I, function(A) {
  2765. return A.mode.ECB = function() {
  2766. var D = A.lib.BlockCipherMode.extend();
  2767. return D.Encryptor = D.extend({
  2768. processBlock: function(w, z) {
  2769. this._cipher.encryptBlock(w, z);
  2770. }
  2771. }), D.Decryptor = D.extend({
  2772. processBlock: function(w, z) {
  2773. this._cipher.decryptBlock(w, z);
  2774. }
  2775. }), D;
  2776. }(), A.mode.ECB;
  2777. });
  2778. }(Mg)), Mg.exports;
  2779. }
  2780. var vg = { exports: {} }, fB;
  2781. function pw() {
  2782. return fB || (fB = 1, function(M, n) {
  2783. (function(A, D, w) {
  2784. M.exports = D(U(), gA());
  2785. })(I, function(A) {
  2786. return A.pad.AnsiX923 = {
  2787. pad: function(D, w) {
  2788. var z = D.sigBytes, l = w * 4, c = l - z % l, Y = z + c - 1;
  2789. D.clamp(), D.words[Y >>> 2] |= c << 24 - Y % 4 * 8, D.sigBytes += c;
  2790. },
  2791. unpad: function(D) {
  2792. var w = D.words[D.sigBytes - 1 >>> 2] & 255;
  2793. D.sigBytes -= w;
  2794. }
  2795. }, A.pad.Ansix923;
  2796. });
  2797. }(vg)), vg.exports;
  2798. }
  2799. var rg = { exports: {} }, nB;
  2800. function Tw() {
  2801. return nB || (nB = 1, function(M, n) {
  2802. (function(A, D, w) {
  2803. M.exports = D(U(), gA());
  2804. })(I, function(A) {
  2805. return A.pad.Iso10126 = {
  2806. pad: function(D, w) {
  2807. var z = w * 4, l = z - D.sigBytes % z;
  2808. D.concat(A.lib.WordArray.random(l - 1)).concat(A.lib.WordArray.create([l << 24], 1));
  2809. },
  2810. unpad: function(D) {
  2811. var w = D.words[D.sigBytes - 1 >>> 2] & 255;
  2812. D.sigBytes -= w;
  2813. }
  2814. }, A.pad.Iso10126;
  2815. });
  2816. }(rg)), rg.exports;
  2817. }
  2818. var fg = { exports: {} }, zB;
  2819. function Sw() {
  2820. return zB || (zB = 1, function(M, n) {
  2821. (function(A, D, w) {
  2822. M.exports = D(U(), gA());
  2823. })(I, function(A) {
  2824. return A.pad.Iso97971 = {
  2825. pad: function(D, w) {
  2826. D.concat(A.lib.WordArray.create([2147483648], 1)), A.pad.ZeroPadding.pad(D, w);
  2827. },
  2828. unpad: function(D) {
  2829. A.pad.ZeroPadding.unpad(D), D.sigBytes--;
  2830. }
  2831. }, A.pad.Iso97971;
  2832. });
  2833. }(fg)), fg.exports;
  2834. }
  2835. var ng = { exports: {} }, PB;
  2836. function Uw() {
  2837. return PB || (PB = 1, function(M, n) {
  2838. (function(A, D, w) {
  2839. M.exports = D(U(), gA());
  2840. })(I, function(A) {
  2841. return A.pad.ZeroPadding = {
  2842. pad: function(D, w) {
  2843. var z = w * 4;
  2844. D.clamp(), D.sigBytes += z - (D.sigBytes % z || z);
  2845. },
  2846. unpad: function(D) {
  2847. for (var w = D.words, z = D.sigBytes - 1, z = D.sigBytes - 1; z >= 0; z--)
  2848. if (w[z >>> 2] >>> 24 - z % 4 * 8 & 255) {
  2849. D.sigBytes = z + 1;
  2850. break;
  2851. }
  2852. }
  2853. }, A.pad.ZeroPadding;
  2854. });
  2855. }(ng)), ng.exports;
  2856. }
  2857. var zg = { exports: {} }, cB;
  2858. function iw() {
  2859. return cB || (cB = 1, function(M, n) {
  2860. (function(A, D, w) {
  2861. M.exports = D(U(), gA());
  2862. })(I, function(A) {
  2863. return A.pad.NoPadding = {
  2864. pad: function() {
  2865. },
  2866. unpad: function() {
  2867. }
  2868. }, A.pad.NoPadding;
  2869. });
  2870. }(zg)), zg.exports;
  2871. }
  2872. var Pg = { exports: {} }, YB;
  2873. function qw() {
  2874. return YB || (YB = 1, function(M, n) {
  2875. (function(A, D, w) {
  2876. M.exports = D(U(), gA());
  2877. })(I, function(A) {
  2878. return function(D) {
  2879. var w = A, z = w.lib, l = z.CipherParams, c = w.enc, Y = c.Hex, B = w.format;
  2880. B.Hex = {
  2881. /**
  2882. * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
  2883. *
  2884. * @param {CipherParams} cipherParams The cipher params object.
  2885. *
  2886. * @return {string} The hexadecimally encoded string.
  2887. *
  2888. * @static
  2889. *
  2890. * @example
  2891. *
  2892. * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
  2893. */
  2894. stringify: function(s) {
  2895. return s.ciphertext.toString(Y);
  2896. },
  2897. /**
  2898. * Converts a hexadecimally encoded ciphertext string to a cipher params object.
  2899. *
  2900. * @param {string} input The hexadecimally encoded string.
  2901. *
  2902. * @return {CipherParams} The cipher params object.
  2903. *
  2904. * @static
  2905. *
  2906. * @example
  2907. *
  2908. * var cipherParams = CryptoJS.format.Hex.parse(hexString);
  2909. */
  2910. parse: function(s) {
  2911. var Q = Y.parse(s);
  2912. return l.create({ ciphertext: Q });
  2913. }
  2914. };
  2915. }(), A.format.Hex;
  2916. });
  2917. }(Pg)), Pg.exports;
  2918. }
  2919. var cg = { exports: {} }, QB;
  2920. function hw() {
  2921. return QB || (QB = 1, function(M, n) {
  2922. (function(A, D, w) {
  2923. M.exports = D(U(), OA(), xA(), QA(), gA());
  2924. })(I, function(A) {
  2925. return function() {
  2926. var D = A, w = D.lib, z = w.BlockCipher, l = D.algo, c = [], Y = [], B = [], s = [], Q = [], e = [], f = [], t = [], P = [], v = [];
  2927. (function() {
  2928. for (var C = [], r = 0; r < 256; r++)
  2929. r < 128 ? C[r] = r << 1 : C[r] = r << 1 ^ 283;
  2930. for (var O = 0, L = 0, r = 0; r < 256; r++) {
  2931. var Z = L ^ L << 1 ^ L << 2 ^ L << 3 ^ L << 4;
  2932. Z = Z >>> 8 ^ Z & 255 ^ 99, c[O] = Z, Y[Z] = O;
  2933. var d = C[O], j = C[d], W = C[j], x = C[Z] * 257 ^ Z * 16843008;
  2934. B[O] = x << 24 | x >>> 8, s[O] = x << 16 | x >>> 16, Q[O] = x << 8 | x >>> 24, e[O] = x;
  2935. var x = W * 16843009 ^ j * 65537 ^ d * 257 ^ O * 16843008;
  2936. f[Z] = x << 24 | x >>> 8, t[Z] = x << 16 | x >>> 16, P[Z] = x << 8 | x >>> 24, v[Z] = x, O ? (O = d ^ C[C[C[W ^ d]]], L ^= C[C[L]]) : O = L = 1;
  2937. }
  2938. })();
  2939. var H = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], g = l.AES = z.extend({
  2940. _doReset: function() {
  2941. var C;
  2942. if (!(this._nRounds && this._keyPriorReset === this._key)) {
  2943. for (var r = this._keyPriorReset = this._key, O = r.words, L = r.sigBytes / 4, Z = this._nRounds = L + 6, d = (Z + 1) * 4, j = this._keySchedule = [], W = 0; W < d; W++)
  2944. W < L ? j[W] = O[W] : (C = j[W - 1], W % L ? L > 6 && W % L == 4 && (C = c[C >>> 24] << 24 | c[C >>> 16 & 255] << 16 | c[C >>> 8 & 255] << 8 | c[C & 255]) : (C = C << 8 | C >>> 24, C = c[C >>> 24] << 24 | c[C >>> 16 & 255] << 16 | c[C >>> 8 & 255] << 8 | c[C & 255], C ^= H[W / L | 0] << 24), j[W] = j[W - L] ^ C);
  2945. for (var x = this._invKeySchedule = [], u = 0; u < d; u++) {
  2946. var W = d - u;
  2947. if (u % 4)
  2948. var C = j[W];
  2949. else
  2950. var C = j[W - 4];
  2951. u < 4 || W <= 4 ? x[u] = C : x[u] = f[c[C >>> 24]] ^ t[c[C >>> 16 & 255]] ^ P[c[C >>> 8 & 255]] ^ v[c[C & 255]];
  2952. }
  2953. }
  2954. },
  2955. encryptBlock: function(C, r) {
  2956. this._doCryptBlock(C, r, this._keySchedule, B, s, Q, e, c);
  2957. },
  2958. decryptBlock: function(C, r) {
  2959. var O = C[r + 1];
  2960. C[r + 1] = C[r + 3], C[r + 3] = O, this._doCryptBlock(C, r, this._invKeySchedule, f, t, P, v, Y);
  2961. var O = C[r + 1];
  2962. C[r + 1] = C[r + 3], C[r + 3] = O;
  2963. },
  2964. _doCryptBlock: function(C, r, O, L, Z, d, j, W) {
  2965. for (var x = this._nRounds, u = C[r] ^ O[0], y = C[r + 1] ^ O[1], N = C[r + 2] ^ O[2], J = C[r + 3] ^ O[3], K = 4, R = 1; R < x; R++) {
  2966. var i = L[u >>> 24] ^ Z[y >>> 16 & 255] ^ d[N >>> 8 & 255] ^ j[J & 255] ^ O[K++], h = L[y >>> 24] ^ Z[N >>> 16 & 255] ^ d[J >>> 8 & 255] ^ j[u & 255] ^ O[K++], q = L[N >>> 24] ^ Z[J >>> 16 & 255] ^ d[u >>> 8 & 255] ^ j[y & 255] ^ O[K++], a = L[J >>> 24] ^ Z[u >>> 16 & 255] ^ d[y >>> 8 & 255] ^ j[N & 255] ^ O[K++];
  2967. u = i, y = h, N = q, J = a;
  2968. }
  2969. var i = (W[u >>> 24] << 24 | W[y >>> 16 & 255] << 16 | W[N >>> 8 & 255] << 8 | W[J & 255]) ^ O[K++], h = (W[y >>> 24] << 24 | W[N >>> 16 & 255] << 16 | W[J >>> 8 & 255] << 8 | W[u & 255]) ^ O[K++], q = (W[N >>> 24] << 24 | W[J >>> 16 & 255] << 16 | W[u >>> 8 & 255] << 8 | W[y & 255]) ^ O[K++], a = (W[J >>> 24] << 24 | W[u >>> 16 & 255] << 16 | W[y >>> 8 & 255] << 8 | W[N & 255]) ^ O[K++];
  2970. C[r] = i, C[r + 1] = h, C[r + 2] = q, C[r + 3] = a;
  2971. },
  2972. keySize: 256 / 32
  2973. });
  2974. D.AES = z._createHelper(g);
  2975. }(), A.AES;
  2976. });
  2977. }(cg)), cg.exports;
  2978. }
  2979. var Yg = { exports: {} }, WB;
  2980. function Rw() {
  2981. return WB || (WB = 1, function(M, n) {
  2982. (function(A, D, w) {
  2983. M.exports = D(U(), OA(), xA(), QA(), gA());
  2984. })(I, function(A) {
  2985. return function() {
  2986. var D = A, w = D.lib, z = w.WordArray, l = w.BlockCipher, c = D.algo, Y = [
  2987. 57,
  2988. 49,
  2989. 41,
  2990. 33,
  2991. 25,
  2992. 17,
  2993. 9,
  2994. 1,
  2995. 58,
  2996. 50,
  2997. 42,
  2998. 34,
  2999. 26,
  3000. 18,
  3001. 10,
  3002. 2,
  3003. 59,
  3004. 51,
  3005. 43,
  3006. 35,
  3007. 27,
  3008. 19,
  3009. 11,
  3010. 3,
  3011. 60,
  3012. 52,
  3013. 44,
  3014. 36,
  3015. 63,
  3016. 55,
  3017. 47,
  3018. 39,
  3019. 31,
  3020. 23,
  3021. 15,
  3022. 7,
  3023. 62,
  3024. 54,
  3025. 46,
  3026. 38,
  3027. 30,
  3028. 22,
  3029. 14,
  3030. 6,
  3031. 61,
  3032. 53,
  3033. 45,
  3034. 37,
  3035. 29,
  3036. 21,
  3037. 13,
  3038. 5,
  3039. 28,
  3040. 20,
  3041. 12,
  3042. 4
  3043. ], B = [
  3044. 14,
  3045. 17,
  3046. 11,
  3047. 24,
  3048. 1,
  3049. 5,
  3050. 3,
  3051. 28,
  3052. 15,
  3053. 6,
  3054. 21,
  3055. 10,
  3056. 23,
  3057. 19,
  3058. 12,
  3059. 4,
  3060. 26,
  3061. 8,
  3062. 16,
  3063. 7,
  3064. 27,
  3065. 20,
  3066. 13,
  3067. 2,
  3068. 41,
  3069. 52,
  3070. 31,
  3071. 37,
  3072. 47,
  3073. 55,
  3074. 30,
  3075. 40,
  3076. 51,
  3077. 45,
  3078. 33,
  3079. 48,
  3080. 44,
  3081. 49,
  3082. 39,
  3083. 56,
  3084. 34,
  3085. 53,
  3086. 46,
  3087. 42,
  3088. 50,
  3089. 36,
  3090. 29,
  3091. 32
  3092. ], s = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], Q = [
  3093. {
  3094. 0: 8421888,
  3095. 268435456: 32768,
  3096. 536870912: 8421378,
  3097. 805306368: 2,
  3098. 1073741824: 512,
  3099. 1342177280: 8421890,
  3100. 1610612736: 8389122,
  3101. 1879048192: 8388608,
  3102. 2147483648: 514,
  3103. 2415919104: 8389120,
  3104. 2684354560: 33280,
  3105. 2952790016: 8421376,
  3106. 3221225472: 32770,
  3107. 3489660928: 8388610,
  3108. 3758096384: 0,
  3109. 4026531840: 33282,
  3110. 134217728: 0,
  3111. 402653184: 8421890,
  3112. 671088640: 33282,
  3113. 939524096: 32768,
  3114. 1207959552: 8421888,
  3115. 1476395008: 512,
  3116. 1744830464: 8421378,
  3117. 2013265920: 2,
  3118. 2281701376: 8389120,
  3119. 2550136832: 33280,
  3120. 2818572288: 8421376,
  3121. 3087007744: 8389122,
  3122. 3355443200: 8388610,
  3123. 3623878656: 32770,
  3124. 3892314112: 514,
  3125. 4160749568: 8388608,
  3126. 1: 32768,
  3127. 268435457: 2,
  3128. 536870913: 8421888,
  3129. 805306369: 8388608,
  3130. 1073741825: 8421378,
  3131. 1342177281: 33280,
  3132. 1610612737: 512,
  3133. 1879048193: 8389122,
  3134. 2147483649: 8421890,
  3135. 2415919105: 8421376,
  3136. 2684354561: 8388610,
  3137. 2952790017: 33282,
  3138. 3221225473: 514,
  3139. 3489660929: 8389120,
  3140. 3758096385: 32770,
  3141. 4026531841: 0,
  3142. 134217729: 8421890,
  3143. 402653185: 8421376,
  3144. 671088641: 8388608,
  3145. 939524097: 512,
  3146. 1207959553: 32768,
  3147. 1476395009: 8388610,
  3148. 1744830465: 2,
  3149. 2013265921: 33282,
  3150. 2281701377: 32770,
  3151. 2550136833: 8389122,
  3152. 2818572289: 514,
  3153. 3087007745: 8421888,
  3154. 3355443201: 8389120,
  3155. 3623878657: 0,
  3156. 3892314113: 33280,
  3157. 4160749569: 8421378
  3158. },
  3159. {
  3160. 0: 1074282512,
  3161. 16777216: 16384,
  3162. 33554432: 524288,
  3163. 50331648: 1074266128,
  3164. 67108864: 1073741840,
  3165. 83886080: 1074282496,
  3166. 100663296: 1073758208,
  3167. 117440512: 16,
  3168. 134217728: 540672,
  3169. 150994944: 1073758224,
  3170. 167772160: 1073741824,
  3171. 184549376: 540688,
  3172. 201326592: 524304,
  3173. 218103808: 0,
  3174. 234881024: 16400,
  3175. 251658240: 1074266112,
  3176. 8388608: 1073758208,
  3177. 25165824: 540688,
  3178. 41943040: 16,
  3179. 58720256: 1073758224,
  3180. 75497472: 1074282512,
  3181. 92274688: 1073741824,
  3182. 109051904: 524288,
  3183. 125829120: 1074266128,
  3184. 142606336: 524304,
  3185. 159383552: 0,
  3186. 176160768: 16384,
  3187. 192937984: 1074266112,
  3188. 209715200: 1073741840,
  3189. 226492416: 540672,
  3190. 243269632: 1074282496,
  3191. 260046848: 16400,
  3192. 268435456: 0,
  3193. 285212672: 1074266128,
  3194. 301989888: 1073758224,
  3195. 318767104: 1074282496,
  3196. 335544320: 1074266112,
  3197. 352321536: 16,
  3198. 369098752: 540688,
  3199. 385875968: 16384,
  3200. 402653184: 16400,
  3201. 419430400: 524288,
  3202. 436207616: 524304,
  3203. 452984832: 1073741840,
  3204. 469762048: 540672,
  3205. 486539264: 1073758208,
  3206. 503316480: 1073741824,
  3207. 520093696: 1074282512,
  3208. 276824064: 540688,
  3209. 293601280: 524288,
  3210. 310378496: 1074266112,
  3211. 327155712: 16384,
  3212. 343932928: 1073758208,
  3213. 360710144: 1074282512,
  3214. 377487360: 16,
  3215. 394264576: 1073741824,
  3216. 411041792: 1074282496,
  3217. 427819008: 1073741840,
  3218. 444596224: 1073758224,
  3219. 461373440: 524304,
  3220. 478150656: 0,
  3221. 494927872: 16400,
  3222. 511705088: 1074266128,
  3223. 528482304: 540672
  3224. },
  3225. {
  3226. 0: 260,
  3227. 1048576: 0,
  3228. 2097152: 67109120,
  3229. 3145728: 65796,
  3230. 4194304: 65540,
  3231. 5242880: 67108868,
  3232. 6291456: 67174660,
  3233. 7340032: 67174400,
  3234. 8388608: 67108864,
  3235. 9437184: 67174656,
  3236. 10485760: 65792,
  3237. 11534336: 67174404,
  3238. 12582912: 67109124,
  3239. 13631488: 65536,
  3240. 14680064: 4,
  3241. 15728640: 256,
  3242. 524288: 67174656,
  3243. 1572864: 67174404,
  3244. 2621440: 0,
  3245. 3670016: 67109120,
  3246. 4718592: 67108868,
  3247. 5767168: 65536,
  3248. 6815744: 65540,
  3249. 7864320: 260,
  3250. 8912896: 4,
  3251. 9961472: 256,
  3252. 11010048: 67174400,
  3253. 12058624: 65796,
  3254. 13107200: 65792,
  3255. 14155776: 67109124,
  3256. 15204352: 67174660,
  3257. 16252928: 67108864,
  3258. 16777216: 67174656,
  3259. 17825792: 65540,
  3260. 18874368: 65536,
  3261. 19922944: 67109120,
  3262. 20971520: 256,
  3263. 22020096: 67174660,
  3264. 23068672: 67108868,
  3265. 24117248: 0,
  3266. 25165824: 67109124,
  3267. 26214400: 67108864,
  3268. 27262976: 4,
  3269. 28311552: 65792,
  3270. 29360128: 67174400,
  3271. 30408704: 260,
  3272. 31457280: 65796,
  3273. 32505856: 67174404,
  3274. 17301504: 67108864,
  3275. 18350080: 260,
  3276. 19398656: 67174656,
  3277. 20447232: 0,
  3278. 21495808: 65540,
  3279. 22544384: 67109120,
  3280. 23592960: 256,
  3281. 24641536: 67174404,
  3282. 25690112: 65536,
  3283. 26738688: 67174660,
  3284. 27787264: 65796,
  3285. 28835840: 67108868,
  3286. 29884416: 67109124,
  3287. 30932992: 67174400,
  3288. 31981568: 4,
  3289. 33030144: 65792
  3290. },
  3291. {
  3292. 0: 2151682048,
  3293. 65536: 2147487808,
  3294. 131072: 4198464,
  3295. 196608: 2151677952,
  3296. 262144: 0,
  3297. 327680: 4198400,
  3298. 393216: 2147483712,
  3299. 458752: 4194368,
  3300. 524288: 2147483648,
  3301. 589824: 4194304,
  3302. 655360: 64,
  3303. 720896: 2147487744,
  3304. 786432: 2151678016,
  3305. 851968: 4160,
  3306. 917504: 4096,
  3307. 983040: 2151682112,
  3308. 32768: 2147487808,
  3309. 98304: 64,
  3310. 163840: 2151678016,
  3311. 229376: 2147487744,
  3312. 294912: 4198400,
  3313. 360448: 2151682112,
  3314. 425984: 0,
  3315. 491520: 2151677952,
  3316. 557056: 4096,
  3317. 622592: 2151682048,
  3318. 688128: 4194304,
  3319. 753664: 4160,
  3320. 819200: 2147483648,
  3321. 884736: 4194368,
  3322. 950272: 4198464,
  3323. 1015808: 2147483712,
  3324. 1048576: 4194368,
  3325. 1114112: 4198400,
  3326. 1179648: 2147483712,
  3327. 1245184: 0,
  3328. 1310720: 4160,
  3329. 1376256: 2151678016,
  3330. 1441792: 2151682048,
  3331. 1507328: 2147487808,
  3332. 1572864: 2151682112,
  3333. 1638400: 2147483648,
  3334. 1703936: 2151677952,
  3335. 1769472: 4198464,
  3336. 1835008: 2147487744,
  3337. 1900544: 4194304,
  3338. 1966080: 64,
  3339. 2031616: 4096,
  3340. 1081344: 2151677952,
  3341. 1146880: 2151682112,
  3342. 1212416: 0,
  3343. 1277952: 4198400,
  3344. 1343488: 4194368,
  3345. 1409024: 2147483648,
  3346. 1474560: 2147487808,
  3347. 1540096: 64,
  3348. 1605632: 2147483712,
  3349. 1671168: 4096,
  3350. 1736704: 2147487744,
  3351. 1802240: 2151678016,
  3352. 1867776: 4160,
  3353. 1933312: 2151682048,
  3354. 1998848: 4194304,
  3355. 2064384: 4198464
  3356. },
  3357. {
  3358. 0: 128,
  3359. 4096: 17039360,
  3360. 8192: 262144,
  3361. 12288: 536870912,
  3362. 16384: 537133184,
  3363. 20480: 16777344,
  3364. 24576: 553648256,
  3365. 28672: 262272,
  3366. 32768: 16777216,
  3367. 36864: 537133056,
  3368. 40960: 536871040,
  3369. 45056: 553910400,
  3370. 49152: 553910272,
  3371. 53248: 0,
  3372. 57344: 17039488,
  3373. 61440: 553648128,
  3374. 2048: 17039488,
  3375. 6144: 553648256,
  3376. 10240: 128,
  3377. 14336: 17039360,
  3378. 18432: 262144,
  3379. 22528: 537133184,
  3380. 26624: 553910272,
  3381. 30720: 536870912,
  3382. 34816: 537133056,
  3383. 38912: 0,
  3384. 43008: 553910400,
  3385. 47104: 16777344,
  3386. 51200: 536871040,
  3387. 55296: 553648128,
  3388. 59392: 16777216,
  3389. 63488: 262272,
  3390. 65536: 262144,
  3391. 69632: 128,
  3392. 73728: 536870912,
  3393. 77824: 553648256,
  3394. 81920: 16777344,
  3395. 86016: 553910272,
  3396. 90112: 537133184,
  3397. 94208: 16777216,
  3398. 98304: 553910400,
  3399. 102400: 553648128,
  3400. 106496: 17039360,
  3401. 110592: 537133056,
  3402. 114688: 262272,
  3403. 118784: 536871040,
  3404. 122880: 0,
  3405. 126976: 17039488,
  3406. 67584: 553648256,
  3407. 71680: 16777216,
  3408. 75776: 17039360,
  3409. 79872: 537133184,
  3410. 83968: 536870912,
  3411. 88064: 17039488,
  3412. 92160: 128,
  3413. 96256: 553910272,
  3414. 100352: 262272,
  3415. 104448: 553910400,
  3416. 108544: 0,
  3417. 112640: 553648128,
  3418. 116736: 16777344,
  3419. 120832: 262144,
  3420. 124928: 537133056,
  3421. 129024: 536871040
  3422. },
  3423. {
  3424. 0: 268435464,
  3425. 256: 8192,
  3426. 512: 270532608,
  3427. 768: 270540808,
  3428. 1024: 268443648,
  3429. 1280: 2097152,
  3430. 1536: 2097160,
  3431. 1792: 268435456,
  3432. 2048: 0,
  3433. 2304: 268443656,
  3434. 2560: 2105344,
  3435. 2816: 8,
  3436. 3072: 270532616,
  3437. 3328: 2105352,
  3438. 3584: 8200,
  3439. 3840: 270540800,
  3440. 128: 270532608,
  3441. 384: 270540808,
  3442. 640: 8,
  3443. 896: 2097152,
  3444. 1152: 2105352,
  3445. 1408: 268435464,
  3446. 1664: 268443648,
  3447. 1920: 8200,
  3448. 2176: 2097160,
  3449. 2432: 8192,
  3450. 2688: 268443656,
  3451. 2944: 270532616,
  3452. 3200: 0,
  3453. 3456: 270540800,
  3454. 3712: 2105344,
  3455. 3968: 268435456,
  3456. 4096: 268443648,
  3457. 4352: 270532616,
  3458. 4608: 270540808,
  3459. 4864: 8200,
  3460. 5120: 2097152,
  3461. 5376: 268435456,
  3462. 5632: 268435464,
  3463. 5888: 2105344,
  3464. 6144: 2105352,
  3465. 6400: 0,
  3466. 6656: 8,
  3467. 6912: 270532608,
  3468. 7168: 8192,
  3469. 7424: 268443656,
  3470. 7680: 270540800,
  3471. 7936: 2097160,
  3472. 4224: 8,
  3473. 4480: 2105344,
  3474. 4736: 2097152,
  3475. 4992: 268435464,
  3476. 5248: 268443648,
  3477. 5504: 8200,
  3478. 5760: 270540808,
  3479. 6016: 270532608,
  3480. 6272: 270540800,
  3481. 6528: 270532616,
  3482. 6784: 8192,
  3483. 7040: 2105352,
  3484. 7296: 2097160,
  3485. 7552: 0,
  3486. 7808: 268435456,
  3487. 8064: 268443656
  3488. },
  3489. {
  3490. 0: 1048576,
  3491. 16: 33555457,
  3492. 32: 1024,
  3493. 48: 1049601,
  3494. 64: 34604033,
  3495. 80: 0,
  3496. 96: 1,
  3497. 112: 34603009,
  3498. 128: 33555456,
  3499. 144: 1048577,
  3500. 160: 33554433,
  3501. 176: 34604032,
  3502. 192: 34603008,
  3503. 208: 1025,
  3504. 224: 1049600,
  3505. 240: 33554432,
  3506. 8: 34603009,
  3507. 24: 0,
  3508. 40: 33555457,
  3509. 56: 34604032,
  3510. 72: 1048576,
  3511. 88: 33554433,
  3512. 104: 33554432,
  3513. 120: 1025,
  3514. 136: 1049601,
  3515. 152: 33555456,
  3516. 168: 34603008,
  3517. 184: 1048577,
  3518. 200: 1024,
  3519. 216: 34604033,
  3520. 232: 1,
  3521. 248: 1049600,
  3522. 256: 33554432,
  3523. 272: 1048576,
  3524. 288: 33555457,
  3525. 304: 34603009,
  3526. 320: 1048577,
  3527. 336: 33555456,
  3528. 352: 34604032,
  3529. 368: 1049601,
  3530. 384: 1025,
  3531. 400: 34604033,
  3532. 416: 1049600,
  3533. 432: 1,
  3534. 448: 0,
  3535. 464: 34603008,
  3536. 480: 33554433,
  3537. 496: 1024,
  3538. 264: 1049600,
  3539. 280: 33555457,
  3540. 296: 34603009,
  3541. 312: 1,
  3542. 328: 33554432,
  3543. 344: 1048576,
  3544. 360: 1025,
  3545. 376: 34604032,
  3546. 392: 33554433,
  3547. 408: 34603008,
  3548. 424: 0,
  3549. 440: 34604033,
  3550. 456: 1049601,
  3551. 472: 1024,
  3552. 488: 33555456,
  3553. 504: 1048577
  3554. },
  3555. {
  3556. 0: 134219808,
  3557. 1: 131072,
  3558. 2: 134217728,
  3559. 3: 32,
  3560. 4: 131104,
  3561. 5: 134350880,
  3562. 6: 134350848,
  3563. 7: 2048,
  3564. 8: 134348800,
  3565. 9: 134219776,
  3566. 10: 133120,
  3567. 11: 134348832,
  3568. 12: 2080,
  3569. 13: 0,
  3570. 14: 134217760,
  3571. 15: 133152,
  3572. 2147483648: 2048,
  3573. 2147483649: 134350880,
  3574. 2147483650: 134219808,
  3575. 2147483651: 134217728,
  3576. 2147483652: 134348800,
  3577. 2147483653: 133120,
  3578. 2147483654: 133152,
  3579. 2147483655: 32,
  3580. 2147483656: 134217760,
  3581. 2147483657: 2080,
  3582. 2147483658: 131104,
  3583. 2147483659: 134350848,
  3584. 2147483660: 0,
  3585. 2147483661: 134348832,
  3586. 2147483662: 134219776,
  3587. 2147483663: 131072,
  3588. 16: 133152,
  3589. 17: 134350848,
  3590. 18: 32,
  3591. 19: 2048,
  3592. 20: 134219776,
  3593. 21: 134217760,
  3594. 22: 134348832,
  3595. 23: 131072,
  3596. 24: 0,
  3597. 25: 131104,
  3598. 26: 134348800,
  3599. 27: 134219808,
  3600. 28: 134350880,
  3601. 29: 133120,
  3602. 30: 2080,
  3603. 31: 134217728,
  3604. 2147483664: 131072,
  3605. 2147483665: 2048,
  3606. 2147483666: 134348832,
  3607. 2147483667: 133152,
  3608. 2147483668: 32,
  3609. 2147483669: 134348800,
  3610. 2147483670: 134217728,
  3611. 2147483671: 134219808,
  3612. 2147483672: 134350880,
  3613. 2147483673: 134217760,
  3614. 2147483674: 134219776,
  3615. 2147483675: 0,
  3616. 2147483676: 133120,
  3617. 2147483677: 2080,
  3618. 2147483678: 131104,
  3619. 2147483679: 134350848
  3620. }
  3621. ], e = [
  3622. 4160749569,
  3623. 528482304,
  3624. 33030144,
  3625. 2064384,
  3626. 129024,
  3627. 8064,
  3628. 504,
  3629. 2147483679
  3630. ], f = c.DES = l.extend({
  3631. _doReset: function() {
  3632. for (var H = this._key, g = H.words, C = [], r = 0; r < 56; r++) {
  3633. var O = Y[r] - 1;
  3634. C[r] = g[O >>> 5] >>> 31 - O % 32 & 1;
  3635. }
  3636. for (var L = this._subKeys = [], Z = 0; Z < 16; Z++) {
  3637. for (var d = L[Z] = [], j = s[Z], r = 0; r < 24; r++)
  3638. d[r / 6 | 0] |= C[(B[r] - 1 + j) % 28] << 31 - r % 6, d[4 + (r / 6 | 0)] |= C[28 + (B[r + 24] - 1 + j) % 28] << 31 - r % 6;
  3639. d[0] = d[0] << 1 | d[0] >>> 31;
  3640. for (var r = 1; r < 7; r++)
  3641. d[r] = d[r] >>> (r - 1) * 4 + 3;
  3642. d[7] = d[7] << 5 | d[7] >>> 27;
  3643. }
  3644. for (var W = this._invSubKeys = [], r = 0; r < 16; r++)
  3645. W[r] = L[15 - r];
  3646. },
  3647. encryptBlock: function(H, g) {
  3648. this._doCryptBlock(H, g, this._subKeys);
  3649. },
  3650. decryptBlock: function(H, g) {
  3651. this._doCryptBlock(H, g, this._invSubKeys);
  3652. },
  3653. _doCryptBlock: function(H, g, C) {
  3654. this._lBlock = H[g], this._rBlock = H[g + 1], t.call(this, 4, 252645135), t.call(this, 16, 65535), P.call(this, 2, 858993459), P.call(this, 8, 16711935), t.call(this, 1, 1431655765);
  3655. for (var r = 0; r < 16; r++) {
  3656. for (var O = C[r], L = this._lBlock, Z = this._rBlock, d = 0, j = 0; j < 8; j++)
  3657. d |= Q[j][((Z ^ O[j]) & e[j]) >>> 0];
  3658. this._lBlock = Z, this._rBlock = L ^ d;
  3659. }
  3660. var W = this._lBlock;
  3661. this._lBlock = this._rBlock, this._rBlock = W, t.call(this, 1, 1431655765), P.call(this, 8, 16711935), P.call(this, 2, 858993459), t.call(this, 16, 65535), t.call(this, 4, 252645135), H[g] = this._lBlock, H[g + 1] = this._rBlock;
  3662. },
  3663. keySize: 64 / 32,
  3664. ivSize: 64 / 32,
  3665. blockSize: 64 / 32
  3666. });
  3667. function t(H, g) {
  3668. var C = (this._lBlock >>> H ^ this._rBlock) & g;
  3669. this._rBlock ^= C, this._lBlock ^= C << H;
  3670. }
  3671. function P(H, g) {
  3672. var C = (this._rBlock >>> H ^ this._lBlock) & g;
  3673. this._lBlock ^= C, this._rBlock ^= C << H;
  3674. }
  3675. D.DES = l._createHelper(f);
  3676. var v = c.TripleDES = l.extend({
  3677. _doReset: function() {
  3678. var H = this._key, g = H.words;
  3679. if (g.length !== 2 && g.length !== 4 && g.length < 6)
  3680. throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
  3681. var C = g.slice(0, 2), r = g.length < 4 ? g.slice(0, 2) : g.slice(2, 4), O = g.length < 6 ? g.slice(0, 2) : g.slice(4, 6);
  3682. this._des1 = f.createEncryptor(z.create(C)), this._des2 = f.createEncryptor(z.create(r)), this._des3 = f.createEncryptor(z.create(O));
  3683. },
  3684. encryptBlock: function(H, g) {
  3685. this._des1.encryptBlock(H, g), this._des2.decryptBlock(H, g), this._des3.encryptBlock(H, g);
  3686. },
  3687. decryptBlock: function(H, g) {
  3688. this._des3.decryptBlock(H, g), this._des2.encryptBlock(H, g), this._des1.decryptBlock(H, g);
  3689. },
  3690. keySize: 192 / 32,
  3691. ivSize: 64 / 32,
  3692. blockSize: 64 / 32
  3693. });
  3694. D.TripleDES = l._createHelper(v);
  3695. }(), A.TripleDES;
  3696. });
  3697. }(Yg)), Yg.exports;
  3698. }
  3699. var Qg = { exports: {} }, HB;
  3700. function _w() {
  3701. return HB || (HB = 1, function(M, n) {
  3702. (function(A, D, w) {
  3703. M.exports = D(U(), OA(), xA(), QA(), gA());
  3704. })(I, function(A) {
  3705. return function() {
  3706. var D = A, w = D.lib, z = w.StreamCipher, l = D.algo, c = l.RC4 = z.extend({
  3707. _doReset: function() {
  3708. for (var s = this._key, Q = s.words, e = s.sigBytes, f = this._S = [], t = 0; t < 256; t++)
  3709. f[t] = t;
  3710. for (var t = 0, P = 0; t < 256; t++) {
  3711. var v = t % e, H = Q[v >>> 2] >>> 24 - v % 4 * 8 & 255;
  3712. P = (P + f[t] + H) % 256;
  3713. var g = f[t];
  3714. f[t] = f[P], f[P] = g;
  3715. }
  3716. this._i = this._j = 0;
  3717. },
  3718. _doProcessBlock: function(s, Q) {
  3719. s[Q] ^= Y.call(this);
  3720. },
  3721. keySize: 256 / 32,
  3722. ivSize: 0
  3723. });
  3724. function Y() {
  3725. for (var s = this._S, Q = this._i, e = this._j, f = 0, t = 0; t < 4; t++) {
  3726. Q = (Q + 1) % 256, e = (e + s[Q]) % 256;
  3727. var P = s[Q];
  3728. s[Q] = s[e], s[e] = P, f |= s[(s[Q] + s[e]) % 256] << 24 - t * 8;
  3729. }
  3730. return this._i = Q, this._j = e, f;
  3731. }
  3732. D.RC4 = z._createHelper(c);
  3733. var B = l.RC4Drop = c.extend({
  3734. /**
  3735. * Configuration options.
  3736. *
  3737. * @property {number} drop The number of keystream words to drop. Default 192
  3738. */
  3739. cfg: c.cfg.extend({
  3740. drop: 192
  3741. }),
  3742. _doReset: function() {
  3743. c._doReset.call(this);
  3744. for (var s = this.cfg.drop; s > 0; s--)
  3745. Y.call(this);
  3746. }
  3747. });
  3748. D.RC4Drop = z._createHelper(B);
  3749. }(), A.RC4;
  3750. });
  3751. }(Qg)), Qg.exports;
  3752. }
  3753. var Wg = { exports: {} }, LB;
  3754. function $w() {
  3755. return LB || (LB = 1, function(M, n) {
  3756. (function(A, D, w) {
  3757. M.exports = D(U(), OA(), xA(), QA(), gA());
  3758. })(I, function(A) {
  3759. return function() {
  3760. var D = A, w = D.lib, z = w.StreamCipher, l = D.algo, c = [], Y = [], B = [], s = l.Rabbit = z.extend({
  3761. _doReset: function() {
  3762. for (var e = this._key.words, f = this.cfg.iv, t = 0; t < 4; t++)
  3763. e[t] = (e[t] << 8 | e[t] >>> 24) & 16711935 | (e[t] << 24 | e[t] >>> 8) & 4278255360;
  3764. var P = this._X = [
  3765. e[0],
  3766. e[3] << 16 | e[2] >>> 16,
  3767. e[1],
  3768. e[0] << 16 | e[3] >>> 16,
  3769. e[2],
  3770. e[1] << 16 | e[0] >>> 16,
  3771. e[3],
  3772. e[2] << 16 | e[1] >>> 16
  3773. ], v = this._C = [
  3774. e[2] << 16 | e[2] >>> 16,
  3775. e[0] & 4294901760 | e[1] & 65535,
  3776. e[3] << 16 | e[3] >>> 16,
  3777. e[1] & 4294901760 | e[2] & 65535,
  3778. e[0] << 16 | e[0] >>> 16,
  3779. e[2] & 4294901760 | e[3] & 65535,
  3780. e[1] << 16 | e[1] >>> 16,
  3781. e[3] & 4294901760 | e[0] & 65535
  3782. ];
  3783. this._b = 0;
  3784. for (var t = 0; t < 4; t++)
  3785. Q.call(this);
  3786. for (var t = 0; t < 8; t++)
  3787. v[t] ^= P[t + 4 & 7];
  3788. if (f) {
  3789. var H = f.words, g = H[0], C = H[1], r = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360, O = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, L = r >>> 16 | O & 4294901760, Z = O << 16 | r & 65535;
  3790. v[0] ^= r, v[1] ^= L, v[2] ^= O, v[3] ^= Z, v[4] ^= r, v[5] ^= L, v[6] ^= O, v[7] ^= Z;
  3791. for (var t = 0; t < 4; t++)
  3792. Q.call(this);
  3793. }
  3794. },
  3795. _doProcessBlock: function(e, f) {
  3796. var t = this._X;
  3797. Q.call(this), c[0] = t[0] ^ t[5] >>> 16 ^ t[3] << 16, c[1] = t[2] ^ t[7] >>> 16 ^ t[5] << 16, c[2] = t[4] ^ t[1] >>> 16 ^ t[7] << 16, c[3] = t[6] ^ t[3] >>> 16 ^ t[1] << 16;
  3798. for (var P = 0; P < 4; P++)
  3799. c[P] = (c[P] << 8 | c[P] >>> 24) & 16711935 | (c[P] << 24 | c[P] >>> 8) & 4278255360, e[f + P] ^= c[P];
  3800. },
  3801. blockSize: 128 / 32,
  3802. ivSize: 64 / 32
  3803. });
  3804. function Q() {
  3805. for (var e = this._X, f = this._C, t = 0; t < 8; t++)
  3806. Y[t] = f[t];
  3807. f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < Y[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < Y[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < Y[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < Y[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < Y[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < Y[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < Y[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < Y[7] >>> 0 ? 1 : 0;
  3808. for (var t = 0; t < 8; t++) {
  3809. var P = e[t] + f[t], v = P & 65535, H = P >>> 16, g = ((v * v >>> 17) + v * H >>> 15) + H * H, C = ((P & 4294901760) * P | 0) + ((P & 65535) * P | 0);
  3810. B[t] = g ^ C;
  3811. }
  3812. e[0] = B[0] + (B[7] << 16 | B[7] >>> 16) + (B[6] << 16 | B[6] >>> 16) | 0, e[1] = B[1] + (B[0] << 8 | B[0] >>> 24) + B[7] | 0, e[2] = B[2] + (B[1] << 16 | B[1] >>> 16) + (B[0] << 16 | B[0] >>> 16) | 0, e[3] = B[3] + (B[2] << 8 | B[2] >>> 24) + B[1] | 0, e[4] = B[4] + (B[3] << 16 | B[3] >>> 16) + (B[2] << 16 | B[2] >>> 16) | 0, e[5] = B[5] + (B[4] << 8 | B[4] >>> 24) + B[3] | 0, e[6] = B[6] + (B[5] << 16 | B[5] >>> 16) + (B[4] << 16 | B[4] >>> 16) | 0, e[7] = B[7] + (B[6] << 8 | B[6] >>> 24) + B[5] | 0;
  3813. }
  3814. D.Rabbit = z._createHelper(s);
  3815. }(), A.Rabbit;
  3816. });
  3817. }(Wg)), Wg.exports;
  3818. }
  3819. var Hg = { exports: {} }, OB;
  3820. function AD() {
  3821. return OB || (OB = 1, function(M, n) {
  3822. (function(A, D, w) {
  3823. M.exports = D(U(), OA(), xA(), QA(), gA());
  3824. })(I, function(A) {
  3825. return function() {
  3826. var D = A, w = D.lib, z = w.StreamCipher, l = D.algo, c = [], Y = [], B = [], s = l.RabbitLegacy = z.extend({
  3827. _doReset: function() {
  3828. var e = this._key.words, f = this.cfg.iv, t = this._X = [
  3829. e[0],
  3830. e[3] << 16 | e[2] >>> 16,
  3831. e[1],
  3832. e[0] << 16 | e[3] >>> 16,
  3833. e[2],
  3834. e[1] << 16 | e[0] >>> 16,
  3835. e[3],
  3836. e[2] << 16 | e[1] >>> 16
  3837. ], P = this._C = [
  3838. e[2] << 16 | e[2] >>> 16,
  3839. e[0] & 4294901760 | e[1] & 65535,
  3840. e[3] << 16 | e[3] >>> 16,
  3841. e[1] & 4294901760 | e[2] & 65535,
  3842. e[0] << 16 | e[0] >>> 16,
  3843. e[2] & 4294901760 | e[3] & 65535,
  3844. e[1] << 16 | e[1] >>> 16,
  3845. e[3] & 4294901760 | e[0] & 65535
  3846. ];
  3847. this._b = 0;
  3848. for (var v = 0; v < 4; v++)
  3849. Q.call(this);
  3850. for (var v = 0; v < 8; v++)
  3851. P[v] ^= t[v + 4 & 7];
  3852. if (f) {
  3853. var H = f.words, g = H[0], C = H[1], r = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360, O = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, L = r >>> 16 | O & 4294901760, Z = O << 16 | r & 65535;
  3854. P[0] ^= r, P[1] ^= L, P[2] ^= O, P[3] ^= Z, P[4] ^= r, P[5] ^= L, P[6] ^= O, P[7] ^= Z;
  3855. for (var v = 0; v < 4; v++)
  3856. Q.call(this);
  3857. }
  3858. },
  3859. _doProcessBlock: function(e, f) {
  3860. var t = this._X;
  3861. Q.call(this), c[0] = t[0] ^ t[5] >>> 16 ^ t[3] << 16, c[1] = t[2] ^ t[7] >>> 16 ^ t[5] << 16, c[2] = t[4] ^ t[1] >>> 16 ^ t[7] << 16, c[3] = t[6] ^ t[3] >>> 16 ^ t[1] << 16;
  3862. for (var P = 0; P < 4; P++)
  3863. c[P] = (c[P] << 8 | c[P] >>> 24) & 16711935 | (c[P] << 24 | c[P] >>> 8) & 4278255360, e[f + P] ^= c[P];
  3864. },
  3865. blockSize: 128 / 32,
  3866. ivSize: 64 / 32
  3867. });
  3868. function Q() {
  3869. for (var e = this._X, f = this._C, t = 0; t < 8; t++)
  3870. Y[t] = f[t];
  3871. f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < Y[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < Y[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < Y[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < Y[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < Y[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < Y[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < Y[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < Y[7] >>> 0 ? 1 : 0;
  3872. for (var t = 0; t < 8; t++) {
  3873. var P = e[t] + f[t], v = P & 65535, H = P >>> 16, g = ((v * v >>> 17) + v * H >>> 15) + H * H, C = ((P & 4294901760) * P | 0) + ((P & 65535) * P | 0);
  3874. B[t] = g ^ C;
  3875. }
  3876. e[0] = B[0] + (B[7] << 16 | B[7] >>> 16) + (B[6] << 16 | B[6] >>> 16) | 0, e[1] = B[1] + (B[0] << 8 | B[0] >>> 24) + B[7] | 0, e[2] = B[2] + (B[1] << 16 | B[1] >>> 16) + (B[0] << 16 | B[0] >>> 16) | 0, e[3] = B[3] + (B[2] << 8 | B[2] >>> 24) + B[1] | 0, e[4] = B[4] + (B[3] << 16 | B[3] >>> 16) + (B[2] << 16 | B[2] >>> 16) | 0, e[5] = B[5] + (B[4] << 8 | B[4] >>> 24) + B[3] | 0, e[6] = B[6] + (B[5] << 16 | B[5] >>> 16) + (B[4] << 16 | B[4] >>> 16) | 0, e[7] = B[7] + (B[6] << 8 | B[6] >>> 24) + B[5] | 0;
  3877. }
  3878. D.RabbitLegacy = z._createHelper(s);
  3879. }(), A.RabbitLegacy;
  3880. });
  3881. }(Hg)), Hg.exports;
  3882. }
  3883. var Lg = { exports: {} }, xB;
  3884. function gD() {
  3885. return xB || (xB = 1, function(M, n) {
  3886. (function(A, D, w) {
  3887. M.exports = D(U(), OA(), xA(), QA(), gA());
  3888. })(I, function(A) {
  3889. return function() {
  3890. var D = A, w = D.lib, z = w.BlockCipher, l = D.algo;
  3891. const c = 16, Y = [
  3892. 608135816,
  3893. 2242054355,
  3894. 320440878,
  3895. 57701188,
  3896. 2752067618,
  3897. 698298832,
  3898. 137296536,
  3899. 3964562569,
  3900. 1160258022,
  3901. 953160567,
  3902. 3193202383,
  3903. 887688300,
  3904. 3232508343,
  3905. 3380367581,
  3906. 1065670069,
  3907. 3041331479,
  3908. 2450970073,
  3909. 2306472731
  3910. ], B = [
  3911. [
  3912. 3509652390,
  3913. 2564797868,
  3914. 805139163,
  3915. 3491422135,
  3916. 3101798381,
  3917. 1780907670,
  3918. 3128725573,
  3919. 4046225305,
  3920. 614570311,
  3921. 3012652279,
  3922. 134345442,
  3923. 2240740374,
  3924. 1667834072,
  3925. 1901547113,
  3926. 2757295779,
  3927. 4103290238,
  3928. 227898511,
  3929. 1921955416,
  3930. 1904987480,
  3931. 2182433518,
  3932. 2069144605,
  3933. 3260701109,
  3934. 2620446009,
  3935. 720527379,
  3936. 3318853667,
  3937. 677414384,
  3938. 3393288472,
  3939. 3101374703,
  3940. 2390351024,
  3941. 1614419982,
  3942. 1822297739,
  3943. 2954791486,
  3944. 3608508353,
  3945. 3174124327,
  3946. 2024746970,
  3947. 1432378464,
  3948. 3864339955,
  3949. 2857741204,
  3950. 1464375394,
  3951. 1676153920,
  3952. 1439316330,
  3953. 715854006,
  3954. 3033291828,
  3955. 289532110,
  3956. 2706671279,
  3957. 2087905683,
  3958. 3018724369,
  3959. 1668267050,
  3960. 732546397,
  3961. 1947742710,
  3962. 3462151702,
  3963. 2609353502,
  3964. 2950085171,
  3965. 1814351708,
  3966. 2050118529,
  3967. 680887927,
  3968. 999245976,
  3969. 1800124847,
  3970. 3300911131,
  3971. 1713906067,
  3972. 1641548236,
  3973. 4213287313,
  3974. 1216130144,
  3975. 1575780402,
  3976. 4018429277,
  3977. 3917837745,
  3978. 3693486850,
  3979. 3949271944,
  3980. 596196993,
  3981. 3549867205,
  3982. 258830323,
  3983. 2213823033,
  3984. 772490370,
  3985. 2760122372,
  3986. 1774776394,
  3987. 2652871518,
  3988. 566650946,
  3989. 4142492826,
  3990. 1728879713,
  3991. 2882767088,
  3992. 1783734482,
  3993. 3629395816,
  3994. 2517608232,
  3995. 2874225571,
  3996. 1861159788,
  3997. 326777828,
  3998. 3124490320,
  3999. 2130389656,
  4000. 2716951837,
  4001. 967770486,
  4002. 1724537150,
  4003. 2185432712,
  4004. 2364442137,
  4005. 1164943284,
  4006. 2105845187,
  4007. 998989502,
  4008. 3765401048,
  4009. 2244026483,
  4010. 1075463327,
  4011. 1455516326,
  4012. 1322494562,
  4013. 910128902,
  4014. 469688178,
  4015. 1117454909,
  4016. 936433444,
  4017. 3490320968,
  4018. 3675253459,
  4019. 1240580251,
  4020. 122909385,
  4021. 2157517691,
  4022. 634681816,
  4023. 4142456567,
  4024. 3825094682,
  4025. 3061402683,
  4026. 2540495037,
  4027. 79693498,
  4028. 3249098678,
  4029. 1084186820,
  4030. 1583128258,
  4031. 426386531,
  4032. 1761308591,
  4033. 1047286709,
  4034. 322548459,
  4035. 995290223,
  4036. 1845252383,
  4037. 2603652396,
  4038. 3431023940,
  4039. 2942221577,
  4040. 3202600964,
  4041. 3727903485,
  4042. 1712269319,
  4043. 422464435,
  4044. 3234572375,
  4045. 1170764815,
  4046. 3523960633,
  4047. 3117677531,
  4048. 1434042557,
  4049. 442511882,
  4050. 3600875718,
  4051. 1076654713,
  4052. 1738483198,
  4053. 4213154764,
  4054. 2393238008,
  4055. 3677496056,
  4056. 1014306527,
  4057. 4251020053,
  4058. 793779912,
  4059. 2902807211,
  4060. 842905082,
  4061. 4246964064,
  4062. 1395751752,
  4063. 1040244610,
  4064. 2656851899,
  4065. 3396308128,
  4066. 445077038,
  4067. 3742853595,
  4068. 3577915638,
  4069. 679411651,
  4070. 2892444358,
  4071. 2354009459,
  4072. 1767581616,
  4073. 3150600392,
  4074. 3791627101,
  4075. 3102740896,
  4076. 284835224,
  4077. 4246832056,
  4078. 1258075500,
  4079. 768725851,
  4080. 2589189241,
  4081. 3069724005,
  4082. 3532540348,
  4083. 1274779536,
  4084. 3789419226,
  4085. 2764799539,
  4086. 1660621633,
  4087. 3471099624,
  4088. 4011903706,
  4089. 913787905,
  4090. 3497959166,
  4091. 737222580,
  4092. 2514213453,
  4093. 2928710040,
  4094. 3937242737,
  4095. 1804850592,
  4096. 3499020752,
  4097. 2949064160,
  4098. 2386320175,
  4099. 2390070455,
  4100. 2415321851,
  4101. 4061277028,
  4102. 2290661394,
  4103. 2416832540,
  4104. 1336762016,
  4105. 1754252060,
  4106. 3520065937,
  4107. 3014181293,
  4108. 791618072,
  4109. 3188594551,
  4110. 3933548030,
  4111. 2332172193,
  4112. 3852520463,
  4113. 3043980520,
  4114. 413987798,
  4115. 3465142937,
  4116. 3030929376,
  4117. 4245938359,
  4118. 2093235073,
  4119. 3534596313,
  4120. 375366246,
  4121. 2157278981,
  4122. 2479649556,
  4123. 555357303,
  4124. 3870105701,
  4125. 2008414854,
  4126. 3344188149,
  4127. 4221384143,
  4128. 3956125452,
  4129. 2067696032,
  4130. 3594591187,
  4131. 2921233993,
  4132. 2428461,
  4133. 544322398,
  4134. 577241275,
  4135. 1471733935,
  4136. 610547355,
  4137. 4027169054,
  4138. 1432588573,
  4139. 1507829418,
  4140. 2025931657,
  4141. 3646575487,
  4142. 545086370,
  4143. 48609733,
  4144. 2200306550,
  4145. 1653985193,
  4146. 298326376,
  4147. 1316178497,
  4148. 3007786442,
  4149. 2064951626,
  4150. 458293330,
  4151. 2589141269,
  4152. 3591329599,
  4153. 3164325604,
  4154. 727753846,
  4155. 2179363840,
  4156. 146436021,
  4157. 1461446943,
  4158. 4069977195,
  4159. 705550613,
  4160. 3059967265,
  4161. 3887724982,
  4162. 4281599278,
  4163. 3313849956,
  4164. 1404054877,
  4165. 2845806497,
  4166. 146425753,
  4167. 1854211946
  4168. ],
  4169. [
  4170. 1266315497,
  4171. 3048417604,
  4172. 3681880366,
  4173. 3289982499,
  4174. 290971e4,
  4175. 1235738493,
  4176. 2632868024,
  4177. 2414719590,
  4178. 3970600049,
  4179. 1771706367,
  4180. 1449415276,
  4181. 3266420449,
  4182. 422970021,
  4183. 1963543593,
  4184. 2690192192,
  4185. 3826793022,
  4186. 1062508698,
  4187. 1531092325,
  4188. 1804592342,
  4189. 2583117782,
  4190. 2714934279,
  4191. 4024971509,
  4192. 1294809318,
  4193. 4028980673,
  4194. 1289560198,
  4195. 2221992742,
  4196. 1669523910,
  4197. 35572830,
  4198. 157838143,
  4199. 1052438473,
  4200. 1016535060,
  4201. 1802137761,
  4202. 1753167236,
  4203. 1386275462,
  4204. 3080475397,
  4205. 2857371447,
  4206. 1040679964,
  4207. 2145300060,
  4208. 2390574316,
  4209. 1461121720,
  4210. 2956646967,
  4211. 4031777805,
  4212. 4028374788,
  4213. 33600511,
  4214. 2920084762,
  4215. 1018524850,
  4216. 629373528,
  4217. 3691585981,
  4218. 3515945977,
  4219. 2091462646,
  4220. 2486323059,
  4221. 586499841,
  4222. 988145025,
  4223. 935516892,
  4224. 3367335476,
  4225. 2599673255,
  4226. 2839830854,
  4227. 265290510,
  4228. 3972581182,
  4229. 2759138881,
  4230. 3795373465,
  4231. 1005194799,
  4232. 847297441,
  4233. 406762289,
  4234. 1314163512,
  4235. 1332590856,
  4236. 1866599683,
  4237. 4127851711,
  4238. 750260880,
  4239. 613907577,
  4240. 1450815602,
  4241. 3165620655,
  4242. 3734664991,
  4243. 3650291728,
  4244. 3012275730,
  4245. 3704569646,
  4246. 1427272223,
  4247. 778793252,
  4248. 1343938022,
  4249. 2676280711,
  4250. 2052605720,
  4251. 1946737175,
  4252. 3164576444,
  4253. 3914038668,
  4254. 3967478842,
  4255. 3682934266,
  4256. 1661551462,
  4257. 3294938066,
  4258. 4011595847,
  4259. 840292616,
  4260. 3712170807,
  4261. 616741398,
  4262. 312560963,
  4263. 711312465,
  4264. 1351876610,
  4265. 322626781,
  4266. 1910503582,
  4267. 271666773,
  4268. 2175563734,
  4269. 1594956187,
  4270. 70604529,
  4271. 3617834859,
  4272. 1007753275,
  4273. 1495573769,
  4274. 4069517037,
  4275. 2549218298,
  4276. 2663038764,
  4277. 504708206,
  4278. 2263041392,
  4279. 3941167025,
  4280. 2249088522,
  4281. 1514023603,
  4282. 1998579484,
  4283. 1312622330,
  4284. 694541497,
  4285. 2582060303,
  4286. 2151582166,
  4287. 1382467621,
  4288. 776784248,
  4289. 2618340202,
  4290. 3323268794,
  4291. 2497899128,
  4292. 2784771155,
  4293. 503983604,
  4294. 4076293799,
  4295. 907881277,
  4296. 423175695,
  4297. 432175456,
  4298. 1378068232,
  4299. 4145222326,
  4300. 3954048622,
  4301. 3938656102,
  4302. 3820766613,
  4303. 2793130115,
  4304. 2977904593,
  4305. 26017576,
  4306. 3274890735,
  4307. 3194772133,
  4308. 1700274565,
  4309. 1756076034,
  4310. 4006520079,
  4311. 3677328699,
  4312. 720338349,
  4313. 1533947780,
  4314. 354530856,
  4315. 688349552,
  4316. 3973924725,
  4317. 1637815568,
  4318. 332179504,
  4319. 3949051286,
  4320. 53804574,
  4321. 2852348879,
  4322. 3044236432,
  4323. 1282449977,
  4324. 3583942155,
  4325. 3416972820,
  4326. 4006381244,
  4327. 1617046695,
  4328. 2628476075,
  4329. 3002303598,
  4330. 1686838959,
  4331. 431878346,
  4332. 2686675385,
  4333. 1700445008,
  4334. 1080580658,
  4335. 1009431731,
  4336. 832498133,
  4337. 3223435511,
  4338. 2605976345,
  4339. 2271191193,
  4340. 2516031870,
  4341. 1648197032,
  4342. 4164389018,
  4343. 2548247927,
  4344. 300782431,
  4345. 375919233,
  4346. 238389289,
  4347. 3353747414,
  4348. 2531188641,
  4349. 2019080857,
  4350. 1475708069,
  4351. 455242339,
  4352. 2609103871,
  4353. 448939670,
  4354. 3451063019,
  4355. 1395535956,
  4356. 2413381860,
  4357. 1841049896,
  4358. 1491858159,
  4359. 885456874,
  4360. 4264095073,
  4361. 4001119347,
  4362. 1565136089,
  4363. 3898914787,
  4364. 1108368660,
  4365. 540939232,
  4366. 1173283510,
  4367. 2745871338,
  4368. 3681308437,
  4369. 4207628240,
  4370. 3343053890,
  4371. 4016749493,
  4372. 1699691293,
  4373. 1103962373,
  4374. 3625875870,
  4375. 2256883143,
  4376. 3830138730,
  4377. 1031889488,
  4378. 3479347698,
  4379. 1535977030,
  4380. 4236805024,
  4381. 3251091107,
  4382. 2132092099,
  4383. 1774941330,
  4384. 1199868427,
  4385. 1452454533,
  4386. 157007616,
  4387. 2904115357,
  4388. 342012276,
  4389. 595725824,
  4390. 1480756522,
  4391. 206960106,
  4392. 497939518,
  4393. 591360097,
  4394. 863170706,
  4395. 2375253569,
  4396. 3596610801,
  4397. 1814182875,
  4398. 2094937945,
  4399. 3421402208,
  4400. 1082520231,
  4401. 3463918190,
  4402. 2785509508,
  4403. 435703966,
  4404. 3908032597,
  4405. 1641649973,
  4406. 2842273706,
  4407. 3305899714,
  4408. 1510255612,
  4409. 2148256476,
  4410. 2655287854,
  4411. 3276092548,
  4412. 4258621189,
  4413. 236887753,
  4414. 3681803219,
  4415. 274041037,
  4416. 1734335097,
  4417. 3815195456,
  4418. 3317970021,
  4419. 1899903192,
  4420. 1026095262,
  4421. 4050517792,
  4422. 356393447,
  4423. 2410691914,
  4424. 3873677099,
  4425. 3682840055
  4426. ],
  4427. [
  4428. 3913112168,
  4429. 2491498743,
  4430. 4132185628,
  4431. 2489919796,
  4432. 1091903735,
  4433. 1979897079,
  4434. 3170134830,
  4435. 3567386728,
  4436. 3557303409,
  4437. 857797738,
  4438. 1136121015,
  4439. 1342202287,
  4440. 507115054,
  4441. 2535736646,
  4442. 337727348,
  4443. 3213592640,
  4444. 1301675037,
  4445. 2528481711,
  4446. 1895095763,
  4447. 1721773893,
  4448. 3216771564,
  4449. 62756741,
  4450. 2142006736,
  4451. 835421444,
  4452. 2531993523,
  4453. 1442658625,
  4454. 3659876326,
  4455. 2882144922,
  4456. 676362277,
  4457. 1392781812,
  4458. 170690266,
  4459. 3921047035,
  4460. 1759253602,
  4461. 3611846912,
  4462. 1745797284,
  4463. 664899054,
  4464. 1329594018,
  4465. 3901205900,
  4466. 3045908486,
  4467. 2062866102,
  4468. 2865634940,
  4469. 3543621612,
  4470. 3464012697,
  4471. 1080764994,
  4472. 553557557,
  4473. 3656615353,
  4474. 3996768171,
  4475. 991055499,
  4476. 499776247,
  4477. 1265440854,
  4478. 648242737,
  4479. 3940784050,
  4480. 980351604,
  4481. 3713745714,
  4482. 1749149687,
  4483. 3396870395,
  4484. 4211799374,
  4485. 3640570775,
  4486. 1161844396,
  4487. 3125318951,
  4488. 1431517754,
  4489. 545492359,
  4490. 4268468663,
  4491. 3499529547,
  4492. 1437099964,
  4493. 2702547544,
  4494. 3433638243,
  4495. 2581715763,
  4496. 2787789398,
  4497. 1060185593,
  4498. 1593081372,
  4499. 2418618748,
  4500. 4260947970,
  4501. 69676912,
  4502. 2159744348,
  4503. 86519011,
  4504. 2512459080,
  4505. 3838209314,
  4506. 1220612927,
  4507. 3339683548,
  4508. 133810670,
  4509. 1090789135,
  4510. 1078426020,
  4511. 1569222167,
  4512. 845107691,
  4513. 3583754449,
  4514. 4072456591,
  4515. 1091646820,
  4516. 628848692,
  4517. 1613405280,
  4518. 3757631651,
  4519. 526609435,
  4520. 236106946,
  4521. 48312990,
  4522. 2942717905,
  4523. 3402727701,
  4524. 1797494240,
  4525. 859738849,
  4526. 992217954,
  4527. 4005476642,
  4528. 2243076622,
  4529. 3870952857,
  4530. 3732016268,
  4531. 765654824,
  4532. 3490871365,
  4533. 2511836413,
  4534. 1685915746,
  4535. 3888969200,
  4536. 1414112111,
  4537. 2273134842,
  4538. 3281911079,
  4539. 4080962846,
  4540. 172450625,
  4541. 2569994100,
  4542. 980381355,
  4543. 4109958455,
  4544. 2819808352,
  4545. 2716589560,
  4546. 2568741196,
  4547. 3681446669,
  4548. 3329971472,
  4549. 1835478071,
  4550. 660984891,
  4551. 3704678404,
  4552. 4045999559,
  4553. 3422617507,
  4554. 3040415634,
  4555. 1762651403,
  4556. 1719377915,
  4557. 3470491036,
  4558. 2693910283,
  4559. 3642056355,
  4560. 3138596744,
  4561. 1364962596,
  4562. 2073328063,
  4563. 1983633131,
  4564. 926494387,
  4565. 3423689081,
  4566. 2150032023,
  4567. 4096667949,
  4568. 1749200295,
  4569. 3328846651,
  4570. 309677260,
  4571. 2016342300,
  4572. 1779581495,
  4573. 3079819751,
  4574. 111262694,
  4575. 1274766160,
  4576. 443224088,
  4577. 298511866,
  4578. 1025883608,
  4579. 3806446537,
  4580. 1145181785,
  4581. 168956806,
  4582. 3641502830,
  4583. 3584813610,
  4584. 1689216846,
  4585. 3666258015,
  4586. 3200248200,
  4587. 1692713982,
  4588. 2646376535,
  4589. 4042768518,
  4590. 1618508792,
  4591. 1610833997,
  4592. 3523052358,
  4593. 4130873264,
  4594. 2001055236,
  4595. 3610705100,
  4596. 2202168115,
  4597. 4028541809,
  4598. 2961195399,
  4599. 1006657119,
  4600. 2006996926,
  4601. 3186142756,
  4602. 1430667929,
  4603. 3210227297,
  4604. 1314452623,
  4605. 4074634658,
  4606. 4101304120,
  4607. 2273951170,
  4608. 1399257539,
  4609. 3367210612,
  4610. 3027628629,
  4611. 1190975929,
  4612. 2062231137,
  4613. 2333990788,
  4614. 2221543033,
  4615. 2438960610,
  4616. 1181637006,
  4617. 548689776,
  4618. 2362791313,
  4619. 3372408396,
  4620. 3104550113,
  4621. 3145860560,
  4622. 296247880,
  4623. 1970579870,
  4624. 3078560182,
  4625. 3769228297,
  4626. 1714227617,
  4627. 3291629107,
  4628. 3898220290,
  4629. 166772364,
  4630. 1251581989,
  4631. 493813264,
  4632. 448347421,
  4633. 195405023,
  4634. 2709975567,
  4635. 677966185,
  4636. 3703036547,
  4637. 1463355134,
  4638. 2715995803,
  4639. 1338867538,
  4640. 1343315457,
  4641. 2802222074,
  4642. 2684532164,
  4643. 233230375,
  4644. 2599980071,
  4645. 2000651841,
  4646. 3277868038,
  4647. 1638401717,
  4648. 4028070440,
  4649. 3237316320,
  4650. 6314154,
  4651. 819756386,
  4652. 300326615,
  4653. 590932579,
  4654. 1405279636,
  4655. 3267499572,
  4656. 3150704214,
  4657. 2428286686,
  4658. 3959192993,
  4659. 3461946742,
  4660. 1862657033,
  4661. 1266418056,
  4662. 963775037,
  4663. 2089974820,
  4664. 2263052895,
  4665. 1917689273,
  4666. 448879540,
  4667. 3550394620,
  4668. 3981727096,
  4669. 150775221,
  4670. 3627908307,
  4671. 1303187396,
  4672. 508620638,
  4673. 2975983352,
  4674. 2726630617,
  4675. 1817252668,
  4676. 1876281319,
  4677. 1457606340,
  4678. 908771278,
  4679. 3720792119,
  4680. 3617206836,
  4681. 2455994898,
  4682. 1729034894,
  4683. 1080033504
  4684. ],
  4685. [
  4686. 976866871,
  4687. 3556439503,
  4688. 2881648439,
  4689. 1522871579,
  4690. 1555064734,
  4691. 1336096578,
  4692. 3548522304,
  4693. 2579274686,
  4694. 3574697629,
  4695. 3205460757,
  4696. 3593280638,
  4697. 3338716283,
  4698. 3079412587,
  4699. 564236357,
  4700. 2993598910,
  4701. 1781952180,
  4702. 1464380207,
  4703. 3163844217,
  4704. 3332601554,
  4705. 1699332808,
  4706. 1393555694,
  4707. 1183702653,
  4708. 3581086237,
  4709. 1288719814,
  4710. 691649499,
  4711. 2847557200,
  4712. 2895455976,
  4713. 3193889540,
  4714. 2717570544,
  4715. 1781354906,
  4716. 1676643554,
  4717. 2592534050,
  4718. 3230253752,
  4719. 1126444790,
  4720. 2770207658,
  4721. 2633158820,
  4722. 2210423226,
  4723. 2615765581,
  4724. 2414155088,
  4725. 3127139286,
  4726. 673620729,
  4727. 2805611233,
  4728. 1269405062,
  4729. 4015350505,
  4730. 3341807571,
  4731. 4149409754,
  4732. 1057255273,
  4733. 2012875353,
  4734. 2162469141,
  4735. 2276492801,
  4736. 2601117357,
  4737. 993977747,
  4738. 3918593370,
  4739. 2654263191,
  4740. 753973209,
  4741. 36408145,
  4742. 2530585658,
  4743. 25011837,
  4744. 3520020182,
  4745. 2088578344,
  4746. 530523599,
  4747. 2918365339,
  4748. 1524020338,
  4749. 1518925132,
  4750. 3760827505,
  4751. 3759777254,
  4752. 1202760957,
  4753. 3985898139,
  4754. 3906192525,
  4755. 674977740,
  4756. 4174734889,
  4757. 2031300136,
  4758. 2019492241,
  4759. 3983892565,
  4760. 4153806404,
  4761. 3822280332,
  4762. 352677332,
  4763. 2297720250,
  4764. 60907813,
  4765. 90501309,
  4766. 3286998549,
  4767. 1016092578,
  4768. 2535922412,
  4769. 2839152426,
  4770. 457141659,
  4771. 509813237,
  4772. 4120667899,
  4773. 652014361,
  4774. 1966332200,
  4775. 2975202805,
  4776. 55981186,
  4777. 2327461051,
  4778. 676427537,
  4779. 3255491064,
  4780. 2882294119,
  4781. 3433927263,
  4782. 1307055953,
  4783. 942726286,
  4784. 933058658,
  4785. 2468411793,
  4786. 3933900994,
  4787. 4215176142,
  4788. 1361170020,
  4789. 2001714738,
  4790. 2830558078,
  4791. 3274259782,
  4792. 1222529897,
  4793. 1679025792,
  4794. 2729314320,
  4795. 3714953764,
  4796. 1770335741,
  4797. 151462246,
  4798. 3013232138,
  4799. 1682292957,
  4800. 1483529935,
  4801. 471910574,
  4802. 1539241949,
  4803. 458788160,
  4804. 3436315007,
  4805. 1807016891,
  4806. 3718408830,
  4807. 978976581,
  4808. 1043663428,
  4809. 3165965781,
  4810. 1927990952,
  4811. 4200891579,
  4812. 2372276910,
  4813. 3208408903,
  4814. 3533431907,
  4815. 1412390302,
  4816. 2931980059,
  4817. 4132332400,
  4818. 1947078029,
  4819. 3881505623,
  4820. 4168226417,
  4821. 2941484381,
  4822. 1077988104,
  4823. 1320477388,
  4824. 886195818,
  4825. 18198404,
  4826. 3786409e3,
  4827. 2509781533,
  4828. 112762804,
  4829. 3463356488,
  4830. 1866414978,
  4831. 891333506,
  4832. 18488651,
  4833. 661792760,
  4834. 1628790961,
  4835. 3885187036,
  4836. 3141171499,
  4837. 876946877,
  4838. 2693282273,
  4839. 1372485963,
  4840. 791857591,
  4841. 2686433993,
  4842. 3759982718,
  4843. 3167212022,
  4844. 3472953795,
  4845. 2716379847,
  4846. 445679433,
  4847. 3561995674,
  4848. 3504004811,
  4849. 3574258232,
  4850. 54117162,
  4851. 3331405415,
  4852. 2381918588,
  4853. 3769707343,
  4854. 4154350007,
  4855. 1140177722,
  4856. 4074052095,
  4857. 668550556,
  4858. 3214352940,
  4859. 367459370,
  4860. 261225585,
  4861. 2610173221,
  4862. 4209349473,
  4863. 3468074219,
  4864. 3265815641,
  4865. 314222801,
  4866. 3066103646,
  4867. 3808782860,
  4868. 282218597,
  4869. 3406013506,
  4870. 3773591054,
  4871. 379116347,
  4872. 1285071038,
  4873. 846784868,
  4874. 2669647154,
  4875. 3771962079,
  4876. 3550491691,
  4877. 2305946142,
  4878. 453669953,
  4879. 1268987020,
  4880. 3317592352,
  4881. 3279303384,
  4882. 3744833421,
  4883. 2610507566,
  4884. 3859509063,
  4885. 266596637,
  4886. 3847019092,
  4887. 517658769,
  4888. 3462560207,
  4889. 3443424879,
  4890. 370717030,
  4891. 4247526661,
  4892. 2224018117,
  4893. 4143653529,
  4894. 4112773975,
  4895. 2788324899,
  4896. 2477274417,
  4897. 1456262402,
  4898. 2901442914,
  4899. 1517677493,
  4900. 1846949527,
  4901. 2295493580,
  4902. 3734397586,
  4903. 2176403920,
  4904. 1280348187,
  4905. 1908823572,
  4906. 3871786941,
  4907. 846861322,
  4908. 1172426758,
  4909. 3287448474,
  4910. 3383383037,
  4911. 1655181056,
  4912. 3139813346,
  4913. 901632758,
  4914. 1897031941,
  4915. 2986607138,
  4916. 3066810236,
  4917. 3447102507,
  4918. 1393639104,
  4919. 373351379,
  4920. 950779232,
  4921. 625454576,
  4922. 3124240540,
  4923. 4148612726,
  4924. 2007998917,
  4925. 544563296,
  4926. 2244738638,
  4927. 2330496472,
  4928. 2058025392,
  4929. 1291430526,
  4930. 424198748,
  4931. 50039436,
  4932. 29584100,
  4933. 3605783033,
  4934. 2429876329,
  4935. 2791104160,
  4936. 1057563949,
  4937. 3255363231,
  4938. 3075367218,
  4939. 3463963227,
  4940. 1469046755,
  4941. 985887462
  4942. ]
  4943. ];
  4944. var s = {
  4945. pbox: [],
  4946. sbox: []
  4947. };
  4948. function Q(v, H) {
  4949. let g = H >> 24 & 255, C = H >> 16 & 255, r = H >> 8 & 255, O = H & 255, L = v.sbox[0][g] + v.sbox[1][C];
  4950. return L = L ^ v.sbox[2][r], L = L + v.sbox[3][O], L;
  4951. }
  4952. function e(v, H, g) {
  4953. let C = H, r = g, O;
  4954. for (let L = 0; L < c; ++L)
  4955. C = C ^ v.pbox[L], r = Q(v, C) ^ r, O = C, C = r, r = O;
  4956. return O = C, C = r, r = O, r = r ^ v.pbox[c], C = C ^ v.pbox[c + 1], { left: C, right: r };
  4957. }
  4958. function f(v, H, g) {
  4959. let C = H, r = g, O;
  4960. for (let L = c + 1; L > 1; --L)
  4961. C = C ^ v.pbox[L], r = Q(v, C) ^ r, O = C, C = r, r = O;
  4962. return O = C, C = r, r = O, r = r ^ v.pbox[1], C = C ^ v.pbox[0], { left: C, right: r };
  4963. }
  4964. function t(v, H, g) {
  4965. for (let Z = 0; Z < 4; Z++) {
  4966. v.sbox[Z] = [];
  4967. for (let d = 0; d < 256; d++)
  4968. v.sbox[Z][d] = B[Z][d];
  4969. }
  4970. let C = 0;
  4971. for (let Z = 0; Z < c + 2; Z++)
  4972. v.pbox[Z] = Y[Z] ^ H[C], C++, C >= g && (C = 0);
  4973. let r = 0, O = 0, L = 0;
  4974. for (let Z = 0; Z < c + 2; Z += 2)
  4975. L = e(v, r, O), r = L.left, O = L.right, v.pbox[Z] = r, v.pbox[Z + 1] = O;
  4976. for (let Z = 0; Z < 4; Z++)
  4977. for (let d = 0; d < 256; d += 2)
  4978. L = e(v, r, O), r = L.left, O = L.right, v.sbox[Z][d] = r, v.sbox[Z][d + 1] = O;
  4979. return !0;
  4980. }
  4981. var P = l.Blowfish = z.extend({
  4982. _doReset: function() {
  4983. if (this._keyPriorReset !== this._key) {
  4984. var v = this._keyPriorReset = this._key, H = v.words, g = v.sigBytes / 4;
  4985. t(s, H, g);
  4986. }
  4987. },
  4988. encryptBlock: function(v, H) {
  4989. var g = e(s, v[H], v[H + 1]);
  4990. v[H] = g.left, v[H + 1] = g.right;
  4991. },
  4992. decryptBlock: function(v, H) {
  4993. var g = f(s, v[H], v[H + 1]);
  4994. v[H] = g.left, v[H + 1] = g.right;
  4995. },
  4996. blockSize: 64 / 32,
  4997. keySize: 128 / 32,
  4998. ivSize: 64 / 32
  4999. });
  5000. D.Blowfish = z._createHelper(P);
  5001. }(), A.Blowfish;
  5002. });
  5003. }(Lg)), Lg.exports;
  5004. }
  5005. (function(M, n) {
  5006. (function(A, D, w) {
  5007. M.exports = D(U(), kA(), yw(), Xw(), OA(), jw(), xA(), mB(), lg(), Vw(), JB(), ow(), Fw(), Nw(), Gg(), mw(), QA(), gA(), Jw(), kw(), Kw(), Ew(), Iw(), pw(), Tw(), Sw(), Uw(), iw(), qw(), hw(), Rw(), _w(), $w(), AD(), gD());
  5008. })(I, function(A) {
  5009. return A;
  5010. });
  5011. })(NB);
  5012. var BD = NB.exports;
  5013. const VA = /* @__PURE__ */ Bw(BD);
  5014. function NA(M, n = "XwKsGlMcdPMEhR1B") {
  5015. var A = VA.enc.Utf8.parse(n), D = VA.enc.Utf8.parse(M), w = VA.AES.encrypt(D, A, { mode: VA.mode.ECB, padding: VA.pad.Pkcs7 });
  5016. return w.toString();
  5017. }
  5018. function kB(M) {
  5019. var n, A, D, w, z = M.$el.parentNode.offsetWidth || window.offsetWidth, l = M.$el.parentNode.offsetHeight || window.offsetHeight;
  5020. return M.imgSize.width.indexOf("%") != -1 ? n = parseInt(this.imgSize.width) / 100 * z + "px" : n = this.imgSize.width, M.imgSize.height.indexOf("%") != -1 ? A = parseInt(this.imgSize.height) / 100 * l + "px" : A = this.imgSize.height, M.barSize.width.indexOf("%") != -1 ? D = parseInt(this.barSize.width) / 100 * z + "px" : D = this.barSize.width, M.barSize.height.indexOf("%") != -1 ? w = parseInt(this.barSize.height) / 100 * l + "px" : w = this.barSize.height, { imgWidth: n, imgHeight: A, barWidth: D, barHeight: w };
  5021. }
  5022. const wD = {
  5023. name: "SVerifySlide",
  5024. props: {
  5025. // eslint-disable-next-line vue/require-default-prop
  5026. captchaType: {
  5027. type: String
  5028. },
  5029. type: {
  5030. type: String,
  5031. default: "1"
  5032. },
  5033. // 弹出式pop,固定fixed
  5034. mode: {
  5035. type: String,
  5036. default: "fixed"
  5037. },
  5038. vSpace: {
  5039. type: Number,
  5040. default: 5
  5041. },
  5042. explain: {
  5043. type: String,
  5044. default: window.$l("向右滑动完成验证")
  5045. },
  5046. imgSize: {
  5047. type: Object,
  5048. default() {
  5049. return {
  5050. width: "310px",
  5051. height: "155px"
  5052. };
  5053. }
  5054. },
  5055. blockSize: {
  5056. type: Object,
  5057. default() {
  5058. return {
  5059. width: "50px",
  5060. height: "50px"
  5061. };
  5062. }
  5063. },
  5064. barSize: {
  5065. type: Object,
  5066. default() {
  5067. return {
  5068. width: "310px",
  5069. height: "40px"
  5070. };
  5071. }
  5072. }
  5073. },
  5074. data() {
  5075. return {
  5076. secretKey: "",
  5077. // 后端返回的加密秘钥 字段
  5078. passFlag: "",
  5079. // 是否通过的标识
  5080. backImgBase: "",
  5081. // 验证码背景图片
  5082. blockBackImgBase: "",
  5083. // 验证滑块的背景图片
  5084. backToken: "",
  5085. // 后端返回的唯一token值
  5086. startMoveTime: "",
  5087. // 移动开始的时间
  5088. endMovetime: "",
  5089. // 移动结束的时间
  5090. tipsBackColor: "",
  5091. // 提示词的背景颜色
  5092. tipWords: "",
  5093. text: "",
  5094. finishText: "",
  5095. setSize: {
  5096. imgHeight: 0,
  5097. imgWidth: 0,
  5098. barHeight: 0,
  5099. barWidth: 0
  5100. },
  5101. top: 0,
  5102. left: 0,
  5103. moveBlockLeft: void 0,
  5104. leftBarWidth: void 0,
  5105. // 移动中样式
  5106. moveBlockBackgroundColor: void 0,
  5107. leftBarBorderColor: "var(--s-border-color-base)",
  5108. iconColor: void 0,
  5109. iconClass: "icon-right",
  5110. status: !1,
  5111. // 鼠标状态
  5112. isEnd: !1,
  5113. // 是够验证完成
  5114. showRefresh: !0,
  5115. transitionLeft: "",
  5116. transitionWidth: ""
  5117. };
  5118. },
  5119. computed: {
  5120. barArea() {
  5121. return this.$el.querySelector(".verify-bar-area");
  5122. },
  5123. resetSize() {
  5124. return kB;
  5125. }
  5126. },
  5127. methods: {
  5128. init() {
  5129. this.text = window.$l(this.explain), this.$utils.ls.get("token") && this.getPictrue(), this.$nextTick(() => {
  5130. const n = this.resetSize(this);
  5131. for (const A in n)
  5132. this.setSize[A] = parseInt(n[A]);
  5133. this.$parent.$emit("ready", this);
  5134. });
  5135. var M = this;
  5136. window.removeEventListener("touchmove", function(n) {
  5137. M.move(n);
  5138. }), window.removeEventListener("mousemove", function(n) {
  5139. M.move(n);
  5140. }), window.removeEventListener("touchend", function() {
  5141. M.end();
  5142. }), window.removeEventListener("mouseup", function() {
  5143. M.end();
  5144. }), window.addEventListener("touchmove", function(n) {
  5145. M.move(n);
  5146. }), window.addEventListener("mousemove", function(n) {
  5147. M.move(n);
  5148. }), window.addEventListener("touchend", function() {
  5149. M.end();
  5150. }), window.addEventListener("mouseup", function() {
  5151. M.end();
  5152. });
  5153. },
  5154. // 鼠标按下
  5155. start: function(M) {
  5156. if (M = M || window.event, M.touches)
  5157. var n = M.touches[0].pageX;
  5158. else
  5159. var n = M.clientX;
  5160. this.startLeft = Math.floor(n - this.barArea.getBoundingClientRect().left), this.startMoveTime = +/* @__PURE__ */ new Date(), this.isEnd == !1 && (this.text = "", this.moveBlockBackgroundColor = "var(--s-color)", this.leftBarBorderColor = "var(--s-color)", this.iconColor = "var(--s-text-color-inverse)", M.stopPropagation(), this.status = !0);
  5161. },
  5162. // 鼠标移动
  5163. move: function(M) {
  5164. if (M = M || window.event, this.status && this.isEnd == !1) {
  5165. if (M.touches)
  5166. var n = M.touches[0].pageX;
  5167. else
  5168. var n = M.clientX;
  5169. var A = this.barArea.getBoundingClientRect().left, D = n - A;
  5170. D >= this.barArea.offsetWidth - parseInt(parseInt(this.blockSize.width) / 2) - 2 && (D = this.barArea.offsetWidth - parseInt(parseInt(this.blockSize.width) / 2) - 2), D <= 0 && (D = parseInt(parseInt(this.blockSize.width) / 2)), this.moveBlockLeft = D - this.startLeft + "px", this.leftBarWidth = D - this.startLeft + "px";
  5171. }
  5172. },
  5173. // 鼠标松开
  5174. end: function() {
  5175. this.endMovetime = +/* @__PURE__ */ new Date();
  5176. var M = this;
  5177. if (this.status && this.isEnd == !1) {
  5178. var n = parseInt((this.moveBlockLeft || "").replace("px", ""));
  5179. n = n * 310 / parseInt(this.setSize.imgWidth);
  5180. const A = {
  5181. captchaType: this.captchaType,
  5182. pointJson: this.secretKey ? NA(JSON.stringify({ x: n, y: 5 }), this.secretKey) : JSON.stringify({ x: n, y: 5 }),
  5183. token: this.backToken
  5184. };
  5185. bB(A).then((D) => {
  5186. if (D.repCode == "0000") {
  5187. this.moveBlockBackgroundColor = "var(--s-color-success)", this.leftBarBorderColor = "var(--s-color-success)", this.iconColor = "var(--s-text-color-inverse)", this.iconClass = "icon-check", this.showRefresh = !1, this.isEnd = !0, this.mode == "pop" && setTimeout(() => {
  5188. this.$parent.clickShow = !1, this.refresh();
  5189. }, 1500), this.passFlag = !0, this.tipWords = `${((this.endMovetime - this.startMoveTime) / 1e3).toFixed(2)}s ${window.$l("验证成功")}`;
  5190. var w = this.secretKey ? NA(
  5191. this.backToken + "---" + JSON.stringify({ x: n, y: 5 }),
  5192. this.secretKey
  5193. ) : this.backToken + "---" + JSON.stringify({ x: n, y: 5 });
  5194. setTimeout(() => {
  5195. this.tipWords = "", this.$parent.closeBox(), this.$parent.$emit("success", { captchaVerification: w });
  5196. }, 1e3);
  5197. } else
  5198. this.moveBlockBackgroundColor = "var(--s-color-error)", this.leftBarBorderColor = "var(--s-color-error)", this.iconColor = "var(--s-text-color-inverse)", this.iconClass = "icon-close", this.passFlag = !1, setTimeout(function() {
  5199. M.refresh();
  5200. }, 1e3), this.$parent.$emit("error", this), this.tipWords = window.$l("验证失败"), setTimeout(() => {
  5201. this.tipWords = "";
  5202. }, 1e3);
  5203. }), this.status = !1;
  5204. }
  5205. },
  5206. refresh: function() {
  5207. this.showRefresh = !0, this.finishText = "", this.transitionLeft = "left .3s", this.moveBlockLeft = 0, this.leftBarWidth = void 0, this.transitionWidth = "width .3s", this.leftBarBorderColor = "var(--s-border-color-base)", this.moveBlockBackgroundColor = "var(--s-bg-color-container)", this.iconColor = "var(--s-text-color)", this.iconClass = "icon-right", this.isEnd = !1, this.getPictrue(), setTimeout(() => {
  5208. this.transitionWidth = "", this.transitionLeft = "", this.text = window.$l(this.explain);
  5209. }, 300);
  5210. },
  5211. // 请求背景图片和验证图片
  5212. getPictrue() {
  5213. const M = {
  5214. captchaType: this.captchaType
  5215. };
  5216. ZB(M).then((n) => {
  5217. n.repCode == "0000" ? (this.backImgBase = n.repData.originalImageBase64, this.blockBackImgBase = n.repData.jigsawImageBase64, this.backToken = n.repData.token, this.secretKey = n.repData.secretKey) : this.tipWords = n.repMsg;
  5218. });
  5219. }
  5220. },
  5221. watch: {
  5222. // type变化则全面刷新
  5223. type: {
  5224. immediate: !0,
  5225. handler() {
  5226. this.init();
  5227. }
  5228. }
  5229. },
  5230. mounted() {
  5231. this.$el.onselectstart = function() {
  5232. return !1;
  5233. };
  5234. }
  5235. }, DD = { style: { position: "relative" } }, sD = ["src"], eD = ["textContent"], CD = ["textContent"], tD = ["src"];
  5236. function MD(M, n, A, D, w, z) {
  5237. return m(), T("div", DD, [
  5238. A.type === "2" ? (m(), T("div", {
  5239. key: 0,
  5240. style: vA({ height: parseInt(w.setSize.imgHeight) + A.vSpace + "px" }),
  5241. class: "verify-img-out"
  5242. }, [
  5243. V("div", {
  5244. style: vA({ width: w.setSize.imgWidth + "px", height: w.setSize.imgHeight + "px" }),
  5245. class: "verify-img-panel"
  5246. }, [
  5247. V("img", {
  5248. src: "data:image/png;base64," + w.backImgBase,
  5249. alt: "",
  5250. style: { width: "100%", height: "100%", display: "block" }
  5251. }, null, 8, sD),
  5252. xg(V("div", {
  5253. onClick: n[0] || (n[0] = (...l) => z.refresh && z.refresh(...l)),
  5254. class: "verify-refresh"
  5255. }, [...n[3] || (n[3] = [
  5256. V("i", { class: "iconfont icon-refresh" }, null, -1)
  5257. ])], 512), [
  5258. [Zg, w.showRefresh]
  5259. ]),
  5260. o(vw, { name: "tips" }, {
  5261. default: F(() => [
  5262. w.tipWords ? (m(), T("span", {
  5263. key: 0,
  5264. class: oA([w.passFlag ? "suc-bg" : "err-bg", "verify-tips"])
  5265. }, E(w.tipWords), 3)) : AA("", !0)
  5266. ]),
  5267. _: 1
  5268. })
  5269. ], 4)
  5270. ], 4)) : AA("", !0),
  5271. V("div", {
  5272. style: vA({
  5273. width: w.setSize.imgWidth + "px",
  5274. height: A.barSize.height,
  5275. "line-height": A.barSize.height
  5276. }),
  5277. class: "verify-bar-area"
  5278. }, [
  5279. V("span", {
  5280. class: "verify-msg",
  5281. textContent: E(w.text)
  5282. }, null, 8, eD),
  5283. V("div", {
  5284. style: vA({
  5285. width: w.leftBarWidth !== void 0 ? w.leftBarWidth : A.barSize.height,
  5286. height: A.barSize.height,
  5287. "border-color": w.leftBarBorderColor,
  5288. transaction: w.transitionWidth
  5289. }),
  5290. class: "verify-left-bar"
  5291. }, [
  5292. V("span", {
  5293. class: "verify-msg",
  5294. textContent: E(w.finishText)
  5295. }, null, 8, CD),
  5296. V("div", {
  5297. style: vA({
  5298. width: A.barSize.height,
  5299. height: A.barSize.height,
  5300. "background-color": w.moveBlockBackgroundColor,
  5301. left: w.moveBlockLeft,
  5302. transition: w.transitionLeft
  5303. }),
  5304. onMousedown: n[1] || (n[1] = (...l) => z.start && z.start(...l)),
  5305. onTouchstart: n[2] || (n[2] = (...l) => z.start && z.start(...l)),
  5306. class: "verify-move-block"
  5307. }, [
  5308. V("i", {
  5309. class: oA(["verify-icon iconfont", w.iconClass]),
  5310. style: vA({ color: w.iconColor })
  5311. }, null, 6),
  5312. A.type === "2" ? (m(), T("div", {
  5313. key: 0,
  5314. style: vA({
  5315. width: Math.floor(parseInt(w.setSize.imgWidth) * 47 / 310) + "px",
  5316. height: w.setSize.imgHeight + "px",
  5317. top: "-" + (parseInt(w.setSize.imgHeight) + A.vSpace) + "px",
  5318. "background-size": w.setSize.imgWidth + "px," + w.setSize.imgHeight + "px"
  5319. }),
  5320. class: "verify-sub-block"
  5321. }, [
  5322. V("img", {
  5323. src: "data:image/png;base64," + w.blockBackImgBase,
  5324. alt: "",
  5325. style: { width: "100%", height: "100%", display: "block" }
  5326. }, null, 8, tD)
  5327. ], 4)) : AA("", !0)
  5328. ], 36)
  5329. ], 4)
  5330. ], 4)
  5331. ]);
  5332. }
  5333. const vD = /* @__PURE__ */ PA(wD, [["render", MD]]), rD = {
  5334. name: "VerifyPoints",
  5335. props: {
  5336. // 弹出式pop,固定fixed
  5337. mode: {
  5338. type: String,
  5339. default: "fixed"
  5340. },
  5341. // eslint-disable-next-line vue/require-default-prop
  5342. captchaType: {
  5343. type: String
  5344. },
  5345. // 间隔
  5346. vSpace: {
  5347. type: Number,
  5348. default: 5
  5349. },
  5350. imgSize: {
  5351. type: Object,
  5352. default() {
  5353. return {
  5354. width: "310px",
  5355. height: "155px"
  5356. };
  5357. }
  5358. },
  5359. barSize: {
  5360. type: Object,
  5361. default() {
  5362. return {
  5363. width: "310px",
  5364. height: "40px"
  5365. };
  5366. }
  5367. }
  5368. },
  5369. data() {
  5370. return {
  5371. secretKey: "",
  5372. // 后端返回的ase加密秘钥
  5373. checkNum: 3,
  5374. // 默认需要点击的字数
  5375. fontPos: [],
  5376. // 选中的坐标信息
  5377. checkPosArr: [],
  5378. // 用户点击的坐标
  5379. num: 1,
  5380. // 点击的记数
  5381. pointBackImgBase: "",
  5382. // 后端获取到的背景图片
  5383. poinTextList: [],
  5384. // 后端返回的点击字体顺序
  5385. backToken: "",
  5386. // 后端返回的token值
  5387. setSize: {
  5388. imgHeight: 0,
  5389. imgWidth: 0,
  5390. barHeight: 0,
  5391. barWidth: 0
  5392. },
  5393. tempPoints: [],
  5394. text: "",
  5395. barAreaColor: void 0,
  5396. barAreaBorderColor: void 0,
  5397. showRefresh: !0,
  5398. bindingClick: !0
  5399. };
  5400. },
  5401. computed: {
  5402. resetSize() {
  5403. return kB;
  5404. }
  5405. },
  5406. methods: {
  5407. init() {
  5408. this.fontPos.splice(0, this.fontPos.length), this.checkPosArr.splice(0, this.checkPosArr.length), this.num = 1, this.$utils.ls.get("token") && this.getPictrue(), this.$nextTick(() => {
  5409. this.setSize = this.resetSize(this), this.$parent.$emit("ready", this);
  5410. });
  5411. },
  5412. canvasClick(M) {
  5413. this.checkPosArr.push(this.getMousePos(this.$refs.canvas, M)), this.num == this.checkNum && (this.num = this.createPoint(this.getMousePos(this.$refs.canvas, M)), this.checkPosArr = this.pointTransfrom(this.checkPosArr, this.setSize), setTimeout(() => {
  5414. var n = this.secretKey ? NA(this.backToken + "---" + JSON.stringify(this.checkPosArr), this.secretKey) : this.backToken + "---" + JSON.stringify(this.checkPosArr);
  5415. const A = {
  5416. captchaType: this.captchaType,
  5417. pointJson: this.secretKey ? NA(JSON.stringify(this.checkPosArr), this.secretKey) : JSON.stringify(this.checkPosArr),
  5418. token: this.backToken
  5419. };
  5420. bB(A).then((D) => {
  5421. D.repCode == "0000" ? (this.barAreaColor = "var(--s-color-success)", this.barAreaBorderColor = "var(--s-color-success)", this.text = window.$l("验证成功"), this.bindingClick = !1, this.mode == "pop" && setTimeout(() => {
  5422. this.$parent.clickShow = !1, this.refresh();
  5423. }, 1500), this.$parent.$emit("success", { captchaVerification: n })) : (this.$parent.$emit("error", this), this.barAreaColor = "var(--s-color-error)", this.barAreaBorderColor = "var(--s-color-error)", this.text = window.$l("验证失败"), setTimeout(() => {
  5424. this.refresh();
  5425. }, 700));
  5426. });
  5427. }, 400)), this.num < this.checkNum && (this.num = this.createPoint(this.getMousePos(this.$refs.canvas, M)));
  5428. },
  5429. // 获取坐标
  5430. getMousePos: function(M, n) {
  5431. var A = n.offsetX, D = n.offsetY;
  5432. return { x: A, y: D };
  5433. },
  5434. // 创建坐标点
  5435. createPoint: function(M) {
  5436. return this.tempPoints.push(Object.assign({}, M)), ++this.num;
  5437. },
  5438. refresh: function() {
  5439. this.tempPoints.splice(0, this.tempPoints.length), this.barAreaColor = "var(--s-text-color)", this.barAreaBorderColor = "var(--s-border-color-base)", this.bindingClick = !0, this.fontPos.splice(0, this.fontPos.length), this.checkPosArr.splice(0, this.checkPosArr.length), this.num = 1, this.getPictrue(), this.text = window.$l("验证失败"), this.showRefresh = !0;
  5440. },
  5441. // 请求背景图片和验证图片
  5442. getPictrue() {
  5443. const M = {
  5444. captchaType: this.captchaType
  5445. };
  5446. ZB(M).then((n) => {
  5447. n.repCode == "0000" ? (this.pointBackImgBase = n.repData.originalImageBase64, this.backToken = n.repData.token, this.secretKey = n.repData.secretKey, this.poinTextList = n.repData.wordList, this.text = window.$l("请依次点击【") + this.poinTextList.join(",") + window.$l("】")) : this.text = n.repMsg;
  5448. });
  5449. },
  5450. // 坐标转换函数
  5451. pointTransfrom(M, n) {
  5452. var A = M.map((D) => {
  5453. const w = Math.round(310 * D.x / parseInt(n.imgWidth)), z = Math.round(155 * D.y / parseInt(n.imgHeight));
  5454. return { x: w, y: z };
  5455. });
  5456. return A;
  5457. }
  5458. },
  5459. watch: {
  5460. // type变化则全面刷新
  5461. type: {
  5462. immediate: !0,
  5463. handler() {
  5464. this.init();
  5465. }
  5466. }
  5467. },
  5468. mounted() {
  5469. this.$el.onselectstart = function() {
  5470. return !1;
  5471. };
  5472. }
  5473. }, fD = { style: { position: "relative" } }, nD = { class: "verify-img-out" }, zD = ["src"], PD = { class: "verify-msg" };
  5474. function cD(M, n, A, D, w, z) {
  5475. return m(), T("div", fD, [
  5476. V("div", nD, [
  5477. V("div", {
  5478. style: vA({
  5479. width: w.setSize.imgWidth,
  5480. height: w.setSize.imgHeight,
  5481. "background-size": w.setSize.imgWidth + " " + w.setSize.imgHeight,
  5482. "margin-bottom": A.vSpace + "px"
  5483. }),
  5484. class: "verify-img-panel"
  5485. }, [
  5486. xg(V("div", {
  5487. onClick: n[0] || (n[0] = (...l) => z.refresh && z.refresh(...l)),
  5488. class: "verify-refresh",
  5489. style: { "z-index": "3" }
  5490. }, [...n[2] || (n[2] = [
  5491. V("i", { class: "iconfont icon-refresh" }, null, -1)
  5492. ])], 512), [
  5493. [Zg, w.showRefresh]
  5494. ]),
  5495. V("img", {
  5496. src: "data:image/png;base64," + w.pointBackImgBase,
  5497. onClick: n[1] || (n[1] = (l) => w.bindingClick ? z.canvasClick(l) : void 0),
  5498. alt: "",
  5499. ref: "canvas",
  5500. style: { width: "100%", height: "100%", display: "block" }
  5501. }, null, 8, zD),
  5502. (m(!0), T(FA, null, bg(w.tempPoints, (l, c) => (m(), T("div", {
  5503. key: c,
  5504. style: vA({
  5505. "background-color": "var(--s-color-success)",
  5506. color: "var(--s-text-color-inverse)",
  5507. "z-index": 9999,
  5508. width: "20px",
  5509. height: "20px",
  5510. "text-align": "center",
  5511. "line-height": "20px",
  5512. "border-radius": "50%",
  5513. position: "absolute",
  5514. top: parseInt(l.y - 10) + "px",
  5515. left: parseInt(l.x - 10) + "px"
  5516. }),
  5517. class: "point-area"
  5518. }, E(c + 1), 5))), 128))
  5519. ], 4)
  5520. ]),
  5521. V("div", {
  5522. style: vA({
  5523. width: w.setSize.imgWidth,
  5524. color: this.barAreaColor,
  5525. "border-color": this.barAreaBorderColor,
  5526. "line-height": this.barSize.height
  5527. }),
  5528. class: "verify-bar-area"
  5529. }, [
  5530. V("span", PD, E(w.text), 1)
  5531. ], 4)
  5532. ]);
  5533. }
  5534. const YD = /* @__PURE__ */ PA(rD, [["render", cD]]), QD = {
  5535. name: "SVerify",
  5536. props: {
  5537. // 双语化
  5538. locale: {
  5539. require: !1,
  5540. type: String,
  5541. default() {
  5542. if (navigator.language)
  5543. var M = navigator.language;
  5544. else
  5545. var M = navigator.browserLanguage;
  5546. return M;
  5547. }
  5548. },
  5549. captchaType: {
  5550. type: String,
  5551. required: !0
  5552. },
  5553. // eslint-disable-next-line vue/require-default-prop
  5554. figure: {
  5555. type: Number
  5556. },
  5557. // eslint-disable-next-line vue/require-default-prop
  5558. arith: {
  5559. type: Number
  5560. },
  5561. mode: {
  5562. type: String,
  5563. default: "pop"
  5564. },
  5565. // eslint-disable-next-line vue/require-default-prop
  5566. vSpace: {
  5567. type: Number
  5568. },
  5569. // eslint-disable-next-line vue/require-default-prop
  5570. explain: {
  5571. type: String
  5572. },
  5573. imgSize: {
  5574. type: Object,
  5575. default() {
  5576. return {
  5577. width: "310px",
  5578. height: "155px"
  5579. };
  5580. }
  5581. },
  5582. // eslint-disable-next-line vue/require-default-prop
  5583. blockSize: {
  5584. type: Object
  5585. },
  5586. // eslint-disable-next-line vue/require-default-prop
  5587. barSize: {
  5588. type: Object
  5589. }
  5590. },
  5591. data() {
  5592. return {
  5593. // showBox:true,
  5594. clickShow: !1,
  5595. // 内部类型
  5596. verifyType: void 0,
  5597. // 所用组件类型
  5598. componentType: void 0
  5599. };
  5600. },
  5601. methods: {
  5602. /**
  5603. * i18n
  5604. * @description 兼容vue-i18n 调用$t来转换ok
  5605. * @param {String} text-被转换的目标
  5606. * @return {String} i18n的结果
  5607. * */
  5608. i18n(M) {
  5609. return this.$t ? this.$t(M) : (this.$options.i18n.messages[this.locale] || this.$options.i18n.messages["en-US"])[M];
  5610. },
  5611. /**
  5612. * refresh
  5613. * @description 刷新
  5614. * */
  5615. refresh() {
  5616. this.instance.refresh && this.instance.refresh();
  5617. },
  5618. closeBox() {
  5619. this.clickShow = !1, this.refresh();
  5620. },
  5621. show() {
  5622. this.mode == "pop" && (this.clickShow = !0);
  5623. }
  5624. },
  5625. computed: {
  5626. instance() {
  5627. return this.$refs.instance || {};
  5628. },
  5629. showBox() {
  5630. return this.mode == "pop" ? this.clickShow : !0;
  5631. }
  5632. },
  5633. watch: {
  5634. captchaType: {
  5635. immediate: !0,
  5636. handler(M) {
  5637. switch (M.toString()) {
  5638. case "blockPuzzle":
  5639. this.verifyType = "2", this.componentType = "VerifySlide";
  5640. break;
  5641. case "clickWord":
  5642. this.verifyType = "", this.componentType = "VerifyPoints";
  5643. break;
  5644. }
  5645. }
  5646. }
  5647. },
  5648. components: {
  5649. VerifySlide: vD,
  5650. VerifyPoints: YD
  5651. }
  5652. }, WD = {
  5653. key: 0,
  5654. class: "verifybox-top"
  5655. };
  5656. function HD(M, n, A, D, w, z) {
  5657. return xg((m(), T("div", {
  5658. class: oA(A.mode == "pop" ? "mask" : "")
  5659. }, [
  5660. V("div", {
  5661. class: oA(A.mode == "pop" ? "verifybox" : ""),
  5662. style: vA({ "max-width": parseInt(A.imgSize.width) + 30 + "px" })
  5663. }, [
  5664. A.mode == "pop" ? (m(), T("div", WD, [
  5665. $(E(M.$l("请完成安全验证")) + " ", 1),
  5666. V("span", {
  5667. onClick: n[0] || (n[0] = (...l) => z.closeBox && z.closeBox(...l)),
  5668. class: "verifybox-close"
  5669. }, [...n[1] || (n[1] = [
  5670. V("i", { class: "iconfont icon-close" }, null, -1)
  5671. ])])
  5672. ])) : AA("", !0),
  5673. V("div", {
  5674. style: vA({ padding: A.mode == "pop" ? "15px" : "0" }),
  5675. class: "verifybox-bottom"
  5676. }, [
  5677. w.componentType ? (m(), DA(JA(w.componentType), {
  5678. key: 0,
  5679. arith: A.arith,
  5680. barSize: A.barSize,
  5681. blockSize: A.blockSize,
  5682. captchaType: A.captchaType,
  5683. explain: A.explain,
  5684. figure: A.figure,
  5685. imgSize: A.imgSize,
  5686. mode: A.mode,
  5687. type: w.verifyType,
  5688. vSpace: A.vSpace,
  5689. ref: "instance"
  5690. }, null, 8, ["arith", "barSize", "blockSize", "captchaType", "explain", "figure", "imgSize", "mode", "type", "vSpace"])) : AA("", !0)
  5691. ], 4)
  5692. ], 6)
  5693. ], 2)), [
  5694. [Zg, z.showBox]
  5695. ]);
  5696. }
  5697. const LD = /* @__PURE__ */ PA(QD, [["render", HD]]), OD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166249698'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1866'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M734.9%20320.9c0%20123.1-99.8%20222.9-222.9%20222.9-123.1%200-222.9-99.8-222.9-222.9S388.9%2098%20512%2098c123.1%200%20222.9%2099.8%20222.9%20222.9z%20m-63.7%200c0-87.9-71.3-159.2-159.2-159.2S352.8%20233%20352.8%20320.9%20424.1%20480.2%20512%20480.2s159.2-71.3%20159.2-159.3z%20m220.6%20372.8c21.3%2010.2%2034.2%2032%2034.2%2055.5v144.9c0%2017.6-14.3%2031.8-31.8%2031.8H129.8c-17.6%200-31.8-14.3-31.8-31.8V749.2c0-23.6%2012.9-45.4%2034.2-55.5%20115.4-55.1%20243.9-86.2%20379.8-86.2s264.4%2031.1%20379.8%2086.2zM512%20671.2c-125.3%200-243.7%2028.4-350.3%2079v112.1h700.6V750.2c-106.6-50.6-225-79-350.3-79z'%20p-id='1867'%3e%3c/path%3e%3c/svg%3e", xD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166259718'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2023'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20543.8c123.1%200%20222.9-99.8%20222.9-222.9S635.1%2098%20512%2098c-123.1%200-222.9%2099.8-222.9%20222.9S388.9%20543.8%20512%20543.8z%20m414%20205.4c0-23.6-12.9-45.4-34.2-55.5-115.4-55.1-243.9-86.2-379.8-86.2s-264.4%2031-379.8%2086.2c-21.3%2010.2-34.2%2032-34.2%2055.5v144.9c0%2017.6%2014.3%2031.8%2031.8%2031.8h764.3c17.6%200%2031.8-14.3%2031.8-31.8V749.2z'%20p-id='2024'%20fill='%231677FF'%3e%3c/path%3e%3c/svg%3e", ZD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166266687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2226'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20543.8c123.1%200%20222.9-99.8%20222.9-222.9S635.1%2098%20512%2098c-123.1%200-222.9%2099.8-222.9%20222.9S388.9%20543.8%20512%20543.8z%20m414%20205.4c0-23.6-12.9-45.4-34.2-55.5-115.4-55.1-243.9-86.2-379.8-86.2s-264.4%2031-379.8%2086.2c-21.3%2010.2-34.2%2032-34.2%2055.5v144.9c0%2017.6%2014.3%2031.8%2031.8%2031.8h764.3c17.6%200%2031.8-14.3%2031.8-31.8V749.2z'%20p-id='2227'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", bD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166274515'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2429'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M247.9%20387v-72.3C247.9%20176.2%20366.1%2064%20512%2064s264.1%20112.2%20264.1%20250.7V387h113.2c20.8%200%2037.7%2016%2037.7%2035.8v501.4c0%2019.8-16.9%2035.8-37.7%2035.8H134.7c-20.8%200-37.7-16-37.7-35.8V422.8c0-19.8%2016.9-35.8%2037.7-35.8h113.2z%20m75.5-72.3V387h377.3v-72.3c0-98.9-84.5-179.1-188.6-179.1s-188.7%2080.2-188.7%20179.1z%20m528.1%20573.7V458.6h-679v429.8h679zM361.1%20745.1v-71.6h301.8v71.6H361.1z'%20p-id='2430'%3e%3c/path%3e%3c/svg%3e", lD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166284874'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2789'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M247.9%20314.7V387H134.7c-20.8%200-37.7%2016-37.7%2035.8v501.4c0%2019.8%2016.9%2035.8%2037.7%2035.8h754.5c20.8%200%2037.7-16%2037.7-35.8V422.8c0-19.8-16.9-35.8-37.7-35.8H776.1v-72.3C776.1%20176.2%20657.9%2064%20512%2064S247.9%20176.2%20247.9%20314.7z%20m75.5%2072.3v-72.3c0-98.9%2084.5-179.1%20188.6-179.1s188.6%2080.2%20188.6%20179.1V387H323.4z%20m7.5%20315.1v-57.3h362.2v57.3H330.9z'%20p-id='2790'%20fill='%231677FF'%3e%3c/path%3e%3c/svg%3e", GD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166289317'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2992'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M247.9%20314.7V387H134.7c-20.8%200-37.7%2016-37.7%2035.8v501.4c0%2019.8%2016.9%2035.8%2037.7%2035.8h754.5c20.8%200%2037.7-16%2037.7-35.8V422.8c0-19.8-16.9-35.8-37.7-35.8H776.1v-72.3C776.1%20176.2%20657.9%2064%20512%2064S247.9%20176.2%20247.9%20314.7z%20m75.5%2072.3v-72.3c0-98.9%2084.5-179.1%20188.6-179.1s188.6%2080.2%20188.6%20179.1V387H323.4z%20m7.5%20315.1v-57.3h362.2v57.3H330.9z'%20p-id='2993'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", dD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166678793'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4912'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M809.71264%20121.30304H209.93536c-64.84992%200-117.6064%2052.75648-117.6064%20117.6064v373.06368c0%2064.84992%2052.75648%20117.6064%20117.6064%20117.6064h279.36256v123.4688H245.08928a30.72%2030.72%200%200%200%200%2061.44h570.32704a30.72%2030.72%200%200%200%200-61.44h-264.6784v-123.4688h258.97984c64.84992%200%20117.6064-52.75648%20117.6064-117.6064V238.90432c-0.00512-64.8448-52.7616-117.60128-117.61152-117.60128z%20m56.1664%20490.67008c0%2030.97088-25.19552%2056.1664-56.1664%2056.1664H209.93536c-30.97088%200-56.1664-25.19552-56.1664-56.1664V238.90432c0-30.97088%2025.19552-56.1664%2056.1664-56.1664h599.7824c30.97088%200%2056.1664%2025.19552%2056.1664%2056.1664v373.0688z'%20fill='%23ffffff'%20p-id='4913'%3e%3c/path%3e%3c/svg%3e", aD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732167079941'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5991'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M384%20928%20192%20928c-52.928%200-96-43.072-96-96l0-192c0-52.928%2043.072-96%2096-96l192%200c52.928%200%2096%2043.072%2096%2096l0%20192C480%20884.928%20436.928%20928%20384%20928zM192%20608c-17.632%200-32%2014.336-32%2032l0%20192c0%2017.664%2014.368%2032%2032%2032l192%200c17.632%200%2032-14.336%2032-32l0-192c0-17.664-14.368-32-32-32L192%20608zM736%20896c-17.696%200-32-14.304-32-32l0-64c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2064C768%20881.696%20753.696%20896%20736%20896zM864%20896c-17.696%200-32-14.304-32-32l0-96c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2096C896%20881.696%20881.696%20896%20864%20896zM864%20672c-17.696%200-32-14.304-32-32l0-64c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2064C896%20657.696%20881.696%20672%20864%20672zM736%20736c-17.696%200-32-14.304-32-32l0-128c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%20128C768%20721.696%20753.696%20736%20736%20736zM608%20896c-17.696%200-32-14.304-32-32l0-128c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%20128C640%20881.696%20625.696%20896%20608%20896zM608%20640c-17.696%200-32-14.304-32-32l0-32c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2032C640%20625.696%20625.696%20640%20608%20640zM320%20800%20256%20800c-17.664%200-32-14.304-32-32l0-64c0-17.696%2014.336-32%2032-32l64%200c17.664%200%2032%2014.304%2032%2032l0%2064C352%20785.696%20337.664%20800%20320%20800zM384%20480%20192%20480c-52.928%200-96-43.072-96-96L96%20192c0-52.928%2043.072-96%2096-96l192%200c52.928%200%2096%2043.072%2096%2096l0%20192C480%20436.928%20436.928%20480%20384%20480zM192%20160C174.368%20160%20160%20174.368%20160%20192l0%20192c0%2017.632%2014.368%2032%2032%2032l192%200c17.632%200%2032-14.368%2032-32L416%20192c0-17.632-14.368-32-32-32L192%20160zM320%20352%20256%20352c-17.664%200-32-14.336-32-32L224%20256c0-17.664%2014.336-32%2032-32l64%200c17.664%200%2032%2014.336%2032%2032l0%2064C352%20337.664%20337.664%20352%20320%20352zM832%20480l-192%200c-52.928%200-96-43.072-96-96L544%20192c0-52.928%2043.072-96%2096-96l192%200c52.928%200%2096%2043.072%2096%2096l0%20192C928%20436.928%20884.928%20480%20832%20480zM640%20160c-17.664%200-32%2014.368-32%2032l0%20192c0%2017.632%2014.336%2032%2032%2032l192%200c17.664%200%2032-14.368%2032-32L864%20192c0-17.632-14.336-32-32-32L640%20160zM768%20352l-64%200c-17.696%200-32-14.336-32-32L672%20256c0-17.664%2014.304-32%2032-32l64%200c17.696%200%2032%2014.336%2032%2032l0%2064C800%20337.664%20785.696%20352%20768%20352z'%20fill='%23ffffff'%20p-id='5992'%3e%3c/path%3e%3c/svg%3e", uD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166311262'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3195'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M954.2%20485.6C856.7%20281%20709.5%20178%20512.1%20178%20314.6%20178%20167.4%20281%2070%20485.6c-7.9%2016.6-7.9%2036.1%200%2052.8C167.4%20743%20314.7%20846%20512.1%20846c197.5%200%20344.6-103%20442.1-307.6%207.9-16.6%207.9-35.9%200-52.8zM512.1%20772.2c-165.7%200-287.1-83.8-372.7-260.2%2085.6-176.4%20207-260.2%20372.7-260.2S799.2%20335.6%20884.8%20512C799.3%20688.4%20678%20772.2%20512.1%20772.2z'%20p-id='3196'%3e%3c/path%3e%3cpath%20d='M688%20494.1c-0.6-5.9-1.5-11.7-2.6-17.5-1.2-5.8-2.6-11.5-4.3-17.2s-3.7-11.2-6-16.7-4.8-10.8-7.6-16-5.8-10.3-9.1-15.2c-3.3-4.9-6.8-9.6-10.6-14.2s-7.7-8.9-11.9-13.1-8.6-8.1-13.2-11.9c-4.6-3.7-9.3-7.3-14.3-10.5-4.9-3.3-10-6.3-15.2-9.1s-10.6-5.3-16-7.6c-5.5-2.3-11-4.2-16.7-6-5.7-1.7-11.4-3.1-17.2-4.3s-11.7-2-17.6-2.6c-5.9-0.6-11.8-0.9-17.7-0.9-5.9%200-11.8%200.3-17.7%200.9-5.9%200.6-11.7%201.4-17.6%202.6-5.8%201.2-11.5%202.6-17.2%204.3-5.7%201.7-11.2%203.7-16.7%206s-10.8%204.8-16%207.6c-5.2%202.8-10.3%205.8-15.2%209.1s-9.7%206.8-14.3%2010.5c-4.6%203.7-9%207.7-13.2%2011.9s-8.2%208.5-11.9%2013.1c-3.8%204.6-7.3%209.3-10.6%2014.2s-6.3%2010-9.1%2015.2c-2.8%205.2-5.3%2010.5-7.6%2016s-4.3%2011-6%2016.7-3.2%2011.4-4.3%2017.2c-1.2%205.8-2%2011.6-2.6%2017.5-0.6%205.9-0.9%2011.8-0.9%2017.7s0.3%2011.8%200.9%2017.7c0.6%205.9%201.4%2011.7%202.6%2017.5s2.6%2011.5%204.3%2017.2%203.7%2011.2%206%2016.7%204.8%2010.8%207.6%2016%205.8%2010.3%209.1%2015.2c3.3%204.9%206.8%209.6%2010.6%2014.2s7.7%208.9%2011.9%2013.1c4.2%204.2%208.6%208.1%2013.2%2011.9%204.6%203.7%209.3%207.3%2014.3%2010.5%204.9%203.3%2010%206.3%2015.2%209.1s10.6%205.3%2016%207.6c5.5%202.3%2011%204.2%2016.7%206%205.7%201.7%2011.4%203.1%2017.2%204.3%205.8%201.2%2011.7%202%2017.6%202.6%205.9%200.6%2011.8%200.9%2017.7%200.9%205.9%200%2011.8-0.3%2017.7-0.9%205.9-0.6%2011.7-1.4%2017.6-2.6%205.8-1.2%2011.5-2.6%2017.2-4.3s11.2-3.7%2016.7-6%2010.8-4.8%2016-7.6%2010.3-5.8%2015.2-9.1%209.7-6.8%2014.3-10.5%209-7.7%2013.2-11.9%208.2-8.5%2011.9-13.1c3.8-4.6%207.3-9.3%2010.6-14.2s6.3-10%209.1-15.2%205.3-10.5%207.6-16%204.3-11%206-16.7%203.2-11.4%204.3-17.2c1.2-5.8%202-11.6%202.6-17.5s0.9-11.8%200.9-17.7c0-5.9-0.3-11.8-0.9-17.7z%20m-65.4%2029.1c-0.4%203.7-1%207.4-1.7%2011.1s-1.6%207.3-2.7%2010.9-2.4%207.1-3.8%2010.6-3%206.9-4.8%2010.2c-1.8%203.4-3.7%206.6-5.8%209.7-2.1%203.1-4.3%206.1-6.7%209-2.4%202.9-4.9%205.6-7.6%208.3-2.7%202.7-5.5%205.2-8.4%207.6-2.9%202.4-6%204.6-9.1%206.7-3.1%202.1-6.4%204-9.7%205.8s-6.7%203.4-10.2%204.8c-3.4%201.4-7%202.7-10.6%203.8-3.7%201.1-7.3%202-11%202.7-3.7%200.8-7.4%201.3-11.2%201.7-3.8%200.4-7.5%200.6-11.3%200.6s-7.5-0.1-11.3-0.6c-3.8-0.4-7.5-1-11.2-1.7s-7.4-1.6-11-2.7c-3.6-1.1-7.1-2.4-10.6-3.8s-6.9-3-10.2-4.8c-3.3-1.8-6.6-3.7-9.7-5.8-3.2-2.1-6.2-4.3-9.1-6.7-2.9-2.4-5.7-4.9-8.4-7.6-2.7-2.6-5.2-5.4-7.6-8.3s-4.6-5.9-6.7-9c-2.1-3.2-4-6.4-5.8-9.7-1.7-3.3-3.4-6.7-4.8-10.2-1.4-3.5-2.7-7-3.8-10.6-1-3.6-2-7.2-2.7-10.9-0.8-3.6-1.3-7.4-1.7-11.1-0.4-3.7-0.6-7.4-0.6-11.2%200-3.7%200.2-7.5%200.6-11.2%200.4-3.7%201-7.4%201.7-11.1s1.6-7.3%202.7-10.9c1.1-3.6%202.4-7.1%203.8-10.6s3-6.9%204.8-10.2c1.8-3.4%203.7-6.6%205.8-9.7%202.1-3.1%204.3-6.1%206.7-9%202.4-2.9%204.9-5.6%207.6-8.3%202.7-2.7%205.5-5.2%208.4-7.6%202.9-2.4%206-4.6%209.1-6.7%203.1-2.1%206.4-4%209.7-5.8s6.7-3.4%2010.2-4.8c3.4-1.4%207-2.7%2010.6-3.8%203.7-1.1%207.3-2%2011-2.7%203.7-0.8%207.4-1.3%2011.2-1.7%203.8-0.4%207.5-0.6%2011.3-0.6s7.5%200.2%2011.3%200.6c3.8%200.4%207.5%201%2011.2%201.7s7.4%201.6%2011%202.7%207.1%202.4%2010.6%203.8%206.9%203%2010.2%204.8%206.6%203.7%209.7%205.8c3.2%202.1%206.2%204.3%209.1%206.7%202.9%202.4%205.7%204.9%208.4%207.6%202.7%202.6%205.2%205.4%207.6%208.3%202.4%202.9%204.6%205.9%206.7%209%202.1%203.2%204%206.4%205.8%209.7%201.7%203.3%203.4%206.7%204.8%2010.2%201.4%203.5%202.7%207%203.8%2010.6%201%203.6%202%207.2%202.7%2010.9%200.8%203.6%201.3%207.4%201.7%2011.1%200.4%203.7%200.6%207.4%200.6%2011.2%200%203.7-0.2%207.5-0.6%2011.2z'%20p-id='3197'%3e%3c/path%3e%3c/svg%3e", yD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166314161'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3353'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M954.1%20485.6C856.6%20281%20709.4%20178%20512%20178c-197.5%200-344.7%20103-442.1%20307.7-7.9%2016.6-7.9%2036.1%200%2052.8C167.3%20743%20314.6%20846%20512%20846c197.5%200%20344.6-103%20442.1-307.7%207.9-16.6%207.9-35.8%200-52.7z%20m-266.2%2044.1c-0.6%205.9-1.5%2011.7-2.6%2017.5-1.2%205.8-2.6%2011.5-4.3%2017.2s-3.7%2011.2-6%2016.7-4.8%2010.8-7.6%2016c-2.8%205.2-5.8%2010.3-9.1%2015.2-3.3%204.9-6.8%209.6-10.6%2014.2s-7.7%208.9-11.9%2013.1c-4.2%204.2-8.6%208.1-13.2%2011.9-4.6%203.7-9.3%207.3-14.3%2010.5-4.9%203.3-10%206.3-15.2%209.1-5.2%202.8-10.6%205.3-16%207.6-5.5%202.3-11%204.2-16.7%206-5.7%201.7-11.4%203.1-17.2%204.3-5.8%201.2-11.7%202-17.6%202.6-5.9%200.6-11.8%200.9-17.7%200.9-5.9%200-11.8-0.3-17.7-0.9-5.9-0.6-11.7-1.4-17.6-2.6-5.8-1.2-11.5-2.6-17.2-4.3-5.7-1.7-11.2-3.7-16.7-6s-10.8-4.8-16-7.6c-5.2-2.8-10.3-5.8-15.2-9.1-4.9-3.3-9.7-6.8-14.3-10.5-4.6-3.7-9-7.7-13.2-11.9-4.2-4.2-8.2-8.5-11.9-13.1-3.8-4.6-7.3-9.3-10.6-14.2-3.3-4.9-6.3-10-9.1-15.2-2.8-5.2-5.3-10.5-7.6-16s-4.3-11-6-16.7-3.2-11.4-4.3-17.2c-1.2-5.8-2-11.6-2.6-17.5-0.6-5.9-0.9-11.8-0.9-17.7%200-5.9%200.3-11.8%200.9-17.7%200.6-5.9%201.4-11.7%202.6-17.5%201.2-5.8%202.6-11.5%204.3-17.2%201.7-5.7%203.7-11.2%206-16.7s4.8-10.8%207.6-16c2.8-5.2%205.8-10.3%209.1-15.2%203.3-4.9%206.8-9.6%2010.6-14.2s7.7-8.9%2011.9-13.1c4.2-4.2%208.6-8.1%2013.2-11.9%204.6-3.7%209.3-7.3%2014.3-10.5%204.9-3.3%2010-6.3%2015.2-9.1%205.2-2.8%2010.6-5.3%2016-7.6%205.5-2.3%2011-4.2%2016.7-6%205.7-1.7%2011.4-3.1%2017.2-4.3%205.8-1.2%2011.7-2%2017.6-2.6%205.9-0.6%2011.8-0.9%2017.7-0.9%205.9%200%2011.8%200.3%2017.7%200.9%205.9%200.6%2011.7%201.4%2017.6%202.6%205.8%201.2%2011.5%202.6%2017.2%204.3%205.7%201.7%2011.2%203.7%2016.7%206s10.8%204.8%2016%207.6c5.2%202.8%2010.3%205.8%2015.2%209.1%204.9%203.3%209.7%206.8%2014.3%2010.5%204.6%203.7%209%207.7%2013.2%2011.9%204.2%204.2%208.2%208.5%2011.9%2013.1%203.8%204.6%207.3%209.3%2010.6%2014.2%203.3%204.9%206.3%2010%209.1%2015.2%202.8%205.2%205.3%2010.5%207.6%2016s4.3%2011%206%2016.7c1.7%205.7%203.2%2011.4%204.3%2017.2%201.2%205.8%202%2011.6%202.6%2017.5%200.6%205.9%200.9%2011.8%200.9%2017.7-0.1%205.9-0.3%2011.8-0.9%2017.7z'%20p-id='3354'%20fill='%231677FF'%3e%3c/path%3e%3cpath%20d='M623%20512c0%203.8-0.2%207.5-0.6%2011.2-0.4%203.7-0.9%207.5-1.7%2011.1-0.7%203.7-1.7%207.3-2.7%2010.9-1.1%203.6-2.4%207.1-3.8%2010.6s-3.1%206.9-4.8%2010.2c-1.8%203.3-3.7%206.5-5.8%209.7-2.1%203.1-4.3%206.1-6.7%209-2.4%202.9-4.9%205.7-7.6%208.3-2.7%202.7-5.5%205.2-8.4%207.6-2.9%202.4-5.9%204.6-9.1%206.7-3.1%202.1-6.4%204-9.7%205.8-3.3%201.8-6.7%203.4-10.2%204.8-3.5%201.4-7%202.7-10.6%203.8-3.6%201.1-7.3%202-11%202.7-3.7%200.7-7.4%201.3-11.2%201.7-3.8%200.4-7.5%200.6-11.3%200.6-3.8%200-7.5-0.2-11.3-0.6-3.8-0.4-7.5-0.9-11.2-1.7-3.7-0.7-7.3-1.6-11-2.7-3.6-1.1-7.2-2.4-10.6-3.8-3.5-1.4-6.9-3-10.2-4.8-3.3-1.8-6.6-3.7-9.7-5.8-3.1-2.1-6.2-4.3-9.1-6.7-2.9-2.4-5.7-4.9-8.4-7.6-2.7-2.7-5.2-5.4-7.6-8.3-2.4-2.9-4.6-5.9-6.7-9-2.1-3.1-4-6.3-5.8-9.7-1.8-3.3-3.4-6.7-4.8-10.2-1.4-3.5-2.7-7-3.8-10.6-1.1-3.6-2-7.2-2.7-10.9-0.7-3.7-1.3-7.4-1.7-11.1-0.4-3.7-0.6-7.5-0.6-11.2%200-3.8%200.2-7.5%200.6-11.2%200.4-3.7%200.9-7.5%201.7-11.1%200.7-3.7%201.7-7.3%202.7-10.9%201.1-3.6%202.4-7.1%203.8-10.6s3.1-6.9%204.8-10.2c1.8-3.3%203.7-6.5%205.8-9.7%202.1-3.1%204.3-6.1%206.7-9%202.4-2.9%204.9-5.7%207.6-8.3%202.7-2.7%205.5-5.2%208.4-7.6%202.9-2.4%205.9-4.6%209.1-6.7%203.1-2.1%206.4-4%209.7-5.8%203.3-1.8%206.7-3.4%2010.2-4.8%203.5-1.4%207-2.7%2010.6-3.8%203.6-1.1%207.3-2%2011-2.7%203.7-0.7%207.4-1.3%2011.2-1.7%203.8-0.4%207.5-0.6%2011.3-0.6%203.8%200%207.5%200.2%2011.3%200.6%203.8%200.4%207.5%200.9%2011.2%201.7%203.7%200.7%207.3%201.6%2011%202.7%203.6%201.1%207.2%202.4%2010.6%203.8%203.5%201.4%206.9%203%2010.2%204.8%203.3%201.8%206.6%203.7%209.7%205.8%203.1%202.1%206.2%204.3%209.1%206.7%202.9%202.4%205.7%204.9%208.4%207.6%202.7%202.7%205.2%205.4%207.6%208.3%202.4%202.9%204.6%205.9%206.7%209%202.1%203.1%204%206.3%205.8%209.7%201.8%203.3%203.4%206.7%204.8%2010.2%201.4%203.5%202.7%207%203.8%2010.6%201.1%203.6%202%207.2%202.7%2010.9%200.7%203.7%201.3%207.4%201.7%2011.1%200.4%203.7%200.6%207.4%200.6%2011.2z'%20p-id='3355'%20fill='%231677FF'%3e%3c/path%3e%3c/svg%3e", XD = {
  5698. name: "LoginForm",
  5699. components: {
  5700. SVerify: LD
  5701. },
  5702. props: {
  5703. // 手机号登录 - 获取验证码时是否启用拼图验证
  5704. // captchaOpen: {
  5705. // type: Boolean,
  5706. // default: true
  5707. // },
  5708. showTenantry: {
  5709. type: Boolean,
  5710. default: !1
  5711. },
  5712. showAgreement: {
  5713. type: Boolean,
  5714. default: !1
  5715. },
  5716. showAutoLogin: {
  5717. type: Boolean,
  5718. default: !0
  5719. },
  5720. showOtherLogin: {
  5721. type: Boolean,
  5722. default: !1
  5723. }
  5724. },
  5725. data() {
  5726. let M = "clickWord";
  5727. var n = 0, A = 100, D = Math.floor(Math.random() * (A - n)) + n;
  5728. return D % 2 === 0 && (M = "blockPuzzle"), D % 2 === 1 && (M = "clickWord"), {
  5729. iconsFocus: {
  5730. tenantryCode: 1,
  5731. loginName: 1,
  5732. password: 1
  5733. },
  5734. // 密码记录数
  5735. verificationImage: null,
  5736. verificationCodeId: "",
  5737. otherLoginList: [],
  5738. QrCodeLogin: !1,
  5739. typeActive: 1,
  5740. showPassword: !1,
  5741. autoLogin: !1,
  5742. arguments: !1,
  5743. isLoginButtonDisabled: !1,
  5744. // 登录按钮是否禁用
  5745. deadline: 0,
  5746. // 倒计时时间
  5747. isCountdown: !1,
  5748. // 显示倒计时
  5749. loginConfig: {},
  5750. captchaType: M,
  5751. captchaCountdown: 0,
  5752. loginBtn: !1,
  5753. form: {
  5754. tenantryCode: "",
  5755. loginName: "",
  5756. password: "",
  5757. verificationCode: "",
  5758. prefix: "+86",
  5759. mobile: ""
  5760. },
  5761. rules: {
  5762. tenantryCode: [
  5763. {
  5764. required: !0,
  5765. message: this.$l("请输入租户编码"),
  5766. trigger: "blur"
  5767. }
  5768. ],
  5769. loginName: [
  5770. {
  5771. required: !0,
  5772. message: this.$l("请输入账户"),
  5773. trigger: "blur"
  5774. }
  5775. ],
  5776. password: [
  5777. {
  5778. required: !0,
  5779. message: this.$l("请输入密码"),
  5780. trigger: "blur"
  5781. }
  5782. ],
  5783. code: [
  5784. {
  5785. required: !0,
  5786. message: this.$l("请输入短信验证码"),
  5787. trigger: "blur"
  5788. }
  5789. ],
  5790. mobile: [
  5791. {
  5792. required: !0,
  5793. message: this.$l("请输入手机号"),
  5794. trigger: "blur"
  5795. },
  5796. { pattern: /^1[345678]\d{9}$/, message: this.$l("手机号格式不正确"), trigger: "blur" }
  5797. ]
  5798. }
  5799. };
  5800. },
  5801. computed: {
  5802. showPhoneLogin() {
  5803. return this.$utils.env.VITE_APP_LOGIN_PHONE;
  5804. },
  5805. showQRCodeLogin() {
  5806. return this.$utils.env.VITE_APP_LOGIN_QRCODE;
  5807. }
  5808. },
  5809. methods: {
  5810. renderIcon(M, n) {
  5811. return {
  5812. // 租户编码输入框前缀图标:基座没有对应资源(原 tenant-icon-1/2/3.png 从未存在过),
  5813. // 留空即 <img> 不渲染 src、不发请求。业务要图标请自行放到 static 下并在此登记。
  5814. // 注意不能用 new URL('@p/...', import.meta.url):new URL 的资源重写不认 alias,
  5815. // 产物里会原样留下 @p/... 并在运行时 404;要走 import 静态引入。
  5816. tenant: {},
  5817. user: {
  5818. 1: OD,
  5819. 2: xD,
  5820. 3: ZD
  5821. },
  5822. pass: {
  5823. 1: bD,
  5824. 2: lD,
  5825. 3: GD
  5826. },
  5827. login: {
  5828. pcIconWhite: dD,
  5829. qrCodeWhite: aD
  5830. }
  5831. }[M][n];
  5832. },
  5833. handLogin() {
  5834. this.typeActive === 2 ? this.$refs.form.validateFields().then((M) => dA(this, null, function* () {
  5835. M.code && (M.operate = "0", (yield Dw(M)) ? this.handSubmit() : this.$message.error(this.$l("验证码错误/已过期")));
  5836. })).catch(() => {
  5837. this.$message.error(this.$l("验证码错误"));
  5838. }) : this.handSubmit();
  5839. },
  5840. handSubmit() {
  5841. this.$refs.form.validate().then((M) => {
  5842. this.loginBtn = !0;
  5843. const n = {
  5844. clientId: this.$utils.env.VITE_APP_CLIENT_ID
  5845. };
  5846. Object.keys(M).forEach((A) => {
  5847. n[A] = A === "verificationCode" ? M[A] : Og(M[A]);
  5848. }), n.verificationCodeId = this.verificationCodeId, aB(n).then((A) => this.loginSuccess(A)).catch((A) => {
  5849. this.requestFailed(A);
  5850. }).finally(() => {
  5851. this.loginBtn = !1;
  5852. });
  5853. }).catch(() => {
  5854. let M = setTimeout(() => {
  5855. this.loginBtn = !1, clearTimeout(M);
  5856. }, 600);
  5857. });
  5858. },
  5859. // 获取验证码
  5860. handGetCaptchaCount() {
  5861. return dA(this, null, function* () {
  5862. yield this.$refs.form.validateFields("mobile").then((M) => {
  5863. M.mobile && this.$refs.verify.show();
  5864. });
  5865. });
  5866. },
  5867. /**
  5868. * 拼图验证成功 获取验证码
  5869. */
  5870. verifySuccess(M) {
  5871. this.form.verificationCode = M.captchaVerification;
  5872. },
  5873. verifySuccess1(M) {
  5874. this.form.verificationCode = M.captchaVerification, this.captchaCountdown = Date.now() + 1e3 * 60, ww({ mobile: this.form.mobile, operate: "0" }).then((n) => {
  5875. n === "send-success" ? (this.$message.success(this.$l("短信发送成功")), this.captchaCountdown = Date.now() + 1e3 * 60) : this.$message.error(this.$l("短信发送过于频繁,请稍后再试"));
  5876. });
  5877. },
  5878. loginSuccess(M) {
  5879. return dA(this, null, function* () {
  5880. try {
  5881. this.$utils.ls.set("token", M), this.$utils.ls.set("USER-TOKEN", M), this.verificationImage = null, this.verificationCodeId = "";
  5882. const n = window.sessionStorage.getItem("redirect_client_id");
  5883. if (n) {
  5884. const D = dB(), { clients: w } = yield D.Info(), z = w.find((l) => l.clientId === n) || {};
  5885. if (z.redirectUri && z.redirectUri !== "/") {
  5886. this.authorizeUrl(z);
  5887. return;
  5888. }
  5889. }
  5890. const A = this.$utils.env.VITE_APP_DEFAULT_PATH;
  5891. this.$push(A);
  5892. } catch (n) {
  5893. console.log("loginSuccess:", n);
  5894. const A = this.$utils.env.VITE_APP_DEFAULT_PATH;
  5895. this.$push(A);
  5896. }
  5897. });
  5898. },
  5899. authorizeUrl(M) {
  5900. const n = (this.$utils.env.VITE_APP_BASE_URL || "/").replace(/\/+$/, ""), A = `${window.location.protocol}//${window.location.host}${n}/sso.html?client_id=${M.clientId}&scope=${M.scope}&redirect_uri=${encodeURIComponent(M.redirectUri)}`;
  5901. window.location.replace(A);
  5902. },
  5903. requestFailed(M) {
  5904. const n = JSON.parse(M.message);
  5905. if (n != null && n.lockUser) {
  5906. this.$message.error(n.message);
  5907. const A = n == null ? void 0 : n.lockUser, D = A != null && A.lockEndTime && (A != null && A.nowTime) ? A.lockEndTime - A.nowTime : 0;
  5908. D > 0 ? (this.isLoginButtonDisabled = !0, this.isCountdown = !0, this.deadline = Date.now() + D) : (this.isLoginButtonDisabled = !1, this.isCountdown = !1, this.deadline = 0), this.form.verificationCode = "", this.refreshVerificationCode();
  5909. } else {
  5910. let A = !1;
  5911. this.loginConfig && this.loginConfig.enabled && (!this.loginConfig.codeThreshold || this.loginConfig.codeThreshold === "0" ? A = !1 : A = n.failCount >= this.loginConfig.codeThreshold), A && (this.form.verificationCode = "", this.refreshVerificationCode());
  5912. }
  5913. },
  5914. // 获取图片验证码(网关:portal)
  5915. refreshVerificationCode() {
  5916. GB().then((M) => {
  5917. this.verificationImage = `data:image/gif;base64,${M.verificationImage}`, this.verificationCodeId = M.verificationCodeId;
  5918. });
  5919. },
  5920. init() {
  5921. this.otherLoginList = [
  5922. {
  5923. key: "ali",
  5924. icon: "AlipayCircleOutlined"
  5925. },
  5926. {
  5927. key: "weChat",
  5928. icon: "WechatOutlined"
  5929. },
  5930. {
  5931. key: "weibo",
  5932. icon: "WeiboCircleOutlined"
  5933. },
  5934. {
  5935. key: "github",
  5936. icon: "GithubOutlined"
  5937. }
  5938. ], this.getLoginConfig();
  5939. },
  5940. // 登录策略
  5941. getLoginConfig() {
  5942. lB().then((M) => {
  5943. this.loginConfig = M || {};
  5944. });
  5945. },
  5946. handUpdatePassword() {
  5947. console.log("忘记密码");
  5948. },
  5949. onFinish() {
  5950. this.isLoginButtonDisabled = !1, this.isCountdown = !1, this.deadline = 0, this.refreshVerificationCode();
  5951. },
  5952. onFinishReset() {
  5953. this.captchaCountdown = 0;
  5954. },
  5955. formatterTime({ value: M }) {
  5956. console.log(M);
  5957. }
  5958. },
  5959. mounted() {
  5960. this.init();
  5961. }
  5962. }, jD = { class: "form-wrap" }, VD = ["src"], oD = ["src"], FD = { class: "head" }, ND = { class: "welcome" }, mD = {
  5963. key: 0,
  5964. class: "form-main"
  5965. }, JD = {
  5966. key: 0,
  5967. class: "tab-item"
  5968. }, kD = ["src"], KD = ["src"], ED = ["src"], ID = { class: "verification-code-div" }, pD = ["src", "title"], TD = {
  5969. key: 2,
  5970. class: "tools"
  5971. }, SD = {
  5972. key: 3,
  5973. class: "other-login"
  5974. }, UD = { class: "left" }, iD = { class: "label" }, qD = { class: "other-login-list" }, hD = ["src"], RD = { class: "right" }, _D = {
  5975. key: 0,
  5976. class: "tab-item"
  5977. }, $D = { class: "between" }, As = { key: 0 }, gs = {
  5978. key: 0,
  5979. class: "agreement"
  5980. }, Bs = {
  5981. key: 1,
  5982. class: "form-main column-center"
  5983. }, ws = { class: "qr-title" }, Ds = { class: "ICP" };
  5984. function ss(M, n, A, D, w, z) {
  5985. const l = uB, c = oB, Y = YA("s-verify"), B = yB, s = XB, Q = FB, e = Yw, f = ew, t = sw, P = Qw, v = cw, H = VB;
  5986. return m(), T("div", jD, [
  5987. z.showQRCodeLogin ? (m(), T("div", {
  5988. key: 0,
  5989. class: "toggle-login",
  5990. onClick: n[0] || (n[0] = jA((g) => w.QrCodeLogin = !w.QrCodeLogin, ["stop"]))
  5991. })) : AA("", !0),
  5992. z.showQRCodeLogin ? (m(), T("div", {
  5993. key: 1,
  5994. class: "toggle-icon-wrap",
  5995. onClick: n[1] || (n[1] = jA((g) => w.QrCodeLogin = !w.QrCodeLogin, ["stop"]))
  5996. }, [
  5997. w.QrCodeLogin ? (m(), T("img", {
  5998. key: 1,
  5999. class: "toggle-icon",
  6000. src: z.renderIcon("login", "qrCodeWhite")
  6001. }, null, 8, oD)) : (m(), T("img", {
  6002. key: 0,
  6003. class: "toggle-icon",
  6004. src: z.renderIcon("login", "pcIconWhite")
  6005. }, null, 8, VD))
  6006. ])) : AA("", !0),
  6007. o(H, {
  6008. model: w.form,
  6009. rules: w.rules,
  6010. layout: "vertical",
  6011. ref: "form"
  6012. }, {
  6013. default: F(() => [
  6014. V("div", FD, [
  6015. V("div", ND, E(M.$l("欢迎使用")), 1)
  6016. ]),
  6017. w.QrCodeLogin ? (m(), T("div", Bs, [
  6018. V("div", ws, E(M.$l("请使用移动设备扫码登录")), 1),
  6019. n[27] || (n[27] = V("img", {
  6020. src: "",
  6021. class: "qr-code-image"
  6022. }, null, -1))
  6023. ])) : (m(), T("div", mD, [
  6024. o(v, {
  6025. activeKey: w.typeActive,
  6026. "onUpdate:activeKey": n[24] || (n[24] = (g) => w.typeActive = g)
  6027. }, {
  6028. default: F(() => [
  6029. (m(), DA(e, {
  6030. key: 1,
  6031. tab: M.$l("账户密码登录")
  6032. }, {
  6033. default: F(() => [
  6034. w.typeActive === 1 ? (m(), T("div", JD, [
  6035. A.showTenantry ? (m(), DA(c, {
  6036. key: 0,
  6037. label: " ",
  6038. colon: !1,
  6039. name: "tenantryCode"
  6040. }, {
  6041. default: F(() => [
  6042. o(l, {
  6043. value: w.form.tenantryCode,
  6044. "onUpdate:value": n[2] || (n[2] = (g) => w.form.tenantryCode = g),
  6045. valueModifiers: { trim: !0 },
  6046. placeholder: M.$l("租户编码"),
  6047. style: { width: "100%" },
  6048. onFocus: n[3] || (n[3] = (g) => w.iconsFocus.tenantryCode = 2),
  6049. onBlur: n[4] || (n[4] = (g) => w.iconsFocus.tenantryCode = w.form.tenantryCode ? 1 : 3),
  6050. onInput: n[5] || (n[5] = (g) => w.iconsFocus.tenantryCode = w.form.tenantryCode ? 2 : 3),
  6051. allowClear: !0,
  6052. size: "large"
  6053. }, {
  6054. prefix: F(() => [
  6055. V("img", {
  6056. class: "prefix-icon",
  6057. src: z.renderIcon("tenant", w.iconsFocus.tenantryCode)
  6058. }, null, 8, kD)
  6059. ]),
  6060. _: 1
  6061. }, 8, ["value", "placeholder"])
  6062. ]),
  6063. _: 1
  6064. })) : AA("", !0),
  6065. o(c, {
  6066. label: " ",
  6067. colon: !1,
  6068. name: "loginName"
  6069. }, {
  6070. default: F(() => [
  6071. o(l, {
  6072. value: w.form.loginName,
  6073. "onUpdate:value": n[6] || (n[6] = (g) => w.form.loginName = g),
  6074. placeholder: M.$l("账号"),
  6075. style: { width: "100%" },
  6076. onFocus: n[7] || (n[7] = (g) => w.iconsFocus.loginName = 2),
  6077. onBlur: n[8] || (n[8] = (g) => w.iconsFocus.loginName = w.form.loginName ? 1 : 3),
  6078. onInput: n[9] || (n[9] = (g) => w.iconsFocus.loginName = w.form.loginName ? 2 : 3),
  6079. allowClear: !0,
  6080. size: "large"
  6081. }, {
  6082. prefix: F(() => [
  6083. V("img", {
  6084. class: "prefix-icon",
  6085. src: z.renderIcon("user", w.iconsFocus.loginName)
  6086. }, null, 8, KD)
  6087. ]),
  6088. _: 1
  6089. }, 8, ["value", "placeholder"])
  6090. ]),
  6091. _: 1
  6092. }),
  6093. o(c, {
  6094. label: " ",
  6095. colon: !1,
  6096. name: "password"
  6097. }, {
  6098. default: F(() => [
  6099. o(l, {
  6100. value: w.form.password,
  6101. "onUpdate:value": n[12] || (n[12] = (g) => w.form.password = g),
  6102. placeholder: M.$l("密码"),
  6103. style: { width: "100%" },
  6104. type: w.showPassword ? "text" : "password",
  6105. onFocus: n[13] || (n[13] = (g) => w.iconsFocus.password = 2),
  6106. onBlur: n[14] || (n[14] = (g) => w.iconsFocus.password = w.form.password ? 1 : 3),
  6107. onInput: n[15] || (n[15] = (g) => w.iconsFocus.password = w.form.password ? 2 : 3),
  6108. allowClear: !0,
  6109. size: "large"
  6110. }, {
  6111. prefix: F(() => [
  6112. V("img", {
  6113. class: "prefix-icon",
  6114. src: z.renderIcon("pass", w.iconsFocus.password)
  6115. }, null, 8, ED)
  6116. ]),
  6117. suffix: F(() => [
  6118. w.showPassword ? (m(), T("img", {
  6119. key: 1,
  6120. src: yD,
  6121. class: "eye",
  6122. onClick: n[11] || (n[11] = jA((g) => w.showPassword = !w.showPassword, ["stop"]))
  6123. })) : (m(), T("img", {
  6124. key: 0,
  6125. src: uD,
  6126. class: "eye",
  6127. onClick: n[10] || (n[10] = jA((g) => w.showPassword = !w.showPassword, ["stop"]))
  6128. }))
  6129. ]),
  6130. _: 1
  6131. }, 8, ["value", "placeholder", "type"])
  6132. ]),
  6133. _: 1
  6134. }),
  6135. o(Y, {
  6136. onSuccess: z.verifySuccess,
  6137. mode: "pop",
  6138. captchaType: w.captchaType,
  6139. imgSize: { width: "330px", height: "155px" },
  6140. ref: "verify1"
  6141. }, null, 8, ["onSuccess", "captchaType"]),
  6142. w.verificationImage ? (m(), DA(c, {
  6143. key: 1,
  6144. class: "verification-item"
  6145. }, {
  6146. default: F(() => [
  6147. V("div", ID, [
  6148. o(l, {
  6149. value: w.form.verificationCode,
  6150. "onUpdate:value": n[16] || (n[16] = (g) => w.form.verificationCode = g),
  6151. size: "large",
  6152. placeholder: M.$l("请输入验证码"),
  6153. allowClear: !0
  6154. }, null, 8, ["value", "placeholder"]),
  6155. V("img", {
  6156. class: "verification-img",
  6157. src: w.verificationImage,
  6158. title: M.$l("点击刷新验证码"),
  6159. onClick: n[17] || (n[17] = (...g) => z.refreshVerificationCode && z.refreshVerificationCode(...g))
  6160. }, null, 8, pD)
  6161. ])
  6162. ]),
  6163. _: 1
  6164. })) : AA("", !0),
  6165. A.showAutoLogin ? (m(), T("div", TD, [
  6166. o(B, {
  6167. checked: w.autoLogin,
  6168. "onUpdate:checked": n[18] || (n[18] = (g) => w.autoLogin = g)
  6169. }, {
  6170. default: F(() => [
  6171. V("span", null, E(M.$l("自动登录")), 1)
  6172. ]),
  6173. _: 1
  6174. }, 8, ["checked"]),
  6175. o(s, {
  6176. class: "update-password",
  6177. type: "link",
  6178. onClick: z.handUpdatePassword
  6179. }, {
  6180. default: F(() => [
  6181. $(E(M.$l("忘记密码?")), 1)
  6182. ]),
  6183. _: 1
  6184. }, 8, ["onClick"])
  6185. ])) : AA("", !0),
  6186. o(s, {
  6187. class: "login-btn",
  6188. size: "large",
  6189. type: "primary",
  6190. disabled: w.isLoginButtonDisabled,
  6191. onClick: z.handLogin
  6192. }, {
  6193. default: F(() => [
  6194. w.isCountdown ? AA("", !0) : (m(), T("span", {
  6195. key: 0,
  6196. onClick: n[19] || (n[19] = jA((...g) => z.handLogin && z.handLogin(...g), ["stop"]))
  6197. }, E(M.$l("登录")), 1)),
  6198. w.isCountdown ? (m(), DA(Q, {
  6199. key: 1,
  6200. format: "ss",
  6201. size: "mini",
  6202. value: w.deadline,
  6203. onFinish: z.onFinish
  6204. }, null, 8, ["value", "onFinish"])) : AA("", !0)
  6205. ]),
  6206. _: 1
  6207. }, 8, ["disabled", "onClick"]),
  6208. A.showOtherLogin ? (m(), T("div", SD, [
  6209. V("div", UD, [
  6210. V("div", iD, E(M.$l("其他方式登录")), 1),
  6211. V("div", qD, [
  6212. (m(!0), T(FA, null, bg(w.otherLoginList, (g) => (m(), T("div", {
  6213. class: "item",
  6214. key: g.key
  6215. }, [
  6216. g.icon ? (m(), DA(JA(g.icon), {
  6217. key: 0,
  6218. class: "icon-font"
  6219. })) : (m(), T("img", {
  6220. key: 1,
  6221. src: g.src,
  6222. class: "icon"
  6223. }, null, 8, hD))
  6224. ]))), 128))
  6225. ])
  6226. ]),
  6227. V("div", RD, [
  6228. o(s, {
  6229. class: "resign-account",
  6230. type: "link",
  6231. onClick: z.handUpdatePassword
  6232. }, {
  6233. default: F(() => [
  6234. $(E(M.$l("账户注册")), 1)
  6235. ]),
  6236. _: 1
  6237. }, 8, ["onClick"])
  6238. ])
  6239. ])) : AA("", !0)
  6240. ])) : AA("", !0)
  6241. ]),
  6242. _: 1
  6243. }, 8, ["tab"])),
  6244. z.showPhoneLogin ? (m(), DA(e, {
  6245. key: 2,
  6246. tab: M.$l("手机号码登录")
  6247. }, {
  6248. default: F(() => [
  6249. w.typeActive === 2 ? (m(), T("div", _D, [
  6250. o(c, {
  6251. label: " ",
  6252. colon: !1,
  6253. name: "mobile"
  6254. }, {
  6255. default: F(() => [
  6256. o(P, {
  6257. style: { width: "100%" },
  6258. value: w.form.mobile,
  6259. "onUpdate:value": n[21] || (n[21] = (g) => w.form.mobile = g),
  6260. controls: !1,
  6261. "has-feedback": "",
  6262. size: "large",
  6263. placeholder: M.$l("手机号")
  6264. }, {
  6265. addonBefore: F(() => [
  6266. o(t, {
  6267. value: w.form.prefix,
  6268. "onUpdate:value": n[20] || (n[20] = (g) => w.form.prefix = g),
  6269. style: { width: "80px" }
  6270. }, {
  6271. default: F(() => [
  6272. o(f, { value: "+86" }, {
  6273. default: F(() => [...n[26] || (n[26] = [
  6274. $("+86", -1)
  6275. ])]),
  6276. _: 1
  6277. })
  6278. ]),
  6279. _: 1
  6280. }, 8, ["value"])
  6281. ]),
  6282. _: 1
  6283. }, 8, ["value", "placeholder"])
  6284. ]),
  6285. _: 1
  6286. }),
  6287. o(c, {
  6288. label: " ",
  6289. colon: !1,
  6290. name: "code"
  6291. }, {
  6292. default: F(() => [
  6293. V("div", $D, [
  6294. o(P, {
  6295. controls: !1,
  6296. value: w.form.code,
  6297. "onUpdate:value": n[22] || (n[22] = (g) => w.form.code = g),
  6298. placeholder: M.$l("短息验证码"),
  6299. style: { width: "100%" },
  6300. size: "large",
  6301. allowClear: !0
  6302. }, null, 8, ["value", "placeholder"]),
  6303. o(s, { class: "valid-code" }, {
  6304. default: F(() => [
  6305. w.captchaCountdown <= 0 ? (m(), T("span", {
  6306. key: 0,
  6307. onClick: n[23] || (n[23] = (...g) => z.handGetCaptchaCount && z.handGetCaptchaCount(...g))
  6308. }, E(M.$l("获取验证码")), 1)) : (m(), DA(Q, {
  6309. key: 1,
  6310. size: "mini",
  6311. format: "ss",
  6312. value: w.captchaCountdown,
  6313. onFinish: z.onFinishReset
  6314. }, null, 8, ["value", "onFinish"]))
  6315. ]),
  6316. _: 1
  6317. })
  6318. ])
  6319. ]),
  6320. _: 1
  6321. }),
  6322. o(Y, {
  6323. onSuccess: z.verifySuccess1,
  6324. mode: "pop",
  6325. captchaType: w.captchaType,
  6326. imgSize: { width: "330px", height: "155px" },
  6327. ref: "verify"
  6328. }, null, 8, ["onSuccess", "captchaType"]),
  6329. o(s, {
  6330. class: "login-btn",
  6331. size: "large",
  6332. type: "primary",
  6333. disabled: w.isLoginButtonDisabled,
  6334. onClick: z.handLogin
  6335. }, {
  6336. default: F(() => [
  6337. w.isCountdown ? AA("", !0) : (m(), T("span", As, E(M.$l("登录")), 1)),
  6338. w.isCountdown ? (m(), DA(Q, {
  6339. key: 1,
  6340. format: "ss",
  6341. size: "mini",
  6342. value: w.deadline,
  6343. onFinish: z.onFinish
  6344. }, null, 8, ["value", "onFinish"])) : AA("", !0)
  6345. ]),
  6346. _: 1
  6347. }, 8, ["disabled", "onClick"])
  6348. ])) : AA("", !0)
  6349. ]),
  6350. _: 1
  6351. }, 8, ["tab"])) : AA("", !0)
  6352. ]),
  6353. _: 1
  6354. }, 8, ["activeKey"]),
  6355. A.showAgreement ? (m(), T("div", gs, [
  6356. o(B, {
  6357. checked: w.arguments,
  6358. "onUpdate:checked": n[25] || (n[25] = (g) => w.arguments = g)
  6359. }, {
  6360. default: F(() => [
  6361. V("span", null, E(M.$l("我已阅读同意")), 1)
  6362. ]),
  6363. _: 1
  6364. }, 8, ["checked"]),
  6365. o(s, {
  6366. class: "link-btn",
  6367. type: "link",
  6368. onClick: z.handUpdatePassword
  6369. }, {
  6370. default: F(() => [
  6371. $(E(M.$l("《隐私政策》")), 1)
  6372. ]),
  6373. _: 1
  6374. }, 8, ["onClick"]),
  6375. V("span", null, E(M.$l("和")), 1),
  6376. o(s, {
  6377. class: "link-btn",
  6378. type: "link",
  6379. onClick: z.handUpdatePassword
  6380. }, {
  6381. default: F(() => [
  6382. $(E(M.$l("《服务协议》")), 1)
  6383. ]),
  6384. _: 1
  6385. }, 8, ["onClick"])
  6386. ])) : AA("", !0)
  6387. ]))
  6388. ]),
  6389. _: 1
  6390. }, 8, ["model", "rules"]),
  6391. V("div", Ds, E(M.$utils.env.VITE_APP_CASE_NAME), 1)
  6392. ]);
  6393. }
  6394. const dg = /* @__PURE__ */ PA(XD, [["render", ss], ["__scopeId", "data-v-47e22609"]]), es = new URL("../img/inline-dfddf18de1.png", import.meta.url).href, Cs = {
  6395. name: "LoginTheme1",
  6396. components: { LoginForm: dg },
  6397. props: {
  6398. // 登录页 logo:默认基座 logo,父级拿到系统外观配置(getActivateSystemIcon)后覆盖
  6399. logo: { type: String, default: mA },
  6400. // 系统名称(封面副标题),国际化文案由父级取好后传入
  6401. sysName: { type: String, default: "" }
  6402. },
  6403. data() {
  6404. return {
  6405. coverImg: es
  6406. };
  6407. }
  6408. }, ts = { class: "container-between" }, Ms = { class: "cover" }, vs = { class: "logo-wrap" }, rs = ["src"], fs = { class: "desc" }, ns = ["src"], zs = { class: "form-content" };
  6409. function Ps(M, n, A, D, w, z) {
  6410. const l = YA("LoginForm");
  6411. return m(), T("div", ts, [
  6412. V("div", Ms, [
  6413. V("div", vs, [
  6414. V("img", {
  6415. src: A.logo,
  6416. class: "logo"
  6417. }, null, 8, rs),
  6418. V("div", fs, E(A.sysName), 1)
  6419. ]),
  6420. V("img", {
  6421. src: w.coverImg,
  6422. class: "left-cover"
  6423. }, null, 8, ns)
  6424. ]),
  6425. V("div", zs, [
  6426. o(l)
  6427. ])
  6428. ]);
  6429. }
  6430. const KB = /* @__PURE__ */ PA(Cs, [["render", Ps], ["__scopeId", "data-v-843d2d34"]]), cs = new URL("../img/inline-529cdf6a8f.png", import.meta.url).href, Ys = {
  6431. name: "LoginTheme2",
  6432. components: { LoginForm: dg },
  6433. props: {
  6434. logo: { type: String, default: mA }
  6435. },
  6436. data() {
  6437. return {
  6438. bgImg: cs
  6439. };
  6440. }
  6441. }, Qs = { class: "container-left" }, Ws = ["src"], Hs = ["src"], Ls = { class: "form-content" };
  6442. function Os(M, n, A, D, w, z) {
  6443. const l = YA("LoginForm");
  6444. return m(), T("div", Qs, [
  6445. V("img", {
  6446. src: w.bgImg,
  6447. class: "bg-cover"
  6448. }, null, 8, Ws),
  6449. V("img", {
  6450. src: A.logo,
  6451. class: "logo"
  6452. }, null, 8, Hs),
  6453. V("div", Ls, [
  6454. o(l)
  6455. ])
  6456. ]);
  6457. }
  6458. const xs = /* @__PURE__ */ PA(Ys, [["render", Os], ["__scopeId", "data-v-7315cd41"]]), Zs = new URL("../img/inline-0da6ef80f4.png", import.meta.url).href, bs = {
  6459. name: "LoginTheme3",
  6460. components: { LoginForm: dg },
  6461. props: {
  6462. logo: { type: String, default: mA }
  6463. },
  6464. data() {
  6465. return {
  6466. bgImg: Zs
  6467. };
  6468. }
  6469. }, ls = { class: "container-center" }, Gs = ["src"], ds = ["src"], as = { class: "form-content" };
  6470. function us(M, n, A, D, w, z) {
  6471. const l = YA("LoginForm");
  6472. return m(), T("div", ls, [
  6473. V("img", {
  6474. src: w.bgImg,
  6475. class: "bg-cover"
  6476. }, null, 8, Gs),
  6477. V("img", {
  6478. src: A.logo,
  6479. class: "logo"
  6480. }, null, 8, ds),
  6481. V("div", as, [
  6482. o(l)
  6483. ])
  6484. ]);
  6485. }
  6486. const ys = /* @__PURE__ */ PA(bs, [["render", us], ["__scopeId", "data-v-8b9e9b4b"]]), Xs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHFUlEQVR4AexaTW7jNhQm7Sx7gC4KVF5MgO5aZLpIu2h8kjgnieckTk9id9HRohm0u6KZhV2gQA/QbWz2+yjJFqknmaIkJ5lJwGdJ/Hk/Hx8fn8SM1Gf+9wrAZ+4A6tUDTuUB6e9/JumHj7ek9/cPS9AaZEC8rn+9f1iQ0g8Ps1PpRDmDe0AKo2Hk0mzHa2PMnATBV6AExMJropWakYxRC/S3gKQnAGMwANLfPl7RkJLBqsWfBaQAIwWILca26to7AHR1GL402iyhCWcXl04lIYhDgdArADQerk7D6eJNVm/QSFrhWhBu6wtAmJF/fY+4lt4AoMvD+DXUqJv1jdZ6rsfbyQ9vzwua4r4gzTb2AQ+Cg4tTksvvvpHqnU5tH3oBgDOTu7wkf6O1uoGhk8uLN++ajGAb+7CvNnoKZvQOXJTS4KEG+OsFAMz8QtLNKHVHYy4vzu+k9qa6y+/frDB2ar0CXhPDo4l/0dYZAO7dYFZZ8xru/uPb8xu0dSrWKwZw/UKpTgBw3Wvs3wWz4krj6crF83O+dgIA6/5WMG51CuO5LVpChinoEFwVDQBnH1Kqrj/ednZ78G0sNs8wWVaJ+LNkEG4cUGr0b6MB2Glz7TOzrj/gei3JKwOfqN3Zdamt1W00AFj7ZSWs0FO4vhXk/TBJ8qqCH6MBgAQn4eGWh7pTlX1+kAtM8iWZP4ZfogBIhbe0kVa/hIvt1hNgVzPCkXEmJFRCFAAi89HWnxWxWx+VI62rACj9dQzvKAB2Rv0UI6y3Mbv+vC0KAMkQZmxS/SB1Z48bn+/OPPUS8DUa8LlPsKM8QFqDXZKRtlhJsiSdQvhGARDC+PR9zN8xMiMBEIQ9nonbkDRbbRQVx9fIasO36BsHwE7ahgqW2ZWKI2c3XXJ1jLdfkyt5h7TnB+iUaeb+xgHg8sieRt7WeMjPE7UbV9LmbFD9LwFEqx1njLrGfakIe76wM5QG1N7GASAIQz5ulS0k7UrbUlTecACQLJ3lVebNxi4UBUC+DTVmfqNSaqzx0SSf0WBdAej+hAhvmc4nNfBzwCbTXCfetqIoAGokOLOkvDW5245vQ0HIP7O5/FyhTpvBt0e3+fB07C4aAG30O485zv4O53r8qIn2fcaGWZshIC6aQOAbHQMf+2LsoYwefy4eKgERDWVvw2OrEg2AEuOAG6y01o7rQrMrgMDD0GWK4y4anOLNkjNOwie2yqEKeMzL7l0NiODa4UUsGoBcKT8OXNEoqGRL/oHE78O2K6zxOQ2GQQuNGEFig0ebnIetznk765/un+ti+7T9iQaAgrRWe9fkMwlGOR9K8V3/BvX7pYD70LLBMuPYfX+fNxu6uL8dz59oylzPn+GrFO5d8OTs4IBjwplCXRAQ7MsxeRzBMKVSLBXcOLOPZ3hI+0MXjNuXTh5A40QvMGaWu+teEA9J8hklYCIQNBx9puy7H4gb8uJSwa1T0NfxEKcx8KETAFaG7AUJ3HWRz5rtxh/OKGaWh6ETLI0JDJgCwBveo17TcPZh34Ks8dlRe1FVXFd+36KhzbUzANYL5LMAnOur7N9ehMMLjqMBPPPjva80t8vSzuA3K4Dnb8OVPiEVnQGgEBrAWeS9T4zu2PqWNMb3CL8vjU4RP0gYs+ZYvw+fYfyU4PG+K/UCAJWwINQfYSc0husYiY4BGP+R3t//9e+BHgyNNvmJD3lK1Kfx5N8bAFyr9qXHqH/IuIkAxhckpfSXB1Ihf38ovHXSU0I6h/TpDAANx6wuEfSWMGqmtPoqRHBkn2+th2zHWTYpxJa2fDsBADde0HAI9fdnVA1ebFpNHbp4RBQA+awbO+OD29ksgDogdkSfELcGwEZoeV/ea2oTGgRE7gwk7vGxxKBHAvPaBAptCUBYp1m2iMfw0goAu9aNmdexZ1JDQ21Cc3F+x52BVNc/pJ7bHQl8swQKwGKcnEkatUi5jbaIDcEA0HgIFte6wQcJKKiZ1KDPoIUy4FVTypQEMUjy/wVC40IQAE3G0z0545IyQ9XRqyiTsiGj4g1tQDgKAKMshEgzv8JMTOieaH+SQtnQgf9PWAvCMcUaAUgRVBhlBSb2f/g4E0LbSauoQxMIKWJCk0K1AHCrY+oqDLbGC/VPVnUUhIagKALAAIIER/rvzw2CHV3uyYytE9wIwnZcmyeIADCKQpDz6RnPfAXt/AGCfIaiBhCS3KaK6AoAdvaFvZ4Rl0GnwuGZVVgQql+jFXcG2uarWwGABxh+J+65L8H4Qu/8SzIzx6Iqu7rHbbauAgCivr/lbbjn2t4v6Ac7A5ersz3CC3zb8HZ9xCgtuNORIc+iWVoK8GQHECpa8QBE+Qka6D4rGD/P3QlVL69QdxjN06kNr5InVwCgmQCBLx5TMuDzSyYaDXsmvEp2iABIHT/VulcAXvrMdtX/fwAAAP//un2LNgAAAAZJREFUAwBQ41qup/ExBAAAAABJRU5ErkJggg==", js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAEt0lEQVR4AexbzW7bRhCekQr0BXopeigFNHJ7bO2gsH1o/BAFeqt16CHnPkCce3svelFy7zvIQWETqGUUPaVWgkg55xFiafN9lByI5FrU8E+KQ2JH4s7+zMw3w+XukmzJR340AHzkASBNBNQZAeG/z4Pw8sWj8+FoABqD3IJ4Pj4bjvrh5ei4Tp0qj4Alo52btsfOuRMY+AAUgG4SzwMVOXZO+gBlDgYAu6lQ1X+lAITw9pLRFhvmYEzbA/ZhaWitWxkA8OJg4W2rTsv1A/aBvsaMpOWCss5LB4CKQuEBFGSY429lmqD0FJSVAkTSILx4sU6fWX3FyksHAIr2IeE2RU9V9USdHh3sdRXUAUXn2p52VKXnRJ6I/wicuj4B9hfn45YKwCrPKwynsfu79x7v37+X8vr+t99M9ne7Tw73uj0CBHMYHfiLpSgSYpyCmdIAWISnz/MTepeGr6srAUKbI4LmaRPwdunh52KVBgDC85FHgwm83qF3PWUrWWyzAC0VLSryoKxLoRQAwvnkJeV9hHJvpZVrFCISfH0Es2nbB/gaPcarlALAzMkP8W5FOJgxlJN8a56RoBgck+0YBUlennwpAECZ1PSVg1kehXxtODiCn7wUgsW4g6L1U7JmYQAW4R/rl96PMUrIqGoSAMFSLhV5VlGFAfAJbKlOfPxCvJk8S7bHLDE17iTrZOVLAEC/TAtxr9O8gpxPrssHFSoVBmDmXIB+4qk1TYdrvIY5x8EQjZIgpGWjkiUVBsAirGhdjAOxabITKQz0BwWAtK6fwugbECat9vSxFDw+KAB4GfD2itlltJBivqD9uJEU6IHTURVJXYecpYXYDKmeRsdF5wK5IoCGc0GCpe9YRFK3IoCCrS13gttUxSR9rEGi/UXqJDkOMwAUBMP7NDKHvKqaRMvkPNFgBoDGw4qU18HbdIo2TKxKmACg9yFgG42HWlEyrw9MAMis7TP+VLHFhWVrp3ZSPYnMXv5piWl9YANANDXtVZWnXPbyllQ3cV6wbDvPMfD6nMQiLxkB8PQx0+T0NFVpMLz67Pyf5wcWuvjv1U6qowSDgCdY5mxxADJEhpcvf/lU9I202mcWevv2+v+z4dVvGd1nFmdVqBSA88uXXzk3+zNLidvKVfTXs4urn24rL4NfKQBtmX5eWEmVLwr3saKDSgH4fnfnb8j+A5QvqTw73Nv5PV/j9VpVCgBVwMLlIS6DHxW3LBO15OHBbtc0olOelSoHgAod3v/6L+7xm+i7bv7IodA1qRYA1tRlI9UaADYC+xYJbSJgi5yxEVWaCNgI7FsktImALXLGRlRpImAjsFco1Np1EwFWxO5a/SYC7ppHrfY0EWBF7K7VLxwBM3U/bwqUcP6CZky8E8l8TiFLhw0Az5taKnJ8PhxFn7zU/O+cE76ZvmSOSAsbqTFGRsYGwPxNLd97OQHk1E0Q6UnGF7RMAPBRFB6A9jxit4KleEhLHS3KmABgxxRAQTg3XWuoX2niljsf0lqFmAGgAApCJBypvv/Cg5cFAamb5l+gtKcdbrlTNyvlAoBCGAl8iflwr9vDww9+9sLPX+qmIxpOXahTHsoNQB5h29imAWAbvWLRqWjddwAAAP//MGboZgAAAAZJREFUAwAv/CuutfMtNAAAAABJRU5ErkJggg==", Vs = { class: "login-page" }, os = { class: "brand-side" }, Fs = { class: "brand-inner" }, Ns = { class: "brand-logo" }, ms = ["src", "alt"], Js = { class: "brand-footer" }, ks = { class: "form-side" }, Ks = ["src"], Es = ["src"], Is = ["src", "alt"], ps = {
  6487. key: 1,
  6488. class: "error-tip"
  6489. }, Ts = { class: "form-extra" }, Ss = { class: "lock-text" }, Us = { class: "lock-text" }, is = { key: 1 }, qs = { class: "tips" }, hs = /* @__PURE__ */ Object.assign({ name: "LoginTheme4" }, {
  6490. __name: "LoginTheme4",
  6491. props: {
  6492. // 登录页 logo:父级(login.vue)传的兜底图,接口返回 loginPageLogoUrl 后覆盖
  6493. logo: { type: String, default: Kg }
  6494. },
  6495. setup(M) {
  6496. const n = M, A = (b) => window.$l ? window.$l(b) : b, D = Ww(), w = Hw(), z = [
  6497. { icon: "SafetyOutlined", text: "统一身份认证,一次登录全校通行" },
  6498. { icon: "SafetyOutlined", text: "办事、资讯、应用一站聚合" },
  6499. { icon: "SafetyOutlined", text: "全流程安全审计,保障数据隐私" }
  6500. ], l = MA(n.logo || Kg), c = MA("统一认证中心"), Y = MA(null), B = MA(!1), s = MA(""), Q = MA(!1), e = MA(!1), f = MA(""), t = MA(""), P = MA(""), v = MA({}), H = MA(0), g = rw(() => H.value > Date.now()), C = fw({
  6501. loginName: "",
  6502. password: "",
  6503. verificationCode: ""
  6504. }), r = {
  6505. loginName: [{ required: !0, message: A("请输入职工号/学号"), trigger: "blur" }],
  6506. password: [{ required: !0, message: A("请输入登录密码"), trigger: "blur" }],
  6507. verificationCode: [{ required: !0, message: A("请输入验证码"), trigger: "blur" }]
  6508. }, O = () => window.$utils.env, L = () => window.$utils.ls;
  6509. function Z() {
  6510. const b = L().get("LOGIN_ACCOUNT");
  6511. b && (C.loginName = b, Q.value = !0);
  6512. }
  6513. function d() {
  6514. const b = D.params.officeCode;
  6515. b ? (L().set("officeCode", b), f.value = b) : f.value = L().get("officeCode") || "";
  6516. }
  6517. function j() {
  6518. lB({}).then((b) => {
  6519. v.value = b || {};
  6520. }).catch(() => {
  6521. });
  6522. }
  6523. function W() {
  6524. Lw({}).then((b) => {
  6525. Array.isArray(b) && b.length && (e.value = !!b[0].defaultActivateAccount);
  6526. }).catch(() => {
  6527. });
  6528. }
  6529. function x() {
  6530. GB().then((b) => {
  6531. t.value = `data:image/gif;base64,${b.verificationImage}`, P.value = b.verificationCodeId;
  6532. }).catch(() => {
  6533. t.value = "", P.value = "";
  6534. });
  6535. }
  6536. function u() {
  6537. H.value = 0, s.value = "";
  6538. }
  6539. function y(b) {
  6540. if (!b) return {};
  6541. if (typeof b.message == "string")
  6542. try {
  6543. return JSON.parse(b.message);
  6544. } catch (G) {
  6545. return { message: b.message };
  6546. }
  6547. return b;
  6548. }
  6549. function N(b) {
  6550. var p, _;
  6551. const G = y(b);
  6552. if (s.value = G.message || A("账号或密码错误,请重新输入"), G.lockUser) {
  6553. const k = G.lockUser, rA = k.lockEndTime && k.nowTime ? k.lockEndTime - k.nowTime : 0;
  6554. rA > 0 ? H.value = Date.now() + rA : (H.value = 0, s.value = G.message || A("账号已被锁定,请联系管理员")), C.verificationCode = "", x();
  6555. return;
  6556. }
  6557. const S = Number(((p = v.value) == null ? void 0 : p.codeThreshold) || 0);
  6558. (_ = v.value) != null && _.enabled && S > 0 && Number(G.failCount || 0) >= S && (C.verificationCode = "", x());
  6559. }
  6560. function J(b) {
  6561. const G = (O().VITE_APP_BASE_URL || "/").replace(/\/+$/, ""), S = `${window.location.protocol}//${window.location.host}${G}/sso.html?client_id=${b.clientId}&scope=${b.scope}&redirect_uri=${encodeURIComponent(b.redirectUri)}`;
  6562. window.location.replace(S);
  6563. }
  6564. function K(b) {
  6565. return dA(this, null, function* () {
  6566. L().set("token", b), L().set("USER-TOKEN", b), t.value = "", P.value = "";
  6567. const G = window.sessionStorage.getItem("redirect_client_id");
  6568. if (G)
  6569. try {
  6570. const { clients: S } = yield dB().Info(), p = S.find((_) => _.clientId === G) || {};
  6571. if (p.redirectUri && p.redirectUri !== "/") {
  6572. J(p);
  6573. return;
  6574. }
  6575. } catch (S) {
  6576. }
  6577. window.$push(O().VITE_APP_DEFAULT_PATH);
  6578. });
  6579. }
  6580. function R() {
  6581. return dA(this, null, function* () {
  6582. if (!g.value) {
  6583. s.value = "", B.value = !0;
  6584. try {
  6585. const b = {
  6586. clientId: O().VITE_APP_CLIENT_ID,
  6587. loginName: Og(C.loginName || ""),
  6588. password: Og(C.password || ""),
  6589. // 图形验证码按原文提交(与基座 LoginForm 一致)
  6590. verificationCode: C.verificationCode || "",
  6591. verificationCodeId: P.value || ""
  6592. }, G = yield aB(b);
  6593. Q.value ? L().set("LOGIN_ACCOUNT", C.loginName) : L().remove("LOGIN_ACCOUNT"), window.$message.success(A("登录成功,欢迎回来")), yield K(G);
  6594. } catch (b) {
  6595. N(b), C.verificationCode = "";
  6596. } finally {
  6597. B.value = !1;
  6598. }
  6599. }
  6600. });
  6601. }
  6602. function i() {
  6603. w.push("/user/qrCode");
  6604. }
  6605. function h() {
  6606. w.push("/user/forgotPassword");
  6607. }
  6608. function q() {
  6609. w.push("/user/activate");
  6610. }
  6611. function a(b) {
  6612. b && (l.value = b.loginPageLogoUrl || l.value, c.value = b.systemName || c.value);
  6613. }
  6614. function X() {
  6615. const b = L().get("systemIcons");
  6616. if (b) {
  6617. a(b);
  6618. return;
  6619. }
  6620. jB().then((G) => {
  6621. a(G);
  6622. }).catch(() => {
  6623. });
  6624. }
  6625. return nw(() => {
  6626. X(), d(), Z(), j(), W();
  6627. }), (b, G) => {
  6628. const S = Ow, p = xw, _ = Zw, k = bw, rA = uB, fA = oB, aA = Cw, WA = YA("SafetyOutlined"), sA = dw, wA = tw, ZA = Gw, HA = YA("ExclamationCircleFilled"), bA = yB, nA = XB, uA = FB, LA = VB, CA = aw, eA = YA("QrcodeOutlined"), zA = lw;
  6629. return m(), T("div", Vs, [
  6630. V("section", os, [
  6631. G[4] || (G[4] = V("div", { class: "brand-mask" }, null, -1)),
  6632. V("div", Fs, [
  6633. V("div", Ns, [
  6634. V("img", {
  6635. class: "logo-img",
  6636. src: l.value,
  6637. alt: A("学校标识")
  6638. }, null, 8, ms)
  6639. ]),
  6640. o(S, {
  6641. level: 1,
  6642. class: "brand-title"
  6643. }, {
  6644. default: F(() => [
  6645. $(E(c.value), 1)
  6646. ]),
  6647. _: 1
  6648. }),
  6649. o(p, { class: "brand-slogan" }, {
  6650. default: F(() => [
  6651. $(E(A("一个账号,通达校园全部应用与服务")), 1)
  6652. ]),
  6653. _: 1
  6654. }),
  6655. o(k, {
  6656. direction: "vertical",
  6657. size: 16,
  6658. class: "brand-points"
  6659. }, {
  6660. default: F(() => [
  6661. (m(), T(FA, null, bg(z, (BA) => V("div", {
  6662. key: BA.text,
  6663. class: "brand-point"
  6664. }, [
  6665. (m(), DA(JA(BA.icon), { class: "point-icon" })),
  6666. o(_, { class: "point-text" }, {
  6667. default: F(() => [
  6668. $(E(A(BA.text)), 1)
  6669. ]),
  6670. _: 2
  6671. }, 1024)
  6672. ])), 64))
  6673. ]),
  6674. _: 1
  6675. })
  6676. ]),
  6677. V("div", Js, [
  6678. o(_, { class: "copyright-text" }, {
  6679. default: F(() => [
  6680. $(" 智慧校园 · " + E(c.value), 1)
  6681. ]),
  6682. _: 1
  6683. })
  6684. ])
  6685. ]),
  6686. V("section", ks, [
  6687. o(zA, {
  6688. class: "login-card",
  6689. bordered: !1
  6690. }, {
  6691. default: F(() => [
  6692. o(S, {
  6693. level: 3,
  6694. class: "card-title"
  6695. }, {
  6696. default: F(() => [
  6697. $(E(A("账号登录")), 1)
  6698. ]),
  6699. _: 1
  6700. }),
  6701. o(_, {
  6702. type: "secondary",
  6703. class: "card-desc"
  6704. }, {
  6705. default: F(() => [
  6706. $(E(A("学生、教职工请使用学号 / 职工号登录")), 1)
  6707. ]),
  6708. _: 1
  6709. }),
  6710. o(LA, {
  6711. ref_key: "formRef",
  6712. ref: Y,
  6713. class: "login-form",
  6714. model: C,
  6715. rules: r,
  6716. layout: "vertical",
  6717. onFinish: R
  6718. }, {
  6719. default: F(() => [
  6720. o(fA, { name: "loginName" }, {
  6721. default: F(() => [
  6722. o(rA, {
  6723. value: C.loginName,
  6724. "onUpdate:value": G[0] || (G[0] = (BA) => C.loginName = BA),
  6725. size: "large",
  6726. placeholder: A("请输入职工号/学号"),
  6727. autocomplete: "off",
  6728. "allow-clear": ""
  6729. }, {
  6730. prefix: F(() => [
  6731. V("img", {
  6732. class: "field-icon",
  6733. src: Eg(Xs),
  6734. alt: ""
  6735. }, null, 8, Ks)
  6736. ]),
  6737. _: 1
  6738. }, 8, ["value", "placeholder"])
  6739. ]),
  6740. _: 1
  6741. }),
  6742. o(fA, { name: "password" }, {
  6743. default: F(() => [
  6744. o(aA, {
  6745. value: C.password,
  6746. "onUpdate:value": G[1] || (G[1] = (BA) => C.password = BA),
  6747. size: "large",
  6748. placeholder: A("请输入登录密码"),
  6749. autocomplete: "off"
  6750. }, {
  6751. prefix: F(() => [
  6752. V("img", {
  6753. class: "field-icon",
  6754. src: Eg(js),
  6755. alt: ""
  6756. }, null, 8, Es)
  6757. ]),
  6758. _: 1
  6759. }, 8, ["value", "placeholder"])
  6760. ]),
  6761. _: 1
  6762. }),
  6763. t.value ? (m(), DA(fA, {
  6764. key: 0,
  6765. name: "verificationCode"
  6766. }, {
  6767. default: F(() => [
  6768. o(ZA, { gutter: 12 }, {
  6769. default: F(() => [
  6770. o(sA, { span: 14 }, {
  6771. default: F(() => [
  6772. o(rA, {
  6773. value: C.verificationCode,
  6774. "onUpdate:value": G[2] || (G[2] = (BA) => C.verificationCode = BA),
  6775. size: "large",
  6776. placeholder: A("请输入验证码"),
  6777. autocomplete: "off",
  6778. "allow-clear": ""
  6779. }, {
  6780. prefix: F(() => [
  6781. o(WA, { class: "field-icon-text" })
  6782. ]),
  6783. _: 1
  6784. }, 8, ["value", "placeholder"])
  6785. ]),
  6786. _: 1
  6787. }),
  6788. o(sA, { span: 10 }, {
  6789. default: F(() => [
  6790. o(wA, {
  6791. title: A("点击刷新验证码")
  6792. }, {
  6793. default: F(() => [
  6794. V("div", {
  6795. class: "captcha-box",
  6796. onClick: x
  6797. }, [
  6798. V("img", {
  6799. src: t.value,
  6800. alt: A("验证码")
  6801. }, null, 8, Is)
  6802. ])
  6803. ]),
  6804. _: 1
  6805. }, 8, ["title"])
  6806. ]),
  6807. _: 1
  6808. })
  6809. ]),
  6810. _: 1
  6811. })
  6812. ]),
  6813. _: 1
  6814. })) : AA("", !0),
  6815. s.value ? (m(), T("div", ps, [
  6816. o(HA, { class: "error-icon" }),
  6817. o(_, { type: "danger" }, {
  6818. default: F(() => [
  6819. $(E(s.value), 1)
  6820. ]),
  6821. _: 1
  6822. })
  6823. ])) : AA("", !0),
  6824. V("div", Ts, [
  6825. o(bA, {
  6826. checked: Q.value,
  6827. "onUpdate:checked": G[3] || (G[3] = (BA) => Q.value = BA)
  6828. }, {
  6829. default: F(() => [
  6830. $(E(A("记住我")), 1)
  6831. ]),
  6832. _: 1
  6833. }, 8, ["checked"]),
  6834. o(nA, {
  6835. type: "link",
  6836. class: "link-btn",
  6837. onClick: h
  6838. }, {
  6839. default: F(() => [
  6840. $(E(A("忘记密码?")), 1)
  6841. ]),
  6842. _: 1
  6843. })
  6844. ]),
  6845. o(fA, { class: "submit-item" }, {
  6846. default: F(() => [
  6847. o(nA, {
  6848. type: "primary",
  6849. block: "",
  6850. size: "large",
  6851. "html-type": "submit",
  6852. loading: B.value,
  6853. disabled: g.value
  6854. }, {
  6855. default: F(() => [
  6856. g.value ? (m(), T(FA, { key: 0 }, [
  6857. V("span", Ss, E(A("账号已锁定,")), 1),
  6858. o(uA, {
  6859. class: "lock-countdown",
  6860. value: H.value,
  6861. format: "s",
  6862. onFinish: u
  6863. }, null, 8, ["value"]),
  6864. V("span", Us, E(A("秒后重试")), 1)
  6865. ], 64)) : (m(), T("span", is, E(A("登录")), 1))
  6866. ]),
  6867. _: 1
  6868. }, 8, ["loading", "disabled"])
  6869. ]),
  6870. _: 1
  6871. })
  6872. ]),
  6873. _: 1
  6874. }, 8, ["model"]),
  6875. o(CA, { class: "card-divider" }, {
  6876. default: F(() => [
  6877. $(E(A("其他登录方式")), 1)
  6878. ]),
  6879. _: 1
  6880. }),
  6881. o(nA, {
  6882. block: "",
  6883. size: "large",
  6884. class: "qr-btn",
  6885. onClick: i
  6886. }, {
  6887. icon: F(() => [
  6888. o(eA, { class: "qr-code-2" })
  6889. ]),
  6890. default: F(() => [
  6891. V("span", null, E(A("扫码登录")), 1)
  6892. ]),
  6893. _: 1
  6894. }),
  6895. V("div", qs, [
  6896. o(_, { class: "tips-title" }, {
  6897. default: F(() => [
  6898. $(E(A("温馨提示")), 1)
  6899. ]),
  6900. _: 1
  6901. }),
  6902. e.value ? (m(), DA(p, {
  6903. key: 0,
  6904. class: "tips-line"
  6905. }, {
  6906. default: F(() => [
  6907. $(E(A("1. 新生或新入职教职工,请先")) + " ", 1),
  6908. o(nA, {
  6909. type: "link",
  6910. class: "inline-btn",
  6911. onClick: q
  6912. }, {
  6913. default: F(() => [
  6914. $(E(A("激活账号")), 1)
  6915. ]),
  6916. _: 1
  6917. })
  6918. ]),
  6919. _: 1
  6920. })) : (m(), DA(p, {
  6921. key: 1,
  6922. class: "tips-line"
  6923. }, {
  6924. default: F(() => [
  6925. $(E(A("1. 学生、教职工请使用学号、工号登录")), 1)
  6926. ]),
  6927. _: 1
  6928. })),
  6929. o(p, { class: "tips-line" }, {
  6930. default: F(() => [
  6931. $(E(A("2. 校外人员请使用手机号登录")), 1)
  6932. ]),
  6933. _: 1
  6934. })
  6935. ])
  6936. ]),
  6937. _: 1
  6938. })
  6939. ])
  6940. ]);
  6941. };
  6942. }
  6943. }), Rs = /* @__PURE__ */ PA(hs, [["__scopeId", "data-v-7976423e"]]), _s = {
  6944. 1: KB,
  6945. 2: xs,
  6946. 3: ys,
  6947. 4: Rs
  6948. }, $s = {
  6949. name: "LoginPage",
  6950. data() {
  6951. return {
  6952. spinning: !1,
  6953. sysName: "",
  6954. logo: mA,
  6955. loginTheme: "1"
  6956. };
  6957. },
  6958. computed: {
  6959. themeComponent() {
  6960. return _s[String(this.loginTheme)] || KB;
  6961. },
  6962. // 只有主题 1 有系统名(封面副标题),按主题决定透传哪些 props,避免无用属性落到根节点
  6963. themeProps() {
  6964. const M = { logo: this.logo };
  6965. return String(this.loginTheme) === "1" && (M.sysName = this.sysName), M;
  6966. }
  6967. },
  6968. mounted() {
  6969. this.loginTheme = this.$utils.env.VITE_APP_LOGIN_PATH_THEME, this.spinning = !0, this.spinning = !1, this.getAppearanceConfig();
  6970. },
  6971. methods: {
  6972. getAppearanceConfig() {
  6973. this.sysName = window.$l("统一数据平台 | 管理系统");
  6974. const M = this.$utils.ls.get("systemIcons");
  6975. M ? this.applySystemIcon(M) : jB().then((n) => {
  6976. this.applySystemIcon(n);
  6977. });
  6978. },
  6979. // 应用外观配置:登录页 logo、页签 favicon(已登录后的首页 logo/favicon 由 BasicLayout 处理)
  6980. applySystemIcon(M) {
  6981. M && (M.loginPageLogoUrl && (this.logo = M.loginPageLogoUrl), M.faviconUrl && this.$utils.setFavicon(M.faviconUrl));
  6982. }
  6983. }
  6984. }, A7 = { class: "login-page" }, g7 = { class: "language-check" };
  6985. function B7(M, n, A, D, w, z) {
  6986. const l = YA("s-toggle-language"), c = Mw;
  6987. return m(), DA(c, { spinning: w.spinning }, {
  6988. default: F(() => [
  6989. V("div", A7, [
  6990. (m(), DA(JA(z.themeComponent), zw(Pw(z.themeProps)), null, 16)),
  6991. V("div", g7, [
  6992. o(l, { blockType: "dropdown" })
  6993. ])
  6994. ])
  6995. ]),
  6996. _: 1
  6997. }, 8, ["spinning"]);
  6998. }
  6999. const Q7 = /* @__PURE__ */ PA($s, [["render", B7], ["__scopeId", "data-v-098c9e44"]]);
  7000. export {
  7001. Q7 as default
  7002. };