12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858 |
- /*! For license information please see node-rsa.bundle.js.LICENSE.txt */ ! function(t, e) {
- "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.NODERSA = e() : t.NODERSA = e()
- }(globalThis, (() => (() => {
- var t = {
- 6395: t => {
- t.exports = {
- newInvalidAsn1Error: function(t) {
- var e = new Error;
- return e.name = "InvalidAsn1Error", e.message = t || "", e
- }
- }
- },
- 5670: (t, e, r) => {
- var n = r(6395),
- i = r(6299),
- o = r(3319),
- s = r(1431);
- for (var a in t.exports = {
- Reader: o,
- Writer: s
- }, i) i.hasOwnProperty(a) && (t.exports[a] = i[a]);
- for (var f in n) n.hasOwnProperty(f) && (t.exports[f] = n[f])
- },
- 3319: (t, e, r) => {
- var n = r(4529),
- i = r(4774).Buffer,
- o = r(6299),
- s = r(6395).newInvalidAsn1Error;
- function a(t) {
- if (!t || !i.isBuffer(t)) throw new TypeError("data must be a node Buffer");
- this._buf = t, this._size = t.length, this._len = 0, this._offset = 0
- }
- Object.defineProperty(a.prototype, "length", {
- enumerable: !0,
- get: function() {
- return this._len
- }
- }), Object.defineProperty(a.prototype, "offset", {
- enumerable: !0,
- get: function() {
- return this._offset
- }
- }), Object.defineProperty(a.prototype, "remain", {
- get: function() {
- return this._size - this._offset
- }
- }), Object.defineProperty(a.prototype, "buffer", {
- get: function() {
- return this._buf.slice(this._offset)
- }
- }), a.prototype.readByte = function(t) {
- if (this._size - this._offset < 1) return null;
- var e = 255 & this._buf[this._offset];
- return t || (this._offset += 1), e
- }, a.prototype.peek = function() {
- return this.readByte(!0)
- }, a.prototype.readLength = function(t) {
- if (void 0 === t && (t = this._offset), t >= this._size) return null;
- var e = 255 & this._buf[t++];
- if (null === e) return null;
- if (128 & ~e) this._len = e;
- else {
- if (0 == (e &= 127)) throw s("Indefinite length not supported");
- if (e > 4) throw s("encoding too long");
- if (this._size - t < e) return null;
- this._len = 0;
- for (var r = 0; r < e; r++) this._len = (this._len << 8) + (255 & this._buf[t++])
- }
- return t
- }, a.prototype.readSequence = function(t) {
- var e = this.peek();
- if (null === e) return null;
- if (void 0 !== t && t !== e) throw s("Expected 0x" + t.toString(16) + ": got 0x" + e.toString(16));
- var r = this.readLength(this._offset + 1);
- return null === r ? null : (this._offset = r, e)
- }, a.prototype.readInt = function() {
- return this._readTag(o.Integer)
- }, a.prototype.readBoolean = function() {
- return 0 !== this._readTag(o.Boolean)
- }, a.prototype.readEnumeration = function() {
- return this._readTag(o.Enumeration)
- }, a.prototype.readString = function(t, e) {
- t || (t = o.OctetString);
- var r = this.peek();
- if (null === r) return null;
- if (r !== t) throw s("Expected 0x" + t.toString(16) + ": got 0x" + r.toString(16));
- var n = this.readLength(this._offset + 1);
- if (null === n) return null;
- if (this.length > this._size - n) return null;
- if (this._offset = n, 0 === this.length) return e ? i.alloc(0) : "";
- var a = this._buf.slice(this._offset, this._offset + this.length);
- return this._offset += this.length, e ? a : a.toString("utf8")
- }, a.prototype.readOID = function(t) {
- t || (t = o.OID);
- var e = this.readString(t, !0);
- if (null === e) return null;
- for (var r = [], n = 0, i = 0; i < e.length; i++) {
- var s = 255 & e[i];
- n <<= 7, n += 127 & s, 128 & s || (r.push(n), n = 0)
- }
- return n = r.shift(), r.unshift(n % 40), r.unshift(n / 40 | 0), r.join(".")
- }, a.prototype._readTag = function(t) {
- n.ok(void 0 !== t);
- var e = this.peek();
- if (null === e) return null;
- if (e !== t) throw s("Expected 0x" + t.toString(16) + ": got 0x" + e.toString(16));
- var r = this.readLength(this._offset + 1);
- if (null === r) return null;
- if (this.length > 4) throw s("Integer too long: " + this.length);
- if (this.length > this._size - r) return null;
- this._offset = r;
- for (var i = this._buf[this._offset], o = 0, a = 0; a < this.length; a++) o <<= 8, o |= 255 & this._buf[this._offset++];
- return 128 & ~i || 4 === a || (o -= 1 << 8 * a), 0 | o
- }, t.exports = a
- },
- 6299: t => {
- t.exports = {
- EOC: 0,
- Boolean: 1,
- Integer: 2,
- BitString: 3,
- OctetString: 4,
- Null: 5,
- OID: 6,
- ObjectDescriptor: 7,
- External: 8,
- Real: 9,
- Enumeration: 10,
- PDV: 11,
- Utf8String: 12,
- RelativeOID: 13,
- Sequence: 16,
- Set: 17,
- NumericString: 18,
- PrintableString: 19,
- T61String: 20,
- VideotexString: 21,
- IA5String: 22,
- UTCTime: 23,
- GeneralizedTime: 24,
- GraphicString: 25,
- VisibleString: 26,
- GeneralString: 28,
- UniversalString: 29,
- CharacterString: 30,
- BMPString: 31,
- Constructor: 32,
- Context: 128
- }
- },
- 1431: (t, e, r) => {
- var n = r(4529),
- i = r(4774).Buffer,
- o = r(6299),
- s = r(6395).newInvalidAsn1Error,
- a = {
- size: 1024,
- growthFactor: 8
- };
- function f(t) {
- var e, r;
- e = a, r = t || {}, n.ok(e), n.equal(typeof e, "object"), n.ok(r), n.equal(typeof r, "object"), Object.getOwnPropertyNames(e).forEach((function(t) {
- if (!r[t]) {
- var n = Object.getOwnPropertyDescriptor(e, t);
- Object.defineProperty(r, t, n)
- }
- })), t = r, this._buf = i.alloc(t.size || 1024), this._size = this._buf.length, this._offset = 0, this._options = t, this._seq = []
- }
- Object.defineProperty(f.prototype, "buffer", {
- get: function() {
- if (this._seq.length) throw s(this._seq.length + " unended sequence(s)");
- return this._buf.slice(0, this._offset)
- }
- }), f.prototype.writeByte = function(t) {
- if ("number" != typeof t) throw new TypeError("argument must be a Number");
- this._ensure(1), this._buf[this._offset++] = t
- }, f.prototype.writeInt = function(t, e) {
- if ("number" != typeof t) throw new TypeError("argument must be a Number");
- "number" != typeof e && (e = o.Integer);
- for (var r = 4;
- (!(4286578688 & t) || -8388608 == (4286578688 & t)) && r > 1;) r--, t <<= 8;
- if (r > 4) throw s("BER ints cannot be > 0xffffffff");
- for (this._ensure(2 + r), this._buf[this._offset++] = e, this._buf[this._offset++] = r; r-- > 0;) this._buf[this._offset++] = (4278190080 & t) >>> 24, t <<= 8
- }, f.prototype.writeNull = function() {
- this.writeByte(o.Null), this.writeByte(0)
- }, f.prototype.writeEnumeration = function(t, e) {
- if ("number" != typeof t) throw new TypeError("argument must be a Number");
- return "number" != typeof e && (e = o.Enumeration), this.writeInt(t, e)
- }, f.prototype.writeBoolean = function(t, e) {
- if ("boolean" != typeof t) throw new TypeError("argument must be a Boolean");
- "number" != typeof e && (e = o.Boolean), this._ensure(3), this._buf[this._offset++] = e, this._buf[this._offset++] = 1, this._buf[this._offset++] = t ? 255 : 0
- }, f.prototype.writeString = function(t, e) {
- if ("string" != typeof t) throw new TypeError("argument must be a string (was: " + typeof t + ")");
- "number" != typeof e && (e = o.OctetString);
- var r = i.byteLength(t);
- this.writeByte(e), this.writeLength(r), r && (this._ensure(r), this._buf.write(t, this._offset), this._offset += r)
- }, f.prototype.writeBuffer = function(t, e) {
- if ("number" != typeof e) throw new TypeError("tag must be a number");
- if (!i.isBuffer(t)) throw new TypeError("argument must be a buffer");
- this.writeByte(e), this.writeLength(t.length), this._ensure(t.length), t.copy(this._buf, this._offset, 0, t.length), this._offset += t.length
- }, f.prototype.writeStringArray = function(t) {
- if (!t instanceof Array) throw new TypeError("argument must be an Array[String]");
- var e = this;
- t.forEach((function(t) {
- e.writeString(t)
- }))
- }, f.prototype.writeOID = function(t, e) {
- if ("string" != typeof t) throw new TypeError("argument must be a string");
- if ("number" != typeof e && (e = o.OID), !/^([0-9]+\.){3,}[0-9]+$/.test(t)) throw new Error("argument is not a valid OID string");
- var r = t.split("."),
- n = [];
- n.push(40 * parseInt(r[0], 10) + parseInt(r[1], 10)), r.slice(2).forEach((function(t) {
- ! function(t, e) {
- e < 128 ? t.push(e) : e < 16384 ? (t.push(e >>> 7 | 128), t.push(127 & e)) : e < 2097152 ? (t.push(e >>> 14 | 128), t.push(e >>> 7 & 255 | 128), t.push(127 & e)) : e < 268435456 ? (t.push(e >>> 21 | 128), t.push(e >>> 14 & 255 | 128), t.push(e >>> 7 & 255 | 128), t.push(127 & e)) : (t.push(e >>> 28 & 255 | 128), t.push(e >>> 21 & 255 | 128), t.push(e >>> 14 & 255 | 128), t.push(e >>> 7 & 255 | 128), t.push(127 & e))
- }(n, parseInt(t, 10))
- }));
- var i = this;
- this._ensure(2 + n.length), this.writeByte(e), this.writeLength(n.length), n.forEach((function(t) {
- i.writeByte(t)
- }))
- }, f.prototype.writeLength = function(t) {
- if ("number" != typeof t) throw new TypeError("argument must be a Number");
- if (this._ensure(4), t <= 127) this._buf[this._offset++] = t;
- else if (t <= 255) this._buf[this._offset++] = 129, this._buf[this._offset++] = t;
- else if (t <= 65535) this._buf[this._offset++] = 130, this._buf[this._offset++] = t >> 8, this._buf[this._offset++] = t;
- else {
- if (!(t <= 16777215)) throw s("Length too long (> 4 bytes)");
- this._buf[this._offset++] = 131, this._buf[this._offset++] = t >> 16, this._buf[this._offset++] = t >> 8, this._buf[this._offset++] = t
- }
- }, f.prototype.startSequence = function(t) {
- "number" != typeof t && (t = o.Sequence | o.Constructor), this.writeByte(t), this._seq.push(this._offset), this._ensure(3), this._offset += 3
- }, f.prototype.endSequence = function() {
- var t = this._seq.pop(),
- e = t + 3,
- r = this._offset - e;
- if (r <= 127) this._shift(e, r, -2), this._buf[t] = r;
- else if (r <= 255) this._shift(e, r, -1), this._buf[t] = 129, this._buf[t + 1] = r;
- else if (r <= 65535) this._buf[t] = 130, this._buf[t + 1] = r >> 8, this._buf[t + 2] = r;
- else {
- if (!(r <= 16777215)) throw s("Sequence too long");
- this._shift(e, r, 1), this._buf[t] = 131, this._buf[t + 1] = r >> 16, this._buf[t + 2] = r >> 8, this._buf[t + 3] = r
- }
- }, f.prototype._shift = function(t, e, r) {
- n.ok(void 0 !== t), n.ok(void 0 !== e), n.ok(r), this._buf.copy(this._buf, t + r, t, t + e), this._offset += r
- }, f.prototype._ensure = function(t) {
- if (n.ok(t), this._size - this._offset < t) {
- var e = this._size * this._options.growthFactor;
- e - this._offset < t && (e += t);
- var r = i.alloc(e);
- this._buf.copy(r, 0, 0, this._offset), this._buf = r, this._size = e
- }
- }, t.exports = f
- },
- 3100: (t, e, r) => {
- var n = r(5670);
- t.exports = {
- Ber: n,
- BerReader: n.Reader,
- BerWriter: n.Writer
- }
- },
- 4529: (t, e, r) => {
- "use strict";
- var n = r(1514)();
- function i(t, e) {
- if (t === e) return 0;
- for (var r = t.length, n = e.length, i = 0, o = Math.min(r, n); i < o; ++i)
- if (t[i] !== e[i]) {
- r = t[i], n = e[i];
- break
- } return r < n ? -1 : n < r ? 1 : 0
- }
- function o(t) {
- return r.g.Buffer && "function" == typeof r.g.Buffer.isBuffer ? r.g.Buffer.isBuffer(t) : !(null == t || !t._isBuffer)
- }
- var s = r(4591),
- a = Object.prototype.hasOwnProperty,
- f = Array.prototype.slice,
- u = "foo" === function() {}.name;
- function c(t) {
- return Object.prototype.toString.call(t)
- }
- function h(t) {
- return !o(t) && "function" == typeof r.g.ArrayBuffer && ("function" == typeof ArrayBuffer.isView ? ArrayBuffer.isView(t) : !!t && (t instanceof DataView || !!(t.buffer && t.buffer instanceof ArrayBuffer)))
- }
- var p = t.exports = m,
- l = /\s*function\s+([^\(\s]*)\s*/;
- function y(t) {
- if (s.isFunction(t)) {
- if (u) return t.name;
- var e = t.toString().match(l);
- return e && e[1]
- }
- }
- function g(t, e) {
- return "string" == typeof t ? t.length < e ? t : t.slice(0, e) : t
- }
- function d(t) {
- if (u || !s.isFunction(t)) return s.inspect(t);
- var e = y(t);
- return "[Function" + (e ? ": " + e : "") + "]"
- }
- function v(t, e, r, n, i) {
- throw new p.AssertionError({
- message: r,
- actual: t,
- expected: e,
- operator: n,
- stackStartFunction: i
- })
- }
- function m(t, e) {
- t || v(t, !0, e, "==", p.ok)
- }
- function S(t, e, r, n) {
- if (t === e) return !0;
- if (o(t) && o(e)) return 0 === i(t, e);
- if (s.isDate(t) && s.isDate(e)) return t.getTime() === e.getTime();
- if (s.isRegExp(t) && s.isRegExp(e)) return t.source === e.source && t.global === e.global && t.multiline === e.multiline && t.lastIndex === e.lastIndex && t.ignoreCase === e.ignoreCase;
- if (null !== t && "object" == typeof t || null !== e && "object" == typeof e) {
- if (h(t) && h(e) && c(t) === c(e) && !(t instanceof Float32Array || t instanceof Float64Array)) return 0 === i(new Uint8Array(t.buffer), new Uint8Array(e.buffer));
- if (o(t) !== o(e)) return !1;
- var a = (n = n || {
- actual: [],
- expected: []
- }).actual.indexOf(t);
- return -1 !== a && a === n.expected.indexOf(e) || (n.actual.push(t), n.expected.push(e), function(t, e, r, n) {
- if (null == t || null == e) return !1;
- if (s.isPrimitive(t) || s.isPrimitive(e)) return t === e;
- if (r && Object.getPrototypeOf(t) !== Object.getPrototypeOf(e)) return !1;
- var i = _(t),
- o = _(e);
- if (i && !o || !i && o) return !1;
- if (i) return S(t = f.call(t), e = f.call(e), r);
- var a, u, c = w(t),
- h = w(e);
- if (c.length !== h.length) return !1;
- for (c.sort(), h.sort(), u = c.length - 1; u >= 0; u--)
- if (c[u] !== h[u]) return !1;
- for (u = c.length - 1; u >= 0; u--)
- if (!S(t[a = c[u]], e[a], r, n)) return !1;
- return !0
- }(t, e, r, n))
- }
- return r ? t === e : t == e
- }
- function _(t) {
- return "[object Arguments]" == Object.prototype.toString.call(t)
- }
- function b(t, e) {
- if (!t || !e) return !1;
- if ("[object RegExp]" == Object.prototype.toString.call(e)) return e.test(t);
- try {
- if (t instanceof e) return !0
- } catch (t) {}
- return !Error.isPrototypeOf(e) && !0 === e.call({}, t)
- }
- function E(t, e, r, n) {
- var i;
- if ("function" != typeof e) throw new TypeError('"block" argument must be a function');
- "string" == typeof r && (n = r, r = null), i = function(t) {
- var e;
- try {
- t()
- } catch (t) {
- e = t
- }
- return e
- }(e), n = (r && r.name ? " (" + r.name + ")." : ".") + (n ? " " + n : "."), t && !i && v(i, r, "Missing expected exception" + n);
- var o = "string" == typeof n,
- a = !t && i && !r;
- if ((!t && s.isError(i) && o && b(i, r) || a) && v(i, r, "Got unwanted exception" + n), t && i && r && !b(i, r) || !t && i) throw i
- }
- p.AssertionError = function(t) {
- this.name = "AssertionError", this.actual = t.actual, this.expected = t.expected, this.operator = t.operator, t.message ? (this.message = t.message, this.generatedMessage = !1) : (this.message = g(d(this.actual), 128) + " " + this.operator + " " + g(d(this.expected), 128), this.generatedMessage = !0);
- var e = t.stackStartFunction || v;
- if (Error.captureStackTrace) Error.captureStackTrace(this, e);
- else {
- var r = new Error;
- if (r.stack) {
- var n = r.stack,
- i = y(e),
- o = n.indexOf("\n" + i);
- if (o >= 0) {
- var s = n.indexOf("\n", o + 1);
- n = n.substring(s + 1)
- }
- this.stack = n
- }
- }
- }, s.inherits(p.AssertionError, Error), p.fail = v, p.ok = m, p.equal = function(t, e, r) {
- t != e && v(t, e, r, "==", p.equal)
- }, p.notEqual = function(t, e, r) {
- t == e && v(t, e, r, "!=", p.notEqual)
- }, p.deepEqual = function(t, e, r) {
- S(t, e, !1) || v(t, e, r, "deepEqual", p.deepEqual)
- }, p.deepStrictEqual = function(t, e, r) {
- S(t, e, !0) || v(t, e, r, "deepStrictEqual", p.deepStrictEqual)
- }, p.notDeepEqual = function(t, e, r) {
- S(t, e, !1) && v(t, e, r, "notDeepEqual", p.notDeepEqual)
- }, p.notDeepStrictEqual = function t(e, r, n) {
- S(e, r, !0) && v(e, r, n, "notDeepStrictEqual", t)
- }, p.strictEqual = function(t, e, r) {
- t !== e && v(t, e, r, "===", p.strictEqual)
- }, p.notStrictEqual = function(t, e, r) {
- t === e && v(t, e, r, "!==", p.notStrictEqual)
- }, p.throws = function(t, e, r) {
- E(!0, t, e, r)
- }, p.doesNotThrow = function(t, e, r) {
- E(!1, t, e, r)
- }, p.ifError = function(t) {
- if (t) throw t
- }, p.strict = n((function t(e, r) {
- e || v(e, !0, r, "==", t)
- }), p, {
- equal: p.strictEqual,
- deepEqual: p.deepStrictEqual,
- notEqual: p.notStrictEqual,
- notDeepEqual: p.notDeepStrictEqual
- }), p.strict.strict = p.strict;
- var w = Object.keys || function(t) {
- var e = [];
- for (var r in t) a.call(t, r) && e.push(r);
- return e
- }
- },
- 6100: t => {
- "function" == typeof Object.create ? t.exports = function(t, e) {
- t.super_ = e, t.prototype = Object.create(e.prototype, {
- constructor: {
- value: t,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- })
- } : t.exports = function(t, e) {
- t.super_ = e;
- var r = function() {};
- r.prototype = e.prototype, t.prototype = new r, t.prototype.constructor = t
- }
- },
- 3845: t => {
- t.exports = function(t) {
- return t && "object" == typeof t && "function" == typeof t.copy && "function" == typeof t.fill && "function" == typeof t.readUInt8
- }
- },
- 4591: (t, e, r) => {
- var n = r(5606),
- i = /%[sdj%]/g;
- e.format = function(t) {
- if (!v(t)) {
- for (var e = [], r = 0; r < arguments.length; r++) e.push(a(arguments[r]));
- return e.join(" ")
- }
- r = 1;
- for (var n = arguments, o = n.length, s = String(t).replace(i, (function(t) {
- if ("%%" === t) return "%";
- if (r >= o) return t;
- switch (t) {
- case "%s":
- return String(n[r++]);
- case "%d":
- return Number(n[r++]);
- case "%j":
- try {
- return JSON.stringify(n[r++])
- } catch (t) {
- return "[Circular]"
- }
- default:
- return t
- }
- })), f = n[r]; r < o; f = n[++r]) g(f) || !_(f) ? s += " " + f : s += " " + a(f);
- return s
- }, e.deprecate = function(t, i) {
- if (m(r.g.process)) return function() {
- return e.deprecate(t, i).apply(this, arguments)
- };
- if (!0 === n.noDeprecation) return t;
- var o = !1;
- return function() {
- if (!o) {
- if (n.throwDeprecation) throw new Error(i);
- n.traceDeprecation ? console.trace(i) : console.error(i), o = !0
- }
- return t.apply(this, arguments)
- }
- };
- var o, s = {};
- function a(t, r) {
- var n = {
- seen: [],
- stylize: u
- };
- return arguments.length >= 3 && (n.depth = arguments[2]), arguments.length >= 4 && (n.colors = arguments[3]), y(r) ? n.showHidden = r : r && e._extend(n, r), m(n.showHidden) && (n.showHidden = !1), m(n.depth) && (n.depth = 2), m(n.colors) && (n.colors = !1), m(n.customInspect) && (n.customInspect = !0), n.colors && (n.stylize = f), c(n, t, n.depth)
- }
- function f(t, e) {
- var r = a.styles[e];
- return r ? "[" + a.colors[r][0] + "m" + t + "[" + a.colors[r][1] + "m" : t
- }
- function u(t, e) {
- return t
- }
- function c(t, r, n) {
- if (t.customInspect && r && w(r.inspect) && r.inspect !== e.inspect && (!r.constructor || r.constructor.prototype !== r)) {
- var i = r.inspect(n, t);
- return v(i) || (i = c(t, i, n)), i
- }
- var o = function(t, e) {
- if (m(e)) return t.stylize("undefined", "undefined");
- if (v(e)) {
- var r = "'" + JSON.stringify(e).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
- return t.stylize(r, "string")
- }
- return d(e) ? t.stylize("" + e, "number") : y(e) ? t.stylize("" + e, "boolean") : g(e) ? t.stylize("null", "null") : void 0
- }(t, r);
- if (o) return o;
- var s = Object.keys(r),
- a = function(t) {
- var e = {};
- return t.forEach((function(t, r) {
- e[t] = !0
- })), e
- }(s);
- if (t.showHidden && (s = Object.getOwnPropertyNames(r)), E(r) && (s.indexOf("message") >= 0 || s.indexOf("description") >= 0)) return h(r);
- if (0 === s.length) {
- if (w(r)) {
- var f = r.name ? ": " + r.name : "";
- return t.stylize("[Function" + f + "]", "special")
- }
- if (S(r)) return t.stylize(RegExp.prototype.toString.call(r), "regexp");
- if (b(r)) return t.stylize(Date.prototype.toString.call(r), "date");
- if (E(r)) return h(r)
- }
- var u, _ = "",
- O = !1,
- B = ["{", "}"];
- return l(r) && (O = !0, B = ["[", "]"]), w(r) && (_ = " [Function" + (r.name ? ": " + r.name : "") + "]"), S(r) && (_ = " " + RegExp.prototype.toString.call(r)), b(r) && (_ = " " + Date.prototype.toUTCString.call(r)), E(r) && (_ = " " + h(r)), 0 !== s.length || O && 0 != r.length ? n < 0 ? S(r) ? t.stylize(RegExp.prototype.toString.call(r), "regexp") : t.stylize("[Object]", "special") : (t.seen.push(r), u = O ? function(t, e, r, n, i) {
- for (var o = [], s = 0, a = e.length; s < a; ++s) x(e, String(s)) ? o.push(p(t, e, r, n, String(s), !0)) : o.push("");
- return i.forEach((function(i) {
- i.match(/^\d+$/) || o.push(p(t, e, r, n, i, !0))
- })), o
- }(t, r, n, a, s) : s.map((function(e) {
- return p(t, r, n, a, e, O)
- })), t.seen.pop(), function(t, e, r) {
- return t.reduce((function(t, e) {
- return e.indexOf("\n"), t + e.replace(/\u001b\[\d\d?m/g, "").length + 1
- }), 0) > 60 ? r[0] + ("" === e ? "" : e + "\n ") + " " + t.join(",\n ") + " " + r[1] : r[0] + e + " " + t.join(", ") + " " + r[1]
- }(u, _, B)) : B[0] + _ + B[1]
- }
- function h(t) {
- return "[" + Error.prototype.toString.call(t) + "]"
- }
- function p(t, e, r, n, i, o) {
- var s, a, f;
- if ((f = Object.getOwnPropertyDescriptor(e, i) || {
- value: e[i]
- }).get ? a = f.set ? t.stylize("[Getter/Setter]", "special") : t.stylize("[Getter]", "special") : f.set && (a = t.stylize("[Setter]", "special")), x(n, i) || (s = "[" + i + "]"), a || (t.seen.indexOf(f.value) < 0 ? (a = g(r) ? c(t, f.value, null) : c(t, f.value, r - 1)).indexOf("\n") > -1 && (a = o ? a.split("\n").map((function(t) {
- return " " + t
- })).join("\n").substr(2) : "\n" + a.split("\n").map((function(t) {
- return " " + t
- })).join("\n")) : a = t.stylize("[Circular]", "special")), m(s)) {
- if (o && i.match(/^\d+$/)) return a;
- (s = JSON.stringify("" + i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (s = s.substr(1, s.length - 2), s = t.stylize(s, "name")) : (s = s.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), s = t.stylize(s, "string"))
- }
- return s + ": " + a
- }
- function l(t) {
- return Array.isArray(t)
- }
- function y(t) {
- return "boolean" == typeof t
- }
- function g(t) {
- return null === t
- }
- function d(t) {
- return "number" == typeof t
- }
- function v(t) {
- return "string" == typeof t
- }
- function m(t) {
- return void 0 === t
- }
- function S(t) {
- return _(t) && "[object RegExp]" === O(t)
- }
- function _(t) {
- return "object" == typeof t && null !== t
- }
- function b(t) {
- return _(t) && "[object Date]" === O(t)
- }
- function E(t) {
- return _(t) && ("[object Error]" === O(t) || t instanceof Error)
- }
- function w(t) {
- return "function" == typeof t
- }
- function O(t) {
- return Object.prototype.toString.call(t)
- }
- function B(t) {
- return t < 10 ? "0" + t.toString(10) : t.toString(10)
- }
- e.debuglog = function(t) {
- if (m(o) && (o = n.env.NODE_DEBUG || ""), t = t.toUpperCase(), !s[t])
- if (new RegExp("\\b" + t + "\\b", "i").test(o)) {
- var r = n.pid;
- s[t] = function() {
- var n = e.format.apply(e, arguments);
- console.error("%s %d: %s", t, r, n)
- }
- } else s[t] = function() {};
- return s[t]
- }, e.inspect = a, a.colors = {
- bold: [1, 22],
- italic: [3, 23],
- underline: [4, 24],
- inverse: [7, 27],
- white: [37, 39],
- grey: [90, 39],
- black: [30, 39],
- blue: [34, 39],
- cyan: [36, 39],
- green: [32, 39],
- magenta: [35, 39],
- red: [31, 39],
- yellow: [33, 39]
- }, a.styles = {
- special: "cyan",
- number: "yellow",
- boolean: "yellow",
- undefined: "grey",
- null: "bold",
- string: "green",
- date: "magenta",
- regexp: "red"
- }, e.isArray = l, e.isBoolean = y, e.isNull = g, e.isNullOrUndefined = function(t) {
- return null == t
- }, e.isNumber = d, e.isString = v, e.isSymbol = function(t) {
- return "symbol" == typeof t
- }, e.isUndefined = m, e.isRegExp = S, e.isObject = _, e.isDate = b, e.isError = E, e.isFunction = w, e.isPrimitive = function(t) {
- return null === t || "boolean" == typeof t || "number" == typeof t || "string" == typeof t || "symbol" == typeof t || void 0 === t
- }, e.isBuffer = r(3845);
- var A = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
- function x(t, e) {
- return Object.prototype.hasOwnProperty.call(t, e)
- }
- e.log = function() {
- var t, r;
- console.log("%s - %s", (r = [B((t = new Date).getHours()), B(t.getMinutes()), B(t.getSeconds())].join(":"), [t.getDate(), A[t.getMonth()], r].join(" ")), e.format.apply(e, arguments))
- }, e.inherits = r(6100), e._extend = function(t, e) {
- if (!e || !_(e)) return t;
- for (var r = Object.keys(e), n = r.length; n--;) t[r[n]] = e[r[n]];
- return t
- }
- },
- 7526: (t, e) => {
- "use strict";
- e.byteLength = function(t) {
- var e = a(t),
- r = e[0],
- n = e[1];
- return 3 * (r + n) / 4 - n
- }, e.toByteArray = function(t) {
- var e, r, o = a(t),
- s = o[0],
- f = o[1],
- u = new i(function(t, e, r) {
- return 3 * (e + r) / 4 - r
- }(0, s, f)),
- c = 0,
- h = f > 0 ? s - 4 : s;
- for (r = 0; r < h; r += 4) e = n[t.charCodeAt(r)] << 18 | n[t.charCodeAt(r + 1)] << 12 | n[t.charCodeAt(r + 2)] << 6 | n[t.charCodeAt(r + 3)], u[c++] = e >> 16 & 255, u[c++] = e >> 8 & 255, u[c++] = 255 & e;
- return 2 === f && (e = n[t.charCodeAt(r)] << 2 | n[t.charCodeAt(r + 1)] >> 4, u[c++] = 255 & e), 1 === f && (e = n[t.charCodeAt(r)] << 10 | n[t.charCodeAt(r + 1)] << 4 | n[t.charCodeAt(r + 2)] >> 2, u[c++] = e >> 8 & 255, u[c++] = 255 & e), u
- }, e.fromByteArray = function(t) {
- for (var e, n = t.length, i = n % 3, o = [], s = 16383, a = 0, u = n - i; a < u; a += s) o.push(f(t, a, a + s > u ? u : a + s));
- return 1 === i ? (e = t[n - 1], o.push(r[e >> 2] + r[e << 4 & 63] + "==")) : 2 === i && (e = (t[n - 2] << 8) + t[n - 1], o.push(r[e >> 10] + r[e >> 4 & 63] + r[e << 2 & 63] + "=")), o.join("")
- };
- for (var r = [], n = [], i = "undefined" != typeof Uint8Array ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0; s < 64; ++s) r[s] = o[s], n[o.charCodeAt(s)] = s;
- function a(t) {
- var e = t.length;
- if (e % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
- var r = t.indexOf("=");
- return -1 === r && (r = e), [r, r === e ? 0 : 4 - r % 4]
- }
- function f(t, e, n) {
- for (var i, o, s = [], a = e; a < n; a += 3) i = (t[a] << 16 & 16711680) + (t[a + 1] << 8 & 65280) + (255 & t[a + 2]), s.push(r[(o = i) >> 18 & 63] + r[o >> 12 & 63] + r[o >> 6 & 63] + r[63 & o]);
- return s.join("")
- }
- n["-".charCodeAt(0)] = 62, n["_".charCodeAt(0)] = 63
- },
- 8287: (t, e, r) => {
- "use strict";
- var n = r(7526),
- i = r(251);
- e.Buffer = a, e.SlowBuffer = function(t) {
- return +t != t && (t = 0), a.alloc(+t)
- }, e.INSPECT_MAX_BYTES = 50;
- var o = 2147483647;
- function s(t) {
- if (t > o) throw new RangeError('The value "' + t + '" is invalid for option "size"');
- var e = new Uint8Array(t);
- return e.__proto__ = a.prototype, e
- }
- function a(t, e, r) {
- if ("number" == typeof t) {
- if ("string" == typeof e) throw new TypeError('The "string" argument must be of type string. Received type number');
- return c(t)
- }
- return f(t, e, r)
- }
- function f(t, e, r) {
- if ("string" == typeof t) return function(t, e) {
- if ("string" == typeof e && "" !== e || (e = "utf8"), !a.isEncoding(e)) throw new TypeError("Unknown encoding: " + e);
- var r = 0 | l(t, e),
- n = s(r),
- i = n.write(t, e);
- return i !== r && (n = n.slice(0, i)), n
- }(t, e);
- if (ArrayBuffer.isView(t)) return h(t);
- if (null == t) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t);
- if (H(t, ArrayBuffer) || t && H(t.buffer, ArrayBuffer)) return function(t, e, r) {
- if (e < 0 || t.byteLength < e) throw new RangeError('"offset" is outside of buffer bounds');
- if (t.byteLength < e + (r || 0)) throw new RangeError('"length" is outside of buffer bounds');
- var n;
- return (n = void 0 === e && void 0 === r ? new Uint8Array(t) : void 0 === r ? new Uint8Array(t, e) : new Uint8Array(t, e, r)).__proto__ = a.prototype, n
- }(t, e, r);
- if ("number" == typeof t) throw new TypeError('The "value" argument must not be of type number. Received type number');
- var n = t.valueOf && t.valueOf();
- if (null != n && n !== t) return a.from(n, e, r);
- var i = function(t) {
- if (a.isBuffer(t)) {
- var e = 0 | p(t.length),
- r = s(e);
- return 0 === r.length || t.copy(r, 0, 0, e), r
- }
- return void 0 !== t.length ? "number" != typeof t.length || F(t.length) ? s(0) : h(t) : "Buffer" === t.type && Array.isArray(t.data) ? h(t.data) : void 0
- }(t);
- if (i) return i;
- if ("undefined" != typeof Symbol && null != Symbol.toPrimitive && "function" == typeof t[Symbol.toPrimitive]) return a.from(t[Symbol.toPrimitive]("string"), e, r);
- throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t)
- }
- function u(t) {
- if ("number" != typeof t) throw new TypeError('"size" argument must be of type number');
- if (t < 0) throw new RangeError('The value "' + t + '" is invalid for option "size"')
- }
- function c(t) {
- return u(t), s(t < 0 ? 0 : 0 | p(t))
- }
- function h(t) {
- for (var e = t.length < 0 ? 0 : 0 | p(t.length), r = s(e), n = 0; n < e; n += 1) r[n] = 255 & t[n];
- return r
- }
- function p(t) {
- if (t >= o) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes");
- return 0 | t
- }
- function l(t, e) {
- if (a.isBuffer(t)) return t.length;
- if (ArrayBuffer.isView(t) || H(t, ArrayBuffer)) return t.byteLength;
- if ("string" != typeof t) throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof t);
- var r = t.length,
- n = arguments.length > 2 && !0 === arguments[2];
- if (!n && 0 === r) return 0;
- for (var i = !1;;) switch (e) {
- case "ascii":
- case "latin1":
- case "binary":
- return r;
- case "utf8":
- case "utf-8":
- return U(t).length;
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return 2 * r;
- case "hex":
- return r >>> 1;
- case "base64":
- return M(t).length;
- default:
- if (i) return n ? -1 : U(t).length;
- e = ("" + e).toLowerCase(), i = !0
- }
- }
- function y(t, e, r) {
- var n = !1;
- if ((void 0 === e || e < 0) && (e = 0), e > this.length) return "";
- if ((void 0 === r || r > this.length) && (r = this.length), r <= 0) return "";
- if ((r >>>= 0) <= (e >>>= 0)) return "";
- for (t || (t = "utf8");;) switch (t) {
- case "hex":
- return T(this, e, r);
- case "utf8":
- case "utf-8":
- return B(this, e, r);
- case "ascii":
- return x(this, e, r);
- case "latin1":
- case "binary":
- return P(this, e, r);
- case "base64":
- return O(this, e, r);
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return I(this, e, r);
- default:
- if (n) throw new TypeError("Unknown encoding: " + t);
- t = (t + "").toLowerCase(), n = !0
- }
- }
- function g(t, e, r) {
- var n = t[e];
- t[e] = t[r], t[r] = n
- }
- function d(t, e, r, n, i) {
- if (0 === t.length) return -1;
- if ("string" == typeof r ? (n = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), F(r = +r) && (r = i ? 0 : t.length - 1), r < 0 && (r = t.length + r), r >= t.length) {
- if (i) return -1;
- r = t.length - 1
- } else if (r < 0) {
- if (!i) return -1;
- r = 0
- }
- if ("string" == typeof e && (e = a.from(e, n)), a.isBuffer(e)) return 0 === e.length ? -1 : v(t, e, r, n, i);
- if ("number" == typeof e) return e &= 255, "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : v(t, [e], r, n, i);
- throw new TypeError("val must be string, number or Buffer")
- }
- function v(t, e, r, n, i) {
- var o, s = 1,
- a = t.length,
- f = e.length;
- if (void 0 !== n && ("ucs2" === (n = String(n).toLowerCase()) || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
- if (t.length < 2 || e.length < 2) return -1;
- s = 2, a /= 2, f /= 2, r /= 2
- }
- function u(t, e) {
- return 1 === s ? t[e] : t.readUInt16BE(e * s)
- }
- if (i) {
- var c = -1;
- for (o = r; o < a; o++)
- if (u(t, o) === u(e, -1 === c ? 0 : o - c)) {
- if (-1 === c && (c = o), o - c + 1 === f) return c * s
- } else - 1 !== c && (o -= o - c), c = -1
- } else
- for (r + f > a && (r = a - f), o = r; o >= 0; o--) {
- for (var h = !0, p = 0; p < f; p++)
- if (u(t, o + p) !== u(e, p)) {
- h = !1;
- break
- } if (h) return o
- }
- return -1
- }
- function m(t, e, r, n) {
- r = Number(r) || 0;
- var i = t.length - r;
- n ? (n = Number(n)) > i && (n = i) : n = i;
- var o = e.length;
- n > o / 2 && (n = o / 2);
- for (var s = 0; s < n; ++s) {
- var a = parseInt(e.substr(2 * s, 2), 16);
- if (F(a)) return s;
- t[r + s] = a
- }
- return s
- }
- function S(t, e, r, n) {
- return j(U(e, t.length - r), t, r, n)
- }
- function _(t, e, r, n) {
- return j(function(t) {
- for (var e = [], r = 0; r < t.length; ++r) e.push(255 & t.charCodeAt(r));
- return e
- }(e), t, r, n)
- }
- function b(t, e, r, n) {
- return _(t, e, r, n)
- }
- function E(t, e, r, n) {
- return j(M(e), t, r, n)
- }
- function w(t, e, r, n) {
- return j(function(t, e) {
- for (var r, n, i, o = [], s = 0; s < t.length && !((e -= 2) < 0); ++s) n = (r = t.charCodeAt(s)) >> 8, i = r % 256, o.push(i), o.push(n);
- return o
- }(e, t.length - r), t, r, n)
- }
- function O(t, e, r) {
- return 0 === e && r === t.length ? n.fromByteArray(t) : n.fromByteArray(t.slice(e, r))
- }
- function B(t, e, r) {
- r = Math.min(t.length, r);
- for (var n = [], i = e; i < r;) {
- var o, s, a, f, u = t[i],
- c = null,
- h = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;
- if (i + h <= r) switch (h) {
- case 1:
- u < 128 && (c = u);
- break;
- case 2:
- 128 == (192 & (o = t[i + 1])) && (f = (31 & u) << 6 | 63 & o) > 127 && (c = f);
- break;
- case 3:
- o = t[i + 1], s = t[i + 2], 128 == (192 & o) && 128 == (192 & s) && (f = (15 & u) << 12 | (63 & o) << 6 | 63 & s) > 2047 && (f < 55296 || f > 57343) && (c = f);
- break;
- case 4:
- o = t[i + 1], s = t[i + 2], a = t[i + 3], 128 == (192 & o) && 128 == (192 & s) && 128 == (192 & a) && (f = (15 & u) << 18 | (63 & o) << 12 | (63 & s) << 6 | 63 & a) > 65535 && f < 1114112 && (c = f)
- }
- null === c ? (c = 65533, h = 1) : c > 65535 && (c -= 65536, n.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c), n.push(c), i += h
- }
- return function(t) {
- var e = t.length;
- if (e <= A) return String.fromCharCode.apply(String, t);
- for (var r = "", n = 0; n < e;) r += String.fromCharCode.apply(String, t.slice(n, n += A));
- return r
- }(n)
- }
- e.kMaxLength = o, a.TYPED_ARRAY_SUPPORT = function() {
- try {
- var t = new Uint8Array(1);
- return t.__proto__ = {
- __proto__: Uint8Array.prototype,
- foo: function() {
- return 42
- }
- }, 42 === t.foo()
- } catch (t) {
- return !1
- }
- }(), a.TYPED_ARRAY_SUPPORT || "undefined" == typeof console || "function" != typeof console.error || console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."), Object.defineProperty(a.prototype, "parent", {
- enumerable: !0,
- get: function() {
- if (a.isBuffer(this)) return this.buffer
- }
- }), Object.defineProperty(a.prototype, "offset", {
- enumerable: !0,
- get: function() {
- if (a.isBuffer(this)) return this.byteOffset
- }
- }), "undefined" != typeof Symbol && null != Symbol.species && a[Symbol.species] === a && Object.defineProperty(a, Symbol.species, {
- value: null,
- configurable: !0,
- enumerable: !1,
- writable: !1
- }), a.poolSize = 8192, a.from = function(t, e, r) {
- return f(t, e, r)
- }, a.prototype.__proto__ = Uint8Array.prototype, a.__proto__ = Uint8Array, a.alloc = function(t, e, r) {
- return function(t, e, r) {
- return u(t), t <= 0 ? s(t) : void 0 !== e ? "string" == typeof r ? s(t).fill(e, r) : s(t).fill(e) : s(t)
- }(t, e, r)
- }, a.allocUnsafe = function(t) {
- return c(t)
- }, a.allocUnsafeSlow = function(t) {
- return c(t)
- }, a.isBuffer = function(t) {
- return null != t && !0 === t._isBuffer && t !== a.prototype
- }, a.compare = function(t, e) {
- if (H(t, Uint8Array) && (t = a.from(t, t.offset, t.byteLength)), H(e, Uint8Array) && (e = a.from(e, e.offset, e.byteLength)), !a.isBuffer(t) || !a.isBuffer(e)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');
- if (t === e) return 0;
- for (var r = t.length, n = e.length, i = 0, o = Math.min(r, n); i < o; ++i)
- if (t[i] !== e[i]) {
- r = t[i], n = e[i];
- break
- } return r < n ? -1 : n < r ? 1 : 0
- }, a.isEncoding = function(t) {
- switch (String(t).toLowerCase()) {
- case "hex":
- case "utf8":
- case "utf-8":
- case "ascii":
- case "latin1":
- case "binary":
- case "base64":
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return !0;
- default:
- return !1
- }
- }, a.concat = function(t, e) {
- if (!Array.isArray(t)) throw new TypeError('"list" argument must be an Array of Buffers');
- if (0 === t.length) return a.alloc(0);
- var r;
- if (void 0 === e)
- for (e = 0, r = 0; r < t.length; ++r) e += t[r].length;
- var n = a.allocUnsafe(e),
- i = 0;
- for (r = 0; r < t.length; ++r) {
- var o = t[r];
- if (H(o, Uint8Array) && (o = a.from(o)), !a.isBuffer(o)) throw new TypeError('"list" argument must be an Array of Buffers');
- o.copy(n, i), i += o.length
- }
- return n
- }, a.byteLength = l, a.prototype._isBuffer = !0, a.prototype.swap16 = function() {
- var t = this.length;
- if (t % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
- for (var e = 0; e < t; e += 2) g(this, e, e + 1);
- return this
- }, a.prototype.swap32 = function() {
- var t = this.length;
- if (t % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits");
- for (var e = 0; e < t; e += 4) g(this, e, e + 3), g(this, e + 1, e + 2);
- return this
- }, a.prototype.swap64 = function() {
- var t = this.length;
- if (t % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits");
- for (var e = 0; e < t; e += 8) g(this, e, e + 7), g(this, e + 1, e + 6), g(this, e + 2, e + 5), g(this, e + 3, e + 4);
- return this
- }, a.prototype.toString = function() {
- var t = this.length;
- return 0 === t ? "" : 0 === arguments.length ? B(this, 0, t) : y.apply(this, arguments)
- }, a.prototype.toLocaleString = a.prototype.toString, a.prototype.equals = function(t) {
- if (!a.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
- return this === t || 0 === a.compare(this, t)
- }, a.prototype.inspect = function() {
- var t = "",
- r = e.INSPECT_MAX_BYTES;
- return t = this.toString("hex", 0, r).replace(/(.{2})/g, "$1 ").trim(), this.length > r && (t += " ... "), "<Buffer " + t + ">"
- }, a.prototype.compare = function(t, e, r, n, i) {
- if (H(t, Uint8Array) && (t = a.from(t, t.offset, t.byteLength)), !a.isBuffer(t)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof t);
- if (void 0 === e && (e = 0), void 0 === r && (r = t ? t.length : 0), void 0 === n && (n = 0), void 0 === i && (i = this.length), e < 0 || r > t.length || n < 0 || i > this.length) throw new RangeError("out of range index");
- if (n >= i && e >= r) return 0;
- if (n >= i) return -1;
- if (e >= r) return 1;
- if (this === t) return 0;
- for (var o = (i >>>= 0) - (n >>>= 0), s = (r >>>= 0) - (e >>>= 0), f = Math.min(o, s), u = this.slice(n, i), c = t.slice(e, r), h = 0; h < f; ++h)
- if (u[h] !== c[h]) {
- o = u[h], s = c[h];
- break
- } return o < s ? -1 : s < o ? 1 : 0
- }, a.prototype.includes = function(t, e, r) {
- return -1 !== this.indexOf(t, e, r)
- }, a.prototype.indexOf = function(t, e, r) {
- return d(this, t, e, r, !0)
- }, a.prototype.lastIndexOf = function(t, e, r) {
- return d(this, t, e, r, !1)
- }, a.prototype.write = function(t, e, r, n) {
- if (void 0 === e) n = "utf8", r = this.length, e = 0;
- else if (void 0 === r && "string" == typeof e) n = e, r = this.length, e = 0;
- else {
- if (!isFinite(e)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
- e >>>= 0, isFinite(r) ? (r >>>= 0, void 0 === n && (n = "utf8")) : (n = r, r = void 0)
- }
- var i = this.length - e;
- if ((void 0 === r || r > i) && (r = i), t.length > 0 && (r < 0 || e < 0) || e > this.length) throw new RangeError("Attempt to write outside buffer bounds");
- n || (n = "utf8");
- for (var o = !1;;) switch (n) {
- case "hex":
- return m(this, t, e, r);
- case "utf8":
- case "utf-8":
- return S(this, t, e, r);
- case "ascii":
- return _(this, t, e, r);
- case "latin1":
- case "binary":
- return b(this, t, e, r);
- case "base64":
- return E(this, t, e, r);
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return w(this, t, e, r);
- default:
- if (o) throw new TypeError("Unknown encoding: " + n);
- n = ("" + n).toLowerCase(), o = !0
- }
- }, a.prototype.toJSON = function() {
- return {
- type: "Buffer",
- data: Array.prototype.slice.call(this._arr || this, 0)
- }
- };
- var A = 4096;
- function x(t, e, r) {
- var n = "";
- r = Math.min(t.length, r);
- for (var i = e; i < r; ++i) n += String.fromCharCode(127 & t[i]);
- return n
- }
- function P(t, e, r) {
- var n = "";
- r = Math.min(t.length, r);
- for (var i = e; i < r; ++i) n += String.fromCharCode(t[i]);
- return n
- }
- function T(t, e, r) {
- var n, i = t.length;
- (!e || e < 0) && (e = 0), (!r || r < 0 || r > i) && (r = i);
- for (var o = "", s = e; s < r; ++s) o += (n = t[s]) < 16 ? "0" + n.toString(16) : n.toString(16);
- return o
- }
- function I(t, e, r) {
- for (var n = t.slice(e, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]);
- return i
- }
- function k(t, e, r) {
- if (t % 1 != 0 || t < 0) throw new RangeError("offset is not uint");
- if (t + e > r) throw new RangeError("Trying to access beyond buffer length")
- }
- function D(t, e, r, n, i, o) {
- if (!a.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance');
- if (e > i || e < o) throw new RangeError('"value" argument is out of bounds');
- if (r + n > t.length) throw new RangeError("Index out of range")
- }
- function R(t, e, r, n, i, o) {
- if (r + n > t.length) throw new RangeError("Index out of range");
- if (r < 0) throw new RangeError("Index out of range")
- }
- function N(t, e, r, n, o) {
- return e = +e, r >>>= 0, o || R(t, 0, r, 4), i.write(t, e, r, n, 23, 4), r + 4
- }
- function L(t, e, r, n, o) {
- return e = +e, r >>>= 0, o || R(t, 0, r, 8), i.write(t, e, r, n, 52, 8), r + 8
- }
- a.prototype.slice = function(t, e) {
- var r = this.length;
- (t = ~~t) < 0 ? (t += r) < 0 && (t = 0) : t > r && (t = r), (e = void 0 === e ? r : ~~e) < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), e < t && (e = t);
- var n = this.subarray(t, e);
- return n.__proto__ = a.prototype, n
- }, a.prototype.readUIntLE = function(t, e, r) {
- t >>>= 0, e >>>= 0, r || k(t, e, this.length);
- for (var n = this[t], i = 1, o = 0; ++o < e && (i *= 256);) n += this[t + o] * i;
- return n
- }, a.prototype.readUIntBE = function(t, e, r) {
- t >>>= 0, e >>>= 0, r || k(t, e, this.length);
- for (var n = this[t + --e], i = 1; e > 0 && (i *= 256);) n += this[t + --e] * i;
- return n
- }, a.prototype.readUInt8 = function(t, e) {
- return t >>>= 0, e || k(t, 1, this.length), this[t]
- }, a.prototype.readUInt16LE = function(t, e) {
- return t >>>= 0, e || k(t, 2, this.length), this[t] | this[t + 1] << 8
- }, a.prototype.readUInt16BE = function(t, e) {
- return t >>>= 0, e || k(t, 2, this.length), this[t] << 8 | this[t + 1]
- }, a.prototype.readUInt32LE = function(t, e) {
- return t >>>= 0, e || k(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3]
- }, a.prototype.readUInt32BE = function(t, e) {
- return t >>>= 0, e || k(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3])
- }, a.prototype.readIntLE = function(t, e, r) {
- t >>>= 0, e >>>= 0, r || k(t, e, this.length);
- for (var n = this[t], i = 1, o = 0; ++o < e && (i *= 256);) n += this[t + o] * i;
- return n >= (i *= 128) && (n -= Math.pow(2, 8 * e)), n
- }, a.prototype.readIntBE = function(t, e, r) {
- t >>>= 0, e >>>= 0, r || k(t, e, this.length);
- for (var n = e, i = 1, o = this[t + --n]; n > 0 && (i *= 256);) o += this[t + --n] * i;
- return o >= (i *= 128) && (o -= Math.pow(2, 8 * e)), o
- }, a.prototype.readInt8 = function(t, e) {
- return t >>>= 0, e || k(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t]
- }, a.prototype.readInt16LE = function(t, e) {
- t >>>= 0, e || k(t, 2, this.length);
- var r = this[t] | this[t + 1] << 8;
- return 32768 & r ? 4294901760 | r : r
- }, a.prototype.readInt16BE = function(t, e) {
- t >>>= 0, e || k(t, 2, this.length);
- var r = this[t + 1] | this[t] << 8;
- return 32768 & r ? 4294901760 | r : r
- }, a.prototype.readInt32LE = function(t, e) {
- return t >>>= 0, e || k(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24
- }, a.prototype.readInt32BE = function(t, e) {
- return t >>>= 0, e || k(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]
- }, a.prototype.readFloatLE = function(t, e) {
- return t >>>= 0, e || k(t, 4, this.length), i.read(this, t, !0, 23, 4)
- }, a.prototype.readFloatBE = function(t, e) {
- return t >>>= 0, e || k(t, 4, this.length), i.read(this, t, !1, 23, 4)
- }, a.prototype.readDoubleLE = function(t, e) {
- return t >>>= 0, e || k(t, 8, this.length), i.read(this, t, !0, 52, 8)
- }, a.prototype.readDoubleBE = function(t, e) {
- return t >>>= 0, e || k(t, 8, this.length), i.read(this, t, !1, 52, 8)
- }, a.prototype.writeUIntLE = function(t, e, r, n) {
- t = +t, e >>>= 0, r >>>= 0, n || D(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
- var i = 1,
- o = 0;
- for (this[e] = 255 & t; ++o < r && (i *= 256);) this[e + o] = t / i & 255;
- return e + r
- }, a.prototype.writeUIntBE = function(t, e, r, n) {
- t = +t, e >>>= 0, r >>>= 0, n || D(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
- var i = r - 1,
- o = 1;
- for (this[e + i] = 255 & t; --i >= 0 && (o *= 256);) this[e + i] = t / o & 255;
- return e + r
- }, a.prototype.writeUInt8 = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 1, 255, 0), this[e] = 255 & t, e + 1
- }, a.prototype.writeUInt16LE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 2, 65535, 0), this[e] = 255 & t, this[e + 1] = t >>> 8, e + 2
- }, a.prototype.writeUInt16BE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 2, 65535, 0), this[e] = t >>> 8, this[e + 1] = 255 & t, e + 2
- }, a.prototype.writeUInt32LE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 4, 4294967295, 0), this[e + 3] = t >>> 24, this[e + 2] = t >>> 16, this[e + 1] = t >>> 8, this[e] = 255 & t, e + 4
- }, a.prototype.writeUInt32BE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 4, 4294967295, 0), this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t, e + 4
- }, a.prototype.writeIntLE = function(t, e, r, n) {
- if (t = +t, e >>>= 0, !n) {
- var i = Math.pow(2, 8 * r - 1);
- D(this, t, e, r, i - 1, -i)
- }
- var o = 0,
- s = 1,
- a = 0;
- for (this[e] = 255 & t; ++o < r && (s *= 256);) t < 0 && 0 === a && 0 !== this[e + o - 1] && (a = 1), this[e + o] = (t / s | 0) - a & 255;
- return e + r
- }, a.prototype.writeIntBE = function(t, e, r, n) {
- if (t = +t, e >>>= 0, !n) {
- var i = Math.pow(2, 8 * r - 1);
- D(this, t, e, r, i - 1, -i)
- }
- var o = r - 1,
- s = 1,
- a = 0;
- for (this[e + o] = 255 & t; --o >= 0 && (s *= 256);) t < 0 && 0 === a && 0 !== this[e + o + 1] && (a = 1), this[e + o] = (t / s | 0) - a & 255;
- return e + r
- }, a.prototype.writeInt8 = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 1, 127, -128), t < 0 && (t = 255 + t + 1), this[e] = 255 & t, e + 1
- }, a.prototype.writeInt16LE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 2, 32767, -32768), this[e] = 255 & t, this[e + 1] = t >>> 8, e + 2
- }, a.prototype.writeInt16BE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 2, 32767, -32768), this[e] = t >>> 8, this[e + 1] = 255 & t, e + 2
- }, a.prototype.writeInt32LE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 4, 2147483647, -2147483648), this[e] = 255 & t, this[e + 1] = t >>> 8, this[e + 2] = t >>> 16, this[e + 3] = t >>> 24, e + 4
- }, a.prototype.writeInt32BE = function(t, e, r) {
- return t = +t, e >>>= 0, r || D(this, t, e, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t, e + 4
- }, a.prototype.writeFloatLE = function(t, e, r) {
- return N(this, t, e, !0, r)
- }, a.prototype.writeFloatBE = function(t, e, r) {
- return N(this, t, e, !1, r)
- }, a.prototype.writeDoubleLE = function(t, e, r) {
- return L(this, t, e, !0, r)
- }, a.prototype.writeDoubleBE = function(t, e, r) {
- return L(this, t, e, !1, r)
- }, a.prototype.copy = function(t, e, r, n) {
- if (!a.isBuffer(t)) throw new TypeError("argument should be a Buffer");
- if (r || (r = 0), n || 0 === n || (n = this.length), e >= t.length && (e = t.length), e || (e = 0), n > 0 && n < r && (n = r), n === r) return 0;
- if (0 === t.length || 0 === this.length) return 0;
- if (e < 0) throw new RangeError("targetStart out of bounds");
- if (r < 0 || r >= this.length) throw new RangeError("Index out of range");
- if (n < 0) throw new RangeError("sourceEnd out of bounds");
- n > this.length && (n = this.length), t.length - e < n - r && (n = t.length - e + r);
- var i = n - r;
- if (this === t && "function" == typeof Uint8Array.prototype.copyWithin) this.copyWithin(e, r, n);
- else if (this === t && r < e && e < n)
- for (var o = i - 1; o >= 0; --o) t[o + e] = this[o + r];
- else Uint8Array.prototype.set.call(t, this.subarray(r, n), e);
- return i
- }, a.prototype.fill = function(t, e, r, n) {
- if ("string" == typeof t) {
- if ("string" == typeof e ? (n = e, e = 0, r = this.length) : "string" == typeof r && (n = r, r = this.length), void 0 !== n && "string" != typeof n) throw new TypeError("encoding must be a string");
- if ("string" == typeof n && !a.isEncoding(n)) throw new TypeError("Unknown encoding: " + n);
- if (1 === t.length) {
- var i = t.charCodeAt(0);
- ("utf8" === n && i < 128 || "latin1" === n) && (t = i)
- }
- } else "number" == typeof t && (t &= 255);
- if (e < 0 || this.length < e || this.length < r) throw new RangeError("Out of range index");
- if (r <= e) return this;
- var o;
- if (e >>>= 0, r = void 0 === r ? this.length : r >>> 0, t || (t = 0), "number" == typeof t)
- for (o = e; o < r; ++o) this[o] = t;
- else {
- var s = a.isBuffer(t) ? t : a.from(t, n),
- f = s.length;
- if (0 === f) throw new TypeError('The value "' + t + '" is invalid for argument "value"');
- for (o = 0; o < r - e; ++o) this[o + e] = s[o % f]
- }
- return this
- };
- var C = /[^+/0-9A-Za-z-_]/g;
- function U(t, e) {
- var r;
- e = e || 1 / 0;
- for (var n = t.length, i = null, o = [], s = 0; s < n; ++s) {
- if ((r = t.charCodeAt(s)) > 55295 && r < 57344) {
- if (!i) {
- if (r > 56319) {
- (e -= 3) > -1 && o.push(239, 191, 189);
- continue
- }
- if (s + 1 === n) {
- (e -= 3) > -1 && o.push(239, 191, 189);
- continue
- }
- i = r;
- continue
- }
- if (r < 56320) {
- (e -= 3) > -1 && o.push(239, 191, 189), i = r;
- continue
- }
- r = 65536 + (i - 55296 << 10 | r - 56320)
- } else i && (e -= 3) > -1 && o.push(239, 191, 189);
- if (i = null, r < 128) {
- if ((e -= 1) < 0) break;
- o.push(r)
- } else if (r < 2048) {
- if ((e -= 2) < 0) break;
- o.push(r >> 6 | 192, 63 & r | 128)
- } else if (r < 65536) {
- if ((e -= 3) < 0) break;
- o.push(r >> 12 | 224, r >> 6 & 63 | 128, 63 & r | 128)
- } else {
- if (!(r < 1114112)) throw new Error("Invalid code point");
- if ((e -= 4) < 0) break;
- o.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128)
- }
- }
- return o
- }
- function M(t) {
- return n.toByteArray(function(t) {
- if ((t = (t = t.split("=")[0]).trim().replace(C, "")).length < 2) return "";
- for (; t.length % 4 != 0;) t += "=";
- return t
- }(t))
- }
- function j(t, e, r, n) {
- for (var i = 0; i < n && !(i + r >= e.length || i >= t.length); ++i) e[i + r] = t[i];
- return i
- }
- function H(t, e) {
- return t instanceof e || null != t && null != t.constructor && null != t.constructor.name && t.constructor.name === e.name
- }
- function F(t) {
- return t != t
- }
- },
- 8075: (t, e, r) => {
- "use strict";
- var n = r(453),
- i = r(487),
- o = i(n("String.prototype.indexOf"));
- t.exports = function(t, e) {
- var r = n(t, !!e);
- return "function" == typeof r && o(t, ".prototype.") > -1 ? i(r) : r
- }
- },
- 487: (t, e, r) => {
- "use strict";
- var n = r(6743),
- i = r(453),
- o = r(6897),
- s = r(9675),
- a = i("%Function.prototype.apply%"),
- f = i("%Function.prototype.call%"),
- u = i("%Reflect.apply%", !0) || n.call(f, a),
- c = r(655),
- h = i("%Math.max%");
- t.exports = function(t) {
- if ("function" != typeof t) throw new s("a function is required");
- var e = u(n, f, arguments);
- return o(e, 1 + h(0, t.length - (arguments.length - 1)), !0)
- };
- var p = function() {
- return u(n, a, arguments)
- };
- c ? c(t.exports, "apply", {
- value: p
- }) : t.exports.apply = p
- },
- 955: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
- var t = n,
- e = t.lib.BlockCipher,
- r = t.algo,
- i = [],
- o = [],
- s = [],
- a = [],
- f = [],
- u = [],
- c = [],
- h = [],
- p = [],
- l = [];
- ! function() {
- for (var t = [], e = 0; e < 256; e++) t[e] = e < 128 ? e << 1 : e << 1 ^ 283;
- var r = 0,
- n = 0;
- for (e = 0; e < 256; e++) {
- var y = n ^ n << 1 ^ n << 2 ^ n << 3 ^ n << 4;
- y = y >>> 8 ^ 255 & y ^ 99, i[r] = y, o[y] = r;
- var g = t[r],
- d = t[g],
- v = t[d],
- m = 257 * t[y] ^ 16843008 * y;
- s[r] = m << 24 | m >>> 8, a[r] = m << 16 | m >>> 16, f[r] = m << 8 | m >>> 24, u[r] = m, m = 16843009 * v ^ 65537 * d ^ 257 * g ^ 16843008 * r, c[y] = m << 24 | m >>> 8, h[y] = m << 16 | m >>> 16, p[y] = m << 8 | m >>> 24, l[y] = m, r ? (r = g ^ t[t[t[v ^ g]]], n ^= t[t[n]]) : r = n = 1
- }
- }();
- var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
- g = r.AES = e.extend({
- _doReset: function() {
- if (!this._nRounds || this._keyPriorReset !== this._key) {
- for (var t = this._keyPriorReset = this._key, e = t.words, r = t.sigBytes / 4, n = 4 * ((this._nRounds = r + 6) + 1), o = this._keySchedule = [], s = 0; s < n; s++)
- if (s < r) o[s] = e[s];
- else {
- var a = o[s - 1];
- s % r ? r > 6 && s % r == 4 && (a = i[a >>> 24] << 24 | i[a >>> 16 & 255] << 16 | i[a >>> 8 & 255] << 8 | i[255 & a]) : (a = i[(a = a << 8 | a >>> 24) >>> 24] << 24 | i[a >>> 16 & 255] << 16 | i[a >>> 8 & 255] << 8 | i[255 & a], a ^= y[s / r | 0] << 24), o[s] = o[s - r] ^ a
- } for (var f = this._invKeySchedule = [], u = 0; u < n; u++) s = n - u, a = u % 4 ? o[s] : o[s - 4], f[u] = u < 4 || s <= 4 ? a : c[i[a >>> 24]] ^ h[i[a >>> 16 & 255]] ^ p[i[a >>> 8 & 255]] ^ l[i[255 & a]]
- }
- },
- encryptBlock: function(t, e) {
- this._doCryptBlock(t, e, this._keySchedule, s, a, f, u, i)
- },
- decryptBlock: function(t, e) {
- var r = t[e + 1];
- t[e + 1] = t[e + 3], t[e + 3] = r, this._doCryptBlock(t, e, this._invKeySchedule, c, h, p, l, o), r = t[e + 1], t[e + 1] = t[e + 3], t[e + 3] = r
- },
- _doCryptBlock: function(t, e, r, n, i, o, s, a) {
- for (var f = this._nRounds, u = t[e] ^ r[0], c = t[e + 1] ^ r[1], h = t[e + 2] ^ r[2], p = t[e + 3] ^ r[3], l = 4, y = 1; y < f; y++) {
- var g = n[u >>> 24] ^ i[c >>> 16 & 255] ^ o[h >>> 8 & 255] ^ s[255 & p] ^ r[l++],
- d = n[c >>> 24] ^ i[h >>> 16 & 255] ^ o[p >>> 8 & 255] ^ s[255 & u] ^ r[l++],
- v = n[h >>> 24] ^ i[p >>> 16 & 255] ^ o[u >>> 8 & 255] ^ s[255 & c] ^ r[l++],
- m = n[p >>> 24] ^ i[u >>> 16 & 255] ^ o[c >>> 8 & 255] ^ s[255 & h] ^ r[l++];
- u = g, c = d, h = v, p = m
- }
- g = (a[u >>> 24] << 24 | a[c >>> 16 & 255] << 16 | a[h >>> 8 & 255] << 8 | a[255 & p]) ^ r[l++], d = (a[c >>> 24] << 24 | a[h >>> 16 & 255] << 16 | a[p >>> 8 & 255] << 8 | a[255 & u]) ^ r[l++], v = (a[h >>> 24] << 24 | a[p >>> 16 & 255] << 16 | a[u >>> 8 & 255] << 8 | a[255 & c]) ^ r[l++], m = (a[p >>> 24] << 24 | a[u >>> 16 & 255] << 16 | a[c >>> 8 & 255] << 8 | a[255 & h]) ^ r[l++], t[e] = g, t[e + 1] = d, t[e + 2] = v, t[e + 3] = m
- },
- keySize: 8
- });
- t.AES = e._createHelper(g)
- }(), n.AES)
- },
- 7165: function(t, e, r) {
- var n, i, o, s, a, f, u, c, h, p, l, y, g, d, v, m, S, _, b;
- t.exports = (n = r(9021), r(9506), void(n.lib.Cipher || (i = n, o = i.lib, s = o.Base, a = o.WordArray, f = o.BufferedBlockAlgorithm, u = i.enc, u.Utf8, c = u.Base64, h = i.algo.EvpKDF, p = o.Cipher = f.extend({
- cfg: s.extend(),
- createEncryptor: function(t, e) {
- return this.create(this._ENC_XFORM_MODE, t, e)
- },
- createDecryptor: function(t, e) {
- return this.create(this._DEC_XFORM_MODE, t, e)
- },
- init: function(t, e, r) {
- this.cfg = this.cfg.extend(r), this._xformMode = t, this._key = e, this.reset()
- },
- reset: function() {
- f.reset.call(this), this._doReset()
- },
- process: function(t) {
- return this._append(t), this._process()
- },
- finalize: function(t) {
- return t && this._append(t), this._doFinalize()
- },
- keySize: 4,
- ivSize: 4,
- _ENC_XFORM_MODE: 1,
- _DEC_XFORM_MODE: 2,
- _createHelper: function() {
- function t(t) {
- return "string" == typeof t ? b : S
- }
- return function(e) {
- return {
- encrypt: function(r, n, i) {
- return t(n).encrypt(e, r, n, i)
- },
- decrypt: function(r, n, i) {
- return t(n).decrypt(e, r, n, i)
- }
- }
- }
- }()
- }), o.StreamCipher = p.extend({
- _doFinalize: function() {
- return this._process(!0)
- },
- blockSize: 1
- }), l = i.mode = {}, y = o.BlockCipherMode = s.extend({
- createEncryptor: function(t, e) {
- return this.Encryptor.create(t, e)
- },
- createDecryptor: function(t, e) {
- return this.Decryptor.create(t, e)
- },
- init: function(t, e) {
- this._cipher = t, this._iv = e
- }
- }), g = l.CBC = function() {
- var t = y.extend();
- function e(t, e, r) {
- var n = this._iv;
- if (n) {
- var i = n;
- this._iv = void 0
- } else i = this._prevBlock;
- for (var o = 0; o < r; o++) t[e + o] ^= i[o]
- }
- return t.Encryptor = t.extend({
- processBlock: function(t, r) {
- var n = this._cipher,
- i = n.blockSize;
- e.call(this, t, r, i), n.encryptBlock(t, r), this._prevBlock = t.slice(r, r + i)
- }
- }), t.Decryptor = t.extend({
- processBlock: function(t, r) {
- var n = this._cipher,
- i = n.blockSize,
- o = t.slice(r, r + i);
- n.decryptBlock(t, r), e.call(this, t, r, i), this._prevBlock = o
- }
- }), t
- }(), d = (i.pad = {}).Pkcs7 = {
- pad: function(t, e) {
- for (var r = 4 * e, n = r - t.sigBytes % r, i = n << 24 | n << 16 | n << 8 | n, o = [], s = 0; s < n; s += 4) o.push(i);
- var f = a.create(o, n);
- t.concat(f)
- },
- unpad: function(t) {
- var e = 255 & t.words[t.sigBytes - 1 >>> 2];
- t.sigBytes -= e
- }
- }, o.BlockCipher = p.extend({
- cfg: p.cfg.extend({
- mode: g,
- padding: d
- }),
- reset: function() {
- p.reset.call(this);
- var t = this.cfg,
- e = t.iv,
- r = t.mode;
- if (this._xformMode == this._ENC_XFORM_MODE) var n = r.createEncryptor;
- else n = r.createDecryptor, this._minBufferSize = 1;
- this._mode && this._mode.__creator == n ? this._mode.init(this, e && e.words) : (this._mode = n.call(r, this, e && e.words), this._mode.__creator = n)
- },
- _doProcessBlock: function(t, e) {
- this._mode.processBlock(t, e)
- },
- _doFinalize: function() {
- var t = this.cfg.padding;
- if (this._xformMode == this._ENC_XFORM_MODE) {
- t.pad(this._data, this.blockSize);
- var e = this._process(!0)
- } else e = this._process(!0), t.unpad(e);
- return e
- },
- blockSize: 4
- }), v = o.CipherParams = s.extend({
- init: function(t) {
- this.mixIn(t)
- },
- toString: function(t) {
- return (t || this.formatter).stringify(this)
- }
- }), m = (i.format = {}).OpenSSL = {
- stringify: function(t) {
- var e = t.ciphertext,
- r = t.salt;
- if (r) var n = a.create([1398893684, 1701076831]).concat(r).concat(e);
- else n = e;
- return n.toString(c)
- },
- parse: function(t) {
- var e = c.parse(t),
- r = e.words;
- if (1398893684 == r[0] && 1701076831 == r[1]) {
- var n = a.create(r.slice(2, 4));
- r.splice(0, 4), e.sigBytes -= 16
- }
- return v.create({
- ciphertext: e,
- salt: n
- })
- }
- }, S = o.SerializableCipher = s.extend({
- cfg: s.extend({
- format: m
- }),
- encrypt: function(t, e, r, n) {
- n = this.cfg.extend(n);
- var i = t.createEncryptor(r, n),
- o = i.finalize(e),
- s = i.cfg;
- return v.create({
- ciphertext: o,
- key: r,
- iv: s.iv,
- algorithm: t,
- mode: s.mode,
- padding: s.padding,
- blockSize: t.blockSize,
- formatter: n.format
- })
- },
- decrypt: function(t, e, r, n) {
- return n = this.cfg.extend(n), e = this._parse(e, n.format), t.createDecryptor(r, n).finalize(e.ciphertext)
- },
- _parse: function(t, e) {
- return "string" == typeof t ? e.parse(t, this) : t
- }
- }), _ = (i.kdf = {}).OpenSSL = {
- execute: function(t, e, r, n) {
- n || (n = a.random(8));
- var i = h.create({
- keySize: e + r
- }).compute(t, n),
- o = a.create(i.words.slice(e), 4 * r);
- return i.sigBytes = 4 * e, v.create({
- key: i,
- iv: o,
- salt: n
- })
- }
- }, b = o.PasswordBasedCipher = S.extend({
- cfg: S.cfg.extend({
- kdf: _
- }),
- encrypt: function(t, e, r, n) {
- var i = (n = this.cfg.extend(n)).kdf.execute(r, t.keySize, t.ivSize);
- n.iv = i.iv;
- var o = S.encrypt.call(this, t, e, i.key, n);
- return o.mixIn(i), o
- },
- decrypt: function(t, e, r, n) {
- n = this.cfg.extend(n), e = this._parse(e, n.format);
- var i = n.kdf.execute(r, t.keySize, t.ivSize, e.salt);
- return n.iv = i.iv, S.decrypt.call(this, t, e, i.key, n)
- }
- }))))
- },
- 9021: function(t, e) {
- var r;
- t.exports = (r = r || function(t, e) {
- var r = Object.create || function() {
- function t() {}
- return function(e) {
- var r;
- return t.prototype = e, r = new t, t.prototype = null, r
- }
- }(),
- n = {},
- i = n.lib = {},
- o = i.Base = {
- extend: function(t) {
- var e = r(this);
- return t && e.mixIn(t), e.hasOwnProperty("init") && this.init !== e.init || (e.init = function() {
- e.$super.init.apply(this, arguments)
- }), e.init.prototype = e, e.$super = this, e
- },
- create: function() {
- var t = this.extend();
- return t.init.apply(t, arguments), t
- },
- init: function() {},
- mixIn: function(t) {
- for (var e in t) t.hasOwnProperty(e) && (this[e] = t[e]);
- t.hasOwnProperty("toString") && (this.toString = t.toString)
- },
- clone: function() {
- return this.init.prototype.extend(this)
- }
- },
- s = i.WordArray = o.extend({
- init: function(t, e) {
- t = this.words = t || [], this.sigBytes = null != e ? e : 4 * t.length
- },
- toString: function(t) {
- return (t || f).stringify(this)
- },
- concat: function(t) {
- var e = this.words,
- r = t.words,
- n = this.sigBytes,
- i = t.sigBytes;
- if (this.clamp(), n % 4)
- for (var o = 0; o < i; o++) {
- var s = r[o >>> 2] >>> 24 - o % 4 * 8 & 255;
- e[n + o >>> 2] |= s << 24 - (n + o) % 4 * 8
- } else
- for (o = 0; o < i; o += 4) e[n + o >>> 2] = r[o >>> 2];
- return this.sigBytes += i, this
- },
- clamp: function() {
- var e = this.words,
- r = this.sigBytes;
- e[r >>> 2] &= 4294967295 << 32 - r % 4 * 8, e.length = t.ceil(r / 4)
- },
- clone: function() {
- var t = o.clone.call(this);
- return t.words = this.words.slice(0), t
- },
- random: function(e) {
- for (var r, n = [], i = function(e) {
- var r = 987654321,
- n = 4294967295;
- return function() {
- var i = ((r = 36969 * (65535 & r) + (r >> 16) & n) << 16) + (e = 18e3 * (65535 & e) + (e >> 16) & n) & n;
- return i /= 4294967296, (i += .5) * (t.random() > .5 ? 1 : -1)
- }
- }, o = 0; o < e; o += 4) {
- var a = i(4294967296 * (r || t.random()));
- r = 987654071 * a(), n.push(4294967296 * a() | 0)
- }
- return new s.init(n, e)
- }
- }),
- a = n.enc = {},
- f = a.Hex = {
- stringify: function(t) {
- for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i++) {
- var o = e[i >>> 2] >>> 24 - i % 4 * 8 & 255;
- n.push((o >>> 4).toString(16)), n.push((15 & o).toString(16))
- }
- return n.join("")
- },
- parse: function(t) {
- for (var e = t.length, r = [], n = 0; n < e; n += 2) r[n >>> 3] |= parseInt(t.substr(n, 2), 16) << 24 - n % 8 * 4;
- return new s.init(r, e / 2)
- }
- },
- u = a.Latin1 = {
- stringify: function(t) {
- for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i++) {
- var o = e[i >>> 2] >>> 24 - i % 4 * 8 & 255;
- n.push(String.fromCharCode(o))
- }
- return n.join("")
- },
- parse: function(t) {
- for (var e = t.length, r = [], n = 0; n < e; n++) r[n >>> 2] |= (255 & t.charCodeAt(n)) << 24 - n % 4 * 8;
- return new s.init(r, e)
- }
- },
- c = a.Utf8 = {
- stringify: function(t) {
- try {
- return decodeURIComponent(escape(u.stringify(t)))
- } catch (t) {
- throw new Error("Malformed UTF-8 data")
- }
- },
- parse: function(t) {
- return u.parse(unescape(encodeURIComponent(t)))
- }
- },
- h = i.BufferedBlockAlgorithm = o.extend({
- reset: function() {
- this._data = new s.init, this._nDataBytes = 0
- },
- _append: function(t) {
- "string" == typeof t && (t = c.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes
- },
- _process: function(e) {
- var r = this._data,
- n = r.words,
- i = r.sigBytes,
- o = this.blockSize,
- a = i / (4 * o),
- f = (a = e ? t.ceil(a) : t.max((0 | a) - this._minBufferSize, 0)) * o,
- u = t.min(4 * f, i);
- if (f) {
- for (var c = 0; c < f; c += o) this._doProcessBlock(n, c);
- var h = n.splice(0, f);
- r.sigBytes -= u
- }
- return new s.init(h, u)
- },
- clone: function() {
- var t = o.clone.call(this);
- return t._data = this._data.clone(), t
- },
- _minBufferSize: 0
- }),
- p = (i.Hasher = h.extend({
- cfg: o.extend(),
- init: function(t) {
- this.cfg = this.cfg.extend(t), this.reset()
- },
- reset: function() {
- h.reset.call(this), this._doReset()
- },
- update: function(t) {
- return this._append(t), this._process(), this
- },
- finalize: function(t) {
- return t && this._append(t), this._doFinalize()
- },
- blockSize: 16,
- _createHelper: function(t) {
- return function(e, r) {
- return new t.init(r).finalize(e)
- }
- },
- _createHmacHelper: function(t) {
- return function(e, r) {
- return new p.HMAC.init(t, r).finalize(e)
- }
- }
- }), n.algo = {});
- return n
- }(Math), r)
- },
- 754: function(t, e, r) {
- var n, i, o;
- t.exports = (n = r(9021), o = (i = n).lib.WordArray, i.enc.Base64 = {
- stringify: function(t) {
- var e = t.words,
- r = t.sigBytes,
- n = this._map;
- t.clamp();
- for (var i = [], o = 0; o < r; o += 3)
- for (var s = (e[o >>> 2] >>> 24 - o % 4 * 8 & 255) << 16 | (e[o + 1 >>> 2] >>> 24 - (o + 1) % 4 * 8 & 255) << 8 | e[o + 2 >>> 2] >>> 24 - (o + 2) % 4 * 8 & 255, a = 0; a < 4 && o + .75 * a < r; a++) i.push(n.charAt(s >>> 6 * (3 - a) & 63));
- var f = n.charAt(64);
- if (f)
- for (; i.length % 4;) i.push(f);
- return i.join("")
- },
- parse: function(t) {
- var e = t.length,
- r = this._map,
- n = this._reverseMap;
- if (!n) {
- n = this._reverseMap = [];
- for (var i = 0; i < r.length; i++) n[r.charCodeAt(i)] = i
- }
- var s = r.charAt(64);
- if (s) {
- var a = t.indexOf(s); - 1 !== a && (e = a)
- }
- return function(t, e, r) {
- for (var n = [], i = 0, s = 0; s < e; s++)
- if (s % 4) {
- var a = r[t.charCodeAt(s - 1)] << s % 4 * 2,
- f = r[t.charCodeAt(s)] >>> 6 - s % 4 * 2;
- n[i >>> 2] |= (a | f) << 24 - i % 4 * 8, i++
- } return o.create(n, i)
- }(t, e, n)
- },
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
- }, n.enc.Base64)
- },
- 5503: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), function() {
- var t = n,
- e = t.lib.WordArray,
- r = t.enc;
- function i(t) {
- return t << 8 & 4278255360 | t >>> 8 & 16711935
- }
- r.Utf16 = r.Utf16BE = {
- stringify: function(t) {
- for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i += 2) {
- var o = e[i >>> 2] >>> 16 - i % 4 * 8 & 65535;
- n.push(String.fromCharCode(o))
- }
- return n.join("")
- },
- parse: function(t) {
- for (var r = t.length, n = [], i = 0; i < r; i++) n[i >>> 1] |= t.charCodeAt(i) << 16 - i % 2 * 16;
- return e.create(n, 2 * r)
- }
- }, r.Utf16LE = {
- stringify: function(t) {
- for (var e = t.words, r = t.sigBytes, n = [], o = 0; o < r; o += 2) {
- var s = i(e[o >>> 2] >>> 16 - o % 4 * 8 & 65535);
- n.push(String.fromCharCode(s))
- }
- return n.join("")
- },
- parse: function(t) {
- for (var r = t.length, n = [], o = 0; o < r; o++) n[o >>> 1] |= i(t.charCodeAt(o) << 16 - o % 2 * 16);
- return e.create(n, 2 * r)
- }
- }
- }(), n.enc.Utf16)
- },
- 9506: function(t, e, r) {
- var n, i, o, s, a, f, u, c;
- t.exports = (c = r(9021), r(5471), r(1025), o = (i = (n = c).lib).Base, s = i.WordArray, f = (a = n.algo).MD5, u = a.EvpKDF = o.extend({
- cfg: o.extend({
- keySize: 4,
- hasher: f,
- iterations: 1
- }),
- init: function(t) {
- this.cfg = this.cfg.extend(t)
- },
- compute: function(t, e) {
- for (var r = this.cfg, n = r.hasher.create(), i = s.create(), o = i.words, a = r.keySize, f = r.iterations; o.length < a;) {
- u && n.update(u);
- var u = n.update(t).finalize(e);
- n.reset();
- for (var c = 1; c < f; c++) u = n.finalize(u), n.reset();
- i.concat(u)
- }
- return i.sigBytes = 4 * a, i
- }
- }), n.EvpKDF = function(t, e, r) {
- return u.create(r).compute(t, e)
- }, c.EvpKDF)
- },
- 25: function(t, e, r) {
- var n, i, o, s;
- t.exports = (s = r(9021), r(7165), i = (n = s).lib.CipherParams, o = n.enc.Hex, n.format.Hex = {
- stringify: function(t) {
- return t.ciphertext.toString(o)
- },
- parse: function(t) {
- var e = o.parse(t);
- return i.create({
- ciphertext: e
- })
- }
- }, s.format.Hex)
- },
- 1025: function(t, e, r) {
- var n, i, o;
- t.exports = (i = (n = r(9021)).lib.Base, o = n.enc.Utf8, void(n.algo.HMAC = i.extend({
- init: function(t, e) {
- t = this._hasher = new t.init, "string" == typeof e && (e = o.parse(e));
- var r = t.blockSize,
- n = 4 * r;
- e.sigBytes > n && (e = t.finalize(e)), e.clamp();
- for (var i = this._oKey = e.clone(), s = this._iKey = e.clone(), a = i.words, f = s.words, u = 0; u < r; u++) a[u] ^= 1549556828, f[u] ^= 909522486;
- i.sigBytes = s.sigBytes = n, this.reset()
- },
- reset: function() {
- var t = this._hasher;
- t.reset(), t.update(this._iKey)
- },
- update: function(t) {
- return this._hasher.update(t), this
- },
- finalize: function(t) {
- var e = this._hasher,
- r = e.finalize(t);
- return e.reset(), e.finalize(this._oKey.clone().concat(r))
- }
- })))
- },
- 1396: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(3240), r(6440), r(5503), r(754), r(4636), r(5471), r(3009), r(6308), r(1380), r(9557), r(5953), r(8056), r(1025), r(19), r(9506), r(7165), r(2169), r(6939), r(6372), r(3797), r(8454), r(2073), r(4905), r(482), r(2155), r(8124), r(25), r(955), r(7628), r(7193), r(6298), r(2696), n)
- },
- 6440: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), function() {
- if ("function" == typeof ArrayBuffer) {
- var t = n.lib.WordArray,
- e = t.init,
- r = t.init = function(t) {
- if (t instanceof ArrayBuffer && (t = new Uint8Array(t)), (t instanceof Int8Array || "undefined" != typeof Uint8ClampedArray && t instanceof Uint8ClampedArray || t instanceof Int16Array || t instanceof Uint16Array || t instanceof Int32Array || t instanceof Uint32Array || t instanceof Float32Array || t instanceof Float64Array) && (t = new Uint8Array(t.buffer, t.byteOffset, t.byteLength)), t instanceof Uint8Array) {
- for (var r = t.byteLength, n = [], i = 0; i < r; i++) n[i >>> 2] |= t[i] << 24 - i % 4 * 8;
- e.call(this, n, r)
- } else e.apply(this, arguments)
- };
- r.prototype = t
- }
- }(), n.lib.WordArray)
- },
- 4636: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), function(t) {
- var e = n,
- r = e.lib,
- i = r.WordArray,
- o = r.Hasher,
- s = e.algo,
- a = [];
- ! function() {
- for (var e = 0; e < 64; e++) a[e] = 4294967296 * t.abs(t.sin(e + 1)) | 0
- }();
- var f = s.MD5 = o.extend({
- _doReset: function() {
- this._hash = new i.init([1732584193, 4023233417, 2562383102, 271733878])
- },
- _doProcessBlock: function(t, e) {
- for (var r = 0; r < 16; r++) {
- var n = e + r,
- i = t[n];
- t[n] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8)
- }
- var o = this._hash.words,
- s = t[e + 0],
- f = t[e + 1],
- l = t[e + 2],
- y = t[e + 3],
- g = t[e + 4],
- d = t[e + 5],
- v = t[e + 6],
- m = t[e + 7],
- S = t[e + 8],
- _ = t[e + 9],
- b = t[e + 10],
- E = t[e + 11],
- w = t[e + 12],
- O = t[e + 13],
- B = t[e + 14],
- A = t[e + 15],
- x = o[0],
- P = o[1],
- T = o[2],
- I = o[3];
- x = u(x, P, T, I, s, 7, a[0]), I = u(I, x, P, T, f, 12, a[1]), T = u(T, I, x, P, l, 17, a[2]), P = u(P, T, I, x, y, 22, a[3]), x = u(x, P, T, I, g, 7, a[4]), I = u(I, x, P, T, d, 12, a[5]), T = u(T, I, x, P, v, 17, a[6]), P = u(P, T, I, x, m, 22, a[7]), x = u(x, P, T, I, S, 7, a[8]), I = u(I, x, P, T, _, 12, a[9]), T = u(T, I, x, P, b, 17, a[10]), P = u(P, T, I, x, E, 22, a[11]), x = u(x, P, T, I, w, 7, a[12]), I = u(I, x, P, T, O, 12, a[13]), T = u(T, I, x, P, B, 17, a[14]), x = c(x, P = u(P, T, I, x, A, 22, a[15]), T, I, f, 5, a[16]), I = c(I, x, P, T, v, 9, a[17]), T = c(T, I, x, P, E, 14, a[18]), P = c(P, T, I, x, s, 20, a[19]), x = c(x, P, T, I, d, 5, a[20]), I = c(I, x, P, T, b, 9, a[21]), T = c(T, I, x, P, A, 14, a[22]), P = c(P, T, I, x, g, 20, a[23]), x = c(x, P, T, I, _, 5, a[24]), I = c(I, x, P, T, B, 9, a[25]), T = c(T, I, x, P, y, 14, a[26]), P = c(P, T, I, x, S, 20, a[27]), x = c(x, P, T, I, O, 5, a[28]), I = c(I, x, P, T, l, 9, a[29]), T = c(T, I, x, P, m, 14, a[30]), x = h(x, P = c(P, T, I, x, w, 20, a[31]), T, I, d, 4, a[32]), I = h(I, x, P, T, S, 11, a[33]), T = h(T, I, x, P, E, 16, a[34]), P = h(P, T, I, x, B, 23, a[35]), x = h(x, P, T, I, f, 4, a[36]), I = h(I, x, P, T, g, 11, a[37]), T = h(T, I, x, P, m, 16, a[38]), P = h(P, T, I, x, b, 23, a[39]), x = h(x, P, T, I, O, 4, a[40]), I = h(I, x, P, T, s, 11, a[41]), T = h(T, I, x, P, y, 16, a[42]), P = h(P, T, I, x, v, 23, a[43]), x = h(x, P, T, I, _, 4, a[44]), I = h(I, x, P, T, w, 11, a[45]), T = h(T, I, x, P, A, 16, a[46]), x = p(x, P = h(P, T, I, x, l, 23, a[47]), T, I, s, 6, a[48]), I = p(I, x, P, T, m, 10, a[49]), T = p(T, I, x, P, B, 15, a[50]), P = p(P, T, I, x, d, 21, a[51]), x = p(x, P, T, I, w, 6, a[52]), I = p(I, x, P, T, y, 10, a[53]), T = p(T, I, x, P, b, 15, a[54]), P = p(P, T, I, x, f, 21, a[55]), x = p(x, P, T, I, S, 6, a[56]), I = p(I, x, P, T, A, 10, a[57]), T = p(T, I, x, P, v, 15, a[58]), P = p(P, T, I, x, O, 21, a[59]), x = p(x, P, T, I, g, 6, a[60]), I = p(I, x, P, T, E, 10, a[61]), T = p(T, I, x, P, l, 15, a[62]), P = p(P, T, I, x, _, 21, a[63]), o[0] = o[0] + x | 0, o[1] = o[1] + P | 0, o[2] = o[2] + T | 0, o[3] = o[3] + I | 0
- },
- _doFinalize: function() {
- var e = this._data,
- r = e.words,
- n = 8 * this._nDataBytes,
- i = 8 * e.sigBytes;
- r[i >>> 5] |= 128 << 24 - i % 32;
- var o = t.floor(n / 4294967296),
- s = n;
- r[15 + (i + 64 >>> 9 << 4)] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), r[14 + (i + 64 >>> 9 << 4)] = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), e.sigBytes = 4 * (r.length + 1), this._process();
- for (var a = this._hash, f = a.words, u = 0; u < 4; u++) {
- var c = f[u];
- f[u] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8)
- }
- return a
- },
- clone: function() {
- var t = o.clone.call(this);
- return t._hash = this._hash.clone(), t
- }
- });
- function u(t, e, r, n, i, o, s) {
- var a = t + (e & r | ~e & n) + i + s;
- return (a << o | a >>> 32 - o) + e
- }
- function c(t, e, r, n, i, o, s) {
- var a = t + (e & n | r & ~n) + i + s;
- return (a << o | a >>> 32 - o) + e
- }
- function h(t, e, r, n, i, o, s) {
- var a = t + (e ^ r ^ n) + i + s;
- return (a << o | a >>> 32 - o) + e
- }
- function p(t, e, r, n, i, o, s) {
- var a = t + (r ^ (e | ~n)) + i + s;
- return (a << o | a >>> 32 - o) + e
- }
- e.MD5 = o._createHelper(f), e.HmacMD5 = o._createHmacHelper(f)
- }(Math), n.MD5)
- },
- 2169: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.mode.CFB = function() {
- var t = n.lib.BlockCipherMode.extend();
- function e(t, e, r, n) {
- var i = this._iv;
- if (i) {
- var o = i.slice(0);
- this._iv = void 0
- } else o = this._prevBlock;
- n.encryptBlock(o, 0);
- for (var s = 0; s < r; s++) t[e + s] ^= o[s]
- }
- return t.Encryptor = t.extend({
- processBlock: function(t, r) {
- var n = this._cipher,
- i = n.blockSize;
- e.call(this, t, r, i, n), this._prevBlock = t.slice(r, r + i)
- }
- }), t.Decryptor = t.extend({
- processBlock: function(t, r) {
- var n = this._cipher,
- i = n.blockSize,
- o = t.slice(r, r + i);
- e.call(this, t, r, i, n), this._prevBlock = o
- }
- }), t
- }(), n.mode.CFB)
- },
- 6372: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.mode.CTRGladman = function() {
- var t = n.lib.BlockCipherMode.extend();
- function e(t) {
- if (255 & ~(t >> 24)) t += 1 << 24;
- else {
- var e = t >> 16 & 255,
- r = t >> 8 & 255,
- n = 255 & t;
- 255 === e ? (e = 0, 255 === r ? (r = 0, 255 === n ? n = 0 : ++n) : ++r) : ++e, t = 0, t += e << 16, t += r << 8, t += n
- }
- return t
- }
- var r = t.Encryptor = t.extend({
- processBlock: function(t, r) {
- var n = this._cipher,
- i = n.blockSize,
- o = this._iv,
- s = this._counter;
- o && (s = this._counter = o.slice(0), this._iv = void 0),
- function(t) {
- 0 === (t[0] = e(t[0])) && (t[1] = e(t[1]))
- }(s);
- var a = s.slice(0);
- n.encryptBlock(a, 0);
- for (var f = 0; f < i; f++) t[r + f] ^= a[f]
- }
- });
- return t.Decryptor = r, t
- }(), n.mode.CTRGladman)
- },
- 6939: function(t, e, r) {
- var n, i, o;
- t.exports = (o = r(9021), r(7165), o.mode.CTR = (i = (n = o.lib.BlockCipherMode.extend()).Encryptor = n.extend({
- processBlock: function(t, e) {
- var r = this._cipher,
- n = r.blockSize,
- i = this._iv,
- o = this._counter;
- i && (o = this._counter = i.slice(0), this._iv = void 0);
- var s = o.slice(0);
- r.encryptBlock(s, 0), o[n - 1] = o[n - 1] + 1 | 0;
- for (var a = 0; a < n; a++) t[e + a] ^= s[a]
- }
- }), n.Decryptor = i, n), o.mode.CTR)
- },
- 8454: function(t, e, r) {
- var n, i;
- t.exports = (i = r(9021), r(7165), i.mode.ECB = ((n = i.lib.BlockCipherMode.extend()).Encryptor = n.extend({
- processBlock: function(t, e) {
- this._cipher.encryptBlock(t, e)
- }
- }), n.Decryptor = n.extend({
- processBlock: function(t, e) {
- this._cipher.decryptBlock(t, e)
- }
- }), n), i.mode.ECB)
- },
- 3797: function(t, e, r) {
- var n, i, o;
- t.exports = (o = r(9021), r(7165), o.mode.OFB = (i = (n = o.lib.BlockCipherMode.extend()).Encryptor = n.extend({
- processBlock: function(t, e) {
- var r = this._cipher,
- n = r.blockSize,
- i = this._iv,
- o = this._keystream;
- i && (o = this._keystream = i.slice(0), this._iv = void 0), r.encryptBlock(o, 0);
- for (var s = 0; s < n; s++) t[e + s] ^= o[s]
- }
- }), n.Decryptor = i, n), o.mode.OFB)
- },
- 2073: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.pad.AnsiX923 = {
- pad: function(t, e) {
- var r = t.sigBytes,
- n = 4 * e,
- i = n - r % n,
- o = r + i - 1;
- t.clamp(), t.words[o >>> 2] |= i << 24 - o % 4 * 8, t.sigBytes += i
- },
- unpad: function(t) {
- var e = 255 & t.words[t.sigBytes - 1 >>> 2];
- t.sigBytes -= e
- }
- }, n.pad.Ansix923)
- },
- 4905: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.pad.Iso10126 = {
- pad: function(t, e) {
- var r = 4 * e,
- i = r - t.sigBytes % r;
- t.concat(n.lib.WordArray.random(i - 1)).concat(n.lib.WordArray.create([i << 24], 1))
- },
- unpad: function(t) {
- var e = 255 & t.words[t.sigBytes - 1 >>> 2];
- t.sigBytes -= e
- }
- }, n.pad.Iso10126)
- },
- 482: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.pad.Iso97971 = {
- pad: function(t, e) {
- t.concat(n.lib.WordArray.create([2147483648], 1)), n.pad.ZeroPadding.pad(t, e)
- },
- unpad: function(t) {
- n.pad.ZeroPadding.unpad(t), t.sigBytes--
- }
- }, n.pad.Iso97971)
- },
- 8124: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.pad.NoPadding = {
- pad: function() {},
- unpad: function() {}
- }, n.pad.NoPadding)
- },
- 2155: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(7165), n.pad.ZeroPadding = {
- pad: function(t, e) {
- var r = 4 * e;
- t.clamp(), t.sigBytes += r - (t.sigBytes % r || r)
- },
- unpad: function(t) {
- for (var e = t.words, r = t.sigBytes - 1; !(e[r >>> 2] >>> 24 - r % 4 * 8 & 255);) r--;
- t.sigBytes = r + 1
- }
- }, n.pad.ZeroPadding)
- },
- 19: function(t, e, r) {
- var n, i, o, s, a, f, u, c, h;
- t.exports = (h = r(9021), r(5471), r(1025), o = (i = (n = h).lib).Base, s = i.WordArray, f = (a = n.algo).SHA1, u = a.HMAC, c = a.PBKDF2 = o.extend({
- cfg: o.extend({
- keySize: 4,
- hasher: f,
- iterations: 1
- }),
- init: function(t) {
- this.cfg = this.cfg.extend(t)
- },
- compute: function(t, e) {
- for (var r = this.cfg, n = u.create(r.hasher, t), i = s.create(), o = s.create([1]), a = i.words, f = o.words, c = r.keySize, h = r.iterations; a.length < c;) {
- var p = n.update(e).finalize(o);
- n.reset();
- for (var l = p.words, y = l.length, g = p, d = 1; d < h; d++) {
- g = n.finalize(g), n.reset();
- for (var v = g.words, m = 0; m < y; m++) l[m] ^= v[m]
- }
- i.concat(p), f[0]++
- }
- return i.sigBytes = 4 * c, i
- }
- }), n.PBKDF2 = function(t, e, r) {
- return c.create(r).compute(t, e)
- }, h.PBKDF2)
- },
- 2696: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
- var t = n,
- e = t.lib.StreamCipher,
- r = t.algo,
- i = [],
- o = [],
- s = [],
- a = r.RabbitLegacy = e.extend({
- _doReset: function() {
- var t = this._key.words,
- e = this.cfg.iv,
- r = this._X = [t[0], t[3] << 16 | t[2] >>> 16, t[1], t[0] << 16 | t[3] >>> 16, t[2], t[1] << 16 | t[0] >>> 16, t[3], t[2] << 16 | t[1] >>> 16],
- n = this._C = [t[2] << 16 | t[2] >>> 16, 4294901760 & t[0] | 65535 & t[1], t[3] << 16 | t[3] >>> 16, 4294901760 & t[1] | 65535 & t[2], t[0] << 16 | t[0] >>> 16, 4294901760 & t[2] | 65535 & t[3], t[1] << 16 | t[1] >>> 16, 4294901760 & t[3] | 65535 & t[0]];
- this._b = 0;
- for (var i = 0; i < 4; i++) f.call(this);
- for (i = 0; i < 8; i++) n[i] ^= r[i + 4 & 7];
- if (e) {
- var o = e.words,
- s = o[0],
- a = o[1],
- u = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8),
- c = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8),
- h = u >>> 16 | 4294901760 & c,
- p = c << 16 | 65535 & u;
- for (n[0] ^= u, n[1] ^= h, n[2] ^= c, n[3] ^= p, n[4] ^= u, n[5] ^= h, n[6] ^= c, n[7] ^= p, i = 0; i < 4; i++) f.call(this)
- }
- },
- _doProcessBlock: function(t, e) {
- var r = this._X;
- f.call(this), i[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16, i[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16, i[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16, i[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16;
- for (var n = 0; n < 4; n++) i[n] = 16711935 & (i[n] << 8 | i[n] >>> 24) | 4278255360 & (i[n] << 24 | i[n] >>> 8), t[e + n] ^= i[n]
- },
- blockSize: 4,
- ivSize: 2
- });
- function f() {
- for (var t = this._X, e = this._C, r = 0; r < 8; r++) o[r] = e[r];
- for (e[0] = e[0] + 1295307597 + this._b | 0, e[1] = e[1] + 3545052371 + (e[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, e[2] = e[2] + 886263092 + (e[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, e[3] = e[3] + 1295307597 + (e[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, e[4] = e[4] + 3545052371 + (e[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, e[5] = e[5] + 886263092 + (e[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, e[6] = e[6] + 1295307597 + (e[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, e[7] = e[7] + 3545052371 + (e[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = e[7] >>> 0 < o[7] >>> 0 ? 1 : 0, r = 0; r < 8; r++) {
- var n = t[r] + e[r],
- i = 65535 & n,
- a = n >>> 16,
- f = ((i * i >>> 17) + i * a >>> 15) + a * a,
- u = ((4294901760 & n) * n | 0) + ((65535 & n) * n | 0);
- s[r] = f ^ u
- }
- t[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0, t[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0, t[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0, t[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0, t[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0, t[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0, t[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0, t[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0
- }
- t.RabbitLegacy = e._createHelper(a)
- }(), n.RabbitLegacy)
- },
- 6298: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
- var t = n,
- e = t.lib.StreamCipher,
- r = t.algo,
- i = [],
- o = [],
- s = [],
- a = r.Rabbit = e.extend({
- _doReset: function() {
- for (var t = this._key.words, e = this.cfg.iv, r = 0; r < 4; r++) t[r] = 16711935 & (t[r] << 8 | t[r] >>> 24) | 4278255360 & (t[r] << 24 | t[r] >>> 8);
- var n = this._X = [t[0], t[3] << 16 | t[2] >>> 16, t[1], t[0] << 16 | t[3] >>> 16, t[2], t[1] << 16 | t[0] >>> 16, t[3], t[2] << 16 | t[1] >>> 16],
- i = this._C = [t[2] << 16 | t[2] >>> 16, 4294901760 & t[0] | 65535 & t[1], t[3] << 16 | t[3] >>> 16, 4294901760 & t[1] | 65535 & t[2], t[0] << 16 | t[0] >>> 16, 4294901760 & t[2] | 65535 & t[3], t[1] << 16 | t[1] >>> 16, 4294901760 & t[3] | 65535 & t[0]];
- for (this._b = 0, r = 0; r < 4; r++) f.call(this);
- for (r = 0; r < 8; r++) i[r] ^= n[r + 4 & 7];
- if (e) {
- var o = e.words,
- s = o[0],
- a = o[1],
- u = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8),
- c = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8),
- h = u >>> 16 | 4294901760 & c,
- p = c << 16 | 65535 & u;
- for (i[0] ^= u, i[1] ^= h, i[2] ^= c, i[3] ^= p, i[4] ^= u, i[5] ^= h, i[6] ^= c, i[7] ^= p, r = 0; r < 4; r++) f.call(this)
- }
- },
- _doProcessBlock: function(t, e) {
- var r = this._X;
- f.call(this), i[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16, i[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16, i[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16, i[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16;
- for (var n = 0; n < 4; n++) i[n] = 16711935 & (i[n] << 8 | i[n] >>> 24) | 4278255360 & (i[n] << 24 | i[n] >>> 8), t[e + n] ^= i[n]
- },
- blockSize: 4,
- ivSize: 2
- });
- function f() {
- for (var t = this._X, e = this._C, r = 0; r < 8; r++) o[r] = e[r];
- for (e[0] = e[0] + 1295307597 + this._b | 0, e[1] = e[1] + 3545052371 + (e[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, e[2] = e[2] + 886263092 + (e[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, e[3] = e[3] + 1295307597 + (e[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, e[4] = e[4] + 3545052371 + (e[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, e[5] = e[5] + 886263092 + (e[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, e[6] = e[6] + 1295307597 + (e[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, e[7] = e[7] + 3545052371 + (e[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = e[7] >>> 0 < o[7] >>> 0 ? 1 : 0, r = 0; r < 8; r++) {
- var n = t[r] + e[r],
- i = 65535 & n,
- a = n >>> 16,
- f = ((i * i >>> 17) + i * a >>> 15) + a * a,
- u = ((4294901760 & n) * n | 0) + ((65535 & n) * n | 0);
- s[r] = f ^ u
- }
- t[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0, t[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0, t[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0, t[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0, t[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0, t[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0, t[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0, t[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0
- }
- t.Rabbit = e._createHelper(a)
- }(), n.Rabbit)
- },
- 7193: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
- var t = n,
- e = t.lib.StreamCipher,
- r = t.algo,
- i = r.RC4 = e.extend({
- _doReset: function() {
- for (var t = this._key, e = t.words, r = t.sigBytes, n = this._S = [], i = 0; i < 256; i++) n[i] = i;
- i = 0;
- for (var o = 0; i < 256; i++) {
- var s = i % r,
- a = e[s >>> 2] >>> 24 - s % 4 * 8 & 255;
- o = (o + n[i] + a) % 256;
- var f = n[i];
- n[i] = n[o], n[o] = f
- }
- this._i = this._j = 0
- },
- _doProcessBlock: function(t, e) {
- t[e] ^= o.call(this)
- },
- keySize: 8,
- ivSize: 0
- });
- function o() {
- for (var t = this._S, e = this._i, r = this._j, n = 0, i = 0; i < 4; i++) {
- r = (r + t[e = (e + 1) % 256]) % 256;
- var o = t[e];
- t[e] = t[r], t[r] = o, n |= t[(t[e] + t[r]) % 256] << 24 - 8 * i
- }
- return this._i = e, this._j = r, n
- }
- t.RC4 = e._createHelper(i);
- var s = r.RC4Drop = i.extend({
- cfg: i.cfg.extend({
- drop: 192
- }),
- _doReset: function() {
- i._doReset.call(this);
- for (var t = this.cfg.drop; t > 0; t--) o.call(this)
- }
- });
- t.RC4Drop = e._createHelper(s)
- }(), n.RC4)
- },
- 8056: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), function(t) {
- var e = n,
- r = e.lib,
- i = r.WordArray,
- o = r.Hasher,
- s = e.algo,
- a = i.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]),
- f = i.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]),
- u = i.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]),
- c = i.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]),
- h = i.create([0, 1518500249, 1859775393, 2400959708, 2840853838]),
- p = i.create([1352829926, 1548603684, 1836072691, 2053994217, 0]),
- l = s.RIPEMD160 = o.extend({
- _doReset: function() {
- this._hash = i.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
- },
- _doProcessBlock: function(t, e) {
- for (var r = 0; r < 16; r++) {
- var n = e + r,
- i = t[n];
- t[n] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8)
- }
- var o, s, l, _, b, E, w, O, B, A, x, P = this._hash.words,
- T = h.words,
- I = p.words,
- k = a.words,
- D = f.words,
- R = u.words,
- N = c.words;
- for (E = o = P[0], w = s = P[1], O = l = P[2], B = _ = P[3], A = b = P[4], r = 0; r < 80; r += 1) x = o + t[e + k[r]] | 0, x += r < 16 ? y(s, l, _) + T[0] : r < 32 ? g(s, l, _) + T[1] : r < 48 ? d(s, l, _) + T[2] : r < 64 ? v(s, l, _) + T[3] : m(s, l, _) + T[4], x = (x = S(x |= 0, R[r])) + b | 0, o = b, b = _, _ = S(l, 10), l = s, s = x, x = E + t[e + D[r]] | 0, x += r < 16 ? m(w, O, B) + I[0] : r < 32 ? v(w, O, B) + I[1] : r < 48 ? d(w, O, B) + I[2] : r < 64 ? g(w, O, B) + I[3] : y(w, O, B) + I[4], x = (x = S(x |= 0, N[r])) + A | 0, E = A, A = B, B = S(O, 10), O = w, w = x;
- x = P[1] + l + B | 0, P[1] = P[2] + _ + A | 0, P[2] = P[3] + b + E | 0, P[3] = P[4] + o + w | 0, P[4] = P[0] + s + O | 0, P[0] = x
- },
- _doFinalize: function() {
- var t = this._data,
- e = t.words,
- r = 8 * this._nDataBytes,
- n = 8 * t.sigBytes;
- e[n >>> 5] |= 128 << 24 - n % 32, e[14 + (n + 64 >>> 9 << 4)] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8), t.sigBytes = 4 * (e.length + 1), this._process();
- for (var i = this._hash, o = i.words, s = 0; s < 5; s++) {
- var a = o[s];
- o[s] = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8)
- }
- return i
- },
- clone: function() {
- var t = o.clone.call(this);
- return t._hash = this._hash.clone(), t
- }
- });
- function y(t, e, r) {
- return t ^ e ^ r
- }
- function g(t, e, r) {
- return t & e | ~t & r
- }
- function d(t, e, r) {
- return (t | ~e) ^ r
- }
- function v(t, e, r) {
- return t & r | e & ~r
- }
- function m(t, e, r) {
- return t ^ (e | ~r)
- }
- function S(t, e) {
- return t << e | t >>> 32 - e
- }
- e.RIPEMD160 = o._createHelper(l), e.HmacRIPEMD160 = o._createHmacHelper(l)
- }(Math), n.RIPEMD160)
- },
- 5471: function(t, e, r) {
- var n, i, o, s, a, f, u, c;
- t.exports = (i = (n = c = r(9021)).lib, o = i.WordArray, s = i.Hasher, a = n.algo, f = [], u = a.SHA1 = s.extend({
- _doReset: function() {
- this._hash = new o.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
- },
- _doProcessBlock: function(t, e) {
- for (var r = this._hash.words, n = r[0], i = r[1], o = r[2], s = r[3], a = r[4], u = 0; u < 80; u++) {
- if (u < 16) f[u] = 0 | t[e + u];
- else {
- var c = f[u - 3] ^ f[u - 8] ^ f[u - 14] ^ f[u - 16];
- f[u] = c << 1 | c >>> 31
- }
- var h = (n << 5 | n >>> 27) + a + f[u];
- h += u < 20 ? 1518500249 + (i & o | ~i & s) : u < 40 ? 1859775393 + (i ^ o ^ s) : u < 60 ? (i & o | i & s | o & s) - 1894007588 : (i ^ o ^ s) - 899497514, a = s, s = o, o = i << 30 | i >>> 2, i = n, n = h
- }
- r[0] = r[0] + n | 0, r[1] = r[1] + i | 0, r[2] = r[2] + o | 0, r[3] = r[3] + s | 0, r[4] = r[4] + a | 0
- },
- _doFinalize: function() {
- var t = this._data,
- e = t.words,
- r = 8 * this._nDataBytes,
- n = 8 * t.sigBytes;
- return e[n >>> 5] |= 128 << 24 - n % 32, e[14 + (n + 64 >>> 9 << 4)] = Math.floor(r / 4294967296), e[15 + (n + 64 >>> 9 << 4)] = r, t.sigBytes = 4 * e.length, this._process(), this._hash
- },
- clone: function() {
- var t = s.clone.call(this);
- return t._hash = this._hash.clone(), t
- }
- }), n.SHA1 = s._createHelper(u), n.HmacSHA1 = s._createHmacHelper(u), c.SHA1)
- },
- 6308: function(t, e, r) {
- var n, i, o, s, a, f;
- t.exports = (f = r(9021), r(3009), i = (n = f).lib.WordArray, o = n.algo, s = o.SHA256, a = o.SHA224 = s.extend({
- _doReset: function() {
- this._hash = new i.init([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428])
- },
- _doFinalize: function() {
- var t = s._doFinalize.call(this);
- return t.sigBytes -= 4, t
- }
- }), n.SHA224 = s._createHelper(a), n.HmacSHA224 = s._createHmacHelper(a), f.SHA224)
- },
- 3009: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), function(t) {
- var e = n,
- r = e.lib,
- i = r.WordArray,
- o = r.Hasher,
- s = e.algo,
- a = [],
- f = [];
- ! function() {
- function e(e) {
- for (var r = t.sqrt(e), n = 2; n <= r; n++)
- if (!(e % n)) return !1;
- return !0
- }
- function r(t) {
- return 4294967296 * (t - (0 | t)) | 0
- }
- for (var n = 2, i = 0; i < 64;) e(n) && (i < 8 && (a[i] = r(t.pow(n, .5))), f[i] = r(t.pow(n, 1 / 3)), i++), n++
- }();
- var u = [],
- c = s.SHA256 = o.extend({
- _doReset: function() {
- this._hash = new i.init(a.slice(0))
- },
- _doProcessBlock: function(t, e) {
- for (var r = this._hash.words, n = r[0], i = r[1], o = r[2], s = r[3], a = r[4], c = r[5], h = r[6], p = r[7], l = 0; l < 64; l++) {
- if (l < 16) u[l] = 0 | t[e + l];
- else {
- var y = u[l - 15],
- g = (y << 25 | y >>> 7) ^ (y << 14 | y >>> 18) ^ y >>> 3,
- d = u[l - 2],
- v = (d << 15 | d >>> 17) ^ (d << 13 | d >>> 19) ^ d >>> 10;
- u[l] = g + u[l - 7] + v + u[l - 16]
- }
- var m = n & i ^ n & o ^ i & o,
- S = (n << 30 | n >>> 2) ^ (n << 19 | n >>> 13) ^ (n << 10 | n >>> 22),
- _ = p + ((a << 26 | a >>> 6) ^ (a << 21 | a >>> 11) ^ (a << 7 | a >>> 25)) + (a & c ^ ~a & h) + f[l] + u[l];
- p = h, h = c, c = a, a = s + _ | 0, s = o, o = i, i = n, n = _ + (S + m) | 0
- }
- r[0] = r[0] + n | 0, r[1] = r[1] + i | 0, r[2] = r[2] + o | 0, r[3] = r[3] + s | 0, r[4] = r[4] + a | 0, r[5] = r[5] + c | 0, r[6] = r[6] + h | 0, r[7] = r[7] + p | 0
- },
- _doFinalize: function() {
- var e = this._data,
- r = e.words,
- n = 8 * this._nDataBytes,
- i = 8 * e.sigBytes;
- return r[i >>> 5] |= 128 << 24 - i % 32, r[14 + (i + 64 >>> 9 << 4)] = t.floor(n / 4294967296), r[15 + (i + 64 >>> 9 << 4)] = n, e.sigBytes = 4 * r.length, this._process(), this._hash
- },
- clone: function() {
- var t = o.clone.call(this);
- return t._hash = this._hash.clone(), t
- }
- });
- e.SHA256 = o._createHelper(c), e.HmacSHA256 = o._createHmacHelper(c)
- }(Math), n.SHA256)
- },
- 5953: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(3240), function(t) {
- var e = n,
- r = e.lib,
- i = r.WordArray,
- o = r.Hasher,
- s = e.x64.Word,
- a = e.algo,
- f = [],
- u = [],
- c = [];
- ! function() {
- for (var t = 1, e = 0, r = 0; r < 24; r++) {
- f[t + 5 * e] = (r + 1) * (r + 2) / 2 % 64;
- var n = (2 * t + 3 * e) % 5;
- t = e % 5, e = n
- }
- for (t = 0; t < 5; t++)
- for (e = 0; e < 5; e++) u[t + 5 * e] = e + (2 * t + 3 * e) % 5 * 5;
- for (var i = 1, o = 0; o < 24; o++) {
- for (var a = 0, h = 0, p = 0; p < 7; p++) {
- if (1 & i) {
- var l = (1 << p) - 1;
- l < 32 ? h ^= 1 << l : a ^= 1 << l - 32
- }
- 128 & i ? i = i << 1 ^ 113 : i <<= 1
- }
- c[o] = s.create(a, h)
- }
- }();
- var h = [];
- ! function() {
- for (var t = 0; t < 25; t++) h[t] = s.create()
- }();
- var p = a.SHA3 = o.extend({
- cfg: o.cfg.extend({
- outputLength: 512
- }),
- _doReset: function() {
- for (var t = this._state = [], e = 0; e < 25; e++) t[e] = new s.init;
- this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32
- },
- _doProcessBlock: function(t, e) {
- for (var r = this._state, n = this.blockSize / 2, i = 0; i < n; i++) {
- var o = t[e + 2 * i],
- s = t[e + 2 * i + 1];
- o = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), s = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), (P = r[i]).high ^= s, P.low ^= o
- }
- for (var a = 0; a < 24; a++) {
- for (var p = 0; p < 5; p++) {
- for (var l = 0, y = 0, g = 0; g < 5; g++) l ^= (P = r[p + 5 * g]).high, y ^= P.low;
- var d = h[p];
- d.high = l, d.low = y
- }
- for (p = 0; p < 5; p++) {
- var v = h[(p + 4) % 5],
- m = h[(p + 1) % 5],
- S = m.high,
- _ = m.low;
- for (l = v.high ^ (S << 1 | _ >>> 31), y = v.low ^ (_ << 1 | S >>> 31), g = 0; g < 5; g++)(P = r[p + 5 * g]).high ^= l, P.low ^= y
- }
- for (var b = 1; b < 25; b++) {
- var E = (P = r[b]).high,
- w = P.low,
- O = f[b];
- O < 32 ? (l = E << O | w >>> 32 - O, y = w << O | E >>> 32 - O) : (l = w << O - 32 | E >>> 64 - O, y = E << O - 32 | w >>> 64 - O);
- var B = h[u[b]];
- B.high = l, B.low = y
- }
- var A = h[0],
- x = r[0];
- for (A.high = x.high, A.low = x.low, p = 0; p < 5; p++)
- for (g = 0; g < 5; g++) {
- var P = r[b = p + 5 * g],
- T = h[b],
- I = h[(p + 1) % 5 + 5 * g],
- k = h[(p + 2) % 5 + 5 * g];
- P.high = T.high ^ ~I.high & k.high, P.low = T.low ^ ~I.low & k.low
- }
- P = r[0];
- var D = c[a];
- P.high ^= D.high, P.low ^= D.low
- }
- },
- _doFinalize: function() {
- var e = this._data,
- r = e.words,
- n = (this._nDataBytes, 8 * e.sigBytes),
- o = 32 * this.blockSize;
- r[n >>> 5] |= 1 << 24 - n % 32, r[(t.ceil((n + 1) / o) * o >>> 5) - 1] |= 128, e.sigBytes = 4 * r.length, this._process();
- for (var s = this._state, a = this.cfg.outputLength / 8, f = a / 8, u = [], c = 0; c < f; c++) {
- var h = s[c],
- p = h.high,
- l = h.low;
- p = 16711935 & (p << 8 | p >>> 24) | 4278255360 & (p << 24 | p >>> 8), l = 16711935 & (l << 8 | l >>> 24) | 4278255360 & (l << 24 | l >>> 8), u.push(l), u.push(p)
- }
- return new i.init(u, a)
- },
- clone: function() {
- for (var t = o.clone.call(this), e = t._state = this._state.slice(0), r = 0; r < 25; r++) e[r] = e[r].clone();
- return t
- }
- });
- e.SHA3 = o._createHelper(p), e.HmacSHA3 = o._createHmacHelper(p)
- }(Math), n.SHA3)
- },
- 9557: function(t, e, r) {
- var n, i, o, s, a, f, u, c;
- t.exports = (c = r(9021), r(3240), r(1380), i = (n = c).x64, o = i.Word, s = i.WordArray, a = n.algo, f = a.SHA512, u = a.SHA384 = f.extend({
- _doReset: function() {
- this._hash = new s.init([new o.init(3418070365, 3238371032), new o.init(1654270250, 914150663), new o.init(2438529370, 812702999), new o.init(355462360, 4144912697), new o.init(1731405415, 4290775857), new o.init(2394180231, 1750603025), new o.init(3675008525, 1694076839), new o.init(1203062813, 3204075428)])
- },
- _doFinalize: function() {
- var t = f._doFinalize.call(this);
- return t.sigBytes -= 16, t
- }
- }), n.SHA384 = f._createHelper(u), n.HmacSHA384 = f._createHmacHelper(u), c.SHA384)
- },
- 1380: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(3240), function() {
- var t = n,
- e = t.lib.Hasher,
- r = t.x64,
- i = r.Word,
- o = r.WordArray,
- s = t.algo;
- function a() {
- return i.create.apply(i, arguments)
- }
- var f = [a(1116352408, 3609767458), a(1899447441, 602891725), a(3049323471, 3964484399), a(3921009573, 2173295548), a(961987163, 4081628472), a(1508970993, 3053834265), a(2453635748, 2937671579), a(2870763221, 3664609560), a(3624381080, 2734883394), a(310598401, 1164996542), a(607225278, 1323610764), a(1426881987, 3590304994), a(1925078388, 4068182383), a(2162078206, 991336113), a(2614888103, 633803317), a(3248222580, 3479774868), a(3835390401, 2666613458), a(4022224774, 944711139), a(264347078, 2341262773), a(604807628, 2007800933), a(770255983, 1495990901), a(1249150122, 1856431235), a(1555081692, 3175218132), a(1996064986, 2198950837), a(2554220882, 3999719339), a(2821834349, 766784016), a(2952996808, 2566594879), a(3210313671, 3203337956), a(3336571891, 1034457026), a(3584528711, 2466948901), a(113926993, 3758326383), a(338241895, 168717936), a(666307205, 1188179964), a(773529912, 1546045734), a(1294757372, 1522805485), a(1396182291, 2643833823), a(1695183700, 2343527390), a(1986661051, 1014477480), a(2177026350, 1206759142), a(2456956037, 344077627), a(2730485921, 1290863460), a(2820302411, 3158454273), a(3259730800, 3505952657), a(3345764771, 106217008), a(3516065817, 3606008344), a(3600352804, 1432725776), a(4094571909, 1467031594), a(275423344, 851169720), a(430227734, 3100823752), a(506948616, 1363258195), a(659060556, 3750685593), a(883997877, 3785050280), a(958139571, 3318307427), a(1322822218, 3812723403), a(1537002063, 2003034995), a(1747873779, 3602036899), a(1955562222, 1575990012), a(2024104815, 1125592928), a(2227730452, 2716904306), a(2361852424, 442776044), a(2428436474, 593698344), a(2756734187, 3733110249), a(3204031479, 2999351573), a(3329325298, 3815920427), a(3391569614, 3928383900), a(3515267271, 566280711), a(3940187606, 3454069534), a(4118630271, 4000239992), a(116418474, 1914138554), a(174292421, 2731055270), a(289380356, 3203993006), a(460393269, 320620315), a(685471733, 587496836), a(852142971, 1086792851), a(1017036298, 365543100), a(1126000580, 2618297676), a(1288033470, 3409855158), a(1501505948, 4234509866), a(1607167915, 987167468), a(1816402316, 1246189591)],
- u = [];
- ! function() {
- for (var t = 0; t < 80; t++) u[t] = a()
- }();
- var c = s.SHA512 = e.extend({
- _doReset: function() {
- this._hash = new o.init([new i.init(1779033703, 4089235720), new i.init(3144134277, 2227873595), new i.init(1013904242, 4271175723), new i.init(2773480762, 1595750129), new i.init(1359893119, 2917565137), new i.init(2600822924, 725511199), new i.init(528734635, 4215389547), new i.init(1541459225, 327033209)])
- },
- _doProcessBlock: function(t, e) {
- for (var r = this._hash.words, n = r[0], i = r[1], o = r[2], s = r[3], a = r[4], c = r[5], h = r[6], p = r[7], l = n.high, y = n.low, g = i.high, d = i.low, v = o.high, m = o.low, S = s.high, _ = s.low, b = a.high, E = a.low, w = c.high, O = c.low, B = h.high, A = h.low, x = p.high, P = p.low, T = l, I = y, k = g, D = d, R = v, N = m, L = S, C = _, U = b, M = E, j = w, H = O, F = B, z = A, G = x, q = P, $ = 0; $ < 80; $++) {
- var K = u[$];
- if ($ < 16) var W = K.high = 0 | t[e + 2 * $],
- V = K.low = 0 | t[e + 2 * $ + 1];
- else {
- var Y = u[$ - 15],
- X = Y.high,
- Z = Y.low,
- J = (X >>> 1 | Z << 31) ^ (X >>> 8 | Z << 24) ^ X >>> 7,
- Q = (Z >>> 1 | X << 31) ^ (Z >>> 8 | X << 24) ^ (Z >>> 7 | X << 25),
- tt = u[$ - 2],
- et = tt.high,
- rt = tt.low,
- nt = (et >>> 19 | rt << 13) ^ (et << 3 | rt >>> 29) ^ et >>> 6,
- it = (rt >>> 19 | et << 13) ^ (rt << 3 | et >>> 29) ^ (rt >>> 6 | et << 26),
- ot = u[$ - 7],
- st = ot.high,
- at = ot.low,
- ft = u[$ - 16],
- ut = ft.high,
- ct = ft.low;
- W = (W = (W = J + st + ((V = Q + at) >>> 0 < Q >>> 0 ? 1 : 0)) + nt + ((V += it) >>> 0 < it >>> 0 ? 1 : 0)) + ut + ((V += ct) >>> 0 < ct >>> 0 ? 1 : 0), K.high = W, K.low = V
- }
- var ht, pt = U & j ^ ~U & F,
- lt = M & H ^ ~M & z,
- yt = T & k ^ T & R ^ k & R,
- gt = I & D ^ I & N ^ D & N,
- dt = (T >>> 28 | I << 4) ^ (T << 30 | I >>> 2) ^ (T << 25 | I >>> 7),
- vt = (I >>> 28 | T << 4) ^ (I << 30 | T >>> 2) ^ (I << 25 | T >>> 7),
- mt = (U >>> 14 | M << 18) ^ (U >>> 18 | M << 14) ^ (U << 23 | M >>> 9),
- St = (M >>> 14 | U << 18) ^ (M >>> 18 | U << 14) ^ (M << 23 | U >>> 9),
- _t = f[$],
- bt = _t.high,
- Et = _t.low,
- wt = G + mt + ((ht = q + St) >>> 0 < q >>> 0 ? 1 : 0),
- Ot = vt + gt;
- G = F, q = z, F = j, z = H, j = U, H = M, U = L + (wt = (wt = (wt = wt + pt + ((ht += lt) >>> 0 < lt >>> 0 ? 1 : 0)) + bt + ((ht += Et) >>> 0 < Et >>> 0 ? 1 : 0)) + W + ((ht += V) >>> 0 < V >>> 0 ? 1 : 0)) + ((M = C + ht | 0) >>> 0 < C >>> 0 ? 1 : 0) | 0, L = R, C = N, R = k, N = D, k = T, D = I, T = wt + (dt + yt + (Ot >>> 0 < vt >>> 0 ? 1 : 0)) + ((I = ht + Ot | 0) >>> 0 < ht >>> 0 ? 1 : 0) | 0
- }
- y = n.low = y + I, n.high = l + T + (y >>> 0 < I >>> 0 ? 1 : 0), d = i.low = d + D, i.high = g + k + (d >>> 0 < D >>> 0 ? 1 : 0), m = o.low = m + N, o.high = v + R + (m >>> 0 < N >>> 0 ? 1 : 0), _ = s.low = _ + C, s.high = S + L + (_ >>> 0 < C >>> 0 ? 1 : 0), E = a.low = E + M, a.high = b + U + (E >>> 0 < M >>> 0 ? 1 : 0), O = c.low = O + H, c.high = w + j + (O >>> 0 < H >>> 0 ? 1 : 0), A = h.low = A + z, h.high = B + F + (A >>> 0 < z >>> 0 ? 1 : 0), P = p.low = P + q, p.high = x + G + (P >>> 0 < q >>> 0 ? 1 : 0)
- },
- _doFinalize: function() {
- var t = this._data,
- e = t.words,
- r = 8 * this._nDataBytes,
- n = 8 * t.sigBytes;
- return e[n >>> 5] |= 128 << 24 - n % 32, e[30 + (n + 128 >>> 10 << 5)] = Math.floor(r / 4294967296), e[31 + (n + 128 >>> 10 << 5)] = r, t.sigBytes = 4 * e.length, this._process(), this._hash.toX32()
- },
- clone: function() {
- var t = e.clone.call(this);
- return t._hash = this._hash.clone(), t
- },
- blockSize: 32
- });
- t.SHA512 = e._createHelper(c), t.HmacSHA512 = e._createHmacHelper(c)
- }(), n.SHA512)
- },
- 7628: function(t, e, r) {
- var n;
- t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
- var t = n,
- e = t.lib,
- r = e.WordArray,
- i = e.BlockCipher,
- o = t.algo,
- s = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4],
- a = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32],
- f = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28],
- u = [{
- 0: 8421888,
- 268435456: 32768,
- 536870912: 8421378,
- 805306368: 2,
- 1073741824: 512,
- 1342177280: 8421890,
- 1610612736: 8389122,
- 1879048192: 8388608,
- 2147483648: 514,
- 2415919104: 8389120,
- 2684354560: 33280,
- 2952790016: 8421376,
- 3221225472: 32770,
- 3489660928: 8388610,
- 3758096384: 0,
- 4026531840: 33282,
- 134217728: 0,
- 402653184: 8421890,
- 671088640: 33282,
- 939524096: 32768,
- 1207959552: 8421888,
- 1476395008: 512,
- 1744830464: 8421378,
- 2013265920: 2,
- 2281701376: 8389120,
- 2550136832: 33280,
- 2818572288: 8421376,
- 3087007744: 8389122,
- 3355443200: 8388610,
- 3623878656: 32770,
- 3892314112: 514,
- 4160749568: 8388608,
- 1: 32768,
- 268435457: 2,
- 536870913: 8421888,
- 805306369: 8388608,
- 1073741825: 8421378,
- 1342177281: 33280,
- 1610612737: 512,
- 1879048193: 8389122,
- 2147483649: 8421890,
- 2415919105: 8421376,
- 2684354561: 8388610,
- 2952790017: 33282,
- 3221225473: 514,
- 3489660929: 8389120,
- 3758096385: 32770,
- 4026531841: 0,
- 134217729: 8421890,
- 402653185: 8421376,
- 671088641: 8388608,
- 939524097: 512,
- 1207959553: 32768,
- 1476395009: 8388610,
- 1744830465: 2,
- 2013265921: 33282,
- 2281701377: 32770,
- 2550136833: 8389122,
- 2818572289: 514,
- 3087007745: 8421888,
- 3355443201: 8389120,
- 3623878657: 0,
- 3892314113: 33280,
- 4160749569: 8421378
- }, {
- 0: 1074282512,
- 16777216: 16384,
- 33554432: 524288,
- 50331648: 1074266128,
- 67108864: 1073741840,
- 83886080: 1074282496,
- 100663296: 1073758208,
- 117440512: 16,
- 134217728: 540672,
- 150994944: 1073758224,
- 167772160: 1073741824,
- 184549376: 540688,
- 201326592: 524304,
- 218103808: 0,
- 234881024: 16400,
- 251658240: 1074266112,
- 8388608: 1073758208,
- 25165824: 540688,
- 41943040: 16,
- 58720256: 1073758224,
- 75497472: 1074282512,
- 92274688: 1073741824,
- 109051904: 524288,
- 125829120: 1074266128,
- 142606336: 524304,
- 159383552: 0,
- 176160768: 16384,
- 192937984: 1074266112,
- 209715200: 1073741840,
- 226492416: 540672,
- 243269632: 1074282496,
- 260046848: 16400,
- 268435456: 0,
- 285212672: 1074266128,
- 301989888: 1073758224,
- 318767104: 1074282496,
- 335544320: 1074266112,
- 352321536: 16,
- 369098752: 540688,
- 385875968: 16384,
- 402653184: 16400,
- 419430400: 524288,
- 436207616: 524304,
- 452984832: 1073741840,
- 469762048: 540672,
- 486539264: 1073758208,
- 503316480: 1073741824,
- 520093696: 1074282512,
- 276824064: 540688,
- 293601280: 524288,
- 310378496: 1074266112,
- 327155712: 16384,
- 343932928: 1073758208,
- 360710144: 1074282512,
- 377487360: 16,
- 394264576: 1073741824,
- 411041792: 1074282496,
- 427819008: 1073741840,
- 444596224: 1073758224,
- 461373440: 524304,
- 478150656: 0,
- 494927872: 16400,
- 511705088: 1074266128,
- 528482304: 540672
- }, {
- 0: 260,
- 1048576: 0,
- 2097152: 67109120,
- 3145728: 65796,
- 4194304: 65540,
- 5242880: 67108868,
- 6291456: 67174660,
- 7340032: 67174400,
- 8388608: 67108864,
- 9437184: 67174656,
- 10485760: 65792,
- 11534336: 67174404,
- 12582912: 67109124,
- 13631488: 65536,
- 14680064: 4,
- 15728640: 256,
- 524288: 67174656,
- 1572864: 67174404,
- 2621440: 0,
- 3670016: 67109120,
- 4718592: 67108868,
- 5767168: 65536,
- 6815744: 65540,
- 7864320: 260,
- 8912896: 4,
- 9961472: 256,
- 11010048: 67174400,
- 12058624: 65796,
- 13107200: 65792,
- 14155776: 67109124,
- 15204352: 67174660,
- 16252928: 67108864,
- 16777216: 67174656,
- 17825792: 65540,
- 18874368: 65536,
- 19922944: 67109120,
- 20971520: 256,
- 22020096: 67174660,
- 23068672: 67108868,
- 24117248: 0,
- 25165824: 67109124,
- 26214400: 67108864,
- 27262976: 4,
- 28311552: 65792,
- 29360128: 67174400,
- 30408704: 260,
- 31457280: 65796,
- 32505856: 67174404,
- 17301504: 67108864,
- 18350080: 260,
- 19398656: 67174656,
- 20447232: 0,
- 21495808: 65540,
- 22544384: 67109120,
- 23592960: 256,
- 24641536: 67174404,
- 25690112: 65536,
- 26738688: 67174660,
- 27787264: 65796,
- 28835840: 67108868,
- 29884416: 67109124,
- 30932992: 67174400,
- 31981568: 4,
- 33030144: 65792
- }, {
- 0: 2151682048,
- 65536: 2147487808,
- 131072: 4198464,
- 196608: 2151677952,
- 262144: 0,
- 327680: 4198400,
- 393216: 2147483712,
- 458752: 4194368,
- 524288: 2147483648,
- 589824: 4194304,
- 655360: 64,
- 720896: 2147487744,
- 786432: 2151678016,
- 851968: 4160,
- 917504: 4096,
- 983040: 2151682112,
- 32768: 2147487808,
- 98304: 64,
- 163840: 2151678016,
- 229376: 2147487744,
- 294912: 4198400,
- 360448: 2151682112,
- 425984: 0,
- 491520: 2151677952,
- 557056: 4096,
- 622592: 2151682048,
- 688128: 4194304,
- 753664: 4160,
- 819200: 2147483648,
- 884736: 4194368,
- 950272: 4198464,
- 1015808: 2147483712,
- 1048576: 4194368,
- 1114112: 4198400,
- 1179648: 2147483712,
- 1245184: 0,
- 1310720: 4160,
- 1376256: 2151678016,
- 1441792: 2151682048,
- 1507328: 2147487808,
- 1572864: 2151682112,
- 1638400: 2147483648,
- 1703936: 2151677952,
- 1769472: 4198464,
- 1835008: 2147487744,
- 1900544: 4194304,
- 1966080: 64,
- 2031616: 4096,
- 1081344: 2151677952,
- 1146880: 2151682112,
- 1212416: 0,
- 1277952: 4198400,
- 1343488: 4194368,
- 1409024: 2147483648,
- 1474560: 2147487808,
- 1540096: 64,
- 1605632: 2147483712,
- 1671168: 4096,
- 1736704: 2147487744,
- 1802240: 2151678016,
- 1867776: 4160,
- 1933312: 2151682048,
- 1998848: 4194304,
- 2064384: 4198464
- }, {
- 0: 128,
- 4096: 17039360,
- 8192: 262144,
- 12288: 536870912,
- 16384: 537133184,
- 20480: 16777344,
- 24576: 553648256,
- 28672: 262272,
- 32768: 16777216,
- 36864: 537133056,
- 40960: 536871040,
- 45056: 553910400,
- 49152: 553910272,
- 53248: 0,
- 57344: 17039488,
- 61440: 553648128,
- 2048: 17039488,
- 6144: 553648256,
- 10240: 128,
- 14336: 17039360,
- 18432: 262144,
- 22528: 537133184,
- 26624: 553910272,
- 30720: 536870912,
- 34816: 537133056,
- 38912: 0,
- 43008: 553910400,
- 47104: 16777344,
- 51200: 536871040,
- 55296: 553648128,
- 59392: 16777216,
- 63488: 262272,
- 65536: 262144,
- 69632: 128,
- 73728: 536870912,
- 77824: 553648256,
- 81920: 16777344,
- 86016: 553910272,
- 90112: 537133184,
- 94208: 16777216,
- 98304: 553910400,
- 102400: 553648128,
- 106496: 17039360,
- 110592: 537133056,
- 114688: 262272,
- 118784: 536871040,
- 122880: 0,
- 126976: 17039488,
- 67584: 553648256,
- 71680: 16777216,
- 75776: 17039360,
- 79872: 537133184,
- 83968: 536870912,
- 88064: 17039488,
- 92160: 128,
- 96256: 553910272,
- 100352: 262272,
- 104448: 553910400,
- 108544: 0,
- 112640: 553648128,
- 116736: 16777344,
- 120832: 262144,
- 124928: 537133056,
- 129024: 536871040
- }, {
- 0: 268435464,
- 256: 8192,
- 512: 270532608,
- 768: 270540808,
- 1024: 268443648,
- 1280: 2097152,
- 1536: 2097160,
- 1792: 268435456,
- 2048: 0,
- 2304: 268443656,
- 2560: 2105344,
- 2816: 8,
- 3072: 270532616,
- 3328: 2105352,
- 3584: 8200,
- 3840: 270540800,
- 128: 270532608,
- 384: 270540808,
- 640: 8,
- 896: 2097152,
- 1152: 2105352,
- 1408: 268435464,
- 1664: 268443648,
- 1920: 8200,
- 2176: 2097160,
- 2432: 8192,
- 2688: 268443656,
- 2944: 270532616,
- 3200: 0,
- 3456: 270540800,
- 3712: 2105344,
- 3968: 268435456,
- 4096: 268443648,
- 4352: 270532616,
- 4608: 270540808,
- 4864: 8200,
- 5120: 2097152,
- 5376: 268435456,
- 5632: 268435464,
- 5888: 2105344,
- 6144: 2105352,
- 6400: 0,
- 6656: 8,
- 6912: 270532608,
- 7168: 8192,
- 7424: 268443656,
- 7680: 270540800,
- 7936: 2097160,
- 4224: 8,
- 4480: 2105344,
- 4736: 2097152,
- 4992: 268435464,
- 5248: 268443648,
- 5504: 8200,
- 5760: 270540808,
- 6016: 270532608,
- 6272: 270540800,
- 6528: 270532616,
- 6784: 8192,
- 7040: 2105352,
- 7296: 2097160,
- 7552: 0,
- 7808: 268435456,
- 8064: 268443656
- }, {
- 0: 1048576,
- 16: 33555457,
- 32: 1024,
- 48: 1049601,
- 64: 34604033,
- 80: 0,
- 96: 1,
- 112: 34603009,
- 128: 33555456,
- 144: 1048577,
- 160: 33554433,
- 176: 34604032,
- 192: 34603008,
- 208: 1025,
- 224: 1049600,
- 240: 33554432,
- 8: 34603009,
- 24: 0,
- 40: 33555457,
- 56: 34604032,
- 72: 1048576,
- 88: 33554433,
- 104: 33554432,
- 120: 1025,
- 136: 1049601,
- 152: 33555456,
- 168: 34603008,
- 184: 1048577,
- 200: 1024,
- 216: 34604033,
- 232: 1,
- 248: 1049600,
- 256: 33554432,
- 272: 1048576,
- 288: 33555457,
- 304: 34603009,
- 320: 1048577,
- 336: 33555456,
- 352: 34604032,
- 368: 1049601,
- 384: 1025,
- 400: 34604033,
- 416: 1049600,
- 432: 1,
- 448: 0,
- 464: 34603008,
- 480: 33554433,
- 496: 1024,
- 264: 1049600,
- 280: 33555457,
- 296: 34603009,
- 312: 1,
- 328: 33554432,
- 344: 1048576,
- 360: 1025,
- 376: 34604032,
- 392: 33554433,
- 408: 34603008,
- 424: 0,
- 440: 34604033,
- 456: 1049601,
- 472: 1024,
- 488: 33555456,
- 504: 1048577
- }, {
- 0: 134219808,
- 1: 131072,
- 2: 134217728,
- 3: 32,
- 4: 131104,
- 5: 134350880,
- 6: 134350848,
- 7: 2048,
- 8: 134348800,
- 9: 134219776,
- 10: 133120,
- 11: 134348832,
- 12: 2080,
- 13: 0,
- 14: 134217760,
- 15: 133152,
- 2147483648: 2048,
- 2147483649: 134350880,
- 2147483650: 134219808,
- 2147483651: 134217728,
- 2147483652: 134348800,
- 2147483653: 133120,
- 2147483654: 133152,
- 2147483655: 32,
- 2147483656: 134217760,
- 2147483657: 2080,
- 2147483658: 131104,
- 2147483659: 134350848,
- 2147483660: 0,
- 2147483661: 134348832,
- 2147483662: 134219776,
- 2147483663: 131072,
- 16: 133152,
- 17: 134350848,
- 18: 32,
- 19: 2048,
- 20: 134219776,
- 21: 134217760,
- 22: 134348832,
- 23: 131072,
- 24: 0,
- 25: 131104,
- 26: 134348800,
- 27: 134219808,
- 28: 134350880,
- 29: 133120,
- 30: 2080,
- 31: 134217728,
- 2147483664: 131072,
- 2147483665: 2048,
- 2147483666: 134348832,
- 2147483667: 133152,
- 2147483668: 32,
- 2147483669: 134348800,
- 2147483670: 134217728,
- 2147483671: 134219808,
- 2147483672: 134350880,
- 2147483673: 134217760,
- 2147483674: 134219776,
- 2147483675: 0,
- 2147483676: 133120,
- 2147483677: 2080,
- 2147483678: 131104,
- 2147483679: 134350848
- }],
- c = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679],
- h = o.DES = i.extend({
- _doReset: function() {
- for (var t = this._key.words, e = [], r = 0; r < 56; r++) {
- var n = s[r] - 1;
- e[r] = t[n >>> 5] >>> 31 - n % 32 & 1
- }
- for (var i = this._subKeys = [], o = 0; o < 16; o++) {
- var u = i[o] = [],
- c = f[o];
- for (r = 0; r < 24; r++) u[r / 6 | 0] |= e[(a[r] - 1 + c) % 28] << 31 - r % 6, u[4 + (r / 6 | 0)] |= e[28 + (a[r + 24] - 1 + c) % 28] << 31 - r % 6;
- for (u[0] = u[0] << 1 | u[0] >>> 31, r = 1; r < 7; r++) u[r] = u[r] >>> 4 * (r - 1) + 3;
- u[7] = u[7] << 5 | u[7] >>> 27
- }
- var h = this._invSubKeys = [];
- for (r = 0; r < 16; r++) h[r] = i[15 - r]
- },
- encryptBlock: function(t, e) {
- this._doCryptBlock(t, e, this._subKeys)
- },
- decryptBlock: function(t, e) {
- this._doCryptBlock(t, e, this._invSubKeys)
- },
- _doCryptBlock: function(t, e, r) {
- this._lBlock = t[e], this._rBlock = t[e + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), p.call(this, 1, 1431655765);
- for (var n = 0; n < 16; n++) {
- for (var i = r[n], o = this._lBlock, s = this._rBlock, a = 0, f = 0; f < 8; f++) a |= u[f][((s ^ i[f]) & c[f]) >>> 0];
- this._lBlock = s, this._rBlock = o ^ a
- }
- var h = this._lBlock;
- this._lBlock = this._rBlock, this._rBlock = h, p.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), t[e] = this._lBlock, t[e + 1] = this._rBlock
- },
- keySize: 2,
- ivSize: 2,
- blockSize: 2
- });
- function p(t, e) {
- var r = (this._lBlock >>> t ^ this._rBlock) & e;
- this._rBlock ^= r, this._lBlock ^= r << t
- }
- function l(t, e) {
- var r = (this._rBlock >>> t ^ this._lBlock) & e;
- this._lBlock ^= r, this._rBlock ^= r << t
- }
- t.DES = i._createHelper(h);
- var y = o.TripleDES = i.extend({
- _doReset: function() {
- var t = this._key.words;
- this._des1 = h.createEncryptor(r.create(t.slice(0, 2))), this._des2 = h.createEncryptor(r.create(t.slice(2, 4))), this._des3 = h.createEncryptor(r.create(t.slice(4, 6)))
- },
- encryptBlock: function(t, e) {
- this._des1.encryptBlock(t, e), this._des2.decryptBlock(t, e), this._des3.encryptBlock(t, e)
- },
- decryptBlock: function(t, e) {
- this._des3.decryptBlock(t, e), this._des2.encryptBlock(t, e), this._des1.decryptBlock(t, e)
- },
- keySize: 6,
- ivSize: 2,
- blockSize: 2
- });
- t.TripleDES = i._createHelper(y)
- }(), n.TripleDES)
- },
- 3240: function(t, e, r) {
- var n, i, o, s, a, f;
- t.exports = (n = r(9021), o = (i = n).lib, s = o.Base, a = o.WordArray, (f = i.x64 = {}).Word = s.extend({
- init: function(t, e) {
- this.high = t, this.low = e
- }
- }), f.WordArray = s.extend({
- init: function(t, e) {
- t = this.words = t || [], this.sigBytes = null != e ? e : 8 * t.length
- },
- toX32: function() {
- for (var t = this.words, e = t.length, r = [], n = 0; n < e; n++) {
- var i = t[n];
- r.push(i.high), r.push(i.low)
- }
- return a.create(r, this.sigBytes)
- },
- clone: function() {
- for (var t = s.clone.call(this), e = t.words = this.words.slice(0), r = e.length, n = 0; n < r; n++) e[n] = e[n].clone();
- return t
- }
- }), n)
- },
- 41: (t, e, r) => {
- "use strict";
- var n = r(655),
- i = r(8068),
- o = r(9675),
- s = r(5795);
- t.exports = function(t, e, r) {
- if (!t || "object" != typeof t && "function" != typeof t) throw new o("`obj` must be an object or a function`");
- if ("string" != typeof e && "symbol" != typeof e) throw new o("`property` must be a string or a symbol`");
- if (arguments.length > 3 && "boolean" != typeof arguments[3] && null !== arguments[3]) throw new o("`nonEnumerable`, if provided, must be a boolean or null");
- if (arguments.length > 4 && "boolean" != typeof arguments[4] && null !== arguments[4]) throw new o("`nonWritable`, if provided, must be a boolean or null");
- if (arguments.length > 5 && "boolean" != typeof arguments[5] && null !== arguments[5]) throw new o("`nonConfigurable`, if provided, must be a boolean or null");
- if (arguments.length > 6 && "boolean" != typeof arguments[6]) throw new o("`loose`, if provided, must be a boolean");
- var a = arguments.length > 3 ? arguments[3] : null,
- f = arguments.length > 4 ? arguments[4] : null,
- u = arguments.length > 5 ? arguments[5] : null,
- c = arguments.length > 6 && arguments[6],
- h = !!s && s(t, e);
- if (n) n(t, e, {
- configurable: null === u && h ? h.configurable : !u,
- enumerable: null === a && h ? h.enumerable : !a,
- value: r,
- writable: null === f && h ? h.writable : !f
- });
- else {
- if (!c && (a || f || u)) throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
- t[e] = r
- }
- }
- },
- 655: (t, e, r) => {
- "use strict";
- var n = r(453)("%Object.defineProperty%", !0) || !1;
- if (n) try {
- n({}, "a", {
- value: 1
- })
- } catch (t) {
- n = !1
- }
- t.exports = n
- },
- 1237: t => {
- "use strict";
- t.exports = EvalError
- },
- 9383: t => {
- "use strict";
- t.exports = Error
- },
- 9290: t => {
- "use strict";
- t.exports = RangeError
- },
- 9538: t => {
- "use strict";
- t.exports = ReferenceError
- },
- 8068: t => {
- "use strict";
- t.exports = SyntaxError
- },
- 9675: t => {
- "use strict";
- t.exports = TypeError
- },
- 5345: t => {
- "use strict";
- t.exports = URIError
- },
- 9353: t => {
- "use strict";
- var e = Object.prototype.toString,
- r = Math.max,
- n = function(t, e) {
- for (var r = [], n = 0; n < t.length; n += 1) r[n] = t[n];
- for (var i = 0; i < e.length; i += 1) r[i + t.length] = e[i];
- return r
- };
- t.exports = function(t) {
- var i = this;
- if ("function" != typeof i || "[object Function]" !== e.apply(i)) throw new TypeError("Function.prototype.bind called on incompatible " + i);
- for (var o, s = function(t, e) {
- for (var r = [], n = 1, i = 0; n < t.length; n += 1, i += 1) r[i] = t[n];
- return r
- }(arguments), a = r(0, i.length - s.length), f = [], u = 0; u < a; u++) f[u] = "$" + u;
- if (o = Function("binder", "return function (" + function(t, e) {
- for (var r = "", n = 0; n < t.length; n += 1) r += t[n], n + 1 < t.length && (r += ",");
- return r
- }(f) + "){ return binder.apply(this,arguments); }")((function() {
- if (this instanceof o) {
- var e = i.apply(this, n(s, arguments));
- return Object(e) === e ? e : this
- }
- return i.apply(t, n(s, arguments))
- })), i.prototype) {
- var c = function() {};
- c.prototype = i.prototype, o.prototype = new c, c.prototype = null
- }
- return o
- }
- },
- 6743: (t, e, r) => {
- "use strict";
- var n = r(9353);
- t.exports = Function.prototype.bind || n
- },
- 453: (t, e, r) => {
- "use strict";
- var n, i = r(9383),
- o = r(1237),
- s = r(9290),
- a = r(9538),
- f = r(8068),
- u = r(9675),
- c = r(5345),
- h = Function,
- p = function(t) {
- try {
- return h('"use strict"; return (' + t + ").constructor;")()
- } catch (t) {}
- },
- l = Object.getOwnPropertyDescriptor;
- if (l) try {
- l({}, "")
- } catch (t) {
- l = null
- }
- var y = function() {
- throw new u
- },
- g = l ? function() {
- try {
- return y
- } catch (t) {
- try {
- return l(arguments, "callee").get
- } catch (t) {
- return y
- }
- }
- }() : y,
- d = r(4039)(),
- v = r(24)(),
- m = Object.getPrototypeOf || (v ? function(t) {
- return t.__proto__
- } : null),
- S = {},
- _ = "undefined" != typeof Uint8Array && m ? m(Uint8Array) : n,
- b = {
- __proto__: null,
- "%AggregateError%": "undefined" == typeof AggregateError ? n : AggregateError,
- "%Array%": Array,
- "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? n : ArrayBuffer,
- "%ArrayIteratorPrototype%": d && m ? m([][Symbol.iterator]()) : n,
- "%AsyncFromSyncIteratorPrototype%": n,
- "%AsyncFunction%": S,
- "%AsyncGenerator%": S,
- "%AsyncGeneratorFunction%": S,
- "%AsyncIteratorPrototype%": S,
- "%Atomics%": "undefined" == typeof Atomics ? n : Atomics,
- "%BigInt%": "undefined" == typeof BigInt ? n : BigInt,
- "%BigInt64Array%": "undefined" == typeof BigInt64Array ? n : BigInt64Array,
- "%BigUint64Array%": "undefined" == typeof BigUint64Array ? n : BigUint64Array,
- "%Boolean%": Boolean,
- "%DataView%": "undefined" == typeof DataView ? n : DataView,
- "%Date%": Date,
- "%decodeURI%": decodeURI,
- "%decodeURIComponent%": decodeURIComponent,
- "%encodeURI%": encodeURI,
- "%encodeURIComponent%": encodeURIComponent,
- "%Error%": i,
- "%eval%": eval,
- "%EvalError%": o,
- "%Float32Array%": "undefined" == typeof Float32Array ? n : Float32Array,
- "%Float64Array%": "undefined" == typeof Float64Array ? n : Float64Array,
- "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? n : FinalizationRegistry,
- "%Function%": h,
- "%GeneratorFunction%": S,
- "%Int8Array%": "undefined" == typeof Int8Array ? n : Int8Array,
- "%Int16Array%": "undefined" == typeof Int16Array ? n : Int16Array,
- "%Int32Array%": "undefined" == typeof Int32Array ? n : Int32Array,
- "%isFinite%": isFinite,
- "%isNaN%": isNaN,
- "%IteratorPrototype%": d && m ? m(m([][Symbol.iterator]())) : n,
- "%JSON%": "object" == typeof JSON ? JSON : n,
- "%Map%": "undefined" == typeof Map ? n : Map,
- "%MapIteratorPrototype%": "undefined" != typeof Map && d && m ? m((new Map)[Symbol.iterator]()) : n,
- "%Math%": Math,
- "%Number%": Number,
- "%Object%": Object,
- "%parseFloat%": parseFloat,
- "%parseInt%": parseInt,
- "%Promise%": "undefined" == typeof Promise ? n : Promise,
- "%Proxy%": "undefined" == typeof Proxy ? n : Proxy,
- "%RangeError%": s,
- "%ReferenceError%": a,
- "%Reflect%": "undefined" == typeof Reflect ? n : Reflect,
- "%RegExp%": RegExp,
- "%Set%": "undefined" == typeof Set ? n : Set,
- "%SetIteratorPrototype%": "undefined" != typeof Set && d && m ? m((new Set)[Symbol.iterator]()) : n,
- "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? n : SharedArrayBuffer,
- "%String%": String,
- "%StringIteratorPrototype%": d && m ? m("" [Symbol.iterator]()) : n,
- "%Symbol%": d ? Symbol : n,
- "%SyntaxError%": f,
- "%ThrowTypeError%": g,
- "%TypedArray%": _,
- "%TypeError%": u,
- "%Uint8Array%": "undefined" == typeof Uint8Array ? n : Uint8Array,
- "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? n : Uint8ClampedArray,
- "%Uint16Array%": "undefined" == typeof Uint16Array ? n : Uint16Array,
- "%Uint32Array%": "undefined" == typeof Uint32Array ? n : Uint32Array,
- "%URIError%": c,
- "%WeakMap%": "undefined" == typeof WeakMap ? n : WeakMap,
- "%WeakRef%": "undefined" == typeof WeakRef ? n : WeakRef,
- "%WeakSet%": "undefined" == typeof WeakSet ? n : WeakSet
- };
- if (m) try {
- null.error
- } catch (t) {
- var E = m(m(t));
- b["%Error.prototype%"] = E
- }
- var w = function t(e) {
- var r;
- if ("%AsyncFunction%" === e) r = p("async function () {}");
- else if ("%GeneratorFunction%" === e) r = p("function* () {}");
- else if ("%AsyncGeneratorFunction%" === e) r = p("async function* () {}");
- else if ("%AsyncGenerator%" === e) {
- var n = t("%AsyncGeneratorFunction%");
- n && (r = n.prototype)
- } else if ("%AsyncIteratorPrototype%" === e) {
- var i = t("%AsyncGenerator%");
- i && m && (r = m(i.prototype))
- }
- return b[e] = r, r
- },
- O = {
- __proto__: null,
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
- "%ArrayPrototype%": ["Array", "prototype"],
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
- "%ArrayProto_values%": ["Array", "prototype", "values"],
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
- "%BooleanPrototype%": ["Boolean", "prototype"],
- "%DataViewPrototype%": ["DataView", "prototype"],
- "%DatePrototype%": ["Date", "prototype"],
- "%ErrorPrototype%": ["Error", "prototype"],
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
- "%FunctionPrototype%": ["Function", "prototype"],
- "%Generator%": ["GeneratorFunction", "prototype"],
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
- "%JSONParse%": ["JSON", "parse"],
- "%JSONStringify%": ["JSON", "stringify"],
- "%MapPrototype%": ["Map", "prototype"],
- "%NumberPrototype%": ["Number", "prototype"],
- "%ObjectPrototype%": ["Object", "prototype"],
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
- "%PromisePrototype%": ["Promise", "prototype"],
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
- "%Promise_all%": ["Promise", "all"],
- "%Promise_reject%": ["Promise", "reject"],
- "%Promise_resolve%": ["Promise", "resolve"],
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
- "%RegExpPrototype%": ["RegExp", "prototype"],
- "%SetPrototype%": ["Set", "prototype"],
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
- "%StringPrototype%": ["String", "prototype"],
- "%SymbolPrototype%": ["Symbol", "prototype"],
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
- "%URIErrorPrototype%": ["URIError", "prototype"],
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
- },
- B = r(6743),
- A = r(9957),
- x = B.call(Function.call, Array.prototype.concat),
- P = B.call(Function.apply, Array.prototype.splice),
- T = B.call(Function.call, String.prototype.replace),
- I = B.call(Function.call, String.prototype.slice),
- k = B.call(Function.call, RegExp.prototype.exec),
- D = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
- R = /\\(\\)?/g,
- N = function(t, e) {
- var r, n = t;
- if (A(O, n) && (n = "%" + (r = O[n])[0] + "%"), A(b, n)) {
- var i = b[n];
- if (i === S && (i = w(n)), void 0 === i && !e) throw new u("intrinsic " + t + " exists, but is not available. Please file an issue!");
- return {
- alias: r,
- name: n,
- value: i
- }
- }
- throw new f("intrinsic " + t + " does not exist!")
- };
- t.exports = function(t, e) {
- if ("string" != typeof t || 0 === t.length) throw new u("intrinsic name must be a non-empty string");
- if (arguments.length > 1 && "boolean" != typeof e) throw new u('"allowMissing" argument must be a boolean');
- if (null === k(/^%?[^%]*%?$/, t)) throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
- var r = function(t) {
- var e = I(t, 0, 1),
- r = I(t, -1);
- if ("%" === e && "%" !== r) throw new f("invalid intrinsic syntax, expected closing `%`");
- if ("%" === r && "%" !== e) throw new f("invalid intrinsic syntax, expected opening `%`");
- var n = [];
- return T(t, D, (function(t, e, r, i) {
- n[n.length] = r ? T(i, R, "$1") : e || t
- })), n
- }(t),
- n = r.length > 0 ? r[0] : "",
- i = N("%" + n + "%", e),
- o = i.name,
- s = i.value,
- a = !1,
- c = i.alias;
- c && (n = c[0], P(r, x([0, 1], c)));
- for (var h = 1, p = !0; h < r.length; h += 1) {
- var y = r[h],
- g = I(y, 0, 1),
- d = I(y, -1);
- if (('"' === g || "'" === g || "`" === g || '"' === d || "'" === d || "`" === d) && g !== d) throw new f("property names with quotes must have matching quotes");
- if ("constructor" !== y && p || (a = !0), A(b, o = "%" + (n += "." + y) + "%")) s = b[o];
- else if (null != s) {
- if (!(y in s)) {
- if (!e) throw new u("base intrinsic for " + t + " exists, but the property is not available.");
- return
- }
- if (l && h + 1 >= r.length) {
- var v = l(s, y);
- s = (p = !!v) && "get" in v && !("originalValue" in v.get) ? v.get : s[y]
- } else p = A(s, y), s = s[y];
- p && !a && (b[o] = s)
- }
- }
- return s
- }
- },
- 5795: (t, e, r) => {
- "use strict";
- var n = r(453)("%Object.getOwnPropertyDescriptor%", !0);
- if (n) try {
- n([], "length")
- } catch (t) {
- n = null
- }
- t.exports = n
- },
- 592: (t, e, r) => {
- "use strict";
- var n = r(655),
- i = function() {
- return !!n
- };
- i.hasArrayLengthDefineBug = function() {
- if (!n) return null;
- try {
- return 1 !== n([], "length", {
- value: 1
- }).length
- } catch (t) {
- return !0
- }
- }, t.exports = i
- },
- 24: t => {
- "use strict";
- var e = {
- __proto__: null,
- foo: {}
- },
- r = Object;
- t.exports = function() {
- return {
- __proto__: e
- }.foo === e.foo && !(e instanceof r)
- }
- },
- 4039: (t, e, r) => {
- "use strict";
- var n = "undefined" != typeof Symbol && Symbol,
- i = r(1333);
- t.exports = function() {
- return "function" == typeof n && "function" == typeof Symbol && "symbol" == typeof n("foo") && "symbol" == typeof Symbol("bar") && i()
- }
- },
- 1333: t => {
- "use strict";
- t.exports = function() {
- if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1;
- if ("symbol" == typeof Symbol.iterator) return !0;
- var t = {},
- e = Symbol("test"),
- r = Object(e);
- if ("string" == typeof e) return !1;
- if ("[object Symbol]" !== Object.prototype.toString.call(e)) return !1;
- if ("[object Symbol]" !== Object.prototype.toString.call(r)) return !1;
- for (e in t[e] = 42, t) return !1;
- if ("function" == typeof Object.keys && 0 !== Object.keys(t).length) return !1;
- if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(t).length) return !1;
- var n = Object.getOwnPropertySymbols(t);
- if (1 !== n.length || n[0] !== e) return !1;
- if (!Object.prototype.propertyIsEnumerable.call(t, e)) return !1;
- if ("function" == typeof Object.getOwnPropertyDescriptor) {
- var i = Object.getOwnPropertyDescriptor(t, e);
- if (42 !== i.value || !0 !== i.enumerable) return !1
- }
- return !0
- }
- },
- 9957: (t, e, r) => {
- "use strict";
- var n = Function.prototype.call,
- i = Object.prototype.hasOwnProperty,
- o = r(6743);
- t.exports = o.call(n, i)
- },
- 251: (t, e) => {
- e.read = function(t, e, r, n, i) {
- var o, s, a = 8 * i - n - 1,
- f = (1 << a) - 1,
- u = f >> 1,
- c = -7,
- h = r ? i - 1 : 0,
- p = r ? -1 : 1,
- l = t[e + h];
- for (h += p, o = l & (1 << -c) - 1, l >>= -c, c += a; c > 0; o = 256 * o + t[e + h], h += p, c -= 8);
- for (s = o & (1 << -c) - 1, o >>= -c, c += n; c > 0; s = 256 * s + t[e + h], h += p, c -= 8);
- if (0 === o) o = 1 - u;
- else {
- if (o === f) return s ? NaN : 1 / 0 * (l ? -1 : 1);
- s += Math.pow(2, n), o -= u
- }
- return (l ? -1 : 1) * s * Math.pow(2, o - n)
- }, e.write = function(t, e, r, n, i, o) {
- var s, a, f, u = 8 * o - i - 1,
- c = (1 << u) - 1,
- h = c >> 1,
- p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
- l = n ? 0 : o - 1,
- y = n ? 1 : -1,
- g = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0;
- for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s = c) : (s = Math.floor(Math.log(e) / Math.LN2), e * (f = Math.pow(2, -s)) < 1 && (s--, f *= 2), (e += s + h >= 1 ? p / f : p * Math.pow(2, 1 - h)) * f >= 2 && (s++, f /= 2), s + h >= c ? (a = 0, s = c) : s + h >= 1 ? (a = (e * f - 1) * Math.pow(2, i), s += h) : (a = e * Math.pow(2, h - 1) * Math.pow(2, i), s = 0)); i >= 8; t[r + l] = 255 & a, l += y, a /= 256, i -= 8);
- for (s = s << i | a, u += i; u > 0; t[r + l] = 255 & s, l += y, s /= 256, u -= 8);
- t[r + l - y] |= 128 * g
- }
- },
- 3229: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(7449),
- o = r(5682),
- s = (r(3200), r(3100).Ber, r(8226)._),
- a = r(8226),
- f = r(1768),
- u = r(7460);
- void 0 === i.RSA_NO_PADDING && (i.RSA_NO_PADDING = 3), t.exports = function() {
- var t = {
- node10: ["md4", "md5", "ripemd160", "sha1", "sha224", "sha256", "sha384", "sha512"],
- node: ["md4", "md5", "ripemd160", "sha1", "sha224", "sha256", "sha384", "sha512"],
- iojs: ["md4", "md5", "ripemd160", "sha1", "sha224", "sha256", "sha384", "sha512"],
- browser: ["md5", "ripemd160", "sha1", "sha256", "sha512"]
- },
- e = "pkcs1_oaep",
- r = "pkcs1",
- i = {
- private: "pkcs1-private-pem",
- "private-der": "pkcs1-private-der",
- public: "pkcs8-public-pem",
- "public-der": "pkcs8-public-der"
- };
- function c(t, i, f) {
- if (!(this instanceof c)) return new c(t, i, f);
- s.isObject(i) && (f = i, i = void 0), this.$options = {
- signingScheme: r,
- signingSchemeOptions: {
- hash: "sha256",
- saltLength: null
- },
- encryptionScheme: e,
- encryptionSchemeOptions: {
- hash: "sha1",
- label: null
- },
- environment: a.detectEnvironment(),
- rsaUtils: this
- }, this.keyPair = new o.Key, this.$cache = {}, n.isBuffer(t) || s.isString(t) ? this.importKey(t, i) : s.isObject(t) && this.generateKeyPair(t.b, t.e), this.setOptions(f)
- }
- return c.prototype.setOptions = function(n) {
- if ((n = n || {}).environment && (this.$options.environment = n.environment), n.signingScheme) {
- if (s.isString(n.signingScheme)) {
- var i = n.signingScheme.toLowerCase().split("-");
- 1 == i.length ? t.node.indexOf(i[0]) > -1 ? (this.$options.signingSchemeOptions = {
- hash: i[0]
- }, this.$options.signingScheme = r) : (this.$options.signingScheme = i[0], this.$options.signingSchemeOptions = {
- hash: null
- }) : (this.$options.signingSchemeOptions = {
- hash: i[1]
- }, this.$options.signingScheme = i[0])
- } else s.isObject(n.signingScheme) && (this.$options.signingScheme = n.signingScheme.scheme || r, this.$options.signingSchemeOptions = s.omit(n.signingScheme, "scheme"));
- if (!f.isSignature(this.$options.signingScheme)) throw Error("Unsupported signing scheme");
- if (this.$options.signingSchemeOptions.hash && -1 === t[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash)) throw Error("Unsupported hashing algorithm for " + this.$options.environment + " environment")
- }
- if (n.encryptionScheme) {
- if (s.isString(n.encryptionScheme) ? (this.$options.encryptionScheme = n.encryptionScheme.toLowerCase(), this.$options.encryptionSchemeOptions = {}) : s.isObject(n.encryptionScheme) && (this.$options.encryptionScheme = n.encryptionScheme.scheme || e, this.$options.encryptionSchemeOptions = s.omit(n.encryptionScheme, "scheme")), !f.isEncryption(this.$options.encryptionScheme)) throw Error("Unsupported encryption scheme");
- if (this.$options.encryptionSchemeOptions.hash && -1 === t[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash)) throw Error("Unsupported hashing algorithm for " + this.$options.environment + " environment")
- }
- this.keyPair.setOptions(this.$options)
- }, c.prototype.generateKeyPair = function(t, e) {
- if (e = e || 65537, (t = t || 2048) % 8 != 0) throw Error("Key size must be a multiple of 8.");
- return this.keyPair.generate(t, e.toString(16)), this.$cache = {}, this
- }, c.prototype.importKey = function(t, e) {
- if (!t) throw Error("Empty key given");
- if (e && (e = i[e] || e), !u.detectAndImport(this.keyPair, t, e) && void 0 === e) throw Error("Key format must be specified");
- return this.$cache = {}, this
- }, c.prototype.exportKey = function(t) {
- return t = i[t = t || "private"] || t, this.$cache[t] || (this.$cache[t] = u.detectAndExport(this.keyPair, t)), this.$cache[t]
- }, c.prototype.isPrivate = function() {
- return this.keyPair.isPrivate()
- }, c.prototype.isPublic = function(t) {
- return this.keyPair.isPublic(t)
- }, c.prototype.isEmpty = function(t) {
- return !(this.keyPair.n || this.keyPair.e || this.keyPair.d)
- }, c.prototype.encrypt = function(t, e, r) {
- return this.$$encryptKey(!1, t, e, r)
- }, c.prototype.decrypt = function(t, e) {
- return this.$$decryptKey(!1, t, e)
- }, c.prototype.encryptPrivate = function(t, e, r) {
- return this.$$encryptKey(!0, t, e, r)
- }, c.prototype.decryptPublic = function(t, e) {
- return this.$$decryptKey(!0, t, e)
- }, c.prototype.$$encryptKey = function(t, e, r, n) {
- try {
- var i = this.keyPair.encrypt(this.$getDataForEncrypt(e, n), t);
- return "buffer" != r && r ? i.toString(r) : i
- } catch (t) {
- throw Error("Error during encryption. Original error: " + t)
- }
- }, c.prototype.$$decryptKey = function(t, e, r) {
- try {
- e = s.isString(e) ? n.from(e, "base64") : e;
- var i = this.keyPair.decrypt(e, t);
- if (null === i) throw Error("Key decrypt method returns null.");
- return this.$getDecryptedData(i, r)
- } catch (t) {
- throw Error("Error during decryption (probably incorrect key). Original error: " + t)
- }
- }, c.prototype.sign = function(t, e, r) {
- if (!this.isPrivate()) throw Error("This is not private key");
- var n = this.keyPair.sign(this.$getDataForEncrypt(t, r));
- return e && "buffer" != e && (n = n.toString(e)), n
- }, c.prototype.verify = function(t, e, r, n) {
- if (!this.isPublic()) throw Error("This is not public key");
- return n = n && "buffer" != n ? n : null, this.keyPair.verify(this.$getDataForEncrypt(t, r), e, n)
- }, c.prototype.getKeySize = function() {
- return this.keyPair.keySize
- }, c.prototype.getMaxMessageSize = function() {
- return this.keyPair.maxMessageLength
- }, c.prototype.$getDataForEncrypt = function(t, e) {
- if (s.isString(t) || s.isNumber(t)) return n.from("" + t, e || "utf8");
- if (n.isBuffer(t)) return t;
- if (s.isObject(t)) return n.from(JSON.stringify(t));
- throw Error("Unexpected data type")
- }, c.prototype.$getDecryptedData = function(t, e) {
- return "buffer" == (e = e || "buffer") ? t : "json" == e ? JSON.parse(t.toString()) : t.toString(e)
- }, c
- }()
- },
- 4538: (t, e, r) => {
- var n = r(3200);
- t.exports = {
- getEngine: function(t, e) {
- var i = r(7469);
- return "node" === e.environment && "function" == typeof n.publicEncrypt && "function" == typeof n.privateDecrypt && (i = "function" == typeof n.privateEncrypt && "function" == typeof n.publicDecrypt ? r(2418) : r(1957)), i(t, e)
- }
- }
- },
- 2418: (t, e, r) => {
- var n = r(3200),
- i = r(7449),
- o = r(1768);
- t.exports = function(t, e) {
- var r = o.pkcs1.makeScheme(t, e);
- return {
- encrypt: function(t, o) {
- var s;
- if (o) return s = i.RSA_PKCS1_PADDING, e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding), n.privateEncrypt({
- key: e.rsaUtils.exportKey("private"),
- padding: s
- }, t);
- s = i.RSA_PKCS1_OAEP_PADDING, "pkcs1" === e.encryptionScheme && (s = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding);
- var a = t;
- return s === i.RSA_NO_PADDING && (a = r.pkcs0pad(t)), n.publicEncrypt({
- key: e.rsaUtils.exportKey("public"),
- padding: s
- }, a)
- },
- decrypt: function(t, o) {
- var s;
- if (o) return s = i.RSA_PKCS1_PADDING, e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding), n.publicDecrypt({
- key: e.rsaUtils.exportKey("public"),
- padding: s
- }, t);
- s = i.RSA_PKCS1_OAEP_PADDING, "pkcs1" === e.encryptionScheme && (s = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding);
- var a = n.privateDecrypt({
- key: e.rsaUtils.exportKey("private"),
- padding: s
- }, t);
- return s === i.RSA_NO_PADDING ? r.pkcs0unpad(a) : a
- }
- }
- }
- },
- 7469: (t, e, r) => {
- var n = r(1973),
- i = r(1768);
- t.exports = function(t, e) {
- var r = i.pkcs1.makeScheme(t, e);
- return {
- encrypt: function(e, i) {
- var o, s;
- return i ? (o = new n(r.encPad(e, {
- type: 1
- })), s = t.$doPrivate(o)) : (o = new n(t.encryptionScheme.encPad(e)), s = t.$doPublic(o)), s.toBuffer(t.encryptedDataLength)
- },
- decrypt: function(e, i) {
- var o, s = new n(e);
- return i ? (o = t.$doPublic(s), r.encUnPad(o.toBuffer(t.encryptedDataLength), {
- type: 1
- })) : (o = t.$doPrivate(s), t.encryptionScheme.encUnPad(o.toBuffer(t.encryptedDataLength)))
- }
- }
- }
- },
- 1957: (t, e, r) => {
- var n = r(3200),
- i = r(7449),
- o = r(1768);
- t.exports = function(t, e) {
- var s = r(7469)(t, e),
- a = o.pkcs1.makeScheme(t, e);
- return {
- encrypt: function(t, r) {
- if (r) return s.encrypt(t, r);
- var o = i.RSA_PKCS1_OAEP_PADDING;
- "pkcs1" === e.encryptionScheme && (o = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (o = e.encryptionSchemeOptions.padding);
- var f = t;
- return o === i.RSA_NO_PADDING && (f = a.pkcs0pad(t)), n.publicEncrypt({
- key: e.rsaUtils.exportKey("public"),
- padding: o
- }, f)
- },
- decrypt: function(t, r) {
- if (r) return s.decrypt(t, r);
- var o = i.RSA_PKCS1_OAEP_PADDING;
- "pkcs1" === e.encryptionScheme && (o = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (o = e.encryptionSchemeOptions.padding);
- var f = n.privateDecrypt({
- key: e.rsaUtils.exportKey("private"),
- padding: o
- }, t);
- return o === i.RSA_NO_PADDING ? a.pkcs0unpad(f) : f
- }
- }
- }
- },
- 3374: (t, e, r) => {
- r(8226)._, r(8226), t.exports = {
- privateExport: function(t, e) {
- return {
- n: t.n.toBuffer(),
- e: t.e,
- d: t.d.toBuffer(),
- p: t.p.toBuffer(),
- q: t.q.toBuffer(),
- dmp1: t.dmp1.toBuffer(),
- dmq1: t.dmq1.toBuffer(),
- coeff: t.coeff.toBuffer()
- }
- },
- privateImport: function(t, e, r) {
- if (!(e.n && e.e && e.d && e.p && e.q && e.dmp1 && e.dmq1 && e.coeff)) throw Error("Invalid key data");
- t.setPrivate(e.n, e.e, e.d, e.p, e.q, e.dmp1, e.dmq1, e.coeff)
- },
- publicExport: function(t, e) {
- return {
- n: t.n.toBuffer(),
- e: t.e
- }
- },
- publicImport: function(t, e, r) {
- if (!e.n || !e.e) throw Error("Invalid key data");
- t.setPublic(e.n, e.e)
- },
- autoImport: function(e, r) {
- return !(!r.n || !r.e || (r.d && r.p && r.q && r.dmp1 && r.dmq1 && r.coeff ? (t.exports.privateImport(e, r), 0) : (t.exports.publicImport(e, r), 0)))
- }
- }
- },
- 7460: (t, e, r) => {
- function n(t) {
- t = t.split("-");
- for (var e = "private", r = {
- type: "default"
- }, n = 1; n < t.length; n++)
- if (t[n]) switch (t[n]) {
- case "public":
- case "private":
- e = t[n];
- break;
- case "pem":
- case "der":
- r.type = t[n]
- }
- return {
- scheme: t[0],
- keyType: e,
- keyOpt: r
- }
- }
- r(8226)._, t.exports = {
- pkcs1: r(6566),
- pkcs8: r(8573),
- components: r(3374),
- openssh: r(3194),
- isPrivateExport: function(e) {
- return t.exports[e] && "function" == typeof t.exports[e].privateExport
- },
- isPrivateImport: function(e) {
- return t.exports[e] && "function" == typeof t.exports[e].privateImport
- },
- isPublicExport: function(e) {
- return t.exports[e] && "function" == typeof t.exports[e].publicExport
- },
- isPublicImport: function(e) {
- return t.exports[e] && "function" == typeof t.exports[e].publicImport
- },
- detectAndImport: function(e, r, i) {
- if (void 0 === i) {
- for (var o in t.exports)
- if ("function" == typeof t.exports[o].autoImport && t.exports[o].autoImport(e, r)) return !0
- } else if (i) {
- var s = n(i);
- if (!t.exports[s.scheme]) throw Error("Unsupported key format");
- "private" === s.keyType ? t.exports[s.scheme].privateImport(e, r, s.keyOpt) : t.exports[s.scheme].publicImport(e, r, s.keyOpt)
- }
- return !1
- },
- detectAndExport: function(e, r) {
- if (r) {
- var i = n(r);
- if (t.exports[i.scheme]) {
- if ("private" === i.keyType) {
- if (!e.isPrivate()) throw Error("This is not private key");
- return t.exports[i.scheme].privateExport(e, i.keyOpt)
- }
- if (!e.isPublic()) throw Error("This is not public key");
- return t.exports[i.scheme].publicExport(e, i.keyOpt)
- }
- throw Error("Unsupported key format")
- }
- }
- }
- },
- 3194: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(8226)._,
- o = r(8226),
- s = r(1973);
- const a = "-----BEGIN OPENSSH PRIVATE KEY-----",
- f = "-----END OPENSSH PRIVATE KEY-----";
- function u(t) {
- const e = t.buf.readInt32BE(t.off);
- t.off += 4;
- const r = t.buf.slice(t.off, t.off + e);
- return t.off += e, r
- }
- function c(t, e) {
- t.buf.writeInt32BE(e.byteLength, t.off), t.off += 4, t.off += e.copy(t.buf, t.off)
- }
- t.exports = {
- privateExport: function(t, e) {
- const r = t.n.toBuffer();
- let i = n.alloc(4);
- for (i.writeUInt32BE(t.e, 0); 0 === i[0];) i = i.slice(1);
- const s = t.d.toBuffer(),
- u = t.coeff.toBuffer(),
- h = t.p.toBuffer(),
- p = t.q.toBuffer();
- let l;
- l = void 0 !== t.sshcomment ? n.from(t.sshcomment) : n.from([]);
- const y = 15 + i.byteLength + 4 + r.byteLength,
- g = 23 + r.byteLength + 4 + i.byteLength + 4 + s.byteLength + 4 + u.byteLength + 4 + h.byteLength + 4 + p.byteLength + 4 + l.byteLength;
- let d = 43 + y + 4 + g;
- d += 8 * Math.ceil(g / 8) - g;
- const v = n.alloc(d),
- m = {
- buf: v,
- off: 0
- };
- v.write("openssh-key-v1", "utf8"), v.writeUInt8(0, 14), m.off += 15, c(m, n.from("none")), c(m, n.from("none")), c(m, n.from("")), m.off = m.buf.writeUInt32BE(1, m.off), m.off = m.buf.writeUInt32BE(y, m.off), c(m, n.from("ssh-rsa")), c(m, i), c(m, r), m.off = m.buf.writeUInt32BE(d - 47 - y, m.off), m.off += 8, c(m, n.from("ssh-rsa")), c(m, r), c(m, i), c(m, s), c(m, u), c(m, h), c(m, p), c(m, l);
- let S = 1;
- for (; m.off < d;) m.off = m.buf.writeUInt8(S++, m.off);
- return "der" === e.type ? m.buf : a + "\n" + o.linebrk(v.toString("base64"), 70) + "\n" + f + "\n"
- },
- privateImport: function(t, e, r) {
- var c;
- if ("der" !== (r = r || {}).type) {
- if (n.isBuffer(e) && (e = e.toString("utf8")), !i.isString(e)) throw Error("Unsupported key format");
- var h = o.trimSurroundingText(e, a, f).replace(/\s+|\n\r|\n|\r$/gm, "");
- c = n.from(h, "base64")
- } else {
- if (!n.isBuffer(e)) throw Error("Unsupported key format");
- c = e
- }
- const p = {
- buf: c,
- off: 0
- };
- if ("openssh-key-v1" !== c.slice(0, 14).toString("ascii")) throw "Invalid file format.";
- if (p.off += 15, "none" !== u(p).toString("ascii")) throw Error("Unsupported key type");
- if ("none" !== u(p).toString("ascii")) throw Error("Unsupported key type");
- if ("" !== u(p).toString("ascii")) throw Error("Unsupported key type");
- if (p.off += 4, p.off += 4, "ssh-rsa" !== u(p).toString("ascii")) throw Error("Unsupported key type");
- if (u(p), u(p), p.off += 12, "ssh-rsa" !== u(p).toString("ascii")) throw Error("Unsupported key type");
- const l = u(p),
- y = u(p),
- g = u(p),
- d = u(p),
- v = u(p),
- m = u(p),
- S = new s(g),
- _ = new s(m),
- b = new s(v),
- E = S.mod(b.subtract(s.ONE)),
- w = S.mod(_.subtract(s.ONE));
- t.setPrivate(l, y, g, v, m, E.toBuffer(), w.toBuffer(), d), t.sshcomment = u(p).toString("ascii")
- },
- publicExport: function(t, e) {
- let r = n.alloc(4);
- for (r.writeUInt32BE(t.e, 0); 0 === r[0];) r = r.slice(1);
- const i = t.n.toBuffer(),
- o = n.alloc(r.byteLength + 4 + i.byteLength + 4 + 7 + 4),
- s = {
- buf: o,
- off: 0
- };
- c(s, n.from("ssh-rsa")), c(s, r), c(s, i);
- let a = t.sshcomment || "";
- return "der" === e.type ? s.buf : "ssh-rsa " + o.toString("base64") + " " + a + "\n"
- },
- publicImport: function(t, e, r) {
- var o;
- if ("der" !== (r = r || {}).type) {
- if (n.isBuffer(e) && (e = e.toString("utf8")), !i.isString(e)) throw Error("Unsupported key format");
- {
- if ("ssh-rsa " !== e.substring(0, 8)) throw Error("Unsupported key format");
- let r = e.indexOf(" ", 8); - 1 === r ? r = e.length : t.sshcomment = e.substring(r + 1).replace(/\s+|\n\r|\n|\r$/gm, "");
- const i = e.substring(8, r).replace(/\s+|\n\r|\n|\r$/gm, "");
- o = n.from(i, "base64")
- }
- } else {
- if (!n.isBuffer(e)) throw Error("Unsupported key format");
- o = e
- }
- const s = {
- buf: o,
- off: 0
- },
- a = u(s).toString("ascii");
- if ("ssh-rsa" !== a) throw Error("Invalid key type: " + a);
- const f = u(s),
- c = u(s);
- t.setPublic(c, f)
- },
- autoImport: function(e, r) {
- return /^[\S\s]*-----BEGIN OPENSSH PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END OPENSSH PRIVATE KEY-----[\S\s]*$/g.test(r) ? (t.exports.privateImport(e, r), !0) : !!/^[\S\s]*ssh-rsa \s*(?=(([A-Za-z0-9+/=]+\s*)+))\1[\S\s]*$/g.test(r) && (t.exports.publicImport(e, r), !0)
- }
- }
- },
- 6566: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(3100).Ber,
- o = r(8226)._,
- s = r(8226);
- const a = "-----BEGIN RSA PRIVATE KEY-----",
- f = "-----END RSA PRIVATE KEY-----",
- u = "-----BEGIN RSA PUBLIC KEY-----",
- c = "-----END RSA PUBLIC KEY-----";
- t.exports = {
- privateExport: function(t, e) {
- e = e || {};
- var r = t.n.toBuffer(),
- n = t.d.toBuffer(),
- o = t.p.toBuffer(),
- u = t.q.toBuffer(),
- c = t.dmp1.toBuffer(),
- h = t.dmq1.toBuffer(),
- p = t.coeff.toBuffer(),
- l = r.length + n.length + o.length + u.length + c.length + h.length + p.length + 512,
- y = new i.Writer({
- size: l
- });
- return y.startSequence(), y.writeInt(0), y.writeBuffer(r, 2), y.writeInt(t.e), y.writeBuffer(n, 2), y.writeBuffer(o, 2), y.writeBuffer(u, 2), y.writeBuffer(c, 2), y.writeBuffer(h, 2), y.writeBuffer(p, 2), y.endSequence(), "der" === e.type ? y.buffer : a + "\n" + s.linebrk(y.buffer.toString("base64"), 64) + "\n" + f
- },
- privateImport: function(t, e, r) {
- var u;
- if ("der" !== (r = r || {}).type) {
- if (n.isBuffer(e) && (e = e.toString("utf8")), !o.isString(e)) throw Error("Unsupported key format");
- var c = s.trimSurroundingText(e, a, f).replace(/\s+|\n\r|\n|\r$/gm, "");
- u = n.from(c, "base64")
- } else {
- if (!n.isBuffer(e)) throw Error("Unsupported key format");
- u = e
- }
- var h = new i.Reader(u);
- h.readSequence(), h.readString(2, !0), t.setPrivate(h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0))
- },
- publicExport: function(t, e) {
- e = e || {};
- var r = t.n.toBuffer(),
- n = r.length + 512,
- o = new i.Writer({
- size: n
- });
- return o.startSequence(), o.writeBuffer(r, 2), o.writeInt(t.e), o.endSequence(), "der" === e.type ? o.buffer : u + "\n" + s.linebrk(o.buffer.toString("base64"), 64) + "\n" + c
- },
- publicImport: function(t, e, r) {
- var a;
- if ("der" !== (r = r || {}).type) {
- if (n.isBuffer(e) && (e = e.toString("utf8")), o.isString(e)) {
- var f = s.trimSurroundingText(e, u, c).replace(/\s+|\n\r|\n|\r$/gm, "");
- a = n.from(f, "base64")
- }
- } else {
- if (!n.isBuffer(e)) throw Error("Unsupported key format");
- a = e
- }
- var h = new i.Reader(a);
- h.readSequence(), t.setPublic(h.readString(2, !0), h.readString(2, !0))
- },
- autoImport: function(e, r) {
- return /^[\S\s]*-----BEGIN RSA PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END RSA PRIVATE KEY-----[\S\s]*$/g.test(r) ? (t.exports.privateImport(e, r), !0) : !!/^[\S\s]*-----BEGIN RSA PUBLIC KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END RSA PUBLIC KEY-----[\S\s]*$/g.test(r) && (t.exports.publicImport(e, r), !0)
- }
- }
- },
- 8573: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(3100).Ber,
- o = r(8226)._,
- s = "1.2.840.113549.1.1.1",
- a = r(8226);
- const f = "-----BEGIN PRIVATE KEY-----",
- u = "-----END PRIVATE KEY-----",
- c = "-----BEGIN PUBLIC KEY-----",
- h = "-----END PUBLIC KEY-----";
- t.exports = {
- privateExport: function(t, e) {
- e = e || {};
- var r = t.n.toBuffer(),
- n = t.d.toBuffer(),
- o = t.p.toBuffer(),
- c = t.q.toBuffer(),
- h = t.dmp1.toBuffer(),
- p = t.dmq1.toBuffer(),
- l = t.coeff.toBuffer(),
- y = r.length + n.length + o.length + c.length + h.length + p.length + l.length + 512,
- g = new i.Writer({
- size: y
- });
- g.startSequence(), g.writeInt(0), g.writeBuffer(r, 2), g.writeInt(t.e), g.writeBuffer(n, 2), g.writeBuffer(o, 2), g.writeBuffer(c, 2), g.writeBuffer(h, 2), g.writeBuffer(p, 2), g.writeBuffer(l, 2), g.endSequence();
- var d = new i.Writer({
- size: y
- });
- return d.startSequence(), d.writeInt(0), d.startSequence(), d.writeOID(s), d.writeNull(), d.endSequence(), d.writeBuffer(g.buffer, 4), d.endSequence(), "der" === e.type ? d.buffer : f + "\n" + a.linebrk(d.buffer.toString("base64"), 64) + "\n" + u
- },
- privateImport: function(t, e, r) {
- var c;
- if ("der" !== (r = r || {}).type) {
- if (n.isBuffer(e) && (e = e.toString("utf8")), !o.isString(e)) throw Error("Unsupported key format");
- var h = a.trimSurroundingText(e, f, u).replace("-----END PRIVATE KEY-----", "").replace(/\s+|\n\r|\n|\r$/gm, "");
- c = n.from(h, "base64")
- } else {
- if (!n.isBuffer(e)) throw Error("Unsupported key format");
- c = e
- }
- var p = new i.Reader(c);
- if (p.readSequence(), p.readInt(0), new i.Reader(p.readString(48, !0)).readOID(6, !0) !== s) throw Error("Invalid Public key format");
- var l = new i.Reader(p.readString(4, !0));
- l.readSequence(), l.readString(2, !0), t.setPrivate(l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0))
- },
- publicExport: function(t, e) {
- e = e || {};
- var r = t.n.toBuffer(),
- n = r.length + 512,
- o = new i.Writer({
- size: n
- });
- o.writeByte(0), o.startSequence(), o.writeBuffer(r, 2), o.writeInt(t.e), o.endSequence();
- var f = new i.Writer({
- size: n
- });
- return f.startSequence(), f.startSequence(), f.writeOID(s), f.writeNull(), f.endSequence(), f.writeBuffer(o.buffer, 3), f.endSequence(), "der" === e.type ? f.buffer : c + "\n" + a.linebrk(f.buffer.toString("base64"), 64) + "\n" + h
- },
- publicImport: function(t, e, r) {
- var f;
- if ("der" !== (r = r || {}).type) {
- if (n.isBuffer(e) && (e = e.toString("utf8")), o.isString(e)) {
- var u = a.trimSurroundingText(e, c, h).replace(/\s+|\n\r|\n|\r$/gm, "");
- f = n.from(u, "base64")
- }
- } else {
- if (!n.isBuffer(e)) throw Error("Unsupported key format");
- f = e
- }
- var p = new i.Reader(f);
- if (p.readSequence(), new i.Reader(p.readString(48, !0)).readOID(6, !0) !== s) throw Error("Invalid Public key format");
- var l = new i.Reader(p.readString(3, !0));
- l.readByte(), l.readSequence(), t.setPublic(l.readString(2, !0), l.readString(2, !0))
- },
- autoImport: function(e, r) {
- return /^[\S\s]*-----BEGIN PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END PRIVATE KEY-----[\S\s]*$/g.test(r) ? (t.exports.privateImport(e, r), !0) : !!/^[\S\s]*-----BEGIN PUBLIC KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END PUBLIC KEY-----[\S\s]*$/g.test(r) && (t.exports.publicImport(e, r), !0)
- }
- }
- },
- 1973: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(3200),
- o = r(8226)._;
- function s(t, e) {
- null != t && ("number" == typeof t ? this.fromNumber(t, e) : n.isBuffer(t) ? this.fromBuffer(t) : null == e && "string" != typeof t ? this.fromByteArray(t) : this.fromString(t, e))
- }
- function a() {
- return new s(null)
- }
- s.prototype.am = function(t, e, r, n, i, o) {
- for (var s = 16383 & e, a = e >> 14; --o >= 0;) {
- var f = 16383 & this[t],
- u = this[t++] >> 14,
- c = a * f + u * s;
- i = ((f = s * f + ((16383 & c) << 14) + r[n] + i) >> 28) + (c >> 14) + a * u, r[n++] = 268435455 & f
- }
- return i
- }, s.prototype.DB = 28, s.prototype.DM = 268435455, s.prototype.DV = 1 << 28, s.prototype.FV = Math.pow(2, 52), s.prototype.F1 = 24, s.prototype.F2 = 4;
- var f, u, c = new Array;
- for (f = "0".charCodeAt(0), u = 0; u <= 9; ++u) c[f++] = u;
- for (f = "a".charCodeAt(0), u = 10; u < 36; ++u) c[f++] = u;
- for (f = "A".charCodeAt(0), u = 10; u < 36; ++u) c[f++] = u;
- function h(t) {
- return "0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)
- }
- function p(t, e) {
- var r = c[t.charCodeAt(e)];
- return null == r ? -1 : r
- }
- function l(t) {
- var e = a();
- return e.fromInt(t), e
- }
- function y(t) {
- var e, r = 1;
- return 0 != (e = t >>> 16) && (t = e, r += 16), 0 != (e = t >> 8) && (t = e, r += 8), 0 != (e = t >> 4) && (t = e, r += 4), 0 != (e = t >> 2) && (t = e, r += 2), 0 != (e = t >> 1) && (t = e, r += 1), r
- }
- function g(t) {
- this.m = t
- }
- function d(t) {
- this.m = t, this.mp = t.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << t.DB - 15) - 1, this.mt2 = 2 * t.t
- }
- function v(t, e) {
- return t & e
- }
- function m(t, e) {
- return t | e
- }
- function S(t, e) {
- return t ^ e
- }
- function _(t, e) {
- return t & ~e
- }
- function b(t) {
- if (0 === t) return -1;
- var e = 0;
- return 65535 & t || (t >>= 16, e += 16), 255 & t || (t >>= 8, e += 8), 15 & t || (t >>= 4, e += 4), 3 & t || (t >>= 2, e += 2), 1 & t || ++e, e
- }
- function E(t) {
- for (var e = 0; 0 != t;) t &= t - 1, ++e;
- return e
- }
- function w() {}
- function O(t) {
- return t
- }
- function B(t) {
- this.r2 = a(), this.q3 = a(), s.ONE.dlShiftTo(2 * t.t, this.r2), this.mu = this.r2.divide(t), this.m = t
- }
- g.prototype.convert = function(t) {
- return t.s < 0 || t.compareTo(this.m) >= 0 ? t.mod(this.m) : t
- }, g.prototype.revert = function(t) {
- return t
- }, g.prototype.reduce = function(t) {
- t.divRemTo(this.m, null, t)
- }, g.prototype.mulTo = function(t, e, r) {
- t.multiplyTo(e, r), this.reduce(r)
- }, g.prototype.sqrTo = function(t, e) {
- t.squareTo(e), this.reduce(e)
- }, d.prototype.convert = function(t) {
- var e = a();
- return t.abs().dlShiftTo(this.m.t, e), e.divRemTo(this.m, null, e), t.s < 0 && e.compareTo(s.ZERO) > 0 && this.m.subTo(e, e), e
- }, d.prototype.revert = function(t) {
- var e = a();
- return t.copyTo(e), this.reduce(e), e
- }, d.prototype.reduce = function(t) {
- for (; t.t <= this.mt2;) t[t.t++] = 0;
- for (var e = 0; e < this.m.t; ++e) {
- var r = 32767 & t[e],
- n = r * this.mpl + ((r * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM;
- for (t[r = e + this.m.t] += this.m.am(0, n, t, e, 0, this.m.t); t[r] >= t.DV;) t[r] -= t.DV, t[++r]++
- }
- t.clamp(), t.drShiftTo(this.m.t, t), t.compareTo(this.m) >= 0 && t.subTo(this.m, t)
- }, d.prototype.mulTo = function(t, e, r) {
- t.multiplyTo(e, r), this.reduce(r)
- }, d.prototype.sqrTo = function(t, e) {
- t.squareTo(e), this.reduce(e)
- }, w.prototype.convert = O, w.prototype.revert = O, w.prototype.mulTo = function(t, e, r) {
- t.multiplyTo(e, r)
- }, w.prototype.sqrTo = function(t, e) {
- t.squareTo(e)
- }, B.prototype.convert = function(t) {
- if (t.s < 0 || t.t > 2 * this.m.t) return t.mod(this.m);
- if (t.compareTo(this.m) < 0) return t;
- var e = a();
- return t.copyTo(e), this.reduce(e), e
- }, B.prototype.revert = function(t) {
- return t
- }, B.prototype.reduce = function(t) {
- for (t.drShiftTo(this.m.t - 1, this.r2), t.t > this.m.t + 1 && (t.t = this.m.t + 1, t.clamp()), this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); t.compareTo(this.r2) < 0;) t.dAddOffset(1, this.m.t + 1);
- for (t.subTo(this.r2, t); t.compareTo(this.m) >= 0;) t.subTo(this.m, t)
- }, B.prototype.mulTo = function(t, e, r) {
- t.multiplyTo(e, r), this.reduce(r)
- }, B.prototype.sqrTo = function(t, e) {
- t.squareTo(e), this.reduce(e)
- };
- var A = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997],
- x = (1 << 26) / A[A.length - 1];
- s.prototype.copyTo = function(t) {
- for (var e = this.t - 1; e >= 0; --e) t[e] = this[e];
- t.t = this.t, t.s = this.s
- }, s.prototype.fromInt = function(t) {
- this.t = 1, this.s = t < 0 ? -1 : 0, t > 0 ? this[0] = t : t < -1 ? this[0] = t + DV : this.t = 0
- }, s.prototype.fromString = function(t, e, r) {
- var n;
- switch (e) {
- case 2:
- n = 1;
- break;
- case 4:
- n = 2;
- break;
- case 8:
- n = 3;
- break;
- case 16:
- n = 4;
- break;
- case 32:
- n = 5;
- break;
- case 256:
- n = 8;
- break;
- default:
- return void this.fromRadix(t, e)
- }
- this.t = 0, this.s = 0;
- for (var i = t.length, o = !1, a = 0; --i >= 0;) {
- var f = 8 == n ? 255 & t[i] : p(t, i);
- f < 0 ? "-" == t.charAt(i) && (o = !0) : (o = !1, 0 === a ? this[this.t++] = f : a + n > this.DB ? (this[this.t - 1] |= (f & (1 << this.DB - a) - 1) << a, this[this.t++] = f >> this.DB - a) : this[this.t - 1] |= f << a, (a += n) >= this.DB && (a -= this.DB))
- }!r && 8 == n && 128 & t[0] && (this.s = -1, a > 0 && (this[this.t - 1] |= (1 << this.DB - a) - 1 << a)), this.clamp(), o && s.ZERO.subTo(this, this)
- }, s.prototype.fromByteArray = function(t, e) {
- this.fromString(t, 256, e)
- }, s.prototype.fromBuffer = function(t) {
- this.fromString(t, 256, !0)
- }, s.prototype.clamp = function() {
- for (var t = this.s & this.DM; this.t > 0 && this[this.t - 1] == t;) --this.t
- }, s.prototype.dlShiftTo = function(t, e) {
- var r;
- for (r = this.t - 1; r >= 0; --r) e[r + t] = this[r];
- for (r = t - 1; r >= 0; --r) e[r] = 0;
- e.t = this.t + t, e.s = this.s
- }, s.prototype.drShiftTo = function(t, e) {
- for (var r = t; r < this.t; ++r) e[r - t] = this[r];
- e.t = Math.max(this.t - t, 0), e.s = this.s
- }, s.prototype.lShiftTo = function(t, e) {
- var r, n = t % this.DB,
- i = this.DB - n,
- o = (1 << i) - 1,
- s = Math.floor(t / this.DB),
- a = this.s << n & this.DM;
- for (r = this.t - 1; r >= 0; --r) e[r + s + 1] = this[r] >> i | a, a = (this[r] & o) << n;
- for (r = s - 1; r >= 0; --r) e[r] = 0;
- e[s] = a, e.t = this.t + s + 1, e.s = this.s, e.clamp()
- }, s.prototype.rShiftTo = function(t, e) {
- e.s = this.s;
- var r = Math.floor(t / this.DB);
- if (r >= this.t) e.t = 0;
- else {
- var n = t % this.DB,
- i = this.DB - n,
- o = (1 << n) - 1;
- e[0] = this[r] >> n;
- for (var s = r + 1; s < this.t; ++s) e[s - r - 1] |= (this[s] & o) << i, e[s - r] = this[s] >> n;
- n > 0 && (e[this.t - r - 1] |= (this.s & o) << i), e.t = this.t - r, e.clamp()
- }
- }, s.prototype.subTo = function(t, e) {
- for (var r = 0, n = 0, i = Math.min(t.t, this.t); r < i;) n += this[r] - t[r], e[r++] = n & this.DM, n >>= this.DB;
- if (t.t < this.t) {
- for (n -= t.s; r < this.t;) n += this[r], e[r++] = n & this.DM, n >>= this.DB;
- n += this.s
- } else {
- for (n += this.s; r < t.t;) n -= t[r], e[r++] = n & this.DM, n >>= this.DB;
- n -= t.s
- }
- e.s = n < 0 ? -1 : 0, n < -1 ? e[r++] = this.DV + n : n > 0 && (e[r++] = n), e.t = r, e.clamp()
- }, s.prototype.multiplyTo = function(t, e) {
- var r = this.abs(),
- n = t.abs(),
- i = r.t;
- for (e.t = i + n.t; --i >= 0;) e[i] = 0;
- for (i = 0; i < n.t; ++i) e[i + r.t] = r.am(0, n[i], e, i, 0, r.t);
- e.s = 0, e.clamp(), this.s != t.s && s.ZERO.subTo(e, e)
- }, s.prototype.squareTo = function(t) {
- for (var e = this.abs(), r = t.t = 2 * e.t; --r >= 0;) t[r] = 0;
- for (r = 0; r < e.t - 1; ++r) {
- var n = e.am(r, e[r], t, 2 * r, 0, 1);
- (t[r + e.t] += e.am(r + 1, 2 * e[r], t, 2 * r + 1, n, e.t - r - 1)) >= e.DV && (t[r + e.t] -= e.DV, t[r + e.t + 1] = 1)
- }
- t.t > 0 && (t[t.t - 1] += e.am(r, e[r], t, 2 * r, 0, 1)), t.s = 0, t.clamp()
- }, s.prototype.divRemTo = function(t, e, r) {
- var n = t.abs();
- if (!(n.t <= 0)) {
- var i = this.abs();
- if (i.t < n.t) return null != e && e.fromInt(0), void(null != r && this.copyTo(r));
- null == r && (r = a());
- var o = a(),
- f = this.s,
- u = t.s,
- c = this.DB - y(n[n.t - 1]);
- c > 0 ? (n.lShiftTo(c, o), i.lShiftTo(c, r)) : (n.copyTo(o), i.copyTo(r));
- var h = o.t,
- p = o[h - 1];
- if (0 !== p) {
- var l = p * (1 << this.F1) + (h > 1 ? o[h - 2] >> this.F2 : 0),
- g = this.FV / l,
- d = (1 << this.F1) / l,
- v = 1 << this.F2,
- m = r.t,
- S = m - h,
- _ = null == e ? a() : e;
- for (o.dlShiftTo(S, _), r.compareTo(_) >= 0 && (r[r.t++] = 1, r.subTo(_, r)), s.ONE.dlShiftTo(h, _), _.subTo(o, o); o.t < h;) o[o.t++] = 0;
- for (; --S >= 0;) {
- var b = r[--m] == p ? this.DM : Math.floor(r[m] * g + (r[m - 1] + v) * d);
- if ((r[m] += o.am(0, b, r, S, 0, h)) < b)
- for (o.dlShiftTo(S, _), r.subTo(_, r); r[m] < --b;) r.subTo(_, r)
- }
- null != e && (r.drShiftTo(h, e), f != u && s.ZERO.subTo(e, e)), r.t = h, r.clamp(), c > 0 && r.rShiftTo(c, r), f < 0 && s.ZERO.subTo(r, r)
- }
- }
- }, s.prototype.invDigit = function() {
- if (this.t < 1) return 0;
- var t = this[0];
- if (!(1 & t)) return 0;
- var e = 3 & t;
- return (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) > 0 ? this.DV - e : -e
- }, s.prototype.isEven = function() {
- return 0 === (this.t > 0 ? 1 & this[0] : this.s)
- }, s.prototype.exp = function(t, e) {
- if (t > 4294967295 || t < 1) return s.ONE;
- var r = a(),
- n = a(),
- i = e.convert(this),
- o = y(t) - 1;
- for (i.copyTo(r); --o >= 0;)
- if (e.sqrTo(r, n), (t & 1 << o) > 0) e.mulTo(n, i, r);
- else {
- var f = r;
- r = n, n = f
- } return e.revert(r)
- }, s.prototype.chunkSize = function(t) {
- return Math.floor(Math.LN2 * this.DB / Math.log(t))
- }, s.prototype.toRadix = function(t) {
- if (null == t && (t = 10), 0 === this.signum() || t < 2 || t > 36) return "0";
- var e = this.chunkSize(t),
- r = Math.pow(t, e),
- n = l(r),
- i = a(),
- o = a(),
- s = "";
- for (this.divRemTo(n, i, o); i.signum() > 0;) s = (r + o.intValue()).toString(t).substr(1) + s, i.divRemTo(n, i, o);
- return o.intValue().toString(t) + s
- }, s.prototype.fromRadix = function(t, e) {
- this.fromInt(0), null == e && (e = 10);
- for (var r = this.chunkSize(e), n = Math.pow(e, r), i = !1, o = 0, a = 0, f = 0; f < t.length; ++f) {
- var u = p(t, f);
- u < 0 ? "-" == t.charAt(f) && 0 === this.signum() && (i = !0) : (a = e * a + u, ++o >= r && (this.dMultiply(n), this.dAddOffset(a, 0), o = 0, a = 0))
- }
- o > 0 && (this.dMultiply(Math.pow(e, o)), this.dAddOffset(a, 0)), i && s.ZERO.subTo(this, this)
- }, s.prototype.fromNumber = function(t, e) {
- if ("number" == typeof e)
- if (t < 2) this.fromInt(1);
- else
- for (this.fromNumber(t), this.testBit(t - 1) || this.bitwiseTo(s.ONE.shiftLeft(t - 1), m, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(e);) this.dAddOffset(2, 0), this.bitLength() > t && this.subTo(s.ONE.shiftLeft(t - 1), this);
- else {
- var r = i.randomBytes(1 + (t >> 3)),
- n = 7 & t;
- n > 0 ? r[0] &= (1 << n) - 1 : r[0] = 0, this.fromByteArray(r)
- }
- }, s.prototype.bitwiseTo = function(t, e, r) {
- var n, i, o = Math.min(t.t, this.t);
- for (n = 0; n < o; ++n) r[n] = e(this[n], t[n]);
- if (t.t < this.t) {
- for (i = t.s & this.DM, n = o; n < this.t; ++n) r[n] = e(this[n], i);
- r.t = this.t
- } else {
- for (i = this.s & this.DM, n = o; n < t.t; ++n) r[n] = e(i, t[n]);
- r.t = t.t
- }
- r.s = e(this.s, t.s), r.clamp()
- }, s.prototype.changeBit = function(t, e) {
- var r = s.ONE.shiftLeft(t);
- return this.bitwiseTo(r, e, r), r
- }, s.prototype.addTo = function(t, e) {
- for (var r = 0, n = 0, i = Math.min(t.t, this.t); r < i;) n += this[r] + t[r], e[r++] = n & this.DM, n >>= this.DB;
- if (t.t < this.t) {
- for (n += t.s; r < this.t;) n += this[r], e[r++] = n & this.DM, n >>= this.DB;
- n += this.s
- } else {
- for (n += this.s; r < t.t;) n += t[r], e[r++] = n & this.DM, n >>= this.DB;
- n += t.s
- }
- e.s = n < 0 ? -1 : 0, n > 0 ? e[r++] = n : n < -1 && (e[r++] = this.DV + n), e.t = r, e.clamp()
- }, s.prototype.dMultiply = function(t) {
- this[this.t] = this.am(0, t - 1, this, 0, 0, this.t), ++this.t, this.clamp()
- }, s.prototype.dAddOffset = function(t, e) {
- if (0 !== t) {
- for (; this.t <= e;) this[this.t++] = 0;
- for (this[e] += t; this[e] >= this.DV;) this[e] -= this.DV, ++e >= this.t && (this[this.t++] = 0), ++this[e]
- }
- }, s.prototype.multiplyLowerTo = function(t, e, r) {
- var n, i = Math.min(this.t + t.t, e);
- for (r.s = 0, r.t = i; i > 0;) r[--i] = 0;
- for (n = r.t - this.t; i < n; ++i) r[i + this.t] = this.am(0, t[i], r, i, 0, this.t);
- for (n = Math.min(t.t, e); i < n; ++i) this.am(0, t[i], r, i, 0, e - i);
- r.clamp()
- }, s.prototype.multiplyUpperTo = function(t, e, r) {
- --e;
- var n = r.t = this.t + t.t - e;
- for (r.s = 0; --n >= 0;) r[n] = 0;
- for (n = Math.max(e - this.t, 0); n < t.t; ++n) r[this.t + n - e] = this.am(e - n, t[n], r, 0, 0, this.t + n - e);
- r.clamp(), r.drShiftTo(1, r)
- }, s.prototype.modInt = function(t) {
- if (t <= 0) return 0;
- var e = this.DV % t,
- r = this.s < 0 ? t - 1 : 0;
- if (this.t > 0)
- if (0 === e) r = this[0] % t;
- else
- for (var n = this.t - 1; n >= 0; --n) r = (e * r + this[n]) % t;
- return r
- }, s.prototype.millerRabin = function(t) {
- var e = this.subtract(s.ONE),
- r = e.getLowestSetBit();
- if (r <= 0) return !1;
- var n = e.shiftRight(r);
- (t = t + 1 >> 1) > A.length && (t = A.length);
- for (var i = a(), o = 0; o < t; ++o) {
- i.fromInt(A[Math.floor(Math.random() * A.length)]);
- var f = i.modPow(n, this);
- if (0 != f.compareTo(s.ONE) && 0 != f.compareTo(e)) {
- for (var u = 1; u++ < r && 0 != f.compareTo(e);)
- if (0 === (f = f.modPowInt(2, this)).compareTo(s.ONE)) return !1;
- if (0 != f.compareTo(e)) return !1
- }
- }
- return !0
- }, s.prototype.toString = function(t) {
- if (this.s < 0) return "-" + this.negate().toString(t);
- var e;
- if (16 == t) e = 4;
- else if (8 == t) e = 3;
- else if (2 == t) e = 1;
- else if (32 == t) e = 5;
- else {
- if (4 != t) return this.toRadix(t);
- e = 2
- }
- var r, n = (1 << e) - 1,
- i = !1,
- o = "",
- s = this.t,
- a = this.DB - s * this.DB % e;
- if (s-- > 0)
- for (a < this.DB && (r = this[s] >> a) > 0 && (i = !0, o = h(r)); s >= 0;) a < e ? (r = (this[s] & (1 << a) - 1) << e - a, r |= this[--s] >> (a += this.DB - e)) : (r = this[s] >> (a -= e) & n, a <= 0 && (a += this.DB, --s)), r > 0 && (i = !0), i && (o += h(r));
- return i ? o : "0"
- }, s.prototype.negate = function() {
- var t = a();
- return s.ZERO.subTo(this, t), t
- }, s.prototype.abs = function() {
- return this.s < 0 ? this.negate() : this
- }, s.prototype.compareTo = function(t) {
- var e = this.s - t.s;
- if (0 != e) return e;
- var r = this.t;
- if (0 != (e = r - t.t)) return this.s < 0 ? -e : e;
- for (; --r >= 0;)
- if (0 != (e = this[r] - t[r])) return e;
- return 0
- }, s.prototype.bitLength = function() {
- return this.t <= 0 ? 0 : this.DB * (this.t - 1) + y(this[this.t - 1] ^ this.s & this.DM)
- }, s.prototype.mod = function(t) {
- var e = a();
- return this.abs().divRemTo(t, null, e), this.s < 0 && e.compareTo(s.ZERO) > 0 && t.subTo(e, e), e
- }, s.prototype.modPowInt = function(t, e) {
- var r;
- return r = t < 256 || e.isEven() ? new g(e) : new d(e), this.exp(t, r)
- }, s.prototype.clone = function() {
- var t = a();
- return this.copyTo(t), t
- }, s.prototype.intValue = function() {
- if (this.s < 0) {
- if (1 == this.t) return this[0] - this.DV;
- if (0 === this.t) return -1
- } else {
- if (1 == this.t) return this[0];
- if (0 === this.t) return 0
- }
- return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0]
- }, s.prototype.byteValue = function() {
- return 0 == this.t ? this.s : this[0] << 24 >> 24
- }, s.prototype.shortValue = function() {
- return 0 == this.t ? this.s : this[0] << 16 >> 16
- }, s.prototype.signum = function() {
- return this.s < 0 ? -1 : this.t <= 0 || 1 == this.t && this[0] <= 0 ? 0 : 1
- }, s.prototype.toByteArray = function() {
- var t = this.t,
- e = new Array;
- e[0] = this.s;
- var r, n = this.DB - t * this.DB % 8,
- i = 0;
- if (t-- > 0)
- for (n < this.DB && (r = this[t] >> n) != (this.s & this.DM) >> n && (e[i++] = r | this.s << this.DB - n); t >= 0;) n < 8 ? (r = (this[t] & (1 << n) - 1) << 8 - n, r |= this[--t] >> (n += this.DB - 8)) : (r = this[t] >> (n -= 8) & 255, n <= 0 && (n += this.DB, --t)), 128 & r && (r |= -256), 0 === i && (128 & this.s) != (128 & r) && ++i, (i > 0 || r != this.s) && (e[i++] = r);
- return e
- }, s.prototype.toBuffer = function(t) {
- var e = n.from(this.toByteArray());
- if (!0 === t && 0 === e[0]) e = e.slice(1);
- else if (o.isNumber(t)) {
- if (e.length > t) {
- for (var r = 0; r < e.length - t; r++)
- if (0 !== e[r]) return null;
- return e.slice(e.length - t)
- }
- if (e.length < t) {
- var i = n.alloc(t);
- return i.fill(0, 0, t - e.length), e.copy(i, t - e.length), i
- }
- }
- return e
- }, s.prototype.equals = function(t) {
- return 0 == this.compareTo(t)
- }, s.prototype.min = function(t) {
- return this.compareTo(t) < 0 ? this : t
- }, s.prototype.max = function(t) {
- return this.compareTo(t) > 0 ? this : t
- }, s.prototype.and = function(t) {
- var e = a();
- return this.bitwiseTo(t, v, e), e
- }, s.prototype.or = function(t) {
- var e = a();
- return this.bitwiseTo(t, m, e), e
- }, s.prototype.xor = function(t) {
- var e = a();
- return this.bitwiseTo(t, S, e), e
- }, s.prototype.andNot = function(t) {
- var e = a();
- return this.bitwiseTo(t, _, e), e
- }, s.prototype.not = function() {
- for (var t = a(), e = 0; e < this.t; ++e) t[e] = this.DM & ~this[e];
- return t.t = this.t, t.s = ~this.s, t
- }, s.prototype.shiftLeft = function(t) {
- var e = a();
- return t < 0 ? this.rShiftTo(-t, e) : this.lShiftTo(t, e), e
- }, s.prototype.shiftRight = function(t) {
- var e = a();
- return t < 0 ? this.lShiftTo(-t, e) : this.rShiftTo(t, e), e
- }, s.prototype.getLowestSetBit = function() {
- for (var t = 0; t < this.t; ++t)
- if (0 != this[t]) return t * this.DB + b(this[t]);
- return this.s < 0 ? this.t * this.DB : -1
- }, s.prototype.bitCount = function() {
- for (var t = 0, e = this.s & this.DM, r = 0; r < this.t; ++r) t += E(this[r] ^ e);
- return t
- }, s.prototype.testBit = function(t) {
- var e = Math.floor(t / this.DB);
- return e >= this.t ? 0 != this.s : !!(this[e] & 1 << t % this.DB)
- }, s.prototype.setBit = function(t) {
- return this.changeBit(t, m)
- }, s.prototype.clearBit = function(t) {
- return this.changeBit(t, _)
- }, s.prototype.flipBit = function(t) {
- return this.changeBit(t, S)
- }, s.prototype.add = function(t) {
- var e = a();
- return this.addTo(t, e), e
- }, s.prototype.subtract = function(t) {
- var e = a();
- return this.subTo(t, e), e
- }, s.prototype.multiply = function(t) {
- var e = a();
- return this.multiplyTo(t, e), e
- }, s.prototype.divide = function(t) {
- var e = a();
- return this.divRemTo(t, e, null), e
- }, s.prototype.remainder = function(t) {
- var e = a();
- return this.divRemTo(t, null, e), e
- }, s.prototype.divideAndRemainder = function(t) {
- var e = a(),
- r = a();
- return this.divRemTo(t, e, r), new Array(e, r)
- }, s.prototype.modPow = function(t, e) {
- var r, n, i = t.bitLength(),
- o = l(1);
- if (i <= 0) return o;
- r = i < 18 ? 1 : i < 48 ? 3 : i < 144 ? 4 : i < 768 ? 5 : 6, n = i < 8 ? new g(e) : e.isEven() ? new B(e) : new d(e);
- var s = new Array,
- f = 3,
- u = r - 1,
- c = (1 << r) - 1;
- if (s[1] = n.convert(this), r > 1) {
- var h = a();
- for (n.sqrTo(s[1], h); f <= c;) s[f] = a(), n.mulTo(h, s[f - 2], s[f]), f += 2
- }
- var p, v, m = t.t - 1,
- S = !0,
- _ = a();
- for (i = y(t[m]) - 1; m >= 0;) {
- for (i >= u ? p = t[m] >> i - u & c : (p = (t[m] & (1 << i + 1) - 1) << u - i, m > 0 && (p |= t[m - 1] >> this.DB + i - u)), f = r; !(1 & p);) p >>= 1, --f;
- if ((i -= f) < 0 && (i += this.DB, --m), S) s[p].copyTo(o), S = !1;
- else {
- for (; f > 1;) n.sqrTo(o, _), n.sqrTo(_, o), f -= 2;
- f > 0 ? n.sqrTo(o, _) : (v = o, o = _, _ = v), n.mulTo(_, s[p], o)
- }
- for (; m >= 0 && !(t[m] & 1 << i);) n.sqrTo(o, _), v = o, o = _, _ = v, --i < 0 && (i = this.DB - 1, --m)
- }
- return n.revert(o)
- }, s.prototype.modInverse = function(t) {
- var e = t.isEven();
- if (this.isEven() && e || 0 === t.signum()) return s.ZERO;
- for (var r = t.clone(), n = this.clone(), i = l(1), o = l(0), a = l(0), f = l(1); 0 != r.signum();) {
- for (; r.isEven();) r.rShiftTo(1, r), e ? (i.isEven() && o.isEven() || (i.addTo(this, i), o.subTo(t, o)), i.rShiftTo(1, i)) : o.isEven() || o.subTo(t, o), o.rShiftTo(1, o);
- for (; n.isEven();) n.rShiftTo(1, n), e ? (a.isEven() && f.isEven() || (a.addTo(this, a), f.subTo(t, f)), a.rShiftTo(1, a)) : f.isEven() || f.subTo(t, f), f.rShiftTo(1, f);
- r.compareTo(n) >= 0 ? (r.subTo(n, r), e && i.subTo(a, i), o.subTo(f, o)) : (n.subTo(r, n), e && a.subTo(i, a), f.subTo(o, f))
- }
- return 0 != n.compareTo(s.ONE) ? s.ZERO : f.compareTo(t) >= 0 ? f.subtract(t) : f.signum() < 0 ? (f.addTo(t, f), f.signum() < 0 ? f.add(t) : f) : f
- }, s.prototype.pow = function(t) {
- return this.exp(t, new w)
- }, s.prototype.gcd = function(t) {
- var e = this.s < 0 ? this.negate() : this.clone(),
- r = t.s < 0 ? t.negate() : t.clone();
- if (e.compareTo(r) < 0) {
- var n = e;
- e = r, r = n
- }
- var i = e.getLowestSetBit(),
- o = r.getLowestSetBit();
- if (o < 0) return e;
- for (i < o && (o = i), o > 0 && (e.rShiftTo(o, e), r.rShiftTo(o, r)); e.signum() > 0;)(i = e.getLowestSetBit()) > 0 && e.rShiftTo(i, e), (i = r.getLowestSetBit()) > 0 && r.rShiftTo(i, r), e.compareTo(r) >= 0 ? (e.subTo(r, e), e.rShiftTo(1, e)) : (r.subTo(e, r), r.rShiftTo(1, r));
- return o > 0 && r.lShiftTo(o, r), r
- }, s.prototype.isProbablePrime = function(t) {
- var e, r = this.abs();
- if (1 == r.t && r[0] <= A[A.length - 1]) {
- for (e = 0; e < A.length; ++e)
- if (r[0] == A[e]) return !0;
- return !1
- }
- if (r.isEven()) return !1;
- for (e = 1; e < A.length;) {
- for (var n = A[e], i = e + 1; i < A.length && n < x;) n *= A[i++];
- for (n = r.modInt(n); e < i;)
- if (n % A[e++] == 0) return !1
- }
- return r.millerRabin(t)
- }, s.int2char = h, s.ZERO = l(0), s.ONE = l(1), s.prototype.square = function() {
- var t = a();
- return this.squareTo(t), t
- }, t.exports = s
- },
- 5682: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(8226)._,
- o = (r(3200), r(1973)),
- s = r(8226),
- a = r(1768),
- f = r(4538);
- e.BigInteger = o, t.exports.Key = function() {
- function t() {
- this.n = null, this.e = 0, this.d = null, this.p = null, this.q = null, this.dmp1 = null, this.dmq1 = null, this.coeff = null
- }
- return t.prototype.setOptions = function(t) {
- var e = a[t.signingScheme],
- r = a[t.encryptionScheme];
- e === r ? this.signingScheme = this.encryptionScheme = r.makeScheme(this, t) : (this.encryptionScheme = r.makeScheme(this, t), this.signingScheme = e.makeScheme(this, t)), this.encryptEngine = f.getEngine(this, t)
- }, t.prototype.generate = function(t, e) {
- var r = t >> 1;
- this.e = parseInt(e, 16);
- for (var n = new o(e, 16);;) {
- for (; this.p = new o(t - r, 1), 0 !== this.p.subtract(o.ONE).gcd(n).compareTo(o.ONE) || !this.p.isProbablePrime(10););
- for (; this.q = new o(r, 1), 0 !== this.q.subtract(o.ONE).gcd(n).compareTo(o.ONE) || !this.q.isProbablePrime(10););
- if (this.p.compareTo(this.q) <= 0) {
- var i = this.p;
- this.p = this.q, this.q = i
- }
- var s = this.p.subtract(o.ONE),
- a = this.q.subtract(o.ONE),
- f = s.multiply(a);
- if (0 === f.gcd(n).compareTo(o.ONE)) {
- if (this.n = this.p.multiply(this.q), this.n.bitLength() < t) continue;
- this.d = n.modInverse(f), this.dmp1 = this.d.mod(s), this.dmq1 = this.d.mod(a), this.coeff = this.q.modInverse(this.p);
- break
- }
- }
- this.$$recalculateCache()
- }, t.prototype.setPrivate = function(t, e, r, n, a, f, u, c) {
- if (!(t && e && r && t.length > 0 && (i.isNumber(e) || e.length > 0) && r.length > 0)) throw Error("Invalid RSA private key");
- this.n = new o(t), this.e = i.isNumber(e) ? e : s.get32IntFromBuffer(e, 0), this.d = new o(r), n && a && f && u && c && (this.p = new o(n), this.q = new o(a), this.dmp1 = new o(f), this.dmq1 = new o(u), this.coeff = new o(c)), this.$$recalculateCache()
- }, t.prototype.setPublic = function(t, e) {
- if (!(t && e && t.length > 0 && (i.isNumber(e) || e.length > 0))) throw Error("Invalid RSA public key");
- this.n = new o(t), this.e = i.isNumber(e) ? e : s.get32IntFromBuffer(e, 0), this.$$recalculateCache()
- }, t.prototype.$doPrivate = function(t) {
- if (this.p || this.q) return t.modPow(this.d, this.n);
- for (var e = t.mod(this.p).modPow(this.dmp1, this.p), r = t.mod(this.q).modPow(this.dmq1, this.q); e.compareTo(r) < 0;) e = e.add(this.p);
- return e.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)
- }, t.prototype.$doPublic = function(t) {
- return t.modPowInt(this.e, this.n)
- }, t.prototype.encrypt = function(t, e) {
- var r = [],
- i = [],
- o = t.length,
- s = Math.ceil(o / this.maxMessageLength) || 1,
- a = Math.ceil(o / s || 1);
- if (1 == s) r.push(t);
- else
- for (var f = 0; f < s; f++) r.push(t.slice(f * a, (f + 1) * a));
- for (var u = 0; u < r.length; u++) i.push(this.encryptEngine.encrypt(r[u], e));
- return n.concat(i)
- }, t.prototype.decrypt = function(t, e) {
- if (t.length % this.encryptedDataLength > 0) throw Error("Incorrect data or key");
- for (var r = [], i = 0, o = 0, s = t.length / this.encryptedDataLength, a = 0; a < s; a++) o = (i = a * this.encryptedDataLength) + this.encryptedDataLength, r.push(this.encryptEngine.decrypt(t.slice(i, Math.min(o, t.length)), e));
- return n.concat(r)
- }, t.prototype.sign = function(t) {
- return this.signingScheme.sign.apply(this.signingScheme, arguments)
- }, t.prototype.verify = function(t, e, r) {
- return this.signingScheme.verify.apply(this.signingScheme, arguments)
- }, t.prototype.isPrivate = function() {
- return !!(this.n && this.e && this.d)
- }, t.prototype.isPublic = function(t) {
- return this.n && this.e && !(t && this.d) || !1
- }, Object.defineProperty(t.prototype, "keySize", {
- get: function() {
- return this.cache.keyBitLength
- }
- }), Object.defineProperty(t.prototype, "encryptedDataLength", {
- get: function() {
- return this.cache.keyByteLength
- }
- }), Object.defineProperty(t.prototype, "maxMessageLength", {
- get: function() {
- return this.encryptionScheme.maxMessageLength()
- }
- }), t.prototype.$$recalculateCache = function() {
- this.cache = this.cache || {}, this.cache.keyBitLength = this.n.bitLength(), this.cache.keyByteLength = this.cache.keyBitLength + 6 >> 3
- }, t
- }()
- },
- 2487: (t, e, r) => {
- var n = r(8287).Buffer,
- i = (r(1973), r(3200));
- t.exports = {
- isEncryption: !0,
- isSignature: !1
- }, t.exports.digestLength = {
- md4: 16,
- md5: 16,
- ripemd160: 20,
- rmd160: 20,
- sha1: 20,
- sha224: 28,
- sha256: 32,
- sha384: 48,
- sha512: 64
- };
- var o = "sha1";
- t.exports.eme_oaep_mgf1 = function(e, r, s) {
- s = s || o;
- for (var a = t.exports.digestLength[s], f = Math.ceil(r / a), u = n.alloc(a * f), c = n.alloc(4), h = 0; h < f; ++h) {
- var p = i.createHash(s);
- p.update(e), c.writeUInt32BE(h, 0), p.update(c), p.digest().copy(u, h * a)
- }
- return u.slice(0, r)
- }, t.exports.makeScheme = function(e, r) {
- function s(t, e) {
- this.key = t, this.options = e
- }
- return s.prototype.maxMessageLength = function() {
- return this.key.encryptedDataLength - 2 * t.exports.digestLength[this.options.encryptionSchemeOptions.hash || o] - 2
- }, s.prototype.encPad = function(e) {
- var r = this.options.encryptionSchemeOptions.hash || o,
- s = this.options.encryptionSchemeOptions.mgf || t.exports.eme_oaep_mgf1,
- a = this.options.encryptionSchemeOptions.label || n.alloc(0),
- f = this.key.encryptedDataLength,
- u = t.exports.digestLength[r];
- if (e.length > f - 2 * u - 2) throw new Error("Message is too long to encode into an encoded message with a length of " + f + " bytes, increaseemLen to fix this error (minimum value for given parameters and options: " + (f - 2 * u - 2) + ")");
- var c = i.createHash(r);
- c.update(a), c = c.digest();
- var h = n.alloc(f - e.length - 2 * u - 1);
- h.fill(0), h[h.length - 1] = 1;
- for (var p = n.concat([c, h, e]), l = i.randomBytes(u), y = s(l, p.length, r), g = 0; g < p.length; g++) p[g] ^= y[g];
- for (y = s(p, u, r), g = 0; g < l.length; g++) l[g] ^= y[g];
- var d = n.alloc(1 + l.length + p.length);
- return d[0] = 0, l.copy(d, 1), p.copy(d, 1 + l.length), d
- }, s.prototype.encUnPad = function(e) {
- var r = this.options.encryptionSchemeOptions.hash || o,
- s = this.options.encryptionSchemeOptions.mgf || t.exports.eme_oaep_mgf1,
- a = this.options.encryptionSchemeOptions.label || n.alloc(0),
- f = t.exports.digestLength[r];
- if (e.length < 2 * f + 2) throw new Error("Error decoding message, the supplied message is not long enough to be a valid OAEP encoded message");
- for (var u = e.slice(1, f + 1), c = e.slice(1 + f), h = s(c, f, r), p = 0; p < u.length; p++) u[p] ^= h[p];
- for (h = s(u, c.length, r), p = 0; p < c.length; p++) c[p] ^= h[p];
- var l = i.createHash(r);
- if (l.update(a), l = l.digest(), c.slice(0, f).toString("hex") != l.toString("hex")) throw new Error("Error decoding message, the lHash calculated from the label provided and the lHash in the encrypted data do not match.");
- for (p = f; 0 === c[p++] && p < c.length;);
- if (1 != c[p - 1]) throw new Error("Error decoding message, there is no padding message separator byte");
- return c.slice(p)
- }, new s(e, r)
- }
- },
- 8290: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(1973),
- o = r(3200),
- s = r(7449),
- a = {
- md2: n.from("3020300c06082a864886f70d020205000410", "hex"),
- md5: n.from("3020300c06082a864886f70d020505000410", "hex"),
- sha1: n.from("3021300906052b0e03021a05000414", "hex"),
- sha224: n.from("302d300d06096086480165030402040500041c", "hex"),
- sha256: n.from("3031300d060960864801650304020105000420", "hex"),
- sha384: n.from("3041300d060960864801650304020205000430", "hex"),
- sha512: n.from("3051300d060960864801650304020305000440", "hex"),
- ripemd160: n.from("3021300906052b2403020105000414", "hex"),
- rmd160: n.from("3021300906052b2403020105000414", "hex")
- },
- f = {
- ripemd160: "rmd160"
- },
- u = "sha256";
- t.exports = {
- isEncryption: !0,
- isSignature: !0
- }, t.exports.makeScheme = function(t, e) {
- function r(t, e) {
- this.key = t, this.options = e
- }
- return r.prototype.maxMessageLength = function() {
- return this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING ? this.key.encryptedDataLength : this.key.encryptedDataLength - 11
- }, r.prototype.encPad = function(t, e) {
- var r;
- if (e = e || {}, t.length > this.key.maxMessageLength) throw new Error("Message too long for RSA (n=" + this.key.encryptedDataLength + ", l=" + t.length + ")");
- if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING) return (r = n.alloc(this.key.maxMessageLength - t.length)).fill(0), n.concat([r, t]);
- if (1 === e.type) return (r = n.alloc(this.key.encryptedDataLength - t.length - 1)).fill(255, 0, r.length - 1), r[0] = 1, r[r.length - 1] = 0, n.concat([r, t]);
- (r = n.alloc(this.key.encryptedDataLength - t.length))[0] = 0, r[1] = 2;
- for (var i = o.randomBytes(r.length - 3), a = 0; a < i.length; a++) {
- for (var f = i[a]; 0 === f;) f = o.randomBytes(1)[0];
- r[a + 2] = f
- }
- return r[r.length - 1] = 0, n.concat([r, t])
- }, r.prototype.encUnPad = function(t, e) {
- e = e || {};
- var r = 0;
- if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING) return "function" == typeof t.lastIndexOf ? t.slice(t.lastIndexOf("\0") + 1, t.length) : t.slice(String.prototype.lastIndexOf.call(t, "\0") + 1, t.length);
- if (t.length < 4) return null;
- if (1 === e.type) {
- if (0 !== t[0] || 1 !== t[1]) return null;
- for (r = 3; 0 !== t[r];)
- if (255 != t[r] || ++r >= t.length) return null
- } else {
- if (0 !== t[0] || 2 !== t[1]) return null;
- for (r = 3; 0 !== t[r];)
- if (++r >= t.length) return null
- }
- return t.slice(r + 1, t.length)
- }, r.prototype.sign = function(t) {
- var e = this.options.signingSchemeOptions.hash || u;
- if ("browser" === this.options.environment) {
- e = f[e] || e;
- var r = o.createHash(e);
- r.update(t);
- var n = this.pkcs1pad(r.digest(), e);
- return this.key.$doPrivate(new i(n)).toBuffer(this.key.encryptedDataLength)
- }
- var s = o.createSign("RSA-" + e.toUpperCase());
- return s.update(t), s.sign(this.options.rsaUtils.exportKey("private"))
- }, r.prototype.verify = function(t, e, r) {
- if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING) return !1;
- var a = this.options.signingSchemeOptions.hash || u;
- if ("browser" === this.options.environment) {
- a = f[a] || a, r && (e = n.from(e, r));
- var c = o.createHash(a);
- c.update(t);
- var h = this.pkcs1pad(c.digest(), a);
- return this.key.$doPublic(new i(e)).toBuffer().toString("hex") == h.toString("hex")
- }
- var p = o.createVerify("RSA-" + a.toUpperCase());
- return p.update(t), p.verify(this.options.rsaUtils.exportKey("public"), e, r)
- }, r.prototype.pkcs0pad = function(t) {
- var e = n.alloc(this.key.maxMessageLength - t.length);
- return e.fill(0), n.concat([e, t])
- }, r.prototype.pkcs0unpad = function(t) {
- return "function" == typeof t.lastIndexOf ? t.slice(t.lastIndexOf("\0") + 1, t.length) : t.slice(String.prototype.lastIndexOf.call(t, "\0") + 1, t.length)
- }, r.prototype.pkcs1pad = function(t, e) {
- var r = a[e];
- if (!r) throw Error("Unsupported hash algorithm");
- var i = n.concat([r, t]);
- if (i.length + 10 > this.key.encryptedDataLength) throw Error("Key is too short for signing algorithm (" + e + ")");
- var o = n.alloc(this.key.encryptedDataLength - i.length - 1);
- return o.fill(255, 0, o.length - 1), o[0] = 1, o[o.length - 1] = 0, n.concat([o, i])
- }, new r(t, e)
- }
- },
- 4414: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(1973),
- o = r(3200);
- t.exports = {
- isEncryption: !1,
- isSignature: !0
- };
- var s = "sha1";
- t.exports.makeScheme = function(t, e) {
- var a = r(1768).pkcs1_oaep;
- function f(t, e) {
- this.key = t, this.options = e
- }
- return f.prototype.sign = function(t) {
- var e = o.createHash(this.options.signingSchemeOptions.hash || s);
- e.update(t);
- var r = this.emsa_pss_encode(e.digest(), this.key.keySize - 1);
- return this.key.$doPrivate(new i(r)).toBuffer(this.key.encryptedDataLength)
- }, f.prototype.verify = function(t, e, r) {
- r && (e = n.from(e, r)), e = new i(e);
- var a = Math.ceil((this.key.keySize - 1) / 8),
- f = this.key.$doPublic(e).toBuffer(a),
- u = o.createHash(this.options.signingSchemeOptions.hash || s);
- return u.update(t), this.emsa_pss_verify(u.digest(), f, this.key.keySize - 1)
- }, f.prototype.emsa_pss_encode = function(t, e) {
- var r = this.options.signingSchemeOptions.hash || s,
- i = this.options.signingSchemeOptions.mgf || a.eme_oaep_mgf1,
- f = this.options.signingSchemeOptions.saltLength || 20,
- u = a.digestLength[r],
- c = Math.ceil(e / 8);
- if (c < u + f + 2) throw new Error("Output length passed to emBits(" + e + ") is too small for the options specified(" + r + ", " + f + "). To fix this issue increase the value of emBits. (minimum size: " + (8 * u + 8 * f + 9) + ")");
- var h = o.randomBytes(f),
- p = n.alloc(8 + u + f);
- p.fill(0, 0, 8), t.copy(p, 8), h.copy(p, 8 + t.length);
- var l = o.createHash(r);
- l.update(p), l = l.digest();
- var y = n.alloc(c - h.length - u - 2);
- y.fill(0);
- var g = n.alloc(y.length + 1 + h.length);
- y.copy(g), g[y.length] = 1, h.copy(g, y.length + 1);
- for (var d = i(l, g.length, r), v = n.alloc(g.length), m = 0; m < d.length; m++) v[m] = g[m] ^ d[m];
- var S = 8 * c - e,
- _ = 255 ^ 255 >> 8 - S << 8 - S;
- v[0] = v[0] & _;
- var b = n.alloc(v.length + l.length + 1);
- return v.copy(b, 0), l.copy(b, v.length), b[b.length - 1] = 188, b
- }, f.prototype.emsa_pss_verify = function(t, e, r) {
- var i = this.options.signingSchemeOptions.hash || s,
- f = this.options.signingSchemeOptions.mgf || a.eme_oaep_mgf1,
- u = this.options.signingSchemeOptions.saltLength || 20,
- c = a.digestLength[i],
- h = Math.ceil(r / 8);
- if (h < c + u + 2 || 188 != e[e.length - 1]) return !1;
- var p = n.alloc(h - c - 1);
- e.copy(p, 0, 0, h - c - 1);
- for (var l = 0, y = 0, g = 8 * h - r; y < g; y++) l |= 1 << 7 - y;
- if (p[0] & l) return !1;
- var d = e.slice(h - c - 1, h - 1),
- v = f(d, p.length, i);
- for (y = 0; y < p.length; y++) p[y] ^= v[y];
- for (l = 255 ^ 255 >> 8 - (g = 8 * h - r) << 8 - g, p[0] = p[0] & l, y = 0; 0 === p[y] && y < p.length; y++);
- if (1 != p[y]) return !1;
- var m = p.slice(p.length - u),
- S = n.alloc(8 + c + u);
- S.fill(0, 0, 8), t.copy(S, 8), m.copy(S, 8 + t.length);
- var _ = o.createHash(i);
- return _.update(S), _ = _.digest(), d.toString("hex") === _.toString("hex")
- }, new f(t, e)
- }
- },
- 1768: (t, e, r) => {
- t.exports = {
- pkcs1: r(8290),
- pkcs1_oaep: r(2487),
- pss: r(4414),
- isEncryption: function(e) {
- return t.exports[e] && t.exports[e].isEncryption
- },
- isSignature: function(e) {
- return t.exports[e] && t.exports[e].isSignature
- }
- }
- },
- 8226: (t, e, r) => {
- var n = r(5606);
- r(3200), t.exports.linebrk = function(t, e) {
- for (var r = "", n = 0; n + e < t.length;) r += t.substring(n, n + e) + "\n", n += e;
- return r + t.substring(n, t.length)
- }, t.exports.detectEnvironment = function() {
- return "browser";
- "undefined" == typeof window || !window || n && "node" === n.title ? "node" : "browser"
- }, t.exports.get32IntFromBuffer = function(t, e) {
- var r;
- if (e = e || 0, (r = t.length - e) > 0) {
- if (r >= 4) return t.readUIntBE(e, r);
- for (var n = 0, i = e + r, o = 0; i > e; i--, o += 2) n += t[i - 1] * Math.pow(16, o);
- return n
- }
- return NaN
- }, t.exports._ = {
- isObject: function(t) {
- var e = typeof t;
- return !!t && ("object" == e || "function" == e)
- },
- isString: function(t) {
- return "string" == typeof t || t instanceof String
- },
- isNumber: function(t) {
- return "number" == typeof t || !isNaN(parseFloat(t)) && isFinite(t)
- },
- omit: function(t, e) {
- var r = {};
- for (var n in t) t.hasOwnProperty(n) && n !== e && (r[n] = t[n]);
- return r
- }
- }, t.exports.trimSurroundingText = function(t, e, r) {
- var n = 0,
- i = t.length,
- o = t.indexOf(e);
- o >= 0 && (n = o + e.length);
- var s = t.indexOf(r, o);
- return s >= 0 && (i = s), t.substring(n, i)
- }
- },
- 8875: (t, e, r) => {
- "use strict";
- var n;
- if (!Object.keys) {
- var i = Object.prototype.hasOwnProperty,
- o = Object.prototype.toString,
- s = r(1093),
- a = Object.prototype.propertyIsEnumerable,
- f = !a.call({
- toString: null
- }, "toString"),
- u = a.call((function() {}), "prototype"),
- c = ["toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "constructor"],
- h = function(t) {
- var e = t.constructor;
- return e && e.prototype === t
- },
- p = {
- $applicationCache: !0,
- $console: !0,
- $external: !0,
- $frame: !0,
- $frameElement: !0,
- $frames: !0,
- $innerHeight: !0,
- $innerWidth: !0,
- $onmozfullscreenchange: !0,
- $onmozfullscreenerror: !0,
- $outerHeight: !0,
- $outerWidth: !0,
- $pageXOffset: !0,
- $pageYOffset: !0,
- $parent: !0,
- $scrollLeft: !0,
- $scrollTop: !0,
- $scrollX: !0,
- $scrollY: !0,
- $self: !0,
- $webkitIndexedDB: !0,
- $webkitStorageInfo: !0,
- $window: !0
- },
- l = function() {
- if ("undefined" == typeof window) return !1;
- for (var t in window) try {
- if (!p["$" + t] && i.call(window, t) && null !== window[t] && "object" == typeof window[t]) try {
- h(window[t])
- } catch (t) {
- return !0
- }
- } catch (t) {
- return !0
- }
- return !1
- }();
- n = function(t) {
- var e = null !== t && "object" == typeof t,
- r = "[object Function]" === o.call(t),
- n = s(t),
- a = e && "[object String]" === o.call(t),
- p = [];
- if (!e && !r && !n) throw new TypeError("Object.keys called on a non-object");
- var y = u && r;
- if (a && t.length > 0 && !i.call(t, 0))
- for (var g = 0; g < t.length; ++g) p.push(String(g));
- if (n && t.length > 0)
- for (var d = 0; d < t.length; ++d) p.push(String(d));
- else
- for (var v in t) y && "prototype" === v || !i.call(t, v) || p.push(String(v));
- if (f)
- for (var m = function(t) {
- if ("undefined" == typeof window || !l) return h(t);
- try {
- return h(t)
- } catch (t) {
- return !1
- }
- }(t), S = 0; S < c.length; ++S) m && "constructor" === c[S] || !i.call(t, c[S]) || p.push(c[S]);
- return p
- }
- }
- t.exports = n
- },
- 1189: (t, e, r) => {
- "use strict";
- var n = Array.prototype.slice,
- i = r(1093),
- o = Object.keys,
- s = o ? function(t) {
- return o(t)
- } : r(8875),
- a = Object.keys;
- s.shim = function() {
- if (Object.keys) {
- var t = function() {
- var t = Object.keys(arguments);
- return t && t.length === arguments.length
- }(1, 2);
- t || (Object.keys = function(t) {
- return i(t) ? a(n.call(t)) : a(t)
- })
- } else Object.keys = s;
- return Object.keys || s
- }, t.exports = s
- },
- 1093: t => {
- "use strict";
- var e = Object.prototype.toString;
- t.exports = function(t) {
- var r = e.call(t),
- n = "[object Arguments]" === r;
- return n || (n = "[object Array]" !== r && null !== t && "object" == typeof t && "number" == typeof t.length && t.length >= 0 && "[object Function]" === e.call(t.callee)), n
- }
- },
- 8403: (t, e, r) => {
- "use strict";
- var n = r(1189),
- i = r(1333)(),
- o = r(8075),
- s = Object,
- a = o("Array.prototype.push"),
- f = o("Object.prototype.propertyIsEnumerable"),
- u = i ? Object.getOwnPropertySymbols : null;
- t.exports = function(t, e) {
- if (null == t) throw new TypeError("target must be an object");
- var r = s(t);
- if (1 === arguments.length) return r;
- for (var o = 1; o < arguments.length; ++o) {
- var c = s(arguments[o]),
- h = n(c),
- p = i && (Object.getOwnPropertySymbols || u);
- if (p)
- for (var l = p(c), y = 0; y < l.length; ++y) {
- var g = l[y];
- f(c, g) && a(h, g)
- }
- for (var d = 0; d < h.length; ++d) {
- var v = h[d];
- if (f(c, v)) {
- var m = c[v];
- r[v] = m
- }
- }
- }
- return r
- }
- },
- 1514: (t, e, r) => {
- "use strict";
- var n = r(8403);
- t.exports = function() {
- return Object.assign ? function() {
- if (!Object.assign) return !1;
- for (var t = "abcdefghijklmnopqrst", e = t.split(""), r = {}, n = 0; n < e.length; ++n) r[e[n]] = e[n];
- var i = Object.assign({}, r),
- o = "";
- for (var s in i) o += s;
- return t !== o
- }() || function() {
- if (!Object.assign || !Object.preventExtensions) return !1;
- var t = Object.preventExtensions({
- 1: 2
- });
- try {
- Object.assign(t, "xy")
- } catch (e) {
- return "y" === t[1]
- }
- return !1
- }() ? n : Object.assign : n
- }
- },
- 5606: t => {
- var e, r, n = t.exports = {};
- function i() {
- throw new Error("setTimeout has not been defined")
- }
- function o() {
- throw new Error("clearTimeout has not been defined")
- }
- function s(t) {
- if (e === setTimeout) return setTimeout(t, 0);
- if ((e === i || !e) && setTimeout) return e = setTimeout, setTimeout(t, 0);
- try {
- return e(t, 0)
- } catch (r) {
- try {
- return e.call(null, t, 0)
- } catch (r) {
- return e.call(this, t, 0)
- }
- }
- }! function() {
- try {
- e = "function" == typeof setTimeout ? setTimeout : i
- } catch (t) {
- e = i
- }
- try {
- r = "function" == typeof clearTimeout ? clearTimeout : o
- } catch (t) {
- r = o
- }
- }();
- var a, f = [],
- u = !1,
- c = -1;
- function h() {
- u && a && (u = !1, a.length ? f = a.concat(f) : c = -1, f.length && p())
- }
- function p() {
- if (!u) {
- var t = s(h);
- u = !0;
- for (var e = f.length; e;) {
- for (a = f, f = []; ++c < e;) a && a[c].run();
- c = -1, e = f.length
- }
- a = null, u = !1,
- function(t) {
- if (r === clearTimeout) return clearTimeout(t);
- if ((r === o || !r) && clearTimeout) return r = clearTimeout, clearTimeout(t);
- try {
- return r(t)
- } catch (e) {
- try {
- return r.call(null, t)
- } catch (e) {
- return r.call(this, t)
- }
- }
- }(t)
- }
- }
- function l(t, e) {
- this.fun = t, this.array = e
- }
- function y() {}
- n.nextTick = function(t) {
- var e = new Array(arguments.length - 1);
- if (arguments.length > 1)
- for (var r = 1; r < arguments.length; r++) e[r - 1] = arguments[r];
- f.push(new l(t, e)), 1 !== f.length || u || s(p)
- }, l.prototype.run = function() {
- this.fun.apply(null, this.array)
- }, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {}, n.on = y, n.addListener = y, n.once = y, n.off = y, n.removeListener = y, n.removeAllListeners = y, n.emit = y, n.prependListener = y, n.prependOnceListener = y, n.listeners = function(t) {
- return []
- }, n.binding = function(t) {
- throw new Error("process.binding is not supported")
- }, n.cwd = function() {
- return "/"
- }, n.chdir = function(t) {
- throw new Error("process.chdir is not supported")
- }, n.umask = function() {
- return 0
- }
- },
- 4774: (t, e, r) => {
- "use strict";
- var n, i = r(5606),
- o = r(8287),
- s = o.Buffer,
- a = {};
- for (n in o) o.hasOwnProperty(n) && "SlowBuffer" !== n && "Buffer" !== n && (a[n] = o[n]);
- var f = a.Buffer = {};
- for (n in s) s.hasOwnProperty(n) && "allocUnsafe" !== n && "allocUnsafeSlow" !== n && (f[n] = s[n]);
- if (a.Buffer.prototype = s.prototype, f.from && f.from !== Uint8Array.from || (f.from = function(t, e, r) {
- if ("number" == typeof t) throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof t);
- if (t && void 0 === t.length) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t);
- return s(t, e, r)
- }), f.alloc || (f.alloc = function(t, e, r) {
- if ("number" != typeof t) throw new TypeError('The "size" argument must be of type number. Received type ' + typeof t);
- if (t < 0 || t >= 2 * (1 << 30)) throw new RangeError('The value "' + t + '" is invalid for option "size"');
- var n = s(t);
- return e && 0 !== e.length ? "string" == typeof r ? n.fill(e, r) : n.fill(e) : n.fill(0), n
- }), !a.kStringMaxLength) try {
- a.kStringMaxLength = i.binding("buffer").kStringMaxLength
- } catch (t) {}
- a.constants || (a.constants = {
- MAX_LENGTH: a.kMaxLength
- }, a.kStringMaxLength && (a.constants.MAX_STRING_LENGTH = a.kStringMaxLength)), t.exports = a
- },
- 6897: (t, e, r) => {
- "use strict";
- var n = r(453),
- i = r(41),
- o = r(592)(),
- s = r(5795),
- a = r(9675),
- f = n("%Math.floor%");
- t.exports = function(t, e) {
- if ("function" != typeof t) throw new a("`fn` is not a function");
- if ("number" != typeof e || e < 0 || e > 4294967295 || f(e) !== e) throw new a("`length` must be a positive 32-bit integer");
- var r = arguments.length > 2 && !!arguments[2],
- n = !0,
- u = !0;
- if ("length" in t && s) {
- var c = s(t, "length");
- c && !c.configurable && (n = !1), c && !c.writable && (u = !1)
- }
- return (n || u || !r) && (o ? i(t, "length", e, !0, !0) : i(t, "length", e)), t
- }
- },
- 3200: (t, e, r) => {
- var n = r(8287).Buffer,
- i = r(1396),
- o = {
- randomBytes: function(t) {
- for (var e = [], r = 0; r < t; r++) e.push(Math.floor(256 * Math.random()));
- return n.from(e)
- },
- createHash(t) {
- let e = n.from([]);
- return {
- update: function(t) {
- return e = n.concat([e, t]), this
- },
- digest: function() {
- let r = i[t.toUpperCase()](i.lib.WordArray.create(new Uint8Array(e))).toString();
- return n.from(r, "hex")
- }
- }
- }
- };
- t.exports = o
- },
- 7033: (t, e, r) => {
- var n = r(8287).Buffer;
- const i = r(3229);
- let o = {
- outputEncoding: "",
- PublicFormat: "pkcs1-public",
- PrivateFormat: "pkcs1-private",
- options: {
- environment: "browser",
- encryptionScheme: "pkcs1"
- }
- };
- t.exports = {
- NodeRSA: i,
- encryptRSAWithPublicKey: function(t, e, r = {}) {
- return r = Object.assign({}, o, r), new i(e, r.PublicFormat, r.options).encrypt(t, r.outEncoding || "base64")
- },
- encryptRSAWithPrivateKey: function(t, e, r = {}) {
- return r = Object.assign({}, o, r), new i(e, r.PrivateFormat, r.options).encryptPrivate(t, r.outputEncoding || "base64")
- },
- decryptRSAWithPublicKey: function(t, e, r = {}) {
- return r = Object.assign({}, o, r), new i(e, r.PublicEncoding, r.options).decryptPublic(t, r.outEncoding || "utf8")
- },
- decryptRSAWithPrivateKey: function(t, e, r = {}) {
- return r = Object.assign({}, o, r), new i(e, r.PrivateEncoding, r.options).decrypt(t, r.outEncoding || "utf8")
- },
- sign: function(t, e, r = {}) {
- return r = Object.assign({}, o, r), new i(e, r.PrivateEncoding, r.options).sign(t, r.outEncoding || "base64")
- },
- verify: function(t, e, r, s = {}) {
- return "string" == typeof e && e.match(/^([0-9a-fA-F]{2})*$/) ? e = n.from(e, "hex") : "string" == typeof e && (e = n.from(e, "base64")), s = Object.assign({}, o, s), new i(r, s.PublicEncoding, s.options).verify(t, e)
- }
- }
- },
- 7449: t => {
- "use strict";
- t.exports = JSON.parse('{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":512,"O_EXCL":2048,"O_NOCTTY":131072,"O_TRUNC":1024,"O_APPEND":8,"O_DIRECTORY":1048576,"O_NOFOLLOW":256,"O_SYNC":128,"O_SYMLINK":2097152,"O_NONBLOCK":4,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"E2BIG":7,"EACCES":13,"EADDRINUSE":48,"EADDRNOTAVAIL":49,"EAFNOSUPPORT":47,"EAGAIN":35,"EALREADY":37,"EBADF":9,"EBADMSG":94,"EBUSY":16,"ECANCELED":89,"ECHILD":10,"ECONNABORTED":53,"ECONNREFUSED":61,"ECONNRESET":54,"EDEADLK":11,"EDESTADDRREQ":39,"EDOM":33,"EDQUOT":69,"EEXIST":17,"EFAULT":14,"EFBIG":27,"EHOSTUNREACH":65,"EIDRM":90,"EILSEQ":92,"EINPROGRESS":36,"EINTR":4,"EINVAL":22,"EIO":5,"EISCONN":56,"EISDIR":21,"ELOOP":62,"EMFILE":24,"EMLINK":31,"EMSGSIZE":40,"EMULTIHOP":95,"ENAMETOOLONG":63,"ENETDOWN":50,"ENETRESET":52,"ENETUNREACH":51,"ENFILE":23,"ENOBUFS":55,"ENODATA":96,"ENODEV":19,"ENOENT":2,"ENOEXEC":8,"ENOLCK":77,"ENOLINK":97,"ENOMEM":12,"ENOMSG":91,"ENOPROTOOPT":42,"ENOSPC":28,"ENOSR":98,"ENOSTR":99,"ENOSYS":78,"ENOTCONN":57,"ENOTDIR":20,"ENOTEMPTY":66,"ENOTSOCK":38,"ENOTSUP":45,"ENOTTY":25,"ENXIO":6,"EOPNOTSUPP":102,"EOVERFLOW":84,"EPERM":1,"EPIPE":32,"EPROTO":100,"EPROTONOSUPPORT":43,"EPROTOTYPE":41,"ERANGE":34,"EROFS":30,"ESPIPE":29,"ESRCH":3,"ESTALE":70,"ETIME":101,"ETIMEDOUT":60,"ETXTBSY":26,"EWOULDBLOCK":35,"EXDEV":18,"SIGHUP":1,"SIGINT":2,"SIGQUIT":3,"SIGILL":4,"SIGTRAP":5,"SIGABRT":6,"SIGIOT":6,"SIGBUS":10,"SIGFPE":8,"SIGKILL":9,"SIGUSR1":30,"SIGSEGV":11,"SIGUSR2":31,"SIGPIPE":13,"SIGALRM":14,"SIGTERM":15,"SIGCHLD":20,"SIGCONT":19,"SIGSTOP":17,"SIGTSTP":18,"SIGTTIN":21,"SIGTTOU":22,"SIGURG":16,"SIGXCPU":24,"SIGXFSZ":25,"SIGVTALRM":26,"SIGPROF":27,"SIGWINCH":28,"SIGIO":23,"SIGSYS":12,"SSL_OP_ALL":2147486719,"SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION":262144,"SSL_OP_CIPHER_SERVER_PREFERENCE":4194304,"SSL_OP_CISCO_ANYCONNECT":32768,"SSL_OP_COOKIE_EXCHANGE":8192,"SSL_OP_CRYPTOPRO_TLSEXT_BUG":2147483648,"SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS":2048,"SSL_OP_EPHEMERAL_RSA":0,"SSL_OP_LEGACY_SERVER_CONNECT":4,"SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER":32,"SSL_OP_MICROSOFT_SESS_ID_BUG":1,"SSL_OP_MSIE_SSLV2_RSA_PADDING":0,"SSL_OP_NETSCAPE_CA_DN_BUG":536870912,"SSL_OP_NETSCAPE_CHALLENGE_BUG":2,"SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG":1073741824,"SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG":8,"SSL_OP_NO_COMPRESSION":131072,"SSL_OP_NO_QUERY_MTU":4096,"SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION":65536,"SSL_OP_NO_SSLv2":16777216,"SSL_OP_NO_SSLv3":33554432,"SSL_OP_NO_TICKET":16384,"SSL_OP_NO_TLSv1":67108864,"SSL_OP_NO_TLSv1_1":268435456,"SSL_OP_NO_TLSv1_2":134217728,"SSL_OP_PKCS1_CHECK_1":0,"SSL_OP_PKCS1_CHECK_2":0,"SSL_OP_SINGLE_DH_USE":1048576,"SSL_OP_SINGLE_ECDH_USE":524288,"SSL_OP_SSLEAY_080_CLIENT_DH_BUG":128,"SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG":0,"SSL_OP_TLS_BLOCK_PADDING_BUG":512,"SSL_OP_TLS_D5_BUG":256,"SSL_OP_TLS_ROLLBACK_BUG":8388608,"ENGINE_METHOD_DSA":2,"ENGINE_METHOD_DH":4,"ENGINE_METHOD_RAND":8,"ENGINE_METHOD_ECDH":16,"ENGINE_METHOD_ECDSA":32,"ENGINE_METHOD_CIPHERS":64,"ENGINE_METHOD_DIGESTS":128,"ENGINE_METHOD_STORE":256,"ENGINE_METHOD_PKEY_METHS":512,"ENGINE_METHOD_PKEY_ASN1_METHS":1024,"ENGINE_METHOD_ALL":65535,"ENGINE_METHOD_NONE":0,"DH_CHECK_P_NOT_SAFE_PRIME":2,"DH_CHECK_P_NOT_PRIME":1,"DH_UNABLE_TO_CHECK_GENERATOR":4,"DH_NOT_SUITABLE_GENERATOR":8,"NPN_ENABLED":1,"RSA_PKCS1_PADDING":1,"RSA_SSLV23_PADDING":2,"RSA_NO_PADDING":3,"RSA_PKCS1_OAEP_PADDING":4,"RSA_X931_PADDING":5,"RSA_PKCS1_PSS_PADDING":6,"POINT_CONVERSION_COMPRESSED":2,"POINT_CONVERSION_UNCOMPRESSED":4,"POINT_CONVERSION_HYBRID":6,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1,"UV_UDP_REUSEADDR":4}')
- }
- },
- e = {};
- function r(n) {
- var i = e[n];
- if (void 0 !== i) return i.exports;
- var o = e[n] = {
- exports: {}
- };
- return t[n].call(o.exports, o, o.exports, r), o.exports
- }
- return r.g = function() {
- if ("object" == typeof globalThis) return globalThis;
- try {
- return this || new Function("return this")()
- } catch (t) {
- if ("object" == typeof window) return window
- }
- }(), r(7033)
- })()));
|