pptJson.js 3.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116
  1. ;(function (e) {
  2. var t = {}
  3. function r(n) {
  4. if (t[n]) return t[n].exports
  5. var i = (t[n] = {
  6. i: n,
  7. l: !1,
  8. exports: {}
  9. })
  10. return e[n].call(i.exports, i, i.exports, r), (i.l = !0), i.exports
  11. }
  12. ;(r.m = e),
  13. (r.c = t),
  14. (r.d = function (e, t, n) {
  15. r.o(e, t) ||
  16. Object.defineProperty(e, t, {
  17. enumerable: !0,
  18. get: n
  19. })
  20. }),
  21. (r.r = function (e) {
  22. "undefined" !== typeof Symbol &&
  23. Symbol.toStringTag &&
  24. Object.defineProperty(e, Symbol.toStringTag, {
  25. value: "Module"
  26. }),
  27. Object.defineProperty(e, "__esModule", {
  28. value: !0
  29. })
  30. }),
  31. (r.t = function (e, t) {
  32. if ((1 & t && (e = r(e)), 8 & t)) return e
  33. if (4 & t && "object" === typeof e && e && e.__esModule) return e
  34. var n = Object.create(null)
  35. if (
  36. (r.r(n),
  37. Object.defineProperty(n, "default", {
  38. enumerable: !0,
  39. value: e
  40. }),
  41. 2 & t && "string" != typeof e)
  42. )
  43. for (var i in e)
  44. r.d(
  45. n,
  46. i,
  47. function (t) {
  48. return e[t]
  49. }.bind(null, i)
  50. )
  51. return n
  52. }),
  53. (r.n = function (e) {
  54. var t =
  55. e && e.__esModule
  56. ? function () {
  57. return e["default"]
  58. }
  59. : function () {
  60. return e
  61. }
  62. return r.d(t, "a", t), t
  63. }),
  64. (r.o = function (e, t) {
  65. return Object.prototype.hasOwnProperty.call(e, t)
  66. }),
  67. (r.p = "/"),
  68. r((r.s = "9a7e"))
  69. })({
  70. 0: function (e, t) {},
  71. "00ee": function (e, t, r) {
  72. var n = r("b622"),
  73. i = n("toStringTag"),
  74. o = {}
  75. ;(o[i] = "z"), (e.exports = "[object z]" === String(o))
  76. },
  77. "0366": function (e, t, r) {
  78. var n = r("1c0b")
  79. e.exports = function (e, t, r) {
  80. if ((n(e), void 0 === t)) return e
  81. switch (r) {
  82. case 0:
  83. return function () {
  84. return e.call(t)
  85. }
  86. case 1:
  87. return function (r) {
  88. return e.call(t, r)
  89. }
  90. case 2:
  91. return function (r, n) {
  92. return e.call(t, r, n)
  93. }
  94. case 3:
  95. return function (r, n, i) {
  96. return e.call(t, r, n, i)
  97. }
  98. }
  99. return function () {
  100. return e.apply(t, arguments)
  101. }
  102. }
  103. },
  104. "057f": function (e, t, r) {
  105. var n = r("fc6a"),
  106. i = r("241c").f,
  107. o = {}.toString,
  108. a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
  109. s = function (e) {
  110. try {
  111. return i(e)
  112. } catch (t) {
  113. return a.slice()
  114. }
  115. }
  116. e.exports.f = function (e) {
  117. return a && "[object Window]" == o.call(e) ? s(e) : i(n(e))
  118. }
  119. },
  120. "06cf": function (e, t, r) {
  121. var n = r("83ab"),
  122. i = r("d1e7"),
  123. o = r("5c6c"),
  124. a = r("fc6a"),
  125. s = r("a04b"),
  126. l = r("5135"),
  127. c = r("0cfb"),
  128. u = Object.getOwnPropertyDescriptor
  129. t.f = n
  130. ? u
  131. : function (e, t) {
  132. if (((e = a(e)), (t = s(t)), c))
  133. try {
  134. return u(e, t)
  135. } catch (r) {}
  136. if (l(e, t)) return o(!i.f.call(e, t), e[t])
  137. }
  138. },
  139. "078a": function (e, t, r) {
  140. var n = r("96c1"),
  141. i = r("844f")
  142. function o(e) {
  143. var t = n.copyOptions(e)
  144. return n.ensureSpacesExists(t), t
  145. }
  146. e.exports = function (e, t) {
  147. var r, n, a, s
  148. return (
  149. (r = o(t)),
  150. (n = i(e, r)),
  151. (s = "compact" in r && r.compact ? "_parent" : "parent"),
  152. (a =
  153. "addParent" in r && r.addParent
  154. ? JSON.stringify(
  155. n,
  156. function (e, t) {
  157. return e === s ? "_" : t
  158. },
  159. r.spaces
  160. )
  161. : JSON.stringify(n, null, r.spaces)),
  162. a.replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029")
  163. )
  164. }
  165. },
  166. "0960": function (e, t, r) {
  167. e.exports = r("b19a")
  168. },
  169. "0b42": function (e, t, r) {
  170. var n = r("861d"),
  171. i = r("e8b5"),
  172. o = r("b622"),
  173. a = o("species")
  174. e.exports = function (e) {
  175. var t
  176. return (
  177. i(e) &&
  178. ((t = e.constructor),
  179. "function" != typeof t || (t !== Array && !i(t.prototype)) ? n(t) && ((t = t[a]), null === t && (t = void 0)) : (t = void 0)),
  180. void 0 === t ? Array : t
  181. )
  182. }
  183. },
  184. "0cb2": function (e, t, r) {
  185. var n = r("7b0b"),
  186. i = Math.floor,
  187. o = "".replace,
  188. a = /\$([$&'`]|\d{1,2}|<[^>]*>)/g,
  189. s = /\$([$&'`]|\d{1,2})/g
  190. e.exports = function (e, t, r, l, c, u) {
  191. var f = r + e.length,
  192. p = l.length,
  193. d = s
  194. return (
  195. void 0 !== c && ((c = n(c)), (d = a)),
  196. o.call(u, d, function (n, o) {
  197. var a
  198. switch (o.charAt(0)) {
  199. case "$":
  200. return "$"
  201. case "&":
  202. return e
  203. case "`":
  204. return t.slice(0, r)
  205. case "'":
  206. return t.slice(f)
  207. case "<":
  208. a = c[o.slice(1, -1)]
  209. break
  210. default:
  211. var s = +o
  212. if (0 === s) return n
  213. if (s > p) {
  214. var u = i(s / 10)
  215. return 0 === u ? n : u <= p ? (void 0 === l[u - 1] ? o.charAt(1) : l[u - 1] + o.charAt(1)) : n
  216. }
  217. a = l[s - 1]
  218. }
  219. return void 0 === a ? "" : a
  220. })
  221. )
  222. }
  223. },
  224. "0cfb": function (e, t, r) {
  225. var n = r("83ab"),
  226. i = r("d039"),
  227. o = r("cc12")
  228. e.exports =
  229. !n &&
  230. !i(function () {
  231. return (
  232. 7 !=
  233. Object.defineProperty(o("div"), "a", {
  234. get: function () {
  235. return 7
  236. }
  237. }).a
  238. )
  239. })
  240. },
  241. 1: function (e, t) {},
  242. "107c": function (e, t, r) {
  243. var n = r("d039"),
  244. i = r("da84"),
  245. o = i.RegExp
  246. e.exports = n(function () {
  247. var e = o("(?<a>b)", "g")
  248. return "b" !== e.exec("b").groups.a || "bc" !== "b".replace(e, "$<a>c")
  249. })
  250. },
  251. 1276: function (e, t, r) {
  252. "use strict"
  253. var n = r("d784"),
  254. i = r("44e7"),
  255. o = r("825a"),
  256. a = r("1d80"),
  257. s = r("4840"),
  258. l = r("8aa5"),
  259. c = r("50c4"),
  260. u = r("577e"),
  261. f = r("14c3"),
  262. p = r("9263"),
  263. d = r("9f7f"),
  264. h = r("d039"),
  265. m = d.UNSUPPORTED_Y,
  266. g = [].push,
  267. y = Math.min,
  268. v = 4294967295,
  269. b = !h(function () {
  270. var e = /(?:)/,
  271. t = e.exec
  272. e.exec = function () {
  273. return t.apply(this, arguments)
  274. }
  275. var r = "ab".split(e)
  276. return 2 !== r.length || "a" !== r[0] || "b" !== r[1]
  277. })
  278. n(
  279. "split",
  280. function (e, t, r) {
  281. var n
  282. return (
  283. (n =
  284. "c" == "abbc".split(/(b)*/)[1] ||
  285. 4 != "test".split(/(?:)/, -1).length ||
  286. 2 != "ab".split(/(?:ab)*/).length ||
  287. 4 != ".".split(/(.?)(.?)/).length ||
  288. ".".split(/()()/).length > 1 ||
  289. "".split(/.?/).length
  290. ? function (e, r) {
  291. var n = u(a(this)),
  292. o = void 0 === r ? v : r >>> 0
  293. if (0 === o) return []
  294. if (void 0 === e) return [n]
  295. if (!i(e)) return t.call(n, e, o)
  296. var s,
  297. l,
  298. c,
  299. f = [],
  300. d = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""),
  301. h = 0,
  302. m = new RegExp(e.source, d + "g")
  303. while ((s = p.call(m, n))) {
  304. if (
  305. ((l = m.lastIndex),
  306. l > h &&
  307. (f.push(n.slice(h, s.index)),
  308. s.length > 1 && s.index < n.length && g.apply(f, s.slice(1)),
  309. (c = s[0].length),
  310. (h = l),
  311. f.length >= o))
  312. )
  313. break
  314. m.lastIndex === s.index && m.lastIndex++
  315. }
  316. return h === n.length ? (!c && m.test("")) || f.push("") : f.push(n.slice(h)), f.length > o ? f.slice(0, o) : f
  317. }
  318. : "0".split(void 0, 0).length
  319. ? function (e, r) {
  320. return void 0 === e && 0 === r ? [] : t.call(this, e, r)
  321. }
  322. : t),
  323. [
  324. function (t, r) {
  325. var i = a(this),
  326. o = void 0 == t ? void 0 : t[e]
  327. return void 0 !== o ? o.call(t, i, r) : n.call(u(i), t, r)
  328. },
  329. function (e, i) {
  330. var a = o(this),
  331. p = u(e),
  332. d = r(n, a, p, i, n !== t)
  333. if (d.done) return d.value
  334. var h = s(a, RegExp),
  335. g = a.unicode,
  336. b = (a.ignoreCase ? "i" : "") + (a.multiline ? "m" : "") + (a.unicode ? "u" : "") + (m ? "g" : "y"),
  337. w = new h(m ? "^(?:" + a.source + ")" : a, b),
  338. x = void 0 === i ? v : i >>> 0
  339. if (0 === x) return []
  340. if (0 === p.length) return null === f(w, p) ? [p] : []
  341. var A = 0,
  342. _ = 0,
  343. T = []
  344. while (_ < p.length) {
  345. w.lastIndex = m ? 0 : _
  346. var E,
  347. S = f(w, m ? p.slice(_) : p)
  348. if (null === S || (E = y(c(w.lastIndex + (m ? _ : 0)), p.length)) === A) _ = l(p, _, g)
  349. else {
  350. if ((T.push(p.slice(A, _)), T.length === x)) return T
  351. for (var C = 1; C <= S.length - 1; C++) if ((T.push(S[C]), T.length === x)) return T
  352. _ = A = E
  353. }
  354. }
  355. return T.push(p.slice(A)), T
  356. }
  357. ]
  358. )
  359. },
  360. !b,
  361. m
  362. )
  363. },
  364. "14c3": function (e, t, r) {
  365. var n = r("c6b6"),
  366. i = r("9263")
  367. e.exports = function (e, t) {
  368. var r = e.exec
  369. if ("function" === typeof r) {
  370. var o = r.call(e, t)
  371. if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null")
  372. return o
  373. }
  374. if ("RegExp" !== n(e)) throw TypeError("RegExp#exec called on incompatible receiver")
  375. return i.call(e, t)
  376. }
  377. },
  378. "159b": function (e, t, r) {
  379. var n = r("da84"),
  380. i = r("fdbc"),
  381. o = r("17c2"),
  382. a = r("9112")
  383. for (var s in i) {
  384. var l = n[s],
  385. c = l && l.prototype
  386. if (c && c.forEach !== o)
  387. try {
  388. a(c, "forEach", o)
  389. } catch (u) {
  390. c.forEach = o
  391. }
  392. }
  393. },
  394. "17c2": function (e, t, r) {
  395. "use strict"
  396. var n = r("b727").forEach,
  397. i = r("a640"),
  398. o = i("forEach")
  399. e.exports = o
  400. ? [].forEach
  401. : function (e) {
  402. return n(this, e, arguments.length > 1 ? arguments[1] : void 0)
  403. }
  404. },
  405. "1be4": function (e, t, r) {
  406. var n = r("d066")
  407. e.exports = n("document", "documentElement")
  408. },
  409. "1c0b": function (e, t) {
  410. e.exports = function (e) {
  411. if ("function" != typeof e) throw TypeError(String(e) + " is not a function")
  412. return e
  413. }
  414. },
  415. "1c7e": function (e, t, r) {
  416. var n = r("b622"),
  417. i = n("iterator"),
  418. o = !1
  419. try {
  420. var a = 0,
  421. s = {
  422. next: function () {
  423. return {
  424. done: !!a++
  425. }
  426. },
  427. return: function () {
  428. o = !0
  429. }
  430. }
  431. ;(s[i] = function () {
  432. return this
  433. }),
  434. Array.from(s, function () {
  435. throw 2
  436. })
  437. } catch (l) {}
  438. e.exports = function (e, t) {
  439. if (!t && !o) return !1
  440. var r = !1
  441. try {
  442. var n = {}
  443. ;(n[i] = function () {
  444. return {
  445. next: function () {
  446. return {
  447. done: (r = !0)
  448. }
  449. }
  450. }
  451. }),
  452. e(n)
  453. } catch (l) {}
  454. return r
  455. }
  456. },
  457. "1d80": function (e, t) {
  458. e.exports = function (e) {
  459. if (void 0 == e) throw TypeError("Can't call method on " + e)
  460. return e
  461. }
  462. },
  463. "1dde": function (e, t, r) {
  464. var n = r("d039"),
  465. i = r("b622"),
  466. o = r("2d00"),
  467. a = i("species")
  468. e.exports = function (e) {
  469. return (
  470. o >= 51 ||
  471. !n(function () {
  472. var t = [],
  473. r = (t.constructor = {})
  474. return (
  475. (r[a] = function () {
  476. return {
  477. foo: 1
  478. }
  479. }),
  480. 1 !== t[e](Boolean).foo
  481. )
  482. })
  483. )
  484. }
  485. },
  486. "1fb5": function (e, t, r) {
  487. "use strict"
  488. ;(t.byteLength = u), (t.toByteArray = p), (t.fromByteArray = m)
  489. for (
  490. var n = [],
  491. i = [],
  492. o = "undefined" !== typeof Uint8Array ? Uint8Array : Array,
  493. a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  494. s = 0,
  495. l = a.length;
  496. s < l;
  497. ++s
  498. )
  499. (n[s] = a[s]), (i[a.charCodeAt(s)] = s)
  500. function c(e) {
  501. var t = e.length
  502. if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4")
  503. var r = e.indexOf("=")
  504. ;-1 === r && (r = t)
  505. var n = r === t ? 0 : 4 - (r % 4)
  506. return [r, n]
  507. }
  508. function u(e) {
  509. var t = c(e),
  510. r = t[0],
  511. n = t[1]
  512. return (3 * (r + n)) / 4 - n
  513. }
  514. function f(e, t, r) {
  515. return (3 * (t + r)) / 4 - r
  516. }
  517. function p(e) {
  518. var t,
  519. r,
  520. n = c(e),
  521. a = n[0],
  522. s = n[1],
  523. l = new o(f(e, a, s)),
  524. u = 0,
  525. p = s > 0 ? a - 4 : a
  526. for (r = 0; r < p; r += 4)
  527. (t = (i[e.charCodeAt(r)] << 18) | (i[e.charCodeAt(r + 1)] << 12) | (i[e.charCodeAt(r + 2)] << 6) | i[e.charCodeAt(r + 3)]),
  528. (l[u++] = (t >> 16) & 255),
  529. (l[u++] = (t >> 8) & 255),
  530. (l[u++] = 255 & t)
  531. return (
  532. 2 === s && ((t = (i[e.charCodeAt(r)] << 2) | (i[e.charCodeAt(r + 1)] >> 4)), (l[u++] = 255 & t)),
  533. 1 === s &&
  534. ((t = (i[e.charCodeAt(r)] << 10) | (i[e.charCodeAt(r + 1)] << 4) | (i[e.charCodeAt(r + 2)] >> 2)),
  535. (l[u++] = (t >> 8) & 255),
  536. (l[u++] = 255 & t)),
  537. l
  538. )
  539. }
  540. function d(e) {
  541. return n[(e >> 18) & 63] + n[(e >> 12) & 63] + n[(e >> 6) & 63] + n[63 & e]
  542. }
  543. function h(e, t, r) {
  544. for (var n, i = [], o = t; o < r; o += 3) (n = ((e[o] << 16) & 16711680) + ((e[o + 1] << 8) & 65280) + (255 & e[o + 2])), i.push(d(n))
  545. return i.join("")
  546. }
  547. function m(e) {
  548. for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, l = r - i; s < l; s += a) o.push(h(e, s, s + a > l ? l : s + a))
  549. return (
  550. 1 === i
  551. ? ((t = e[r - 1]), o.push(n[t >> 2] + n[(t << 4) & 63] + "=="))
  552. : 2 === i && ((t = (e[r - 2] << 8) + e[r - 1]), o.push(n[t >> 10] + n[(t >> 4) & 63] + n[(t << 2) & 63] + "=")),
  553. o.join("")
  554. )
  555. }
  556. ;(i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63)
  557. },
  558. 2: function (e, t) {},
  559. "23cb": function (e, t, r) {
  560. var n = r("a691"),
  561. i = Math.max,
  562. o = Math.min
  563. e.exports = function (e, t) {
  564. var r = n(e)
  565. return r < 0 ? i(r + t, 0) : o(r, t)
  566. }
  567. },
  568. "23e7": function (e, t, r) {
  569. var n = r("da84"),
  570. i = r("06cf").f,
  571. o = r("9112"),
  572. a = r("6eeb"),
  573. s = r("ce4e"),
  574. l = r("e893"),
  575. c = r("94ca")
  576. e.exports = function (e, t) {
  577. var r,
  578. u,
  579. f,
  580. p,
  581. d,
  582. h,
  583. m = e.target,
  584. g = e.global,
  585. y = e.stat
  586. if (((u = g ? n : y ? n[m] || s(m, {}) : (n[m] || {}).prototype), u))
  587. for (f in t) {
  588. if (
  589. ((d = t[f]),
  590. e.noTargetGet ? ((h = i(u, f)), (p = h && h.value)) : (p = u[f]),
  591. (r = c(g ? f : m + (y ? "." : "#") + f, e.forced)),
  592. !r && void 0 !== p)
  593. ) {
  594. if (typeof d === typeof p) continue
  595. l(d, p)
  596. }
  597. ;(e.sham || (p && p.sham)) && o(d, "sham", !0), a(u, f, d, e)
  598. }
  599. }
  600. },
  601. "241c": function (e, t, r) {
  602. var n = r("ca84"),
  603. i = r("7839"),
  604. o = i.concat("length", "prototype")
  605. t.f =
  606. Object.getOwnPropertyNames ||
  607. function (e) {
  608. return n(e, o)
  609. }
  610. },
  611. 2532: function (e, t, r) {
  612. "use strict"
  613. var n = r("23e7"),
  614. i = r("5a34"),
  615. o = r("1d80"),
  616. a = r("577e"),
  617. s = r("ab13")
  618. n(
  619. {
  620. target: "String",
  621. proto: !0,
  622. forced: !s("includes")
  623. },
  624. {
  625. includes: function (e) {
  626. return !!~a(o(this)).indexOf(a(i(e)), arguments.length > 1 ? arguments[1] : void 0)
  627. }
  628. }
  629. )
  630. },
  631. "27bf": function (e, t, r) {
  632. "use strict"
  633. e.exports = a
  634. var n = r("b19a"),
  635. i = Object.create(r("3a7c"))
  636. function o(e, t) {
  637. var r = this._transformState
  638. r.transforming = !1
  639. var n = r.writecb
  640. if (!n) return this.emit("error", new Error("write callback called multiple times"))
  641. ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e)
  642. var i = this._readableState
  643. ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
  644. }
  645. function a(e) {
  646. if (!(this instanceof a)) return new a(e)
  647. n.call(this, e),
  648. (this._transformState = {
  649. afterTransform: o.bind(this),
  650. needTransform: !1,
  651. transforming: !1,
  652. writecb: null,
  653. writechunk: null,
  654. writeencoding: null
  655. }),
  656. (this._readableState.needReadable = !0),
  657. (this._readableState.sync = !1),
  658. e && ("function" === typeof e.transform && (this._transform = e.transform), "function" === typeof e.flush && (this._flush = e.flush)),
  659. this.on("prefinish", s)
  660. }
  661. function s() {
  662. var e = this
  663. "function" === typeof this._flush
  664. ? this._flush(function (t, r) {
  665. l(e, t, r)
  666. })
  667. : l(this, null, null)
  668. }
  669. function l(e, t, r) {
  670. if (t) return e.emit("error", t)
  671. if ((null != r && e.push(r), e._writableState.length)) throw new Error("Calling transform done when ws.length != 0")
  672. if (e._transformState.transforming) throw new Error("Calling transform done when still transforming")
  673. return e.push(null)
  674. }
  675. ;(i.inherits = r("3fb5")),
  676. i.inherits(a, n),
  677. (a.prototype.push = function (e, t) {
  678. return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t)
  679. }),
  680. (a.prototype._transform = function (e, t, r) {
  681. throw new Error("_transform() is not implemented")
  682. }),
  683. (a.prototype._write = function (e, t, r) {
  684. var n = this._transformState
  685. if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) {
  686. var i = this._readableState
  687. ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
  688. }
  689. }),
  690. (a.prototype._read = function (e) {
  691. var t = this._transformState
  692. null !== t.writechunk && t.writecb && !t.transforming
  693. ? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
  694. : (t.needTransform = !0)
  695. }),
  696. (a.prototype._destroy = function (e, t) {
  697. var r = this
  698. n.prototype._destroy.call(this, e, function (e) {
  699. t(e), r.emit("close")
  700. })
  701. })
  702. },
  703. "2a62": function (e, t, r) {
  704. var n = r("825a")
  705. e.exports = function (e, t, r) {
  706. var i, o
  707. n(e)
  708. try {
  709. if (((i = e["return"]), void 0 === i)) {
  710. if ("throw" === t) throw r
  711. return r
  712. }
  713. i = i.call(e)
  714. } catch (a) {
  715. ;(o = !0), (i = a)
  716. }
  717. if ("throw" === t) throw r
  718. if (o) throw i
  719. return n(i), r
  720. }
  721. },
  722. "2c63": function (e, t, r) {
  723. e.exports = r("dc14")
  724. },
  725. "2d00": function (e, t, r) {
  726. var n,
  727. i,
  728. o = r("da84"),
  729. a = r("342f"),
  730. s = o.process,
  731. l = o.Deno,
  732. c = (s && s.versions) || (l && l.version),
  733. u = c && c.v8
  734. u
  735. ? ((n = u.split(".")), (i = n[0] < 4 ? 1 : n[0] + n[1]))
  736. : a && ((n = a.match(/Edge\/(\d+)/)), (!n || n[1] >= 74) && ((n = a.match(/Chrome\/(\d+)/)), n && (i = n[1]))),
  737. (e.exports = i && +i)
  738. },
  739. "2ef0": function (e, t, r) {
  740. ;(function (e, n) {
  741. var i
  742. /**
  743. * @license
  744. * Lodash <https://lodash.com/>
  745. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  746. * Released under MIT license <https://lodash.com/license>
  747. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  748. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  749. */
  750. ;(function () {
  751. var o,
  752. a = "4.17.21",
  753. s = 200,
  754. l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",
  755. c = "Expected a function",
  756. u = "Invalid `variable` option passed into `_.template`",
  757. f = "__lodash_hash_undefined__",
  758. p = 500,
  759. d = "__lodash_placeholder__",
  760. h = 1,
  761. m = 2,
  762. g = 4,
  763. y = 1,
  764. v = 2,
  765. b = 1,
  766. w = 2,
  767. x = 4,
  768. A = 8,
  769. _ = 16,
  770. T = 32,
  771. E = 64,
  772. S = 128,
  773. C = 256,
  774. k = 512,
  775. L = 30,
  776. P = "...",
  777. O = 800,
  778. j = 16,
  779. R = 1,
  780. I = 2,
  781. N = 3,
  782. M = 1 / 0,
  783. D = 9007199254740991,
  784. B = 17976931348623157e292,
  785. F = NaN,
  786. U = 4294967295,
  787. z = U - 1,
  788. q = U >>> 1,
  789. G = [
  790. ["ary", S],
  791. ["bind", b],
  792. ["bindKey", w],
  793. ["curry", A],
  794. ["curryRight", _],
  795. ["flip", k],
  796. ["partial", T],
  797. ["partialRight", E],
  798. ["rearg", C]
  799. ],
  800. W = "[object Arguments]",
  801. V = "[object Array]",
  802. H = "[object AsyncFunction]",
  803. X = "[object Boolean]",
  804. Y = "[object Date]",
  805. K = "[object DOMException]",
  806. Z = "[object Error]",
  807. Q = "[object Function]",
  808. J = "[object GeneratorFunction]",
  809. $ = "[object Map]",
  810. ee = "[object Number]",
  811. te = "[object Null]",
  812. re = "[object Object]",
  813. ne = "[object Promise]",
  814. ie = "[object Proxy]",
  815. oe = "[object RegExp]",
  816. ae = "[object Set]",
  817. se = "[object String]",
  818. le = "[object Symbol]",
  819. ce = "[object Undefined]",
  820. ue = "[object WeakMap]",
  821. fe = "[object WeakSet]",
  822. pe = "[object ArrayBuffer]",
  823. de = "[object DataView]",
  824. he = "[object Float32Array]",
  825. me = "[object Float64Array]",
  826. ge = "[object Int8Array]",
  827. ye = "[object Int16Array]",
  828. ve = "[object Int32Array]",
  829. be = "[object Uint8Array]",
  830. we = "[object Uint8ClampedArray]",
  831. xe = "[object Uint16Array]",
  832. Ae = "[object Uint32Array]",
  833. _e = /\b__p \+= '';/g,
  834. Te = /\b(__p \+=) '' \+/g,
  835. Ee = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
  836. Se = /&(?:amp|lt|gt|quot|#39);/g,
  837. Ce = /[&<>"']/g,
  838. ke = RegExp(Se.source),
  839. Le = RegExp(Ce.source),
  840. Pe = /<%-([\s\S]+?)%>/g,
  841. Oe = /<%([\s\S]+?)%>/g,
  842. je = /<%=([\s\S]+?)%>/g,
  843. Re = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
  844. Ie = /^\w*$/,
  845. Ne = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
  846. Me = /[\\^$.*+?()[\]{}|]/g,
  847. De = RegExp(Me.source),
  848. Be = /^\s+/,
  849. Fe = /\s/,
  850. Ue = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
  851. ze = /\{\n\/\* \[wrapped with (.+)\] \*/,
  852. qe = /,? & /,
  853. Ge = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
  854. We = /[()=,{}\[\]\/\s]/,
  855. Ve = /\\(\\)?/g,
  856. He = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
  857. Xe = /\w*$/,
  858. Ye = /^[-+]0x[0-9a-f]+$/i,
  859. Ke = /^0b[01]+$/i,
  860. Ze = /^\[object .+?Constructor\]$/,
  861. Qe = /^0o[0-7]+$/i,
  862. Je = /^(?:0|[1-9]\d*)$/,
  863. $e = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
  864. et = /($^)/,
  865. tt = /['\n\r\u2028\u2029\\]/g,
  866. rt = "\\ud800-\\udfff",
  867. nt = "\\u0300-\\u036f",
  868. it = "\\ufe20-\\ufe2f",
  869. ot = "\\u20d0-\\u20ff",
  870. at = nt + it + ot,
  871. st = "\\u2700-\\u27bf",
  872. lt = "a-z\\xdf-\\xf6\\xf8-\\xff",
  873. ct = "\\xac\\xb1\\xd7\\xf7",
  874. ut = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",
  875. ft = "\\u2000-\\u206f",
  876. pt =
  877. " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",
  878. dt = "A-Z\\xc0-\\xd6\\xd8-\\xde",
  879. ht = "\\ufe0e\\ufe0f",
  880. mt = ct + ut + ft + pt,
  881. gt = "['’]",
  882. yt = "[" + rt + "]",
  883. vt = "[" + mt + "]",
  884. bt = "[" + at + "]",
  885. wt = "\\d+",
  886. xt = "[" + st + "]",
  887. At = "[" + lt + "]",
  888. _t = "[^" + rt + mt + wt + st + lt + dt + "]",
  889. Tt = "\\ud83c[\\udffb-\\udfff]",
  890. Et = "(?:" + bt + "|" + Tt + ")",
  891. St = "[^" + rt + "]",
  892. Ct = "(?:\\ud83c[\\udde6-\\uddff]){2}",
  893. kt = "[\\ud800-\\udbff][\\udc00-\\udfff]",
  894. Lt = "[" + dt + "]",
  895. Pt = "\\u200d",
  896. Ot = "(?:" + At + "|" + _t + ")",
  897. jt = "(?:" + Lt + "|" + _t + ")",
  898. Rt = "(?:" + gt + "(?:d|ll|m|re|s|t|ve))?",
  899. It = "(?:" + gt + "(?:D|LL|M|RE|S|T|VE))?",
  900. Nt = Et + "?",
  901. Mt = "[" + ht + "]?",
  902. Dt = "(?:" + Pt + "(?:" + [St, Ct, kt].join("|") + ")" + Mt + Nt + ")*",
  903. Bt = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",
  904. Ft = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",
  905. Ut = Mt + Nt + Dt,
  906. zt = "(?:" + [xt, Ct, kt].join("|") + ")" + Ut,
  907. qt = "(?:" + [St + bt + "?", bt, Ct, kt, yt].join("|") + ")",
  908. Gt = RegExp(gt, "g"),
  909. Wt = RegExp(bt, "g"),
  910. Vt = RegExp(Tt + "(?=" + Tt + ")|" + qt + Ut, "g"),
  911. Ht = RegExp(
  912. [
  913. Lt + "?" + At + "+" + Rt + "(?=" + [vt, Lt, "$"].join("|") + ")",
  914. jt + "+" + It + "(?=" + [vt, Lt + Ot, "$"].join("|") + ")",
  915. Lt + "?" + Ot + "+" + Rt,
  916. Lt + "+" + It,
  917. Ft,
  918. Bt,
  919. wt,
  920. zt
  921. ].join("|"),
  922. "g"
  923. ),
  924. Xt = RegExp("[" + Pt + rt + at + ht + "]"),
  925. Yt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
  926. Kt = [
  927. "Array",
  928. "Buffer",
  929. "DataView",
  930. "Date",
  931. "Error",
  932. "Float32Array",
  933. "Float64Array",
  934. "Function",
  935. "Int8Array",
  936. "Int16Array",
  937. "Int32Array",
  938. "Map",
  939. "Math",
  940. "Object",
  941. "Promise",
  942. "RegExp",
  943. "Set",
  944. "String",
  945. "Symbol",
  946. "TypeError",
  947. "Uint8Array",
  948. "Uint8ClampedArray",
  949. "Uint16Array",
  950. "Uint32Array",
  951. "WeakMap",
  952. "_",
  953. "clearTimeout",
  954. "isFinite",
  955. "parseInt",
  956. "setTimeout"
  957. ],
  958. Zt = -1,
  959. Qt = {}
  960. ;(Qt[he] = Qt[me] = Qt[ge] = Qt[ye] = Qt[ve] = Qt[be] = Qt[we] = Qt[xe] = Qt[Ae] = !0),
  961. (Qt[W] = Qt[V] = Qt[pe] = Qt[X] = Qt[de] = Qt[Y] = Qt[Z] = Qt[Q] = Qt[$] = Qt[ee] = Qt[re] = Qt[oe] = Qt[ae] = Qt[se] = Qt[ue] = !1)
  962. var Jt = {}
  963. ;(Jt[W] =
  964. Jt[V] =
  965. Jt[pe] =
  966. Jt[de] =
  967. Jt[X] =
  968. Jt[Y] =
  969. Jt[he] =
  970. Jt[me] =
  971. Jt[ge] =
  972. Jt[ye] =
  973. Jt[ve] =
  974. Jt[$] =
  975. Jt[ee] =
  976. Jt[re] =
  977. Jt[oe] =
  978. Jt[ae] =
  979. Jt[se] =
  980. Jt[le] =
  981. Jt[be] =
  982. Jt[we] =
  983. Jt[xe] =
  984. Jt[Ae] =
  985. !0),
  986. (Jt[Z] = Jt[Q] = Jt[ue] = !1)
  987. var $t = {
  988. À: "A",
  989. Á: "A",
  990. Â: "A",
  991. Ã: "A",
  992. Ä: "A",
  993. Å: "A",
  994. à: "a",
  995. á: "a",
  996. â: "a",
  997. ã: "a",
  998. ä: "a",
  999. å: "a",
  1000. Ç: "C",
  1001. ç: "c",
  1002. Ð: "D",
  1003. ð: "d",
  1004. È: "E",
  1005. É: "E",
  1006. Ê: "E",
  1007. Ë: "E",
  1008. è: "e",
  1009. é: "e",
  1010. ê: "e",
  1011. ë: "e",
  1012. Ì: "I",
  1013. Í: "I",
  1014. Î: "I",
  1015. Ï: "I",
  1016. ì: "i",
  1017. í: "i",
  1018. î: "i",
  1019. ï: "i",
  1020. Ñ: "N",
  1021. ñ: "n",
  1022. Ò: "O",
  1023. Ó: "O",
  1024. Ô: "O",
  1025. Õ: "O",
  1026. Ö: "O",
  1027. Ø: "O",
  1028. ò: "o",
  1029. ó: "o",
  1030. ô: "o",
  1031. õ: "o",
  1032. ö: "o",
  1033. ø: "o",
  1034. Ù: "U",
  1035. Ú: "U",
  1036. Û: "U",
  1037. Ü: "U",
  1038. ù: "u",
  1039. ú: "u",
  1040. û: "u",
  1041. ü: "u",
  1042. Ý: "Y",
  1043. ý: "y",
  1044. ÿ: "y",
  1045. Æ: "Ae",
  1046. æ: "ae",
  1047. Þ: "Th",
  1048. þ: "th",
  1049. ß: "ss",
  1050. Ā: "A",
  1051. Ă: "A",
  1052. Ą: "A",
  1053. ā: "a",
  1054. ă: "a",
  1055. ą: "a",
  1056. Ć: "C",
  1057. Ĉ: "C",
  1058. Ċ: "C",
  1059. Č: "C",
  1060. ć: "c",
  1061. ĉ: "c",
  1062. ċ: "c",
  1063. č: "c",
  1064. Ď: "D",
  1065. Đ: "D",
  1066. ď: "d",
  1067. đ: "d",
  1068. Ē: "E",
  1069. Ĕ: "E",
  1070. Ė: "E",
  1071. Ę: "E",
  1072. Ě: "E",
  1073. ē: "e",
  1074. ĕ: "e",
  1075. ė: "e",
  1076. ę: "e",
  1077. ě: "e",
  1078. Ĝ: "G",
  1079. Ğ: "G",
  1080. Ġ: "G",
  1081. Ģ: "G",
  1082. ĝ: "g",
  1083. ğ: "g",
  1084. ġ: "g",
  1085. ģ: "g",
  1086. Ĥ: "H",
  1087. Ħ: "H",
  1088. ĥ: "h",
  1089. ħ: "h",
  1090. Ĩ: "I",
  1091. Ī: "I",
  1092. Ĭ: "I",
  1093. Į: "I",
  1094. İ: "I",
  1095. ĩ: "i",
  1096. ī: "i",
  1097. ĭ: "i",
  1098. į: "i",
  1099. ı: "i",
  1100. Ĵ: "J",
  1101. ĵ: "j",
  1102. Ķ: "K",
  1103. ķ: "k",
  1104. ĸ: "k",
  1105. Ĺ: "L",
  1106. Ļ: "L",
  1107. Ľ: "L",
  1108. Ŀ: "L",
  1109. Ł: "L",
  1110. ĺ: "l",
  1111. ļ: "l",
  1112. ľ: "l",
  1113. ŀ: "l",
  1114. ł: "l",
  1115. Ń: "N",
  1116. Ņ: "N",
  1117. Ň: "N",
  1118. Ŋ: "N",
  1119. ń: "n",
  1120. ņ: "n",
  1121. ň: "n",
  1122. ŋ: "n",
  1123. Ō: "O",
  1124. Ŏ: "O",
  1125. Ő: "O",
  1126. ō: "o",
  1127. ŏ: "o",
  1128. ő: "o",
  1129. Ŕ: "R",
  1130. Ŗ: "R",
  1131. Ř: "R",
  1132. ŕ: "r",
  1133. ŗ: "r",
  1134. ř: "r",
  1135. Ś: "S",
  1136. Ŝ: "S",
  1137. Ş: "S",
  1138. Š: "S",
  1139. ś: "s",
  1140. ŝ: "s",
  1141. ş: "s",
  1142. š: "s",
  1143. Ţ: "T",
  1144. Ť: "T",
  1145. Ŧ: "T",
  1146. ţ: "t",
  1147. ť: "t",
  1148. ŧ: "t",
  1149. Ũ: "U",
  1150. Ū: "U",
  1151. Ŭ: "U",
  1152. Ů: "U",
  1153. Ű: "U",
  1154. Ų: "U",
  1155. ũ: "u",
  1156. ū: "u",
  1157. ŭ: "u",
  1158. ů: "u",
  1159. ű: "u",
  1160. ų: "u",
  1161. Ŵ: "W",
  1162. ŵ: "w",
  1163. Ŷ: "Y",
  1164. ŷ: "y",
  1165. Ÿ: "Y",
  1166. Ź: "Z",
  1167. Ż: "Z",
  1168. Ž: "Z",
  1169. ź: "z",
  1170. ż: "z",
  1171. ž: "z",
  1172. IJ: "IJ",
  1173. ij: "ij",
  1174. Œ: "Oe",
  1175. œ: "oe",
  1176. ʼn: "'n",
  1177. ſ: "s"
  1178. },
  1179. er = {
  1180. "&": "&amp;",
  1181. "<": "&lt;",
  1182. ">": "&gt;",
  1183. '"': "&quot;",
  1184. "'": "&#39;"
  1185. },
  1186. tr = {
  1187. "&amp;": "&",
  1188. "&lt;": "<",
  1189. "&gt;": ">",
  1190. "&quot;": '"',
  1191. "&#39;": "'"
  1192. },
  1193. rr = {
  1194. "\\": "\\",
  1195. "'": "'",
  1196. "\n": "n",
  1197. "\r": "r",
  1198. "\u2028": "u2028",
  1199. "\u2029": "u2029"
  1200. },
  1201. nr = parseFloat,
  1202. ir = parseInt,
  1203. or = "object" == typeof e && e && e.Object === Object && e,
  1204. ar = "object" == typeof self && self && self.Object === Object && self,
  1205. sr = or || ar || Function("return this")(),
  1206. lr = t && !t.nodeType && t,
  1207. cr = lr && "object" == typeof n && n && !n.nodeType && n,
  1208. ur = cr && cr.exports === lr,
  1209. fr = ur && or.process,
  1210. pr = (function () {
  1211. try {
  1212. var e = cr && cr.require && cr.require("util").types
  1213. return e || (fr && fr.binding && fr.binding("util"))
  1214. } catch (t) {}
  1215. })(),
  1216. dr = pr && pr.isArrayBuffer,
  1217. hr = pr && pr.isDate,
  1218. mr = pr && pr.isMap,
  1219. gr = pr && pr.isRegExp,
  1220. yr = pr && pr.isSet,
  1221. vr = pr && pr.isTypedArray
  1222. function br(e, t, r) {
  1223. switch (r.length) {
  1224. case 0:
  1225. return e.call(t)
  1226. case 1:
  1227. return e.call(t, r[0])
  1228. case 2:
  1229. return e.call(t, r[0], r[1])
  1230. case 3:
  1231. return e.call(t, r[0], r[1], r[2])
  1232. }
  1233. return e.apply(t, r)
  1234. }
  1235. function wr(e, t, r, n) {
  1236. var i = -1,
  1237. o = null == e ? 0 : e.length
  1238. while (++i < o) {
  1239. var a = e[i]
  1240. t(n, a, r(a), e)
  1241. }
  1242. return n
  1243. }
  1244. function xr(e, t) {
  1245. var r = -1,
  1246. n = null == e ? 0 : e.length
  1247. while (++r < n) if (!1 === t(e[r], r, e)) break
  1248. return e
  1249. }
  1250. function Ar(e, t) {
  1251. var r = null == e ? 0 : e.length
  1252. while (r--) if (!1 === t(e[r], r, e)) break
  1253. return e
  1254. }
  1255. function _r(e, t) {
  1256. var r = -1,
  1257. n = null == e ? 0 : e.length
  1258. while (++r < n) if (!t(e[r], r, e)) return !1
  1259. return !0
  1260. }
  1261. function Tr(e, t) {
  1262. var r = -1,
  1263. n = null == e ? 0 : e.length,
  1264. i = 0,
  1265. o = []
  1266. while (++r < n) {
  1267. var a = e[r]
  1268. t(a, r, e) && (o[i++] = a)
  1269. }
  1270. return o
  1271. }
  1272. function Er(e, t) {
  1273. var r = null == e ? 0 : e.length
  1274. return !!r && Dr(e, t, 0) > -1
  1275. }
  1276. function Sr(e, t, r) {
  1277. var n = -1,
  1278. i = null == e ? 0 : e.length
  1279. while (++n < i) if (r(t, e[n])) return !0
  1280. return !1
  1281. }
  1282. function Cr(e, t) {
  1283. var r = -1,
  1284. n = null == e ? 0 : e.length,
  1285. i = Array(n)
  1286. while (++r < n) i[r] = t(e[r], r, e)
  1287. return i
  1288. }
  1289. function kr(e, t) {
  1290. var r = -1,
  1291. n = t.length,
  1292. i = e.length
  1293. while (++r < n) e[i + r] = t[r]
  1294. return e
  1295. }
  1296. function Lr(e, t, r, n) {
  1297. var i = -1,
  1298. o = null == e ? 0 : e.length
  1299. n && o && (r = e[++i])
  1300. while (++i < o) r = t(r, e[i], i, e)
  1301. return r
  1302. }
  1303. function Pr(e, t, r, n) {
  1304. var i = null == e ? 0 : e.length
  1305. n && i && (r = e[--i])
  1306. while (i--) r = t(r, e[i], i, e)
  1307. return r
  1308. }
  1309. function Or(e, t) {
  1310. var r = -1,
  1311. n = null == e ? 0 : e.length
  1312. while (++r < n) if (t(e[r], r, e)) return !0
  1313. return !1
  1314. }
  1315. var jr = zr("length")
  1316. function Rr(e) {
  1317. return e.split("")
  1318. }
  1319. function Ir(e) {
  1320. return e.match(Ge) || []
  1321. }
  1322. function Nr(e, t, r) {
  1323. var n
  1324. return (
  1325. r(e, function (e, r, i) {
  1326. if (t(e, r, i)) return (n = r), !1
  1327. }),
  1328. n
  1329. )
  1330. }
  1331. function Mr(e, t, r, n) {
  1332. var i = e.length,
  1333. o = r + (n ? 1 : -1)
  1334. while (n ? o-- : ++o < i) if (t(e[o], o, e)) return o
  1335. return -1
  1336. }
  1337. function Dr(e, t, r) {
  1338. return t === t ? hn(e, t, r) : Mr(e, Fr, r)
  1339. }
  1340. function Br(e, t, r, n) {
  1341. var i = r - 1,
  1342. o = e.length
  1343. while (++i < o) if (n(e[i], t)) return i
  1344. return -1
  1345. }
  1346. function Fr(e) {
  1347. return e !== e
  1348. }
  1349. function Ur(e, t) {
  1350. var r = null == e ? 0 : e.length
  1351. return r ? Vr(e, t) / r : F
  1352. }
  1353. function zr(e) {
  1354. return function (t) {
  1355. return null == t ? o : t[e]
  1356. }
  1357. }
  1358. function qr(e) {
  1359. return function (t) {
  1360. return null == e ? o : e[t]
  1361. }
  1362. }
  1363. function Gr(e, t, r, n, i) {
  1364. return (
  1365. i(e, function (e, i, o) {
  1366. r = n ? ((n = !1), e) : t(r, e, i, o)
  1367. }),
  1368. r
  1369. )
  1370. }
  1371. function Wr(e, t) {
  1372. var r = e.length
  1373. e.sort(t)
  1374. while (r--) e[r] = e[r].value
  1375. return e
  1376. }
  1377. function Vr(e, t) {
  1378. var r,
  1379. n = -1,
  1380. i = e.length
  1381. while (++n < i) {
  1382. var a = t(e[n])
  1383. a !== o && (r = r === o ? a : r + a)
  1384. }
  1385. return r
  1386. }
  1387. function Hr(e, t) {
  1388. var r = -1,
  1389. n = Array(e)
  1390. while (++r < e) n[r] = t(r)
  1391. return n
  1392. }
  1393. function Xr(e, t) {
  1394. return Cr(t, function (t) {
  1395. return [t, e[t]]
  1396. })
  1397. }
  1398. function Yr(e) {
  1399. return e ? e.slice(0, vn(e) + 1).replace(Be, "") : e
  1400. }
  1401. function Kr(e) {
  1402. return function (t) {
  1403. return e(t)
  1404. }
  1405. }
  1406. function Zr(e, t) {
  1407. return Cr(t, function (t) {
  1408. return e[t]
  1409. })
  1410. }
  1411. function Qr(e, t) {
  1412. return e.has(t)
  1413. }
  1414. function Jr(e, t) {
  1415. var r = -1,
  1416. n = e.length
  1417. while (++r < n && Dr(t, e[r], 0) > -1);
  1418. return r
  1419. }
  1420. function $r(e, t) {
  1421. var r = e.length
  1422. while (r-- && Dr(t, e[r], 0) > -1);
  1423. return r
  1424. }
  1425. function en(e, t) {
  1426. var r = e.length,
  1427. n = 0
  1428. while (r--) e[r] === t && ++n
  1429. return n
  1430. }
  1431. var tn = qr($t),
  1432. rn = qr(er)
  1433. function nn(e) {
  1434. return "\\" + rr[e]
  1435. }
  1436. function on(e, t) {
  1437. return null == e ? o : e[t]
  1438. }
  1439. function an(e) {
  1440. return Xt.test(e)
  1441. }
  1442. function sn(e) {
  1443. return Yt.test(e)
  1444. }
  1445. function ln(e) {
  1446. var t,
  1447. r = []
  1448. while (!(t = e.next()).done) r.push(t.value)
  1449. return r
  1450. }
  1451. function cn(e) {
  1452. var t = -1,
  1453. r = Array(e.size)
  1454. return (
  1455. e.forEach(function (e, n) {
  1456. r[++t] = [n, e]
  1457. }),
  1458. r
  1459. )
  1460. }
  1461. function un(e, t) {
  1462. return function (r) {
  1463. return e(t(r))
  1464. }
  1465. }
  1466. function fn(e, t) {
  1467. var r = -1,
  1468. n = e.length,
  1469. i = 0,
  1470. o = []
  1471. while (++r < n) {
  1472. var a = e[r]
  1473. ;(a !== t && a !== d) || ((e[r] = d), (o[i++] = r))
  1474. }
  1475. return o
  1476. }
  1477. function pn(e) {
  1478. var t = -1,
  1479. r = Array(e.size)
  1480. return (
  1481. e.forEach(function (e) {
  1482. r[++t] = e
  1483. }),
  1484. r
  1485. )
  1486. }
  1487. function dn(e) {
  1488. var t = -1,
  1489. r = Array(e.size)
  1490. return (
  1491. e.forEach(function (e) {
  1492. r[++t] = [e, e]
  1493. }),
  1494. r
  1495. )
  1496. }
  1497. function hn(e, t, r) {
  1498. var n = r - 1,
  1499. i = e.length
  1500. while (++n < i) if (e[n] === t) return n
  1501. return -1
  1502. }
  1503. function mn(e, t, r) {
  1504. var n = r + 1
  1505. while (n--) if (e[n] === t) return n
  1506. return n
  1507. }
  1508. function gn(e) {
  1509. return an(e) ? wn(e) : jr(e)
  1510. }
  1511. function yn(e) {
  1512. return an(e) ? xn(e) : Rr(e)
  1513. }
  1514. function vn(e) {
  1515. var t = e.length
  1516. while (t-- && Fe.test(e.charAt(t)));
  1517. return t
  1518. }
  1519. var bn = qr(tr)
  1520. function wn(e) {
  1521. var t = (Vt.lastIndex = 0)
  1522. while (Vt.test(e)) ++t
  1523. return t
  1524. }
  1525. function xn(e) {
  1526. return e.match(Vt) || []
  1527. }
  1528. function An(e) {
  1529. return e.match(Ht) || []
  1530. }
  1531. var _n = function e(t) {
  1532. t = null == t ? sr : Tn.defaults(sr.Object(), t, Tn.pick(sr, Kt))
  1533. var r = t.Array,
  1534. n = t.Date,
  1535. i = t.Error,
  1536. Fe = t.Function,
  1537. Ge = t.Math,
  1538. rt = t.Object,
  1539. nt = t.RegExp,
  1540. it = t.String,
  1541. ot = t.TypeError,
  1542. at = r.prototype,
  1543. st = Fe.prototype,
  1544. lt = rt.prototype,
  1545. ct = t["__core-js_shared__"],
  1546. ut = st.toString,
  1547. ft = lt.hasOwnProperty,
  1548. pt = 0,
  1549. dt = (function () {
  1550. var e = /[^.]+$/.exec((ct && ct.keys && ct.keys.IE_PROTO) || "")
  1551. return e ? "Symbol(src)_1." + e : ""
  1552. })(),
  1553. ht = lt.toString,
  1554. mt = ut.call(rt),
  1555. gt = sr._,
  1556. yt = nt(
  1557. "^" +
  1558. ut
  1559. .call(ft)
  1560. .replace(Me, "\\$&")
  1561. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") +
  1562. "$"
  1563. ),
  1564. vt = ur ? t.Buffer : o,
  1565. bt = t.Symbol,
  1566. wt = t.Uint8Array,
  1567. xt = vt ? vt.allocUnsafe : o,
  1568. At = un(rt.getPrototypeOf, rt),
  1569. _t = rt.create,
  1570. Tt = lt.propertyIsEnumerable,
  1571. Et = at.splice,
  1572. St = bt ? bt.isConcatSpreadable : o,
  1573. Ct = bt ? bt.iterator : o,
  1574. kt = bt ? bt.toStringTag : o,
  1575. Lt = (function () {
  1576. try {
  1577. var e = Xa(rt, "defineProperty")
  1578. return e({}, "", {}), e
  1579. } catch (t) {}
  1580. })(),
  1581. Pt = t.clearTimeout !== sr.clearTimeout && t.clearTimeout,
  1582. Ot = n && n.now !== sr.Date.now && n.now,
  1583. jt = t.setTimeout !== sr.setTimeout && t.setTimeout,
  1584. Rt = Ge.ceil,
  1585. It = Ge.floor,
  1586. Nt = rt.getOwnPropertySymbols,
  1587. Mt = vt ? vt.isBuffer : o,
  1588. Dt = t.isFinite,
  1589. Bt = at.join,
  1590. Ft = un(rt.keys, rt),
  1591. Ut = Ge.max,
  1592. zt = Ge.min,
  1593. qt = n.now,
  1594. Vt = t.parseInt,
  1595. Ht = Ge.random,
  1596. Xt = at.reverse,
  1597. Yt = Xa(t, "DataView"),
  1598. $t = Xa(t, "Map"),
  1599. er = Xa(t, "Promise"),
  1600. tr = Xa(t, "Set"),
  1601. rr = Xa(t, "WeakMap"),
  1602. or = Xa(rt, "create"),
  1603. ar = rr && new rr(),
  1604. lr = {},
  1605. cr = js(Yt),
  1606. fr = js($t),
  1607. pr = js(er),
  1608. jr = js(tr),
  1609. Rr = js(rr),
  1610. qr = bt ? bt.prototype : o,
  1611. hn = qr ? qr.valueOf : o,
  1612. wn = qr ? qr.toString : o
  1613. function xn(e) {
  1614. if (Eu(e) && !lu(e) && !(e instanceof Cn)) {
  1615. if (e instanceof Sn) return e
  1616. if (ft.call(e, "__wrapped__")) return Is(e)
  1617. }
  1618. return new Sn(e)
  1619. }
  1620. var _n = (function () {
  1621. function e() {}
  1622. return function (t) {
  1623. if (!Tu(t)) return {}
  1624. if (_t) return _t(t)
  1625. e.prototype = t
  1626. var r = new e()
  1627. return (e.prototype = o), r
  1628. }
  1629. })()
  1630. function En() {}
  1631. function Sn(e, t) {
  1632. ;(this.__wrapped__ = e), (this.__actions__ = []), (this.__chain__ = !!t), (this.__index__ = 0), (this.__values__ = o)
  1633. }
  1634. function Cn(e) {
  1635. ;(this.__wrapped__ = e),
  1636. (this.__actions__ = []),
  1637. (this.__dir__ = 1),
  1638. (this.__filtered__ = !1),
  1639. (this.__iteratees__ = []),
  1640. (this.__takeCount__ = U),
  1641. (this.__views__ = [])
  1642. }
  1643. function kn() {
  1644. var e = new Cn(this.__wrapped__)
  1645. return (
  1646. (e.__actions__ = ia(this.__actions__)),
  1647. (e.__dir__ = this.__dir__),
  1648. (e.__filtered__ = this.__filtered__),
  1649. (e.__iteratees__ = ia(this.__iteratees__)),
  1650. (e.__takeCount__ = this.__takeCount__),
  1651. (e.__views__ = ia(this.__views__)),
  1652. e
  1653. )
  1654. }
  1655. function Ln() {
  1656. if (this.__filtered__) {
  1657. var e = new Cn(this)
  1658. ;(e.__dir__ = -1), (e.__filtered__ = !0)
  1659. } else (e = this.clone()), (e.__dir__ *= -1)
  1660. return e
  1661. }
  1662. function Pn() {
  1663. var e = this.__wrapped__.value(),
  1664. t = this.__dir__,
  1665. r = lu(e),
  1666. n = t < 0,
  1667. i = r ? e.length : 0,
  1668. o = Ja(0, i, this.__views__),
  1669. a = o.start,
  1670. s = o.end,
  1671. l = s - a,
  1672. c = n ? s : a - 1,
  1673. u = this.__iteratees__,
  1674. f = u.length,
  1675. p = 0,
  1676. d = zt(l, this.__takeCount__)
  1677. if (!r || (!n && i == l && d == l)) return Fo(e, this.__actions__)
  1678. var h = []
  1679. e: while (l-- && p < d) {
  1680. c += t
  1681. var m = -1,
  1682. g = e[c]
  1683. while (++m < f) {
  1684. var y = u[m],
  1685. v = y.iteratee,
  1686. b = y.type,
  1687. w = v(g)
  1688. if (b == I) g = w
  1689. else if (!w) {
  1690. if (b == R) continue e
  1691. break e
  1692. }
  1693. }
  1694. h[p++] = g
  1695. }
  1696. return h
  1697. }
  1698. function On(e) {
  1699. var t = -1,
  1700. r = null == e ? 0 : e.length
  1701. this.clear()
  1702. while (++t < r) {
  1703. var n = e[t]
  1704. this.set(n[0], n[1])
  1705. }
  1706. }
  1707. function jn() {
  1708. ;(this.__data__ = or ? or(null) : {}), (this.size = 0)
  1709. }
  1710. function Rn(e) {
  1711. var t = this.has(e) && delete this.__data__[e]
  1712. return (this.size -= t ? 1 : 0), t
  1713. }
  1714. function In(e) {
  1715. var t = this.__data__
  1716. if (or) {
  1717. var r = t[e]
  1718. return r === f ? o : r
  1719. }
  1720. return ft.call(t, e) ? t[e] : o
  1721. }
  1722. function Nn(e) {
  1723. var t = this.__data__
  1724. return or ? t[e] !== o : ft.call(t, e)
  1725. }
  1726. function Mn(e, t) {
  1727. var r = this.__data__
  1728. return (this.size += this.has(e) ? 0 : 1), (r[e] = or && t === o ? f : t), this
  1729. }
  1730. function Dn(e) {
  1731. var t = -1,
  1732. r = null == e ? 0 : e.length
  1733. this.clear()
  1734. while (++t < r) {
  1735. var n = e[t]
  1736. this.set(n[0], n[1])
  1737. }
  1738. }
  1739. function Bn() {
  1740. ;(this.__data__ = []), (this.size = 0)
  1741. }
  1742. function Fn(e) {
  1743. var t = this.__data__,
  1744. r = ui(t, e)
  1745. if (r < 0) return !1
  1746. var n = t.length - 1
  1747. return r == n ? t.pop() : Et.call(t, r, 1), --this.size, !0
  1748. }
  1749. function Un(e) {
  1750. var t = this.__data__,
  1751. r = ui(t, e)
  1752. return r < 0 ? o : t[r][1]
  1753. }
  1754. function zn(e) {
  1755. return ui(this.__data__, e) > -1
  1756. }
  1757. function qn(e, t) {
  1758. var r = this.__data__,
  1759. n = ui(r, e)
  1760. return n < 0 ? (++this.size, r.push([e, t])) : (r[n][1] = t), this
  1761. }
  1762. function Gn(e) {
  1763. var t = -1,
  1764. r = null == e ? 0 : e.length
  1765. this.clear()
  1766. while (++t < r) {
  1767. var n = e[t]
  1768. this.set(n[0], n[1])
  1769. }
  1770. }
  1771. function Wn() {
  1772. ;(this.size = 0),
  1773. (this.__data__ = {
  1774. hash: new On(),
  1775. map: new ($t || Dn)(),
  1776. string: new On()
  1777. })
  1778. }
  1779. function Vn(e) {
  1780. var t = Va(this, e)["delete"](e)
  1781. return (this.size -= t ? 1 : 0), t
  1782. }
  1783. function Hn(e) {
  1784. return Va(this, e).get(e)
  1785. }
  1786. function Xn(e) {
  1787. return Va(this, e).has(e)
  1788. }
  1789. function Yn(e, t) {
  1790. var r = Va(this, e),
  1791. n = r.size
  1792. return r.set(e, t), (this.size += r.size == n ? 0 : 1), this
  1793. }
  1794. function Kn(e) {
  1795. var t = -1,
  1796. r = null == e ? 0 : e.length
  1797. this.__data__ = new Gn()
  1798. while (++t < r) this.add(e[t])
  1799. }
  1800. function Zn(e) {
  1801. return this.__data__.set(e, f), this
  1802. }
  1803. function Qn(e) {
  1804. return this.__data__.has(e)
  1805. }
  1806. function Jn(e) {
  1807. var t = (this.__data__ = new Dn(e))
  1808. this.size = t.size
  1809. }
  1810. function $n() {
  1811. ;(this.__data__ = new Dn()), (this.size = 0)
  1812. }
  1813. function ei(e) {
  1814. var t = this.__data__,
  1815. r = t["delete"](e)
  1816. return (this.size = t.size), r
  1817. }
  1818. function ti(e) {
  1819. return this.__data__.get(e)
  1820. }
  1821. function ri(e) {
  1822. return this.__data__.has(e)
  1823. }
  1824. function ni(e, t) {
  1825. var r = this.__data__
  1826. if (r instanceof Dn) {
  1827. var n = r.__data__
  1828. if (!$t || n.length < s - 1) return n.push([e, t]), (this.size = ++r.size), this
  1829. r = this.__data__ = new Gn(n)
  1830. }
  1831. return r.set(e, t), (this.size = r.size), this
  1832. }
  1833. function ii(e, t) {
  1834. var r = lu(e),
  1835. n = !r && su(e),
  1836. i = !r && !n && du(e),
  1837. o = !r && !n && !i && Uu(e),
  1838. a = r || n || i || o,
  1839. s = a ? Hr(e.length, it) : [],
  1840. l = s.length
  1841. for (var c in e)
  1842. (!t && !ft.call(e, c)) ||
  1843. (a &&
  1844. ("length" == c ||
  1845. (i && ("offset" == c || "parent" == c)) ||
  1846. (o && ("buffer" == c || "byteLength" == c || "byteOffset" == c)) ||
  1847. as(c, l))) ||
  1848. s.push(c)
  1849. return s
  1850. }
  1851. function oi(e) {
  1852. var t = e.length
  1853. return t ? e[vo(0, t - 1)] : o
  1854. }
  1855. function ai(e, t) {
  1856. return Ls(ia(e), gi(t, 0, e.length))
  1857. }
  1858. function si(e) {
  1859. return Ls(ia(e))
  1860. }
  1861. function li(e, t, r) {
  1862. ;((r !== o && !iu(e[t], r)) || (r === o && !(t in e))) && hi(e, t, r)
  1863. }
  1864. function ci(e, t, r) {
  1865. var n = e[t]
  1866. ;(ft.call(e, t) && iu(n, r) && (r !== o || t in e)) || hi(e, t, r)
  1867. }
  1868. function ui(e, t) {
  1869. var r = e.length
  1870. while (r--) if (iu(e[r][0], t)) return r
  1871. return -1
  1872. }
  1873. function fi(e, t, r, n) {
  1874. return (
  1875. Ai(e, function (e, i, o) {
  1876. t(n, e, r(e), o)
  1877. }),
  1878. n
  1879. )
  1880. }
  1881. function pi(e, t) {
  1882. return e && oa(t, _f(t), e)
  1883. }
  1884. function di(e, t) {
  1885. return e && oa(t, Tf(t), e)
  1886. }
  1887. function hi(e, t, r) {
  1888. "__proto__" == t && Lt
  1889. ? Lt(e, t, {
  1890. configurable: !0,
  1891. enumerable: !0,
  1892. value: r,
  1893. writable: !0
  1894. })
  1895. : (e[t] = r)
  1896. }
  1897. function mi(e, t) {
  1898. var n = -1,
  1899. i = t.length,
  1900. a = r(i),
  1901. s = null == e
  1902. while (++n < i) a[n] = s ? o : yf(e, t[n])
  1903. return a
  1904. }
  1905. function gi(e, t, r) {
  1906. return e === e && (r !== o && (e = e <= r ? e : r), t !== o && (e = e >= t ? e : t)), e
  1907. }
  1908. function yi(e, t, r, n, i, a) {
  1909. var s,
  1910. l = t & h,
  1911. c = t & m,
  1912. u = t & g
  1913. if ((r && (s = i ? r(e, n, i, a) : r(e)), s !== o)) return s
  1914. if (!Tu(e)) return e
  1915. var f = lu(e)
  1916. if (f) {
  1917. if (((s = ts(e)), !l)) return ia(e, s)
  1918. } else {
  1919. var p = Qa(e),
  1920. d = p == Q || p == J
  1921. if (du(e)) return Yo(e, l)
  1922. if (p == re || p == W || (d && !i)) {
  1923. if (((s = c || d ? {} : rs(e)), !l)) return c ? sa(e, di(s, e)) : aa(e, pi(s, e))
  1924. } else {
  1925. if (!Jt[p]) return i ? e : {}
  1926. s = ns(e, p, l)
  1927. }
  1928. }
  1929. a || (a = new Jn())
  1930. var y = a.get(e)
  1931. if (y) return y
  1932. a.set(e, s),
  1933. Du(e)
  1934. ? e.forEach(function (n) {
  1935. s.add(yi(n, t, r, n, e, a))
  1936. })
  1937. : Su(e) &&
  1938. e.forEach(function (n, i) {
  1939. s.set(i, yi(n, t, r, i, e, a))
  1940. })
  1941. var v = u ? (c ? Ua : Fa) : c ? Tf : _f,
  1942. b = f ? o : v(e)
  1943. return (
  1944. xr(b || e, function (n, i) {
  1945. b && ((i = n), (n = e[i])), ci(s, i, yi(n, t, r, i, e, a))
  1946. }),
  1947. s
  1948. )
  1949. }
  1950. function vi(e) {
  1951. var t = _f(e)
  1952. return function (r) {
  1953. return bi(r, e, t)
  1954. }
  1955. }
  1956. function bi(e, t, r) {
  1957. var n = r.length
  1958. if (null == e) return !n
  1959. e = rt(e)
  1960. while (n--) {
  1961. var i = r[n],
  1962. a = t[i],
  1963. s = e[i]
  1964. if ((s === o && !(i in e)) || !a(s)) return !1
  1965. }
  1966. return !0
  1967. }
  1968. function wi(e, t, r) {
  1969. if ("function" != typeof e) throw new ot(c)
  1970. return Es(function () {
  1971. e.apply(o, r)
  1972. }, t)
  1973. }
  1974. function xi(e, t, r, n) {
  1975. var i = -1,
  1976. o = Er,
  1977. a = !0,
  1978. l = e.length,
  1979. c = [],
  1980. u = t.length
  1981. if (!l) return c
  1982. r && (t = Cr(t, Kr(r))), n ? ((o = Sr), (a = !1)) : t.length >= s && ((o = Qr), (a = !1), (t = new Kn(t)))
  1983. e: while (++i < l) {
  1984. var f = e[i],
  1985. p = null == r ? f : r(f)
  1986. if (((f = n || 0 !== f ? f : 0), a && p === p)) {
  1987. var d = u
  1988. while (d--) if (t[d] === p) continue e
  1989. c.push(f)
  1990. } else o(t, p, n) || c.push(f)
  1991. }
  1992. return c
  1993. }
  1994. ;(xn.templateSettings = {
  1995. escape: Pe,
  1996. evaluate: Oe,
  1997. interpolate: je,
  1998. variable: "",
  1999. imports: {
  2000. _: xn
  2001. }
  2002. }),
  2003. (xn.prototype = En.prototype),
  2004. (xn.prototype.constructor = xn),
  2005. (Sn.prototype = _n(En.prototype)),
  2006. (Sn.prototype.constructor = Sn),
  2007. (Cn.prototype = _n(En.prototype)),
  2008. (Cn.prototype.constructor = Cn),
  2009. (On.prototype.clear = jn),
  2010. (On.prototype["delete"] = Rn),
  2011. (On.prototype.get = In),
  2012. (On.prototype.has = Nn),
  2013. (On.prototype.set = Mn),
  2014. (Dn.prototype.clear = Bn),
  2015. (Dn.prototype["delete"] = Fn),
  2016. (Dn.prototype.get = Un),
  2017. (Dn.prototype.has = zn),
  2018. (Dn.prototype.set = qn),
  2019. (Gn.prototype.clear = Wn),
  2020. (Gn.prototype["delete"] = Vn),
  2021. (Gn.prototype.get = Hn),
  2022. (Gn.prototype.has = Xn),
  2023. (Gn.prototype.set = Yn),
  2024. (Kn.prototype.add = Kn.prototype.push = Zn),
  2025. (Kn.prototype.has = Qn),
  2026. (Jn.prototype.clear = $n),
  2027. (Jn.prototype["delete"] = ei),
  2028. (Jn.prototype.get = ti),
  2029. (Jn.prototype.has = ri),
  2030. (Jn.prototype.set = ni)
  2031. var Ai = ua(Oi),
  2032. _i = ua(ji, !0)
  2033. function Ti(e, t) {
  2034. var r = !0
  2035. return (
  2036. Ai(e, function (e, n, i) {
  2037. return (r = !!t(e, n, i)), r
  2038. }),
  2039. r
  2040. )
  2041. }
  2042. function Ei(e, t, r) {
  2043. var n = -1,
  2044. i = e.length
  2045. while (++n < i) {
  2046. var a = e[n],
  2047. s = t(a)
  2048. if (null != s && (l === o ? s === s && !Fu(s) : r(s, l)))
  2049. var l = s,
  2050. c = a
  2051. }
  2052. return c
  2053. }
  2054. function Si(e, t, r, n) {
  2055. var i = e.length
  2056. ;(r = Yu(r)), r < 0 && (r = -r > i ? 0 : i + r), (n = n === o || n > i ? i : Yu(n)), n < 0 && (n += i), (n = r > n ? 0 : Ku(n))
  2057. while (r < n) e[r++] = t
  2058. return e
  2059. }
  2060. function Ci(e, t) {
  2061. var r = []
  2062. return (
  2063. Ai(e, function (e, n, i) {
  2064. t(e, n, i) && r.push(e)
  2065. }),
  2066. r
  2067. )
  2068. }
  2069. function ki(e, t, r, n, i) {
  2070. var o = -1,
  2071. a = e.length
  2072. r || (r = os), i || (i = [])
  2073. while (++o < a) {
  2074. var s = e[o]
  2075. t > 0 && r(s) ? (t > 1 ? ki(s, t - 1, r, n, i) : kr(i, s)) : n || (i[i.length] = s)
  2076. }
  2077. return i
  2078. }
  2079. var Li = fa(),
  2080. Pi = fa(!0)
  2081. function Oi(e, t) {
  2082. return e && Li(e, t, _f)
  2083. }
  2084. function ji(e, t) {
  2085. return e && Pi(e, t, _f)
  2086. }
  2087. function Ri(e, t) {
  2088. return Tr(t, function (t) {
  2089. return xu(e[t])
  2090. })
  2091. }
  2092. function Ii(e, t) {
  2093. t = Wo(t, e)
  2094. var r = 0,
  2095. n = t.length
  2096. while (null != e && r < n) e = e[Os(t[r++])]
  2097. return r && r == n ? e : o
  2098. }
  2099. function Ni(e, t, r) {
  2100. var n = t(e)
  2101. return lu(e) ? n : kr(n, r(e))
  2102. }
  2103. function Mi(e) {
  2104. return null == e ? (e === o ? ce : te) : kt && kt in rt(e) ? Ya(e) : bs(e)
  2105. }
  2106. function Di(e, t) {
  2107. return e > t
  2108. }
  2109. function Bi(e, t) {
  2110. return null != e && ft.call(e, t)
  2111. }
  2112. function Fi(e, t) {
  2113. return null != e && t in rt(e)
  2114. }
  2115. function Ui(e, t, r) {
  2116. return e >= zt(t, r) && e < Ut(t, r)
  2117. }
  2118. function zi(e, t, n) {
  2119. var i = n ? Sr : Er,
  2120. a = e[0].length,
  2121. s = e.length,
  2122. l = s,
  2123. c = r(s),
  2124. u = 1 / 0,
  2125. f = []
  2126. while (l--) {
  2127. var p = e[l]
  2128. l && t && (p = Cr(p, Kr(t))), (u = zt(p.length, u)), (c[l] = !n && (t || (a >= 120 && p.length >= 120)) ? new Kn(l && p) : o)
  2129. }
  2130. p = e[0]
  2131. var d = -1,
  2132. h = c[0]
  2133. e: while (++d < a && f.length < u) {
  2134. var m = p[d],
  2135. g = t ? t(m) : m
  2136. if (((m = n || 0 !== m ? m : 0), !(h ? Qr(h, g) : i(f, g, n)))) {
  2137. l = s
  2138. while (--l) {
  2139. var y = c[l]
  2140. if (!(y ? Qr(y, g) : i(e[l], g, n))) continue e
  2141. }
  2142. h && h.push(g), f.push(m)
  2143. }
  2144. }
  2145. return f
  2146. }
  2147. function qi(e, t, r, n) {
  2148. return (
  2149. Oi(e, function (e, i, o) {
  2150. t(n, r(e), i, o)
  2151. }),
  2152. n
  2153. )
  2154. }
  2155. function Gi(e, t, r) {
  2156. ;(t = Wo(t, e)), (e = xs(e, t))
  2157. var n = null == e ? e : e[Os(ol(t))]
  2158. return null == n ? o : br(n, e, r)
  2159. }
  2160. function Wi(e) {
  2161. return Eu(e) && Mi(e) == W
  2162. }
  2163. function Vi(e) {
  2164. return Eu(e) && Mi(e) == pe
  2165. }
  2166. function Hi(e) {
  2167. return Eu(e) && Mi(e) == Y
  2168. }
  2169. function Xi(e, t, r, n, i) {
  2170. return e === t || (null == e || null == t || (!Eu(e) && !Eu(t)) ? e !== e && t !== t : Yi(e, t, r, n, Xi, i))
  2171. }
  2172. function Yi(e, t, r, n, i, o) {
  2173. var a = lu(e),
  2174. s = lu(t),
  2175. l = a ? V : Qa(e),
  2176. c = s ? V : Qa(t)
  2177. ;(l = l == W ? re : l), (c = c == W ? re : c)
  2178. var u = l == re,
  2179. f = c == re,
  2180. p = l == c
  2181. if (p && du(e)) {
  2182. if (!du(t)) return !1
  2183. ;(a = !0), (u = !1)
  2184. }
  2185. if (p && !u) return o || (o = new Jn()), a || Uu(e) ? Na(e, t, r, n, i, o) : Ma(e, t, l, r, n, i, o)
  2186. if (!(r & y)) {
  2187. var d = u && ft.call(e, "__wrapped__"),
  2188. h = f && ft.call(t, "__wrapped__")
  2189. if (d || h) {
  2190. var m = d ? e.value() : e,
  2191. g = h ? t.value() : t
  2192. return o || (o = new Jn()), i(m, g, r, n, o)
  2193. }
  2194. }
  2195. return !!p && (o || (o = new Jn()), Da(e, t, r, n, i, o))
  2196. }
  2197. function Ki(e) {
  2198. return Eu(e) && Qa(e) == $
  2199. }
  2200. function Zi(e, t, r, n) {
  2201. var i = r.length,
  2202. a = i,
  2203. s = !n
  2204. if (null == e) return !a
  2205. e = rt(e)
  2206. while (i--) {
  2207. var l = r[i]
  2208. if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
  2209. }
  2210. while (++i < a) {
  2211. l = r[i]
  2212. var c = l[0],
  2213. u = e[c],
  2214. f = l[1]
  2215. if (s && l[2]) {
  2216. if (u === o && !(c in e)) return !1
  2217. } else {
  2218. var p = new Jn()
  2219. if (n) var d = n(u, f, c, e, t, p)
  2220. if (!(d === o ? Xi(f, u, y | v, n, p) : d)) return !1
  2221. }
  2222. }
  2223. return !0
  2224. }
  2225. function Qi(e) {
  2226. if (!Tu(e) || fs(e)) return !1
  2227. var t = xu(e) ? yt : Ze
  2228. return t.test(js(e))
  2229. }
  2230. function Ji(e) {
  2231. return Eu(e) && Mi(e) == oe
  2232. }
  2233. function $i(e) {
  2234. return Eu(e) && Qa(e) == ae
  2235. }
  2236. function eo(e) {
  2237. return Eu(e) && _u(e.length) && !!Qt[Mi(e)]
  2238. }
  2239. function to(e) {
  2240. return "function" == typeof e ? e : null == e ? Op : "object" == typeof e ? (lu(e) ? so(e[0], e[1]) : ao(e)) : Wp(e)
  2241. }
  2242. function ro(e) {
  2243. if (!ds(e)) return Ft(e)
  2244. var t = []
  2245. for (var r in rt(e)) ft.call(e, r) && "constructor" != r && t.push(r)
  2246. return t
  2247. }
  2248. function no(e) {
  2249. if (!Tu(e)) return vs(e)
  2250. var t = ds(e),
  2251. r = []
  2252. for (var n in e) ("constructor" != n || (!t && ft.call(e, n))) && r.push(n)
  2253. return r
  2254. }
  2255. function io(e, t) {
  2256. return e < t
  2257. }
  2258. function oo(e, t) {
  2259. var n = -1,
  2260. i = uu(e) ? r(e.length) : []
  2261. return (
  2262. Ai(e, function (e, r, o) {
  2263. i[++n] = t(e, r, o)
  2264. }),
  2265. i
  2266. )
  2267. }
  2268. function ao(e) {
  2269. var t = Ha(e)
  2270. return 1 == t.length && t[0][2]
  2271. ? ms(t[0][0], t[0][1])
  2272. : function (r) {
  2273. return r === e || Zi(r, e, t)
  2274. }
  2275. }
  2276. function so(e, t) {
  2277. return ls(e) && hs(t)
  2278. ? ms(Os(e), t)
  2279. : function (r) {
  2280. var n = yf(r, e)
  2281. return n === o && n === t ? bf(r, e) : Xi(t, n, y | v)
  2282. }
  2283. }
  2284. function lo(e, t, r, n, i) {
  2285. e !== t &&
  2286. Li(
  2287. t,
  2288. function (a, s) {
  2289. if ((i || (i = new Jn()), Tu(a))) co(e, t, s, r, lo, n, i)
  2290. else {
  2291. var l = n ? n(_s(e, s), a, s + "", e, t, i) : o
  2292. l === o && (l = a), li(e, s, l)
  2293. }
  2294. },
  2295. Tf
  2296. )
  2297. }
  2298. function co(e, t, r, n, i, a, s) {
  2299. var l = _s(e, r),
  2300. c = _s(t, r),
  2301. u = s.get(c)
  2302. if (u) li(e, r, u)
  2303. else {
  2304. var f = a ? a(l, c, r + "", e, t, s) : o,
  2305. p = f === o
  2306. if (p) {
  2307. var d = lu(c),
  2308. h = !d && du(c),
  2309. m = !d && !h && Uu(c)
  2310. ;(f = c),
  2311. d || h || m
  2312. ? lu(l)
  2313. ? (f = l)
  2314. : fu(l)
  2315. ? (f = ia(l))
  2316. : h
  2317. ? ((p = !1), (f = Yo(c, !0)))
  2318. : m
  2319. ? ((p = !1), (f = $o(c, !0)))
  2320. : (f = [])
  2321. : Iu(c) || su(c)
  2322. ? ((f = l), su(l) ? (f = Qu(l)) : (Tu(l) && !xu(l)) || (f = rs(c)))
  2323. : (p = !1)
  2324. }
  2325. p && (s.set(c, f), i(f, c, n, a, s), s["delete"](c)), li(e, r, f)
  2326. }
  2327. }
  2328. function uo(e, t) {
  2329. var r = e.length
  2330. if (r) return (t += t < 0 ? r : 0), as(t, r) ? e[t] : o
  2331. }
  2332. function fo(e, t, r) {
  2333. t = t.length
  2334. ? Cr(t, function (e) {
  2335. return lu(e)
  2336. ? function (t) {
  2337. return Ii(t, 1 === e.length ? e[0] : e)
  2338. }
  2339. : e
  2340. })
  2341. : [Op]
  2342. var n = -1
  2343. t = Cr(t, Kr(Wa()))
  2344. var i = oo(e, function (e, r, i) {
  2345. var o = Cr(t, function (t) {
  2346. return t(e)
  2347. })
  2348. return {
  2349. criteria: o,
  2350. index: ++n,
  2351. value: e
  2352. }
  2353. })
  2354. return Wr(i, function (e, t) {
  2355. return ta(e, t, r)
  2356. })
  2357. }
  2358. function po(e, t) {
  2359. return ho(e, t, function (t, r) {
  2360. return bf(e, r)
  2361. })
  2362. }
  2363. function ho(e, t, r) {
  2364. var n = -1,
  2365. i = t.length,
  2366. o = {}
  2367. while (++n < i) {
  2368. var a = t[n],
  2369. s = Ii(e, a)
  2370. r(s, a) && To(o, Wo(a, e), s)
  2371. }
  2372. return o
  2373. }
  2374. function mo(e) {
  2375. return function (t) {
  2376. return Ii(t, e)
  2377. }
  2378. }
  2379. function go(e, t, r, n) {
  2380. var i = n ? Br : Dr,
  2381. o = -1,
  2382. a = t.length,
  2383. s = e
  2384. e === t && (t = ia(t)), r && (s = Cr(e, Kr(r)))
  2385. while (++o < a) {
  2386. var l = 0,
  2387. c = t[o],
  2388. u = r ? r(c) : c
  2389. while ((l = i(s, u, l, n)) > -1) s !== e && Et.call(s, l, 1), Et.call(e, l, 1)
  2390. }
  2391. return e
  2392. }
  2393. function yo(e, t) {
  2394. var r = e ? t.length : 0,
  2395. n = r - 1
  2396. while (r--) {
  2397. var i = t[r]
  2398. if (r == n || i !== o) {
  2399. var o = i
  2400. as(i) ? Et.call(e, i, 1) : Mo(e, i)
  2401. }
  2402. }
  2403. return e
  2404. }
  2405. function vo(e, t) {
  2406. return e + It(Ht() * (t - e + 1))
  2407. }
  2408. function bo(e, t, n, i) {
  2409. var o = -1,
  2410. a = Ut(Rt((t - e) / (n || 1)), 0),
  2411. s = r(a)
  2412. while (a--) (s[i ? a : ++o] = e), (e += n)
  2413. return s
  2414. }
  2415. function wo(e, t) {
  2416. var r = ""
  2417. if (!e || t < 1 || t > D) return r
  2418. do {
  2419. t % 2 && (r += e), (t = It(t / 2)), t && (e += e)
  2420. } while (t)
  2421. return r
  2422. }
  2423. function xo(e, t) {
  2424. return Ss(ws(e, t, Op), e + "")
  2425. }
  2426. function Ao(e) {
  2427. return oi(qf(e))
  2428. }
  2429. function _o(e, t) {
  2430. var r = qf(e)
  2431. return Ls(r, gi(t, 0, r.length))
  2432. }
  2433. function To(e, t, r, n) {
  2434. if (!Tu(e)) return e
  2435. t = Wo(t, e)
  2436. var i = -1,
  2437. a = t.length,
  2438. s = a - 1,
  2439. l = e
  2440. while (null != l && ++i < a) {
  2441. var c = Os(t[i]),
  2442. u = r
  2443. if ("__proto__" === c || "constructor" === c || "prototype" === c) return e
  2444. if (i != s) {
  2445. var f = l[c]
  2446. ;(u = n ? n(f, c, l) : o), u === o && (u = Tu(f) ? f : as(t[i + 1]) ? [] : {})
  2447. }
  2448. ci(l, c, u), (l = l[c])
  2449. }
  2450. return e
  2451. }
  2452. var Eo = ar
  2453. ? function (e, t) {
  2454. return ar.set(e, t), e
  2455. }
  2456. : Op,
  2457. So = Lt
  2458. ? function (e, t) {
  2459. return Lt(e, "toString", {
  2460. configurable: !0,
  2461. enumerable: !1,
  2462. value: Cp(t),
  2463. writable: !0
  2464. })
  2465. }
  2466. : Op
  2467. function Co(e) {
  2468. return Ls(qf(e))
  2469. }
  2470. function ko(e, t, n) {
  2471. var i = -1,
  2472. o = e.length
  2473. t < 0 && (t = -t > o ? 0 : o + t), (n = n > o ? o : n), n < 0 && (n += o), (o = t > n ? 0 : (n - t) >>> 0), (t >>>= 0)
  2474. var a = r(o)
  2475. while (++i < o) a[i] = e[i + t]
  2476. return a
  2477. }
  2478. function Lo(e, t) {
  2479. var r
  2480. return (
  2481. Ai(e, function (e, n, i) {
  2482. return (r = t(e, n, i)), !r
  2483. }),
  2484. !!r
  2485. )
  2486. }
  2487. function Po(e, t, r) {
  2488. var n = 0,
  2489. i = null == e ? n : e.length
  2490. if ("number" == typeof t && t === t && i <= q) {
  2491. while (n < i) {
  2492. var o = (n + i) >>> 1,
  2493. a = e[o]
  2494. null !== a && !Fu(a) && (r ? a <= t : a < t) ? (n = o + 1) : (i = o)
  2495. }
  2496. return i
  2497. }
  2498. return Oo(e, t, Op, r)
  2499. }
  2500. function Oo(e, t, r, n) {
  2501. var i = 0,
  2502. a = null == e ? 0 : e.length
  2503. if (0 === a) return 0
  2504. t = r(t)
  2505. var s = t !== t,
  2506. l = null === t,
  2507. c = Fu(t),
  2508. u = t === o
  2509. while (i < a) {
  2510. var f = It((i + a) / 2),
  2511. p = r(e[f]),
  2512. d = p !== o,
  2513. h = null === p,
  2514. m = p === p,
  2515. g = Fu(p)
  2516. if (s) var y = n || m
  2517. else y = u ? m && (n || d) : l ? m && d && (n || !h) : c ? m && d && !h && (n || !g) : !h && !g && (n ? p <= t : p < t)
  2518. y ? (i = f + 1) : (a = f)
  2519. }
  2520. return zt(a, z)
  2521. }
  2522. function jo(e, t) {
  2523. var r = -1,
  2524. n = e.length,
  2525. i = 0,
  2526. o = []
  2527. while (++r < n) {
  2528. var a = e[r],
  2529. s = t ? t(a) : a
  2530. if (!r || !iu(s, l)) {
  2531. var l = s
  2532. o[i++] = 0 === a ? 0 : a
  2533. }
  2534. }
  2535. return o
  2536. }
  2537. function Ro(e) {
  2538. return "number" == typeof e ? e : Fu(e) ? F : +e
  2539. }
  2540. function Io(e) {
  2541. if ("string" == typeof e) return e
  2542. if (lu(e)) return Cr(e, Io) + ""
  2543. if (Fu(e)) return wn ? wn.call(e) : ""
  2544. var t = e + ""
  2545. return "0" == t && 1 / e == -M ? "-0" : t
  2546. }
  2547. function No(e, t, r) {
  2548. var n = -1,
  2549. i = Er,
  2550. o = e.length,
  2551. a = !0,
  2552. l = [],
  2553. c = l
  2554. if (r) (a = !1), (i = Sr)
  2555. else if (o >= s) {
  2556. var u = t ? null : La(e)
  2557. if (u) return pn(u)
  2558. ;(a = !1), (i = Qr), (c = new Kn())
  2559. } else c = t ? [] : l
  2560. e: while (++n < o) {
  2561. var f = e[n],
  2562. p = t ? t(f) : f
  2563. if (((f = r || 0 !== f ? f : 0), a && p === p)) {
  2564. var d = c.length
  2565. while (d--) if (c[d] === p) continue e
  2566. t && c.push(p), l.push(f)
  2567. } else i(c, p, r) || (c !== l && c.push(p), l.push(f))
  2568. }
  2569. return l
  2570. }
  2571. function Mo(e, t) {
  2572. return (t = Wo(t, e)), (e = xs(e, t)), null == e || delete e[Os(ol(t))]
  2573. }
  2574. function Do(e, t, r, n) {
  2575. return To(e, t, r(Ii(e, t)), n)
  2576. }
  2577. function Bo(e, t, r, n) {
  2578. var i = e.length,
  2579. o = n ? i : -1
  2580. while ((n ? o-- : ++o < i) && t(e[o], o, e));
  2581. return r ? ko(e, n ? 0 : o, n ? o + 1 : i) : ko(e, n ? o + 1 : 0, n ? i : o)
  2582. }
  2583. function Fo(e, t) {
  2584. var r = e
  2585. return (
  2586. r instanceof Cn && (r = r.value()),
  2587. Lr(
  2588. t,
  2589. function (e, t) {
  2590. return t.func.apply(t.thisArg, kr([e], t.args))
  2591. },
  2592. r
  2593. )
  2594. )
  2595. }
  2596. function Uo(e, t, n) {
  2597. var i = e.length
  2598. if (i < 2) return i ? No(e[0]) : []
  2599. var o = -1,
  2600. a = r(i)
  2601. while (++o < i) {
  2602. var s = e[o],
  2603. l = -1
  2604. while (++l < i) l != o && (a[o] = xi(a[o] || s, e[l], t, n))
  2605. }
  2606. return No(ki(a, 1), t, n)
  2607. }
  2608. function zo(e, t, r) {
  2609. var n = -1,
  2610. i = e.length,
  2611. a = t.length,
  2612. s = {}
  2613. while (++n < i) {
  2614. var l = n < a ? t[n] : o
  2615. r(s, e[n], l)
  2616. }
  2617. return s
  2618. }
  2619. function qo(e) {
  2620. return fu(e) ? e : []
  2621. }
  2622. function Go(e) {
  2623. return "function" == typeof e ? e : Op
  2624. }
  2625. function Wo(e, t) {
  2626. return lu(e) ? e : ls(e, t) ? [e] : Ps($u(e))
  2627. }
  2628. var Vo = xo
  2629. function Ho(e, t, r) {
  2630. var n = e.length
  2631. return (r = r === o ? n : r), !t && r >= n ? e : ko(e, t, r)
  2632. }
  2633. var Xo =
  2634. Pt ||
  2635. function (e) {
  2636. return sr.clearTimeout(e)
  2637. }
  2638. function Yo(e, t) {
  2639. if (t) return e.slice()
  2640. var r = e.length,
  2641. n = xt ? xt(r) : new e.constructor(r)
  2642. return e.copy(n), n
  2643. }
  2644. function Ko(e) {
  2645. var t = new e.constructor(e.byteLength)
  2646. return new wt(t).set(new wt(e)), t
  2647. }
  2648. function Zo(e, t) {
  2649. var r = t ? Ko(e.buffer) : e.buffer
  2650. return new e.constructor(r, e.byteOffset, e.byteLength)
  2651. }
  2652. function Qo(e) {
  2653. var t = new e.constructor(e.source, Xe.exec(e))
  2654. return (t.lastIndex = e.lastIndex), t
  2655. }
  2656. function Jo(e) {
  2657. return hn ? rt(hn.call(e)) : {}
  2658. }
  2659. function $o(e, t) {
  2660. var r = t ? Ko(e.buffer) : e.buffer
  2661. return new e.constructor(r, e.byteOffset, e.length)
  2662. }
  2663. function ea(e, t) {
  2664. if (e !== t) {
  2665. var r = e !== o,
  2666. n = null === e,
  2667. i = e === e,
  2668. a = Fu(e),
  2669. s = t !== o,
  2670. l = null === t,
  2671. c = t === t,
  2672. u = Fu(t)
  2673. if ((!l && !u && !a && e > t) || (a && s && c && !l && !u) || (n && s && c) || (!r && c) || !i) return 1
  2674. if ((!n && !a && !u && e < t) || (u && r && i && !n && !a) || (l && r && i) || (!s && i) || !c) return -1
  2675. }
  2676. return 0
  2677. }
  2678. function ta(e, t, r) {
  2679. var n = -1,
  2680. i = e.criteria,
  2681. o = t.criteria,
  2682. a = i.length,
  2683. s = r.length
  2684. while (++n < a) {
  2685. var l = ea(i[n], o[n])
  2686. if (l) {
  2687. if (n >= s) return l
  2688. var c = r[n]
  2689. return l * ("desc" == c ? -1 : 1)
  2690. }
  2691. }
  2692. return e.index - t.index
  2693. }
  2694. function ra(e, t, n, i) {
  2695. var o = -1,
  2696. a = e.length,
  2697. s = n.length,
  2698. l = -1,
  2699. c = t.length,
  2700. u = Ut(a - s, 0),
  2701. f = r(c + u),
  2702. p = !i
  2703. while (++l < c) f[l] = t[l]
  2704. while (++o < s) (p || o < a) && (f[n[o]] = e[o])
  2705. while (u--) f[l++] = e[o++]
  2706. return f
  2707. }
  2708. function na(e, t, n, i) {
  2709. var o = -1,
  2710. a = e.length,
  2711. s = -1,
  2712. l = n.length,
  2713. c = -1,
  2714. u = t.length,
  2715. f = Ut(a - l, 0),
  2716. p = r(f + u),
  2717. d = !i
  2718. while (++o < f) p[o] = e[o]
  2719. var h = o
  2720. while (++c < u) p[h + c] = t[c]
  2721. while (++s < l) (d || o < a) && (p[h + n[s]] = e[o++])
  2722. return p
  2723. }
  2724. function ia(e, t) {
  2725. var n = -1,
  2726. i = e.length
  2727. t || (t = r(i))
  2728. while (++n < i) t[n] = e[n]
  2729. return t
  2730. }
  2731. function oa(e, t, r, n) {
  2732. var i = !r
  2733. r || (r = {})
  2734. var a = -1,
  2735. s = t.length
  2736. while (++a < s) {
  2737. var l = t[a],
  2738. c = n ? n(r[l], e[l], l, r, e) : o
  2739. c === o && (c = e[l]), i ? hi(r, l, c) : ci(r, l, c)
  2740. }
  2741. return r
  2742. }
  2743. function aa(e, t) {
  2744. return oa(e, Ka(e), t)
  2745. }
  2746. function sa(e, t) {
  2747. return oa(e, Za(e), t)
  2748. }
  2749. function la(e, t) {
  2750. return function (r, n) {
  2751. var i = lu(r) ? wr : fi,
  2752. o = t ? t() : {}
  2753. return i(r, e, Wa(n, 2), o)
  2754. }
  2755. }
  2756. function ca(e) {
  2757. return xo(function (t, r) {
  2758. var n = -1,
  2759. i = r.length,
  2760. a = i > 1 ? r[i - 1] : o,
  2761. s = i > 2 ? r[2] : o
  2762. ;(a = e.length > 3 && "function" == typeof a ? (i--, a) : o),
  2763. s && ss(r[0], r[1], s) && ((a = i < 3 ? o : a), (i = 1)),
  2764. (t = rt(t))
  2765. while (++n < i) {
  2766. var l = r[n]
  2767. l && e(t, l, n, a)
  2768. }
  2769. return t
  2770. })
  2771. }
  2772. function ua(e, t) {
  2773. return function (r, n) {
  2774. if (null == r) return r
  2775. if (!uu(r)) return e(r, n)
  2776. var i = r.length,
  2777. o = t ? i : -1,
  2778. a = rt(r)
  2779. while (t ? o-- : ++o < i) if (!1 === n(a[o], o, a)) break
  2780. return r
  2781. }
  2782. }
  2783. function fa(e) {
  2784. return function (t, r, n) {
  2785. var i = -1,
  2786. o = rt(t),
  2787. a = n(t),
  2788. s = a.length
  2789. while (s--) {
  2790. var l = a[e ? s : ++i]
  2791. if (!1 === r(o[l], l, o)) break
  2792. }
  2793. return t
  2794. }
  2795. }
  2796. function pa(e, t, r) {
  2797. var n = t & b,
  2798. i = ma(e)
  2799. function o() {
  2800. var t = this && this !== sr && this instanceof o ? i : e
  2801. return t.apply(n ? r : this, arguments)
  2802. }
  2803. return o
  2804. }
  2805. function da(e) {
  2806. return function (t) {
  2807. t = $u(t)
  2808. var r = an(t) ? yn(t) : o,
  2809. n = r ? r[0] : t.charAt(0),
  2810. i = r ? Ho(r, 1).join("") : t.slice(1)
  2811. return n[e]() + i
  2812. }
  2813. }
  2814. function ha(e) {
  2815. return function (t) {
  2816. return Lr(Ap(Kf(t).replace(Gt, "")), e, "")
  2817. }
  2818. }
  2819. function ma(e) {
  2820. return function () {
  2821. var t = arguments
  2822. switch (t.length) {
  2823. case 0:
  2824. return new e()
  2825. case 1:
  2826. return new e(t[0])
  2827. case 2:
  2828. return new e(t[0], t[1])
  2829. case 3:
  2830. return new e(t[0], t[1], t[2])
  2831. case 4:
  2832. return new e(t[0], t[1], t[2], t[3])
  2833. case 5:
  2834. return new e(t[0], t[1], t[2], t[3], t[4])
  2835. case 6:
  2836. return new e(t[0], t[1], t[2], t[3], t[4], t[5])
  2837. case 7:
  2838. return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6])
  2839. }
  2840. var r = _n(e.prototype),
  2841. n = e.apply(r, t)
  2842. return Tu(n) ? n : r
  2843. }
  2844. }
  2845. function ga(e, t, n) {
  2846. var i = ma(e)
  2847. function a() {
  2848. var s = arguments.length,
  2849. l = r(s),
  2850. c = s,
  2851. u = Ga(a)
  2852. while (c--) l[c] = arguments[c]
  2853. var f = s < 3 && l[0] !== u && l[s - 1] !== u ? [] : fn(l, u)
  2854. if (((s -= f.length), s < n)) return Ca(e, t, ba, a.placeholder, o, l, f, o, o, n - s)
  2855. var p = this && this !== sr && this instanceof a ? i : e
  2856. return br(p, this, l)
  2857. }
  2858. return a
  2859. }
  2860. function ya(e) {
  2861. return function (t, r, n) {
  2862. var i = rt(t)
  2863. if (!uu(t)) {
  2864. var a = Wa(r, 3)
  2865. ;(t = _f(t)),
  2866. (r = function (e) {
  2867. return a(i[e], e, i)
  2868. })
  2869. }
  2870. var s = e(t, r, n)
  2871. return s > -1 ? i[a ? t[s] : s] : o
  2872. }
  2873. }
  2874. function va(e) {
  2875. return Ba(function (t) {
  2876. var r = t.length,
  2877. n = r,
  2878. i = Sn.prototype.thru
  2879. e && t.reverse()
  2880. while (n--) {
  2881. var a = t[n]
  2882. if ("function" != typeof a) throw new ot(c)
  2883. if (i && !s && "wrapper" == qa(a)) var s = new Sn([], !0)
  2884. }
  2885. n = s ? n : r
  2886. while (++n < r) {
  2887. a = t[n]
  2888. var l = qa(a),
  2889. u = "wrapper" == l ? za(a) : o
  2890. s =
  2891. u && us(u[0]) && u[1] == (S | A | T | C) && !u[4].length && 1 == u[9]
  2892. ? s[qa(u[0])].apply(s, u[3])
  2893. : 1 == a.length && us(a)
  2894. ? s[l]()
  2895. : s.thru(a)
  2896. }
  2897. return function () {
  2898. var e = arguments,
  2899. n = e[0]
  2900. if (s && 1 == e.length && lu(n)) return s.plant(n).value()
  2901. var i = 0,
  2902. o = r ? t[i].apply(this, e) : n
  2903. while (++i < r) o = t[i].call(this, o)
  2904. return o
  2905. }
  2906. })
  2907. }
  2908. function ba(e, t, n, i, a, s, l, c, u, f) {
  2909. var p = t & S,
  2910. d = t & b,
  2911. h = t & w,
  2912. m = t & (A | _),
  2913. g = t & k,
  2914. y = h ? o : ma(e)
  2915. function v() {
  2916. var o = arguments.length,
  2917. b = r(o),
  2918. w = o
  2919. while (w--) b[w] = arguments[w]
  2920. if (m)
  2921. var x = Ga(v),
  2922. A = en(b, x)
  2923. if ((i && (b = ra(b, i, a, m)), s && (b = na(b, s, l, m)), (o -= A), m && o < f)) {
  2924. var _ = fn(b, x)
  2925. return Ca(e, t, ba, v.placeholder, n, b, _, c, u, f - o)
  2926. }
  2927. var T = d ? n : this,
  2928. E = h ? T[e] : e
  2929. return (
  2930. (o = b.length),
  2931. c ? (b = As(b, c)) : g && o > 1 && b.reverse(),
  2932. p && u < o && (b.length = u),
  2933. this && this !== sr && this instanceof v && (E = y || ma(E)),
  2934. E.apply(T, b)
  2935. )
  2936. }
  2937. return v
  2938. }
  2939. function wa(e, t) {
  2940. return function (r, n) {
  2941. return qi(r, e, t(n), {})
  2942. }
  2943. }
  2944. function xa(e, t) {
  2945. return function (r, n) {
  2946. var i
  2947. if (r === o && n === o) return t
  2948. if ((r !== o && (i = r), n !== o)) {
  2949. if (i === o) return n
  2950. "string" == typeof r || "string" == typeof n ? ((r = Io(r)), (n = Io(n))) : ((r = Ro(r)), (n = Ro(n))), (i = e(r, n))
  2951. }
  2952. return i
  2953. }
  2954. }
  2955. function Aa(e) {
  2956. return Ba(function (t) {
  2957. return (
  2958. (t = Cr(t, Kr(Wa()))),
  2959. xo(function (r) {
  2960. var n = this
  2961. return e(t, function (e) {
  2962. return br(e, n, r)
  2963. })
  2964. })
  2965. )
  2966. })
  2967. }
  2968. function _a(e, t) {
  2969. t = t === o ? " " : Io(t)
  2970. var r = t.length
  2971. if (r < 2) return r ? wo(t, e) : t
  2972. var n = wo(t, Rt(e / gn(t)))
  2973. return an(t) ? Ho(yn(n), 0, e).join("") : n.slice(0, e)
  2974. }
  2975. function Ta(e, t, n, i) {
  2976. var o = t & b,
  2977. a = ma(e)
  2978. function s() {
  2979. var t = -1,
  2980. l = arguments.length,
  2981. c = -1,
  2982. u = i.length,
  2983. f = r(u + l),
  2984. p = this && this !== sr && this instanceof s ? a : e
  2985. while (++c < u) f[c] = i[c]
  2986. while (l--) f[c++] = arguments[++t]
  2987. return br(p, o ? n : this, f)
  2988. }
  2989. return s
  2990. }
  2991. function Ea(e) {
  2992. return function (t, r, n) {
  2993. return (
  2994. n && "number" != typeof n && ss(t, r, n) && (r = n = o),
  2995. (t = Xu(t)),
  2996. r === o ? ((r = t), (t = 0)) : (r = Xu(r)),
  2997. (n = n === o ? (t < r ? 1 : -1) : Xu(n)),
  2998. bo(t, r, n, e)
  2999. )
  3000. }
  3001. }
  3002. function Sa(e) {
  3003. return function (t, r) {
  3004. return ("string" == typeof t && "string" == typeof r) || ((t = Zu(t)), (r = Zu(r))), e(t, r)
  3005. }
  3006. }
  3007. function Ca(e, t, r, n, i, a, s, l, c, u) {
  3008. var f = t & A,
  3009. p = f ? s : o,
  3010. d = f ? o : s,
  3011. h = f ? a : o,
  3012. m = f ? o : a
  3013. ;(t |= f ? T : E), (t &= ~(f ? E : T)), t & x || (t &= ~(b | w))
  3014. var g = [e, t, i, h, p, m, d, l, c, u],
  3015. y = r.apply(o, g)
  3016. return us(e) && Ts(y, g), (y.placeholder = n), Cs(y, e, t)
  3017. }
  3018. function ka(e) {
  3019. var t = Ge[e]
  3020. return function (e, r) {
  3021. if (((e = Zu(e)), (r = null == r ? 0 : zt(Yu(r), 292)), r && Dt(e))) {
  3022. var n = ($u(e) + "e").split("e"),
  3023. i = t(n[0] + "e" + (+n[1] + r))
  3024. return (n = ($u(i) + "e").split("e")), +(n[0] + "e" + (+n[1] - r))
  3025. }
  3026. return t(e)
  3027. }
  3028. }
  3029. var La =
  3030. tr && 1 / pn(new tr([, -0]))[1] == M
  3031. ? function (e) {
  3032. return new tr(e)
  3033. }
  3034. : Fp
  3035. function Pa(e) {
  3036. return function (t) {
  3037. var r = Qa(t)
  3038. return r == $ ? cn(t) : r == ae ? dn(t) : Xr(t, e(t))
  3039. }
  3040. }
  3041. function Oa(e, t, r, n, i, a, s, l) {
  3042. var u = t & w
  3043. if (!u && "function" != typeof e) throw new ot(c)
  3044. var f = n ? n.length : 0
  3045. if (
  3046. (f || ((t &= ~(T | E)), (n = i = o)),
  3047. (s = s === o ? s : Ut(Yu(s), 0)),
  3048. (l = l === o ? l : Yu(l)),
  3049. (f -= i ? i.length : 0),
  3050. t & E)
  3051. ) {
  3052. var p = n,
  3053. d = i
  3054. n = i = o
  3055. }
  3056. var h = u ? o : za(e),
  3057. m = [e, t, r, n, i, p, d, a, s, l]
  3058. if (
  3059. (h && ys(m, h),
  3060. (e = m[0]),
  3061. (t = m[1]),
  3062. (r = m[2]),
  3063. (n = m[3]),
  3064. (i = m[4]),
  3065. (l = m[9] = m[9] === o ? (u ? 0 : e.length) : Ut(m[9] - f, 0)),
  3066. !l && t & (A | _) && (t &= ~(A | _)),
  3067. t && t != b)
  3068. )
  3069. g = t == A || t == _ ? ga(e, t, l) : (t != T && t != (b | T)) || i.length ? ba.apply(o, m) : Ta(e, t, r, n)
  3070. else var g = pa(e, t, r)
  3071. var y = h ? Eo : Ts
  3072. return Cs(y(g, m), e, t)
  3073. }
  3074. function ja(e, t, r, n) {
  3075. return e === o || (iu(e, lt[r]) && !ft.call(n, r)) ? t : e
  3076. }
  3077. function Ra(e, t, r, n, i, a) {
  3078. return Tu(e) && Tu(t) && (a.set(t, e), lo(e, t, o, Ra, a), a["delete"](t)), e
  3079. }
  3080. function Ia(e) {
  3081. return Iu(e) ? o : e
  3082. }
  3083. function Na(e, t, r, n, i, a) {
  3084. var s = r & y,
  3085. l = e.length,
  3086. c = t.length
  3087. if (l != c && !(s && c > l)) return !1
  3088. var u = a.get(e),
  3089. f = a.get(t)
  3090. if (u && f) return u == t && f == e
  3091. var p = -1,
  3092. d = !0,
  3093. h = r & v ? new Kn() : o
  3094. a.set(e, t), a.set(t, e)
  3095. while (++p < l) {
  3096. var m = e[p],
  3097. g = t[p]
  3098. if (n) var b = s ? n(g, m, p, t, e, a) : n(m, g, p, e, t, a)
  3099. if (b !== o) {
  3100. if (b) continue
  3101. d = !1
  3102. break
  3103. }
  3104. if (h) {
  3105. if (
  3106. !Or(t, function (e, t) {
  3107. if (!Qr(h, t) && (m === e || i(m, e, r, n, a))) return h.push(t)
  3108. })
  3109. ) {
  3110. d = !1
  3111. break
  3112. }
  3113. } else if (m !== g && !i(m, g, r, n, a)) {
  3114. d = !1
  3115. break
  3116. }
  3117. }
  3118. return a["delete"](e), a["delete"](t), d
  3119. }
  3120. function Ma(e, t, r, n, i, o, a) {
  3121. switch (r) {
  3122. case de:
  3123. if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1
  3124. ;(e = e.buffer), (t = t.buffer)
  3125. case pe:
  3126. return !(e.byteLength != t.byteLength || !o(new wt(e), new wt(t)))
  3127. case X:
  3128. case Y:
  3129. case ee:
  3130. return iu(+e, +t)
  3131. case Z:
  3132. return e.name == t.name && e.message == t.message
  3133. case oe:
  3134. case se:
  3135. return e == t + ""
  3136. case $:
  3137. var s = cn
  3138. case ae:
  3139. var l = n & y
  3140. if ((s || (s = pn), e.size != t.size && !l)) return !1
  3141. var c = a.get(e)
  3142. if (c) return c == t
  3143. ;(n |= v), a.set(e, t)
  3144. var u = Na(s(e), s(t), n, i, o, a)
  3145. return a["delete"](e), u
  3146. case le:
  3147. if (hn) return hn.call(e) == hn.call(t)
  3148. }
  3149. return !1
  3150. }
  3151. function Da(e, t, r, n, i, a) {
  3152. var s = r & y,
  3153. l = Fa(e),
  3154. c = l.length,
  3155. u = Fa(t),
  3156. f = u.length
  3157. if (c != f && !s) return !1
  3158. var p = c
  3159. while (p--) {
  3160. var d = l[p]
  3161. if (!(s ? d in t : ft.call(t, d))) return !1
  3162. }
  3163. var h = a.get(e),
  3164. m = a.get(t)
  3165. if (h && m) return h == t && m == e
  3166. var g = !0
  3167. a.set(e, t), a.set(t, e)
  3168. var v = s
  3169. while (++p < c) {
  3170. d = l[p]
  3171. var b = e[d],
  3172. w = t[d]
  3173. if (n) var x = s ? n(w, b, d, t, e, a) : n(b, w, d, e, t, a)
  3174. if (!(x === o ? b === w || i(b, w, r, n, a) : x)) {
  3175. g = !1
  3176. break
  3177. }
  3178. v || (v = "constructor" == d)
  3179. }
  3180. if (g && !v) {
  3181. var A = e.constructor,
  3182. _ = t.constructor
  3183. A == _ ||
  3184. !("constructor" in e) ||
  3185. !("constructor" in t) ||
  3186. ("function" == typeof A && A instanceof A && "function" == typeof _ && _ instanceof _) ||
  3187. (g = !1)
  3188. }
  3189. return a["delete"](e), a["delete"](t), g
  3190. }
  3191. function Ba(e) {
  3192. return Ss(ws(e, o, Ys), e + "")
  3193. }
  3194. function Fa(e) {
  3195. return Ni(e, _f, Ka)
  3196. }
  3197. function Ua(e) {
  3198. return Ni(e, Tf, Za)
  3199. }
  3200. var za = ar
  3201. ? function (e) {
  3202. return ar.get(e)
  3203. }
  3204. : Fp
  3205. function qa(e) {
  3206. var t = e.name + "",
  3207. r = lr[t],
  3208. n = ft.call(lr, t) ? r.length : 0
  3209. while (n--) {
  3210. var i = r[n],
  3211. o = i.func
  3212. if (null == o || o == e) return i.name
  3213. }
  3214. return t
  3215. }
  3216. function Ga(e) {
  3217. var t = ft.call(xn, "placeholder") ? xn : e
  3218. return t.placeholder
  3219. }
  3220. function Wa() {
  3221. var e = xn.iteratee || jp
  3222. return (e = e === jp ? to : e), arguments.length ? e(arguments[0], arguments[1]) : e
  3223. }
  3224. function Va(e, t) {
  3225. var r = e.__data__
  3226. return cs(t) ? r["string" == typeof t ? "string" : "hash"] : r.map
  3227. }
  3228. function Ha(e) {
  3229. var t = _f(e),
  3230. r = t.length
  3231. while (r--) {
  3232. var n = t[r],
  3233. i = e[n]
  3234. t[r] = [n, i, hs(i)]
  3235. }
  3236. return t
  3237. }
  3238. function Xa(e, t) {
  3239. var r = on(e, t)
  3240. return Qi(r) ? r : o
  3241. }
  3242. function Ya(e) {
  3243. var t = ft.call(e, kt),
  3244. r = e[kt]
  3245. try {
  3246. e[kt] = o
  3247. var n = !0
  3248. } catch (a) {}
  3249. var i = ht.call(e)
  3250. return n && (t ? (e[kt] = r) : delete e[kt]), i
  3251. }
  3252. var Ka = Nt
  3253. ? function (e) {
  3254. return null == e
  3255. ? []
  3256. : ((e = rt(e)),
  3257. Tr(Nt(e), function (t) {
  3258. return Tt.call(e, t)
  3259. }))
  3260. }
  3261. : Yp,
  3262. Za = Nt
  3263. ? function (e) {
  3264. var t = []
  3265. while (e) kr(t, Ka(e)), (e = At(e))
  3266. return t
  3267. }
  3268. : Yp,
  3269. Qa = Mi
  3270. function Ja(e, t, r) {
  3271. var n = -1,
  3272. i = r.length
  3273. while (++n < i) {
  3274. var o = r[n],
  3275. a = o.size
  3276. switch (o.type) {
  3277. case "drop":
  3278. e += a
  3279. break
  3280. case "dropRight":
  3281. t -= a
  3282. break
  3283. case "take":
  3284. t = zt(t, e + a)
  3285. break
  3286. case "takeRight":
  3287. e = Ut(e, t - a)
  3288. break
  3289. }
  3290. }
  3291. return {
  3292. start: e,
  3293. end: t
  3294. }
  3295. }
  3296. function $a(e) {
  3297. var t = e.match(ze)
  3298. return t ? t[1].split(qe) : []
  3299. }
  3300. function es(e, t, r) {
  3301. t = Wo(t, e)
  3302. var n = -1,
  3303. i = t.length,
  3304. o = !1
  3305. while (++n < i) {
  3306. var a = Os(t[n])
  3307. if (!(o = null != e && r(e, a))) break
  3308. e = e[a]
  3309. }
  3310. return o || ++n != i ? o : ((i = null == e ? 0 : e.length), !!i && _u(i) && as(a, i) && (lu(e) || su(e)))
  3311. }
  3312. function ts(e) {
  3313. var t = e.length,
  3314. r = new e.constructor(t)
  3315. return t && "string" == typeof e[0] && ft.call(e, "index") && ((r.index = e.index), (r.input = e.input)), r
  3316. }
  3317. function rs(e) {
  3318. return "function" != typeof e.constructor || ds(e) ? {} : _n(At(e))
  3319. }
  3320. function ns(e, t, r) {
  3321. var n = e.constructor
  3322. switch (t) {
  3323. case pe:
  3324. return Ko(e)
  3325. case X:
  3326. case Y:
  3327. return new n(+e)
  3328. case de:
  3329. return Zo(e, r)
  3330. case he:
  3331. case me:
  3332. case ge:
  3333. case ye:
  3334. case ve:
  3335. case be:
  3336. case we:
  3337. case xe:
  3338. case Ae:
  3339. return $o(e, r)
  3340. case $:
  3341. return new n()
  3342. case ee:
  3343. case se:
  3344. return new n(e)
  3345. case oe:
  3346. return Qo(e)
  3347. case ae:
  3348. return new n()
  3349. case le:
  3350. return Jo(e)
  3351. }
  3352. }
  3353. function is(e, t) {
  3354. var r = t.length
  3355. if (!r) return e
  3356. var n = r - 1
  3357. return (
  3358. (t[n] = (r > 1 ? "& " : "") + t[n]), (t = t.join(r > 2 ? ", " : " ")), e.replace(Ue, "{\n/* [wrapped with " + t + "] */\n")
  3359. )
  3360. }
  3361. function os(e) {
  3362. return lu(e) || su(e) || !!(St && e && e[St])
  3363. }
  3364. function as(e, t) {
  3365. var r = typeof e
  3366. return (t = null == t ? D : t), !!t && ("number" == r || ("symbol" != r && Je.test(e))) && e > -1 && e % 1 == 0 && e < t
  3367. }
  3368. function ss(e, t, r) {
  3369. if (!Tu(r)) return !1
  3370. var n = typeof t
  3371. return !!("number" == n ? uu(r) && as(t, r.length) : "string" == n && t in r) && iu(r[t], e)
  3372. }
  3373. function ls(e, t) {
  3374. if (lu(e)) return !1
  3375. var r = typeof e
  3376. return (
  3377. !("number" != r && "symbol" != r && "boolean" != r && null != e && !Fu(e)) ||
  3378. Ie.test(e) ||
  3379. !Re.test(e) ||
  3380. (null != t && e in rt(t))
  3381. )
  3382. }
  3383. function cs(e) {
  3384. var t = typeof e
  3385. return "string" == t || "number" == t || "symbol" == t || "boolean" == t ? "__proto__" !== e : null === e
  3386. }
  3387. function us(e) {
  3388. var t = qa(e),
  3389. r = xn[t]
  3390. if ("function" != typeof r || !(t in Cn.prototype)) return !1
  3391. if (e === r) return !0
  3392. var n = za(r)
  3393. return !!n && e === n[0]
  3394. }
  3395. function fs(e) {
  3396. return !!dt && dt in e
  3397. }
  3398. ;((Yt && Qa(new Yt(new ArrayBuffer(1))) != de) ||
  3399. ($t && Qa(new $t()) != $) ||
  3400. (er && Qa(er.resolve()) != ne) ||
  3401. (tr && Qa(new tr()) != ae) ||
  3402. (rr && Qa(new rr()) != ue)) &&
  3403. (Qa = function (e) {
  3404. var t = Mi(e),
  3405. r = t == re ? e.constructor : o,
  3406. n = r ? js(r) : ""
  3407. if (n)
  3408. switch (n) {
  3409. case cr:
  3410. return de
  3411. case fr:
  3412. return $
  3413. case pr:
  3414. return ne
  3415. case jr:
  3416. return ae
  3417. case Rr:
  3418. return ue
  3419. }
  3420. return t
  3421. })
  3422. var ps = ct ? xu : Kp
  3423. function ds(e) {
  3424. var t = e && e.constructor,
  3425. r = ("function" == typeof t && t.prototype) || lt
  3426. return e === r
  3427. }
  3428. function hs(e) {
  3429. return e === e && !Tu(e)
  3430. }
  3431. function ms(e, t) {
  3432. return function (r) {
  3433. return null != r && r[e] === t && (t !== o || e in rt(r))
  3434. }
  3435. }
  3436. function gs(e) {
  3437. var t = Uc(e, function (e) {
  3438. return r.size === p && r.clear(), e
  3439. }),
  3440. r = t.cache
  3441. return t
  3442. }
  3443. function ys(e, t) {
  3444. var r = e[1],
  3445. n = t[1],
  3446. i = r | n,
  3447. o = i < (b | w | S),
  3448. a = (n == S && r == A) || (n == S && r == C && e[7].length <= t[8]) || (n == (S | C) && t[7].length <= t[8] && r == A)
  3449. if (!o && !a) return e
  3450. n & b && ((e[2] = t[2]), (i |= r & b ? 0 : x))
  3451. var s = t[3]
  3452. if (s) {
  3453. var l = e[3]
  3454. ;(e[3] = l ? ra(l, s, t[4]) : s), (e[4] = l ? fn(e[3], d) : t[4])
  3455. }
  3456. return (
  3457. (s = t[5]),
  3458. s && ((l = e[5]), (e[5] = l ? na(l, s, t[6]) : s), (e[6] = l ? fn(e[5], d) : t[6])),
  3459. (s = t[7]),
  3460. s && (e[7] = s),
  3461. n & S && (e[8] = null == e[8] ? t[8] : zt(e[8], t[8])),
  3462. null == e[9] && (e[9] = t[9]),
  3463. (e[0] = t[0]),
  3464. (e[1] = i),
  3465. e
  3466. )
  3467. }
  3468. function vs(e) {
  3469. var t = []
  3470. if (null != e) for (var r in rt(e)) t.push(r)
  3471. return t
  3472. }
  3473. function bs(e) {
  3474. return ht.call(e)
  3475. }
  3476. function ws(e, t, n) {
  3477. return (
  3478. (t = Ut(t === o ? e.length - 1 : t, 0)),
  3479. function () {
  3480. var i = arguments,
  3481. o = -1,
  3482. a = Ut(i.length - t, 0),
  3483. s = r(a)
  3484. while (++o < a) s[o] = i[t + o]
  3485. o = -1
  3486. var l = r(t + 1)
  3487. while (++o < t) l[o] = i[o]
  3488. return (l[t] = n(s)), br(e, this, l)
  3489. }
  3490. )
  3491. }
  3492. function xs(e, t) {
  3493. return t.length < 2 ? e : Ii(e, ko(t, 0, -1))
  3494. }
  3495. function As(e, t) {
  3496. var r = e.length,
  3497. n = zt(t.length, r),
  3498. i = ia(e)
  3499. while (n--) {
  3500. var a = t[n]
  3501. e[n] = as(a, r) ? i[a] : o
  3502. }
  3503. return e
  3504. }
  3505. function _s(e, t) {
  3506. if (("constructor" !== t || "function" !== typeof e[t]) && "__proto__" != t) return e[t]
  3507. }
  3508. var Ts = ks(Eo),
  3509. Es =
  3510. jt ||
  3511. function (e, t) {
  3512. return sr.setTimeout(e, t)
  3513. },
  3514. Ss = ks(So)
  3515. function Cs(e, t, r) {
  3516. var n = t + ""
  3517. return Ss(e, is(n, Rs($a(n), r)))
  3518. }
  3519. function ks(e) {
  3520. var t = 0,
  3521. r = 0
  3522. return function () {
  3523. var n = qt(),
  3524. i = j - (n - r)
  3525. if (((r = n), i > 0)) {
  3526. if (++t >= O) return arguments[0]
  3527. } else t = 0
  3528. return e.apply(o, arguments)
  3529. }
  3530. }
  3531. function Ls(e, t) {
  3532. var r = -1,
  3533. n = e.length,
  3534. i = n - 1
  3535. t = t === o ? n : t
  3536. while (++r < t) {
  3537. var a = vo(r, i),
  3538. s = e[a]
  3539. ;(e[a] = e[r]), (e[r] = s)
  3540. }
  3541. return (e.length = t), e
  3542. }
  3543. var Ps = gs(function (e) {
  3544. var t = []
  3545. return (
  3546. 46 === e.charCodeAt(0) && t.push(""),
  3547. e.replace(Ne, function (e, r, n, i) {
  3548. t.push(n ? i.replace(Ve, "$1") : r || e)
  3549. }),
  3550. t
  3551. )
  3552. })
  3553. function Os(e) {
  3554. if ("string" == typeof e || Fu(e)) return e
  3555. var t = e + ""
  3556. return "0" == t && 1 / e == -M ? "-0" : t
  3557. }
  3558. function js(e) {
  3559. if (null != e) {
  3560. try {
  3561. return ut.call(e)
  3562. } catch (t) {}
  3563. try {
  3564. return e + ""
  3565. } catch (t) {}
  3566. }
  3567. return ""
  3568. }
  3569. function Rs(e, t) {
  3570. return (
  3571. xr(G, function (r) {
  3572. var n = "_." + r[0]
  3573. t & r[1] && !Er(e, n) && e.push(n)
  3574. }),
  3575. e.sort()
  3576. )
  3577. }
  3578. function Is(e) {
  3579. if (e instanceof Cn) return e.clone()
  3580. var t = new Sn(e.__wrapped__, e.__chain__)
  3581. return (t.__actions__ = ia(e.__actions__)), (t.__index__ = e.__index__), (t.__values__ = e.__values__), t
  3582. }
  3583. function Ns(e, t, n) {
  3584. t = (n ? ss(e, t, n) : t === o) ? 1 : Ut(Yu(t), 0)
  3585. var i = null == e ? 0 : e.length
  3586. if (!i || t < 1) return []
  3587. var a = 0,
  3588. s = 0,
  3589. l = r(Rt(i / t))
  3590. while (a < i) l[s++] = ko(e, a, (a += t))
  3591. return l
  3592. }
  3593. function Ms(e) {
  3594. var t = -1,
  3595. r = null == e ? 0 : e.length,
  3596. n = 0,
  3597. i = []
  3598. while (++t < r) {
  3599. var o = e[t]
  3600. o && (i[n++] = o)
  3601. }
  3602. return i
  3603. }
  3604. function Ds() {
  3605. var e = arguments.length
  3606. if (!e) return []
  3607. var t = r(e - 1),
  3608. n = arguments[0],
  3609. i = e
  3610. while (i--) t[i - 1] = arguments[i]
  3611. return kr(lu(n) ? ia(n) : [n], ki(t, 1))
  3612. }
  3613. var Bs = xo(function (e, t) {
  3614. return fu(e) ? xi(e, ki(t, 1, fu, !0)) : []
  3615. }),
  3616. Fs = xo(function (e, t) {
  3617. var r = ol(t)
  3618. return fu(r) && (r = o), fu(e) ? xi(e, ki(t, 1, fu, !0), Wa(r, 2)) : []
  3619. }),
  3620. Us = xo(function (e, t) {
  3621. var r = ol(t)
  3622. return fu(r) && (r = o), fu(e) ? xi(e, ki(t, 1, fu, !0), o, r) : []
  3623. })
  3624. function zs(e, t, r) {
  3625. var n = null == e ? 0 : e.length
  3626. return n ? ((t = r || t === o ? 1 : Yu(t)), ko(e, t < 0 ? 0 : t, n)) : []
  3627. }
  3628. function qs(e, t, r) {
  3629. var n = null == e ? 0 : e.length
  3630. return n ? ((t = r || t === o ? 1 : Yu(t)), (t = n - t), ko(e, 0, t < 0 ? 0 : t)) : []
  3631. }
  3632. function Gs(e, t) {
  3633. return e && e.length ? Bo(e, Wa(t, 3), !0, !0) : []
  3634. }
  3635. function Ws(e, t) {
  3636. return e && e.length ? Bo(e, Wa(t, 3), !0) : []
  3637. }
  3638. function Vs(e, t, r, n) {
  3639. var i = null == e ? 0 : e.length
  3640. return i ? (r && "number" != typeof r && ss(e, t, r) && ((r = 0), (n = i)), Si(e, t, r, n)) : []
  3641. }
  3642. function Hs(e, t, r) {
  3643. var n = null == e ? 0 : e.length
  3644. if (!n) return -1
  3645. var i = null == r ? 0 : Yu(r)
  3646. return i < 0 && (i = Ut(n + i, 0)), Mr(e, Wa(t, 3), i)
  3647. }
  3648. function Xs(e, t, r) {
  3649. var n = null == e ? 0 : e.length
  3650. if (!n) return -1
  3651. var i = n - 1
  3652. return r !== o && ((i = Yu(r)), (i = r < 0 ? Ut(n + i, 0) : zt(i, n - 1))), Mr(e, Wa(t, 3), i, !0)
  3653. }
  3654. function Ys(e) {
  3655. var t = null == e ? 0 : e.length
  3656. return t ? ki(e, 1) : []
  3657. }
  3658. function Ks(e) {
  3659. var t = null == e ? 0 : e.length
  3660. return t ? ki(e, M) : []
  3661. }
  3662. function Zs(e, t) {
  3663. var r = null == e ? 0 : e.length
  3664. return r ? ((t = t === o ? 1 : Yu(t)), ki(e, t)) : []
  3665. }
  3666. function Qs(e) {
  3667. var t = -1,
  3668. r = null == e ? 0 : e.length,
  3669. n = {}
  3670. while (++t < r) {
  3671. var i = e[t]
  3672. n[i[0]] = i[1]
  3673. }
  3674. return n
  3675. }
  3676. function Js(e) {
  3677. return e && e.length ? e[0] : o
  3678. }
  3679. function $s(e, t, r) {
  3680. var n = null == e ? 0 : e.length
  3681. if (!n) return -1
  3682. var i = null == r ? 0 : Yu(r)
  3683. return i < 0 && (i = Ut(n + i, 0)), Dr(e, t, i)
  3684. }
  3685. function el(e) {
  3686. var t = null == e ? 0 : e.length
  3687. return t ? ko(e, 0, -1) : []
  3688. }
  3689. var tl = xo(function (e) {
  3690. var t = Cr(e, qo)
  3691. return t.length && t[0] === e[0] ? zi(t) : []
  3692. }),
  3693. rl = xo(function (e) {
  3694. var t = ol(e),
  3695. r = Cr(e, qo)
  3696. return t === ol(r) ? (t = o) : r.pop(), r.length && r[0] === e[0] ? zi(r, Wa(t, 2)) : []
  3697. }),
  3698. nl = xo(function (e) {
  3699. var t = ol(e),
  3700. r = Cr(e, qo)
  3701. return (t = "function" == typeof t ? t : o), t && r.pop(), r.length && r[0] === e[0] ? zi(r, o, t) : []
  3702. })
  3703. function il(e, t) {
  3704. return null == e ? "" : Bt.call(e, t)
  3705. }
  3706. function ol(e) {
  3707. var t = null == e ? 0 : e.length
  3708. return t ? e[t - 1] : o
  3709. }
  3710. function al(e, t, r) {
  3711. var n = null == e ? 0 : e.length
  3712. if (!n) return -1
  3713. var i = n
  3714. return r !== o && ((i = Yu(r)), (i = i < 0 ? Ut(n + i, 0) : zt(i, n - 1))), t === t ? mn(e, t, i) : Mr(e, Fr, i, !0)
  3715. }
  3716. function sl(e, t) {
  3717. return e && e.length ? uo(e, Yu(t)) : o
  3718. }
  3719. var ll = xo(cl)
  3720. function cl(e, t) {
  3721. return e && e.length && t && t.length ? go(e, t) : e
  3722. }
  3723. function ul(e, t, r) {
  3724. return e && e.length && t && t.length ? go(e, t, Wa(r, 2)) : e
  3725. }
  3726. function fl(e, t, r) {
  3727. return e && e.length && t && t.length ? go(e, t, o, r) : e
  3728. }
  3729. var pl = Ba(function (e, t) {
  3730. var r = null == e ? 0 : e.length,
  3731. n = mi(e, t)
  3732. return (
  3733. yo(
  3734. e,
  3735. Cr(t, function (e) {
  3736. return as(e, r) ? +e : e
  3737. }).sort(ea)
  3738. ),
  3739. n
  3740. )
  3741. })
  3742. function dl(e, t) {
  3743. var r = []
  3744. if (!e || !e.length) return r
  3745. var n = -1,
  3746. i = [],
  3747. o = e.length
  3748. t = Wa(t, 3)
  3749. while (++n < o) {
  3750. var a = e[n]
  3751. t(a, n, e) && (r.push(a), i.push(n))
  3752. }
  3753. return yo(e, i), r
  3754. }
  3755. function hl(e) {
  3756. return null == e ? e : Xt.call(e)
  3757. }
  3758. function ml(e, t, r) {
  3759. var n = null == e ? 0 : e.length
  3760. return n
  3761. ? (r && "number" != typeof r && ss(e, t, r) ? ((t = 0), (r = n)) : ((t = null == t ? 0 : Yu(t)), (r = r === o ? n : Yu(r))),
  3762. ko(e, t, r))
  3763. : []
  3764. }
  3765. function gl(e, t) {
  3766. return Po(e, t)
  3767. }
  3768. function yl(e, t, r) {
  3769. return Oo(e, t, Wa(r, 2))
  3770. }
  3771. function vl(e, t) {
  3772. var r = null == e ? 0 : e.length
  3773. if (r) {
  3774. var n = Po(e, t)
  3775. if (n < r && iu(e[n], t)) return n
  3776. }
  3777. return -1
  3778. }
  3779. function bl(e, t) {
  3780. return Po(e, t, !0)
  3781. }
  3782. function wl(e, t, r) {
  3783. return Oo(e, t, Wa(r, 2), !0)
  3784. }
  3785. function xl(e, t) {
  3786. var r = null == e ? 0 : e.length
  3787. if (r) {
  3788. var n = Po(e, t, !0) - 1
  3789. if (iu(e[n], t)) return n
  3790. }
  3791. return -1
  3792. }
  3793. function Al(e) {
  3794. return e && e.length ? jo(e) : []
  3795. }
  3796. function _l(e, t) {
  3797. return e && e.length ? jo(e, Wa(t, 2)) : []
  3798. }
  3799. function Tl(e) {
  3800. var t = null == e ? 0 : e.length
  3801. return t ? ko(e, 1, t) : []
  3802. }
  3803. function El(e, t, r) {
  3804. return e && e.length ? ((t = r || t === o ? 1 : Yu(t)), ko(e, 0, t < 0 ? 0 : t)) : []
  3805. }
  3806. function Sl(e, t, r) {
  3807. var n = null == e ? 0 : e.length
  3808. return n ? ((t = r || t === o ? 1 : Yu(t)), (t = n - t), ko(e, t < 0 ? 0 : t, n)) : []
  3809. }
  3810. function Cl(e, t) {
  3811. return e && e.length ? Bo(e, Wa(t, 3), !1, !0) : []
  3812. }
  3813. function kl(e, t) {
  3814. return e && e.length ? Bo(e, Wa(t, 3)) : []
  3815. }
  3816. var Ll = xo(function (e) {
  3817. return No(ki(e, 1, fu, !0))
  3818. }),
  3819. Pl = xo(function (e) {
  3820. var t = ol(e)
  3821. return fu(t) && (t = o), No(ki(e, 1, fu, !0), Wa(t, 2))
  3822. }),
  3823. Ol = xo(function (e) {
  3824. var t = ol(e)
  3825. return (t = "function" == typeof t ? t : o), No(ki(e, 1, fu, !0), o, t)
  3826. })
  3827. function jl(e) {
  3828. return e && e.length ? No(e) : []
  3829. }
  3830. function Rl(e, t) {
  3831. return e && e.length ? No(e, Wa(t, 2)) : []
  3832. }
  3833. function Il(e, t) {
  3834. return (t = "function" == typeof t ? t : o), e && e.length ? No(e, o, t) : []
  3835. }
  3836. function Nl(e) {
  3837. if (!e || !e.length) return []
  3838. var t = 0
  3839. return (
  3840. (e = Tr(e, function (e) {
  3841. if (fu(e)) return (t = Ut(e.length, t)), !0
  3842. })),
  3843. Hr(t, function (t) {
  3844. return Cr(e, zr(t))
  3845. })
  3846. )
  3847. }
  3848. function Ml(e, t) {
  3849. if (!e || !e.length) return []
  3850. var r = Nl(e)
  3851. return null == t
  3852. ? r
  3853. : Cr(r, function (e) {
  3854. return br(t, o, e)
  3855. })
  3856. }
  3857. var Dl = xo(function (e, t) {
  3858. return fu(e) ? xi(e, t) : []
  3859. }),
  3860. Bl = xo(function (e) {
  3861. return Uo(Tr(e, fu))
  3862. }),
  3863. Fl = xo(function (e) {
  3864. var t = ol(e)
  3865. return fu(t) && (t = o), Uo(Tr(e, fu), Wa(t, 2))
  3866. }),
  3867. Ul = xo(function (e) {
  3868. var t = ol(e)
  3869. return (t = "function" == typeof t ? t : o), Uo(Tr(e, fu), o, t)
  3870. }),
  3871. zl = xo(Nl)
  3872. function ql(e, t) {
  3873. return zo(e || [], t || [], ci)
  3874. }
  3875. function Gl(e, t) {
  3876. return zo(e || [], t || [], To)
  3877. }
  3878. var Wl = xo(function (e) {
  3879. var t = e.length,
  3880. r = t > 1 ? e[t - 1] : o
  3881. return (r = "function" == typeof r ? (e.pop(), r) : o), Ml(e, r)
  3882. })
  3883. function Vl(e) {
  3884. var t = xn(e)
  3885. return (t.__chain__ = !0), t
  3886. }
  3887. function Hl(e, t) {
  3888. return t(e), e
  3889. }
  3890. function Xl(e, t) {
  3891. return t(e)
  3892. }
  3893. var Yl = Ba(function (e) {
  3894. var t = e.length,
  3895. r = t ? e[0] : 0,
  3896. n = this.__wrapped__,
  3897. i = function (t) {
  3898. return mi(t, e)
  3899. }
  3900. return !(t > 1 || this.__actions__.length) && n instanceof Cn && as(r)
  3901. ? ((n = n.slice(r, +r + (t ? 1 : 0))),
  3902. n.__actions__.push({
  3903. func: Xl,
  3904. args: [i],
  3905. thisArg: o
  3906. }),
  3907. new Sn(n, this.__chain__).thru(function (e) {
  3908. return t && !e.length && e.push(o), e
  3909. }))
  3910. : this.thru(i)
  3911. })
  3912. function Kl() {
  3913. return Vl(this)
  3914. }
  3915. function Zl() {
  3916. return new Sn(this.value(), this.__chain__)
  3917. }
  3918. function Ql() {
  3919. this.__values__ === o && (this.__values__ = Hu(this.value()))
  3920. var e = this.__index__ >= this.__values__.length,
  3921. t = e ? o : this.__values__[this.__index__++]
  3922. return {
  3923. done: e,
  3924. value: t
  3925. }
  3926. }
  3927. function Jl() {
  3928. return this
  3929. }
  3930. function $l(e) {
  3931. var t,
  3932. r = this
  3933. while (r instanceof En) {
  3934. var n = Is(r)
  3935. ;(n.__index__ = 0), (n.__values__ = o), t ? (i.__wrapped__ = n) : (t = n)
  3936. var i = n
  3937. r = r.__wrapped__
  3938. }
  3939. return (i.__wrapped__ = e), t
  3940. }
  3941. function ec() {
  3942. var e = this.__wrapped__
  3943. if (e instanceof Cn) {
  3944. var t = e
  3945. return (
  3946. this.__actions__.length && (t = new Cn(this)),
  3947. (t = t.reverse()),
  3948. t.__actions__.push({
  3949. func: Xl,
  3950. args: [hl],
  3951. thisArg: o
  3952. }),
  3953. new Sn(t, this.__chain__)
  3954. )
  3955. }
  3956. return this.thru(hl)
  3957. }
  3958. function tc() {
  3959. return Fo(this.__wrapped__, this.__actions__)
  3960. }
  3961. var rc = la(function (e, t, r) {
  3962. ft.call(e, r) ? ++e[r] : hi(e, r, 1)
  3963. })
  3964. function nc(e, t, r) {
  3965. var n = lu(e) ? _r : Ti
  3966. return r && ss(e, t, r) && (t = o), n(e, Wa(t, 3))
  3967. }
  3968. function ic(e, t) {
  3969. var r = lu(e) ? Tr : Ci
  3970. return r(e, Wa(t, 3))
  3971. }
  3972. var oc = ya(Hs),
  3973. ac = ya(Xs)
  3974. function sc(e, t) {
  3975. return ki(gc(e, t), 1)
  3976. }
  3977. function lc(e, t) {
  3978. return ki(gc(e, t), M)
  3979. }
  3980. function cc(e, t, r) {
  3981. return (r = r === o ? 1 : Yu(r)), ki(gc(e, t), r)
  3982. }
  3983. function uc(e, t) {
  3984. var r = lu(e) ? xr : Ai
  3985. return r(e, Wa(t, 3))
  3986. }
  3987. function fc(e, t) {
  3988. var r = lu(e) ? Ar : _i
  3989. return r(e, Wa(t, 3))
  3990. }
  3991. var pc = la(function (e, t, r) {
  3992. ft.call(e, r) ? e[r].push(t) : hi(e, r, [t])
  3993. })
  3994. function dc(e, t, r, n) {
  3995. ;(e = uu(e) ? e : qf(e)), (r = r && !n ? Yu(r) : 0)
  3996. var i = e.length
  3997. return r < 0 && (r = Ut(i + r, 0)), Bu(e) ? r <= i && e.indexOf(t, r) > -1 : !!i && Dr(e, t, r) > -1
  3998. }
  3999. var hc = xo(function (e, t, n) {
  4000. var i = -1,
  4001. o = "function" == typeof t,
  4002. a = uu(e) ? r(e.length) : []
  4003. return (
  4004. Ai(e, function (e) {
  4005. a[++i] = o ? br(t, e, n) : Gi(e, t, n)
  4006. }),
  4007. a
  4008. )
  4009. }),
  4010. mc = la(function (e, t, r) {
  4011. hi(e, r, t)
  4012. })
  4013. function gc(e, t) {
  4014. var r = lu(e) ? Cr : oo
  4015. return r(e, Wa(t, 3))
  4016. }
  4017. function yc(e, t, r, n) {
  4018. return null == e ? [] : (lu(t) || (t = null == t ? [] : [t]), (r = n ? o : r), lu(r) || (r = null == r ? [] : [r]), fo(e, t, r))
  4019. }
  4020. var vc = la(
  4021. function (e, t, r) {
  4022. e[r ? 0 : 1].push(t)
  4023. },
  4024. function () {
  4025. return [[], []]
  4026. }
  4027. )
  4028. function bc(e, t, r) {
  4029. var n = lu(e) ? Lr : Gr,
  4030. i = arguments.length < 3
  4031. return n(e, Wa(t, 4), r, i, Ai)
  4032. }
  4033. function wc(e, t, r) {
  4034. var n = lu(e) ? Pr : Gr,
  4035. i = arguments.length < 3
  4036. return n(e, Wa(t, 4), r, i, _i)
  4037. }
  4038. function xc(e, t) {
  4039. var r = lu(e) ? Tr : Ci
  4040. return r(e, zc(Wa(t, 3)))
  4041. }
  4042. function Ac(e) {
  4043. var t = lu(e) ? oi : Ao
  4044. return t(e)
  4045. }
  4046. function _c(e, t, r) {
  4047. t = (r ? ss(e, t, r) : t === o) ? 1 : Yu(t)
  4048. var n = lu(e) ? ai : _o
  4049. return n(e, t)
  4050. }
  4051. function Tc(e) {
  4052. var t = lu(e) ? si : Co
  4053. return t(e)
  4054. }
  4055. function Ec(e) {
  4056. if (null == e) return 0
  4057. if (uu(e)) return Bu(e) ? gn(e) : e.length
  4058. var t = Qa(e)
  4059. return t == $ || t == ae ? e.size : ro(e).length
  4060. }
  4061. function Sc(e, t, r) {
  4062. var n = lu(e) ? Or : Lo
  4063. return r && ss(e, t, r) && (t = o), n(e, Wa(t, 3))
  4064. }
  4065. var Cc = xo(function (e, t) {
  4066. if (null == e) return []
  4067. var r = t.length
  4068. return r > 1 && ss(e, t[0], t[1]) ? (t = []) : r > 2 && ss(t[0], t[1], t[2]) && (t = [t[0]]), fo(e, ki(t, 1), [])
  4069. }),
  4070. kc =
  4071. Ot ||
  4072. function () {
  4073. return sr.Date.now()
  4074. }
  4075. function Lc(e, t) {
  4076. if ("function" != typeof t) throw new ot(c)
  4077. return (
  4078. (e = Yu(e)),
  4079. function () {
  4080. if (--e < 1) return t.apply(this, arguments)
  4081. }
  4082. )
  4083. }
  4084. function Pc(e, t, r) {
  4085. return (t = r ? o : t), (t = e && null == t ? e.length : t), Oa(e, S, o, o, o, o, t)
  4086. }
  4087. function Oc(e, t) {
  4088. var r
  4089. if ("function" != typeof t) throw new ot(c)
  4090. return (
  4091. (e = Yu(e)),
  4092. function () {
  4093. return --e > 0 && (r = t.apply(this, arguments)), e <= 1 && (t = o), r
  4094. }
  4095. )
  4096. }
  4097. var jc = xo(function (e, t, r) {
  4098. var n = b
  4099. if (r.length) {
  4100. var i = fn(r, Ga(jc))
  4101. n |= T
  4102. }
  4103. return Oa(e, n, t, r, i)
  4104. }),
  4105. Rc = xo(function (e, t, r) {
  4106. var n = b | w
  4107. if (r.length) {
  4108. var i = fn(r, Ga(Rc))
  4109. n |= T
  4110. }
  4111. return Oa(t, n, e, r, i)
  4112. })
  4113. function Ic(e, t, r) {
  4114. t = r ? o : t
  4115. var n = Oa(e, A, o, o, o, o, o, t)
  4116. return (n.placeholder = Ic.placeholder), n
  4117. }
  4118. function Nc(e, t, r) {
  4119. t = r ? o : t
  4120. var n = Oa(e, _, o, o, o, o, o, t)
  4121. return (n.placeholder = Nc.placeholder), n
  4122. }
  4123. function Mc(e, t, r) {
  4124. var n,
  4125. i,
  4126. a,
  4127. s,
  4128. l,
  4129. u,
  4130. f = 0,
  4131. p = !1,
  4132. d = !1,
  4133. h = !0
  4134. if ("function" != typeof e) throw new ot(c)
  4135. function m(t) {
  4136. var r = n,
  4137. a = i
  4138. return (n = i = o), (f = t), (s = e.apply(a, r)), s
  4139. }
  4140. function g(e) {
  4141. return (f = e), (l = Es(b, t)), p ? m(e) : s
  4142. }
  4143. function y(e) {
  4144. var r = e - u,
  4145. n = e - f,
  4146. i = t - r
  4147. return d ? zt(i, a - n) : i
  4148. }
  4149. function v(e) {
  4150. var r = e - u,
  4151. n = e - f
  4152. return u === o || r >= t || r < 0 || (d && n >= a)
  4153. }
  4154. function b() {
  4155. var e = kc()
  4156. if (v(e)) return w(e)
  4157. l = Es(b, y(e))
  4158. }
  4159. function w(e) {
  4160. return (l = o), h && n ? m(e) : ((n = i = o), s)
  4161. }
  4162. function x() {
  4163. l !== o && Xo(l), (f = 0), (n = u = i = l = o)
  4164. }
  4165. function A() {
  4166. return l === o ? s : w(kc())
  4167. }
  4168. function _() {
  4169. var e = kc(),
  4170. r = v(e)
  4171. if (((n = arguments), (i = this), (u = e), r)) {
  4172. if (l === o) return g(u)
  4173. if (d) return Xo(l), (l = Es(b, t)), m(u)
  4174. }
  4175. return l === o && (l = Es(b, t)), s
  4176. }
  4177. return (
  4178. (t = Zu(t) || 0),
  4179. Tu(r) &&
  4180. ((p = !!r.leading),
  4181. (d = "maxWait" in r),
  4182. (a = d ? Ut(Zu(r.maxWait) || 0, t) : a),
  4183. (h = "trailing" in r ? !!r.trailing : h)),
  4184. (_.cancel = x),
  4185. (_.flush = A),
  4186. _
  4187. )
  4188. }
  4189. var Dc = xo(function (e, t) {
  4190. return wi(e, 1, t)
  4191. }),
  4192. Bc = xo(function (e, t, r) {
  4193. return wi(e, Zu(t) || 0, r)
  4194. })
  4195. function Fc(e) {
  4196. return Oa(e, k)
  4197. }
  4198. function Uc(e, t) {
  4199. if ("function" != typeof e || (null != t && "function" != typeof t)) throw new ot(c)
  4200. var r = function () {
  4201. var n = arguments,
  4202. i = t ? t.apply(this, n) : n[0],
  4203. o = r.cache
  4204. if (o.has(i)) return o.get(i)
  4205. var a = e.apply(this, n)
  4206. return (r.cache = o.set(i, a) || o), a
  4207. }
  4208. return (r.cache = new (Uc.Cache || Gn)()), r
  4209. }
  4210. function zc(e) {
  4211. if ("function" != typeof e) throw new ot(c)
  4212. return function () {
  4213. var t = arguments
  4214. switch (t.length) {
  4215. case 0:
  4216. return !e.call(this)
  4217. case 1:
  4218. return !e.call(this, t[0])
  4219. case 2:
  4220. return !e.call(this, t[0], t[1])
  4221. case 3:
  4222. return !e.call(this, t[0], t[1], t[2])
  4223. }
  4224. return !e.apply(this, t)
  4225. }
  4226. }
  4227. function qc(e) {
  4228. return Oc(2, e)
  4229. }
  4230. Uc.Cache = Gn
  4231. var Gc = Vo(function (e, t) {
  4232. t = 1 == t.length && lu(t[0]) ? Cr(t[0], Kr(Wa())) : Cr(ki(t, 1), Kr(Wa()))
  4233. var r = t.length
  4234. return xo(function (n) {
  4235. var i = -1,
  4236. o = zt(n.length, r)
  4237. while (++i < o) n[i] = t[i].call(this, n[i])
  4238. return br(e, this, n)
  4239. })
  4240. }),
  4241. Wc = xo(function (e, t) {
  4242. var r = fn(t, Ga(Wc))
  4243. return Oa(e, T, o, t, r)
  4244. }),
  4245. Vc = xo(function (e, t) {
  4246. var r = fn(t, Ga(Vc))
  4247. return Oa(e, E, o, t, r)
  4248. }),
  4249. Hc = Ba(function (e, t) {
  4250. return Oa(e, C, o, o, o, t)
  4251. })
  4252. function Xc(e, t) {
  4253. if ("function" != typeof e) throw new ot(c)
  4254. return (t = t === o ? t : Yu(t)), xo(e, t)
  4255. }
  4256. function Yc(e, t) {
  4257. if ("function" != typeof e) throw new ot(c)
  4258. return (
  4259. (t = null == t ? 0 : Ut(Yu(t), 0)),
  4260. xo(function (r) {
  4261. var n = r[t],
  4262. i = Ho(r, 0, t)
  4263. return n && kr(i, n), br(e, this, i)
  4264. })
  4265. )
  4266. }
  4267. function Kc(e, t, r) {
  4268. var n = !0,
  4269. i = !0
  4270. if ("function" != typeof e) throw new ot(c)
  4271. return (
  4272. Tu(r) && ((n = "leading" in r ? !!r.leading : n), (i = "trailing" in r ? !!r.trailing : i)),
  4273. Mc(e, t, {
  4274. leading: n,
  4275. maxWait: t,
  4276. trailing: i
  4277. })
  4278. )
  4279. }
  4280. function Zc(e) {
  4281. return Pc(e, 1)
  4282. }
  4283. function Qc(e, t) {
  4284. return Wc(Go(t), e)
  4285. }
  4286. function Jc() {
  4287. if (!arguments.length) return []
  4288. var e = arguments[0]
  4289. return lu(e) ? e : [e]
  4290. }
  4291. function $c(e) {
  4292. return yi(e, g)
  4293. }
  4294. function eu(e, t) {
  4295. return (t = "function" == typeof t ? t : o), yi(e, g, t)
  4296. }
  4297. function tu(e) {
  4298. return yi(e, h | g)
  4299. }
  4300. function ru(e, t) {
  4301. return (t = "function" == typeof t ? t : o), yi(e, h | g, t)
  4302. }
  4303. function nu(e, t) {
  4304. return null == t || bi(e, t, _f(t))
  4305. }
  4306. function iu(e, t) {
  4307. return e === t || (e !== e && t !== t)
  4308. }
  4309. var ou = Sa(Di),
  4310. au = Sa(function (e, t) {
  4311. return e >= t
  4312. }),
  4313. su = Wi(
  4314. (function () {
  4315. return arguments
  4316. })()
  4317. )
  4318. ? Wi
  4319. : function (e) {
  4320. return Eu(e) && ft.call(e, "callee") && !Tt.call(e, "callee")
  4321. },
  4322. lu = r.isArray,
  4323. cu = dr ? Kr(dr) : Vi
  4324. function uu(e) {
  4325. return null != e && _u(e.length) && !xu(e)
  4326. }
  4327. function fu(e) {
  4328. return Eu(e) && uu(e)
  4329. }
  4330. function pu(e) {
  4331. return !0 === e || !1 === e || (Eu(e) && Mi(e) == X)
  4332. }
  4333. var du = Mt || Kp,
  4334. hu = hr ? Kr(hr) : Hi
  4335. function mu(e) {
  4336. return Eu(e) && 1 === e.nodeType && !Iu(e)
  4337. }
  4338. function gu(e) {
  4339. if (null == e) return !0
  4340. if (uu(e) && (lu(e) || "string" == typeof e || "function" == typeof e.splice || du(e) || Uu(e) || su(e))) return !e.length
  4341. var t = Qa(e)
  4342. if (t == $ || t == ae) return !e.size
  4343. if (ds(e)) return !ro(e).length
  4344. for (var r in e) if (ft.call(e, r)) return !1
  4345. return !0
  4346. }
  4347. function yu(e, t) {
  4348. return Xi(e, t)
  4349. }
  4350. function vu(e, t, r) {
  4351. r = "function" == typeof r ? r : o
  4352. var n = r ? r(e, t) : o
  4353. return n === o ? Xi(e, t, o, r) : !!n
  4354. }
  4355. function bu(e) {
  4356. if (!Eu(e)) return !1
  4357. var t = Mi(e)
  4358. return t == Z || t == K || ("string" == typeof e.message && "string" == typeof e.name && !Iu(e))
  4359. }
  4360. function wu(e) {
  4361. return "number" == typeof e && Dt(e)
  4362. }
  4363. function xu(e) {
  4364. if (!Tu(e)) return !1
  4365. var t = Mi(e)
  4366. return t == Q || t == J || t == H || t == ie
  4367. }
  4368. function Au(e) {
  4369. return "number" == typeof e && e == Yu(e)
  4370. }
  4371. function _u(e) {
  4372. return "number" == typeof e && e > -1 && e % 1 == 0 && e <= D
  4373. }
  4374. function Tu(e) {
  4375. var t = typeof e
  4376. return null != e && ("object" == t || "function" == t)
  4377. }
  4378. function Eu(e) {
  4379. return null != e && "object" == typeof e
  4380. }
  4381. var Su = mr ? Kr(mr) : Ki
  4382. function Cu(e, t) {
  4383. return e === t || Zi(e, t, Ha(t))
  4384. }
  4385. function ku(e, t, r) {
  4386. return (r = "function" == typeof r ? r : o), Zi(e, t, Ha(t), r)
  4387. }
  4388. function Lu(e) {
  4389. return Ru(e) && e != +e
  4390. }
  4391. function Pu(e) {
  4392. if (ps(e)) throw new i(l)
  4393. return Qi(e)
  4394. }
  4395. function Ou(e) {
  4396. return null === e
  4397. }
  4398. function ju(e) {
  4399. return null == e
  4400. }
  4401. function Ru(e) {
  4402. return "number" == typeof e || (Eu(e) && Mi(e) == ee)
  4403. }
  4404. function Iu(e) {
  4405. if (!Eu(e) || Mi(e) != re) return !1
  4406. var t = At(e)
  4407. if (null === t) return !0
  4408. var r = ft.call(t, "constructor") && t.constructor
  4409. return "function" == typeof r && r instanceof r && ut.call(r) == mt
  4410. }
  4411. var Nu = gr ? Kr(gr) : Ji
  4412. function Mu(e) {
  4413. return Au(e) && e >= -D && e <= D
  4414. }
  4415. var Du = yr ? Kr(yr) : $i
  4416. function Bu(e) {
  4417. return "string" == typeof e || (!lu(e) && Eu(e) && Mi(e) == se)
  4418. }
  4419. function Fu(e) {
  4420. return "symbol" == typeof e || (Eu(e) && Mi(e) == le)
  4421. }
  4422. var Uu = vr ? Kr(vr) : eo
  4423. function zu(e) {
  4424. return e === o
  4425. }
  4426. function qu(e) {
  4427. return Eu(e) && Qa(e) == ue
  4428. }
  4429. function Gu(e) {
  4430. return Eu(e) && Mi(e) == fe
  4431. }
  4432. var Wu = Sa(io),
  4433. Vu = Sa(function (e, t) {
  4434. return e <= t
  4435. })
  4436. function Hu(e) {
  4437. if (!e) return []
  4438. if (uu(e)) return Bu(e) ? yn(e) : ia(e)
  4439. if (Ct && e[Ct]) return ln(e[Ct]())
  4440. var t = Qa(e),
  4441. r = t == $ ? cn : t == ae ? pn : qf
  4442. return r(e)
  4443. }
  4444. function Xu(e) {
  4445. if (!e) return 0 === e ? e : 0
  4446. if (((e = Zu(e)), e === M || e === -M)) {
  4447. var t = e < 0 ? -1 : 1
  4448. return t * B
  4449. }
  4450. return e === e ? e : 0
  4451. }
  4452. function Yu(e) {
  4453. var t = Xu(e),
  4454. r = t % 1
  4455. return t === t ? (r ? t - r : t) : 0
  4456. }
  4457. function Ku(e) {
  4458. return e ? gi(Yu(e), 0, U) : 0
  4459. }
  4460. function Zu(e) {
  4461. if ("number" == typeof e) return e
  4462. if (Fu(e)) return F
  4463. if (Tu(e)) {
  4464. var t = "function" == typeof e.valueOf ? e.valueOf() : e
  4465. e = Tu(t) ? t + "" : t
  4466. }
  4467. if ("string" != typeof e) return 0 === e ? e : +e
  4468. e = Yr(e)
  4469. var r = Ke.test(e)
  4470. return r || Qe.test(e) ? ir(e.slice(2), r ? 2 : 8) : Ye.test(e) ? F : +e
  4471. }
  4472. function Qu(e) {
  4473. return oa(e, Tf(e))
  4474. }
  4475. function Ju(e) {
  4476. return e ? gi(Yu(e), -D, D) : 0 === e ? e : 0
  4477. }
  4478. function $u(e) {
  4479. return null == e ? "" : Io(e)
  4480. }
  4481. var ef = ca(function (e, t) {
  4482. if (ds(t) || uu(t)) oa(t, _f(t), e)
  4483. else for (var r in t) ft.call(t, r) && ci(e, r, t[r])
  4484. }),
  4485. tf = ca(function (e, t) {
  4486. oa(t, Tf(t), e)
  4487. }),
  4488. rf = ca(function (e, t, r, n) {
  4489. oa(t, Tf(t), e, n)
  4490. }),
  4491. nf = ca(function (e, t, r, n) {
  4492. oa(t, _f(t), e, n)
  4493. }),
  4494. of = Ba(mi)
  4495. function af(e, t) {
  4496. var r = _n(e)
  4497. return null == t ? r : pi(r, t)
  4498. }
  4499. var sf = xo(function (e, t) {
  4500. e = rt(e)
  4501. var r = -1,
  4502. n = t.length,
  4503. i = n > 2 ? t[2] : o
  4504. i && ss(t[0], t[1], i) && (n = 1)
  4505. while (++r < n) {
  4506. var a = t[r],
  4507. s = Tf(a),
  4508. l = -1,
  4509. c = s.length
  4510. while (++l < c) {
  4511. var u = s[l],
  4512. f = e[u]
  4513. ;(f === o || (iu(f, lt[u]) && !ft.call(e, u))) && (e[u] = a[u])
  4514. }
  4515. }
  4516. return e
  4517. }),
  4518. lf = xo(function (e) {
  4519. return e.push(o, Ra), br(kf, o, e)
  4520. })
  4521. function cf(e, t) {
  4522. return Nr(e, Wa(t, 3), Oi)
  4523. }
  4524. function uf(e, t) {
  4525. return Nr(e, Wa(t, 3), ji)
  4526. }
  4527. function ff(e, t) {
  4528. return null == e ? e : Li(e, Wa(t, 3), Tf)
  4529. }
  4530. function pf(e, t) {
  4531. return null == e ? e : Pi(e, Wa(t, 3), Tf)
  4532. }
  4533. function df(e, t) {
  4534. return e && Oi(e, Wa(t, 3))
  4535. }
  4536. function hf(e, t) {
  4537. return e && ji(e, Wa(t, 3))
  4538. }
  4539. function mf(e) {
  4540. return null == e ? [] : Ri(e, _f(e))
  4541. }
  4542. function gf(e) {
  4543. return null == e ? [] : Ri(e, Tf(e))
  4544. }
  4545. function yf(e, t, r) {
  4546. var n = null == e ? o : Ii(e, t)
  4547. return n === o ? r : n
  4548. }
  4549. function vf(e, t) {
  4550. return null != e && es(e, t, Bi)
  4551. }
  4552. function bf(e, t) {
  4553. return null != e && es(e, t, Fi)
  4554. }
  4555. var wf = wa(function (e, t, r) {
  4556. null != t && "function" != typeof t.toString && (t = ht.call(t)), (e[t] = r)
  4557. }, Cp(Op)),
  4558. xf = wa(function (e, t, r) {
  4559. null != t && "function" != typeof t.toString && (t = ht.call(t)), ft.call(e, t) ? e[t].push(r) : (e[t] = [r])
  4560. }, Wa),
  4561. Af = xo(Gi)
  4562. function _f(e) {
  4563. return uu(e) ? ii(e) : ro(e)
  4564. }
  4565. function Tf(e) {
  4566. return uu(e) ? ii(e, !0) : no(e)
  4567. }
  4568. function Ef(e, t) {
  4569. var r = {}
  4570. return (
  4571. (t = Wa(t, 3)),
  4572. Oi(e, function (e, n, i) {
  4573. hi(r, t(e, n, i), e)
  4574. }),
  4575. r
  4576. )
  4577. }
  4578. function Sf(e, t) {
  4579. var r = {}
  4580. return (
  4581. (t = Wa(t, 3)),
  4582. Oi(e, function (e, n, i) {
  4583. hi(r, n, t(e, n, i))
  4584. }),
  4585. r
  4586. )
  4587. }
  4588. var Cf = ca(function (e, t, r) {
  4589. lo(e, t, r)
  4590. }),
  4591. kf = ca(function (e, t, r, n) {
  4592. lo(e, t, r, n)
  4593. }),
  4594. Lf = Ba(function (e, t) {
  4595. var r = {}
  4596. if (null == e) return r
  4597. var n = !1
  4598. ;(t = Cr(t, function (t) {
  4599. return (t = Wo(t, e)), n || (n = t.length > 1), t
  4600. })),
  4601. oa(e, Ua(e), r),
  4602. n && (r = yi(r, h | m | g, Ia))
  4603. var i = t.length
  4604. while (i--) Mo(r, t[i])
  4605. return r
  4606. })
  4607. function Pf(e, t) {
  4608. return jf(e, zc(Wa(t)))
  4609. }
  4610. var Of = Ba(function (e, t) {
  4611. return null == e ? {} : po(e, t)
  4612. })
  4613. function jf(e, t) {
  4614. if (null == e) return {}
  4615. var r = Cr(Ua(e), function (e) {
  4616. return [e]
  4617. })
  4618. return (
  4619. (t = Wa(t)),
  4620. ho(e, r, function (e, r) {
  4621. return t(e, r[0])
  4622. })
  4623. )
  4624. }
  4625. function Rf(e, t, r) {
  4626. t = Wo(t, e)
  4627. var n = -1,
  4628. i = t.length
  4629. i || ((i = 1), (e = o))
  4630. while (++n < i) {
  4631. var a = null == e ? o : e[Os(t[n])]
  4632. a === o && ((n = i), (a = r)), (e = xu(a) ? a.call(e) : a)
  4633. }
  4634. return e
  4635. }
  4636. function If(e, t, r) {
  4637. return null == e ? e : To(e, t, r)
  4638. }
  4639. function Nf(e, t, r, n) {
  4640. return (n = "function" == typeof n ? n : o), null == e ? e : To(e, t, r, n)
  4641. }
  4642. var Mf = Pa(_f),
  4643. Df = Pa(Tf)
  4644. function Bf(e, t, r) {
  4645. var n = lu(e),
  4646. i = n || du(e) || Uu(e)
  4647. if (((t = Wa(t, 4)), null == r)) {
  4648. var o = e && e.constructor
  4649. r = i ? (n ? new o() : []) : Tu(e) && xu(o) ? _n(At(e)) : {}
  4650. }
  4651. return (
  4652. (i ? xr : Oi)(e, function (e, n, i) {
  4653. return t(r, e, n, i)
  4654. }),
  4655. r
  4656. )
  4657. }
  4658. function Ff(e, t) {
  4659. return null == e || Mo(e, t)
  4660. }
  4661. function Uf(e, t, r) {
  4662. return null == e ? e : Do(e, t, Go(r))
  4663. }
  4664. function zf(e, t, r, n) {
  4665. return (n = "function" == typeof n ? n : o), null == e ? e : Do(e, t, Go(r), n)
  4666. }
  4667. function qf(e) {
  4668. return null == e ? [] : Zr(e, _f(e))
  4669. }
  4670. function Gf(e) {
  4671. return null == e ? [] : Zr(e, Tf(e))
  4672. }
  4673. function Wf(e, t, r) {
  4674. return (
  4675. r === o && ((r = t), (t = o)),
  4676. r !== o && ((r = Zu(r)), (r = r === r ? r : 0)),
  4677. t !== o && ((t = Zu(t)), (t = t === t ? t : 0)),
  4678. gi(Zu(e), t, r)
  4679. )
  4680. }
  4681. function Vf(e, t, r) {
  4682. return (t = Xu(t)), r === o ? ((r = t), (t = 0)) : (r = Xu(r)), (e = Zu(e)), Ui(e, t, r)
  4683. }
  4684. function Hf(e, t, r) {
  4685. if (
  4686. (r && "boolean" != typeof r && ss(e, t, r) && (t = r = o),
  4687. r === o && ("boolean" == typeof t ? ((r = t), (t = o)) : "boolean" == typeof e && ((r = e), (e = o))),
  4688. e === o && t === o ? ((e = 0), (t = 1)) : ((e = Xu(e)), t === o ? ((t = e), (e = 0)) : (t = Xu(t))),
  4689. e > t)
  4690. ) {
  4691. var n = e
  4692. ;(e = t), (t = n)
  4693. }
  4694. if (r || e % 1 || t % 1) {
  4695. var i = Ht()
  4696. return zt(e + i * (t - e + nr("1e-" + ((i + "").length - 1))), t)
  4697. }
  4698. return vo(e, t)
  4699. }
  4700. var Xf = ha(function (e, t, r) {
  4701. return (t = t.toLowerCase()), e + (r ? Yf(t) : t)
  4702. })
  4703. function Yf(e) {
  4704. return xp($u(e).toLowerCase())
  4705. }
  4706. function Kf(e) {
  4707. return (e = $u(e)), e && e.replace($e, tn).replace(Wt, "")
  4708. }
  4709. function Zf(e, t, r) {
  4710. ;(e = $u(e)), (t = Io(t))
  4711. var n = e.length
  4712. r = r === o ? n : gi(Yu(r), 0, n)
  4713. var i = r
  4714. return (r -= t.length), r >= 0 && e.slice(r, i) == t
  4715. }
  4716. function Qf(e) {
  4717. return (e = $u(e)), e && Le.test(e) ? e.replace(Ce, rn) : e
  4718. }
  4719. function Jf(e) {
  4720. return (e = $u(e)), e && De.test(e) ? e.replace(Me, "\\$&") : e
  4721. }
  4722. var $f = ha(function (e, t, r) {
  4723. return e + (r ? "-" : "") + t.toLowerCase()
  4724. }),
  4725. ep = ha(function (e, t, r) {
  4726. return e + (r ? " " : "") + t.toLowerCase()
  4727. }),
  4728. tp = da("toLowerCase")
  4729. function rp(e, t, r) {
  4730. ;(e = $u(e)), (t = Yu(t))
  4731. var n = t ? gn(e) : 0
  4732. if (!t || n >= t) return e
  4733. var i = (t - n) / 2
  4734. return _a(It(i), r) + e + _a(Rt(i), r)
  4735. }
  4736. function np(e, t, r) {
  4737. ;(e = $u(e)), (t = Yu(t))
  4738. var n = t ? gn(e) : 0
  4739. return t && n < t ? e + _a(t - n, r) : e
  4740. }
  4741. function ip(e, t, r) {
  4742. ;(e = $u(e)), (t = Yu(t))
  4743. var n = t ? gn(e) : 0
  4744. return t && n < t ? _a(t - n, r) + e : e
  4745. }
  4746. function op(e, t, r) {
  4747. return r || null == t ? (t = 0) : t && (t = +t), Vt($u(e).replace(Be, ""), t || 0)
  4748. }
  4749. function ap(e, t, r) {
  4750. return (t = (r ? ss(e, t, r) : t === o) ? 1 : Yu(t)), wo($u(e), t)
  4751. }
  4752. function sp() {
  4753. var e = arguments,
  4754. t = $u(e[0])
  4755. return e.length < 3 ? t : t.replace(e[1], e[2])
  4756. }
  4757. var lp = ha(function (e, t, r) {
  4758. return e + (r ? "_" : "") + t.toLowerCase()
  4759. })
  4760. function cp(e, t, r) {
  4761. return (
  4762. r && "number" != typeof r && ss(e, t, r) && (t = r = o),
  4763. (r = r === o ? U : r >>> 0),
  4764. r
  4765. ? ((e = $u(e)),
  4766. e && ("string" == typeof t || (null != t && !Nu(t))) && ((t = Io(t)), !t && an(e)) ? Ho(yn(e), 0, r) : e.split(t, r))
  4767. : []
  4768. )
  4769. }
  4770. var up = ha(function (e, t, r) {
  4771. return e + (r ? " " : "") + xp(t)
  4772. })
  4773. function fp(e, t, r) {
  4774. return (e = $u(e)), (r = null == r ? 0 : gi(Yu(r), 0, e.length)), (t = Io(t)), e.slice(r, r + t.length) == t
  4775. }
  4776. function pp(e, t, r) {
  4777. var n = xn.templateSettings
  4778. r && ss(e, t, r) && (t = o), (e = $u(e)), (t = rf({}, t, n, ja))
  4779. var a,
  4780. s,
  4781. l = rf({}, t.imports, n.imports, ja),
  4782. c = _f(l),
  4783. f = Zr(l, c),
  4784. p = 0,
  4785. d = t.interpolate || et,
  4786. h = "__p += '",
  4787. m = nt(
  4788. (t.escape || et).source + "|" + d.source + "|" + (d === je ? He : et).source + "|" + (t.evaluate || et).source + "|$",
  4789. "g"
  4790. ),
  4791. g =
  4792. "//# sourceURL=" +
  4793. (ft.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Zt + "]") +
  4794. "\n"
  4795. e.replace(m, function (t, r, n, i, o, l) {
  4796. return (
  4797. n || (n = i),
  4798. (h += e.slice(p, l).replace(tt, nn)),
  4799. r && ((a = !0), (h += "' +\n__e(" + r + ") +\n'")),
  4800. o && ((s = !0), (h += "';\n" + o + ";\n__p += '")),
  4801. n && (h += "' +\n((__t = (" + n + ")) == null ? '' : __t) +\n'"),
  4802. (p = l + t.length),
  4803. t
  4804. )
  4805. }),
  4806. (h += "';\n")
  4807. var y = ft.call(t, "variable") && t.variable
  4808. if (y) {
  4809. if (We.test(y)) throw new i(u)
  4810. } else h = "with (obj) {\n" + h + "\n}\n"
  4811. ;(h = (s ? h.replace(_e, "") : h).replace(Te, "$1").replace(Ee, "$1;")),
  4812. (h =
  4813. "function(" +
  4814. (y || "obj") +
  4815. ") {\n" +
  4816. (y ? "" : "obj || (obj = {});\n") +
  4817. "var __t, __p = ''" +
  4818. (a ? ", __e = _.escape" : "") +
  4819. (s ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") +
  4820. h +
  4821. "return __p\n}")
  4822. var v = _p(function () {
  4823. return Fe(c, g + "return " + h).apply(o, f)
  4824. })
  4825. if (((v.source = h), bu(v))) throw v
  4826. return v
  4827. }
  4828. function dp(e) {
  4829. return $u(e).toLowerCase()
  4830. }
  4831. function hp(e) {
  4832. return $u(e).toUpperCase()
  4833. }
  4834. function mp(e, t, r) {
  4835. if (((e = $u(e)), e && (r || t === o))) return Yr(e)
  4836. if (!e || !(t = Io(t))) return e
  4837. var n = yn(e),
  4838. i = yn(t),
  4839. a = Jr(n, i),
  4840. s = $r(n, i) + 1
  4841. return Ho(n, a, s).join("")
  4842. }
  4843. function gp(e, t, r) {
  4844. if (((e = $u(e)), e && (r || t === o))) return e.slice(0, vn(e) + 1)
  4845. if (!e || !(t = Io(t))) return e
  4846. var n = yn(e),
  4847. i = $r(n, yn(t)) + 1
  4848. return Ho(n, 0, i).join("")
  4849. }
  4850. function yp(e, t, r) {
  4851. if (((e = $u(e)), e && (r || t === o))) return e.replace(Be, "")
  4852. if (!e || !(t = Io(t))) return e
  4853. var n = yn(e),
  4854. i = Jr(n, yn(t))
  4855. return Ho(n, i).join("")
  4856. }
  4857. function vp(e, t) {
  4858. var r = L,
  4859. n = P
  4860. if (Tu(t)) {
  4861. var i = "separator" in t ? t.separator : i
  4862. ;(r = "length" in t ? Yu(t.length) : r), (n = "omission" in t ? Io(t.omission) : n)
  4863. }
  4864. e = $u(e)
  4865. var a = e.length
  4866. if (an(e)) {
  4867. var s = yn(e)
  4868. a = s.length
  4869. }
  4870. if (r >= a) return e
  4871. var l = r - gn(n)
  4872. if (l < 1) return n
  4873. var c = s ? Ho(s, 0, l).join("") : e.slice(0, l)
  4874. if (i === o) return c + n
  4875. if ((s && (l += c.length - l), Nu(i))) {
  4876. if (e.slice(l).search(i)) {
  4877. var u,
  4878. f = c
  4879. i.global || (i = nt(i.source, $u(Xe.exec(i)) + "g")), (i.lastIndex = 0)
  4880. while ((u = i.exec(f))) var p = u.index
  4881. c = c.slice(0, p === o ? l : p)
  4882. }
  4883. } else if (e.indexOf(Io(i), l) != l) {
  4884. var d = c.lastIndexOf(i)
  4885. d > -1 && (c = c.slice(0, d))
  4886. }
  4887. return c + n
  4888. }
  4889. function bp(e) {
  4890. return (e = $u(e)), e && ke.test(e) ? e.replace(Se, bn) : e
  4891. }
  4892. var wp = ha(function (e, t, r) {
  4893. return e + (r ? " " : "") + t.toUpperCase()
  4894. }),
  4895. xp = da("toUpperCase")
  4896. function Ap(e, t, r) {
  4897. return (e = $u(e)), (t = r ? o : t), t === o ? (sn(e) ? An(e) : Ir(e)) : e.match(t) || []
  4898. }
  4899. var _p = xo(function (e, t) {
  4900. try {
  4901. return br(e, o, t)
  4902. } catch (r) {
  4903. return bu(r) ? r : new i(r)
  4904. }
  4905. }),
  4906. Tp = Ba(function (e, t) {
  4907. return (
  4908. xr(t, function (t) {
  4909. ;(t = Os(t)), hi(e, t, jc(e[t], e))
  4910. }),
  4911. e
  4912. )
  4913. })
  4914. function Ep(e) {
  4915. var t = null == e ? 0 : e.length,
  4916. r = Wa()
  4917. return (
  4918. (e = t
  4919. ? Cr(e, function (e) {
  4920. if ("function" != typeof e[1]) throw new ot(c)
  4921. return [r(e[0]), e[1]]
  4922. })
  4923. : []),
  4924. xo(function (r) {
  4925. var n = -1
  4926. while (++n < t) {
  4927. var i = e[n]
  4928. if (br(i[0], this, r)) return br(i[1], this, r)
  4929. }
  4930. })
  4931. )
  4932. }
  4933. function Sp(e) {
  4934. return vi(yi(e, h))
  4935. }
  4936. function Cp(e) {
  4937. return function () {
  4938. return e
  4939. }
  4940. }
  4941. function kp(e, t) {
  4942. return null == e || e !== e ? t : e
  4943. }
  4944. var Lp = va(),
  4945. Pp = va(!0)
  4946. function Op(e) {
  4947. return e
  4948. }
  4949. function jp(e) {
  4950. return to("function" == typeof e ? e : yi(e, h))
  4951. }
  4952. function Rp(e) {
  4953. return ao(yi(e, h))
  4954. }
  4955. function Ip(e, t) {
  4956. return so(e, yi(t, h))
  4957. }
  4958. var Np = xo(function (e, t) {
  4959. return function (r) {
  4960. return Gi(r, e, t)
  4961. }
  4962. }),
  4963. Mp = xo(function (e, t) {
  4964. return function (r) {
  4965. return Gi(e, r, t)
  4966. }
  4967. })
  4968. function Dp(e, t, r) {
  4969. var n = _f(t),
  4970. i = Ri(t, n)
  4971. null != r || (Tu(t) && (i.length || !n.length)) || ((r = t), (t = e), (e = this), (i = Ri(t, _f(t))))
  4972. var o = !(Tu(r) && "chain" in r) || !!r.chain,
  4973. a = xu(e)
  4974. return (
  4975. xr(i, function (r) {
  4976. var n = t[r]
  4977. ;(e[r] = n),
  4978. a &&
  4979. (e.prototype[r] = function () {
  4980. var t = this.__chain__
  4981. if (o || t) {
  4982. var r = e(this.__wrapped__),
  4983. i = (r.__actions__ = ia(this.__actions__))
  4984. return (
  4985. i.push({
  4986. func: n,
  4987. args: arguments,
  4988. thisArg: e
  4989. }),
  4990. (r.__chain__ = t),
  4991. r
  4992. )
  4993. }
  4994. return n.apply(e, kr([this.value()], arguments))
  4995. })
  4996. }),
  4997. e
  4998. )
  4999. }
  5000. function Bp() {
  5001. return sr._ === this && (sr._ = gt), this
  5002. }
  5003. function Fp() {}
  5004. function Up(e) {
  5005. return (
  5006. (e = Yu(e)),
  5007. xo(function (t) {
  5008. return uo(t, e)
  5009. })
  5010. )
  5011. }
  5012. var zp = Aa(Cr),
  5013. qp = Aa(_r),
  5014. Gp = Aa(Or)
  5015. function Wp(e) {
  5016. return ls(e) ? zr(Os(e)) : mo(e)
  5017. }
  5018. function Vp(e) {
  5019. return function (t) {
  5020. return null == e ? o : Ii(e, t)
  5021. }
  5022. }
  5023. var Hp = Ea(),
  5024. Xp = Ea(!0)
  5025. function Yp() {
  5026. return []
  5027. }
  5028. function Kp() {
  5029. return !1
  5030. }
  5031. function Zp() {
  5032. return {}
  5033. }
  5034. function Qp() {
  5035. return ""
  5036. }
  5037. function Jp() {
  5038. return !0
  5039. }
  5040. function $p(e, t) {
  5041. if (((e = Yu(e)), e < 1 || e > D)) return []
  5042. var r = U,
  5043. n = zt(e, U)
  5044. ;(t = Wa(t)), (e -= U)
  5045. var i = Hr(n, t)
  5046. while (++r < e) t(r)
  5047. return i
  5048. }
  5049. function ed(e) {
  5050. return lu(e) ? Cr(e, Os) : Fu(e) ? [e] : ia(Ps($u(e)))
  5051. }
  5052. function td(e) {
  5053. var t = ++pt
  5054. return $u(e) + t
  5055. }
  5056. var rd = xa(function (e, t) {
  5057. return e + t
  5058. }, 0),
  5059. nd = ka("ceil"),
  5060. id = xa(function (e, t) {
  5061. return e / t
  5062. }, 1),
  5063. od = ka("floor")
  5064. function ad(e) {
  5065. return e && e.length ? Ei(e, Op, Di) : o
  5066. }
  5067. function sd(e, t) {
  5068. return e && e.length ? Ei(e, Wa(t, 2), Di) : o
  5069. }
  5070. function ld(e) {
  5071. return Ur(e, Op)
  5072. }
  5073. function cd(e, t) {
  5074. return Ur(e, Wa(t, 2))
  5075. }
  5076. function ud(e) {
  5077. return e && e.length ? Ei(e, Op, io) : o
  5078. }
  5079. function fd(e, t) {
  5080. return e && e.length ? Ei(e, Wa(t, 2), io) : o
  5081. }
  5082. var pd = xa(function (e, t) {
  5083. return e * t
  5084. }, 1),
  5085. dd = ka("round"),
  5086. hd = xa(function (e, t) {
  5087. return e - t
  5088. }, 0)
  5089. function md(e) {
  5090. return e && e.length ? Vr(e, Op) : 0
  5091. }
  5092. function gd(e, t) {
  5093. return e && e.length ? Vr(e, Wa(t, 2)) : 0
  5094. }
  5095. return (
  5096. (xn.after = Lc),
  5097. (xn.ary = Pc),
  5098. (xn.assign = ef),
  5099. (xn.assignIn = tf),
  5100. (xn.assignInWith = rf),
  5101. (xn.assignWith = nf),
  5102. (xn.at = of),
  5103. (xn.before = Oc),
  5104. (xn.bind = jc),
  5105. (xn.bindAll = Tp),
  5106. (xn.bindKey = Rc),
  5107. (xn.castArray = Jc),
  5108. (xn.chain = Vl),
  5109. (xn.chunk = Ns),
  5110. (xn.compact = Ms),
  5111. (xn.concat = Ds),
  5112. (xn.cond = Ep),
  5113. (xn.conforms = Sp),
  5114. (xn.constant = Cp),
  5115. (xn.countBy = rc),
  5116. (xn.create = af),
  5117. (xn.curry = Ic),
  5118. (xn.curryRight = Nc),
  5119. (xn.debounce = Mc),
  5120. (xn.defaults = sf),
  5121. (xn.defaultsDeep = lf),
  5122. (xn.defer = Dc),
  5123. (xn.delay = Bc),
  5124. (xn.difference = Bs),
  5125. (xn.differenceBy = Fs),
  5126. (xn.differenceWith = Us),
  5127. (xn.drop = zs),
  5128. (xn.dropRight = qs),
  5129. (xn.dropRightWhile = Gs),
  5130. (xn.dropWhile = Ws),
  5131. (xn.fill = Vs),
  5132. (xn.filter = ic),
  5133. (xn.flatMap = sc),
  5134. (xn.flatMapDeep = lc),
  5135. (xn.flatMapDepth = cc),
  5136. (xn.flatten = Ys),
  5137. (xn.flattenDeep = Ks),
  5138. (xn.flattenDepth = Zs),
  5139. (xn.flip = Fc),
  5140. (xn.flow = Lp),
  5141. (xn.flowRight = Pp),
  5142. (xn.fromPairs = Qs),
  5143. (xn.functions = mf),
  5144. (xn.functionsIn = gf),
  5145. (xn.groupBy = pc),
  5146. (xn.initial = el),
  5147. (xn.intersection = tl),
  5148. (xn.intersectionBy = rl),
  5149. (xn.intersectionWith = nl),
  5150. (xn.invert = wf),
  5151. (xn.invertBy = xf),
  5152. (xn.invokeMap = hc),
  5153. (xn.iteratee = jp),
  5154. (xn.keyBy = mc),
  5155. (xn.keys = _f),
  5156. (xn.keysIn = Tf),
  5157. (xn.map = gc),
  5158. (xn.mapKeys = Ef),
  5159. (xn.mapValues = Sf),
  5160. (xn.matches = Rp),
  5161. (xn.matchesProperty = Ip),
  5162. (xn.memoize = Uc),
  5163. (xn.merge = Cf),
  5164. (xn.mergeWith = kf),
  5165. (xn.method = Np),
  5166. (xn.methodOf = Mp),
  5167. (xn.mixin = Dp),
  5168. (xn.negate = zc),
  5169. (xn.nthArg = Up),
  5170. (xn.omit = Lf),
  5171. (xn.omitBy = Pf),
  5172. (xn.once = qc),
  5173. (xn.orderBy = yc),
  5174. (xn.over = zp),
  5175. (xn.overArgs = Gc),
  5176. (xn.overEvery = qp),
  5177. (xn.overSome = Gp),
  5178. (xn.partial = Wc),
  5179. (xn.partialRight = Vc),
  5180. (xn.partition = vc),
  5181. (xn.pick = Of),
  5182. (xn.pickBy = jf),
  5183. (xn.property = Wp),
  5184. (xn.propertyOf = Vp),
  5185. (xn.pull = ll),
  5186. (xn.pullAll = cl),
  5187. (xn.pullAllBy = ul),
  5188. (xn.pullAllWith = fl),
  5189. (xn.pullAt = pl),
  5190. (xn.range = Hp),
  5191. (xn.rangeRight = Xp),
  5192. (xn.rearg = Hc),
  5193. (xn.reject = xc),
  5194. (xn.remove = dl),
  5195. (xn.rest = Xc),
  5196. (xn.reverse = hl),
  5197. (xn.sampleSize = _c),
  5198. (xn.set = If),
  5199. (xn.setWith = Nf),
  5200. (xn.shuffle = Tc),
  5201. (xn.slice = ml),
  5202. (xn.sortBy = Cc),
  5203. (xn.sortedUniq = Al),
  5204. (xn.sortedUniqBy = _l),
  5205. (xn.split = cp),
  5206. (xn.spread = Yc),
  5207. (xn.tail = Tl),
  5208. (xn.take = El),
  5209. (xn.takeRight = Sl),
  5210. (xn.takeRightWhile = Cl),
  5211. (xn.takeWhile = kl),
  5212. (xn.tap = Hl),
  5213. (xn.throttle = Kc),
  5214. (xn.thru = Xl),
  5215. (xn.toArray = Hu),
  5216. (xn.toPairs = Mf),
  5217. (xn.toPairsIn = Df),
  5218. (xn.toPath = ed),
  5219. (xn.toPlainObject = Qu),
  5220. (xn.transform = Bf),
  5221. (xn.unary = Zc),
  5222. (xn.union = Ll),
  5223. (xn.unionBy = Pl),
  5224. (xn.unionWith = Ol),
  5225. (xn.uniq = jl),
  5226. (xn.uniqBy = Rl),
  5227. (xn.uniqWith = Il),
  5228. (xn.unset = Ff),
  5229. (xn.unzip = Nl),
  5230. (xn.unzipWith = Ml),
  5231. (xn.update = Uf),
  5232. (xn.updateWith = zf),
  5233. (xn.values = qf),
  5234. (xn.valuesIn = Gf),
  5235. (xn.without = Dl),
  5236. (xn.words = Ap),
  5237. (xn.wrap = Qc),
  5238. (xn.xor = Bl),
  5239. (xn.xorBy = Fl),
  5240. (xn.xorWith = Ul),
  5241. (xn.zip = zl),
  5242. (xn.zipObject = ql),
  5243. (xn.zipObjectDeep = Gl),
  5244. (xn.zipWith = Wl),
  5245. (xn.entries = Mf),
  5246. (xn.entriesIn = Df),
  5247. (xn.extend = tf),
  5248. (xn.extendWith = rf),
  5249. Dp(xn, xn),
  5250. (xn.add = rd),
  5251. (xn.attempt = _p),
  5252. (xn.camelCase = Xf),
  5253. (xn.capitalize = Yf),
  5254. (xn.ceil = nd),
  5255. (xn.clamp = Wf),
  5256. (xn.clone = $c),
  5257. (xn.cloneDeep = tu),
  5258. (xn.cloneDeepWith = ru),
  5259. (xn.cloneWith = eu),
  5260. (xn.conformsTo = nu),
  5261. (xn.deburr = Kf),
  5262. (xn.defaultTo = kp),
  5263. (xn.divide = id),
  5264. (xn.endsWith = Zf),
  5265. (xn.eq = iu),
  5266. (xn.escape = Qf),
  5267. (xn.escapeRegExp = Jf),
  5268. (xn.every = nc),
  5269. (xn.find = oc),
  5270. (xn.findIndex = Hs),
  5271. (xn.findKey = cf),
  5272. (xn.findLast = ac),
  5273. (xn.findLastIndex = Xs),
  5274. (xn.findLastKey = uf),
  5275. (xn.floor = od),
  5276. (xn.forEach = uc),
  5277. (xn.forEachRight = fc),
  5278. (xn.forIn = ff),
  5279. (xn.forInRight = pf),
  5280. (xn.forOwn = df),
  5281. (xn.forOwnRight = hf),
  5282. (xn.get = yf),
  5283. (xn.gt = ou),
  5284. (xn.gte = au),
  5285. (xn.has = vf),
  5286. (xn.hasIn = bf),
  5287. (xn.head = Js),
  5288. (xn.identity = Op),
  5289. (xn.includes = dc),
  5290. (xn.indexOf = $s),
  5291. (xn.inRange = Vf),
  5292. (xn.invoke = Af),
  5293. (xn.isArguments = su),
  5294. (xn.isArray = lu),
  5295. (xn.isArrayBuffer = cu),
  5296. (xn.isArrayLike = uu),
  5297. (xn.isArrayLikeObject = fu),
  5298. (xn.isBoolean = pu),
  5299. (xn.isBuffer = du),
  5300. (xn.isDate = hu),
  5301. (xn.isElement = mu),
  5302. (xn.isEmpty = gu),
  5303. (xn.isEqual = yu),
  5304. (xn.isEqualWith = vu),
  5305. (xn.isError = bu),
  5306. (xn.isFinite = wu),
  5307. (xn.isFunction = xu),
  5308. (xn.isInteger = Au),
  5309. (xn.isLength = _u),
  5310. (xn.isMap = Su),
  5311. (xn.isMatch = Cu),
  5312. (xn.isMatchWith = ku),
  5313. (xn.isNaN = Lu),
  5314. (xn.isNative = Pu),
  5315. (xn.isNil = ju),
  5316. (xn.isNull = Ou),
  5317. (xn.isNumber = Ru),
  5318. (xn.isObject = Tu),
  5319. (xn.isObjectLike = Eu),
  5320. (xn.isPlainObject = Iu),
  5321. (xn.isRegExp = Nu),
  5322. (xn.isSafeInteger = Mu),
  5323. (xn.isSet = Du),
  5324. (xn.isString = Bu),
  5325. (xn.isSymbol = Fu),
  5326. (xn.isTypedArray = Uu),
  5327. (xn.isUndefined = zu),
  5328. (xn.isWeakMap = qu),
  5329. (xn.isWeakSet = Gu),
  5330. (xn.join = il),
  5331. (xn.kebabCase = $f),
  5332. (xn.last = ol),
  5333. (xn.lastIndexOf = al),
  5334. (xn.lowerCase = ep),
  5335. (xn.lowerFirst = tp),
  5336. (xn.lt = Wu),
  5337. (xn.lte = Vu),
  5338. (xn.max = ad),
  5339. (xn.maxBy = sd),
  5340. (xn.mean = ld),
  5341. (xn.meanBy = cd),
  5342. (xn.min = ud),
  5343. (xn.minBy = fd),
  5344. (xn.stubArray = Yp),
  5345. (xn.stubFalse = Kp),
  5346. (xn.stubObject = Zp),
  5347. (xn.stubString = Qp),
  5348. (xn.stubTrue = Jp),
  5349. (xn.multiply = pd),
  5350. (xn.nth = sl),
  5351. (xn.noConflict = Bp),
  5352. (xn.noop = Fp),
  5353. (xn.now = kc),
  5354. (xn.pad = rp),
  5355. (xn.padEnd = np),
  5356. (xn.padStart = ip),
  5357. (xn.parseInt = op),
  5358. (xn.random = Hf),
  5359. (xn.reduce = bc),
  5360. (xn.reduceRight = wc),
  5361. (xn.repeat = ap),
  5362. (xn.replace = sp),
  5363. (xn.result = Rf),
  5364. (xn.round = dd),
  5365. (xn.runInContext = e),
  5366. (xn.sample = Ac),
  5367. (xn.size = Ec),
  5368. (xn.snakeCase = lp),
  5369. (xn.some = Sc),
  5370. (xn.sortedIndex = gl),
  5371. (xn.sortedIndexBy = yl),
  5372. (xn.sortedIndexOf = vl),
  5373. (xn.sortedLastIndex = bl),
  5374. (xn.sortedLastIndexBy = wl),
  5375. (xn.sortedLastIndexOf = xl),
  5376. (xn.startCase = up),
  5377. (xn.startsWith = fp),
  5378. (xn.subtract = hd),
  5379. (xn.sum = md),
  5380. (xn.sumBy = gd),
  5381. (xn.template = pp),
  5382. (xn.times = $p),
  5383. (xn.toFinite = Xu),
  5384. (xn.toInteger = Yu),
  5385. (xn.toLength = Ku),
  5386. (xn.toLower = dp),
  5387. (xn.toNumber = Zu),
  5388. (xn.toSafeInteger = Ju),
  5389. (xn.toString = $u),
  5390. (xn.toUpper = hp),
  5391. (xn.trim = mp),
  5392. (xn.trimEnd = gp),
  5393. (xn.trimStart = yp),
  5394. (xn.truncate = vp),
  5395. (xn.unescape = bp),
  5396. (xn.uniqueId = td),
  5397. (xn.upperCase = wp),
  5398. (xn.upperFirst = xp),
  5399. (xn.each = uc),
  5400. (xn.eachRight = fc),
  5401. (xn.first = Js),
  5402. Dp(
  5403. xn,
  5404. (function () {
  5405. var e = {}
  5406. return (
  5407. Oi(xn, function (t, r) {
  5408. ft.call(xn.prototype, r) || (e[r] = t)
  5409. }),
  5410. e
  5411. )
  5412. })(),
  5413. {
  5414. chain: !1
  5415. }
  5416. ),
  5417. (xn.VERSION = a),
  5418. xr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function (e) {
  5419. xn[e].placeholder = xn
  5420. }),
  5421. xr(["drop", "take"], function (e, t) {
  5422. ;(Cn.prototype[e] = function (r) {
  5423. r = r === o ? 1 : Ut(Yu(r), 0)
  5424. var n = this.__filtered__ && !t ? new Cn(this) : this.clone()
  5425. return (
  5426. n.__filtered__
  5427. ? (n.__takeCount__ = zt(r, n.__takeCount__))
  5428. : n.__views__.push({
  5429. size: zt(r, U),
  5430. type: e + (n.__dir__ < 0 ? "Right" : "")
  5431. }),
  5432. n
  5433. )
  5434. }),
  5435. (Cn.prototype[e + "Right"] = function (t) {
  5436. return this.reverse()[e](t).reverse()
  5437. })
  5438. }),
  5439. xr(["filter", "map", "takeWhile"], function (e, t) {
  5440. var r = t + 1,
  5441. n = r == R || r == N
  5442. Cn.prototype[e] = function (e) {
  5443. var t = this.clone()
  5444. return (
  5445. t.__iteratees__.push({
  5446. iteratee: Wa(e, 3),
  5447. type: r
  5448. }),
  5449. (t.__filtered__ = t.__filtered__ || n),
  5450. t
  5451. )
  5452. }
  5453. }),
  5454. xr(["head", "last"], function (e, t) {
  5455. var r = "take" + (t ? "Right" : "")
  5456. Cn.prototype[e] = function () {
  5457. return this[r](1).value()[0]
  5458. }
  5459. }),
  5460. xr(["initial", "tail"], function (e, t) {
  5461. var r = "drop" + (t ? "" : "Right")
  5462. Cn.prototype[e] = function () {
  5463. return this.__filtered__ ? new Cn(this) : this[r](1)
  5464. }
  5465. }),
  5466. (Cn.prototype.compact = function () {
  5467. return this.filter(Op)
  5468. }),
  5469. (Cn.prototype.find = function (e) {
  5470. return this.filter(e).head()
  5471. }),
  5472. (Cn.prototype.findLast = function (e) {
  5473. return this.reverse().find(e)
  5474. }),
  5475. (Cn.prototype.invokeMap = xo(function (e, t) {
  5476. return "function" == typeof e
  5477. ? new Cn(this)
  5478. : this.map(function (r) {
  5479. return Gi(r, e, t)
  5480. })
  5481. })),
  5482. (Cn.prototype.reject = function (e) {
  5483. return this.filter(zc(Wa(e)))
  5484. }),
  5485. (Cn.prototype.slice = function (e, t) {
  5486. e = Yu(e)
  5487. var r = this
  5488. return r.__filtered__ && (e > 0 || t < 0)
  5489. ? new Cn(r)
  5490. : (e < 0 ? (r = r.takeRight(-e)) : e && (r = r.drop(e)),
  5491. t !== o && ((t = Yu(t)), (r = t < 0 ? r.dropRight(-t) : r.take(t - e))),
  5492. r)
  5493. }),
  5494. (Cn.prototype.takeRightWhile = function (e) {
  5495. return this.reverse().takeWhile(e).reverse()
  5496. }),
  5497. (Cn.prototype.toArray = function () {
  5498. return this.take(U)
  5499. }),
  5500. Oi(Cn.prototype, function (e, t) {
  5501. var r = /^(?:filter|find|map|reject)|While$/.test(t),
  5502. n = /^(?:head|last)$/.test(t),
  5503. i = xn[n ? "take" + ("last" == t ? "Right" : "") : t],
  5504. a = n || /^find/.test(t)
  5505. i &&
  5506. (xn.prototype[t] = function () {
  5507. var t = this.__wrapped__,
  5508. s = n ? [1] : arguments,
  5509. l = t instanceof Cn,
  5510. c = s[0],
  5511. u = l || lu(t),
  5512. f = function (e) {
  5513. var t = i.apply(xn, kr([e], s))
  5514. return n && p ? t[0] : t
  5515. }
  5516. u && r && "function" == typeof c && 1 != c.length && (l = u = !1)
  5517. var p = this.__chain__,
  5518. d = !!this.__actions__.length,
  5519. h = a && !p,
  5520. m = l && !d
  5521. if (!a && u) {
  5522. t = m ? t : new Cn(this)
  5523. var g = e.apply(t, s)
  5524. return (
  5525. g.__actions__.push({
  5526. func: Xl,
  5527. args: [f],
  5528. thisArg: o
  5529. }),
  5530. new Sn(g, p)
  5531. )
  5532. }
  5533. return h && m ? e.apply(this, s) : ((g = this.thru(f)), h ? (n ? g.value()[0] : g.value()) : g)
  5534. })
  5535. }),
  5536. xr(["pop", "push", "shift", "sort", "splice", "unshift"], function (e) {
  5537. var t = at[e],
  5538. r = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru",
  5539. n = /^(?:pop|shift)$/.test(e)
  5540. xn.prototype[e] = function () {
  5541. var e = arguments
  5542. if (n && !this.__chain__) {
  5543. var i = this.value()
  5544. return t.apply(lu(i) ? i : [], e)
  5545. }
  5546. return this[r](function (r) {
  5547. return t.apply(lu(r) ? r : [], e)
  5548. })
  5549. }
  5550. }),
  5551. Oi(Cn.prototype, function (e, t) {
  5552. var r = xn[t]
  5553. if (r) {
  5554. var n = r.name + ""
  5555. ft.call(lr, n) || (lr[n] = []),
  5556. lr[n].push({
  5557. name: t,
  5558. func: r
  5559. })
  5560. }
  5561. }),
  5562. (lr[ba(o, w).name] = [
  5563. {
  5564. name: "wrapper",
  5565. func: o
  5566. }
  5567. ]),
  5568. (Cn.prototype.clone = kn),
  5569. (Cn.prototype.reverse = Ln),
  5570. (Cn.prototype.value = Pn),
  5571. (xn.prototype.at = Yl),
  5572. (xn.prototype.chain = Kl),
  5573. (xn.prototype.commit = Zl),
  5574. (xn.prototype.next = Ql),
  5575. (xn.prototype.plant = $l),
  5576. (xn.prototype.reverse = ec),
  5577. (xn.prototype.toJSON = xn.prototype.valueOf = xn.prototype.value = tc),
  5578. (xn.prototype.first = xn.prototype.head),
  5579. Ct && (xn.prototype[Ct] = Jl),
  5580. xn
  5581. )
  5582. },
  5583. Tn = _n()
  5584. ;(sr._ = Tn),
  5585. (i = function () {
  5586. return Tn
  5587. }.call(t, r, t, n)),
  5588. i === o || (n.exports = i)
  5589. }).call(this)
  5590. }).call(this, r("c8ba"), r("62e4")(e))
  5591. },
  5592. 3: function (e, t) {},
  5593. 3171: function (e, t, r) {
  5594. ;(function (e) {
  5595. ;(function (t) {
  5596. ;(t.parser = function (e, t) {
  5597. return new o(e, t)
  5598. }),
  5599. (t.SAXParser = o),
  5600. (t.SAXStream = f),
  5601. (t.createStream = u),
  5602. (t.MAX_BUFFER_LENGTH = 65536)
  5603. var n,
  5604. i = [
  5605. "comment",
  5606. "sgmlDecl",
  5607. "textNode",
  5608. "tagName",
  5609. "doctype",
  5610. "procInstName",
  5611. "procInstBody",
  5612. "entity",
  5613. "attribName",
  5614. "attribValue",
  5615. "cdata",
  5616. "script"
  5617. ]
  5618. function o(e, r) {
  5619. if (!(this instanceof o)) return new o(e, r)
  5620. var n = this
  5621. s(n),
  5622. (n.q = n.c = ""),
  5623. (n.bufferCheckPosition = t.MAX_BUFFER_LENGTH),
  5624. (n.opt = r || {}),
  5625. (n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags),
  5626. (n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase"),
  5627. (n.tags = []),
  5628. (n.closed = n.closedRoot = n.sawRoot = !1),
  5629. (n.tag = n.error = null),
  5630. (n.strict = !!e),
  5631. (n.noscript = !(!e && !n.opt.noscript)),
  5632. (n.state = S.BEGIN),
  5633. (n.strictEntities = n.opt.strictEntities),
  5634. (n.ENTITIES = n.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES)),
  5635. (n.attribList = []),
  5636. n.opt.xmlns && (n.ns = Object.create(g)),
  5637. (n.trackPosition = !1 !== n.opt.position),
  5638. n.trackPosition && (n.position = n.line = n.column = 0),
  5639. k(n, "onready")
  5640. }
  5641. function a(e) {
  5642. for (var r = Math.max(t.MAX_BUFFER_LENGTH, 10), n = 0, o = 0, a = i.length; o < a; o++) {
  5643. var s = e[i[o]].length
  5644. if (s > r)
  5645. switch (i[o]) {
  5646. case "textNode":
  5647. P(e)
  5648. break
  5649. case "cdata":
  5650. L(e, "oncdata", e.cdata), (e.cdata = "")
  5651. break
  5652. case "script":
  5653. L(e, "onscript", e.script), (e.script = "")
  5654. break
  5655. default:
  5656. j(e, "Max buffer length exceeded: " + i[o])
  5657. }
  5658. n = Math.max(n, s)
  5659. }
  5660. var l = t.MAX_BUFFER_LENGTH - n
  5661. e.bufferCheckPosition = l + e.position
  5662. }
  5663. function s(e) {
  5664. for (var t = 0, r = i.length; t < r; t++) e[i[t]] = ""
  5665. }
  5666. function l(e) {
  5667. P(e), "" !== e.cdata && (L(e, "oncdata", e.cdata), (e.cdata = "")), "" !== e.script && (L(e, "onscript", e.script), (e.script = ""))
  5668. }
  5669. ;(t.EVENTS = [
  5670. "text",
  5671. "processinginstruction",
  5672. "sgmldeclaration",
  5673. "doctype",
  5674. "comment",
  5675. "opentagstart",
  5676. "attribute",
  5677. "opentag",
  5678. "closetag",
  5679. "opencdata",
  5680. "cdata",
  5681. "closecdata",
  5682. "error",
  5683. "end",
  5684. "ready",
  5685. "script",
  5686. "opennamespace",
  5687. "closenamespace"
  5688. ]),
  5689. Object.create ||
  5690. (Object.create = function (e) {
  5691. function t() {}
  5692. t.prototype = e
  5693. var r = new t()
  5694. return r
  5695. }),
  5696. Object.keys ||
  5697. (Object.keys = function (e) {
  5698. var t = []
  5699. for (var r in e) e.hasOwnProperty(r) && t.push(r)
  5700. return t
  5701. }),
  5702. (o.prototype = {
  5703. end: function () {
  5704. R(this)
  5705. },
  5706. write: G,
  5707. resume: function () {
  5708. return (this.error = null), this
  5709. },
  5710. close: function () {
  5711. return this.write(null)
  5712. },
  5713. flush: function () {
  5714. l(this)
  5715. }
  5716. })
  5717. try {
  5718. n = r("d485").Stream
  5719. } catch (W) {
  5720. n = function () {}
  5721. }
  5722. var c = t.EVENTS.filter(function (e) {
  5723. return "error" !== e && "end" !== e
  5724. })
  5725. function u(e, t) {
  5726. return new f(e, t)
  5727. }
  5728. function f(e, t) {
  5729. if (!(this instanceof f)) return new f(e, t)
  5730. n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0)
  5731. var r = this
  5732. ;(this._parser.onend = function () {
  5733. r.emit("end")
  5734. }),
  5735. (this._parser.onerror = function (e) {
  5736. r.emit("error", e), (r._parser.error = null)
  5737. }),
  5738. (this._decoder = null),
  5739. c.forEach(function (e) {
  5740. Object.defineProperty(r, "on" + e, {
  5741. get: function () {
  5742. return r._parser["on" + e]
  5743. },
  5744. set: function (t) {
  5745. if (!t) return r.removeAllListeners(e), (r._parser["on" + e] = t), t
  5746. r.on(e, t)
  5747. },
  5748. enumerable: !0,
  5749. configurable: !1
  5750. })
  5751. })
  5752. }
  5753. ;(f.prototype = Object.create(n.prototype, {
  5754. constructor: {
  5755. value: f
  5756. }
  5757. })),
  5758. (f.prototype.write = function (t) {
  5759. if ("function" === typeof e && "function" === typeof e.isBuffer && e.isBuffer(t)) {
  5760. if (!this._decoder) {
  5761. var n = r("7d72").StringDecoder
  5762. this._decoder = new n("utf8")
  5763. }
  5764. t = this._decoder.write(t)
  5765. }
  5766. return this._parser.write(t.toString()), this.emit("data", t), !0
  5767. }),
  5768. (f.prototype.end = function (e) {
  5769. return e && e.length && this.write(e), this._parser.end(), !0
  5770. }),
  5771. (f.prototype.on = function (e, t) {
  5772. var r = this
  5773. return (
  5774. r._parser["on" + e] ||
  5775. -1 === c.indexOf(e) ||
  5776. (r._parser["on" + e] = function () {
  5777. var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments)
  5778. t.splice(0, 0, e), r.emit.apply(r, t)
  5779. }),
  5780. n.prototype.on.call(r, e, t)
  5781. )
  5782. })
  5783. var p = "[CDATA[",
  5784. d = "DOCTYPE",
  5785. h = "http://www.w3.org/XML/1998/namespace",
  5786. m = "http://www.w3.org/2000/xmlns/",
  5787. g = {
  5788. xml: h,
  5789. xmlns: m
  5790. },
  5791. y =
  5792. /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
  5793. v =
  5794. /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,
  5795. b =
  5796. /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
  5797. w =
  5798. /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/
  5799. function x(e) {
  5800. return " " === e || "\n" === e || "\r" === e || "\t" === e
  5801. }
  5802. function A(e) {
  5803. return '"' === e || "'" === e
  5804. }
  5805. function _(e) {
  5806. return ">" === e || x(e)
  5807. }
  5808. function T(e, t) {
  5809. return e.test(t)
  5810. }
  5811. function E(e, t) {
  5812. return !T(e, t)
  5813. }
  5814. var S = 0
  5815. for (var C in ((t.STATE = {
  5816. BEGIN: S++,
  5817. BEGIN_WHITESPACE: S++,
  5818. TEXT: S++,
  5819. TEXT_ENTITY: S++,
  5820. OPEN_WAKA: S++,
  5821. SGML_DECL: S++,
  5822. SGML_DECL_QUOTED: S++,
  5823. DOCTYPE: S++,
  5824. DOCTYPE_QUOTED: S++,
  5825. DOCTYPE_DTD: S++,
  5826. DOCTYPE_DTD_QUOTED: S++,
  5827. COMMENT_STARTING: S++,
  5828. COMMENT: S++,
  5829. COMMENT_ENDING: S++,
  5830. COMMENT_ENDED: S++,
  5831. CDATA: S++,
  5832. CDATA_ENDING: S++,
  5833. CDATA_ENDING_2: S++,
  5834. PROC_INST: S++,
  5835. PROC_INST_BODY: S++,
  5836. PROC_INST_ENDING: S++,
  5837. OPEN_TAG: S++,
  5838. OPEN_TAG_SLASH: S++,
  5839. ATTRIB: S++,
  5840. ATTRIB_NAME: S++,
  5841. ATTRIB_NAME_SAW_WHITE: S++,
  5842. ATTRIB_VALUE: S++,
  5843. ATTRIB_VALUE_QUOTED: S++,
  5844. ATTRIB_VALUE_CLOSED: S++,
  5845. ATTRIB_VALUE_UNQUOTED: S++,
  5846. ATTRIB_VALUE_ENTITY_Q: S++,
  5847. ATTRIB_VALUE_ENTITY_U: S++,
  5848. CLOSE_TAG: S++,
  5849. CLOSE_TAG_SAW_WHITE: S++,
  5850. SCRIPT: S++,
  5851. SCRIPT_ENDING: S++
  5852. }),
  5853. (t.XML_ENTITIES = {
  5854. amp: "&",
  5855. gt: ">",
  5856. lt: "<",
  5857. quot: '"',
  5858. apos: "'"
  5859. }),
  5860. (t.ENTITIES = {
  5861. amp: "&",
  5862. gt: ">",
  5863. lt: "<",
  5864. quot: '"',
  5865. apos: "'",
  5866. AElig: 198,
  5867. Aacute: 193,
  5868. Acirc: 194,
  5869. Agrave: 192,
  5870. Aring: 197,
  5871. Atilde: 195,
  5872. Auml: 196,
  5873. Ccedil: 199,
  5874. ETH: 208,
  5875. Eacute: 201,
  5876. Ecirc: 202,
  5877. Egrave: 200,
  5878. Euml: 203,
  5879. Iacute: 205,
  5880. Icirc: 206,
  5881. Igrave: 204,
  5882. Iuml: 207,
  5883. Ntilde: 209,
  5884. Oacute: 211,
  5885. Ocirc: 212,
  5886. Ograve: 210,
  5887. Oslash: 216,
  5888. Otilde: 213,
  5889. Ouml: 214,
  5890. THORN: 222,
  5891. Uacute: 218,
  5892. Ucirc: 219,
  5893. Ugrave: 217,
  5894. Uuml: 220,
  5895. Yacute: 221,
  5896. aacute: 225,
  5897. acirc: 226,
  5898. aelig: 230,
  5899. agrave: 224,
  5900. aring: 229,
  5901. atilde: 227,
  5902. auml: 228,
  5903. ccedil: 231,
  5904. eacute: 233,
  5905. ecirc: 234,
  5906. egrave: 232,
  5907. eth: 240,
  5908. euml: 235,
  5909. iacute: 237,
  5910. icirc: 238,
  5911. igrave: 236,
  5912. iuml: 239,
  5913. ntilde: 241,
  5914. oacute: 243,
  5915. ocirc: 244,
  5916. ograve: 242,
  5917. oslash: 248,
  5918. otilde: 245,
  5919. ouml: 246,
  5920. szlig: 223,
  5921. thorn: 254,
  5922. uacute: 250,
  5923. ucirc: 251,
  5924. ugrave: 249,
  5925. uuml: 252,
  5926. yacute: 253,
  5927. yuml: 255,
  5928. copy: 169,
  5929. reg: 174,
  5930. nbsp: 160,
  5931. iexcl: 161,
  5932. cent: 162,
  5933. pound: 163,
  5934. curren: 164,
  5935. yen: 165,
  5936. brvbar: 166,
  5937. sect: 167,
  5938. uml: 168,
  5939. ordf: 170,
  5940. laquo: 171,
  5941. not: 172,
  5942. shy: 173,
  5943. macr: 175,
  5944. deg: 176,
  5945. plusmn: 177,
  5946. sup1: 185,
  5947. sup2: 178,
  5948. sup3: 179,
  5949. acute: 180,
  5950. micro: 181,
  5951. para: 182,
  5952. middot: 183,
  5953. cedil: 184,
  5954. ordm: 186,
  5955. raquo: 187,
  5956. frac14: 188,
  5957. frac12: 189,
  5958. frac34: 190,
  5959. iquest: 191,
  5960. times: 215,
  5961. divide: 247,
  5962. OElig: 338,
  5963. oelig: 339,
  5964. Scaron: 352,
  5965. scaron: 353,
  5966. Yuml: 376,
  5967. fnof: 402,
  5968. circ: 710,
  5969. tilde: 732,
  5970. Alpha: 913,
  5971. Beta: 914,
  5972. Gamma: 915,
  5973. Delta: 916,
  5974. Epsilon: 917,
  5975. Zeta: 918,
  5976. Eta: 919,
  5977. Theta: 920,
  5978. Iota: 921,
  5979. Kappa: 922,
  5980. Lambda: 923,
  5981. Mu: 924,
  5982. Nu: 925,
  5983. Xi: 926,
  5984. Omicron: 927,
  5985. Pi: 928,
  5986. Rho: 929,
  5987. Sigma: 931,
  5988. Tau: 932,
  5989. Upsilon: 933,
  5990. Phi: 934,
  5991. Chi: 935,
  5992. Psi: 936,
  5993. Omega: 937,
  5994. alpha: 945,
  5995. beta: 946,
  5996. gamma: 947,
  5997. delta: 948,
  5998. epsilon: 949,
  5999. zeta: 950,
  6000. eta: 951,
  6001. theta: 952,
  6002. iota: 953,
  6003. kappa: 954,
  6004. lambda: 955,
  6005. mu: 956,
  6006. nu: 957,
  6007. xi: 958,
  6008. omicron: 959,
  6009. pi: 960,
  6010. rho: 961,
  6011. sigmaf: 962,
  6012. sigma: 963,
  6013. tau: 964,
  6014. upsilon: 965,
  6015. phi: 966,
  6016. chi: 967,
  6017. psi: 968,
  6018. omega: 969,
  6019. thetasym: 977,
  6020. upsih: 978,
  6021. piv: 982,
  6022. ensp: 8194,
  6023. emsp: 8195,
  6024. thinsp: 8201,
  6025. zwnj: 8204,
  6026. zwj: 8205,
  6027. lrm: 8206,
  6028. rlm: 8207,
  6029. ndash: 8211,
  6030. mdash: 8212,
  6031. lsquo: 8216,
  6032. rsquo: 8217,
  6033. sbquo: 8218,
  6034. ldquo: 8220,
  6035. rdquo: 8221,
  6036. bdquo: 8222,
  6037. dagger: 8224,
  6038. Dagger: 8225,
  6039. bull: 8226,
  6040. hellip: 8230,
  6041. permil: 8240,
  6042. prime: 8242,
  6043. Prime: 8243,
  6044. lsaquo: 8249,
  6045. rsaquo: 8250,
  6046. oline: 8254,
  6047. frasl: 8260,
  6048. euro: 8364,
  6049. image: 8465,
  6050. weierp: 8472,
  6051. real: 8476,
  6052. trade: 8482,
  6053. alefsym: 8501,
  6054. larr: 8592,
  6055. uarr: 8593,
  6056. rarr: 8594,
  6057. darr: 8595,
  6058. harr: 8596,
  6059. crarr: 8629,
  6060. lArr: 8656,
  6061. uArr: 8657,
  6062. rArr: 8658,
  6063. dArr: 8659,
  6064. hArr: 8660,
  6065. forall: 8704,
  6066. part: 8706,
  6067. exist: 8707,
  6068. empty: 8709,
  6069. nabla: 8711,
  6070. isin: 8712,
  6071. notin: 8713,
  6072. ni: 8715,
  6073. prod: 8719,
  6074. sum: 8721,
  6075. minus: 8722,
  6076. lowast: 8727,
  6077. radic: 8730,
  6078. prop: 8733,
  6079. infin: 8734,
  6080. ang: 8736,
  6081. and: 8743,
  6082. or: 8744,
  6083. cap: 8745,
  6084. cup: 8746,
  6085. int: 8747,
  6086. there4: 8756,
  6087. sim: 8764,
  6088. cong: 8773,
  6089. asymp: 8776,
  6090. ne: 8800,
  6091. equiv: 8801,
  6092. le: 8804,
  6093. ge: 8805,
  6094. sub: 8834,
  6095. sup: 8835,
  6096. nsub: 8836,
  6097. sube: 8838,
  6098. supe: 8839,
  6099. oplus: 8853,
  6100. otimes: 8855,
  6101. perp: 8869,
  6102. sdot: 8901,
  6103. lceil: 8968,
  6104. rceil: 8969,
  6105. lfloor: 8970,
  6106. rfloor: 8971,
  6107. lang: 9001,
  6108. rang: 9002,
  6109. loz: 9674,
  6110. spades: 9824,
  6111. clubs: 9827,
  6112. hearts: 9829,
  6113. diams: 9830
  6114. }),
  6115. Object.keys(t.ENTITIES).forEach(function (e) {
  6116. var r = t.ENTITIES[e],
  6117. n = "number" === typeof r ? String.fromCharCode(r) : r
  6118. t.ENTITIES[e] = n
  6119. }),
  6120. t.STATE))
  6121. t.STATE[t.STATE[C]] = C
  6122. function k(e, t, r) {
  6123. e[t] && e[t](r)
  6124. }
  6125. function L(e, t, r) {
  6126. e.textNode && P(e), k(e, t, r)
  6127. }
  6128. function P(e) {
  6129. ;(e.textNode = O(e.opt, e.textNode)), e.textNode && k(e, "ontext", e.textNode), (e.textNode = "")
  6130. }
  6131. function O(e, t) {
  6132. return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t
  6133. }
  6134. function j(e, t) {
  6135. return (
  6136. P(e),
  6137. e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c),
  6138. (t = new Error(t)),
  6139. (e.error = t),
  6140. k(e, "onerror", t),
  6141. e
  6142. )
  6143. }
  6144. function R(e) {
  6145. return (
  6146. e.sawRoot && !e.closedRoot && I(e, "Unclosed root tag"),
  6147. e.state !== S.BEGIN && e.state !== S.BEGIN_WHITESPACE && e.state !== S.TEXT && j(e, "Unexpected end"),
  6148. P(e),
  6149. (e.c = ""),
  6150. (e.closed = !0),
  6151. k(e, "onend"),
  6152. o.call(e, e.strict, e.opt),
  6153. e
  6154. )
  6155. }
  6156. function I(e, t) {
  6157. if ("object" !== typeof e || !(e instanceof o)) throw new Error("bad call to strictFail")
  6158. e.strict && j(e, t)
  6159. }
  6160. function N(e) {
  6161. e.strict || (e.tagName = e.tagName[e.looseCase]())
  6162. var t = e.tags[e.tags.length - 1] || e,
  6163. r = (e.tag = {
  6164. name: e.tagName,
  6165. attributes: {}
  6166. })
  6167. e.opt.xmlns && (r.ns = t.ns), (e.attribList.length = 0), L(e, "onopentagstart", r)
  6168. }
  6169. function M(e, t) {
  6170. var r = e.indexOf(":"),
  6171. n = r < 0 ? ["", e] : e.split(":"),
  6172. i = n[0],
  6173. o = n[1]
  6174. return (
  6175. t && "xmlns" === e && ((i = "xmlns"), (o = "")),
  6176. {
  6177. prefix: i,
  6178. local: o
  6179. }
  6180. )
  6181. }
  6182. function D(e) {
  6183. if (
  6184. (e.strict || (e.attribName = e.attribName[e.looseCase]()),
  6185. -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName))
  6186. )
  6187. e.attribName = e.attribValue = ""
  6188. else {
  6189. if (e.opt.xmlns) {
  6190. var t = M(e.attribName, !0),
  6191. r = t.prefix,
  6192. n = t.local
  6193. if ("xmlns" === r)
  6194. if ("xml" === n && e.attribValue !== h) I(e, "xml: prefix must be bound to " + h + "\nActual: " + e.attribValue)
  6195. else if ("xmlns" === n && e.attribValue !== m) I(e, "xmlns: prefix must be bound to " + m + "\nActual: " + e.attribValue)
  6196. else {
  6197. var i = e.tag,
  6198. o = e.tags[e.tags.length - 1] || e
  6199. i.ns === o.ns && (i.ns = Object.create(o.ns)), (i.ns[n] = e.attribValue)
  6200. }
  6201. e.attribList.push([e.attribName, e.attribValue])
  6202. } else
  6203. (e.tag.attributes[e.attribName] = e.attribValue),
  6204. L(e, "onattribute", {
  6205. name: e.attribName,
  6206. value: e.attribValue
  6207. })
  6208. e.attribName = e.attribValue = ""
  6209. }
  6210. }
  6211. function B(e, t) {
  6212. if (e.opt.xmlns) {
  6213. var r = e.tag,
  6214. n = M(e.tagName)
  6215. ;(r.prefix = n.prefix),
  6216. (r.local = n.local),
  6217. (r.uri = r.ns[n.prefix] || ""),
  6218. r.prefix && !r.uri && (I(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), (r.uri = n.prefix))
  6219. var i = e.tags[e.tags.length - 1] || e
  6220. r.ns &&
  6221. i.ns !== r.ns &&
  6222. Object.keys(r.ns).forEach(function (t) {
  6223. L(e, "onopennamespace", {
  6224. prefix: t,
  6225. uri: r.ns[t]
  6226. })
  6227. })
  6228. for (var o = 0, a = e.attribList.length; o < a; o++) {
  6229. var s = e.attribList[o],
  6230. l = s[0],
  6231. c = s[1],
  6232. u = M(l, !0),
  6233. f = u.prefix,
  6234. p = u.local,
  6235. d = "" === f ? "" : r.ns[f] || "",
  6236. h = {
  6237. name: l,
  6238. value: c,
  6239. prefix: f,
  6240. local: p,
  6241. uri: d
  6242. }
  6243. f && "xmlns" !== f && !d && (I(e, "Unbound namespace prefix: " + JSON.stringify(f)), (h.uri = f)),
  6244. (e.tag.attributes[l] = h),
  6245. L(e, "onattribute", h)
  6246. }
  6247. e.attribList.length = 0
  6248. }
  6249. ;(e.tag.isSelfClosing = !!t),
  6250. (e.sawRoot = !0),
  6251. e.tags.push(e.tag),
  6252. L(e, "onopentag", e.tag),
  6253. t ||
  6254. (e.noscript || "script" !== e.tagName.toLowerCase() ? (e.state = S.TEXT) : (e.state = S.SCRIPT),
  6255. (e.tag = null),
  6256. (e.tagName = "")),
  6257. (e.attribName = e.attribValue = ""),
  6258. (e.attribList.length = 0)
  6259. }
  6260. function F(e) {
  6261. if (!e.tagName) return I(e, "Weird empty close tag."), (e.textNode += "</>"), void (e.state = S.TEXT)
  6262. if (e.script) {
  6263. if ("script" !== e.tagName) return (e.script += "</" + e.tagName + ">"), (e.tagName = ""), void (e.state = S.SCRIPT)
  6264. L(e, "onscript", e.script), (e.script = "")
  6265. }
  6266. var t = e.tags.length,
  6267. r = e.tagName
  6268. e.strict || (r = r[e.looseCase]())
  6269. var n = r
  6270. while (t--) {
  6271. var i = e.tags[t]
  6272. if (i.name === n) break
  6273. I(e, "Unexpected close tag")
  6274. }
  6275. if (t < 0) return I(e, "Unmatched closing tag: " + e.tagName), (e.textNode += "</" + e.tagName + ">"), void (e.state = S.TEXT)
  6276. e.tagName = r
  6277. var o = e.tags.length
  6278. while (o-- > t) {
  6279. var a = (e.tag = e.tags.pop())
  6280. ;(e.tagName = e.tag.name), L(e, "onclosetag", e.tagName)
  6281. var s = {}
  6282. for (var l in a.ns) s[l] = a.ns[l]
  6283. var c = e.tags[e.tags.length - 1] || e
  6284. e.opt.xmlns &&
  6285. a.ns !== c.ns &&
  6286. Object.keys(a.ns).forEach(function (t) {
  6287. var r = a.ns[t]
  6288. L(e, "onclosenamespace", {
  6289. prefix: t,
  6290. uri: r
  6291. })
  6292. })
  6293. }
  6294. 0 === t && (e.closedRoot = !0), (e.tagName = e.attribValue = e.attribName = ""), (e.attribList.length = 0), (e.state = S.TEXT)
  6295. }
  6296. function U(e) {
  6297. var t,
  6298. r = e.entity,
  6299. n = r.toLowerCase(),
  6300. i = ""
  6301. return e.ENTITIES[r]
  6302. ? e.ENTITIES[r]
  6303. : e.ENTITIES[n]
  6304. ? e.ENTITIES[n]
  6305. : ((r = n),
  6306. "#" === r.charAt(0) &&
  6307. ("x" === r.charAt(1)
  6308. ? ((r = r.slice(2)), (t = parseInt(r, 16)), (i = t.toString(16)))
  6309. : ((r = r.slice(1)), (t = parseInt(r, 10)), (i = t.toString(10)))),
  6310. (r = r.replace(/^0+/, "")),
  6311. isNaN(t) || i.toLowerCase() !== r ? (I(e, "Invalid character entity"), "&" + e.entity + ";") : String.fromCodePoint(t))
  6312. }
  6313. function z(e, t) {
  6314. "<" === t
  6315. ? ((e.state = S.OPEN_WAKA), (e.startTagPosition = e.position))
  6316. : x(t) || (I(e, "Non-whitespace before first tag."), (e.textNode = t), (e.state = S.TEXT))
  6317. }
  6318. function q(e, t) {
  6319. var r = ""
  6320. return t < e.length && (r = e.charAt(t)), r
  6321. }
  6322. function G(e) {
  6323. var t = this
  6324. if (this.error) throw this.error
  6325. if (t.closed) return j(t, "Cannot write after close. Assign an onready handler.")
  6326. if (null === e) return R(t)
  6327. "object" === typeof e && (e = e.toString())
  6328. var r = 0,
  6329. n = ""
  6330. while (1) {
  6331. if (((n = q(e, r++)), (t.c = n), !n)) break
  6332. switch ((t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++), t.state)) {
  6333. case S.BEGIN:
  6334. if (((t.state = S.BEGIN_WHITESPACE), "\ufeff" === n)) continue
  6335. z(t, n)
  6336. continue
  6337. case S.BEGIN_WHITESPACE:
  6338. z(t, n)
  6339. continue
  6340. case S.TEXT:
  6341. if (t.sawRoot && !t.closedRoot) {
  6342. var i = r - 1
  6343. while (n && "<" !== n && "&" !== n)
  6344. (n = q(e, r++)), n && t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++)
  6345. t.textNode += e.substring(i, r - 1)
  6346. }
  6347. "<" !== n || (t.sawRoot && t.closedRoot && !t.strict)
  6348. ? (x(n) || (t.sawRoot && !t.closedRoot) || I(t, "Text data outside of root node."),
  6349. "&" === n ? (t.state = S.TEXT_ENTITY) : (t.textNode += n))
  6350. : ((t.state = S.OPEN_WAKA), (t.startTagPosition = t.position))
  6351. continue
  6352. case S.SCRIPT:
  6353. "<" === n ? (t.state = S.SCRIPT_ENDING) : (t.script += n)
  6354. continue
  6355. case S.SCRIPT_ENDING:
  6356. "/" === n ? (t.state = S.CLOSE_TAG) : ((t.script += "<" + n), (t.state = S.SCRIPT))
  6357. continue
  6358. case S.OPEN_WAKA:
  6359. if ("!" === n) (t.state = S.SGML_DECL), (t.sgmlDecl = "")
  6360. else if (x(n));
  6361. else if (T(y, n)) (t.state = S.OPEN_TAG), (t.tagName = n)
  6362. else if ("/" === n) (t.state = S.CLOSE_TAG), (t.tagName = "")
  6363. else if ("?" === n) (t.state = S.PROC_INST), (t.procInstName = t.procInstBody = "")
  6364. else {
  6365. if ((I(t, "Unencoded <"), t.startTagPosition + 1 < t.position)) {
  6366. var o = t.position - t.startTagPosition
  6367. n = new Array(o).join(" ") + n
  6368. }
  6369. ;(t.textNode += "<" + n), (t.state = S.TEXT)
  6370. }
  6371. continue
  6372. case S.SGML_DECL:
  6373. ;(t.sgmlDecl + n).toUpperCase() === p
  6374. ? (L(t, "onopencdata"), (t.state = S.CDATA), (t.sgmlDecl = ""), (t.cdata = ""))
  6375. : t.sgmlDecl + n === "--"
  6376. ? ((t.state = S.COMMENT), (t.comment = ""), (t.sgmlDecl = ""))
  6377. : (t.sgmlDecl + n).toUpperCase() === d
  6378. ? ((t.state = S.DOCTYPE),
  6379. (t.doctype || t.sawRoot) && I(t, "Inappropriately located doctype declaration"),
  6380. (t.doctype = ""),
  6381. (t.sgmlDecl = ""))
  6382. : ">" === n
  6383. ? (L(t, "onsgmldeclaration", t.sgmlDecl), (t.sgmlDecl = ""), (t.state = S.TEXT))
  6384. : A(n)
  6385. ? ((t.state = S.SGML_DECL_QUOTED), (t.sgmlDecl += n))
  6386. : (t.sgmlDecl += n)
  6387. continue
  6388. case S.SGML_DECL_QUOTED:
  6389. n === t.q && ((t.state = S.SGML_DECL), (t.q = "")), (t.sgmlDecl += n)
  6390. continue
  6391. case S.DOCTYPE:
  6392. ">" === n
  6393. ? ((t.state = S.TEXT), L(t, "ondoctype", t.doctype), (t.doctype = !0))
  6394. : ((t.doctype += n), "[" === n ? (t.state = S.DOCTYPE_DTD) : A(n) && ((t.state = S.DOCTYPE_QUOTED), (t.q = n)))
  6395. continue
  6396. case S.DOCTYPE_QUOTED:
  6397. ;(t.doctype += n), n === t.q && ((t.q = ""), (t.state = S.DOCTYPE))
  6398. continue
  6399. case S.DOCTYPE_DTD:
  6400. ;(t.doctype += n), "]" === n ? (t.state = S.DOCTYPE) : A(n) && ((t.state = S.DOCTYPE_DTD_QUOTED), (t.q = n))
  6401. continue
  6402. case S.DOCTYPE_DTD_QUOTED:
  6403. ;(t.doctype += n), n === t.q && ((t.state = S.DOCTYPE_DTD), (t.q = ""))
  6404. continue
  6405. case S.COMMENT:
  6406. "-" === n ? (t.state = S.COMMENT_ENDING) : (t.comment += n)
  6407. continue
  6408. case S.COMMENT_ENDING:
  6409. "-" === n
  6410. ? ((t.state = S.COMMENT_ENDED),
  6411. (t.comment = O(t.opt, t.comment)),
  6412. t.comment && L(t, "oncomment", t.comment),
  6413. (t.comment = ""))
  6414. : ((t.comment += "-" + n), (t.state = S.COMMENT))
  6415. continue
  6416. case S.COMMENT_ENDED:
  6417. ">" !== n ? (I(t, "Malformed comment"), (t.comment += "--" + n), (t.state = S.COMMENT)) : (t.state = S.TEXT)
  6418. continue
  6419. case S.CDATA:
  6420. "]" === n ? (t.state = S.CDATA_ENDING) : (t.cdata += n)
  6421. continue
  6422. case S.CDATA_ENDING:
  6423. "]" === n ? (t.state = S.CDATA_ENDING_2) : ((t.cdata += "]" + n), (t.state = S.CDATA))
  6424. continue
  6425. case S.CDATA_ENDING_2:
  6426. ">" === n
  6427. ? (t.cdata && L(t, "oncdata", t.cdata), L(t, "onclosecdata"), (t.cdata = ""), (t.state = S.TEXT))
  6428. : "]" === n
  6429. ? (t.cdata += "]")
  6430. : ((t.cdata += "]]" + n), (t.state = S.CDATA))
  6431. continue
  6432. case S.PROC_INST:
  6433. "?" === n ? (t.state = S.PROC_INST_ENDING) : x(n) ? (t.state = S.PROC_INST_BODY) : (t.procInstName += n)
  6434. continue
  6435. case S.PROC_INST_BODY:
  6436. if (!t.procInstBody && x(n)) continue
  6437. "?" === n ? (t.state = S.PROC_INST_ENDING) : (t.procInstBody += n)
  6438. continue
  6439. case S.PROC_INST_ENDING:
  6440. ">" === n
  6441. ? (L(t, "onprocessinginstruction", {
  6442. name: t.procInstName,
  6443. body: t.procInstBody
  6444. }),
  6445. (t.procInstName = t.procInstBody = ""),
  6446. (t.state = S.TEXT))
  6447. : ((t.procInstBody += "?" + n), (t.state = S.PROC_INST_BODY))
  6448. continue
  6449. case S.OPEN_TAG:
  6450. T(v, n)
  6451. ? (t.tagName += n)
  6452. : (N(t),
  6453. ">" === n
  6454. ? B(t)
  6455. : "/" === n
  6456. ? (t.state = S.OPEN_TAG_SLASH)
  6457. : (x(n) || I(t, "Invalid character in tag name"), (t.state = S.ATTRIB)))
  6458. continue
  6459. case S.OPEN_TAG_SLASH:
  6460. ">" === n ? (B(t, !0), F(t)) : (I(t, "Forward-slash in opening tag not followed by >"), (t.state = S.ATTRIB))
  6461. continue
  6462. case S.ATTRIB:
  6463. if (x(n)) continue
  6464. ">" === n
  6465. ? B(t)
  6466. : "/" === n
  6467. ? (t.state = S.OPEN_TAG_SLASH)
  6468. : T(y, n)
  6469. ? ((t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME))
  6470. : I(t, "Invalid attribute name")
  6471. continue
  6472. case S.ATTRIB_NAME:
  6473. "=" === n
  6474. ? (t.state = S.ATTRIB_VALUE)
  6475. : ">" === n
  6476. ? (I(t, "Attribute without value"), (t.attribValue = t.attribName), D(t), B(t))
  6477. : x(n)
  6478. ? (t.state = S.ATTRIB_NAME_SAW_WHITE)
  6479. : T(v, n)
  6480. ? (t.attribName += n)
  6481. : I(t, "Invalid attribute name")
  6482. continue
  6483. case S.ATTRIB_NAME_SAW_WHITE:
  6484. if ("=" === n) t.state = S.ATTRIB_VALUE
  6485. else {
  6486. if (x(n)) continue
  6487. I(t, "Attribute without value"),
  6488. (t.tag.attributes[t.attribName] = ""),
  6489. (t.attribValue = ""),
  6490. L(t, "onattribute", {
  6491. name: t.attribName,
  6492. value: ""
  6493. }),
  6494. (t.attribName = ""),
  6495. ">" === n
  6496. ? B(t)
  6497. : T(y, n)
  6498. ? ((t.attribName = n), (t.state = S.ATTRIB_NAME))
  6499. : (I(t, "Invalid attribute name"), (t.state = S.ATTRIB))
  6500. }
  6501. continue
  6502. case S.ATTRIB_VALUE:
  6503. if (x(n)) continue
  6504. A(n)
  6505. ? ((t.q = n), (t.state = S.ATTRIB_VALUE_QUOTED))
  6506. : (I(t, "Unquoted attribute value"), (t.state = S.ATTRIB_VALUE_UNQUOTED), (t.attribValue = n))
  6507. continue
  6508. case S.ATTRIB_VALUE_QUOTED:
  6509. if (n !== t.q) {
  6510. "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += n)
  6511. continue
  6512. }
  6513. D(t), (t.q = ""), (t.state = S.ATTRIB_VALUE_CLOSED)
  6514. continue
  6515. case S.ATTRIB_VALUE_CLOSED:
  6516. x(n)
  6517. ? (t.state = S.ATTRIB)
  6518. : ">" === n
  6519. ? B(t)
  6520. : "/" === n
  6521. ? (t.state = S.OPEN_TAG_SLASH)
  6522. : T(y, n)
  6523. ? (I(t, "No whitespace between attributes"), (t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME))
  6524. : I(t, "Invalid attribute name")
  6525. continue
  6526. case S.ATTRIB_VALUE_UNQUOTED:
  6527. if (!_(n)) {
  6528. "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += n)
  6529. continue
  6530. }
  6531. D(t), ">" === n ? B(t) : (t.state = S.ATTRIB)
  6532. continue
  6533. case S.CLOSE_TAG:
  6534. if (t.tagName)
  6535. ">" === n
  6536. ? F(t)
  6537. : T(v, n)
  6538. ? (t.tagName += n)
  6539. : t.script
  6540. ? ((t.script += "</" + t.tagName), (t.tagName = ""), (t.state = S.SCRIPT))
  6541. : (x(n) || I(t, "Invalid tagname in closing tag"), (t.state = S.CLOSE_TAG_SAW_WHITE))
  6542. else {
  6543. if (x(n)) continue
  6544. E(y, n)
  6545. ? t.script
  6546. ? ((t.script += "</" + n), (t.state = S.SCRIPT))
  6547. : I(t, "Invalid tagname in closing tag.")
  6548. : (t.tagName = n)
  6549. }
  6550. continue
  6551. case S.CLOSE_TAG_SAW_WHITE:
  6552. if (x(n)) continue
  6553. ">" === n ? F(t) : I(t, "Invalid characters in closing tag")
  6554. continue
  6555. case S.TEXT_ENTITY:
  6556. case S.ATTRIB_VALUE_ENTITY_Q:
  6557. case S.ATTRIB_VALUE_ENTITY_U:
  6558. var s, l
  6559. switch (t.state) {
  6560. case S.TEXT_ENTITY:
  6561. ;(s = S.TEXT), (l = "textNode")
  6562. break
  6563. case S.ATTRIB_VALUE_ENTITY_Q:
  6564. ;(s = S.ATTRIB_VALUE_QUOTED), (l = "attribValue")
  6565. break
  6566. case S.ATTRIB_VALUE_ENTITY_U:
  6567. ;(s = S.ATTRIB_VALUE_UNQUOTED), (l = "attribValue")
  6568. break
  6569. }
  6570. ";" === n
  6571. ? ((t[l] += U(t)), (t.entity = ""), (t.state = s))
  6572. : T(t.entity.length ? w : b, n)
  6573. ? (t.entity += n)
  6574. : (I(t, "Invalid character in entity name"), (t[l] += "&" + t.entity + n), (t.entity = ""), (t.state = s))
  6575. continue
  6576. default:
  6577. throw new Error(t, "Unknown state: " + t.state)
  6578. }
  6579. }
  6580. return t.position >= t.bufferCheckPosition && a(t), t
  6581. }
  6582. /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
  6583. ;(S = t.STATE),
  6584. String.fromCodePoint ||
  6585. (function () {
  6586. var e = String.fromCharCode,
  6587. t = Math.floor,
  6588. r = function () {
  6589. var r,
  6590. n,
  6591. i = 16384,
  6592. o = [],
  6593. a = -1,
  6594. s = arguments.length
  6595. if (!s) return ""
  6596. var l = ""
  6597. while (++a < s) {
  6598. var c = Number(arguments[a])
  6599. if (!isFinite(c) || c < 0 || c > 1114111 || t(c) !== c) throw RangeError("Invalid code point: " + c)
  6600. c <= 65535 ? o.push(c) : ((c -= 65536), (r = 55296 + (c >> 10)), (n = (c % 1024) + 56320), o.push(r, n)),
  6601. (a + 1 === s || o.length > i) && ((l += e.apply(null, o)), (o.length = 0))
  6602. }
  6603. return l
  6604. }
  6605. Object.defineProperty
  6606. ? Object.defineProperty(String, "fromCodePoint", {
  6607. value: r,
  6608. configurable: !0,
  6609. writable: !0
  6610. })
  6611. : (String.fromCodePoint = r)
  6612. })()
  6613. })(t)
  6614. }).call(this, r("b639").Buffer)
  6615. },
  6616. "342f": function (e, t, r) {
  6617. var n = r("d066")
  6618. e.exports = n("navigator", "userAgent") || ""
  6619. },
  6620. "35a1": function (e, t, r) {
  6621. var n = r("f5df"),
  6622. i = r("3f8c"),
  6623. o = r("b622"),
  6624. a = o("iterator")
  6625. e.exports = function (e) {
  6626. if (void 0 != e) return e[a] || e["@@iterator"] || i[n(e)]
  6627. }
  6628. },
  6629. "37e8": function (e, t, r) {
  6630. var n = r("83ab"),
  6631. i = r("9bf2"),
  6632. o = r("825a"),
  6633. a = r("df75")
  6634. e.exports = n
  6635. ? Object.defineProperties
  6636. : function (e, t) {
  6637. o(e)
  6638. var r,
  6639. n = a(t),
  6640. s = n.length,
  6641. l = 0
  6642. while (s > l) i.f(e, (r = n[l++]), t[r])
  6643. return e
  6644. }
  6645. },
  6646. "3a7c": function (e, t, r) {
  6647. function n(e) {
  6648. return Array.isArray ? Array.isArray(e) : "[object Array]" === y(e)
  6649. }
  6650. function i(e) {
  6651. return "boolean" === typeof e
  6652. }
  6653. function o(e) {
  6654. return null === e
  6655. }
  6656. function a(e) {
  6657. return null == e
  6658. }
  6659. function s(e) {
  6660. return "number" === typeof e
  6661. }
  6662. function l(e) {
  6663. return "string" === typeof e
  6664. }
  6665. function c(e) {
  6666. return "symbol" === typeof e
  6667. }
  6668. function u(e) {
  6669. return void 0 === e
  6670. }
  6671. function f(e) {
  6672. return "[object RegExp]" === y(e)
  6673. }
  6674. function p(e) {
  6675. return "object" === typeof e && null !== e
  6676. }
  6677. function d(e) {
  6678. return "[object Date]" === y(e)
  6679. }
  6680. function h(e) {
  6681. return "[object Error]" === y(e) || e instanceof Error
  6682. }
  6683. function m(e) {
  6684. return "function" === typeof e
  6685. }
  6686. function g(e) {
  6687. return (
  6688. null === e ||
  6689. "boolean" === typeof e ||
  6690. "number" === typeof e ||
  6691. "string" === typeof e ||
  6692. "symbol" === typeof e ||
  6693. "undefined" === typeof e
  6694. )
  6695. }
  6696. function y(e) {
  6697. return Object.prototype.toString.call(e)
  6698. }
  6699. ;(t.isArray = n),
  6700. (t.isBoolean = i),
  6701. (t.isNull = o),
  6702. (t.isNullOrUndefined = a),
  6703. (t.isNumber = s),
  6704. (t.isString = l),
  6705. (t.isSymbol = c),
  6706. (t.isUndefined = u),
  6707. (t.isRegExp = f),
  6708. (t.isObject = p),
  6709. (t.isDate = d),
  6710. (t.isError = h),
  6711. (t.isFunction = m),
  6712. (t.isPrimitive = g),
  6713. (t.isBuffer = r("b639").Buffer.isBuffer)
  6714. },
  6715. "3bbe": function (e, t, r) {
  6716. var n = r("861d")
  6717. e.exports = function (e) {
  6718. if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype")
  6719. return e
  6720. }
  6721. },
  6722. "3ca3": function (e, t, r) {
  6723. "use strict"
  6724. var n = r("6547").charAt,
  6725. i = r("577e"),
  6726. o = r("69f3"),
  6727. a = r("7dd0"),
  6728. s = "String Iterator",
  6729. l = o.set,
  6730. c = o.getterFor(s)
  6731. a(
  6732. String,
  6733. "String",
  6734. function (e) {
  6735. l(this, {
  6736. type: s,
  6737. string: i(e),
  6738. index: 0
  6739. })
  6740. },
  6741. function () {
  6742. var e,
  6743. t = c(this),
  6744. r = t.string,
  6745. i = t.index
  6746. return i >= r.length
  6747. ? {
  6748. value: void 0,
  6749. done: !0
  6750. }
  6751. : ((e = n(r, i)),
  6752. (t.index += e.length),
  6753. {
  6754. value: e,
  6755. done: !1
  6756. })
  6757. }
  6758. )
  6759. },
  6760. "3f8c": function (e, t) {
  6761. e.exports = {}
  6762. },
  6763. "3fb5": function (e, t) {
  6764. "function" === typeof Object.create
  6765. ? (e.exports = function (e, t) {
  6766. t &&
  6767. ((e.super_ = t),
  6768. (e.prototype = Object.create(t.prototype, {
  6769. constructor: {
  6770. value: e,
  6771. enumerable: !1,
  6772. writable: !0,
  6773. configurable: !0
  6774. }
  6775. })))
  6776. })
  6777. : (e.exports = function (e, t) {
  6778. if (t) {
  6779. e.super_ = t
  6780. var r = function () {}
  6781. ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e)
  6782. }
  6783. })
  6784. },
  6785. "428f": function (e, t, r) {
  6786. var n = r("da84")
  6787. e.exports = n
  6788. },
  6789. "429b": function (e, t, r) {
  6790. e.exports = r("faa1").EventEmitter
  6791. },
  6792. 4362: function (e, t, r) {
  6793. ;(t.nextTick = function (e) {
  6794. var t = Array.prototype.slice.call(arguments)
  6795. t.shift(),
  6796. setTimeout(function () {
  6797. e.apply(null, t)
  6798. }, 0)
  6799. }),
  6800. (t.platform = t.arch = t.execPath = t.title = "browser"),
  6801. (t.pid = 1),
  6802. (t.browser = !0),
  6803. (t.env = {}),
  6804. (t.argv = []),
  6805. (t.binding = function (e) {
  6806. throw new Error("No such module. (Possibly not yet loaded)")
  6807. }),
  6808. (function () {
  6809. var e,
  6810. n = "/"
  6811. ;(t.cwd = function () {
  6812. return n
  6813. }),
  6814. (t.chdir = function (t) {
  6815. e || (e = r("df7c")), (n = e.resolve(t, n))
  6816. })
  6817. })(),
  6818. (t.exit = t.kill = t.umask = t.dlopen = t.uptime = t.memoryUsage = t.uvCounters = function () {}),
  6819. (t.features = {})
  6820. },
  6821. "44ad": function (e, t, r) {
  6822. var n = r("d039"),
  6823. i = r("c6b6"),
  6824. o = "".split
  6825. e.exports = n(function () {
  6826. return !Object("z").propertyIsEnumerable(0)
  6827. })
  6828. ? function (e) {
  6829. return "String" == i(e) ? o.call(e, "") : Object(e)
  6830. }
  6831. : Object
  6832. },
  6833. "44d2": function (e, t, r) {
  6834. var n = r("b622"),
  6835. i = r("7c73"),
  6836. o = r("9bf2"),
  6837. a = n("unscopables"),
  6838. s = Array.prototype
  6839. void 0 == s[a] &&
  6840. o.f(s, a, {
  6841. configurable: !0,
  6842. value: i(null)
  6843. }),
  6844. (e.exports = function (e) {
  6845. s[a][e] = !0
  6846. })
  6847. },
  6848. "44e7": function (e, t, r) {
  6849. var n = r("861d"),
  6850. i = r("c6b6"),
  6851. o = r("b622"),
  6852. a = o("match")
  6853. e.exports = function (e) {
  6854. var t
  6855. return n(e) && (void 0 !== (t = e[a]) ? !!t : "RegExp" == i(e))
  6856. }
  6857. },
  6858. 4681: function (e, t, r) {
  6859. "use strict"
  6860. var n = r("966d")
  6861. function i(e, t) {
  6862. var r = this,
  6863. i = this._readableState && this._readableState.destroyed,
  6864. o = this._writableState && this._writableState.destroyed
  6865. return i || o
  6866. ? (t ? t(e) : !e || (this._writableState && this._writableState.errorEmitted) || n.nextTick(a, this, e), this)
  6867. : (this._readableState && (this._readableState.destroyed = !0),
  6868. this._writableState && (this._writableState.destroyed = !0),
  6869. this._destroy(e || null, function (e) {
  6870. !t && e ? (n.nextTick(a, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e)
  6871. }),
  6872. this)
  6873. }
  6874. function o() {
  6875. this._readableState &&
  6876. ((this._readableState.destroyed = !1),
  6877. (this._readableState.reading = !1),
  6878. (this._readableState.ended = !1),
  6879. (this._readableState.endEmitted = !1)),
  6880. this._writableState &&
  6881. ((this._writableState.destroyed = !1),
  6882. (this._writableState.ended = !1),
  6883. (this._writableState.ending = !1),
  6884. (this._writableState.finished = !1),
  6885. (this._writableState.errorEmitted = !1))
  6886. }
  6887. function a(e, t) {
  6888. e.emit("error", t)
  6889. }
  6890. e.exports = {
  6891. destroy: i,
  6892. undestroy: o
  6893. }
  6894. },
  6895. 4840: function (e, t, r) {
  6896. var n = r("825a"),
  6897. i = r("1c0b"),
  6898. o = r("b622"),
  6899. a = o("species")
  6900. e.exports = function (e, t) {
  6901. var r,
  6902. o = n(e).constructor
  6903. return void 0 === o || void 0 == (r = n(o)[a]) ? t : i(r)
  6904. }
  6905. },
  6906. "485a": function (e, t, r) {
  6907. var n = r("861d")
  6908. e.exports = function (e, t) {
  6909. var r, i
  6910. if ("string" === t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
  6911. if ("function" == typeof (r = e.valueOf) && !n((i = r.call(e)))) return i
  6912. if ("string" !== t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
  6913. throw TypeError("Can't convert object to primitive value")
  6914. }
  6915. },
  6916. 4930: function (e, t, r) {
  6917. var n = r("2d00"),
  6918. i = r("d039")
  6919. e.exports =
  6920. !!Object.getOwnPropertySymbols &&
  6921. !i(function () {
  6922. var e = Symbol()
  6923. return !String(e) || !(Object(e) instanceof Symbol) || (!Symbol.sham && n && n < 41)
  6924. })
  6925. },
  6926. "493b": function (e, t, r) {
  6927. ;(function (t) {
  6928. var n = r("cef9")
  6929. e.exports = function (e, r) {
  6930. e instanceof t && (e = e.toString())
  6931. var i = null
  6932. if ("string" === typeof e)
  6933. try {
  6934. i = JSON.parse(e)
  6935. } catch (o) {
  6936. throw new Error("The JSON structure is invalid")
  6937. }
  6938. else i = e
  6939. return n(i, r)
  6940. }
  6941. }).call(this, r("b639").Buffer)
  6942. },
  6943. "498a": function (e, t, r) {
  6944. "use strict"
  6945. var n = r("23e7"),
  6946. i = r("58a8").trim,
  6947. o = r("c8d2")
  6948. n(
  6949. {
  6950. target: "String",
  6951. proto: !0,
  6952. forced: o("trim")
  6953. },
  6954. {
  6955. trim: function () {
  6956. return i(this)
  6957. }
  6958. }
  6959. )
  6960. },
  6961. "4d64": function (e, t, r) {
  6962. var n = r("fc6a"),
  6963. i = r("50c4"),
  6964. o = r("23cb"),
  6965. a = function (e) {
  6966. return function (t, r, a) {
  6967. var s,
  6968. l = n(t),
  6969. c = i(l.length),
  6970. u = o(a, c)
  6971. if (e && r != r) {
  6972. while (c > u) if (((s = l[u++]), s != s)) return !0
  6973. } else for (; c > u; u++) if ((e || u in l) && l[u] === r) return e || u || 0
  6974. return !e && -1
  6975. }
  6976. }
  6977. e.exports = {
  6978. includes: a(!0),
  6979. indexOf: a(!1)
  6980. }
  6981. },
  6982. "4de4": function (e, t, r) {
  6983. "use strict"
  6984. var n = r("23e7"),
  6985. i = r("b727").filter,
  6986. o = r("1dde"),
  6987. a = o("filter")
  6988. n(
  6989. {
  6990. target: "Array",
  6991. proto: !0,
  6992. forced: !a
  6993. },
  6994. {
  6995. filter: function (e) {
  6996. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  6997. }
  6998. }
  6999. )
  7000. },
  7001. "4df4": function (e, t, r) {
  7002. "use strict"
  7003. var n = r("0366"),
  7004. i = r("7b0b"),
  7005. o = r("9bdd"),
  7006. a = r("e95a"),
  7007. s = r("50c4"),
  7008. l = r("8418"),
  7009. c = r("9a1f"),
  7010. u = r("35a1")
  7011. e.exports = function (e) {
  7012. var t,
  7013. r,
  7014. f,
  7015. p,
  7016. d,
  7017. h,
  7018. m = i(e),
  7019. g = "function" == typeof this ? this : Array,
  7020. y = arguments.length,
  7021. v = y > 1 ? arguments[1] : void 0,
  7022. b = void 0 !== v,
  7023. w = u(m),
  7024. x = 0
  7025. if ((b && (v = n(v, y > 2 ? arguments[2] : void 0, 2)), void 0 == w || (g == Array && a(w))))
  7026. for (t = s(m.length), r = new g(t); t > x; x++) (h = b ? v(m[x], x) : m[x]), l(r, x, h)
  7027. else for (p = c(m, w), d = p.next, r = new g(); !(f = d.call(p)).done; x++) (h = b ? o(p, v, [f.value, x], !0) : f.value), l(r, x, h)
  7028. return (r.length = x), r
  7029. }
  7030. },
  7031. "50c4": function (e, t, r) {
  7032. var n = r("a691"),
  7033. i = Math.min
  7034. e.exports = function (e) {
  7035. return e > 0 ? i(n(e), 9007199254740991) : 0
  7036. }
  7037. },
  7038. 5135: function (e, t, r) {
  7039. var n = r("7b0b"),
  7040. i = {}.hasOwnProperty
  7041. e.exports =
  7042. Object.hasOwn ||
  7043. function (e, t) {
  7044. return i.call(n(e), t)
  7045. }
  7046. },
  7047. 5319: function (e, t, r) {
  7048. "use strict"
  7049. var n = r("d784"),
  7050. i = r("d039"),
  7051. o = r("825a"),
  7052. a = r("a691"),
  7053. s = r("50c4"),
  7054. l = r("577e"),
  7055. c = r("1d80"),
  7056. u = r("8aa5"),
  7057. f = r("0cb2"),
  7058. p = r("14c3"),
  7059. d = r("b622"),
  7060. h = d("replace"),
  7061. m = Math.max,
  7062. g = Math.min,
  7063. y = function (e) {
  7064. return void 0 === e ? e : String(e)
  7065. },
  7066. v = (function () {
  7067. return "$0" === "a".replace(/./, "$0")
  7068. })(),
  7069. b = (function () {
  7070. return !!/./[h] && "" === /./[h]("a", "$0")
  7071. })(),
  7072. w = !i(function () {
  7073. var e = /./
  7074. return (
  7075. (e.exec = function () {
  7076. var e = []
  7077. return (
  7078. (e.groups = {
  7079. a: "7"
  7080. }),
  7081. e
  7082. )
  7083. }),
  7084. "7" !== "".replace(e, "$<a>")
  7085. )
  7086. })
  7087. n(
  7088. "replace",
  7089. function (e, t, r) {
  7090. var n = b ? "$" : "$0"
  7091. return [
  7092. function (e, r) {
  7093. var n = c(this),
  7094. i = void 0 == e ? void 0 : e[h]
  7095. return void 0 !== i ? i.call(e, n, r) : t.call(l(n), e, r)
  7096. },
  7097. function (e, i) {
  7098. var c = o(this),
  7099. d = l(e)
  7100. if ("string" === typeof i && -1 === i.indexOf(n) && -1 === i.indexOf("$<")) {
  7101. var h = r(t, c, d, i)
  7102. if (h.done) return h.value
  7103. }
  7104. var v = "function" === typeof i
  7105. v || (i = l(i))
  7106. var b = c.global
  7107. if (b) {
  7108. var w = c.unicode
  7109. c.lastIndex = 0
  7110. }
  7111. var x = []
  7112. while (1) {
  7113. var A = p(c, d)
  7114. if (null === A) break
  7115. if ((x.push(A), !b)) break
  7116. var _ = l(A[0])
  7117. "" === _ && (c.lastIndex = u(d, s(c.lastIndex), w))
  7118. }
  7119. for (var T = "", E = 0, S = 0; S < x.length; S++) {
  7120. A = x[S]
  7121. for (var C = l(A[0]), k = m(g(a(A.index), d.length), 0), L = [], P = 1; P < A.length; P++) L.push(y(A[P]))
  7122. var O = A.groups
  7123. if (v) {
  7124. var j = [C].concat(L, k, d)
  7125. void 0 !== O && j.push(O)
  7126. var R = l(i.apply(void 0, j))
  7127. } else R = f(C, d, k, L, O, i)
  7128. k >= E && ((T += d.slice(E, k) + R), (E = k + C.length))
  7129. }
  7130. return T + d.slice(E)
  7131. }
  7132. ]
  7133. },
  7134. !w || !v || b
  7135. )
  7136. },
  7137. 5692: function (e, t, r) {
  7138. var n = r("c430"),
  7139. i = r("c6cd")
  7140. ;(e.exports = function (e, t) {
  7141. return i[e] || (i[e] = void 0 !== t ? t : {})
  7142. })("versions", []).push({
  7143. version: "3.17.2",
  7144. mode: n ? "pure" : "global",
  7145. copyright: "© 2021 Denis Pushkarev (zloirock.ru)"
  7146. })
  7147. },
  7148. "56ef": function (e, t, r) {
  7149. var n = r("d066"),
  7150. i = r("241c"),
  7151. o = r("7418"),
  7152. a = r("825a")
  7153. e.exports =
  7154. n("Reflect", "ownKeys") ||
  7155. function (e) {
  7156. var t = i.f(a(e)),
  7157. r = o.f
  7158. return r ? t.concat(r(e)) : t
  7159. }
  7160. },
  7161. "577e": function (e, t, r) {
  7162. var n = r("d9b5")
  7163. e.exports = function (e) {
  7164. if (n(e)) throw TypeError("Cannot convert a Symbol value to a string")
  7165. return String(e)
  7166. }
  7167. },
  7168. 5899: function (e, t) {
  7169. e.exports = "\t\n\v\f\r                 \u2028\u2029\ufeff"
  7170. },
  7171. "58a8": function (e, t, r) {
  7172. var n = r("1d80"),
  7173. i = r("577e"),
  7174. o = r("5899"),
  7175. a = "[" + o + "]",
  7176. s = RegExp("^" + a + a + "*"),
  7177. l = RegExp(a + a + "*$"),
  7178. c = function (e) {
  7179. return function (t) {
  7180. var r = i(n(t))
  7181. return 1 & e && (r = r.replace(s, "")), 2 & e && (r = r.replace(l, "")), r
  7182. }
  7183. }
  7184. e.exports = {
  7185. start: c(1),
  7186. end: c(2),
  7187. trim: c(3)
  7188. }
  7189. },
  7190. "5a34": function (e, t, r) {
  7191. var n = r("44e7")
  7192. e.exports = function (e) {
  7193. if (n(e)) throw TypeError("The method doesn't accept regular expressions")
  7194. return e
  7195. }
  7196. },
  7197. "5c6c": function (e, t) {
  7198. e.exports = function (e, t) {
  7199. return {
  7200. enumerable: !(1 & e),
  7201. configurable: !(2 & e),
  7202. writable: !(4 & e),
  7203. value: t
  7204. }
  7205. }
  7206. },
  7207. "5e1a": function (e, t, r) {
  7208. "use strict"
  7209. function n(e, t) {
  7210. if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  7211. }
  7212. var i = r("a8f0").Buffer,
  7213. o = r(3)
  7214. function a(e, t, r) {
  7215. e.copy(t, r)
  7216. }
  7217. ;(e.exports = (function () {
  7218. function e() {
  7219. n(this, e), (this.head = null), (this.tail = null), (this.length = 0)
  7220. }
  7221. return (
  7222. (e.prototype.push = function (e) {
  7223. var t = {
  7224. data: e,
  7225. next: null
  7226. }
  7227. this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length
  7228. }),
  7229. (e.prototype.unshift = function (e) {
  7230. var t = {
  7231. data: e,
  7232. next: this.head
  7233. }
  7234. 0 === this.length && (this.tail = t), (this.head = t), ++this.length
  7235. }),
  7236. (e.prototype.shift = function () {
  7237. if (0 !== this.length) {
  7238. var e = this.head.data
  7239. return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e
  7240. }
  7241. }),
  7242. (e.prototype.clear = function () {
  7243. ;(this.head = this.tail = null), (this.length = 0)
  7244. }),
  7245. (e.prototype.join = function (e) {
  7246. if (0 === this.length) return ""
  7247. var t = this.head,
  7248. r = "" + t.data
  7249. while ((t = t.next)) r += e + t.data
  7250. return r
  7251. }),
  7252. (e.prototype.concat = function (e) {
  7253. if (0 === this.length) return i.alloc(0)
  7254. if (1 === this.length) return this.head.data
  7255. var t = i.allocUnsafe(e >>> 0),
  7256. r = this.head,
  7257. n = 0
  7258. while (r) a(r.data, t, n), (n += r.data.length), (r = r.next)
  7259. return t
  7260. }),
  7261. e
  7262. )
  7263. })()),
  7264. o &&
  7265. o.inspect &&
  7266. o.inspect.custom &&
  7267. (e.exports.prototype[o.inspect.custom] = function () {
  7268. var e = o.inspect({
  7269. length: this.length
  7270. })
  7271. return this.constructor.name + " " + e
  7272. })
  7273. },
  7274. "62e4": function (e, t) {
  7275. e.exports = function (e) {
  7276. return (
  7277. e.webpackPolyfill ||
  7278. ((e.deprecate = function () {}),
  7279. (e.paths = []),
  7280. e.children || (e.children = []),
  7281. Object.defineProperty(e, "loaded", {
  7282. enumerable: !0,
  7283. get: function () {
  7284. return e.l
  7285. }
  7286. }),
  7287. Object.defineProperty(e, "id", {
  7288. enumerable: !0,
  7289. get: function () {
  7290. return e.i
  7291. }
  7292. }),
  7293. (e.webpackPolyfill = 1)),
  7294. e
  7295. )
  7296. }
  7297. },
  7298. 6547: function (e, t, r) {
  7299. var n = r("a691"),
  7300. i = r("577e"),
  7301. o = r("1d80"),
  7302. a = function (e) {
  7303. return function (t, r) {
  7304. var a,
  7305. s,
  7306. l = i(o(t)),
  7307. c = n(r),
  7308. u = l.length
  7309. return c < 0 || c >= u
  7310. ? e
  7311. ? ""
  7312. : void 0
  7313. : ((a = l.charCodeAt(c)),
  7314. a < 55296 || a > 56319 || c + 1 === u || (s = l.charCodeAt(c + 1)) < 56320 || s > 57343
  7315. ? e
  7316. ? l.charAt(c)
  7317. : a
  7318. : e
  7319. ? l.slice(c, c + 2)
  7320. : s - 56320 + ((a - 55296) << 10) + 65536)
  7321. }
  7322. }
  7323. e.exports = {
  7324. codeAt: a(!1),
  7325. charAt: a(!0)
  7326. }
  7327. },
  7328. "65f0": function (e, t, r) {
  7329. var n = r("0b42")
  7330. e.exports = function (e, t) {
  7331. return new (n(e))(0 === t ? 0 : t)
  7332. }
  7333. },
  7334. "69f3": function (e, t, r) {
  7335. var n,
  7336. i,
  7337. o,
  7338. a = r("7f9a"),
  7339. s = r("da84"),
  7340. l = r("861d"),
  7341. c = r("9112"),
  7342. u = r("5135"),
  7343. f = r("c6cd"),
  7344. p = r("f772"),
  7345. d = r("d012"),
  7346. h = "Object already initialized",
  7347. m = s.WeakMap,
  7348. g = function (e) {
  7349. return o(e) ? i(e) : n(e, {})
  7350. },
  7351. y = function (e) {
  7352. return function (t) {
  7353. var r
  7354. if (!l(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required")
  7355. return r
  7356. }
  7357. }
  7358. if (a || f.state) {
  7359. var v = f.state || (f.state = new m()),
  7360. b = v.get,
  7361. w = v.has,
  7362. x = v.set
  7363. ;(n = function (e, t) {
  7364. if (w.call(v, e)) throw new TypeError(h)
  7365. return (t.facade = e), x.call(v, e, t), t
  7366. }),
  7367. (i = function (e) {
  7368. return b.call(v, e) || {}
  7369. }),
  7370. (o = function (e) {
  7371. return w.call(v, e)
  7372. })
  7373. } else {
  7374. var A = p("state")
  7375. ;(d[A] = !0),
  7376. (n = function (e, t) {
  7377. if (u(e, A)) throw new TypeError(h)
  7378. return (t.facade = e), c(e, A, t), t
  7379. }),
  7380. (i = function (e) {
  7381. return u(e, A) ? e[A] : {}
  7382. }),
  7383. (o = function (e) {
  7384. return u(e, A)
  7385. })
  7386. }
  7387. e.exports = {
  7388. set: n,
  7389. get: i,
  7390. has: o,
  7391. enforce: g,
  7392. getterFor: y
  7393. }
  7394. },
  7395. "6eeb": function (e, t, r) {
  7396. var n = r("da84"),
  7397. i = r("9112"),
  7398. o = r("5135"),
  7399. a = r("ce4e"),
  7400. s = r("8925"),
  7401. l = r("69f3"),
  7402. c = l.get,
  7403. u = l.enforce,
  7404. f = String(String).split("String")
  7405. ;(e.exports = function (e, t, r, s) {
  7406. var l,
  7407. c = !!s && !!s.unsafe,
  7408. p = !!s && !!s.enumerable,
  7409. d = !!s && !!s.noTargetGet
  7410. "function" == typeof r &&
  7411. ("string" != typeof t || o(r, "name") || i(r, "name", t), (l = u(r)), l.source || (l.source = f.join("string" == typeof t ? t : ""))),
  7412. e !== n ? (c ? !d && e[t] && (p = !0) : delete e[t], p ? (e[t] = r) : i(e, t, r)) : p ? (e[t] = r) : a(t, r)
  7413. })(Function.prototype, "toString", function () {
  7414. return ("function" == typeof this && c(this).source) || s(this)
  7415. })
  7416. },
  7417. 7418: function (e, t) {
  7418. t.f = Object.getOwnPropertySymbols
  7419. },
  7420. "746f": function (e, t, r) {
  7421. var n = r("428f"),
  7422. i = r("5135"),
  7423. o = r("e538"),
  7424. a = r("9bf2").f
  7425. e.exports = function (e) {
  7426. var t = n.Symbol || (n.Symbol = {})
  7427. i(t, e) ||
  7428. a(t, e, {
  7429. value: o.f(e)
  7430. })
  7431. }
  7432. },
  7433. "780f": function (e, t, r) {
  7434. "use strict"
  7435. e.exports = o
  7436. var n = r("27bf"),
  7437. i = Object.create(r("3a7c"))
  7438. function o(e) {
  7439. if (!(this instanceof o)) return new o(e)
  7440. n.call(this, e)
  7441. }
  7442. ;(i.inherits = r("3fb5")),
  7443. i.inherits(o, n),
  7444. (o.prototype._transform = function (e, t, r) {
  7445. r(null, e)
  7446. })
  7447. },
  7448. 7839: function (e, t) {
  7449. e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]
  7450. },
  7451. "7b0b": function (e, t, r) {
  7452. var n = r("1d80")
  7453. e.exports = function (e) {
  7454. return Object(n(e))
  7455. }
  7456. },
  7457. "7c73": function (e, t, r) {
  7458. var n,
  7459. i = r("825a"),
  7460. o = r("37e8"),
  7461. a = r("7839"),
  7462. s = r("d012"),
  7463. l = r("1be4"),
  7464. c = r("cc12"),
  7465. u = r("f772"),
  7466. f = ">",
  7467. p = "<",
  7468. d = "prototype",
  7469. h = "script",
  7470. m = u("IE_PROTO"),
  7471. g = function () {},
  7472. y = function (e) {
  7473. return p + h + f + e + p + "/" + h + f
  7474. },
  7475. v = function (e) {
  7476. e.write(y("")), e.close()
  7477. var t = e.parentWindow.Object
  7478. return (e = null), t
  7479. },
  7480. b = function () {
  7481. var e,
  7482. t = c("iframe"),
  7483. r = "java" + h + ":"
  7484. return (
  7485. (t.style.display = "none"),
  7486. l.appendChild(t),
  7487. (t.src = String(r)),
  7488. (e = t.contentWindow.document),
  7489. e.open(),
  7490. e.write(y("document.F=Object")),
  7491. e.close(),
  7492. e.F
  7493. )
  7494. },
  7495. w = function () {
  7496. try {
  7497. n = new ActiveXObject("htmlfile")
  7498. } catch (t) {}
  7499. w = "undefined" != typeof document ? (document.domain && n ? v(n) : b()) : v(n)
  7500. var e = a.length
  7501. while (e--) delete w[d][a[e]]
  7502. return w()
  7503. }
  7504. ;(s[m] = !0),
  7505. (e.exports =
  7506. Object.create ||
  7507. function (e, t) {
  7508. var r
  7509. return null !== e ? ((g[d] = i(e)), (r = new g()), (g[d] = null), (r[m] = e)) : (r = w()), void 0 === t ? r : o(r, t)
  7510. })
  7511. },
  7512. "7d72": function (e, t, r) {
  7513. "use strict"
  7514. var n = r("8707").Buffer,
  7515. i =
  7516. n.isEncoding ||
  7517. function (e) {
  7518. switch (((e = "" + e), e && e.toLowerCase())) {
  7519. case "hex":
  7520. case "utf8":
  7521. case "utf-8":
  7522. case "ascii":
  7523. case "binary":
  7524. case "base64":
  7525. case "ucs2":
  7526. case "ucs-2":
  7527. case "utf16le":
  7528. case "utf-16le":
  7529. case "raw":
  7530. return !0
  7531. default:
  7532. return !1
  7533. }
  7534. }
  7535. function o(e) {
  7536. if (!e) return "utf8"
  7537. var t
  7538. while (1)
  7539. switch (e) {
  7540. case "utf8":
  7541. case "utf-8":
  7542. return "utf8"
  7543. case "ucs2":
  7544. case "ucs-2":
  7545. case "utf16le":
  7546. case "utf-16le":
  7547. return "utf16le"
  7548. case "latin1":
  7549. case "binary":
  7550. return "latin1"
  7551. case "base64":
  7552. case "ascii":
  7553. case "hex":
  7554. return e
  7555. default:
  7556. if (t) return
  7557. ;(e = ("" + e).toLowerCase()), (t = !0)
  7558. }
  7559. }
  7560. function a(e) {
  7561. var t = o(e)
  7562. if ("string" !== typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e)
  7563. return t || e
  7564. }
  7565. function s(e) {
  7566. var t
  7567. switch (((this.encoding = a(e)), this.encoding)) {
  7568. case "utf16le":
  7569. ;(this.text = h), (this.end = m), (t = 4)
  7570. break
  7571. case "utf8":
  7572. ;(this.fillLast = f), (t = 4)
  7573. break
  7574. case "base64":
  7575. ;(this.text = g), (this.end = y), (t = 3)
  7576. break
  7577. default:
  7578. return (this.write = v), void (this.end = b)
  7579. }
  7580. ;(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t))
  7581. }
  7582. function l(e) {
  7583. return e <= 127 ? 0 : e >> 5 === 6 ? 2 : e >> 4 === 14 ? 3 : e >> 3 === 30 ? 4 : e >> 6 === 2 ? -1 : -2
  7584. }
  7585. function c(e, t, r) {
  7586. var n = t.length - 1
  7587. if (n < r) return 0
  7588. var i = l(t[n])
  7589. return i >= 0
  7590. ? (i > 0 && (e.lastNeed = i - 1), i)
  7591. : --n < r || -2 === i
  7592. ? 0
  7593. : ((i = l(t[n])),
  7594. i >= 0
  7595. ? (i > 0 && (e.lastNeed = i - 2), i)
  7596. : --n < r || -2 === i
  7597. ? 0
  7598. : ((i = l(t[n])), i >= 0 ? (i > 0 && (2 === i ? (i = 0) : (e.lastNeed = i - 3)), i) : 0))
  7599. }
  7600. function u(e, t, r) {
  7601. if (128 !== (192 & t[0])) return (e.lastNeed = 0), "�"
  7602. if (e.lastNeed > 1 && t.length > 1) {
  7603. if (128 !== (192 & t[1])) return (e.lastNeed = 1), "�"
  7604. if (e.lastNeed > 2 && t.length > 2 && 128 !== (192 & t[2])) return (e.lastNeed = 2), "�"
  7605. }
  7606. }
  7607. function f(e) {
  7608. var t = this.lastTotal - this.lastNeed,
  7609. r = u(this, e, t)
  7610. return void 0 !== r
  7611. ? r
  7612. : this.lastNeed <= e.length
  7613. ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal))
  7614. : (e.copy(this.lastChar, t, 0, e.length), void (this.lastNeed -= e.length))
  7615. }
  7616. function p(e, t) {
  7617. var r = c(this, e, t)
  7618. if (!this.lastNeed) return e.toString("utf8", t)
  7619. this.lastTotal = r
  7620. var n = e.length - (r - this.lastNeed)
  7621. return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n)
  7622. }
  7623. function d(e) {
  7624. var t = e && e.length ? this.write(e) : ""
  7625. return this.lastNeed ? t + "�" : t
  7626. }
  7627. function h(e, t) {
  7628. if ((e.length - t) % 2 === 0) {
  7629. var r = e.toString("utf16le", t)
  7630. if (r) {
  7631. var n = r.charCodeAt(r.length - 1)
  7632. if (n >= 55296 && n <= 56319)
  7633. return (
  7634. (this.lastNeed = 2),
  7635. (this.lastTotal = 4),
  7636. (this.lastChar[0] = e[e.length - 2]),
  7637. (this.lastChar[1] = e[e.length - 1]),
  7638. r.slice(0, -1)
  7639. )
  7640. }
  7641. return r
  7642. }
  7643. return (this.lastNeed = 1), (this.lastTotal = 2), (this.lastChar[0] = e[e.length - 1]), e.toString("utf16le", t, e.length - 1)
  7644. }
  7645. function m(e) {
  7646. var t = e && e.length ? this.write(e) : ""
  7647. if (this.lastNeed) {
  7648. var r = this.lastTotal - this.lastNeed
  7649. return t + this.lastChar.toString("utf16le", 0, r)
  7650. }
  7651. return t
  7652. }
  7653. function g(e, t) {
  7654. var r = (e.length - t) % 3
  7655. return 0 === r
  7656. ? e.toString("base64", t)
  7657. : ((this.lastNeed = 3 - r),
  7658. (this.lastTotal = 3),
  7659. 1 === r ? (this.lastChar[0] = e[e.length - 1]) : ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])),
  7660. e.toString("base64", t, e.length - r))
  7661. }
  7662. function y(e) {
  7663. var t = e && e.length ? this.write(e) : ""
  7664. return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t
  7665. }
  7666. function v(e) {
  7667. return e.toString(this.encoding)
  7668. }
  7669. function b(e) {
  7670. return e && e.length ? this.write(e) : ""
  7671. }
  7672. ;(t.StringDecoder = s),
  7673. (s.prototype.write = function (e) {
  7674. if (0 === e.length) return ""
  7675. var t, r
  7676. if (this.lastNeed) {
  7677. if (((t = this.fillLast(e)), void 0 === t)) return ""
  7678. ;(r = this.lastNeed), (this.lastNeed = 0)
  7679. } else r = 0
  7680. return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || ""
  7681. }),
  7682. (s.prototype.end = d),
  7683. (s.prototype.text = p),
  7684. (s.prototype.fillLast = function (e) {
  7685. if (this.lastNeed <= e.length)
  7686. return (
  7687. e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)
  7688. )
  7689. e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length)
  7690. })
  7691. },
  7692. "7db0": function (e, t, r) {
  7693. "use strict"
  7694. var n = r("23e7"),
  7695. i = r("b727").find,
  7696. o = r("44d2"),
  7697. a = "find",
  7698. s = !0
  7699. a in [] &&
  7700. Array(1)[a](function () {
  7701. s = !1
  7702. }),
  7703. n(
  7704. {
  7705. target: "Array",
  7706. proto: !0,
  7707. forced: s
  7708. },
  7709. {
  7710. find: function (e) {
  7711. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  7712. }
  7713. }
  7714. ),
  7715. o(a)
  7716. },
  7717. "7dd0": function (e, t, r) {
  7718. "use strict"
  7719. var n = r("23e7"),
  7720. i = r("9ed3"),
  7721. o = r("e163"),
  7722. a = r("d2bb"),
  7723. s = r("d44e"),
  7724. l = r("9112"),
  7725. c = r("6eeb"),
  7726. u = r("b622"),
  7727. f = r("c430"),
  7728. p = r("3f8c"),
  7729. d = r("ae93"),
  7730. h = d.IteratorPrototype,
  7731. m = d.BUGGY_SAFARI_ITERATORS,
  7732. g = u("iterator"),
  7733. y = "keys",
  7734. v = "values",
  7735. b = "entries",
  7736. w = function () {
  7737. return this
  7738. }
  7739. e.exports = function (e, t, r, u, d, x, A) {
  7740. i(r, t, u)
  7741. var _,
  7742. T,
  7743. E,
  7744. S = function (e) {
  7745. if (e === d && O) return O
  7746. if (!m && e in L) return L[e]
  7747. switch (e) {
  7748. case y:
  7749. return function () {
  7750. return new r(this, e)
  7751. }
  7752. case v:
  7753. return function () {
  7754. return new r(this, e)
  7755. }
  7756. case b:
  7757. return function () {
  7758. return new r(this, e)
  7759. }
  7760. }
  7761. return function () {
  7762. return new r(this)
  7763. }
  7764. },
  7765. C = t + " Iterator",
  7766. k = !1,
  7767. L = e.prototype,
  7768. P = L[g] || L["@@iterator"] || (d && L[d]),
  7769. O = (!m && P) || S(d),
  7770. j = ("Array" == t && L.entries) || P
  7771. if (
  7772. (j &&
  7773. ((_ = o(j.call(new e()))),
  7774. h !== Object.prototype &&
  7775. _.next &&
  7776. (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[g] && l(_, g, w)), s(_, C, !0, !0), f && (p[C] = w))),
  7777. d == v &&
  7778. P &&
  7779. P.name !== v &&
  7780. ((k = !0),
  7781. (O = function () {
  7782. return P.call(this)
  7783. })),
  7784. (f && !A) || L[g] === O || l(L, g, O),
  7785. (p[t] = O),
  7786. d)
  7787. )
  7788. if (
  7789. ((T = {
  7790. values: S(v),
  7791. keys: x ? O : S(y),
  7792. entries: S(b)
  7793. }),
  7794. A)
  7795. )
  7796. for (E in T) (m || k || !(E in L)) && c(L, E, T[E])
  7797. else
  7798. n(
  7799. {
  7800. target: t,
  7801. proto: !0,
  7802. forced: m || k
  7803. },
  7804. T
  7805. )
  7806. return T
  7807. }
  7808. },
  7809. "7f9a": function (e, t, r) {
  7810. var n = r("da84"),
  7811. i = r("8925"),
  7812. o = n.WeakMap
  7813. e.exports = "function" === typeof o && /native code/.test(i(o))
  7814. },
  7815. "825a": function (e, t, r) {
  7816. var n = r("861d")
  7817. e.exports = function (e) {
  7818. if (!n(e)) throw TypeError(String(e) + " is not an object")
  7819. return e
  7820. }
  7821. },
  7822. "83ab": function (e, t, r) {
  7823. var n = r("d039")
  7824. e.exports = !n(function () {
  7825. return (
  7826. 7 !=
  7827. Object.defineProperty({}, 1, {
  7828. get: function () {
  7829. return 7
  7830. }
  7831. })[1]
  7832. )
  7833. })
  7834. },
  7835. 8418: function (e, t, r) {
  7836. "use strict"
  7837. var n = r("a04b"),
  7838. i = r("9bf2"),
  7839. o = r("5c6c")
  7840. e.exports = function (e, t, r) {
  7841. var a = n(t)
  7842. a in e ? i.f(e, a, o(0, r)) : (e[a] = r)
  7843. }
  7844. },
  7845. "844f": function (e, t, r) {
  7846. var n,
  7847. i,
  7848. o = r("3171"),
  7849. a = {
  7850. on: function () {},
  7851. parse: function () {}
  7852. },
  7853. s = r("96c1"),
  7854. l = r("9b12").isArray,
  7855. c = !0
  7856. function u(e) {
  7857. return (
  7858. (n = s.copyOptions(e)),
  7859. s.ensureFlagExists("ignoreDeclaration", n),
  7860. s.ensureFlagExists("ignoreInstruction", n),
  7861. s.ensureFlagExists("ignoreAttributes", n),
  7862. s.ensureFlagExists("ignoreText", n),
  7863. s.ensureFlagExists("ignoreComment", n),
  7864. s.ensureFlagExists("ignoreCdata", n),
  7865. s.ensureFlagExists("ignoreDoctype", n),
  7866. s.ensureFlagExists("compact", n),
  7867. s.ensureFlagExists("alwaysChildren", n),
  7868. s.ensureFlagExists("addParent", n),
  7869. s.ensureFlagExists("trim", n),
  7870. s.ensureFlagExists("nativeType", n),
  7871. s.ensureFlagExists("nativeTypeAttributes", n),
  7872. s.ensureFlagExists("sanitize", n),
  7873. s.ensureFlagExists("instructionHasAttributes", n),
  7874. s.ensureFlagExists("captureSpacesBetweenElements", n),
  7875. s.ensureAlwaysArrayExists(n),
  7876. s.ensureKeyExists("declaration", n),
  7877. s.ensureKeyExists("instruction", n),
  7878. s.ensureKeyExists("attributes", n),
  7879. s.ensureKeyExists("text", n),
  7880. s.ensureKeyExists("comment", n),
  7881. s.ensureKeyExists("cdata", n),
  7882. s.ensureKeyExists("doctype", n),
  7883. s.ensureKeyExists("type", n),
  7884. s.ensureKeyExists("name", n),
  7885. s.ensureKeyExists("elements", n),
  7886. s.ensureKeyExists("parent", n),
  7887. s.checkFnExists("doctype", n),
  7888. s.checkFnExists("instruction", n),
  7889. s.checkFnExists("cdata", n),
  7890. s.checkFnExists("comment", n),
  7891. s.checkFnExists("text", n),
  7892. s.checkFnExists("instructionName", n),
  7893. s.checkFnExists("elementName", n),
  7894. s.checkFnExists("attributeName", n),
  7895. s.checkFnExists("attributeValue", n),
  7896. s.checkFnExists("attributes", n),
  7897. n
  7898. )
  7899. }
  7900. function f(e) {
  7901. var t = Number(e)
  7902. if (!isNaN(t)) return t
  7903. var r = e.toLowerCase()
  7904. return "true" === r || ("false" !== r && e)
  7905. }
  7906. function p(e, t) {
  7907. var r
  7908. if (n.compact) {
  7909. if (
  7910. (!i[n[e + "Key"]] && (l(n.alwaysArray) ? -1 !== n.alwaysArray.indexOf(n[e + "Key"]) : n.alwaysArray) && (i[n[e + "Key"]] = []),
  7911. i[n[e + "Key"]] && !l(i[n[e + "Key"]]) && (i[n[e + "Key"]] = [i[n[e + "Key"]]]),
  7912. e + "Fn" in n && "string" === typeof t && (t = n[e + "Fn"](t, i)),
  7913. "instruction" === e && ("instructionFn" in n || "instructionNameFn" in n))
  7914. )
  7915. for (r in t)
  7916. if (t.hasOwnProperty(r))
  7917. if ("instructionFn" in n) t[r] = n.instructionFn(t[r], r, i)
  7918. else {
  7919. var o = t[r]
  7920. delete t[r], (t[n.instructionNameFn(r, o, i)] = o)
  7921. }
  7922. l(i[n[e + "Key"]]) ? i[n[e + "Key"]].push(t) : (i[n[e + "Key"]] = t)
  7923. } else {
  7924. i[n.elementsKey] || (i[n.elementsKey] = [])
  7925. var a = {}
  7926. if (((a[n.typeKey] = e), "instruction" === e)) {
  7927. for (r in t) if (t.hasOwnProperty(r)) break
  7928. ;(a[n.nameKey] = "instructionNameFn" in n ? n.instructionNameFn(r, t, i) : r),
  7929. n.instructionHasAttributes
  7930. ? ((a[n.attributesKey] = t[r][n.attributesKey]),
  7931. "instructionFn" in n && (a[n.attributesKey] = n.instructionFn(a[n.attributesKey], r, i)))
  7932. : ("instructionFn" in n && (t[r] = n.instructionFn(t[r], r, i)), (a[n.instructionKey] = t[r]))
  7933. } else e + "Fn" in n && (t = n[e + "Fn"](t, i)), (a[n[e + "Key"]] = t)
  7934. n.addParent && (a[n.parentKey] = i), i[n.elementsKey].push(a)
  7935. }
  7936. }
  7937. function d(e) {
  7938. var t
  7939. if (
  7940. ("attributesFn" in n && e && (e = n.attributesFn(e, i)),
  7941. (n.trim || "attributeValueFn" in n || "attributeNameFn" in n || n.nativeTypeAttributes) && e)
  7942. )
  7943. for (t in e)
  7944. if (
  7945. e.hasOwnProperty(t) &&
  7946. (n.trim && (e[t] = e[t].trim()),
  7947. n.nativeTypeAttributes && (e[t] = f(e[t])),
  7948. "attributeValueFn" in n && (e[t] = n.attributeValueFn(e[t], t, i)),
  7949. "attributeNameFn" in n)
  7950. ) {
  7951. var r = e[t]
  7952. delete e[t], (e[n.attributeNameFn(t, e[t], i)] = r)
  7953. }
  7954. return e
  7955. }
  7956. function h(e) {
  7957. var t = {}
  7958. if (e.body && ("xml" === e.name.toLowerCase() || n.instructionHasAttributes)) {
  7959. var r,
  7960. o = /([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g
  7961. while (null !== (r = o.exec(e.body))) t[r[1]] = r[2] || r[3] || r[4]
  7962. t = d(t)
  7963. }
  7964. if ("xml" === e.name.toLowerCase()) {
  7965. if (n.ignoreDeclaration) return
  7966. ;(i[n.declarationKey] = {}),
  7967. Object.keys(t).length && (i[n.declarationKey][n.attributesKey] = t),
  7968. n.addParent && (i[n.declarationKey][n.parentKey] = i)
  7969. } else {
  7970. if (n.ignoreInstruction) return
  7971. n.trim && (e.body = e.body.trim())
  7972. var a = {}
  7973. n.instructionHasAttributes && Object.keys(t).length ? ((a[e.name] = {}), (a[e.name][n.attributesKey] = t)) : (a[e.name] = e.body),
  7974. p("instruction", a)
  7975. }
  7976. }
  7977. function m(e, t) {
  7978. var r
  7979. if (
  7980. ("object" === typeof e && ((t = e.attributes), (e = e.name)), (t = d(t)), "elementNameFn" in n && (e = n.elementNameFn(e, i)), n.compact)
  7981. ) {
  7982. var o
  7983. if (((r = {}), !n.ignoreAttributes && t && Object.keys(t).length))
  7984. for (o in ((r[n.attributesKey] = {}), t)) t.hasOwnProperty(o) && (r[n.attributesKey][o] = t[o])
  7985. !(e in i) && (l(n.alwaysArray) ? -1 !== n.alwaysArray.indexOf(e) : n.alwaysArray) && (i[e] = []),
  7986. i[e] && !l(i[e]) && (i[e] = [i[e]]),
  7987. l(i[e]) ? i[e].push(r) : (i[e] = r)
  7988. } else
  7989. i[n.elementsKey] || (i[n.elementsKey] = []),
  7990. (r = {}),
  7991. (r[n.typeKey] = "element"),
  7992. (r[n.nameKey] = e),
  7993. !n.ignoreAttributes && t && Object.keys(t).length && (r[n.attributesKey] = t),
  7994. n.alwaysChildren && (r[n.elementsKey] = []),
  7995. i[n.elementsKey].push(r)
  7996. ;(r[n.parentKey] = i), (i = r)
  7997. }
  7998. function g(e) {
  7999. n.ignoreText ||
  8000. ((e.trim() || n.captureSpacesBetweenElements) &&
  8001. (n.trim && (e = e.trim()),
  8002. n.nativeType && (e = f(e)),
  8003. n.sanitize && (e = e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")),
  8004. p("text", e)))
  8005. }
  8006. function y(e) {
  8007. n.ignoreComment || (n.trim && (e = e.trim()), p("comment", e))
  8008. }
  8009. function v(e) {
  8010. var t = i[n.parentKey]
  8011. n.addParent || delete i[n.parentKey], (i = t)
  8012. }
  8013. function b(e) {
  8014. n.ignoreCdata || (n.trim && (e = e.trim()), p("cdata", e))
  8015. }
  8016. function w(e) {
  8017. n.ignoreDoctype || ((e = e.replace(/^ /, "")), n.trim && (e = e.trim()), p("doctype", e))
  8018. }
  8019. function x(e) {
  8020. e.note = e
  8021. }
  8022. e.exports = function (e, t) {
  8023. var r = c ? o.parser(!0, {}) : (r = new a.Parser("UTF-8")),
  8024. s = {}
  8025. if (
  8026. ((i = s),
  8027. (n = u(t)),
  8028. c
  8029. ? ((r.opt = {
  8030. strictEntities: !0
  8031. }),
  8032. (r.onopentag = m),
  8033. (r.ontext = g),
  8034. (r.oncomment = y),
  8035. (r.onclosetag = v),
  8036. (r.onerror = x),
  8037. (r.oncdata = b),
  8038. (r.ondoctype = w),
  8039. (r.onprocessinginstruction = h))
  8040. : (r.on("startElement", m), r.on("text", g), r.on("comment", y), r.on("endElement", v), r.on("error", x)),
  8041. c)
  8042. )
  8043. r.write(e).close()
  8044. else if (!r.parse(e)) throw new Error("XML parsing error: " + r.getError())
  8045. if (s[n.elementsKey]) {
  8046. var l = s[n.elementsKey]
  8047. delete s[n.elementsKey], (s[n.elementsKey] = l), delete s.text
  8048. }
  8049. return s
  8050. }
  8051. },
  8052. "84f2": function (e, t, r) {
  8053. ;(function (t, r) {
  8054. e.exports = r()
  8055. })(0, function () {
  8056. "use strict"
  8057. function e(e, t) {
  8058. return (
  8059. (t = {
  8060. exports: {}
  8061. }),
  8062. e(t, t.exports),
  8063. t.exports
  8064. )
  8065. }
  8066. var t = e(function (e, t) {
  8067. ;(function (t) {
  8068. e.exports = t()
  8069. })(function (e) {
  8070. var t = function (e, t) {
  8071. return (e + t) & 4294967295
  8072. },
  8073. r = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]
  8074. function n(e, r, n, i, o, a) {
  8075. return (r = t(t(r, e), t(i, a))), t((r << o) | (r >>> (32 - o)), n)
  8076. }
  8077. function i(e, t, r, i, o, a, s) {
  8078. return n((t & r) | (~t & i), e, t, o, a, s)
  8079. }
  8080. function o(e, t, r, i, o, a, s) {
  8081. return n((t & i) | (r & ~i), e, t, o, a, s)
  8082. }
  8083. function a(e, t, r, i, o, a, s) {
  8084. return n(t ^ r ^ i, e, t, o, a, s)
  8085. }
  8086. function s(e, t, r, i, o, a, s) {
  8087. return n(r ^ (t | ~i), e, t, o, a, s)
  8088. }
  8089. function l(e, r) {
  8090. var n = e[0],
  8091. l = e[1],
  8092. c = e[2],
  8093. u = e[3]
  8094. ;(n = i(n, l, c, u, r[0], 7, -680876936)),
  8095. (u = i(u, n, l, c, r[1], 12, -389564586)),
  8096. (c = i(c, u, n, l, r[2], 17, 606105819)),
  8097. (l = i(l, c, u, n, r[3], 22, -1044525330)),
  8098. (n = i(n, l, c, u, r[4], 7, -176418897)),
  8099. (u = i(u, n, l, c, r[5], 12, 1200080426)),
  8100. (c = i(c, u, n, l, r[6], 17, -1473231341)),
  8101. (l = i(l, c, u, n, r[7], 22, -45705983)),
  8102. (n = i(n, l, c, u, r[8], 7, 1770035416)),
  8103. (u = i(u, n, l, c, r[9], 12, -1958414417)),
  8104. (c = i(c, u, n, l, r[10], 17, -42063)),
  8105. (l = i(l, c, u, n, r[11], 22, -1990404162)),
  8106. (n = i(n, l, c, u, r[12], 7, 1804603682)),
  8107. (u = i(u, n, l, c, r[13], 12, -40341101)),
  8108. (c = i(c, u, n, l, r[14], 17, -1502002290)),
  8109. (l = i(l, c, u, n, r[15], 22, 1236535329)),
  8110. (n = o(n, l, c, u, r[1], 5, -165796510)),
  8111. (u = o(u, n, l, c, r[6], 9, -1069501632)),
  8112. (c = o(c, u, n, l, r[11], 14, 643717713)),
  8113. (l = o(l, c, u, n, r[0], 20, -373897302)),
  8114. (n = o(n, l, c, u, r[5], 5, -701558691)),
  8115. (u = o(u, n, l, c, r[10], 9, 38016083)),
  8116. (c = o(c, u, n, l, r[15], 14, -660478335)),
  8117. (l = o(l, c, u, n, r[4], 20, -405537848)),
  8118. (n = o(n, l, c, u, r[9], 5, 568446438)),
  8119. (u = o(u, n, l, c, r[14], 9, -1019803690)),
  8120. (c = o(c, u, n, l, r[3], 14, -187363961)),
  8121. (l = o(l, c, u, n, r[8], 20, 1163531501)),
  8122. (n = o(n, l, c, u, r[13], 5, -1444681467)),
  8123. (u = o(u, n, l, c, r[2], 9, -51403784)),
  8124. (c = o(c, u, n, l, r[7], 14, 1735328473)),
  8125. (l = o(l, c, u, n, r[12], 20, -1926607734)),
  8126. (n = a(n, l, c, u, r[5], 4, -378558)),
  8127. (u = a(u, n, l, c, r[8], 11, -2022574463)),
  8128. (c = a(c, u, n, l, r[11], 16, 1839030562)),
  8129. (l = a(l, c, u, n, r[14], 23, -35309556)),
  8130. (n = a(n, l, c, u, r[1], 4, -1530992060)),
  8131. (u = a(u, n, l, c, r[4], 11, 1272893353)),
  8132. (c = a(c, u, n, l, r[7], 16, -155497632)),
  8133. (l = a(l, c, u, n, r[10], 23, -1094730640)),
  8134. (n = a(n, l, c, u, r[13], 4, 681279174)),
  8135. (u = a(u, n, l, c, r[0], 11, -358537222)),
  8136. (c = a(c, u, n, l, r[3], 16, -722521979)),
  8137. (l = a(l, c, u, n, r[6], 23, 76029189)),
  8138. (n = a(n, l, c, u, r[9], 4, -640364487)),
  8139. (u = a(u, n, l, c, r[12], 11, -421815835)),
  8140. (c = a(c, u, n, l, r[15], 16, 530742520)),
  8141. (l = a(l, c, u, n, r[2], 23, -995338651)),
  8142. (n = s(n, l, c, u, r[0], 6, -198630844)),
  8143. (u = s(u, n, l, c, r[7], 10, 1126891415)),
  8144. (c = s(c, u, n, l, r[14], 15, -1416354905)),
  8145. (l = s(l, c, u, n, r[5], 21, -57434055)),
  8146. (n = s(n, l, c, u, r[12], 6, 1700485571)),
  8147. (u = s(u, n, l, c, r[3], 10, -1894986606)),
  8148. (c = s(c, u, n, l, r[10], 15, -1051523)),
  8149. (l = s(l, c, u, n, r[1], 21, -2054922799)),
  8150. (n = s(n, l, c, u, r[8], 6, 1873313359)),
  8151. (u = s(u, n, l, c, r[15], 10, -30611744)),
  8152. (c = s(c, u, n, l, r[6], 15, -1560198380)),
  8153. (l = s(l, c, u, n, r[13], 21, 1309151649)),
  8154. (n = s(n, l, c, u, r[4], 6, -145523070)),
  8155. (u = s(u, n, l, c, r[11], 10, -1120210379)),
  8156. (c = s(c, u, n, l, r[2], 15, 718787259)),
  8157. (l = s(l, c, u, n, r[9], 21, -343485551)),
  8158. (e[0] = t(n, e[0])),
  8159. (e[1] = t(l, e[1])),
  8160. (e[2] = t(c, e[2])),
  8161. (e[3] = t(u, e[3]))
  8162. }
  8163. function c(e) {
  8164. var t,
  8165. r = []
  8166. for (t = 0; t < 64; t += 4)
  8167. r[t >> 2] = e.charCodeAt(t) + (e.charCodeAt(t + 1) << 8) + (e.charCodeAt(t + 2) << 16) + (e.charCodeAt(t + 3) << 24)
  8168. return r
  8169. }
  8170. function u(e) {
  8171. var t,
  8172. r = []
  8173. for (t = 0; t < 64; t += 4) r[t >> 2] = e[t] + (e[t + 1] << 8) + (e[t + 2] << 16) + (e[t + 3] << 24)
  8174. return r
  8175. }
  8176. function f(e) {
  8177. var t,
  8178. r,
  8179. n,
  8180. i,
  8181. o,
  8182. a,
  8183. s = e.length,
  8184. u = [1732584193, -271733879, -1732584194, 271733878]
  8185. for (t = 64; t <= s; t += 64) l(u, c(e.substring(t - 64, t)))
  8186. for (e = e.substring(t - 64), r = e.length, n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], t = 0; t < r; t += 1)
  8187. n[t >> 2] |= e.charCodeAt(t) << (t % 4 << 3)
  8188. if (((n[t >> 2] |= 128 << (t % 4 << 3)), t > 55)) for (l(u, n), t = 0; t < 16; t += 1) n[t] = 0
  8189. return (
  8190. (i = 8 * s),
  8191. (i = i.toString(16).match(/(.*?)(.{0,8})$/)),
  8192. (o = parseInt(i[2], 16)),
  8193. (a = parseInt(i[1], 16) || 0),
  8194. (n[14] = o),
  8195. (n[15] = a),
  8196. l(u, n),
  8197. u
  8198. )
  8199. }
  8200. function p(e) {
  8201. var t,
  8202. r,
  8203. n,
  8204. i,
  8205. o,
  8206. a,
  8207. s = e.length,
  8208. c = [1732584193, -271733879, -1732584194, 271733878]
  8209. for (t = 64; t <= s; t += 64) l(c, u(e.subarray(t - 64, t)))
  8210. for (
  8211. e = t - 64 < s ? e.subarray(t - 64) : new Uint8Array(0),
  8212. r = e.length,
  8213. n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  8214. t = 0;
  8215. t < r;
  8216. t += 1
  8217. )
  8218. n[t >> 2] |= e[t] << (t % 4 << 3)
  8219. if (((n[t >> 2] |= 128 << (t % 4 << 3)), t > 55)) for (l(c, n), t = 0; t < 16; t += 1) n[t] = 0
  8220. return (
  8221. (i = 8 * s),
  8222. (i = i.toString(16).match(/(.*?)(.{0,8})$/)),
  8223. (o = parseInt(i[2], 16)),
  8224. (a = parseInt(i[1], 16) || 0),
  8225. (n[14] = o),
  8226. (n[15] = a),
  8227. l(c, n),
  8228. c
  8229. )
  8230. }
  8231. function d(e) {
  8232. var t,
  8233. n = ""
  8234. for (t = 0; t < 4; t += 1) n += r[(e >> (8 * t + 4)) & 15] + r[(e >> (8 * t)) & 15]
  8235. return n
  8236. }
  8237. function h(e) {
  8238. var t
  8239. for (t = 0; t < e.length; t += 1) e[t] = d(e[t])
  8240. return e.join("")
  8241. }
  8242. function m(e) {
  8243. return /[\u0080-\uFFFF]/.test(e) && (e = unescape(encodeURIComponent(e))), e
  8244. }
  8245. function g(e, t) {
  8246. var r,
  8247. n = e.length,
  8248. i = new ArrayBuffer(n),
  8249. o = new Uint8Array(i)
  8250. for (r = 0; r < n; r += 1) o[r] = e.charCodeAt(r)
  8251. return t ? o : i
  8252. }
  8253. function y(e) {
  8254. return String.fromCharCode.apply(null, new Uint8Array(e))
  8255. }
  8256. function v(e, t, r) {
  8257. var n = new Uint8Array(e.byteLength + t.byteLength)
  8258. return n.set(new Uint8Array(e)), n.set(new Uint8Array(t), e.byteLength), r ? n : n.buffer
  8259. }
  8260. function b(e) {
  8261. var t,
  8262. r = [],
  8263. n = e.length
  8264. for (t = 0; t < n - 1; t += 2) r.push(parseInt(e.substr(t, 2), 16))
  8265. return String.fromCharCode.apply(String, r)
  8266. }
  8267. function w() {
  8268. this.reset()
  8269. }
  8270. return (
  8271. "5d41402abc4b2a76b9719d911017c592" !== h(f("hello")) &&
  8272. (t = function (e, t) {
  8273. var r = (65535 & e) + (65535 & t),
  8274. n = (e >> 16) + (t >> 16) + (r >> 16)
  8275. return (n << 16) | (65535 & r)
  8276. }),
  8277. "undefined" === typeof ArrayBuffer ||
  8278. ArrayBuffer.prototype.slice ||
  8279. (function () {
  8280. function t(e, t) {
  8281. return (e = 0 | e || 0), e < 0 ? Math.max(e + t, 0) : Math.min(e, t)
  8282. }
  8283. ArrayBuffer.prototype.slice = function (r, n) {
  8284. var i,
  8285. o,
  8286. a,
  8287. s,
  8288. l = this.byteLength,
  8289. c = t(r, l),
  8290. u = l
  8291. return (
  8292. n !== e && (u = t(n, l)),
  8293. c > u
  8294. ? new ArrayBuffer(0)
  8295. : ((i = u - c), (o = new ArrayBuffer(i)), (a = new Uint8Array(o)), (s = new Uint8Array(this, c, i)), a.set(s), o)
  8296. )
  8297. }
  8298. })(),
  8299. (w.prototype.append = function (e) {
  8300. return this.appendBinary(m(e)), this
  8301. }),
  8302. (w.prototype.appendBinary = function (e) {
  8303. ;(this._buff += e), (this._length += e.length)
  8304. var t,
  8305. r = this._buff.length
  8306. for (t = 64; t <= r; t += 64) l(this._hash, c(this._buff.substring(t - 64, t)))
  8307. return (this._buff = this._buff.substring(t - 64)), this
  8308. }),
  8309. (w.prototype.end = function (e) {
  8310. var t,
  8311. r,
  8312. n = this._buff,
  8313. i = n.length,
  8314. o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
  8315. for (t = 0; t < i; t += 1) o[t >> 2] |= n.charCodeAt(t) << (t % 4 << 3)
  8316. return this._finish(o, i), (r = h(this._hash)), e && (r = b(r)), this.reset(), r
  8317. }),
  8318. (w.prototype.reset = function () {
  8319. return (this._buff = ""), (this._length = 0), (this._hash = [1732584193, -271733879, -1732584194, 271733878]), this
  8320. }),
  8321. (w.prototype.getState = function () {
  8322. return {
  8323. buff: this._buff,
  8324. length: this._length,
  8325. hash: this._hash
  8326. }
  8327. }),
  8328. (w.prototype.setState = function (e) {
  8329. return (this._buff = e.buff), (this._length = e.length), (this._hash = e.hash), this
  8330. }),
  8331. (w.prototype.destroy = function () {
  8332. delete this._hash, delete this._buff, delete this._length
  8333. }),
  8334. (w.prototype._finish = function (e, t) {
  8335. var r,
  8336. n,
  8337. i,
  8338. o = t
  8339. if (((e[o >> 2] |= 128 << (o % 4 << 3)), o > 55)) for (l(this._hash, e), o = 0; o < 16; o += 1) e[o] = 0
  8340. ;(r = 8 * this._length),
  8341. (r = r.toString(16).match(/(.*?)(.{0,8})$/)),
  8342. (n = parseInt(r[2], 16)),
  8343. (i = parseInt(r[1], 16) || 0),
  8344. (e[14] = n),
  8345. (e[15] = i),
  8346. l(this._hash, e)
  8347. }),
  8348. (w.hash = function (e, t) {
  8349. return w.hashBinary(m(e), t)
  8350. }),
  8351. (w.hashBinary = function (e, t) {
  8352. var r = f(e),
  8353. n = h(r)
  8354. return t ? b(n) : n
  8355. }),
  8356. (w.ArrayBuffer = function () {
  8357. this.reset()
  8358. }),
  8359. (w.ArrayBuffer.prototype.append = function (e) {
  8360. var t,
  8361. r = v(this._buff.buffer, e, !0),
  8362. n = r.length
  8363. for (this._length += e.byteLength, t = 64; t <= n; t += 64) l(this._hash, u(r.subarray(t - 64, t)))
  8364. return (this._buff = t - 64 < n ? new Uint8Array(r.buffer.slice(t - 64)) : new Uint8Array(0)), this
  8365. }),
  8366. (w.ArrayBuffer.prototype.end = function (e) {
  8367. var t,
  8368. r,
  8369. n = this._buff,
  8370. i = n.length,
  8371. o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
  8372. for (t = 0; t < i; t += 1) o[t >> 2] |= n[t] << (t % 4 << 3)
  8373. return this._finish(o, i), (r = h(this._hash)), e && (r = b(r)), this.reset(), r
  8374. }),
  8375. (w.ArrayBuffer.prototype.reset = function () {
  8376. return (
  8377. (this._buff = new Uint8Array(0)), (this._length = 0), (this._hash = [1732584193, -271733879, -1732584194, 271733878]), this
  8378. )
  8379. }),
  8380. (w.ArrayBuffer.prototype.getState = function () {
  8381. var e = w.prototype.getState.call(this)
  8382. return (e.buff = y(e.buff)), e
  8383. }),
  8384. (w.ArrayBuffer.prototype.setState = function (e) {
  8385. return (e.buff = g(e.buff, !0)), w.prototype.setState.call(this, e)
  8386. }),
  8387. (w.ArrayBuffer.prototype.destroy = w.prototype.destroy),
  8388. (w.ArrayBuffer.prototype._finish = w.prototype._finish),
  8389. (w.ArrayBuffer.hash = function (e, t) {
  8390. var r = p(new Uint8Array(e)),
  8391. n = h(r)
  8392. return t ? b(n) : n
  8393. }),
  8394. w
  8395. )
  8396. })
  8397. })
  8398. class r {
  8399. md5(e, r, n) {
  8400. ;(this.aborted = !1), (this.progress = 0)
  8401. let i = 0
  8402. const o = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice,
  8403. a = 2097152,
  8404. s = Math.ceil(e.size / a),
  8405. l = new t.ArrayBuffer(),
  8406. c = new FileReader()
  8407. function u() {
  8408. const t = i * a,
  8409. r = t + a >= e.size ? e.size : t + a
  8410. c.readAsArrayBuffer(o.call(e, t, r))
  8411. }
  8412. u(),
  8413. (c.onloadend = e => {
  8414. l.append(e.target.result),
  8415. i++,
  8416. (this.progress = i / s),
  8417. n && "function" === typeof n && n(this.progress),
  8418. this.aborted ? r("aborted") : i < s ? u() : r(null, l.end())
  8419. })
  8420. }
  8421. abort() {
  8422. this.aborted = !0
  8423. }
  8424. }
  8425. return r
  8426. })
  8427. },
  8428. "861d": function (e, t) {
  8429. e.exports = function (e) {
  8430. return "object" === typeof e ? null !== e : "function" === typeof e
  8431. }
  8432. },
  8433. 8707: function (e, t, r) {
  8434. /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
  8435. var n = r("b639"),
  8436. i = n.Buffer
  8437. function o(e, t) {
  8438. for (var r in e) t[r] = e[r]
  8439. }
  8440. function a(e, t, r) {
  8441. return i(e, t, r)
  8442. }
  8443. i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (e.exports = n) : (o(n, t), (t.Buffer = a)),
  8444. (a.prototype = Object.create(i.prototype)),
  8445. o(i, a),
  8446. (a.from = function (e, t, r) {
  8447. if ("number" === typeof e) throw new TypeError("Argument must not be a number")
  8448. return i(e, t, r)
  8449. }),
  8450. (a.alloc = function (e, t, r) {
  8451. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  8452. var n = i(e)
  8453. return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n
  8454. }),
  8455. (a.allocUnsafe = function (e) {
  8456. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  8457. return i(e)
  8458. }),
  8459. (a.allocUnsafeSlow = function (e) {
  8460. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  8461. return n.SlowBuffer(e)
  8462. })
  8463. },
  8464. 8925: function (e, t, r) {
  8465. var n = r("c6cd"),
  8466. i = Function.toString
  8467. "function" != typeof n.inspectSource &&
  8468. (n.inspectSource = function (e) {
  8469. return i.call(e)
  8470. }),
  8471. (e.exports = n.inspectSource)
  8472. },
  8473. "8aa5": function (e, t, r) {
  8474. "use strict"
  8475. var n = r("6547").charAt
  8476. e.exports = function (e, t, r) {
  8477. return t + (r ? n(e, t).length : 1)
  8478. }
  8479. },
  8480. "8fc1": function (e, t, r) {
  8481. "use strict"
  8482. ;(function (e) {
  8483. r.d(t, "a", function () {
  8484. return wt
  8485. })
  8486. var n = r("c4e3"),
  8487. i = r.n(n),
  8488. o = function () {
  8489. return (
  8490. (o =
  8491. Object.assign ||
  8492. function (e) {
  8493. for (var t, r = 1, n = arguments.length; r < n; r++)
  8494. for (var i in ((t = arguments[r]), t)) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
  8495. return e
  8496. }),
  8497. o.apply(this, arguments)
  8498. )
  8499. }
  8500. function a(e, t, r) {
  8501. if (r || 2 === arguments.length)
  8502. for (var n, i = 0, o = t.length; i < o; i++) (!n && i in t) || (n || (n = Array.prototype.slice.call(t, 0, i)), (n[i] = t[i]))
  8503. return e.concat(n || Array.prototype.slice.call(t))
  8504. }
  8505. var s,
  8506. l,
  8507. c = 914400,
  8508. u = 12700,
  8509. f = "\r\n",
  8510. p = 2147483649,
  8511. d = /^[0-9a-fA-F]{6}$/,
  8512. h = 1.67,
  8513. m = 27,
  8514. g = {
  8515. type: "solid",
  8516. color: "666666",
  8517. pt: 1
  8518. },
  8519. y = [0.05, 0.1, 0.05, 0.1],
  8520. v = {
  8521. type: "solid",
  8522. color: "363636",
  8523. pt: 1
  8524. },
  8525. b = {
  8526. color: "888888",
  8527. style: "solid",
  8528. size: 1
  8529. },
  8530. w = "000000",
  8531. x = 12,
  8532. A = 18,
  8533. _ = "LAYOUT_16x9",
  8534. T = "DEFAULT",
  8535. E = "333333",
  8536. S = {
  8537. type: "outer",
  8538. blur: 3,
  8539. offset: 23e3 / 12700,
  8540. angle: 90,
  8541. color: "000000",
  8542. opacity: 0.35,
  8543. rotateWithShape: !0
  8544. },
  8545. C = [0.5, 0.5, 0.5, 0.5],
  8546. k = {
  8547. type: "outer",
  8548. blur: 8,
  8549. offset: 4,
  8550. angle: 270,
  8551. color: "000000",
  8552. opacity: 0.75
  8553. },
  8554. L = {
  8555. size: 8,
  8556. color: "FFFFFF",
  8557. opacity: 0.75
  8558. },
  8559. P = "2094734552",
  8560. O = "2094734553",
  8561. j = "2094734554",
  8562. R = "2094734555",
  8563. I = "2094734556",
  8564. N = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),
  8565. M = [
  8566. "C0504D",
  8567. "4F81BD",
  8568. "9BBB59",
  8569. "8064A2",
  8570. "4BACC6",
  8571. "F79646",
  8572. "628FC6",
  8573. "C86360",
  8574. "C0504D",
  8575. "4F81BD",
  8576. "9BBB59",
  8577. "8064A2",
  8578. "4BACC6",
  8579. "F79646",
  8580. "628FC6",
  8581. "C86360"
  8582. ],
  8583. D = [
  8584. "5DA5DA",
  8585. "FAA43A",
  8586. "60BD68",
  8587. "F17CB0",
  8588. "B2912F",
  8589. "B276B2",
  8590. "DECF3F",
  8591. "F15854",
  8592. "A7A7A7",
  8593. "5DA5DA",
  8594. "FAA43A",
  8595. "60BD68",
  8596. "F17CB0",
  8597. "B2912F",
  8598. "B276B2",
  8599. "DECF3F",
  8600. "F15854",
  8601. "A7A7A7"
  8602. ]
  8603. ;(function (e) {
  8604. ;(e["left"] = "left"), (e["center"] = "center"), (e["right"] = "right"), (e["justify"] = "justify")
  8605. })(s || (s = {})),
  8606. (function (e) {
  8607. ;(e["b"] = "b"), (e["ctr"] = "ctr"), (e["t"] = "t")
  8608. })(l || (l = {}))
  8609. var B,
  8610. F,
  8611. U,
  8612. z,
  8613. q,
  8614. G,
  8615. W,
  8616. V,
  8617. H,
  8618. X,
  8619. Y,
  8620. K,
  8621. Z,
  8622. Q = "{F7021451-1387-4CA6-816F-3879F97B5CBC}"
  8623. ;(function (e) {
  8624. ;(e["arraybuffer"] = "arraybuffer"),
  8625. (e["base64"] = "base64"),
  8626. (e["binarystring"] = "binarystring"),
  8627. (e["blob"] = "blob"),
  8628. (e["nodebuffer"] = "nodebuffer"),
  8629. (e["uint8array"] = "uint8array")
  8630. })(B || (B = {})),
  8631. (function (e) {
  8632. ;(e["area"] = "area"),
  8633. (e["bar"] = "bar"),
  8634. (e["bar3d"] = "bar3D"),
  8635. (e["bubble"] = "bubble"),
  8636. (e["bubble3d"] = "bubble3D"),
  8637. (e["doughnut"] = "doughnut"),
  8638. (e["line"] = "line"),
  8639. (e["pie"] = "pie"),
  8640. (e["radar"] = "radar"),
  8641. (e["scatter"] = "scatter")
  8642. })(F || (F = {})),
  8643. (function (e) {
  8644. ;(e["accentBorderCallout1"] = "accentBorderCallout1"),
  8645. (e["accentBorderCallout2"] = "accentBorderCallout2"),
  8646. (e["accentBorderCallout3"] = "accentBorderCallout3"),
  8647. (e["accentCallout1"] = "accentCallout1"),
  8648. (e["accentCallout2"] = "accentCallout2"),
  8649. (e["accentCallout3"] = "accentCallout3"),
  8650. (e["actionButtonBackPrevious"] = "actionButtonBackPrevious"),
  8651. (e["actionButtonBeginning"] = "actionButtonBeginning"),
  8652. (e["actionButtonBlank"] = "actionButtonBlank"),
  8653. (e["actionButtonDocument"] = "actionButtonDocument"),
  8654. (e["actionButtonEnd"] = "actionButtonEnd"),
  8655. (e["actionButtonForwardNext"] = "actionButtonForwardNext"),
  8656. (e["actionButtonHelp"] = "actionButtonHelp"),
  8657. (e["actionButtonHome"] = "actionButtonHome"),
  8658. (e["actionButtonInformation"] = "actionButtonInformation"),
  8659. (e["actionButtonMovie"] = "actionButtonMovie"),
  8660. (e["actionButtonReturn"] = "actionButtonReturn"),
  8661. (e["actionButtonSound"] = "actionButtonSound"),
  8662. (e["arc"] = "arc"),
  8663. (e["bentArrow"] = "bentArrow"),
  8664. (e["bentUpArrow"] = "bentUpArrow"),
  8665. (e["bevel"] = "bevel"),
  8666. (e["blockArc"] = "blockArc"),
  8667. (e["borderCallout1"] = "borderCallout1"),
  8668. (e["borderCallout2"] = "borderCallout2"),
  8669. (e["borderCallout3"] = "borderCallout3"),
  8670. (e["bracePair"] = "bracePair"),
  8671. (e["bracketPair"] = "bracketPair"),
  8672. (e["callout1"] = "callout1"),
  8673. (e["callout2"] = "callout2"),
  8674. (e["callout3"] = "callout3"),
  8675. (e["can"] = "can"),
  8676. (e["chartPlus"] = "chartPlus"),
  8677. (e["chartStar"] = "chartStar"),
  8678. (e["chartX"] = "chartX"),
  8679. (e["chevron"] = "chevron"),
  8680. (e["chord"] = "chord"),
  8681. (e["circularArrow"] = "circularArrow"),
  8682. (e["cloud"] = "cloud"),
  8683. (e["cloudCallout"] = "cloudCallout"),
  8684. (e["corner"] = "corner"),
  8685. (e["cornerTabs"] = "cornerTabs"),
  8686. (e["cube"] = "cube"),
  8687. (e["curvedDownArrow"] = "curvedDownArrow"),
  8688. (e["curvedLeftArrow"] = "curvedLeftArrow"),
  8689. (e["curvedRightArrow"] = "curvedRightArrow"),
  8690. (e["curvedUpArrow"] = "curvedUpArrow"),
  8691. (e["custGeom"] = "custGeom"),
  8692. (e["decagon"] = "decagon"),
  8693. (e["diagStripe"] = "diagStripe"),
  8694. (e["diamond"] = "diamond"),
  8695. (e["dodecagon"] = "dodecagon"),
  8696. (e["donut"] = "donut"),
  8697. (e["doubleWave"] = "doubleWave"),
  8698. (e["downArrow"] = "downArrow"),
  8699. (e["downArrowCallout"] = "downArrowCallout"),
  8700. (e["ellipse"] = "ellipse"),
  8701. (e["ellipseRibbon"] = "ellipseRibbon"),
  8702. (e["ellipseRibbon2"] = "ellipseRibbon2"),
  8703. (e["flowChartAlternateProcess"] = "flowChartAlternateProcess"),
  8704. (e["flowChartCollate"] = "flowChartCollate"),
  8705. (e["flowChartConnector"] = "flowChartConnector"),
  8706. (e["flowChartDecision"] = "flowChartDecision"),
  8707. (e["flowChartDelay"] = "flowChartDelay"),
  8708. (e["flowChartDisplay"] = "flowChartDisplay"),
  8709. (e["flowChartDocument"] = "flowChartDocument"),
  8710. (e["flowChartExtract"] = "flowChartExtract"),
  8711. (e["flowChartInputOutput"] = "flowChartInputOutput"),
  8712. (e["flowChartInternalStorage"] = "flowChartInternalStorage"),
  8713. (e["flowChartMagneticDisk"] = "flowChartMagneticDisk"),
  8714. (e["flowChartMagneticDrum"] = "flowChartMagneticDrum"),
  8715. (e["flowChartMagneticTape"] = "flowChartMagneticTape"),
  8716. (e["flowChartManualInput"] = "flowChartManualInput"),
  8717. (e["flowChartManualOperation"] = "flowChartManualOperation"),
  8718. (e["flowChartMerge"] = "flowChartMerge"),
  8719. (e["flowChartMultidocument"] = "flowChartMultidocument"),
  8720. (e["flowChartOfflineStorage"] = "flowChartOfflineStorage"),
  8721. (e["flowChartOffpageConnector"] = "flowChartOffpageConnector"),
  8722. (e["flowChartOnlineStorage"] = "flowChartOnlineStorage"),
  8723. (e["flowChartOr"] = "flowChartOr"),
  8724. (e["flowChartPredefinedProcess"] = "flowChartPredefinedProcess"),
  8725. (e["flowChartPreparation"] = "flowChartPreparation"),
  8726. (e["flowChartProcess"] = "flowChartProcess"),
  8727. (e["flowChartPunchedCard"] = "flowChartPunchedCard"),
  8728. (e["flowChartPunchedTape"] = "flowChartPunchedTape"),
  8729. (e["flowChartSort"] = "flowChartSort"),
  8730. (e["flowChartSummingJunction"] = "flowChartSummingJunction"),
  8731. (e["flowChartTerminator"] = "flowChartTerminator"),
  8732. (e["folderCorner"] = "folderCorner"),
  8733. (e["frame"] = "frame"),
  8734. (e["funnel"] = "funnel"),
  8735. (e["gear6"] = "gear6"),
  8736. (e["gear9"] = "gear9"),
  8737. (e["halfFrame"] = "halfFrame"),
  8738. (e["heart"] = "heart"),
  8739. (e["heptagon"] = "heptagon"),
  8740. (e["hexagon"] = "hexagon"),
  8741. (e["homePlate"] = "homePlate"),
  8742. (e["horizontalScroll"] = "horizontalScroll"),
  8743. (e["irregularSeal1"] = "irregularSeal1"),
  8744. (e["irregularSeal2"] = "irregularSeal2"),
  8745. (e["leftArrow"] = "leftArrow"),
  8746. (e["leftArrowCallout"] = "leftArrowCallout"),
  8747. (e["leftBrace"] = "leftBrace"),
  8748. (e["leftBracket"] = "leftBracket"),
  8749. (e["leftCircularArrow"] = "leftCircularArrow"),
  8750. (e["leftRightArrow"] = "leftRightArrow"),
  8751. (e["leftRightArrowCallout"] = "leftRightArrowCallout"),
  8752. (e["leftRightCircularArrow"] = "leftRightCircularArrow"),
  8753. (e["leftRightRibbon"] = "leftRightRibbon"),
  8754. (e["leftRightUpArrow"] = "leftRightUpArrow"),
  8755. (e["leftUpArrow"] = "leftUpArrow"),
  8756. (e["lightningBolt"] = "lightningBolt"),
  8757. (e["line"] = "line"),
  8758. (e["lineInv"] = "lineInv"),
  8759. (e["mathDivide"] = "mathDivide"),
  8760. (e["mathEqual"] = "mathEqual"),
  8761. (e["mathMinus"] = "mathMinus"),
  8762. (e["mathMultiply"] = "mathMultiply"),
  8763. (e["mathNotEqual"] = "mathNotEqual"),
  8764. (e["mathPlus"] = "mathPlus"),
  8765. (e["moon"] = "moon"),
  8766. (e["noSmoking"] = "noSmoking"),
  8767. (e["nonIsoscelesTrapezoid"] = "nonIsoscelesTrapezoid"),
  8768. (e["notchedRightArrow"] = "notchedRightArrow"),
  8769. (e["octagon"] = "octagon"),
  8770. (e["parallelogram"] = "parallelogram"),
  8771. (e["pentagon"] = "pentagon"),
  8772. (e["pie"] = "pie"),
  8773. (e["pieWedge"] = "pieWedge"),
  8774. (e["plaque"] = "plaque"),
  8775. (e["plaqueTabs"] = "plaqueTabs"),
  8776. (e["plus"] = "plus"),
  8777. (e["quadArrow"] = "quadArrow"),
  8778. (e["quadArrowCallout"] = "quadArrowCallout"),
  8779. (e["rect"] = "rect"),
  8780. (e["ribbon"] = "ribbon"),
  8781. (e["ribbon2"] = "ribbon2"),
  8782. (e["rightArrow"] = "rightArrow"),
  8783. (e["rightArrowCallout"] = "rightArrowCallout"),
  8784. (e["rightBrace"] = "rightBrace"),
  8785. (e["rightBracket"] = "rightBracket"),
  8786. (e["round1Rect"] = "round1Rect"),
  8787. (e["round2DiagRect"] = "round2DiagRect"),
  8788. (e["round2SameRect"] = "round2SameRect"),
  8789. (e["roundRect"] = "roundRect"),
  8790. (e["rtTriangle"] = "rtTriangle"),
  8791. (e["smileyFace"] = "smileyFace"),
  8792. (e["snip1Rect"] = "snip1Rect"),
  8793. (e["snip2DiagRect"] = "snip2DiagRect"),
  8794. (e["snip2SameRect"] = "snip2SameRect"),
  8795. (e["snipRoundRect"] = "snipRoundRect"),
  8796. (e["squareTabs"] = "squareTabs"),
  8797. (e["star10"] = "star10"),
  8798. (e["star12"] = "star12"),
  8799. (e["star16"] = "star16"),
  8800. (e["star24"] = "star24"),
  8801. (e["star32"] = "star32"),
  8802. (e["star4"] = "star4"),
  8803. (e["star5"] = "star5"),
  8804. (e["star6"] = "star6"),
  8805. (e["star7"] = "star7"),
  8806. (e["star8"] = "star8"),
  8807. (e["stripedRightArrow"] = "stripedRightArrow"),
  8808. (e["sun"] = "sun"),
  8809. (e["swooshArrow"] = "swooshArrow"),
  8810. (e["teardrop"] = "teardrop"),
  8811. (e["trapezoid"] = "trapezoid"),
  8812. (e["triangle"] = "triangle"),
  8813. (e["upArrow"] = "upArrow"),
  8814. (e["upArrowCallout"] = "upArrowCallout"),
  8815. (e["upDownArrow"] = "upDownArrow"),
  8816. (e["upDownArrowCallout"] = "upDownArrowCallout"),
  8817. (e["uturnArrow"] = "uturnArrow"),
  8818. (e["verticalScroll"] = "verticalScroll"),
  8819. (e["wave"] = "wave"),
  8820. (e["wedgeEllipseCallout"] = "wedgeEllipseCallout"),
  8821. (e["wedgeRectCallout"] = "wedgeRectCallout"),
  8822. (e["wedgeRoundRectCallout"] = "wedgeRoundRectCallout")
  8823. })(U || (U = {})),
  8824. (function (e) {
  8825. ;(e["text1"] = "tx1"),
  8826. (e["text2"] = "tx2"),
  8827. (e["background1"] = "bg1"),
  8828. (e["background2"] = "bg2"),
  8829. (e["accent1"] = "accent1"),
  8830. (e["accent2"] = "accent2"),
  8831. (e["accent3"] = "accent3"),
  8832. (e["accent4"] = "accent4"),
  8833. (e["accent5"] = "accent5"),
  8834. (e["accent6"] = "accent6")
  8835. })(z || (z = {})),
  8836. (function (e) {
  8837. ;(e["left"] = "left"), (e["center"] = "center"), (e["right"] = "right"), (e["justify"] = "justify")
  8838. })(q || (q = {})),
  8839. (function (e) {
  8840. ;(e["top"] = "top"), (e["middle"] = "middle"), (e["bottom"] = "bottom")
  8841. })(G || (G = {})),
  8842. (function (e) {
  8843. ;(e["ACTION_BUTTON_BACK_OR_PREVIOUS"] = "actionButtonBackPrevious"),
  8844. (e["ACTION_BUTTON_BEGINNING"] = "actionButtonBeginning"),
  8845. (e["ACTION_BUTTON_CUSTOM"] = "actionButtonBlank"),
  8846. (e["ACTION_BUTTON_DOCUMENT"] = "actionButtonDocument"),
  8847. (e["ACTION_BUTTON_END"] = "actionButtonEnd"),
  8848. (e["ACTION_BUTTON_FORWARD_OR_NEXT"] = "actionButtonForwardNext"),
  8849. (e["ACTION_BUTTON_HELP"] = "actionButtonHelp"),
  8850. (e["ACTION_BUTTON_HOME"] = "actionButtonHome"),
  8851. (e["ACTION_BUTTON_INFORMATION"] = "actionButtonInformation"),
  8852. (e["ACTION_BUTTON_MOVIE"] = "actionButtonMovie"),
  8853. (e["ACTION_BUTTON_RETURN"] = "actionButtonReturn"),
  8854. (e["ACTION_BUTTON_SOUND"] = "actionButtonSound"),
  8855. (e["ARC"] = "arc"),
  8856. (e["BALLOON"] = "wedgeRoundRectCallout"),
  8857. (e["BENT_ARROW"] = "bentArrow"),
  8858. (e["BENT_UP_ARROW"] = "bentUpArrow"),
  8859. (e["BEVEL"] = "bevel"),
  8860. (e["BLOCK_ARC"] = "blockArc"),
  8861. (e["CAN"] = "can"),
  8862. (e["CHART_PLUS"] = "chartPlus"),
  8863. (e["CHART_STAR"] = "chartStar"),
  8864. (e["CHART_X"] = "chartX"),
  8865. (e["CHEVRON"] = "chevron"),
  8866. (e["CHORD"] = "chord"),
  8867. (e["CIRCULAR_ARROW"] = "circularArrow"),
  8868. (e["CLOUD"] = "cloud"),
  8869. (e["CLOUD_CALLOUT"] = "cloudCallout"),
  8870. (e["CORNER"] = "corner"),
  8871. (e["CORNER_TABS"] = "cornerTabs"),
  8872. (e["CROSS"] = "plus"),
  8873. (e["CUBE"] = "cube"),
  8874. (e["CURVED_DOWN_ARROW"] = "curvedDownArrow"),
  8875. (e["CURVED_DOWN_RIBBON"] = "ellipseRibbon"),
  8876. (e["CURVED_LEFT_ARROW"] = "curvedLeftArrow"),
  8877. (e["CURVED_RIGHT_ARROW"] = "curvedRightArrow"),
  8878. (e["CURVED_UP_ARROW"] = "curvedUpArrow"),
  8879. (e["CURVED_UP_RIBBON"] = "ellipseRibbon2"),
  8880. (e["CUSTOM_GEOMETRY"] = "custGeom"),
  8881. (e["DECAGON"] = "decagon"),
  8882. (e["DIAGONAL_STRIPE"] = "diagStripe"),
  8883. (e["DIAMOND"] = "diamond"),
  8884. (e["DODECAGON"] = "dodecagon"),
  8885. (e["DONUT"] = "donut"),
  8886. (e["DOUBLE_BRACE"] = "bracePair"),
  8887. (e["DOUBLE_BRACKET"] = "bracketPair"),
  8888. (e["DOUBLE_WAVE"] = "doubleWave"),
  8889. (e["DOWN_ARROW"] = "downArrow"),
  8890. (e["DOWN_ARROW_CALLOUT"] = "downArrowCallout"),
  8891. (e["DOWN_RIBBON"] = "ribbon"),
  8892. (e["EXPLOSION1"] = "irregularSeal1"),
  8893. (e["EXPLOSION2"] = "irregularSeal2"),
  8894. (e["FLOWCHART_ALTERNATE_PROCESS"] = "flowChartAlternateProcess"),
  8895. (e["FLOWCHART_CARD"] = "flowChartPunchedCard"),
  8896. (e["FLOWCHART_COLLATE"] = "flowChartCollate"),
  8897. (e["FLOWCHART_CONNECTOR"] = "flowChartConnector"),
  8898. (e["FLOWCHART_DATA"] = "flowChartInputOutput"),
  8899. (e["FLOWCHART_DECISION"] = "flowChartDecision"),
  8900. (e["FLOWCHART_DELAY"] = "flowChartDelay"),
  8901. (e["FLOWCHART_DIRECT_ACCESS_STORAGE"] = "flowChartMagneticDrum"),
  8902. (e["FLOWCHART_DISPLAY"] = "flowChartDisplay"),
  8903. (e["FLOWCHART_DOCUMENT"] = "flowChartDocument"),
  8904. (e["FLOWCHART_EXTRACT"] = "flowChartExtract"),
  8905. (e["FLOWCHART_INTERNAL_STORAGE"] = "flowChartInternalStorage"),
  8906. (e["FLOWCHART_MAGNETIC_DISK"] = "flowChartMagneticDisk"),
  8907. (e["FLOWCHART_MANUAL_INPUT"] = "flowChartManualInput"),
  8908. (e["FLOWCHART_MANUAL_OPERATION"] = "flowChartManualOperation"),
  8909. (e["FLOWCHART_MERGE"] = "flowChartMerge"),
  8910. (e["FLOWCHART_MULTIDOCUMENT"] = "flowChartMultidocument"),
  8911. (e["FLOWCHART_OFFLINE_STORAGE"] = "flowChartOfflineStorage"),
  8912. (e["FLOWCHART_OFFPAGE_CONNECTOR"] = "flowChartOffpageConnector"),
  8913. (e["FLOWCHART_OR"] = "flowChartOr"),
  8914. (e["FLOWCHART_PREDEFINED_PROCESS"] = "flowChartPredefinedProcess"),
  8915. (e["FLOWCHART_PREPARATION"] = "flowChartPreparation"),
  8916. (e["FLOWCHART_PROCESS"] = "flowChartProcess"),
  8917. (e["FLOWCHART_PUNCHED_TAPE"] = "flowChartPunchedTape"),
  8918. (e["FLOWCHART_SEQUENTIAL_ACCESS_STORAGE"] = "flowChartMagneticTape"),
  8919. (e["FLOWCHART_SORT"] = "flowChartSort"),
  8920. (e["FLOWCHART_STORED_DATA"] = "flowChartOnlineStorage"),
  8921. (e["FLOWCHART_SUMMING_JUNCTION"] = "flowChartSummingJunction"),
  8922. (e["FLOWCHART_TERMINATOR"] = "flowChartTerminator"),
  8923. (e["FOLDED_CORNER"] = "folderCorner"),
  8924. (e["FRAME"] = "frame"),
  8925. (e["FUNNEL"] = "funnel"),
  8926. (e["GEAR_6"] = "gear6"),
  8927. (e["GEAR_9"] = "gear9"),
  8928. (e["HALF_FRAME"] = "halfFrame"),
  8929. (e["HEART"] = "heart"),
  8930. (e["HEPTAGON"] = "heptagon"),
  8931. (e["HEXAGON"] = "hexagon"),
  8932. (e["HORIZONTAL_SCROLL"] = "horizontalScroll"),
  8933. (e["ISOSCELES_TRIANGLE"] = "triangle"),
  8934. (e["LEFT_ARROW"] = "leftArrow"),
  8935. (e["LEFT_ARROW_CALLOUT"] = "leftArrowCallout"),
  8936. (e["LEFT_BRACE"] = "leftBrace"),
  8937. (e["LEFT_BRACKET"] = "leftBracket"),
  8938. (e["LEFT_CIRCULAR_ARROW"] = "leftCircularArrow"),
  8939. (e["LEFT_RIGHT_ARROW"] = "leftRightArrow"),
  8940. (e["LEFT_RIGHT_ARROW_CALLOUT"] = "leftRightArrowCallout"),
  8941. (e["LEFT_RIGHT_CIRCULAR_ARROW"] = "leftRightCircularArrow"),
  8942. (e["LEFT_RIGHT_RIBBON"] = "leftRightRibbon"),
  8943. (e["LEFT_RIGHT_UP_ARROW"] = "leftRightUpArrow"),
  8944. (e["LEFT_UP_ARROW"] = "leftUpArrow"),
  8945. (e["LIGHTNING_BOLT"] = "lightningBolt"),
  8946. (e["LINE_CALLOUT_1"] = "borderCallout1"),
  8947. (e["LINE_CALLOUT_1_ACCENT_BAR"] = "accentCallout1"),
  8948. (e["LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout1"),
  8949. (e["LINE_CALLOUT_1_NO_BORDER"] = "callout1"),
  8950. (e["LINE_CALLOUT_2"] = "borderCallout2"),
  8951. (e["LINE_CALLOUT_2_ACCENT_BAR"] = "accentCallout2"),
  8952. (e["LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout2"),
  8953. (e["LINE_CALLOUT_2_NO_BORDER"] = "callout2"),
  8954. (e["LINE_CALLOUT_3"] = "borderCallout3"),
  8955. (e["LINE_CALLOUT_3_ACCENT_BAR"] = "accentCallout3"),
  8956. (e["LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout3"),
  8957. (e["LINE_CALLOUT_3_NO_BORDER"] = "callout3"),
  8958. (e["LINE_CALLOUT_4"] = "borderCallout3"),
  8959. (e["LINE_CALLOUT_4_ACCENT_BAR"] = "accentCallout3"),
  8960. (e["LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout3"),
  8961. (e["LINE_CALLOUT_4_NO_BORDER"] = "callout3"),
  8962. (e["LINE"] = "line"),
  8963. (e["LINE_INVERSE"] = "lineInv"),
  8964. (e["MATH_DIVIDE"] = "mathDivide"),
  8965. (e["MATH_EQUAL"] = "mathEqual"),
  8966. (e["MATH_MINUS"] = "mathMinus"),
  8967. (e["MATH_MULTIPLY"] = "mathMultiply"),
  8968. (e["MATH_NOT_EQUAL"] = "mathNotEqual"),
  8969. (e["MATH_PLUS"] = "mathPlus"),
  8970. (e["MOON"] = "moon"),
  8971. (e["NON_ISOSCELES_TRAPEZOID"] = "nonIsoscelesTrapezoid"),
  8972. (e["NOTCHED_RIGHT_ARROW"] = "notchedRightArrow"),
  8973. (e["NO_SYMBOL"] = "noSmoking"),
  8974. (e["OCTAGON"] = "octagon"),
  8975. (e["OVAL"] = "ellipse"),
  8976. (e["OVAL_CALLOUT"] = "wedgeEllipseCallout"),
  8977. (e["PARALLELOGRAM"] = "parallelogram"),
  8978. (e["PENTAGON"] = "homePlate"),
  8979. (e["PIE"] = "pie"),
  8980. (e["PIE_WEDGE"] = "pieWedge"),
  8981. (e["PLAQUE"] = "plaque"),
  8982. (e["PLAQUE_TABS"] = "plaqueTabs"),
  8983. (e["QUAD_ARROW"] = "quadArrow"),
  8984. (e["QUAD_ARROW_CALLOUT"] = "quadArrowCallout"),
  8985. (e["RECTANGLE"] = "rect"),
  8986. (e["RECTANGULAR_CALLOUT"] = "wedgeRectCallout"),
  8987. (e["REGULAR_PENTAGON"] = "pentagon"),
  8988. (e["RIGHT_ARROW"] = "rightArrow"),
  8989. (e["RIGHT_ARROW_CALLOUT"] = "rightArrowCallout"),
  8990. (e["RIGHT_BRACE"] = "rightBrace"),
  8991. (e["RIGHT_BRACKET"] = "rightBracket"),
  8992. (e["RIGHT_TRIANGLE"] = "rtTriangle"),
  8993. (e["ROUNDED_RECTANGLE"] = "roundRect"),
  8994. (e["ROUNDED_RECTANGULAR_CALLOUT"] = "wedgeRoundRectCallout"),
  8995. (e["ROUND_1_RECTANGLE"] = "round1Rect"),
  8996. (e["ROUND_2_DIAG_RECTANGLE"] = "round2DiagRect"),
  8997. (e["ROUND_2_SAME_RECTANGLE"] = "round2SameRect"),
  8998. (e["SMILEY_FACE"] = "smileyFace"),
  8999. (e["SNIP_1_RECTANGLE"] = "snip1Rect"),
  9000. (e["SNIP_2_DIAG_RECTANGLE"] = "snip2DiagRect"),
  9001. (e["SNIP_2_SAME_RECTANGLE"] = "snip2SameRect"),
  9002. (e["SNIP_ROUND_RECTANGLE"] = "snipRoundRect"),
  9003. (e["SQUARE_TABS"] = "squareTabs"),
  9004. (e["STAR_10_POINT"] = "star10"),
  9005. (e["STAR_12_POINT"] = "star12"),
  9006. (e["STAR_16_POINT"] = "star16"),
  9007. (e["STAR_24_POINT"] = "star24"),
  9008. (e["STAR_32_POINT"] = "star32"),
  9009. (e["STAR_4_POINT"] = "star4"),
  9010. (e["STAR_5_POINT"] = "star5"),
  9011. (e["STAR_6_POINT"] = "star6"),
  9012. (e["STAR_7_POINT"] = "star7"),
  9013. (e["STAR_8_POINT"] = "star8"),
  9014. (e["STRIPED_RIGHT_ARROW"] = "stripedRightArrow"),
  9015. (e["SUN"] = "sun"),
  9016. (e["SWOOSH_ARROW"] = "swooshArrow"),
  9017. (e["TEAR"] = "teardrop"),
  9018. (e["TRAPEZOID"] = "trapezoid"),
  9019. (e["UP_ARROW"] = "upArrow"),
  9020. (e["UP_ARROW_CALLOUT"] = "upArrowCallout"),
  9021. (e["UP_DOWN_ARROW"] = "upDownArrow"),
  9022. (e["UP_DOWN_ARROW_CALLOUT"] = "upDownArrowCallout"),
  9023. (e["UP_RIBBON"] = "ribbon2"),
  9024. (e["U_TURN_ARROW"] = "uturnArrow"),
  9025. (e["VERTICAL_SCROLL"] = "verticalScroll"),
  9026. (e["WAVE"] = "wave")
  9027. })(W || (W = {})),
  9028. (function (e) {
  9029. ;(e["AREA"] = "area"),
  9030. (e["BAR"] = "bar"),
  9031. (e["BAR3D"] = "bar3D"),
  9032. (e["BUBBLE"] = "bubble"),
  9033. (e["BUBBLE3D"] = "bubble3D"),
  9034. (e["DOUGHNUT"] = "doughnut"),
  9035. (e["LINE"] = "line"),
  9036. (e["PIE"] = "pie"),
  9037. (e["RADAR"] = "radar"),
  9038. (e["SCATTER"] = "scatter")
  9039. })(V || (V = {})),
  9040. (function (e) {
  9041. ;(e["TEXT1"] = "tx1"),
  9042. (e["TEXT2"] = "tx2"),
  9043. (e["BACKGROUND1"] = "bg1"),
  9044. (e["BACKGROUND2"] = "bg2"),
  9045. (e["ACCENT1"] = "accent1"),
  9046. (e["ACCENT2"] = "accent2"),
  9047. (e["ACCENT3"] = "accent3"),
  9048. (e["ACCENT4"] = "accent4"),
  9049. (e["ACCENT5"] = "accent5"),
  9050. (e["ACCENT6"] = "accent6")
  9051. })(H || (H = {})),
  9052. (function (e) {
  9053. ;(e["chart"] = "chart"),
  9054. (e["image"] = "image"),
  9055. (e["line"] = "line"),
  9056. (e["rect"] = "rect"),
  9057. (e["text"] = "text"),
  9058. (e["placeholder"] = "placeholder")
  9059. })(X || (X = {})),
  9060. (function (e) {
  9061. ;(e["chart"] = "chart"),
  9062. (e["hyperlink"] = "hyperlink"),
  9063. (e["image"] = "image"),
  9064. (e["media"] = "media"),
  9065. (e["online"] = "online"),
  9066. (e["placeholder"] = "placeholder"),
  9067. (e["table"] = "table"),
  9068. (e["tablecell"] = "tablecell"),
  9069. (e["text"] = "text"),
  9070. (e["notes"] = "notes")
  9071. })(Y || (Y = {})),
  9072. (function (e) {
  9073. ;(e["title"] = "title"),
  9074. (e["body"] = "body"),
  9075. (e["image"] = "pic"),
  9076. (e["chart"] = "chart"),
  9077. (e["table"] = "tbl"),
  9078. (e["media"] = "media")
  9079. })(K || (K = {})),
  9080. (function (e) {
  9081. ;(e["DEFAULT"] = "&#x2022;"), (e["CHECK"] = "&#x2713;"), (e["STAR"] = "&#x2605;"), (e["TRIANGLE"] = "&#x25B6;")
  9082. })(Z || (Z = {}))
  9083. var J =
  9084. "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAB3CAYAAAD1oOVhAAAGAUlEQVR4Xu2dT0xcRRzHf7tAYSsc0EBSIq2xEg8mtTGebVzEqOVIolz0siRE4gGTStqKwdpWsXoyGhMuyAVJOHBgqyvLNgonDkabeCBYW/8kTUr0wsJC+Wfm0bfuvn37Znbem9mR9303mJnf/Pb7ed95M7PDI5JIJPYJV5EC7e3t1N/fT62trdqViQCIu+bVgpIHEo/Hqbe3V/sdYVKHyWSSZmZm8ilVA0oeyNjYmEnaVC2Xvr6+qg5fAOJAz4DU1dURGzFSqZRVqtMpAFIGyMjICC0vL9PExIRWKADiAYTNshYWFrRCARAOEFZcCKWtrY0GBgaUTYkBRACIE4rKZwqACALR5RQAqQCIDqcASIVAVDsFQCSAqHQKgEgCUeUUAPEBRIVTAMQnEBvK5OQkbW9vk991CoAEAMQJxc86BUACAhKUUwAkQCBBOAVAAgbi1ykAogCIH6cAiCIgsk4BEIVAZJwCIIqBVLqiBxANQFgXS0tLND4+zl08AogmIG5OSSQS1gGKwgtANAIRcQqAaAbCe6YASBWA2E6xDyeyDUl7+AKQMkDYYevm5mZHabA/Li4uUiaTsYLau8QA4gLE/hU7wajyYtv1hReDAiAOxQcHBymbzark4BkbQKom/X8dp9Npmpqasn4BIAYAYSnYp+4BBEAMUcCwNOCQsAKZnp62NtQOw8WmwT09PUo+ijaHsOMx7GppaaH6+nolH0Z10K2tLVpdXbW6UfV3mNqBdHd3U1NTk2rtlMRfW1uj2dlZAFGirkRQAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAGHqrm8caPzQ0WC1logbeiC7X3xJm0PvUmRzh45cuki1588FAmVn9BO6P3yF9utrqGH0MtW82S8UN9RA9v/4k7InjhcJFTs/TLVXLwmJV67S7vD7tHF5pKi46fYdosdOcOOGG8j1OcqefbFEJD9Q3GCwDhqT31HklS4A8VRgfYM2Op6k3bt/BQJl58J7lPvwg5JYNccepaMry0LPqFA7hCm39+NNyp2J0172b19QysGINj5CsRtpij57musOViH0QPJQXn6J9u7dlYJSFkbrMYolrwvDAJAC+WWdEpQz7FTgECeUCpzi6YxvvqXoM6eEhqnCSgDikEzUKUE7Aw7xuHctKB5OYU3dZlNR9syQdAaAcAYTC0pXF+39c09o2Ik+3EqxVKqiB7hbYAxZkk4pbBaEM+AQofv+wTrFwylBOQNABIGwavdfe4O2pg5elO+86l99nY58/VUF0byrYsjiSFluNlXYrOHcBar7+EogUADEQ0YRGHbzoKAASBkg2+9cpM1rV0tK2QOcXW7bLEFAARAXIF4w2DrDWoeUWaf4hQIgDiA8GPZ2iNfi0Q8UACkAIgrDbrJ385eDxaPLLrEsFAB5oG6lMPJQPLZZZKAACBGVhcG2Q+bmuLu2nk55e4jqPv1IeEoceiBeX7s2zCa5MAqdstl91vfXwaEGsv/rb5TtOFk6tWXOuJGh6KmnhO9sayrMninPx103JBtXblHkice58cINZP4Hyr5wpkgkdiChEmc4FWazLzenNKa/p0jncwDiqcD6BuWePk07t1asatZGoYQzSqA4nFJ7soNiP/+EUyfc25GI2GG53dHPrKo1g/1Cw4pIXLrzO+1c+/wg7tBbFDle/EbQcjFCPWQJCau5EoBoFpzXHYDwFNJcDiCaBed1ByA8hTSXA4hmwXndAQhPIc3lAKJZcF53AMJTSHM5gGgWnNcdgPAU0lwOIJoF53UHIDyFNJcfSiCdnZ0Ui8U0SxlMd7lcjubn561gh+Y1scFIU/0o/3sgeLO12E2k7UXKYumgFoAYdg8ACIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6ZQ4JB6PKzviYthnNy4d9h+1M5mMlVckkUjsG5dhiBMCEMPg/wuOfrZZ/RSywQAAAABJRU5ErkJggg==",
  9085. $ =
  9086. "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAHCCAYAAAAXY63IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAFRdJREFUeNrs3WFz2lbagOEnkiVLxsYQsP//z9uZZmMswJIlS3k/tPb23U3TOAUM6Lpm8qkzbXM4A7p1dI4+/etf//oWAAAAB3ARETGdTo0EAACwV1VVRWIYAACAQxEgAACAAAEAAAQIAACAAAEAAAQIAACAAAEAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAAAAAECAAAgQAAAAAECAAAgQAAAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAIAAAQAAECAAAIAAAQAAECAAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAECAAAgAABAAAECAAAgAABAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAACAAAEAABAgAACAAAEAABAgAACAAAEAAAQIAACAAAEAAAQIAACAAAEAAAQIAAAgQAAAAPbnwhAA8CuGYYiXl5fv/7hcXESSuMcFgAAB4G90XRffvn2L5+fniIho2zYiIvq+j77vf+nfmaZppGkaERF5nkdExOXlZXz69CmyLDPoAAIEgDFo2zaen5/j5eUl+r6Pruv28t/5c7y8Bs1ms3n751mWRZqmcXFxEZeXl2+RAoAAAeBEDcMQbdu+/dlXbPyKruve/n9ewyTLssjz/O2PR7oABAgAR67v+2iaJpqmeVt5OBWvUbLdbiPi90e3iqKIoijeHucCQIAAcATRsd1uo2maX96zcYxeV26qqoo0TaMoiphMJmIEQIAAcGjDMERd11HX9VE9WrXvyNput5FlWZRlGWVZekwLQIAAsE+vjyjVdT3qMei6LqqqirIsYzKZOFkLQIAAsEt1XcfT09PJ7es4xLjUdR15nsfV1VWUZWlQAAQIAP/kAnu9Xp/V3o59eN0vsl6v4+bmRogACBAAhMf+9X0fq9VKiAAIEAB+RtM0UVWV8NhhiEyn0yiKwqAACBAAXr1uqrbHY/ch8vDwEHmex3Q6tVkdQIAAjNswDLHZbN5evsd+tG0bX758iclkEtfX147vBRAgAOPTNE08Pj7GMAwG40BejzC+vb31WBaAAAEYh9f9CR63+hjDMLw9ljWfz62GAOyZb1mAD9Q0TXz58kV8HIG2beO3336LpmkMBsAeWQEB+ADDMERVVaN+g/mxfi4PDw9RlmVMp1OrIQACBOD0dV0XDw8PjtY9YnVdR9u2MZ/PnZQFsGNu7QAc+ML269ev4uME9H0fX79+tUoFsGNWQAAOZLVauZg9McMwxGq1iufn55jNZgYEQIAAnMZF7MPDg43mJ6yu6+j73ilZADvgWxRgj7qui69fv4qPM9C2rcfnAAQIwPHHR9d1BuOMPtMvX774TAEECMBxxoe3mp+fYRiEJYAAATgeryddiY/zjxAvLQQQIAAfHh+r1Up8jCRCHh4enGwGIEAAPkbTNLFarQzEyKxWKyshAAIE4LC6rovHx0cDMVKPj4/2hAAIEIDDxYc9H+NmYzqAAAEQH4gQAAECcF4XnI+Pj+IDcwJAgADs38PDg7vd/I+u6+Lh4cFAAAgQgN1ZrVbRtq2B4LvatnUiGoAAAdiNuq69+wHzBECAAOxf13VRVZWB4KdUVeUxPQABAvBrXt98bYMx5gyAAAHYu6qqou97A8G79H1v1QxAgAC8T9M0nufnl9V1HU3TGAgAAQLw9/q+j8fHx5P6f86yLMqy9OEdEe8HARAgAD9ltVqd3IXjp0+fYjabxWKxiDzPfYhH4HU/CIAAAeAvNU1z0u/7yPM8FotFzGazSBJf+R+tbVuPYgECxBAAfN8wDCf36NVfKcsy7u7u4vr62gf7wTyKBQgQAL5rs9mc1YVikiRxc3MT9/f3URSFD/gDw3az2RgIQIAA8B9d18V2uz3Lv1uapjGfz2OxWESWZT7sD7Ddbr2gEBAgAPzHGN7bkOd5LJfLmE6n9oeYYwACBOCjnPrG8/eaTCZxd3cXk8nEh39ANqQDAgSAiBjnnekkSWI6ncb9/b1je801AAECcCh1XUff96P9+6dpGovFIhaLRaRpakLsWd/3Ude1gQAECMBYrddrgxC/7w+5v7+P6+tr+0PMOQABArAPY1/9+J6bm5u4u7uLsiwNxp5YBQEECMBIuRP9Fz8USRKz2SyWy6X9IeYegAAB2AWrH38vy7JYLBYxn8/tD9kxqyCAAAEYmaenJ4Pwk4qiiOVyaX+IOQggQAB+Rdd1o3rvx05+PJIkbm5uYrlc2h+yI23bejs6IEAAxmC73RqEX5Smacxms1gsFpFlmQExFwEECMCPDMPg2fsdyPM8lstlzGYzj2X9A3VdxzAMBgIQIADnfMHH7pRlGXd3d3F9fW0wzEkAAQLgYu8APyx/7A+5v7+PoigMiDkJIEAAIn4/+tSm3/1J0zTm83ksFgvH9r5D13WOhAYECMA5suH3MPI8j/v7+5hOp/aHmJsAAgQYr6ZpDMIBTSaTuLu7i8lkYjDMTUCAAIxL3/cec/mIH50kiel0Gvf395HnuQExPwEBAjAO7jB/rDRNY7FYxHw+tz/EHAUECICLOw6jKIq4v7+P6+tr+0PMUUCAAJynYRiibVsDcURubm7i7u4uyrI0GH9o29ZLCQEBAnAuF3Yc4Q9SksRsNovlcml/iLkKCBAAF3UcRpZlsVgsYjabjX5/iLkKnKMLQwC4qOMYlWUZl5eXsd1u4+npaZSPI5mrwDmyAgKMjrefn9CPVJLEzc1NLJfLUe4PMVcBAQJw4txRPk1pmsZsNovFYhFZlpmzAAIE4DQ8Pz8bhBOW53ksl8uYzWajObbXnAXOjT0gwKi8vLwYhDPw5/0hm83GnAU4IVZAgFHp+94gnMsP2B/7Q+7v78/62F5zFhAgACfMpt7zk6ZpLBaLWCwWZ3lsrzkLCBAAF3IcoTzP4/7+PqbT6dntDzF3AQECcIK+fftmEEZgMpnE3d1dTCYTcxdAgAB8HKcJjejHLUliOp3Gcrk8i/0h5i4gQADgBGRZFovFIubz+VnuDwE4RY7hBUbDC93GqyiKKIoi1ut1PD09xTAM5i7AB7ECAsBo3NzcxN3dXZRlaTAABAjAfnmfAhG/7w+ZzWaxWCxOZn+IuQsIEAABwonL8zwWi0XMZrOj3x9i7gLnxB4QAEatLMu4vLyM7XZ7kvtDAE6NFRAA/BgmSdzc3MRyuYyiKAwIgAAB+Gfc1eZnpGka8/k8FotFZFlmDgMIEIBf8/LyYhD4aXmex3K5jNlsFkmSmMMAO2QPCAD8hT/vD9lsNgYEYAesgADAj34o/9gfcn9/fzLH9gIIEAAAgPAIFgD80DAMsdlsYrvdGgwAAQIA+/O698MJVAACBOB9X3YXvu74eW3bRlVV0XWdOQwgQADe71iOUuW49X0fVVVF0zTmMIAAAYD9GIbBUbsAAgQA9q+u61iv19H3vcEAECAAu5OmqYtM3rRtG+v1Otq2PYm5CyBAAAQIJ6jv+1iv11HX9UnNXQABAgAnZr1ex9PTk2N1AQQIwP7leX4Sj9uwe03TRFVVJ7sClue5DxEQIABw7Lqui6qqhCeAAAE4vMvLS8esjsQwDLHZbGK73Z7N3AUQIAAn5tOnTwZhBF7f53FO+zzMXUCAAJygLMsMwhlr2zZWq9VZnnRm7gICBOCEL+S6rjMQZ6Tv+1itVme7z0N8AAIE4ISlaSpAzsQwDG+PW537nAUQIACn+qV34WvvHNR1HVVVjeJ9HuYsIEAATpiTsE5b27ZRVdWoVrGcgAUIEIBT/tJzN/kk9X0fVVVF0zSj+7t7CSEgQABOWJIkNqKfkNd9Hk9PT6N43Oq/2YAOCBCAM5DnuQA5AXVdx3q9Pstjdd8zVwEECMAZXNSdyxuyz1HXdVFV1dkeqytAAAEC4KKOIzAMQ1RVFXVdGwxzFRAgAOcjSZLI89wd9iOyXq9Hu8/jR/GRJImBAAQIwDkoikKAHIGmaaKqqlHv8/jRHAUQIABndHFXVZWB+CB938dqtRKBAgQQIADjkKZppGnqzvuBDcMQm83GIQA/OT8BBAjAGSmKwoXwAW2329hsNvZ5/OTcBBAgAGdmMpkIkANo2zZWq5XVpnfOTQABAnBm0jT1VvQ96vs+qqqKpmkMxjtkWebxK0CAAJyrsiwFyI4Nw/D2uBW/NicBBAjAGV/sOQ1rd+q6jqqq7PMQIAACBOB7kiSJsiy9ffsfats2qqqymrSD+PDyQUCAAJy5q6srAfKL+r6P9Xpt/HY4FwEECMCZy/M88jz3Urx3eN3n8fT05HGrHc9DAAECMAJXV1cC5CfVdR3r9dqxunuYgwACBGAkyrJ0Uf03uq6LqqqE2h6kaWrzOSBAAMbm5uYmVquVgfgvwzBEVVX2eex57gEIEICRsQryv9brtX0ee2b1AxAgACNmFeR3bdvGarUSYweacwACBGCkxr4K0vd9rFYr+zwOxOoHIEAAGOUqyDAMsdlsYrvdmgAHnmsAAgRg5MqyjKenp9GsAmy329hsNvZ5HFie51Y/gFFKDAHA/xrDnem2bePLly9RVZX4MMcADsYKCMB3vN6dPsejZ/u+j6qqomkaH/QHKcvSW88BAQLA/zedTuP5+flsVgeGYXh73IqPkyRJTKdTAwGM93vQEAD89YXi7e3tWfxd6rqO3377TXwcgdvb20gSP7/AeFkBAfiBoigiz/OT3ZDetm2s12vH6h6JPM+jKAoDAYyaWzAAf2M2m53cHetv377FarWKf//73+LjWH5wkyRms5mBAHwfGgKAH0vT9OQexeq67iw30J+y29vbSNPUQAACxBAA/L2iKDw6g/kDIEAADscdbH7FKa6gAQgQgGP4wkySmM/nBoJ3mc/nTr0CECAAvybLMhuJ+Wmz2SyyLDMQAAIE4NeVZRllWRoIzBMAAQJwGO5s8yNWygAECMDOff78WYTw3fj4/PmzgQAQIAA7/gJNkri9vbXBGHMCQIAAHMbr3W4XnCRJYlUMQIAAiBDEB4AAATjDCJlOpwZipKbTqfgAECAAh1WWpZOPRmg2mzluF+AdLgwBwG4jJCKiqqoYhsGAnLEkSWI6nYoPgPd+fxoCgN1HiD0h5x8fnz9/Fh8AAgTgONiYfv7xYc8HgAABOMoIcaHqMwVAgAC4YOVd8jz3WQIIEIAT+KJNklgul/YLnLCyLGOxWHikDkCAAJyO2WzmmF6fG8DoOYYX4IDKsoyLi4t4eHiIvu8NyBFL0zTm87lHrgB2zAoIwIFlWRbL5TKKojAYR6ooilgul+IDYA+sgAB8gCRJYj6fR9M08fj46KWFR/S53N7eikMAAQJwnoqiiCzLYrVaRdu2BuQD5Xkes9ks0jQ1GAACBOB8pWkai8XCasgHseoBIEAARqkoisjzPKqqirquDcgBlGUZ0+nU8boAAgRgnJIkidlsFldXV7Ferz2WtSd5nsd0OrXJHECAAPB6gbxYLKKu61iv147s3ZE0TWM6nXrcCkCAAPA9ZVlGWZZCZAfhcXNz4230AAIEACEiPAAECABHHyJPT0/2iPyFPM/j6upKeAAIEAB2GSJt28bT05NTs/40LpPJxOZyAAECwD7kef52olNd11HXdXRdN6oxyLLsLcgcpwsgQAA4gCRJYjKZxGQyib7vY7vdRtM0Z7tXJE3TKIoiJpOJN5cDCBAAPvrifDqdxnQ6jb7vo2maaJrm5PeL5HkeRVFEURSiA0CAAHCsMfK6MjIMQ7Rt+/bn2B/VyrLs7RGzPM89XgUgQAA4JUmSvK0gvGrbNp6fn+Pl5SX6vv+wKMmyLNI0jYuLi7i8vIw8z31gAAIEgHPzurrwZ13Xxbdv3+L5+fktUiIi+r7/5T0laZq+PTb1+t+7vLyMT58+ObEKQIAAMGavQfB3qxDDMMTLy8v3f1wuLjwyBYAAAWB3kiTxqBQA7//9MAQAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAECAAAgAABAAAECAAAgAABAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAACAAAEAABAgAACAAAEAABAgAACAAAEAAASIIQAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAAAAAECAAAgQAAAAAECAAAgQAAAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAIAAAQAAECAAAIAAAQAAECAAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAAdu0iIqKqKiMBAADs3f8NAFFjCf5mB+leAAAAAElFTkSuQmCC"
  9087. function ee(e, t, r) {
  9088. return (
  9089. "string" !== typeof e || isNaN(Number(e)) || (e = Number(e)),
  9090. "number" === typeof e && e < 100
  9091. ? ie(e)
  9092. : "number" === typeof e && e >= 100
  9093. ? e
  9094. : "string" === typeof e && e.indexOf("%") > -1
  9095. ? t && "X" === t
  9096. ? Math.round((parseFloat(e) / 100) * r.width)
  9097. : t && "Y" === t
  9098. ? Math.round((parseFloat(e) / 100) * r.height)
  9099. : Math.round((parseFloat(e) / 100) * r.width)
  9100. : 0
  9101. )
  9102. }
  9103. function te(e) {
  9104. return e.replace(/[xy]/g, function (e) {
  9105. var t = (16 * Math.random()) | 0,
  9106. r = "x" === e ? t : (3 & t) | 8
  9107. return r.toString(16)
  9108. })
  9109. }
  9110. function re(e, t, r) {
  9111. for (
  9112. var n = {},
  9113. i = function (e) {
  9114. var t = o[e]
  9115. t &&
  9116. Object.keys(t).forEach(function (e) {
  9117. n[e] = t[e]
  9118. })
  9119. },
  9120. o = arguments,
  9121. a = 0;
  9122. a <= arguments.length;
  9123. a++
  9124. )
  9125. i(a)
  9126. return n
  9127. }
  9128. function ne(e) {
  9129. return "undefined" === typeof e || null == e
  9130. ? ""
  9131. : e.toString().replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;")
  9132. }
  9133. function ie(e) {
  9134. return "number" === typeof e && e > 100 ? e : ("string" === typeof e && (e = Number(e.replace(/in*/gi, ""))), Math.round(c * e))
  9135. }
  9136. function oe(e) {
  9137. var t = Number(e) || 0
  9138. return isNaN(t) ? 0 : Math.round(t * u)
  9139. }
  9140. function ae(e) {
  9141. return (e = e || 0), Math.round(6e4 * (e > 360 ? e - 360 : e))
  9142. }
  9143. function se(e) {
  9144. var t = e.toString(16)
  9145. return 1 === t.length ? "0" + t : t
  9146. }
  9147. function le(e, t, r) {
  9148. return (se(e) + se(t) + se(r)).toUpperCase()
  9149. }
  9150. function ce(e, t) {
  9151. var r = (e || "").replace("#", "")
  9152. d.test(r) ||
  9153. r === z.background1 ||
  9154. r === z.background2 ||
  9155. r === z.text1 ||
  9156. r === z.text2 ||
  9157. r === z.accent1 ||
  9158. r === z.accent2 ||
  9159. r === z.accent3 ||
  9160. r === z.accent4 ||
  9161. r === z.accent5 ||
  9162. r === z.accent6 ||
  9163. (console.warn(
  9164. '"'
  9165. .concat(r, '" is not a valid scheme color or hex RGB! "')
  9166. .concat(w, "\" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!")
  9167. ),
  9168. (r = w))
  9169. var n = d.test(r) ? "srgbClr" : "schemeClr",
  9170. i = 'val="' + (d.test(r) ? r.toUpperCase() : r) + '"'
  9171. return t ? "<a:".concat(n, " ").concat(i, ">").concat(t, "</a:").concat(n, ">") : "<a:".concat(n, " ").concat(i, "/>")
  9172. }
  9173. function ue(e, t) {
  9174. var r = "",
  9175. n = re(t, e),
  9176. i = Math.round(n["size"] * u),
  9177. o = n["color"],
  9178. a = Math.round(1e5 * n["opacity"])
  9179. return (r += '<a:glow rad="'.concat(i, '">')), (r += ce(o, '<a:alpha val="'.concat(a, '"/>'))), (r += "</a:glow>"), r
  9180. }
  9181. function fe(e) {
  9182. var t = "solid",
  9183. r = "",
  9184. n = "",
  9185. i = ""
  9186. if (e)
  9187. switch (
  9188. ("string" === typeof e
  9189. ? (r = e)
  9190. : (e.type && (t = e.type),
  9191. e.color && (r = e.color),
  9192. e.alpha && (n += '<a:alpha val="'.concat(Math.round(1e3 * (100 - e.alpha)), '"/>')),
  9193. e.transparency && (n += '<a:alpha val="'.concat(Math.round(1e3 * (100 - e.transparency)), '"/>'))),
  9194. t)
  9195. ) {
  9196. case "solid":
  9197. i += "<a:solidFill>".concat(ce(r, n), "</a:solidFill>")
  9198. break
  9199. default:
  9200. i += ""
  9201. break
  9202. }
  9203. return i
  9204. }
  9205. function pe(e) {
  9206. return e._rels.length + e._relsChart.length + e._relsMedia.length + 1
  9207. }
  9208. function de(e, t, r) {
  9209. var n = 2.3 + (e.options && e.options.autoPageCharWeight ? e.options.autoPageCharWeight : 0),
  9210. i = Math.floor((t / u) * c) / ((e.options && e.options.fontSize ? e.options.fontSize : x) / n),
  9211. a = [],
  9212. s = [],
  9213. l = [],
  9214. f = []
  9215. e.text && 0 === e.text.toString().trim().length
  9216. ? s.push({
  9217. _type: Y.tablecell,
  9218. text: " "
  9219. })
  9220. : "number" === typeof e.text || "string" === typeof e.text
  9221. ? s.push({
  9222. _type: Y.tablecell,
  9223. text: (e.text || "").toString().trim()
  9224. })
  9225. : Array.isArray(e.text) && (s = e.text),
  9226. r &&
  9227. (console.log("[1/4] inputCells"),
  9228. s.forEach(function (e, t) {
  9229. return console.log("[1/4] [".concat(t + 1, "] cell: ").concat(JSON.stringify(e)))
  9230. }))
  9231. var p = []
  9232. return (
  9233. s.forEach(function (e) {
  9234. "string" === typeof e.text &&
  9235. (e.text.split("\n").length > 1
  9236. ? e.text.split("\n").forEach(function (t) {
  9237. p.push({
  9238. _type: Y.tablecell,
  9239. text: t,
  9240. options: o(o({}, e.options), {
  9241. breakLine: !0
  9242. })
  9243. })
  9244. })
  9245. : p.push({
  9246. _type: Y.tablecell,
  9247. text: e.text.trim(),
  9248. options: e.options
  9249. }),
  9250. e.options &&
  9251. e.options.breakLine &&
  9252. (r && console.log("inputCells: new line > ".concat(JSON.stringify(p))), l.push(p), (p = []))),
  9253. p.length > 0 && l.push(p)
  9254. }),
  9255. r &&
  9256. (console.log("[2/4] inputLines1 (".concat(l.length, ")")),
  9257. l.forEach(function (e, t) {
  9258. return console.log("[2/4] [".concat(t + 1, "] line: ").concat(JSON.stringify(e)))
  9259. })),
  9260. l.forEach(function (e) {
  9261. e.forEach(function (e) {
  9262. var t = [],
  9263. r = e.text + "",
  9264. n = r.split(" ")
  9265. n.forEach(function (r, i) {
  9266. var a = o({}, e.options)
  9267. a && a.breakLine && (a.breakLine = i + 1 === n.length),
  9268. t.push({
  9269. _type: Y.tablecell,
  9270. text: r + (i + 1 < n.length ? " " : ""),
  9271. options: a
  9272. })
  9273. }),
  9274. f.push(t)
  9275. })
  9276. }),
  9277. r &&
  9278. (console.log("[3/4] inputLines2 (".concat(f.length, ")")),
  9279. f.forEach(function (e) {
  9280. return console.log("[3/4] line: ".concat(JSON.stringify(e)))
  9281. })),
  9282. f.forEach(function (e) {
  9283. var t = [],
  9284. r = ""
  9285. e.forEach(function (e) {
  9286. r.length + e.text.length > i && (a.push(t), (t = []), (r = "")), t.push(e), (r += e.text.toString())
  9287. }),
  9288. t.length > 0 && a.push(t)
  9289. }),
  9290. r &&
  9291. (console.log("[4/4] parsedLines (".concat(a.length, ")")),
  9292. a.forEach(function (e, t) {
  9293. return console.log("[4/4] [Line ".concat(t + 1, "]:\n").concat(JSON.stringify(e)))
  9294. }),
  9295. console.log("...............................................\n\n")),
  9296. a
  9297. )
  9298. }
  9299. function he(e, t, r, n) {
  9300. void 0 === e && (e = []), void 0 === t && (t = {})
  9301. var i = C,
  9302. o = 1 * c,
  9303. a = 1 * c,
  9304. s = 0,
  9305. l = 0,
  9306. u = [],
  9307. f = ee(t.x, "X", r),
  9308. p = ee(t.y, "Y", r),
  9309. d = ee(t.w, "X", r),
  9310. m = ee(t.h, "Y", r),
  9311. g = d
  9312. function y() {
  9313. var e = 0
  9314. 0 === u.length && (e = p || ie(i[0])),
  9315. u.length > 0 && (e = ie(t.autoPageSlideStartY || t.newSlideStartY || i[0])),
  9316. (a = (m || r.height) - e - ie(i[2])),
  9317. u.length > 1 &&
  9318. ("number" === typeof t.autoPageSlideStartY
  9319. ? (a = (m || r.height) - ie(t.autoPageSlideStartY + i[2]))
  9320. : "number" === typeof t.newSlideStartY
  9321. ? (a = (m || r.height) - ie(t.newSlideStartY + i[2]))
  9322. : p && ((a = (m || r.height) - ie((p / c < i[0] ? p / c : i[0]) + i[2])), a < m && (a = m)))
  9323. }
  9324. t.verbose &&
  9325. (console.log("[[VERBOSE MODE]]"),
  9326. console.log("|-- TABLE PROPS --------------------------------------------------------|"),
  9327. console.log("| presLayout.width ................................ = ".concat((r.width / c).toFixed(1))),
  9328. console.log("| presLayout.height ............................... = ".concat((r.height / c).toFixed(1))),
  9329. console.log("| tableProps.x .................................... = ".concat("number" === typeof t.x ? (t.x / c).toFixed(1) : t.x)),
  9330. console.log("| tableProps.y .................................... = ".concat("number" === typeof t.y ? (t.y / c).toFixed(1) : t.y)),
  9331. console.log("| tableProps.w .................................... = ".concat("number" === typeof t.w ? (t.w / c).toFixed(1) : t.w)),
  9332. console.log("| tableProps.h .................................... = ".concat("number" === typeof t.h ? (t.h / c).toFixed(1) : t.h)),
  9333. console.log("| tableProps.slideMargin .......................... = ".concat(t.slideMargin || "")),
  9334. console.log("| tableProps.margin ............................... = ".concat(t.margin)),
  9335. console.log("| tableProps.colW ................................. = ".concat(t.colW)),
  9336. console.log("| tableProps.autoPageSlideStartY .................. = ".concat(t.autoPageSlideStartY)),
  9337. console.log("| tableProps.autoPageCharWeight ................... = ".concat(t.autoPageCharWeight)),
  9338. console.log("|-- CALCULATIONS -------------------------------------------------------|"),
  9339. console.log("| tablePropX ...................................... = ".concat(f / c)),
  9340. console.log("| tablePropY ...................................... = ".concat(p / c)),
  9341. console.log("| tablePropW ...................................... = ".concat(d / c)),
  9342. console.log("| tablePropH ...................................... = ".concat(m / c)),
  9343. console.log("| tableCalcW ...................................... = ".concat(g / c))),
  9344. t.slideMargin || 0 === t.slideMargin || (t.slideMargin = C[0]),
  9345. n && "undefined" !== typeof n._margin
  9346. ? Array.isArray(n._margin)
  9347. ? (i = n._margin)
  9348. : isNaN(Number(n._margin)) || (i = [Number(n._margin), Number(n._margin), Number(n._margin), Number(n._margin)])
  9349. : (t.slideMargin || 0 === t.slideMargin) &&
  9350. (Array.isArray(t.slideMargin)
  9351. ? (i = t.slideMargin)
  9352. : isNaN(t.slideMargin) || (i = [t.slideMargin, t.slideMargin, t.slideMargin, t.slideMargin])),
  9353. t.verbose && console.log("| arrInchMargins .................................. = [".concat(i.join(", "), "]"))
  9354. var v = e[0] || []
  9355. if (
  9356. (v.forEach(function (e) {
  9357. e ||
  9358. (e = {
  9359. _type: Y.tablecell
  9360. })
  9361. var t = e.options || null
  9362. l += Number(t && t.colspan ? t.colspan : 1)
  9363. }),
  9364. t.verbose && console.log("| numCols ......................................... = ".concat(l)),
  9365. !d &&
  9366. t.colW &&
  9367. ((g = Array.isArray(t.colW)
  9368. ? t.colW.reduce(function (e, t) {
  9369. return e + t
  9370. }) * c
  9371. : t.colW * l || 0),
  9372. t.verbose && console.log("| tableCalcW ...................................... = ".concat(g / c))),
  9373. (o = g || ie((f ? f / c : i[1]) + i[3])),
  9374. t.verbose && console.log("| emuSlideTabW .................................... = ".concat((o / c).toFixed(1))),
  9375. !t.colW || !Array.isArray(t.colW))
  9376. )
  9377. if (t.colW && !isNaN(Number(t.colW))) {
  9378. var b = []
  9379. v = e[0] || []
  9380. v.forEach(function () {
  9381. return b.push(t.colW)
  9382. }),
  9383. (t.colW = []),
  9384. b.forEach(function (e) {
  9385. Array.isArray(t.colW) && t.colW.push(e)
  9386. })
  9387. } else {
  9388. t.colW = []
  9389. for (var w = 0; w < l; w++) t.colW.push(o / c / l)
  9390. }
  9391. var A = {
  9392. rows: []
  9393. }
  9394. return (
  9395. e.forEach(function (e, r) {
  9396. var n = [],
  9397. i = 0,
  9398. o = 0,
  9399. l = []
  9400. e.forEach(function (e) {
  9401. l.push({
  9402. _type: Y.tablecell,
  9403. text: [],
  9404. options: e.options
  9405. }),
  9406. e.options.margin && e.options.margin[0] >= 1
  9407. ? (e.options.margin && e.options.margin[0] && oe(e.options.margin[0]) > i
  9408. ? (i = oe(e.options.margin[0]))
  9409. : t.margin && t.margin[0] && oe(t.margin[0]) > i && (i = oe(t.margin[0])),
  9410. e.options.margin && e.options.margin[2] && oe(e.options.margin[2]) > o
  9411. ? (o = oe(e.options.margin[2]))
  9412. : t.margin && t.margin[2] && oe(t.margin[2]) > o && (o = oe(t.margin[2])))
  9413. : (e.options.margin && e.options.margin[0] && ie(e.options.margin[0]) > i
  9414. ? (i = ie(e.options.margin[0]))
  9415. : t.margin && t.margin[0] && ie(t.margin[0]) > i && (i = ie(t.margin[0])),
  9416. e.options.margin && e.options.margin[2] && ie(e.options.margin[2]) > o
  9417. ? (o = ie(e.options.margin[2]))
  9418. : t.margin && t.margin[2] && ie(t.margin[2]) > o && (o = ie(t.margin[2])))
  9419. }),
  9420. y(),
  9421. (s += i + o),
  9422. t.verbose && 0 === r && console.log("| SLIDE [".concat(u.length, "]: emuSlideTabH ...... = ").concat((a / c).toFixed(1), " ")),
  9423. e.forEach(function (e, r) {
  9424. var i = {
  9425. _type: Y.tablecell,
  9426. _lines: null,
  9427. _lineHeight: ie(
  9428. ((e.options && e.options.fontSize ? e.options.fontSize : t.fontSize ? t.fontSize : x) *
  9429. (h + (t.autoPageLineWeight ? t.autoPageLineWeight : 0))) /
  9430. 100
  9431. ),
  9432. text: [],
  9433. options: e.options
  9434. }
  9435. i.options.rowspan && (i._lineHeight = 0), (i.options.autoPageCharWeight = t.autoPageCharWeight ? t.autoPageCharWeight : null)
  9436. var o = t.colW[r]
  9437. e.options.colspan &&
  9438. Array.isArray(t.colW) &&
  9439. (o = t.colW
  9440. .filter(function (t, n) {
  9441. return n >= r && n < n + e.options.colspan
  9442. })
  9443. .reduce(function (e, t) {
  9444. return e + t
  9445. })),
  9446. (i._lines = de(e, o, !1)),
  9447. n.push(i)
  9448. }),
  9449. t.verbose && console.log("\n| SLIDE [".concat(u.length, "]: ROW [").concat(r, "]: START..."))
  9450. var f = 0,
  9451. p = 0,
  9452. d = !1
  9453. while (!d) {
  9454. var m = n[f],
  9455. g = l[f]
  9456. if (
  9457. (n.forEach(function (e) {
  9458. e._lineHeight >= p && (p = e._lineHeight)
  9459. }),
  9460. s + p > a)
  9461. ) {
  9462. t.verbose &&
  9463. (console.log("\n|-----------------------------------------------------------------------|"),
  9464. console.log(
  9465. "|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => "
  9466. .concat((s / c).toFixed(2), " + ")
  9467. .concat((m._lineHeight / c).toFixed(2), " > ")
  9468. .concat(a / c)
  9469. ),
  9470. console.log("|-----------------------------------------------------------------------|\n\n")),
  9471. l.length > 0 &&
  9472. l
  9473. .map(function (e) {
  9474. return e.text.length
  9475. })
  9476. .reduce(function (e, t) {
  9477. return e + t
  9478. }) > 0 &&
  9479. A.rows.push(l),
  9480. u.push(A)
  9481. var v = []
  9482. ;(A = {
  9483. rows: v
  9484. }),
  9485. (l = []),
  9486. e.forEach(function (e) {
  9487. return l.push({
  9488. _type: Y.tablecell,
  9489. text: [],
  9490. options: e.options
  9491. })
  9492. }),
  9493. y(),
  9494. (s += i + o),
  9495. t.verbose && console.log("| SLIDE [".concat(u.length, "]: emuSlideTabH ...... = ").concat((a / c).toFixed(1), " ")),
  9496. (s = 0),
  9497. (t.addHeaderToEach || t.autoPageRepeatHeader) &&
  9498. t._arrObjTabHeadRows &&
  9499. t._arrObjTabHeadRows.forEach(function (e) {
  9500. var t = [],
  9501. r = 0
  9502. e.forEach(function (e) {
  9503. t.push(e), e._lineHeight > r && (r = e._lineHeight)
  9504. }),
  9505. A.rows.push(t),
  9506. (s += r)
  9507. }),
  9508. (g = l[f])
  9509. }
  9510. var b = m._lines.shift()
  9511. Array.isArray(g.text) &&
  9512. (b
  9513. ? (g.text = g.text.concat(b))
  9514. : 0 === g.text.length &&
  9515. (g.text = g.text.concat({
  9516. _type: Y.tablecell,
  9517. text: ""
  9518. }))),
  9519. f === n.length - 1 && (s += p),
  9520. (f = f < n.length - 1 ? f + 1 : 0)
  9521. var w = n
  9522. .map(function (e) {
  9523. return e._lines.length
  9524. })
  9525. .reduce(function (e, t) {
  9526. return e + t
  9527. })
  9528. 0 === w && (d = !0)
  9529. }
  9530. l.length > 0 && A.rows.push(l),
  9531. t.verbose &&
  9532. console.log(
  9533. "- SLIDE ["
  9534. .concat(u.length, "]: ROW [")
  9535. .concat(r, "]: ...COMPLETE ...... emuTabCurrH = ")
  9536. .concat((s / c).toFixed(2), " ( emuSlideTabH = ")
  9537. .concat((a / c).toFixed(2), " )")
  9538. )
  9539. }),
  9540. u.push(A),
  9541. t.verbose &&
  9542. (console.log("\n|================================================|"),
  9543. console.log("| FINAL: tableRowSlides.length = ".concat(u.length)),
  9544. u.forEach(function (e) {
  9545. return console.log(e)
  9546. }),
  9547. console.log("|================================================|\n\n")),
  9548. u
  9549. )
  9550. }
  9551. function me(e, t, r, n) {
  9552. void 0 === r && (r = {})
  9553. var i = r || {}
  9554. i.slideMargin = i.slideMargin || 0 === i.slideMargin ? i.slideMargin : 0.5
  9555. var o = i.w || e.presLayout.width,
  9556. s = [],
  9557. l = [],
  9558. u = [],
  9559. f = [],
  9560. p = [],
  9561. d = [0.5, 0.5, 0.5, 0.5],
  9562. h = 0
  9563. if (!document.getElementById(t)) throw new Error('tableToSlides: Table ID "' + t + '" does not exist!')
  9564. n && n._margin
  9565. ? (Array.isArray(n._margin) ? (d = n._margin) : isNaN(n._margin) || (d = [n._margin, n._margin, n._margin, n._margin]),
  9566. (i.slideMargin = d))
  9567. : i &&
  9568. i.slideMargin &&
  9569. (Array.isArray(i.slideMargin)
  9570. ? (d = i.slideMargin)
  9571. : isNaN(i.slideMargin) || (d = [i.slideMargin, i.slideMargin, i.slideMargin, i.slideMargin])),
  9572. (o = (i.w ? ie(i.w) : e.presLayout.width) - ie(d[1] + d[3])),
  9573. i.verbose &&
  9574. (console.log("[[VERBOSE MODE]]"),
  9575. console.log("|-- `tableToSlides` ----------------------------------------------------|"),
  9576. console.log("| tableProps.h .................................... = ".concat(i.h)),
  9577. console.log("| tableProps.w .................................... = ".concat(i.w)),
  9578. console.log("| pptx.presLayout.width ........................... = ".concat((e.presLayout.width / c).toFixed(1))),
  9579. console.log("| pptx.presLayout.height .......................... = ".concat((e.presLayout.height / c).toFixed(1))),
  9580. console.log("| emuSlideTabW .................................... = ".concat((o / c).toFixed(1))))
  9581. var m = document.querySelectorAll("#".concat(t, " tr:first-child th"))
  9582. 0 === m.length && (m = document.querySelectorAll("#".concat(t, " tr:first-child td"))),
  9583. m.forEach(function (e) {
  9584. if (e.getAttribute("colspan"))
  9585. for (var t = 0; t < Number(e.getAttribute("colspan")); t++) p.push(Math.round(e.offsetWidth / Number(e.getAttribute("colspan"))))
  9586. else p.push(e.offsetWidth)
  9587. }),
  9588. p.forEach(function (e) {
  9589. h += e
  9590. }),
  9591. p.forEach(function (e, r) {
  9592. var n = Number(((Number(o) * ((e / h) * 100)) / 100 / c).toFixed(2)),
  9593. i = 0,
  9594. a = document.querySelector("#".concat(t, " thead tr:first-child th:nth-child(").concat(r + 1, ")"))
  9595. a && (i = Number(a.getAttribute("data-pptx-min-width")))
  9596. var s = document.querySelector("#".concat(t, " thead tr:first-child th:nth-child(").concat(r + 1, ")"))
  9597. s && (i = Number(s.getAttribute("data-pptx-width"))), f.push(i > n ? i : n)
  9598. }),
  9599. i.verbose && console.log("| arrColW ......................................... = [".concat(f.join(", "), "]"))
  9600. var g = ["thead", "tbody", "tfoot"]
  9601. g.forEach(function (e) {
  9602. document.querySelectorAll("#".concat(t, " ").concat(e, " tr")).forEach(function (t) {
  9603. var r = []
  9604. switch (
  9605. (Array.from(t.cells).forEach(function (e) {
  9606. var t = window
  9607. .getComputedStyle(e)
  9608. .getPropertyValue("color")
  9609. .replace(/\s+/gi, "")
  9610. .replace("rgba(", "")
  9611. .replace("rgb(", "")
  9612. .replace(")", "")
  9613. .split(","),
  9614. n = window
  9615. .getComputedStyle(e)
  9616. .getPropertyValue("background-color")
  9617. .replace(/\s+/gi, "")
  9618. .replace("rgba(", "")
  9619. .replace("rgb(", "")
  9620. .replace(")", "")
  9621. .split(",")
  9622. ;("rgba(0, 0, 0, 0)" === window.getComputedStyle(e).getPropertyValue("background-color") ||
  9623. window.getComputedStyle(e).getPropertyValue("transparent")) &&
  9624. (n = ["255", "255", "255"])
  9625. var i = {
  9626. align: null,
  9627. bold:
  9628. "bold" === window.getComputedStyle(e).getPropertyValue("font-weight") ||
  9629. Number(window.getComputedStyle(e).getPropertyValue("font-weight")) >= 500,
  9630. border: null,
  9631. color: le(Number(t[0]), Number(t[1]), Number(t[2])),
  9632. fill: {
  9633. color: le(Number(n[0]), Number(n[1]), Number(n[2]))
  9634. },
  9635. fontFace:
  9636. (window.getComputedStyle(e).getPropertyValue("font-family") || "")
  9637. .split(",")[0]
  9638. .replace(/"/g, "")
  9639. .replace("inherit", "")
  9640. .replace("initial", "") || null,
  9641. fontSize: Number(window.getComputedStyle(e).getPropertyValue("font-size").replace(/[a-z]/gi, "")),
  9642. margin: null,
  9643. colspan: Number(e.getAttribute("colspan")) || null,
  9644. rowspan: Number(e.getAttribute("rowspan")) || null,
  9645. valign: null
  9646. }
  9647. if (["left", "center", "right", "start", "end"].indexOf(window.getComputedStyle(e).getPropertyValue("text-align")) > -1) {
  9648. var o = window.getComputedStyle(e).getPropertyValue("text-align").replace("start", "left").replace("end", "right")
  9649. i.align = "center" === o ? "center" : "left" === o ? "left" : "right" === o ? "right" : null
  9650. }
  9651. if (["top", "middle", "bottom"].indexOf(window.getComputedStyle(e).getPropertyValue("vertical-align")) > -1) {
  9652. var a = window.getComputedStyle(e).getPropertyValue("vertical-align")
  9653. i.valign = "top" === a ? "top" : "middle" === a ? "middle" : "bottom" === a ? "bottom" : null
  9654. }
  9655. if (window.getComputedStyle(e).getPropertyValue("padding-left")) {
  9656. i.margin = [0, 0, 0, 0]
  9657. var s = ["padding-top", "padding-right", "padding-bottom", "padding-left"]
  9658. s.forEach(function (t, r) {
  9659. i.margin[r] = Math.round(Number(window.getComputedStyle(e).getPropertyValue(t).replace(/\D/gi, "")))
  9660. })
  9661. }
  9662. if (
  9663. window.getComputedStyle(e).getPropertyValue("border-top-width") ||
  9664. window.getComputedStyle(e).getPropertyValue("border-right-width") ||
  9665. window.getComputedStyle(e).getPropertyValue("border-bottom-width") ||
  9666. window.getComputedStyle(e).getPropertyValue("border-left-width")
  9667. ) {
  9668. i.border = [null, null, null, null]
  9669. var l = ["top", "right", "bottom", "left"]
  9670. l.forEach(function (t, r) {
  9671. var n = Math.round(
  9672. Number(
  9673. window
  9674. .getComputedStyle(e)
  9675. .getPropertyValue("border-" + t + "-width")
  9676. .replace("px", "")
  9677. )
  9678. ),
  9679. o = []
  9680. o = window
  9681. .getComputedStyle(e)
  9682. .getPropertyValue("border-" + t + "-color")
  9683. .replace(/\s+/gi, "")
  9684. .replace("rgba(", "")
  9685. .replace("rgb(", "")
  9686. .replace(")", "")
  9687. .split(",")
  9688. var a = le(Number(o[0]), Number(o[1]), Number(o[2]))
  9689. i.border[r] = {
  9690. pt: n,
  9691. color: a
  9692. }
  9693. })
  9694. }
  9695. r.push({
  9696. _type: Y.tablecell,
  9697. text: e.innerText,
  9698. options: i
  9699. })
  9700. }),
  9701. e)
  9702. ) {
  9703. case "thead":
  9704. s.push(r)
  9705. break
  9706. case "tbody":
  9707. l.push(r)
  9708. break
  9709. case "tfoot":
  9710. u.push(r)
  9711. break
  9712. default:
  9713. console.log("table parsing: unexpected table part: ".concat(e))
  9714. break
  9715. }
  9716. })
  9717. }),
  9718. (i._arrObjTabHeadRows = s || null),
  9719. (i.colW = f),
  9720. he(a(a(a([], s, !0), l, !0), u, !0), i, e.presLayout, n).forEach(function (t, r) {
  9721. var n = e.addSlide({
  9722. masterName: i.masterSlideName || null
  9723. })
  9724. 0 === r && (i.y = i.y || d[0]),
  9725. r > 0 && (i.y = i.autoPageSlideStartY || i.newSlideStartY || d[0]),
  9726. i.verbose &&
  9727. console.log(
  9728. "| opts.autoPageSlideStartY: "
  9729. .concat(i.autoPageSlideStartY, " / arrInchMargins[0]: ")
  9730. .concat(d[0], " => opts.y = ")
  9731. .concat(i.y)
  9732. ),
  9733. n.addTable(t.rows, {
  9734. x: i.x || d[3],
  9735. y: i.y,
  9736. w: Number(o) / c,
  9737. colW: f,
  9738. autoPage: !1
  9739. }),
  9740. i.addImage &&
  9741. ((i.addImage.options = i.addImage.options || {}),
  9742. i.addImage.image && (i.addImage.image.path || i.addImage.image.data)
  9743. ? n.addImage({
  9744. path: i.addImage.image.path,
  9745. data: i.addImage.image.data,
  9746. x: i.addImage.options.x,
  9747. y: i.addImage.options.y,
  9748. w: i.addImage.options.w,
  9749. h: i.addImage.options.h
  9750. })
  9751. : console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")),
  9752. i.addShape && n.addShape(i.addShape.shape, i.addShape.options || {}),
  9753. i.addTable && n.addTable(i.addTable.rows, i.addTable.options || {}),
  9754. i.addText && n.addText(i.addText.text, i.addText.options || {})
  9755. })
  9756. }
  9757. var ge = {
  9758. cover: function (e, t) {
  9759. var r = e.h / e.w,
  9760. n = t.h / t.w,
  9761. i = n > r,
  9762. o = i ? t.h / r : t.w,
  9763. a = i ? t.h : t.w * r,
  9764. s = Math.round(5e4 * (1 - t.w / o)),
  9765. l = Math.round(5e4 * (1 - t.h / a))
  9766. return '<a:srcRect l="' + s + '" r="' + s + '" t="' + l + '" b="' + l + '"/><a:stretch/>'
  9767. },
  9768. contain: function (e, t) {
  9769. var r = e.h / e.w,
  9770. n = t.h / t.w,
  9771. i = n > r,
  9772. o = i ? t.w : t.h / r,
  9773. a = i ? t.w * r : t.h,
  9774. s = Math.round(5e4 * (1 - t.w / o)),
  9775. l = Math.round(5e4 * (1 - t.h / a))
  9776. return '<a:srcRect l="' + s + '" r="' + s + '" t="' + l + '" b="' + l + '"/><a:stretch/>'
  9777. },
  9778. crop: function (e, t) {
  9779. var r = t.x,
  9780. n = e.w - (t.x + t.w),
  9781. i = t.y,
  9782. o = e.h - (t.y + t.h),
  9783. a = Math.round((r / e.w) * 1e5),
  9784. s = Math.round((n / e.w) * 1e5),
  9785. l = Math.round((i / e.h) * 1e5),
  9786. c = Math.round((o / e.h) * 1e5)
  9787. return '<a:srcRect l="' + a + '" r="' + s + '" t="' + l + '" b="' + c + '"/><a:stretch/>'
  9788. }
  9789. }
  9790. function ye(e) {
  9791. var t = e._name ? '<p:cSld name="' + e._name + '">' : "<p:cSld>",
  9792. r = 1
  9793. return (
  9794. e._bkgdImgRid
  9795. ? (t += '<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId'.concat(
  9796. e._bkgdImgRid,
  9797. '"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>'
  9798. ))
  9799. : e.background && e.background.color
  9800. ? (t += "<p:bg><p:bgPr>".concat(fe(e.background), "</p:bgPr></p:bg>"))
  9801. : !e.bkgd && e._name && e._name === T && (t += '<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'),
  9802. (t += "<p:spTree>"),
  9803. (t += '<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>'),
  9804. (t += '<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>'),
  9805. (t += '<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>'),
  9806. e._slideObjects.forEach(function (n, i) {
  9807. var o,
  9808. s,
  9809. l = 0,
  9810. u = 0,
  9811. f = ee("75%", "X", e._presLayout),
  9812. p = 0,
  9813. d = ""
  9814. switch (
  9815. (void 0 !== e._slideLayout &&
  9816. void 0 !== e._slideLayout._slideObjects &&
  9817. n.options &&
  9818. n.options.placeholder &&
  9819. (s = e._slideLayout._slideObjects.filter(function (e) {
  9820. return e.options.placeholder === n.options.placeholder
  9821. })[0]),
  9822. (n.options = n.options || {}),
  9823. "undefined" !== typeof n.options.x && (l = ee(n.options.x, "X", e._presLayout)),
  9824. "undefined" !== typeof n.options.y && (u = ee(n.options.y, "Y", e._presLayout)),
  9825. "undefined" !== typeof n.options.w && (f = ee(n.options.w, "X", e._presLayout)),
  9826. "undefined" !== typeof n.options.h && (p = ee(n.options.h, "Y", e._presLayout)),
  9827. s &&
  9828. ((s.options.x || 0 === s.options.x) && (l = ee(s.options.x, "X", e._presLayout)),
  9829. (s.options.y || 0 === s.options.y) && (u = ee(s.options.y, "Y", e._presLayout)),
  9830. (s.options.w || 0 === s.options.w) && (f = ee(s.options.w, "X", e._presLayout)),
  9831. (s.options.h || 0 === s.options.h) && (p = ee(s.options.h, "Y", e._presLayout))),
  9832. n.options.flipH && (d += ' flipH="1"'),
  9833. n.options.flipV && (d += ' flipV="1"'),
  9834. n.options.rotate && (d += ' rot="' + ae(n.options.rotate) + '"'),
  9835. n._type)
  9836. ) {
  9837. case Y.table:
  9838. var h,
  9839. m = n.arrTabRows,
  9840. g = n.options,
  9841. v = 0,
  9842. b = 0
  9843. m[0].forEach(function (e) {
  9844. ;(h = e.options || null), (v += h && h.colspan ? Number(h.colspan) : 1)
  9845. })
  9846. var w = '<p:graphicFrame><p:nvGraphicFramePr><p:cNvPr id="'
  9847. .concat(r * e._slideNum + 1, '" name="')
  9848. .concat(n.options.objectName, '"/>')
  9849. if (
  9850. ((w +=
  9851. '<p:cNvGraphicFramePr><a:graphicFrameLocks noGrp="1"/></p:cNvGraphicFramePr> <p:nvPr><p:extLst><p:ext uri="{D42A27DB-BD31-4B8C-83A1-F6EECF244321}"><p14:modId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1579011935"/></p:ext></p:extLst></p:nvPr></p:nvGraphicFramePr>'),
  9852. (w += '<p:xfrm><a:off x="'
  9853. .concat(l || (0 === l ? 0 : c), '" y="')
  9854. .concat(u || (0 === u ? 0 : c), '"/><a:ext cx="')
  9855. .concat(f || (0 === f ? 0 : c), '" cy="')
  9856. .concat(p || c, '"/></p:xfrm>')),
  9857. (w += '<a:graphic><a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/table"><a:tbl><a:tblPr/>'),
  9858. Array.isArray(g.colW))
  9859. ) {
  9860. w += "<a:tblGrid>"
  9861. for (var x = 0; x < v; x++) {
  9862. var A = ie(g.colW[x])
  9863. ;(null == A || isNaN(A)) && (A = ("number" === typeof n.options.w ? n.options.w : 1) / v),
  9864. (w += '<a:gridCol w="' + Math.round(A) + '"/>')
  9865. }
  9866. w += "</a:tblGrid>"
  9867. } else {
  9868. ;(b = g.colW ? g.colW : c),
  9869. n.options.w && !g.colW && (b = Math.round(("number" === typeof n.options.w ? n.options.w : 1) / v)),
  9870. (w += "<a:tblGrid>")
  9871. for (var _ = 0; _ < v; _++) w += '<a:gridCol w="' + b + '"/>'
  9872. w += "</a:tblGrid>"
  9873. }
  9874. m.forEach(function (e) {
  9875. for (
  9876. var t,
  9877. r,
  9878. n,
  9879. i = function (i) {
  9880. var o = e[i],
  9881. s = null === (t = o.options) || void 0 === t ? void 0 : t.colspan,
  9882. l = null === (r = o.options) || void 0 === r ? void 0 : r.rowspan
  9883. if (s && s > 1) {
  9884. var c = new Array(s - 1).fill(void 0).map(function (e) {
  9885. return {
  9886. _type: Y.tablecell,
  9887. options: {
  9888. rowspan: l
  9889. },
  9890. _hmerge: !0
  9891. }
  9892. })
  9893. e.splice.apply(e, a([i + 1, 0], c, !1)), (i += s)
  9894. } else i += 1
  9895. n = i
  9896. },
  9897. o = 0;
  9898. o < e.length;
  9899. )
  9900. i(o), (o = n)
  9901. }),
  9902. m.forEach(function (e, t) {
  9903. var r = m[t + 1]
  9904. r &&
  9905. e.forEach(function (e, t) {
  9906. var n,
  9907. i,
  9908. o = e._rowContinue || (null === (n = e.options) || void 0 === n ? void 0 : n.rowspan),
  9909. a = null === (i = e.options) || void 0 === i ? void 0 : i.colspan,
  9910. s = e._hmerge
  9911. if (o && o > 1) {
  9912. var l = {
  9913. _type: Y.tablecell,
  9914. options: {
  9915. colspan: a
  9916. },
  9917. _rowContinue: o - 1,
  9918. _vmerge: !0,
  9919. _hmerge: s
  9920. }
  9921. r.splice(t, 0, l)
  9922. }
  9923. })
  9924. }),
  9925. m.forEach(function (e, t) {
  9926. var r = 0
  9927. Array.isArray(g.rowH) && g.rowH[t]
  9928. ? (r = ie(Number(g.rowH[t])))
  9929. : g.rowH && !isNaN(Number(g.rowH))
  9930. ? (r = ie(Number(g.rowH)))
  9931. : (n.options.cy || n.options.h) &&
  9932. (r = Math.round((n.options.h ? ie(n.options.h) : "number" === typeof n.options.cy ? n.options.cy : 1) / m.length)),
  9933. (w += '<a:tr h="'.concat(r, '">')),
  9934. e.forEach(function (e) {
  9935. var t,
  9936. r,
  9937. n = e,
  9938. i = {
  9939. rowSpan: (null === (t = n.options) || void 0 === t ? void 0 : t.rowspan) > 1 ? n.options.rowspan : void 0,
  9940. gridSpan: (null === (r = n.options) || void 0 === r ? void 0 : r.colspan) > 1 ? n.options.colspan : void 0,
  9941. vMerge: n._vmerge ? 1 : void 0,
  9942. hMerge: n._hmerge ? 1 : void 0
  9943. },
  9944. o = Object.keys(i)
  9945. .map(function (e) {
  9946. return [e, i[e]]
  9947. })
  9948. .filter(function (e) {
  9949. e[0]
  9950. var t = e[1]
  9951. return !!t
  9952. })
  9953. .map(function (e) {
  9954. var t = e[0],
  9955. r = e[1]
  9956. return "".concat(t, '="').concat(r, '"')
  9957. })
  9958. .join(" ")
  9959. if ((o && (o = " " + o), n._hmerge || n._vmerge)) w += "<a:tc".concat(o, "><a:tcPr/></a:tc>")
  9960. else {
  9961. var a = n.options || {}
  9962. ;(n.options = a),
  9963. [
  9964. "align",
  9965. "bold",
  9966. "border",
  9967. "color",
  9968. "fill",
  9969. "fontFace",
  9970. "fontSize",
  9971. "margin",
  9972. "underline",
  9973. "valign"
  9974. ].forEach(function (e) {
  9975. g[e] && !a[e] && 0 !== a[e] && (a[e] = g[e])
  9976. })
  9977. var s = a.valign
  9978. ? ' anchor="' +
  9979. a.valign
  9980. .replace(/^c$/i, "ctr")
  9981. .replace(/^m$/i, "ctr")
  9982. .replace("center", "ctr")
  9983. .replace("middle", "ctr")
  9984. .replace("top", "t")
  9985. .replace("btm", "b")
  9986. .replace("bottom", "b") +
  9987. '"'
  9988. : "",
  9989. l =
  9990. n._optImp && n._optImp.fill && n._optImp.fill.color
  9991. ? n._optImp.fill.color
  9992. : n._optImp && n._optImp.fill && "string" === typeof n._optImp.fill
  9993. ? n._optImp.fill
  9994. : ""
  9995. l = l || a.fill ? a.fill : ""
  9996. var c = l ? fe(l) : "",
  9997. u = 0 === a.margin || a.margin ? a.margin : y
  9998. Array.isArray(u) || "number" !== typeof u || (u = [u, u, u, u])
  9999. var f = ""
  10000. ;(f =
  10001. u[0] >= 1
  10002. ? ' marL="'
  10003. .concat(oe(u[3]), '" marR="')
  10004. .concat(oe(u[1]), '" marT="')
  10005. .concat(oe(u[0]), '" marB="')
  10006. .concat(oe(u[2]), '"')
  10007. : ' marL="'
  10008. .concat(ie(u[3]), '" marR="')
  10009. .concat(ie(u[1]), '" marT="')
  10010. .concat(ie(u[0]), '" marB="')
  10011. .concat(ie(u[2]), '"')),
  10012. (w += "<a:tc".concat(o, ">").concat(_e(n), "<a:tcPr").concat(f).concat(s, ">")),
  10013. a.border &&
  10014. Array.isArray(a.border) &&
  10015. [
  10016. {
  10017. idx: 3,
  10018. name: "lnL"
  10019. },
  10020. {
  10021. idx: 1,
  10022. name: "lnR"
  10023. },
  10024. {
  10025. idx: 0,
  10026. name: "lnT"
  10027. },
  10028. {
  10029. idx: 2,
  10030. name: "lnB"
  10031. }
  10032. ].forEach(function (e) {
  10033. "none" !== a.border[e.idx].type
  10034. ? ((w += "<a:"
  10035. .concat(e.name, ' w="')
  10036. .concat(oe(a.border[e.idx].pt), '" cap="flat" cmpd="sng" algn="ctr">')),
  10037. (w += "<a:solidFill>".concat(ce(a.border[e.idx].color), "</a:solidFill>")),
  10038. (w += '<a:prstDash val="'.concat(
  10039. "dash" === a.border[e.idx].type ? "sysDash" : "solid",
  10040. '"/><a:round/><a:headEnd type="none" w="med" len="med"/><a:tailEnd type="none" w="med" len="med"/>'
  10041. )),
  10042. (w += "</a:".concat(e.name, ">")))
  10043. : (w += "<a:"
  10044. .concat(e.name, ' w="0" cap="flat" cmpd="sng" algn="ctr"><a:noFill/></a:')
  10045. .concat(e.name, ">"))
  10046. }),
  10047. (w += c),
  10048. (w += " </a:tcPr>"),
  10049. (w += " </a:tc>")
  10050. }
  10051. }),
  10052. (w += "</a:tr>")
  10053. }),
  10054. (w += " </a:tbl>"),
  10055. (w += " </a:graphicData>"),
  10056. (w += " </a:graphic>"),
  10057. (w += "</p:graphicFrame>"),
  10058. (t += w),
  10059. r++
  10060. break
  10061. case Y.text:
  10062. case Y.placeholder:
  10063. if (
  10064. (n.options.line || 0 !== p || (p = 0.3 * c),
  10065. n.options._bodyProp || (n.options._bodyProp = {}),
  10066. n.options.margin && Array.isArray(n.options.margin)
  10067. ? ((n.options._bodyProp.lIns = oe(n.options.margin[0] || 0)),
  10068. (n.options._bodyProp.rIns = oe(n.options.margin[1] || 0)),
  10069. (n.options._bodyProp.bIns = oe(n.options.margin[2] || 0)),
  10070. (n.options._bodyProp.tIns = oe(n.options.margin[3] || 0)))
  10071. : "number" === typeof n.options.margin &&
  10072. ((n.options._bodyProp.lIns = oe(n.options.margin)),
  10073. (n.options._bodyProp.rIns = oe(n.options.margin)),
  10074. (n.options._bodyProp.bIns = oe(n.options.margin)),
  10075. (n.options._bodyProp.tIns = oe(n.options.margin))),
  10076. (t += "<p:sp>"),
  10077. (t += '<p:nvSpPr><p:cNvPr id="'.concat(i + 2, '" name="').concat(n.options.objectName, '">')),
  10078. n.options.hyperlink &&
  10079. n.options.hyperlink.url &&
  10080. (t +=
  10081. '<a:hlinkClick r:id="rId' +
  10082. n.options.hyperlink._rId +
  10083. '" tooltip="' +
  10084. (n.options.hyperlink.tooltip ? ne(n.options.hyperlink.tooltip) : "") +
  10085. '"/>'),
  10086. n.options.hyperlink &&
  10087. n.options.hyperlink.slide &&
  10088. (t +=
  10089. '<a:hlinkClick r:id="rId' +
  10090. n.options.hyperlink._rId +
  10091. '" tooltip="' +
  10092. (n.options.hyperlink.tooltip ? ne(n.options.hyperlink.tooltip) : "") +
  10093. '" action="ppaction://hlinksldjump"/>'),
  10094. (t += "</p:cNvPr>"),
  10095. (t += "<p:cNvSpPr" + (n.options && n.options.isTextBox ? ' txBox="1"/>' : "/>")),
  10096. (t += "<p:nvPr>".concat("placeholder" === n._type ? Te(n) : Te(s), "</p:nvPr>")),
  10097. (t += "</p:nvSpPr><p:spPr>"),
  10098. (t += "<a:xfrm".concat(d, ">")),
  10099. (t += '<a:off x="'.concat(l, '" y="').concat(u, '"/>')),
  10100. (t += '<a:ext cx="'.concat(f, '" cy="').concat(p, '"/></a:xfrm>')),
  10101. "custGeom" === n.shape)
  10102. )
  10103. (t += "<a:custGeom><a:avLst />"),
  10104. (t += "<a:gdLst>"),
  10105. (t += "</a:gdLst>"),
  10106. (t += "<a:ahLst />"),
  10107. (t += "<a:cxnLst>"),
  10108. (t += "</a:cxnLst>"),
  10109. (t += '<a:rect l="l" t="t" r="r" b="b" />'),
  10110. (t += "<a:pathLst>"),
  10111. (t += '<a:path w="'.concat(f, '" h="').concat(p, '">')),
  10112. null === (o = n.options.points) ||
  10113. void 0 === o ||
  10114. o.map(function (r, n) {
  10115. if ("curve" in r)
  10116. switch (r.curve.type) {
  10117. case "arc":
  10118. t += '<a:arcTo hR="'
  10119. .concat(ee(r.curve.hR, "Y", e._presLayout), '" wR="')
  10120. .concat(ee(r.curve.wR, "X", e._presLayout), '" stAng="')
  10121. .concat(ae(r.curve.stAng), '" swAng="')
  10122. .concat(ae(r.curve.swAng), '" />')
  10123. break
  10124. case "cubic":
  10125. t += '<a:cubicBezTo>\n\t\t\t\t\t\t\t\t\t<a:pt x="'
  10126. .concat(ee(r.curve.x1, "X", e._presLayout), '" y="')
  10127. .concat(ee(r.curve.y1, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t<a:pt x="')
  10128. .concat(ee(r.curve.x2, "X", e._presLayout), '" y="')
  10129. .concat(ee(r.curve.y2, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t<a:pt x="')
  10130. .concat(ee(r.x, "X", e._presLayout), '" y="')
  10131. .concat(ee(r.y, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t</a:cubicBezTo>')
  10132. break
  10133. case "quadratic":
  10134. t += '<a:quadBezTo>\n\t\t\t\t\t\t\t\t\t<a:pt x="'
  10135. .concat(ee(r.curve.x1, "X", e._presLayout), '" y="')
  10136. .concat(ee(r.curve.y1, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t<a:pt x="')
  10137. .concat(ee(r.x, "X", e._presLayout), '" y="')
  10138. .concat(ee(r.y, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t</a:quadBezTo>')
  10139. break
  10140. }
  10141. else
  10142. "close" in r
  10143. ? (t += "<a:close />")
  10144. : r.moveTo || 0 === n
  10145. ? (t += '<a:moveTo><a:pt x="'
  10146. .concat(ee(r.x, "X", e._presLayout), '" y="')
  10147. .concat(ee(r.y, "Y", e._presLayout), '" /></a:moveTo>'))
  10148. : (t += '<a:lnTo><a:pt x="'
  10149. .concat(ee(r.x, "X", e._presLayout), '" y="')
  10150. .concat(ee(r.y, "Y", e._presLayout), '" /></a:lnTo>'))
  10151. }),
  10152. (t += "</a:path>"),
  10153. (t += "</a:pathLst>"),
  10154. (t += "</a:custGeom>")
  10155. else {
  10156. if (((t += '<a:prstGeom prst="' + n.shape + '"><a:avLst>'), n.options.rectRadius))
  10157. t += '<a:gd name="adj" fmla="val '.concat(Math.round((n.options.rectRadius * c * 1e5) / Math.min(f, p)), '"/>')
  10158. else if (n.options.angleRange) {
  10159. for (var T = 0; T < 2; T++) {
  10160. var E = n.options.angleRange[T]
  10161. t += '<a:gd name="adj'.concat(T + 1, '" fmla="val ').concat(ae(E), '" />')
  10162. }
  10163. n.options.arcThicknessRatio &&
  10164. (t += '<a:gd name="adj3" fmla="val '.concat(Math.round(5e4 * n.options.arcThicknessRatio), '" />'))
  10165. }
  10166. t += "</a:avLst></a:prstGeom>"
  10167. }
  10168. ;(t += n.options.fill ? fe(n.options.fill) : "<a:noFill/>"),
  10169. n.options.line &&
  10170. ((t += n.options.line.width ? '<a:ln w="'.concat(oe(n.options.line.width), '">') : "<a:ln>"),
  10171. n.options.line.color && (t += fe(n.options.line)),
  10172. n.options.line.dashType && (t += '<a:prstDash val="'.concat(n.options.line.dashType, '"/>')),
  10173. n.options.line.beginArrowType && (t += '<a:headEnd type="'.concat(n.options.line.beginArrowType, '"/>')),
  10174. n.options.line.endArrowType && (t += '<a:tailEnd type="'.concat(n.options.line.endArrowType, '"/>')),
  10175. (t += "</a:ln>")),
  10176. n.options.shadow &&
  10177. ((n.options.shadow.type = n.options.shadow.type || "outer"),
  10178. (n.options.shadow.blur = oe(n.options.shadow.blur || 8)),
  10179. (n.options.shadow.offset = oe(n.options.shadow.offset || 4)),
  10180. (n.options.shadow.angle = Math.round(6e4 * (n.options.shadow.angle || 270))),
  10181. (n.options.shadow.opacity = Math.round(1e5 * (n.options.shadow.opacity || 0.75))),
  10182. (n.options.shadow.color = n.options.shadow.color || k.color),
  10183. (t += "<a:effectLst>"),
  10184. (t += "<a:" + n.options.shadow.type + 'Shdw sx="100000" sy="100000" kx="0" ky="0" '),
  10185. (t += ' algn="bl" rotWithShape="0" blurRad="' + n.options.shadow.blur + '" '),
  10186. (t += ' dist="' + n.options.shadow.offset + '" dir="' + n.options.shadow.angle + '">'),
  10187. (t += '<a:srgbClr val="' + n.options.shadow.color + '">'),
  10188. (t += '<a:alpha val="' + n.options.shadow.opacity + '"/></a:srgbClr>'),
  10189. (t += "</a:outerShdw>"),
  10190. (t += "</a:effectLst>")),
  10191. (t += "</p:spPr>"),
  10192. (t += _e(n)),
  10193. (t += "</p:sp>")
  10194. break
  10195. case Y.image:
  10196. var S = n.options.sizing,
  10197. C = n.options.rounding,
  10198. L = f,
  10199. P = p
  10200. if (
  10201. ((t += "<p:pic>"),
  10202. (t += " <p:nvPicPr>"),
  10203. (t += '<p:cNvPr id="'
  10204. .concat(i + 2, '" name="')
  10205. .concat(n.options.objectName, '" descr="')
  10206. .concat(ne(n.options.altText || n.image), '">')),
  10207. n.hyperlink &&
  10208. n.hyperlink.url &&
  10209. (t += '<a:hlinkClick r:id="rId'
  10210. .concat(n.hyperlink._rId, '" tooltip="')
  10211. .concat(n.hyperlink.tooltip ? ne(n.hyperlink.tooltip) : "", '"/>')),
  10212. n.hyperlink &&
  10213. n.hyperlink.slide &&
  10214. (t += '<a:hlinkClick r:id="rId'
  10215. .concat(n.hyperlink._rId, '" tooltip="')
  10216. .concat(n.hyperlink.tooltip ? ne(n.hyperlink.tooltip) : "", '" action="ppaction://hlinksldjump"/>')),
  10217. (t += " </p:cNvPr>"),
  10218. (t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>'),
  10219. (t += " <p:nvPr>" + Te(s) + "</p:nvPr>"),
  10220. (t += " </p:nvPicPr>"),
  10221. (t += "<p:blipFill>"),
  10222. (e._relsMedia || []).filter(function (e) {
  10223. return e.rId === n.imageRid
  10224. })[0] &&
  10225. "svg" ===
  10226. (e._relsMedia || []).filter(function (e) {
  10227. return e.rId === n.imageRid
  10228. })[0]["extn"]
  10229. ? ((t += '<a:blip r:embed="rId' + (n.imageRid - 1) + '">'),
  10230. (t += n.options.transparency
  10231. ? ' <a:alphaModFix amt="'.concat(Math.round(1e3 * (100 - n.options.transparency)), '"/>')
  10232. : ""),
  10233. (t += " <a:extLst>"),
  10234. (t += ' <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">'),
  10235. (t +=
  10236. ' <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId' +
  10237. n.imageRid +
  10238. '"/>'),
  10239. (t += " </a:ext>"),
  10240. (t += " </a:extLst>"),
  10241. (t += "</a:blip>"))
  10242. : ((t += '<a:blip r:embed="rId' + n.imageRid + '">'),
  10243. (t += n.options.transparency
  10244. ? ' <a:alphaModFix amt="'.concat(Math.round(1e3 * (100 - n.options.transparency)), '"/>')
  10245. : ""),
  10246. (t += "</a:blip>")),
  10247. S && S.type)
  10248. ) {
  10249. var O = S.w ? ee(S.w, "X", e._presLayout) : f,
  10250. j = S.h ? ee(S.h, "Y", e._presLayout) : p,
  10251. R = ee(S.x || 0, "X", e._presLayout),
  10252. I = ee(S.y || 0, "Y", e._presLayout)
  10253. ;(t += ge[S.type](
  10254. {
  10255. w: L,
  10256. h: P
  10257. },
  10258. {
  10259. w: O,
  10260. h: j,
  10261. x: R,
  10262. y: I
  10263. }
  10264. )),
  10265. (L = O),
  10266. (P = j)
  10267. } else t += " <a:stretch><a:fillRect/></a:stretch>"
  10268. ;(t += "</p:blipFill>"),
  10269. (t += "<p:spPr>"),
  10270. (t += " <a:xfrm" + d + ">"),
  10271. (t += ' <a:off x="' + l + '" y="' + u + '"/>'),
  10272. (t += ' <a:ext cx="' + L + '" cy="' + P + '"/>'),
  10273. (t += " </a:xfrm>"),
  10274. (t += ' <a:prstGeom prst="' + (C ? "ellipse" : "rect") + '"><a:avLst/></a:prstGeom>'),
  10275. (t += "</p:spPr>"),
  10276. (t += "</p:pic>")
  10277. break
  10278. case Y.media:
  10279. "online" === n.mtype
  10280. ? ((t += "<p:pic>"),
  10281. (t += " <p:nvPicPr>"),
  10282. (t += '<p:cNvPr id="'.concat(n.mediaRid + 2, '" name="').concat(n.options.objectName, '"/>')),
  10283. (t += " <p:cNvPicPr/>"),
  10284. (t += " <p:nvPr>"),
  10285. (t += ' <a:videoFile r:link="rId' + n.mediaRid + '"/>'),
  10286. (t += " </p:nvPr>"),
  10287. (t += " </p:nvPicPr>"),
  10288. (t += ' <p:blipFill><a:blip r:embed="rId' + (n.mediaRid + 1) + '"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),
  10289. (t += " <p:spPr>"),
  10290. (t += " <a:xfrm" + d + ">"),
  10291. (t += ' <a:off x="' + l + '" y="' + u + '"/>'),
  10292. (t += ' <a:ext cx="' + f + '" cy="' + p + '"/>'),
  10293. (t += " </a:xfrm>"),
  10294. (t += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>'),
  10295. (t += " </p:spPr>"),
  10296. (t += "</p:pic>"))
  10297. : ((t += "<p:pic>"),
  10298. (t += " <p:nvPicPr>"),
  10299. (t += '<p:cNvPr id="'
  10300. .concat(n.mediaRid + 2, '" name="')
  10301. .concat(n.options.objectName, '"><a:hlinkClick r:id="" action="ppaction://media"/></p:cNvPr>')),
  10302. (t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>'),
  10303. (t += " <p:nvPr>"),
  10304. (t += " <a:".concat("audio" === n.mtype ? "audioFile" : "videoFile", ' r:link="rId').concat(n.mediaRid, '"/>')),
  10305. (t += " <p:extLst>"),
  10306. (t += ' <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">'),
  10307. (t +=
  10308. ' <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId' +
  10309. (n.mediaRid + 1) +
  10310. '"/>'),
  10311. (t += " </p:ext>"),
  10312. (t += " </p:extLst>"),
  10313. (t += " </p:nvPr>"),
  10314. (t += " </p:nvPicPr>"),
  10315. (t += ' <p:blipFill><a:blip r:embed="rId' + (n.mediaRid + 2) + '"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),
  10316. (t += " <p:spPr>"),
  10317. (t += " <a:xfrm" + d + ">"),
  10318. (t += ' <a:off x="' + l + '" y="' + u + '"/>'),
  10319. (t += ' <a:ext cx="' + f + '" cy="' + p + '"/>'),
  10320. (t += " </a:xfrm>"),
  10321. (t += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>'),
  10322. (t += " </p:spPr>"),
  10323. (t += "</p:pic>"))
  10324. break
  10325. case Y.chart:
  10326. ;(t += "<p:graphicFrame>"),
  10327. (t += " <p:nvGraphicFramePr>"),
  10328. (t += ' <p:cNvPr id="'
  10329. .concat(i + 2, '" name="')
  10330. .concat(n.options.objectName, '" descr="')
  10331. .concat(ne(n.options.altText || ""), '"/>')),
  10332. (t += " <p:cNvGraphicFramePr/>"),
  10333. (t += " <p:nvPr>".concat(Te(s), "</p:nvPr>")),
  10334. (t += " </p:nvGraphicFramePr>"),
  10335. (t += ' <p:xfrm><a:off x="'.concat(l, '" y="').concat(u, '"/><a:ext cx="').concat(f, '" cy="').concat(p, '"/></p:xfrm>')),
  10336. (t += ' <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">'),
  10337. (t += ' <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/chart">'),
  10338. (t += ' <c:chart r:id="rId'.concat(n.chartRid, '" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"/>')),
  10339. (t += " </a:graphicData>"),
  10340. (t += " </a:graphic>"),
  10341. (t += "</p:graphicFrame>")
  10342. break
  10343. default:
  10344. t += ""
  10345. break
  10346. }
  10347. }),
  10348. e._slideNumberProps &&
  10349. (e._slideNumberProps.align || (e._slideNumberProps.align = "left"),
  10350. (t +=
  10351. '<p:sp> <p:nvSpPr> <p:cNvPr id="25" name="Slide Number Placeholder 0"/> <p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr> <p:nvPr><p:ph type="sldNum" sz="quarter" idx="4294967295"/></p:nvPr> </p:nvSpPr> <p:spPr> <a:xfrm> <a:off x="' +
  10352. ee(e._slideNumberProps.x, "X", e._presLayout) +
  10353. '" y="' +
  10354. ee(e._slideNumberProps.y, "Y", e._presLayout) +
  10355. '"/> <a:ext cx="' +
  10356. (e._slideNumberProps.w ? ee(e._slideNumberProps.w, "X", e._presLayout) : 8e5) +
  10357. '" cy="' +
  10358. (e._slideNumberProps.h ? ee(e._slideNumberProps.h, "Y", e._presLayout) : 3e5) +
  10359. '"/> </a:xfrm> <a:prstGeom prst="rect"><a:avLst/></a:prstGeom> <a:extLst><a:ext uri="{C572A759-6A51-4108-AA02-DFA0A04FC94B}"><ma14:wrappingTextBoxFlag val="0" xmlns:ma14="http://schemas.microsoft.com/office/mac/drawingml/2011/main"/></a:ext></a:extLst> </p:spPr>'),
  10360. (t += "<p:txBody>"),
  10361. (t += "<a:bodyPr"),
  10362. e._slideNumberProps.margin && Array.isArray(e._slideNumberProps.margin)
  10363. ? ((t += ' lIns="'.concat(oe(e._slideNumberProps.margin[3] || 0), '"')),
  10364. (t += ' tIns="'.concat(oe(e._slideNumberProps.margin[0] || 0), '"')),
  10365. (t += ' rIns="'.concat(oe(e._slideNumberProps.margin[1] || 0), '"')),
  10366. (t += ' bIns="'.concat(oe(e._slideNumberProps.margin[2] || 0), '"')))
  10367. : "number" === typeof e._slideNumberProps.margin &&
  10368. ((t += ' lIns="'.concat(oe(e._slideNumberProps.margin || 0), '"')),
  10369. (t += ' tIns="'.concat(oe(e._slideNumberProps.margin || 0), '"')),
  10370. (t += ' rIns="'.concat(oe(e._slideNumberProps.margin || 0), '"')),
  10371. (t += ' bIns="'.concat(oe(e._slideNumberProps.margin || 0), '"'))),
  10372. e._slideNumberProps.valign &&
  10373. (t += ' anchor="'.concat(e._slideNumberProps.valign.replace("top", "t").replace("middle", "ctr").replace("bottom", "b"), '"')),
  10374. (t += "/>"),
  10375. (t += " <a:lstStyle><a:lvl1pPr>"),
  10376. (e._slideNumberProps.fontFace || e._slideNumberProps.fontSize || e._slideNumberProps.color) &&
  10377. ((t += '<a:defRPr sz="'.concat(Math.round(100 * (e._slideNumberProps.fontSize || 12)), '">')),
  10378. e._slideNumberProps.color && (t += fe(e._slideNumberProps.color)),
  10379. e._slideNumberProps.fontFace &&
  10380. (t += '<a:latin typeface="'
  10381. .concat(e._slideNumberProps.fontFace, '"/><a:ea typeface="')
  10382. .concat(e._slideNumberProps.fontFace, '"/><a:cs typeface="')
  10383. .concat(e._slideNumberProps.fontFace, '"/>')),
  10384. (t += "</a:defRPr>")),
  10385. (t += "</a:lvl1pPr></a:lstStyle>"),
  10386. (t += "<a:p>"),
  10387. e._slideNumberProps.align.startsWith("l")
  10388. ? (t += '<a:pPr algn="l"/>')
  10389. : e._slideNumberProps.align.startsWith("c")
  10390. ? (t += '<a:pPr algn="ctr"/>')
  10391. : e._slideNumberProps.align.startsWith("r")
  10392. ? (t += '<a:pPr algn="r"/>')
  10393. : (t += '<a:pPr algn="l"/>'),
  10394. (t += '<a:fld id="'.concat(Q, '" type="slidenum"><a:rPr b="').concat(e._slideNumberProps.bold ? 1 : 0, '" lang="en-US"/>')),
  10395. (t += "<a:t>".concat(e._slideNum, '</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>')),
  10396. (t += "</p:txBody></p:sp>")),
  10397. (t += "</p:spTree>"),
  10398. (t += "</p:cSld>"),
  10399. t
  10400. )
  10401. }
  10402. function ve(e, t) {
  10403. var r = 0,
  10404. n =
  10405. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
  10406. f +
  10407. '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
  10408. return (
  10409. e._rels.forEach(function (e) {
  10410. ;(r = Math.max(r, e.rId)),
  10411. e.type.toLowerCase().indexOf("hyperlink") > -1
  10412. ? "slide" === e.data
  10413. ? (n +=
  10414. '<Relationship Id="rId' +
  10415. e.rId +
  10416. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slide' +
  10417. e.Target +
  10418. '.xml"/>')
  10419. : (n +=
  10420. '<Relationship Id="rId' +
  10421. e.rId +
  10422. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="' +
  10423. e.Target +
  10424. '" TargetMode="External"/>')
  10425. : e.type.toLowerCase().indexOf("notesSlide") > -1 &&
  10426. (n +=
  10427. '<Relationship Id="rId' +
  10428. e.rId +
  10429. '" Target="' +
  10430. e.Target +
  10431. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"/>')
  10432. }),
  10433. (e._relsChart || []).forEach(function (e) {
  10434. ;(r = Math.max(r, e.rId)),
  10435. (n +=
  10436. '<Relationship Id="rId' +
  10437. e.rId +
  10438. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" Target="' +
  10439. e.Target +
  10440. '"/>')
  10441. }),
  10442. (e._relsMedia || []).forEach(function (e) {
  10443. ;(r = Math.max(r, e.rId)),
  10444. e.type.toLowerCase().indexOf("image") > -1
  10445. ? (n +=
  10446. '<Relationship Id="rId' +
  10447. e.rId +
  10448. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="' +
  10449. e.Target +
  10450. '"/>')
  10451. : e.type.toLowerCase().indexOf("audio") > -1
  10452. ? n.indexOf(' Target="' + e.Target + '"') > -1
  10453. ? (n +=
  10454. '<Relationship Id="rId' +
  10455. e.rId +
  10456. '" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="' +
  10457. e.Target +
  10458. '"/>')
  10459. : (n +=
  10460. '<Relationship Id="rId' +
  10461. e.rId +
  10462. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio" Target="' +
  10463. e.Target +
  10464. '"/>')
  10465. : e.type.toLowerCase().indexOf("video") > -1
  10466. ? n.indexOf(' Target="' + e.Target + '"') > -1
  10467. ? (n +=
  10468. '<Relationship Id="rId' +
  10469. e.rId +
  10470. '" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="' +
  10471. e.Target +
  10472. '"/>')
  10473. : (n +=
  10474. '<Relationship Id="rId' +
  10475. e.rId +
  10476. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" Target="' +
  10477. e.Target +
  10478. '"/>')
  10479. : e.type.toLowerCase().indexOf("online") > -1 &&
  10480. (n.indexOf(' Target="' + e.Target + '"') > -1
  10481. ? (n +=
  10482. '<Relationship Id="rId' +
  10483. e.rId +
  10484. '" Type="http://schemas.microsoft.com/office/2007/relationships/image" Target="' +
  10485. e.Target +
  10486. '"/>')
  10487. : (n +=
  10488. '<Relationship Id="rId' +
  10489. e.rId +
  10490. '" Target="' +
  10491. e.Target +
  10492. '" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"/>'))
  10493. }),
  10494. t.forEach(function (e, t) {
  10495. n += '<Relationship Id="rId' + (r + t + 1) + '" Type="' + e.type + '" Target="' + e.target + '"/>'
  10496. }),
  10497. (n += "</Relationships>"),
  10498. n
  10499. )
  10500. }
  10501. function be(e, t) {
  10502. var r = "",
  10503. n = "",
  10504. i = "",
  10505. o = "",
  10506. a = t ? "a:lvl1pPr" : "a:pPr",
  10507. s = oe(m),
  10508. l = "<".concat(a).concat(e.options.rtlMode ? ' rtl="1" ' : "")
  10509. if (e.options.align)
  10510. switch (e.options.align) {
  10511. case "left":
  10512. l += ' algn="l"'
  10513. break
  10514. case "right":
  10515. l += ' algn="r"'
  10516. break
  10517. case "center":
  10518. l += ' algn="ctr"'
  10519. break
  10520. case "justify":
  10521. l += ' algn="just"'
  10522. break
  10523. default:
  10524. l += ""
  10525. break
  10526. }
  10527. if (
  10528. (e.options.lineSpacing
  10529. ? (n = '<a:lnSpc><a:spcPts val="'.concat(Math.round(100 * e.options.lineSpacing), '"/></a:lnSpc>'))
  10530. : e.options.lineSpacingMultiple &&
  10531. (n = '<a:lnSpc><a:spcPct val="'.concat(Math.round(1e5 * e.options.lineSpacingMultiple), '"/></a:lnSpc>')),
  10532. e.options.indentLevel &&
  10533. !isNaN(Number(e.options.indentLevel)) &&
  10534. e.options.indentLevel > 0 &&
  10535. (l += ' lvl="'.concat(e.options.indentLevel, '"')),
  10536. e.options.paraSpaceBefore &&
  10537. !isNaN(Number(e.options.paraSpaceBefore)) &&
  10538. e.options.paraSpaceBefore > 0 &&
  10539. (i += '<a:spcBef><a:spcPts val="'.concat(Math.round(100 * e.options.paraSpaceBefore), '"/></a:spcBef>')),
  10540. e.options.paraSpaceAfter &&
  10541. !isNaN(Number(e.options.paraSpaceAfter)) &&
  10542. e.options.paraSpaceAfter > 0 &&
  10543. (i += '<a:spcAft><a:spcPts val="'.concat(Math.round(100 * e.options.paraSpaceAfter), '"/></a:spcAft>')),
  10544. "object" === typeof e.options.bullet)
  10545. )
  10546. if ((e && e.options && e.options.bullet && e.options.bullet.indent && (s = oe(e.options.bullet.indent)), e.options.bullet.type))
  10547. "number" === e.options.bullet.type.toString().toLowerCase() &&
  10548. ((l += ' marL="'
  10549. .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
  10550. .concat(s, '"')),
  10551. (r = '<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="'
  10552. .concat(e.options.bullet.style || "arabicPeriod", '" startAt="')
  10553. .concat(e.options.bullet.numberStartAt || e.options.bullet.startAt || "1", '"/>')))
  10554. else if (e.options.bullet.characterCode) {
  10555. var c = "&#x".concat(e.options.bullet.characterCode, ";")
  10556. !1 === /^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode) &&
  10557. (console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"), (c = Z["DEFAULT"])),
  10558. (l += ' marL="'
  10559. .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
  10560. .concat(s, '"')),
  10561. (r = '<a:buSzPct val="100000"/><a:buChar char="' + c + '"/>')
  10562. } else if (e.options.bullet.code) {
  10563. c = "&#x".concat(e.options.bullet.code, ";")
  10564. !1 === /^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code) &&
  10565. (console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"), (c = Z["DEFAULT"])),
  10566. (l += ' marL="'
  10567. .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
  10568. .concat(s, '"')),
  10569. (r = '<a:buSzPct val="100000"/><a:buChar char="' + c + '"/>')
  10570. } else
  10571. (l += ' marL="'
  10572. .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
  10573. .concat(s, '"')),
  10574. (r = '<a:buSzPct val="100000"/><a:buChar char="'.concat(Z["DEFAULT"], '"/>'))
  10575. else
  10576. !0 === e.options.bullet
  10577. ? ((l += ' marL="'
  10578. .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
  10579. .concat(s, '"')),
  10580. (r = '<a:buSzPct val="100000"/><a:buChar char="'.concat(Z["DEFAULT"], '"/>')))
  10581. : !1 === e.options.bullet && ((l += ' indent="0" marL="0"'), (r = "<a:buNone/>"))
  10582. if (e.options.tabStops && Array.isArray(e.options.tabStops)) {
  10583. var u = e.options.tabStops
  10584. .map(function (e) {
  10585. return '<a:tab pos="'.concat(ie(e.position || 1), '" algn="').concat(e.alignment || "l", '"/>')
  10586. })
  10587. .join("")
  10588. o = "<a:tabLst>".concat(u, "</a:tabLst>")
  10589. }
  10590. return (l += ">" + n + i + r + o), t && (l += we(e.options, !0)), (l += "</" + a + ">"), l
  10591. }
  10592. function we(e, t) {
  10593. var r,
  10594. n = "",
  10595. i = t ? "a:defRPr" : "a:rPr"
  10596. if (
  10597. ((n += "<" + i + ' lang="' + (e.lang ? e.lang : "en-US") + '"' + (e.lang ? ' altLang="en-US"' : "")),
  10598. (n += e.fontSize ? ' sz="' + Math.round(e.fontSize) + '00"' : ""),
  10599. (n += e.hasOwnProperty("bold") ? ' b="'.concat(e.bold ? 1 : 0, '"') : ""),
  10600. (n += e.hasOwnProperty("italic") ? ' i="'.concat(e.italic ? 1 : 0, '"') : ""),
  10601. (n += e.hasOwnProperty("strike") ? ' strike="'.concat("string" === typeof e.strike ? e.strike : "sngStrike", '"') : ""),
  10602. "object" === typeof e.underline && (null === (r = e.underline) || void 0 === r ? void 0 : r.style)
  10603. ? (n += ' u="'.concat(e.underline.style, '"'))
  10604. : "string" === typeof e.underline
  10605. ? (n += ' u="'.concat(e.underline, '"'))
  10606. : e.hyperlink && (n += ' u="sng"'),
  10607. e.baseline
  10608. ? (n += ' baseline="'.concat(Math.round(50 * e.baseline), '"'))
  10609. : e.subscript
  10610. ? (n += ' baseline="-40000"')
  10611. : e.superscript && (n += ' baseline="30000"'),
  10612. (n += e.charSpacing ? ' spc="'.concat(Math.round(100 * e.charSpacing), '" kern="0"') : ""),
  10613. (n += ' dirty="0">'),
  10614. (e.color || e.fontFace || e.outline || ("object" === typeof e.underline && e.underline.color)) &&
  10615. (e.outline &&
  10616. "object" === typeof e.outline &&
  10617. (n += '<a:ln w="'.concat(oe(e.outline.size || 0.75), '">').concat(fe(e.outline.color || "FFFFFF"), "</a:ln>")),
  10618. e.color &&
  10619. (n += fe({
  10620. color: e.color,
  10621. transparency: e.transparency
  10622. })),
  10623. e.highlight && (n += "<a:highlight>".concat(ce(e.highlight), "</a:highlight>")),
  10624. "object" === typeof e.underline && e.underline.color && (n += "<a:uFill>".concat(fe(e.underline.color), "</a:uFill>")),
  10625. e.glow && (n += "<a:effectLst>".concat(ue(e.glow, L), "</a:effectLst>")),
  10626. e.fontFace &&
  10627. (n += '<a:latin typeface="'
  10628. .concat(e.fontFace, '" pitchFamily="34" charset="0"/><a:ea typeface="')
  10629. .concat(e.fontFace, '" pitchFamily="34" charset="-122"/><a:cs typeface="')
  10630. .concat(e.fontFace, '" pitchFamily="34" charset="-120"/>'))),
  10631. e.hyperlink)
  10632. ) {
  10633. if ("object" !== typeof e.hyperlink)
  10634. throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ")
  10635. if (!e.hyperlink.url && !e.hyperlink.slide) throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'")
  10636. e.hyperlink.url
  10637. ? (n += '<a:hlinkClick r:id="rId'
  10638. .concat(e.hyperlink._rId, '" invalidUrl="" action="" tgtFrame="" tooltip="')
  10639. .concat(e.hyperlink.tooltip ? ne(e.hyperlink.tooltip) : "", '" history="1" highlightClick="0" endSnd="0"')
  10640. .concat(e.color ? ">" : "/>"))
  10641. : e.hyperlink.slide &&
  10642. (n += '<a:hlinkClick r:id="rId'
  10643. .concat(e.hyperlink._rId, '" action="ppaction://hlinksldjump" tooltip="')
  10644. .concat(e.hyperlink.tooltip ? ne(e.hyperlink.tooltip) : "", '"')
  10645. .concat(e.color ? ">" : "/>")),
  10646. e.color &&
  10647. ((n += "\t<a:extLst>"),
  10648. (n += '\t\t<a:ext uri="{A12FA001-AC4F-418D-AE19-62706E023703}">'),
  10649. (n += '\t\t\t<ahyp:hlinkClr xmlns:ahyp="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" val="tx"/>'),
  10650. (n += "\t\t</a:ext>"),
  10651. (n += "\t</a:extLst>"),
  10652. (n += "</a:hlinkClick>"))
  10653. }
  10654. return (n += "</".concat(i, ">")), n
  10655. }
  10656. function xe(e) {
  10657. return e.text ? "<a:r>".concat(we(e.options, !1), "<a:t>").concat(ne(e.text), "</a:t></a:r>") : ""
  10658. }
  10659. function Ae(e) {
  10660. var t = "<a:bodyPr"
  10661. return (
  10662. e && e._type === Y.text && e.options._bodyProp
  10663. ? ((t += e.options._bodyProp.wrap ? ' wrap="square"' : ' wrap="none"'),
  10664. (e.options._bodyProp.lIns || 0 === e.options._bodyProp.lIns) && (t += ' lIns="' + e.options._bodyProp.lIns + '"'),
  10665. (e.options._bodyProp.tIns || 0 === e.options._bodyProp.tIns) && (t += ' tIns="' + e.options._bodyProp.tIns + '"'),
  10666. (e.options._bodyProp.rIns || 0 === e.options._bodyProp.rIns) && (t += ' rIns="' + e.options._bodyProp.rIns + '"'),
  10667. (e.options._bodyProp.bIns || 0 === e.options._bodyProp.bIns) && (t += ' bIns="' + e.options._bodyProp.bIns + '"'),
  10668. (t += ' rtlCol="0"'),
  10669. e.options._bodyProp.anchor && (t += ' anchor="' + e.options._bodyProp.anchor + '"'),
  10670. e.options._bodyProp.vert && (t += ' vert="' + e.options._bodyProp.vert + '"'),
  10671. (t += ">"),
  10672. e.options.fit &&
  10673. ("none" === e.options.fit
  10674. ? (t += "")
  10675. : "shrink" === e.options.fit
  10676. ? (t += "<a:normAutofit/>")
  10677. : "resize" === e.options.fit && (t += "<a:spAutoFit/>")),
  10678. e.options.shrinkText && (t += "<a:normAutofit/>"),
  10679. (t += !1 !== e.options._bodyProp.autoFit ? "<a:spAutoFit/>" : ""),
  10680. (t += "</a:bodyPr>"))
  10681. : ((t += ' wrap="square" rtlCol="0">'), (t += "</a:bodyPr>")),
  10682. e._type === Y.tablecell ? "<a:bodyPr/>" : t
  10683. )
  10684. }
  10685. function _e(e) {
  10686. var t = e.options || {},
  10687. r = [],
  10688. n = []
  10689. if (t && e._type !== Y.tablecell && ("undefined" === typeof e.text || null === e.text)) return ""
  10690. var i = e._type === Y.tablecell ? "<a:txBody>" : "<p:txBody>"
  10691. ;(i += Ae(e)),
  10692. 0 === t.h && t.line && t.align
  10693. ? (i += '<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>')
  10694. : "placeholder" === e._type
  10695. ? (i += "<a:lstStyle>".concat(be(e, !0), "</a:lstStyle>"))
  10696. : (i += "<a:lstStyle/>"),
  10697. "string" === typeof e.text || "number" === typeof e.text
  10698. ? r.push({
  10699. text: e.text.toString(),
  10700. options: t || {}
  10701. })
  10702. : e.text && !Array.isArray(e.text) && "object" === typeof e.text && Object.keys(e.text).indexOf("text") > -1
  10703. ? r.push({
  10704. text: e.text || "",
  10705. options: e.options || {}
  10706. })
  10707. : Array.isArray(e.text) &&
  10708. (r = e.text.map(function (e) {
  10709. return {
  10710. text: e.text,
  10711. options: e.options
  10712. }
  10713. })),
  10714. r.forEach(function (e, r) {
  10715. e.text || (e.text = ""),
  10716. (e.options = e.options || t || {}),
  10717. 0 === r && e.options && !e.options.bullet && t.bullet && (e.options.bullet = t.bullet),
  10718. ("string" !== typeof e.text && "number" !== typeof e.text) || (e.text = e.text.toString().replace(/\r*\n/g, f)),
  10719. e.text.indexOf(f) > -1 && null === e.text.match(/\n$/g)
  10720. ? e.text.split(f).forEach(function (t) {
  10721. ;(e.options.breakLine = !0),
  10722. n.push({
  10723. text: t,
  10724. options: e.options
  10725. })
  10726. })
  10727. : n.push(e)
  10728. })
  10729. var o = [],
  10730. a = []
  10731. return (
  10732. n.forEach(function (e, r) {
  10733. a.length > 0 && (e.options.align || t.align)
  10734. ? e.options.align != n[r - 1].options.align && (o.push(a), (a = []))
  10735. : a.length > 0 && e.options.bullet && a.length > 0 && (o.push(a), (a = []), (e.options.breakLine = !1)),
  10736. a.push(e),
  10737. a.length > 0 && e.options.breakLine && r + 1 < n.length && (o.push(a), (a = [])),
  10738. r + 1 === n.length && o.push(a)
  10739. }),
  10740. o.forEach(function (r) {
  10741. var n = !1
  10742. i += "<a:p>"
  10743. var o = "<a:pPr ".concat(r[0].options && r[0].options.rtlMode ? ' rtl="1" ' : "")
  10744. r.forEach(function (e, r) {
  10745. ;(e.options._lineIdx = r),
  10746. r > 0 && e.options.softBreakBefore && (i += "<a:br/>"),
  10747. (e.options.align = e.options.align || t.align),
  10748. (e.options.lineSpacing = e.options.lineSpacing || t.lineSpacing),
  10749. (e.options.lineSpacingMultiple = e.options.lineSpacingMultiple || t.lineSpacingMultiple),
  10750. (e.options.indentLevel = e.options.indentLevel || t.indentLevel),
  10751. (e.options.paraSpaceBefore = e.options.paraSpaceBefore || t.paraSpaceBefore),
  10752. (e.options.paraSpaceAfter = e.options.paraSpaceAfter || t.paraSpaceAfter),
  10753. (o = be(e, !1)),
  10754. (i += o.replace("<a:pPr></a:pPr>", "")),
  10755. Object.entries(t).forEach(function (t) {
  10756. var r = t[0],
  10757. n = t[1]
  10758. ;(e.options.hyperlink && "color" === r) || "bullet" === r || e.options[r] || (e.options[r] = n)
  10759. }),
  10760. (i += xe(e)),
  10761. ((!e.text && t.fontSize) || e.options.fontSize) && ((n = !0), (t.fontSize = t.fontSize || e.options.fontSize))
  10762. }),
  10763. e._type === Y.tablecell && (t.fontSize || t.fontFace)
  10764. ? t.fontFace
  10765. ? ((i +=
  10766. '<a:endParaRPr lang="'.concat(t.lang || "en-US", '"') +
  10767. (t.fontSize ? ' sz="'.concat(Math.round(100 * t.fontSize), '"') : "") +
  10768. ' dirty="0">'),
  10769. (i += '<a:latin typeface="'.concat(t.fontFace, '" charset="0"/>')),
  10770. (i += '<a:ea typeface="'.concat(t.fontFace, '" charset="0"/>')),
  10771. (i += '<a:cs typeface="'.concat(t.fontFace, '" charset="0"/>')),
  10772. (i += "</a:endParaRPr>"))
  10773. : (i +=
  10774. '<a:endParaRPr lang="'.concat(t.lang || "en-US", '"') +
  10775. (t.fontSize ? ' sz="'.concat(Math.round(100 * t.fontSize), '"') : "") +
  10776. ' dirty="0"/>')
  10777. : (i += n
  10778. ? '<a:endParaRPr lang="'.concat(t.lang || "en-US", '"') +
  10779. (t.fontSize ? ' sz="'.concat(Math.round(100 * t.fontSize), '"') : "") +
  10780. ' dirty="0"/>'
  10781. : '<a:endParaRPr lang="'.concat(t.lang || "en-US", '" dirty="0"/>')),
  10782. (i += "</a:p>")
  10783. }),
  10784. (i += e._type === Y.tablecell ? "</a:txBody>" : "</p:txBody>"),
  10785. i
  10786. )
  10787. }
  10788. function Te(e) {
  10789. if (!e) return ""
  10790. var t = e.options && e.options._placeholderIdx ? e.options._placeholderIdx : "",
  10791. r = e.options && e.options._placeholderType ? e.options._placeholderType : ""
  10792. return "<p:ph\n\t\t"
  10793. .concat(t ? ' idx="' + t + '"' : "", "\n\t\t")
  10794. .concat(r && K[r] ? ' type="' + K[r] + '"' : "", "\n\t\t")
  10795. .concat(e.text && e.text.length > 0 ? ' hasCustomPrompt="1"' : "", "\n\t\t/>")
  10796. }
  10797. function Ee(e, t, r) {
  10798. var n = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + f
  10799. return (
  10800. (n += '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">'),
  10801. (n += '<Default Extension="xml" ContentType="application/xml"/>'),
  10802. (n += '<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>'),
  10803. (n += '<Default Extension="jpeg" ContentType="image/jpeg"/>'),
  10804. (n += '<Default Extension="jpg" ContentType="image/jpg"/>'),
  10805. (n += '<Default Extension="png" ContentType="image/png"/>'),
  10806. (n += '<Default Extension="gif" ContentType="image/gif"/>'),
  10807. (n += '<Default Extension="m4v" ContentType="video/mp4"/>'),
  10808. (n += '<Default Extension="mp4" ContentType="video/mp4"/>'),
  10809. e.forEach(function (e) {
  10810. ;(e._relsMedia || []).forEach(function (e) {
  10811. "image" !== e.type &&
  10812. "online" !== e.type &&
  10813. "chart" !== e.type &&
  10814. "m4v" !== e.extn &&
  10815. -1 === n.indexOf(e.type) &&
  10816. (n += '<Default Extension="' + e.extn + '" ContentType="' + e.type + '"/>')
  10817. })
  10818. }),
  10819. (n += '<Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>'),
  10820. (n += '<Default Extension="xlsx" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>'),
  10821. (n +=
  10822. '<Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>'),
  10823. (n +=
  10824. '<Override PartName="/ppt/notesMasters/notesMaster1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml"/>'),
  10825. e.forEach(function (e, t) {
  10826. ;(n +=
  10827. '<Override PartName="/ppt/slideMasters/slideMaster' +
  10828. (t + 1) +
  10829. '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>'),
  10830. (n +=
  10831. '<Override PartName="/ppt/slides/slide' +
  10832. (t + 1) +
  10833. '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"/>'),
  10834. e._relsChart.forEach(function (e) {
  10835. n +=
  10836. ' <Override PartName="' + e.Target + '" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'
  10837. })
  10838. }),
  10839. (n +=
  10840. '<Override PartName="/ppt/presProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presProps+xml"/>'),
  10841. (n +=
  10842. '<Override PartName="/ppt/viewProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml"/>'),
  10843. (n += '<Override PartName="/ppt/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>'),
  10844. (n +=
  10845. '<Override PartName="/ppt/tableStyles.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"/>'),
  10846. t.forEach(function (e, t) {
  10847. ;(n +=
  10848. '<Override PartName="/ppt/slideLayouts/slideLayout' +
  10849. (t + 1) +
  10850. '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>'),
  10851. (e._relsChart || []).forEach(function (e) {
  10852. n +=
  10853. ' <Override PartName="' + e.Target + '" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'
  10854. })
  10855. }),
  10856. e.forEach(function (e, t) {
  10857. n +=
  10858. ' <Override PartName="/ppt/notesSlides/notesSlide' +
  10859. (t + 1) +
  10860. '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml"/>'
  10861. }),
  10862. r._relsChart.forEach(function (e) {
  10863. n += ' <Override PartName="' + e.Target + '" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'
  10864. }),
  10865. r._relsMedia.forEach(function (e) {
  10866. "image" !== e.type &&
  10867. "online" !== e.type &&
  10868. "chart" !== e.type &&
  10869. "m4v" !== e.extn &&
  10870. -1 === n.indexOf(e.type) &&
  10871. (n += ' <Default Extension="' + e.extn + '" ContentType="' + e.type + '"/>')
  10872. }),
  10873. (n += ' <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>'),
  10874. (n += ' <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>'),
  10875. (n += "</Types>"),
  10876. n
  10877. )
  10878. }
  10879. function Se() {
  10880. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  10881. f,
  10882. '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n\t\t<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n\t\t<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n\t\t<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>\n\t\t</Relationships>'
  10883. )
  10884. }
  10885. function Ce(e, t) {
  10886. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
  10887. .concat(
  10888. f,
  10889. '<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n\t<TotalTime>0</TotalTime>\n\t<Words>0</Words>\n\t<Application>Microsoft Office PowerPoint</Application>\n\t<PresentationFormat>On-screen Show (16:9)</PresentationFormat>\n\t<Paragraphs>0</Paragraphs>\n\t<Slides>'
  10890. )
  10891. .concat(e.length, "</Slides>\n\t<Notes>")
  10892. .concat(
  10893. e.length,
  10894. '</Notes>\n\t<HiddenSlides>0</HiddenSlides>\n\t<MMClips>0</MMClips>\n\t<ScaleCrop>false</ScaleCrop>\n\t<HeadingPairs>\n\t\t<vt:vector size="6" baseType="variant">\n\t\t\t<vt:variant><vt:lpstr>Fonts Used</vt:lpstr></vt:variant>\n\t\t\t<vt:variant><vt:i4>2</vt:i4></vt:variant>\n\t\t\t<vt:variant><vt:lpstr>Theme</vt:lpstr></vt:variant>\n\t\t\t<vt:variant><vt:i4>1</vt:i4></vt:variant>\n\t\t\t<vt:variant><vt:lpstr>Slide Titles</vt:lpstr></vt:variant>\n\t\t\t<vt:variant><vt:i4>'
  10895. )
  10896. .concat(e.length, '</vt:i4></vt:variant>\n\t\t</vt:vector>\n\t</HeadingPairs>\n\t<TitlesOfParts>\n\t\t<vt:vector size="')
  10897. .concat(
  10898. e.length + 1 + 2,
  10899. '" baseType="lpstr">\n\t\t\t<vt:lpstr>Arial</vt:lpstr>\n\t\t\t<vt:lpstr>Calibri</vt:lpstr>\n\t\t\t<vt:lpstr>Office Theme</vt:lpstr>\n\t\t\t'
  10900. )
  10901. .concat(
  10902. e
  10903. .map(function (e, t) {
  10904. return "<vt:lpstr>Slide " + (t + 1) + "</vt:lpstr>\n"
  10905. })
  10906. .join(""),
  10907. "\n\t\t</vt:vector>\n\t</TitlesOfParts>\n\t<Company>"
  10908. )
  10909. .concat(
  10910. t,
  10911. "</Company>\n\t<LinksUpToDate>false</LinksUpToDate>\n\t<SharedDoc>false</SharedDoc>\n\t<HyperlinksChanged>false</HyperlinksChanged>\n\t<AppVersion>16.0000</AppVersion>\n\t</Properties>"
  10912. )
  10913. }
  10914. function ke(e, t, r, n) {
  10915. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\t<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n\t\t<dc:title>'
  10916. .concat(ne(e), "</dc:title>\n\t\t<dc:subject>")
  10917. .concat(ne(t), "</dc:subject>\n\t\t<dc:creator>")
  10918. .concat(ne(r), "</dc:creator>\n\t\t<cp:lastModifiedBy>")
  10919. .concat(ne(r), "</cp:lastModifiedBy>\n\t\t<cp:revision>")
  10920. .concat(n, '</cp:revision>\n\t\t<dcterms:created xsi:type="dcterms:W3CDTF">')
  10921. .concat(new Date().toISOString().replace(/\.\d\d\dZ/, "Z"), '</dcterms:created>\n\t\t<dcterms:modified xsi:type="dcterms:W3CDTF">')
  10922. .concat(new Date().toISOString().replace(/\.\d\d\dZ/, "Z"), "</dcterms:modified>\n\t</cp:coreProperties>")
  10923. }
  10924. function Le(e) {
  10925. var t = 1,
  10926. r = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + f
  10927. ;(r += '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'),
  10928. (r +=
  10929. '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>')
  10930. for (var n = 1; n <= e.length; n++)
  10931. r +=
  10932. '<Relationship Id="rId' +
  10933. ++t +
  10934. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slides/slide' +
  10935. n +
  10936. '.xml"/>'
  10937. return (
  10938. t++,
  10939. (r +=
  10940. '<Relationship Id="rId' +
  10941. t +
  10942. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="notesMasters/notesMaster1.xml"/><Relationship Id="rId' +
  10943. (t + 1) +
  10944. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" Target="presProps.xml"/><Relationship Id="rId' +
  10945. (t + 2) +
  10946. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" Target="viewProps.xml"/><Relationship Id="rId' +
  10947. (t + 3) +
  10948. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId' +
  10949. (t + 4) +
  10950. '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" Target="tableStyles.xml"/></Relationships>'),
  10951. r
  10952. )
  10953. }
  10954. function Pe(e) {
  10955. return (
  10956. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(f) +
  10957. '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"' +
  10958. "".concat(e && e.hidden ? ' show="0"' : "", ">") +
  10959. "".concat(ye(e)) +
  10960. "<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>"
  10961. )
  10962. }
  10963. function Oe(e) {
  10964. var t = ""
  10965. return (
  10966. e._slideObjects.forEach(function (e) {
  10967. e._type === Y.notes && (t += e.text && e.text[0] ? e.text[0].text : "")
  10968. }),
  10969. t.replace(/\r*\n/g, f)
  10970. )
  10971. }
  10972. function je() {
  10973. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  10974. f,
  10975. '<p:notesMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Header Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="hdr" sz="quarter"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Date Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="dt" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{5282F153-3F37-0F45-9E97-73ACFA13230C}" type="datetimeFigureOut"><a:rPr lang="en-US"/><a:t>7/23/19</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Image Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg" idx="2"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="1143000"/><a:ext cx="5486400" cy="3086100"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:noFill/><a:ln w="12700"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="ctr"/><a:lstStyle/><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="5" name="Notes Placeholder 4"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" sz="quarter" idx="3"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="4400550"/><a:ext cx="5486400" cy="3600450"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US"/><a:t>Click to edit Master text styles</a:t></a:r></a:p><a:p><a:pPr lvl="1"/><a:r><a:rPr lang="en-US"/><a:t>Second level</a:t></a:r></a:p><a:p><a:pPr lvl="2"/><a:r><a:rPr lang="en-US"/><a:t>Third level</a:t></a:r></a:p><a:p><a:pPr lvl="3"/><a:r><a:rPr lang="en-US"/><a:t>Fourth level</a:t></a:r></a:p><a:p><a:pPr lvl="4"/><a:r><a:rPr lang="en-US"/><a:t>Fifth level</a:t></a:r></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="6" name="Footer Placeholder 5"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="ftr" sz="quarter" idx="4"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="7" name="Slide Number Placeholder 6"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="5"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{CE5E9CC1-C706-0F49-92D6-E571CC5EEA8F}" type="slidenum"><a:rPr lang="en-US"/><a:t>‹#›</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/><p:notesStyle><a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr><a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr><a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr><a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr><a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr><a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr><a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr><a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr><a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr></p:notesStyle></p:notesMaster>'
  10976. )
  10977. }
  10978. function Re(e) {
  10979. return (
  10980. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
  10981. f +
  10982. '<p:notes xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Slide Image Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg"/></p:nvPr></p:nvSpPr><p:spPr/></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Notes Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" dirty="0"/><a:t>' +
  10983. ne(Oe(e)) +
  10984. '</a:t></a:r><a:endParaRPr lang="en-US" dirty="0"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Number Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="10"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:fld id="' +
  10985. Q +
  10986. '" type="slidenum"><a:rPr lang="en-US"/><a:t>' +
  10987. e._slideNum +
  10988. '</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:notes>'
  10989. )
  10990. }
  10991. function Ie(e) {
  10992. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\t\t<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" preserve="1">\n\t\t'.concat(
  10993. ye(e),
  10994. "\n\t\t<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>"
  10995. )
  10996. }
  10997. function Ne(e, t) {
  10998. var r = t.map(function (t, r) {
  10999. return '<p:sldLayoutId id="' + (p + r) + '" r:id="rId' + (e._rels.length + r + 1) + '"/>'
  11000. }),
  11001. n = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + f
  11002. return (
  11003. (n +=
  11004. '<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">'),
  11005. (n += ye(e)),
  11006. (n +=
  11007. '<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>'),
  11008. (n += "<p:sldLayoutIdLst>" + r.join("") + "</p:sldLayoutIdLst>"),
  11009. (n += '<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>'),
  11010. (n +=
  11011. '<p:txStyles> <p:titleStyle> <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr> </p:titleStyle> <p:bodyStyle> <a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="»"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2514600" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2971800" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3429000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3886200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:bodyStyle> <p:otherStyle> <a:defPPr><a:defRPr lang="en-US"/></a:defPPr> <a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:otherStyle></p:txStyles>'),
  11012. (n += "</p:sldMaster>"),
  11013. n
  11014. )
  11015. }
  11016. function Me(e, t) {
  11017. return ve(t[e - 1], [
  11018. {
  11019. target: "../slideMasters/slideMaster1.xml",
  11020. type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"
  11021. }
  11022. ])
  11023. }
  11024. function De(e, t, r) {
  11025. return ve(e[r - 1], [
  11026. {
  11027. target: "../slideLayouts/slideLayout" + ze(e, t, r) + ".xml",
  11028. type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
  11029. },
  11030. {
  11031. target: "../notesSlides/notesSlide" + r + ".xml",
  11032. type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"
  11033. }
  11034. ])
  11035. }
  11036. function Be(e) {
  11037. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\t\t<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n\t\t\t<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="../notesMasters/notesMaster1.xml"/>\n\t\t\t<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="../slides/slide'.concat(
  11038. e,
  11039. '.xml"/>\n\t\t</Relationships>'
  11040. )
  11041. }
  11042. function Fe(e, t) {
  11043. var r = t.map(function (e, t) {
  11044. return {
  11045. target: "../slideLayouts/slideLayout".concat(t + 1, ".xml"),
  11046. type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
  11047. }
  11048. })
  11049. return (
  11050. r.push({
  11051. target: "../theme/theme1.xml",
  11052. type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"
  11053. }),
  11054. ve(e, r)
  11055. )
  11056. }
  11057. function Ue() {
  11058. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  11059. f,
  11060. '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n\t\t<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="../theme/theme1.xml"/>\n\t\t</Relationships>'
  11061. )
  11062. }
  11063. function ze(e, t, r) {
  11064. for (var n = 0; n < t.length; n++) if (t[n]._name === e[r - 1]._slideLayout._name) return n + 1
  11065. return 1
  11066. }
  11067. function qe() {
  11068. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  11069. f,
  11070. '<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri Light" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Calibri" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>'
  11071. )
  11072. }
  11073. function Ge(e) {
  11074. var t =
  11075. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(f) +
  11076. '<p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" ' +
  11077. 'xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" '.concat(
  11078. e.rtlMode ? 'rtl="1"' : "",
  11079. ' saveSubsetFonts="1" autoCompressPictures="0">'
  11080. )
  11081. ;(t += '<p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst>'),
  11082. (t += "<p:sldIdLst>"),
  11083. e.slides.forEach(function (e) {
  11084. return (t += '<p:sldId id="'.concat(e._slideId, '" r:id="rId').concat(e._rId, '"/>'))
  11085. }),
  11086. (t += "</p:sldIdLst>"),
  11087. (t += '<p:notesMasterIdLst><p:notesMasterId r:id="rId'.concat(e.slides.length + 2, '"/></p:notesMasterIdLst>')),
  11088. (t += '<p:sldSz cx="'.concat(e.presLayout.width, '" cy="').concat(e.presLayout.height, '"/>')),
  11089. (t += '<p:notesSz cx="'.concat(e.presLayout.height, '" cy="').concat(e.presLayout.width, '"/>')),
  11090. (t += "<p:defaultTextStyle>")
  11091. for (var r = 1; r < 10; r++)
  11092. t +=
  11093. "<a:lvl"
  11094. .concat(r, 'pPr marL="')
  11095. .concat(457200 * (r - 1), '" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1">') +
  11096. '<a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/>' +
  11097. "</a:defRPr></a:lvl".concat(r, "pPr>")
  11098. return (
  11099. (t += "</p:defaultTextStyle>"),
  11100. e.sections &&
  11101. e.sections.length > 0 &&
  11102. ((t += '<p:extLst><p:ext uri="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}">'),
  11103. (t += '<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">'),
  11104. e.sections.forEach(function (e) {
  11105. ;(t += '<p14:section name="'
  11106. .concat(ne(e.title), '" id="{')
  11107. .concat(te("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), '}"><p14:sldIdLst>')),
  11108. e._slides.forEach(function (e) {
  11109. return (t += '<p14:sldId id="'.concat(e._slideId, '"/>'))
  11110. }),
  11111. (t += "</p14:sldIdLst></p14:section>")
  11112. }),
  11113. (t += "</p14:sectionLst></p:ext>"),
  11114. (t +=
  11115. '<p:ext uri="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"><p15:sldGuideLst xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"/></p:ext>'),
  11116. (t += "</p:extLst>")),
  11117. (t += "</p:presentation>"),
  11118. t
  11119. )
  11120. }
  11121. function We() {
  11122. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  11123. f,
  11124. '<p:presentationPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>'
  11125. )
  11126. }
  11127. function Ve() {
  11128. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  11129. f,
  11130. '<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>'
  11131. )
  11132. }
  11133. function He() {
  11134. return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
  11135. f,
  11136. '<p:viewPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:normalViewPr horzBarState="maximized"><p:restoredLeft sz="15611"/><p:restoredTop sz="94610"/></p:normalViewPr><p:slideViewPr><p:cSldViewPr snapToGrid="0" snapToObjects="1"><p:cViewPr varScale="1"><p:scale><a:sx n="136" d="100"/><a:sy n="136" d="100"/></p:scale><p:origin x="216" y="312"/></p:cViewPr><p:guideLst/></p:cSldViewPr></p:slideViewPr><p:notesTextViewPr><p:cViewPr><p:scale><a:sx n="1" d="1"/><a:sy n="1" d="1"/></p:scale><p:origin x="0" y="0"/></p:cViewPr></p:notesTextViewPr><p:gridSpacing cx="76200" cy="76200"/></p:viewPr>'
  11137. )
  11138. }
  11139. function Xe(e) {
  11140. e &&
  11141. "object" === typeof e &&
  11142. ("outer" !== e.type &&
  11143. "inner" !== e.type &&
  11144. "none" !== e.type &&
  11145. (console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."), (e.type = "outer")),
  11146. e.angle &&
  11147. ((isNaN(Number(e.angle)) || e.angle < 0 || e.angle > 359) &&
  11148. (console.warn("Warning: shadow.angle can only be 0-359"), (e.angle = 270)),
  11149. (e.angle = Math.round(Number(e.angle)))),
  11150. e.opacity &&
  11151. ((isNaN(Number(e.opacity)) || e.opacity < 0 || e.opacity > 1) &&
  11152. (console.warn("Warning: shadow.opacity can only be 0-1"), (e.opacity = 0.75)),
  11153. (e.opacity = Number(e.opacity))))
  11154. }
  11155. var Ye = 0
  11156. function Ke(e, t) {
  11157. e.bkgd && (t.bkgd = e.bkgd),
  11158. e.objects &&
  11159. Array.isArray(e.objects) &&
  11160. e.objects.length > 0 &&
  11161. e.objects.forEach(function (e, r) {
  11162. var n = Object.keys(e)[0],
  11163. i = t
  11164. X[n] && "chart" === n
  11165. ? Ze(i, e[n].type, e[n].data, e[n].opts)
  11166. : X[n] && "image" === n
  11167. ? Qe(i, e[n])
  11168. : X[n] && "line" === n
  11169. ? et(i, W.LINE, e[n])
  11170. : X[n] && "rect" === n
  11171. ? et(i, W.RECTANGLE, e[n])
  11172. : X[n] && "text" === n
  11173. ? rt(
  11174. i,
  11175. [
  11176. {
  11177. text: e[n].text
  11178. }
  11179. ],
  11180. e[n].options,
  11181. !1
  11182. )
  11183. : X[n] &&
  11184. "placeholder" === n &&
  11185. ((e[n].options.placeholder = e[n].options.name),
  11186. delete e[n].options.name,
  11187. (e[n].options._placeholderType = e[n].options.type),
  11188. delete e[n].options.type,
  11189. (e[n].options._placeholderIdx = 100 + r),
  11190. rt(
  11191. i,
  11192. [
  11193. {
  11194. text: e[n].text
  11195. }
  11196. ],
  11197. e[n].options,
  11198. !0
  11199. ))
  11200. }),
  11201. e.slideNumber && "object" === typeof e.slideNumber && (t._slideNumberProps = e.slideNumber)
  11202. }
  11203. function Ze(e, t, r, n) {
  11204. function i(e) {
  11205. e &&
  11206. "none" !== e.style &&
  11207. (void 0 !== e.size &&
  11208. (isNaN(Number(e.size)) || e.size <= 0) &&
  11209. (console.warn("Warning: chart.gridLine.size must be greater than 0."), delete e.size),
  11210. e.style &&
  11211. ["solid", "dash", "dot"].indexOf(e.style) < 0 &&
  11212. (console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."), delete e.style))
  11213. }
  11214. var o,
  11215. a,
  11216. s = ++Ye,
  11217. l = {
  11218. _type: null,
  11219. text: null,
  11220. options: null,
  11221. chartRid: null
  11222. },
  11223. c = []
  11224. return (
  11225. Array.isArray(t)
  11226. ? (t.forEach(function (e) {
  11227. c = c.concat(e.data)
  11228. }),
  11229. (o = r || n))
  11230. : ((c = r), (o = n)),
  11231. c.forEach(function (e, t) {
  11232. ;(e._dataIndex = t), void 0 === e.labels || Array.isArray(e.labels[0]) || (e.labels = [e.labels])
  11233. }),
  11234. (a = o && "object" === typeof o ? o : {}),
  11235. (a._type = t),
  11236. (a.x = "undefined" === typeof a.x || null == a.x || isNaN(Number(a.x)) ? 1 : a.x),
  11237. (a.y = "undefined" === typeof a.y || null == a.y || isNaN(Number(a.y)) ? 1 : a.y),
  11238. (a.w = a.w || "50%"),
  11239. (a.h = a.h || "50%"),
  11240. (a.objectName = a.objectName
  11241. ? ne(a.objectName)
  11242. : "Chart ".concat(
  11243. e._slideObjects.filter(function (e) {
  11244. return e._type === Y.chart
  11245. }).length
  11246. )),
  11247. ["bar", "col"].indexOf(a.barDir || "") < 0 && (a.barDir = "col"),
  11248. a._type === V.AREA && ["stacked", "standard", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "standard"),
  11249. a._type === V.BAR && ["clustered", "stacked", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "clustered"),
  11250. a._type === V.BAR3D &&
  11251. ["clustered", "stacked", "standard", "percentStacked"].indexOf(a.barGrouping || "") < 0 &&
  11252. (a.barGrouping = "standard"),
  11253. a.barGrouping && a.barGrouping.indexOf("tacked") > -1 && (a.barGapWidthPct || (a.barGapWidthPct = 50)),
  11254. a.dataLabelPosition &&
  11255. ((a._type !== V.AREA && a._type !== V.BAR3D && a._type !== V.DOUGHNUT && a._type !== V.RADAR) || delete a.dataLabelPosition,
  11256. a._type === V.PIE && ["bestFit", "ctr", "inEnd", "outEnd"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition,
  11257. (a._type !== V.BUBBLE && a._type !== V.BUBBLE3D && a._type !== V.LINE && a._type !== V.SCATTER) ||
  11258. (["b", "ctr", "l", "r", "t"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition),
  11259. a._type === V.BAR &&
  11260. (["stacked", "percentStacked"].indexOf(a.barGrouping || "") < 0 &&
  11261. ["ctr", "inBase", "inEnd"].indexOf(a.dataLabelPosition) < 0 &&
  11262. delete a.dataLabelPosition,
  11263. ["clustered"].indexOf(a.barGrouping || "") < 0 &&
  11264. ["ctr", "inBase", "inEnd", "outEnd"].indexOf(a.dataLabelPosition) < 0 &&
  11265. delete a.dataLabelPosition)),
  11266. (a.dataLabelBkgrdColors = (!0 === a.dataLabelBkgrdColors || !1 === a.dataLabelBkgrdColors) && a.dataLabelBkgrdColors),
  11267. ["b", "l", "r", "t", "tr"].indexOf(a.legendPos || "") < 0 && (a.legendPos = "r"),
  11268. ["cone", "coneToMax", "box", "cylinder", "pyramid", "pyramidToMax"].indexOf(a.bar3DShape || "") < 0 && (a.bar3DShape = "box"),
  11269. ["circle", "dash", "diamond", "dot", "none", "square", "triangle"].indexOf(a.lineDataSymbol || "") < 0 &&
  11270. (a.lineDataSymbol = "circle"),
  11271. ["gap", "span"].indexOf(a.displayBlanksAs || "") < 0 && (a.displayBlanksAs = "span"),
  11272. ["standard", "marker", "filled"].indexOf(a.radarStyle || "") < 0 && (a.radarStyle = "standard"),
  11273. (a.lineDataSymbolSize = a.lineDataSymbolSize && !isNaN(a.lineDataSymbolSize) ? a.lineDataSymbolSize : 6),
  11274. (a.lineDataSymbolLineSize = a.lineDataSymbolLineSize && !isNaN(a.lineDataSymbolLineSize) ? oe(a.lineDataSymbolLineSize) : oe(0.75)),
  11275. a.layout &&
  11276. ["x", "y", "w", "h"].forEach(function (e) {
  11277. var t = a.layout[e]
  11278. ;(isNaN(Number(t)) || t < 0 || t > 1) && (console.warn("Warning: chart.layout." + e + " can only be 0-1"), delete a.layout[e])
  11279. }),
  11280. (a.catGridLine =
  11281. a.catGridLine ||
  11282. (a._type === V.SCATTER
  11283. ? {
  11284. color: "D9D9D9",
  11285. size: 1
  11286. }
  11287. : {
  11288. style: "none"
  11289. })),
  11290. (a.valGridLine =
  11291. a.valGridLine ||
  11292. (a._type === V.SCATTER
  11293. ? {
  11294. color: "D9D9D9",
  11295. size: 1
  11296. }
  11297. : {})),
  11298. (a.serGridLine =
  11299. a.serGridLine ||
  11300. (a._type === V.SCATTER
  11301. ? {
  11302. color: "D9D9D9",
  11303. size: 1
  11304. }
  11305. : {
  11306. style: "none"
  11307. })),
  11308. i(a.catGridLine),
  11309. i(a.valGridLine),
  11310. i(a.serGridLine),
  11311. Xe(a.shadow),
  11312. (a.showDataTable = (!0 === a.showDataTable || !1 === a.showDataTable) && a.showDataTable),
  11313. (a.showDataTableHorzBorder = (!0 !== a.showDataTableHorzBorder && !1 !== a.showDataTableHorzBorder) || a.showDataTableHorzBorder),
  11314. (a.showDataTableVertBorder = (!0 !== a.showDataTableVertBorder && !1 !== a.showDataTableVertBorder) || a.showDataTableVertBorder),
  11315. (a.showDataTableOutline = (!0 !== a.showDataTableOutline && !1 !== a.showDataTableOutline) || a.showDataTableOutline),
  11316. (a.showDataTableKeys = (!0 !== a.showDataTableKeys && !1 !== a.showDataTableKeys) || a.showDataTableKeys),
  11317. (a.showLabel = (!0 === a.showLabel || !1 === a.showLabel) && a.showLabel),
  11318. (a.showLegend = (!0 === a.showLegend || !1 === a.showLegend) && a.showLegend),
  11319. (a.showPercent = (!0 !== a.showPercent && !1 !== a.showPercent) || a.showPercent),
  11320. (a.showTitle = (!0 === a.showTitle || !1 === a.showTitle) && a.showTitle),
  11321. (a.showValue = (!0 === a.showValue || !1 === a.showValue) && a.showValue),
  11322. (a.showLeaderLines = (!0 === a.showLeaderLines || !1 === a.showLeaderLines) && a.showLeaderLines),
  11323. (a.catAxisLineShow = "undefined" === typeof a.catAxisLineShow || a.catAxisLineShow),
  11324. (a.valAxisLineShow = "undefined" === typeof a.valAxisLineShow || a.valAxisLineShow),
  11325. (a.serAxisLineShow = "undefined" === typeof a.serAxisLineShow || a.serAxisLineShow),
  11326. (a.v3DRotX = !isNaN(a.v3DRotX) && a.v3DRotX >= -90 && a.v3DRotX <= 90 ? a.v3DRotX : 30),
  11327. (a.v3DRotY = !isNaN(a.v3DRotY) && a.v3DRotY >= 0 && a.v3DRotY <= 360 ? a.v3DRotY : 30),
  11328. (a.v3DRAngAx = (!0 !== a.v3DRAngAx && !1 !== a.v3DRAngAx) || a.v3DRAngAx),
  11329. (a.v3DPerspective = !isNaN(a.v3DPerspective) && a.v3DPerspective >= 0 && a.v3DPerspective <= 240 ? a.v3DPerspective : 30),
  11330. (a.barGapWidthPct = !isNaN(a.barGapWidthPct) && a.barGapWidthPct >= 0 && a.barGapWidthPct <= 1e3 ? a.barGapWidthPct : 150),
  11331. (a.barGapDepthPct = !isNaN(a.barGapDepthPct) && a.barGapDepthPct >= 0 && a.barGapDepthPct <= 1e3 ? a.barGapDepthPct : 150),
  11332. (a.chartColors = Array.isArray(a.chartColors) ? a.chartColors : a._type === V.PIE || a._type === V.DOUGHNUT ? D : M),
  11333. (a.chartColorsOpacity = a.chartColorsOpacity && !isNaN(a.chartColorsOpacity) ? a.chartColorsOpacity : null),
  11334. (a.border = a.border && "object" === typeof a.border ? a.border : null),
  11335. !a.border || (a.border.pt && !isNaN(a.border.pt)) || (a.border.pt = v.pt),
  11336. !a.border || (a.border.color && "string" === typeof a.border.color) || (a.border.color = v.color),
  11337. (a.plotArea = a.plotArea || {}),
  11338. (a.plotArea.border = a.plotArea.border && "object" === typeof a.plotArea.border ? a.plotArea.border : null),
  11339. !a.plotArea.border || (a.plotArea.border.pt && !isNaN(a.plotArea.border.pt)) || (a.plotArea.border.pt = v.pt),
  11340. !a.plotArea.border || (a.plotArea.border.color && "string" === typeof a.plotArea.border.color) || (a.plotArea.border.color = v.color),
  11341. a.border && (a.plotArea.border = a.border),
  11342. (a.plotArea.fill = a.plotArea.fill || {
  11343. color: null,
  11344. transparency: null
  11345. }),
  11346. a.fill && (a.plotArea.fill.color = a.fill),
  11347. (a.chartArea = a.chartArea || {}),
  11348. (a.chartArea.border = a.chartArea.border && "object" === typeof a.chartArea.border ? a.chartArea.border : null),
  11349. a.chartArea.border &&
  11350. (a.chartArea.border = {
  11351. color: a.chartArea.border.color || v.color,
  11352. pt: a.chartArea.border.pt || v.pt
  11353. }),
  11354. (a.chartArea.roundedCorners = "boolean" !== typeof a.chartArea.roundedCorners || a.chartArea.roundedCorners),
  11355. (a.dataBorder = a.dataBorder && "object" === typeof a.dataBorder ? a.dataBorder : null),
  11356. !a.dataBorder || (a.dataBorder.pt && !isNaN(a.dataBorder.pt)) || (a.dataBorder.pt = 0.75),
  11357. !a.dataBorder ||
  11358. (a.dataBorder.color && "string" === typeof a.dataBorder.color && 6 === a.dataBorder.color.length) ||
  11359. (a.dataBorder.color = "F9F9F9"),
  11360. a.dataLabelFormatCode || a._type !== V.SCATTER || (a.dataLabelFormatCode = "General"),
  11361. a.dataLabelFormatCode || (a._type !== V.PIE && a._type !== V.DOUGHNUT) || (a.dataLabelFormatCode = a.showPercent ? "0%" : "General"),
  11362. (a.dataLabelFormatCode = a.dataLabelFormatCode && "string" === typeof a.dataLabelFormatCode ? a.dataLabelFormatCode : "#,##0"),
  11363. a.dataLabelFormatScatter || a._type !== V.SCATTER || (a.dataLabelFormatScatter = "custom"),
  11364. (a.lineSize = "number" === typeof a.lineSize ? a.lineSize : 2),
  11365. (a.valAxisMajorUnit = "number" === typeof a.valAxisMajorUnit ? a.valAxisMajorUnit : null),
  11366. a._type === V.AREA || a._type === V.BAR || a._type === V.BAR3D || a._type === V.LINE
  11367. ? (a.catAxisMultiLevelLabels = !!a.catAxisMultiLevelLabels)
  11368. : delete a.catAxisMultiLevelLabels,
  11369. (l._type = "chart"),
  11370. (l.options = a),
  11371. (l.chartRid = pe(e)),
  11372. e._relsChart.push({
  11373. rId: pe(e),
  11374. data: c,
  11375. opts: a,
  11376. type: a._type,
  11377. globalId: s,
  11378. fileName: "chart" + s + ".xml",
  11379. Target: "/ppt/charts/chart" + s + ".xml"
  11380. }),
  11381. e._slideObjects.push(l),
  11382. l
  11383. )
  11384. }
  11385. function Qe(e, t) {
  11386. var r = {
  11387. _type: null,
  11388. text: null,
  11389. options: null,
  11390. image: null,
  11391. imageRid: null,
  11392. hyperlink: null
  11393. },
  11394. n = t.x || 0,
  11395. i = t.y || 0,
  11396. o = t.w || 0,
  11397. a = t.h || 0,
  11398. s = t.sizing || null,
  11399. l = t.hyperlink || "",
  11400. c = t.data || "",
  11401. u = t.path || "",
  11402. f = pe(e),
  11403. p = t.objectName
  11404. ? ne(t.objectName)
  11405. : "Image ".concat(
  11406. e._slideObjects.filter(function (e) {
  11407. return e._type === Y.image
  11408. }).length
  11409. )
  11410. if (!u && !c) return console.error("ERROR: addImage() requires either 'data' or 'path' parameter!"), null
  11411. if (u && "string" !== typeof u)
  11412. return console.error("ERROR: addImage() 'path' should be a string, ex: {path:'/img/sample.png'} - you sent ".concat(u)), null
  11413. if (c && "string" !== typeof c)
  11414. return console.error("ERROR: addImage() 'data' should be a string, ex: {data:'image/png;base64,NMP[...]'} - you sent ".concat(c)), null
  11415. if (c && "string" === typeof c && -1 === c.toLowerCase().indexOf("base64,"))
  11416. return console.error("ERROR: Image `data` value lacks a base64 header! Ex: 'image/png;base64,NMP[...]')"), null
  11417. var d = (
  11418. u
  11419. .substring(u.lastIndexOf("/") + 1)
  11420. .split("?")[0]
  11421. .split(".")
  11422. .pop()
  11423. .split("#")[0] || "png"
  11424. ).toLowerCase()
  11425. if (
  11426. (c && /image\/(\w+);/.exec(c) && /image\/(\w+);/.exec(c).length > 0
  11427. ? (d = /image\/(\w+);/.exec(c)[1])
  11428. : c && c.toLowerCase().indexOf("image/svg+xml") > -1 && (d = "svg"),
  11429. (r._type = Y.image),
  11430. (r.image = u || "preencoded.png"),
  11431. (r.options = {
  11432. x: n || 0,
  11433. y: i || 0,
  11434. w: o || 1,
  11435. h: a || 1,
  11436. altText: t.altText || "",
  11437. rounding: "boolean" === typeof t.rounding && t.rounding,
  11438. sizing: s,
  11439. placeholder: t.placeholder,
  11440. rotate: t.rotate || 0,
  11441. flipV: t.flipV || !1,
  11442. flipH: t.flipH || !1,
  11443. transparency: t.transparency || 0,
  11444. objectName: p
  11445. }),
  11446. "svg" === d)
  11447. )
  11448. e._relsMedia.push({
  11449. path: u || c + "png",
  11450. type: "image/png",
  11451. extn: "png",
  11452. data: c || "",
  11453. rId: f,
  11454. Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + ".png",
  11455. isSvgPng: !0,
  11456. svgSize: {
  11457. w: ee(r.options.w, "X", e._presLayout),
  11458. h: ee(r.options.h, "Y", e._presLayout)
  11459. }
  11460. }),
  11461. (r.imageRid = f),
  11462. e._relsMedia.push({
  11463. path: u || c,
  11464. type: "image/svg+xml",
  11465. extn: d,
  11466. data: c || "",
  11467. rId: f + 1,
  11468. Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + "." + d
  11469. }),
  11470. (r.imageRid = f + 1)
  11471. else {
  11472. var h = e._relsMedia.filter(function (e) {
  11473. return e.path && e.path === u && e.type === "image/" + d && !1 === e.isDuplicate
  11474. })[0]
  11475. e._relsMedia.push({
  11476. path: u || "preencoded." + d,
  11477. type: "image/" + d,
  11478. extn: d,
  11479. data: c || "",
  11480. rId: f,
  11481. isDuplicate: !(!h || !h.Target),
  11482. Target:
  11483. h && h.Target
  11484. ? h.Target
  11485. : "../media/image-"
  11486. .concat(e._slideNum, "-")
  11487. .concat(e._relsMedia.length + 1, ".")
  11488. .concat(d)
  11489. }),
  11490. (r.imageRid = f)
  11491. }
  11492. if ("object" === typeof l) {
  11493. if (!l.url && !l.slide) throw new Error("ERROR: `hyperlink` option requires either: `url` or `slide`")
  11494. f++,
  11495. e._rels.push({
  11496. type: Y.hyperlink,
  11497. data: l.slide ? "slide" : "dummy",
  11498. rId: f,
  11499. Target: l.url || l.slide.toString()
  11500. }),
  11501. (l._rId = f),
  11502. (r.hyperlink = l)
  11503. }
  11504. e._slideObjects.push(r)
  11505. }
  11506. function Je(e, t) {
  11507. var r = t.x || 0,
  11508. n = t.y || 0,
  11509. i = t.w || 2,
  11510. o = t.h || 2,
  11511. a = t.data || "",
  11512. s = t.link || "",
  11513. l = t.path || "",
  11514. c = t.type || "audio",
  11515. u = "",
  11516. f = t.cover || $,
  11517. p = t.objectName
  11518. ? ne(t.objectName)
  11519. : "Media ".concat(
  11520. e._slideObjects.filter(function (e) {
  11521. return e._type === Y.media
  11522. }).length
  11523. ),
  11524. d = {
  11525. _type: Y.media
  11526. }
  11527. if (!l && !a && "online" !== c) throw new Error("addMedia() error: either 'data' or 'path' are required!")
  11528. if (a && -1 === a.toLowerCase().indexOf("base64,"))
  11529. throw new Error("addMedia() error: `data` value lacks a base64 header! Ex: 'video/mpeg;base64,NMP[...]')")
  11530. if ("online" === c && !s) throw new Error("addMedia() error: online videos require `link` value")
  11531. if (
  11532. ((u = t.extn || (a ? a.split(";")[0].split("/")[1] : l.split(".").pop()) || "mp3"),
  11533. (d.mtype = c),
  11534. (d.media = l || "preencoded.mov"),
  11535. (d.options = {}),
  11536. (d.options.x = r),
  11537. (d.options.y = n),
  11538. (d.options.w = i),
  11539. (d.options.h = o),
  11540. (d.options.objectName = p),
  11541. "online" === c)
  11542. ) {
  11543. var h = pe(e)
  11544. e._relsMedia.push({
  11545. path: l || "preencoded" + u,
  11546. data: "dummy",
  11547. type: "online",
  11548. extn: u,
  11549. rId: h,
  11550. Target: s
  11551. }),
  11552. (d.mediaRid = h),
  11553. e._relsMedia.push({
  11554. path: "preencoded.png",
  11555. data: f,
  11556. type: "image/png",
  11557. extn: "png",
  11558. rId: pe(e),
  11559. Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + ".png"
  11560. })
  11561. } else {
  11562. var m = e._relsMedia.filter(function (e) {
  11563. return e.path && e.path === l && e.type === c + "/" + u && !1 === e.isDuplicate
  11564. })[0]
  11565. h = pe(e)
  11566. e._relsMedia.push({
  11567. path: l || "preencoded" + u,
  11568. type: c + "/" + u,
  11569. extn: u,
  11570. data: a || "",
  11571. rId: h,
  11572. isDuplicate: !(!m || !m.Target),
  11573. Target:
  11574. m && m.Target
  11575. ? m.Target
  11576. : "../media/media-"
  11577. .concat(e._slideNum, "-")
  11578. .concat(e._relsMedia.length + 1, ".")
  11579. .concat(u)
  11580. }),
  11581. (d.mediaRid = h),
  11582. e._relsMedia.push({
  11583. path: l || "preencoded" + u,
  11584. type: c + "/" + u,
  11585. extn: u,
  11586. data: a || "",
  11587. rId: pe(e),
  11588. isDuplicate: !(!m || !m.Target),
  11589. Target:
  11590. m && m.Target
  11591. ? m.Target
  11592. : "../media/media-"
  11593. .concat(e._slideNum, "-")
  11594. .concat(e._relsMedia.length + 0, ".")
  11595. .concat(u)
  11596. }),
  11597. e._relsMedia.push({
  11598. path: "preencoded.png",
  11599. type: "image/png",
  11600. extn: "png",
  11601. data: f,
  11602. rId: pe(e),
  11603. Target: "../media/image-".concat(e._slideNum, "-").concat(e._relsMedia.length + 1, ".png")
  11604. })
  11605. }
  11606. e._slideObjects.push(d)
  11607. }
  11608. function $e(e, t) {
  11609. e._slideObjects.push({
  11610. _type: Y.notes,
  11611. text: [
  11612. {
  11613. text: t
  11614. }
  11615. ]
  11616. })
  11617. }
  11618. function et(e, t, r) {
  11619. var n = "object" === typeof r ? r : {}
  11620. n.line = n.line || {
  11621. type: "none"
  11622. }
  11623. var i = {
  11624. _type: Y.text,
  11625. shape: t || W.RECTANGLE,
  11626. options: n,
  11627. text: null
  11628. }
  11629. if (!t) throw new Error("Missing/Invalid shape parameter! Example: `addShape(pptxgen.shapes.LINE, {x:1, y:1, w:1, h:1});`")
  11630. var o = {
  11631. type: n.line.type || "solid",
  11632. color: n.line.color || E,
  11633. transparency: n.line.transparency || 0,
  11634. width: n.line.width || 1,
  11635. dashType: n.line.dashType || "solid",
  11636. beginArrowType: n.line.beginArrowType || null,
  11637. endArrowType: n.line.endArrowType || null
  11638. }
  11639. if (
  11640. ("object" === typeof n.line && "none" !== n.line.type && (n.line = o),
  11641. (n.x = n.x || (0 === n.x ? 0 : 1)),
  11642. (n.y = n.y || (0 === n.y ? 0 : 1)),
  11643. (n.w = n.w || (0 === n.w ? 0 : 1)),
  11644. (n.h = n.h || (0 === n.h ? 0 : 1)),
  11645. (n.objectName = n.objectName
  11646. ? ne(n.objectName)
  11647. : "Shape ".concat(
  11648. e._slideObjects.filter(function (e) {
  11649. return e._type === Y.text
  11650. }).length
  11651. )),
  11652. "string" === typeof n.line)
  11653. ) {
  11654. var a = o
  11655. ;(a.color = n.line + ""), (n.line = a)
  11656. }
  11657. "number" === typeof n.lineSize && (n.line.width = n.lineSize),
  11658. "string" === typeof n.lineDash && (n.line.dashType = n.lineDash),
  11659. "string" === typeof n.lineHead && (n.line.beginArrowType = n.lineHead),
  11660. "string" === typeof n.lineTail && (n.line.endArrowType = n.lineTail),
  11661. ot(e, i),
  11662. e._slideObjects.push(i)
  11663. }
  11664. function tt(e, t, r, n, i, o, a) {
  11665. var s = [e],
  11666. l = r && "object" === typeof r ? r : {}
  11667. if (
  11668. ((l.objectName = l.objectName
  11669. ? ne(l.objectName)
  11670. : "Table ".concat(
  11671. e._slideObjects.filter(function (e) {
  11672. return e._type === Y.table
  11673. }).length
  11674. )),
  11675. null === t || 0 === t.length || !Array.isArray(t))
  11676. )
  11677. throw new Error(
  11678. "addTable: Array expected! EX: 'slide.addTable( [rows], {options} );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)"
  11679. )
  11680. if (!t[0] || !Array.isArray(t[0]))
  11681. throw new Error(
  11682. "addTable: 'rows' should be an array of cells! EX: 'slide.addTable( [ ['A'], ['B'], {text:'C',options:{align:'center'}} ] );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)"
  11683. )
  11684. var u = []
  11685. t.forEach(function (e) {
  11686. var t = []
  11687. Array.isArray(e)
  11688. ? e.forEach(function (e) {
  11689. var r = {
  11690. _type: Y.tablecell,
  11691. text: "",
  11692. options: "object" === typeof e && e.options ? e.options : {}
  11693. }
  11694. "string" === typeof e || "number" === typeof e
  11695. ? (r.text = e.toString())
  11696. : e.text &&
  11697. ("string" === typeof e.text || "number" === typeof e.text ? (r.text = e.text.toString()) : e.text && (r.text = e.text),
  11698. e.options && "object" === typeof e.options && (r.options = e.options)),
  11699. (r.options.border = r.options.border ||
  11700. l.border || [
  11701. {
  11702. type: "none"
  11703. },
  11704. {
  11705. type: "none"
  11706. },
  11707. {
  11708. type: "none"
  11709. },
  11710. {
  11711. type: "none"
  11712. }
  11713. ])
  11714. var n = r.options.border
  11715. Array.isArray(n) || "object" !== typeof n || (r.options.border = [n, n, n, n]),
  11716. r.options.border[0] ||
  11717. (r.options.border[0] = {
  11718. type: "none"
  11719. }),
  11720. r.options.border[1] ||
  11721. (r.options.border[1] = {
  11722. type: "none"
  11723. }),
  11724. r.options.border[2] ||
  11725. (r.options.border[2] = {
  11726. type: "none"
  11727. }),
  11728. r.options.border[3] ||
  11729. (r.options.border[3] = {
  11730. type: "none"
  11731. })
  11732. var i = [0, 1, 2, 3]
  11733. i.forEach(function (e) {
  11734. r.options.border[e] = {
  11735. type: r.options.border[e].type || g.type,
  11736. color: r.options.border[e].color || g.color,
  11737. pt: "number" === typeof r.options.border[e].pt ? r.options.border[e].pt : g.pt
  11738. }
  11739. }),
  11740. t.push(r)
  11741. })
  11742. : (console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"), console.log(e)),
  11743. u.push(t)
  11744. }),
  11745. (l.x = ee(l.x || (0 === l.x ? 0 : c / 2), "X", i)),
  11746. (l.y = ee(l.y || (0 === l.y ? 0 : c / 2), "Y", i)),
  11747. l.h && (l.h = ee(l.h, "Y", i)),
  11748. (l.fontSize = l.fontSize || x),
  11749. (l.margin = 0 === l.margin || l.margin ? l.margin : y),
  11750. "number" === typeof l.margin && (l.margin = [Number(l.margin), Number(l.margin), Number(l.margin), Number(l.margin)]),
  11751. l.color || (l.color = l.color || w),
  11752. "string" === typeof l.border
  11753. ? (console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"), (l.border = null))
  11754. : Array.isArray(l.border) &&
  11755. [0, 1, 2, 3].forEach(function (e) {
  11756. l.border[e] = l.border[e]
  11757. ? {
  11758. type: l.border[e].type || g.type,
  11759. color: l.border[e].color || g.color,
  11760. pt: l.border[e].pt || g.pt
  11761. }
  11762. : {
  11763. type: "none"
  11764. }
  11765. }),
  11766. (l.autoPage = "boolean" === typeof l.autoPage && l.autoPage),
  11767. (l.autoPageRepeatHeader = "boolean" === typeof l.autoPageRepeatHeader && l.autoPageRepeatHeader),
  11768. (l.autoPageHeaderRows =
  11769. "undefined" === typeof l.autoPageHeaderRows || isNaN(Number(l.autoPageHeaderRows)) ? 1 : Number(l.autoPageHeaderRows)),
  11770. (l.autoPageLineWeight =
  11771. "undefined" === typeof l.autoPageLineWeight || isNaN(Number(l.autoPageLineWeight)) ? 0 : Number(l.autoPageLineWeight)),
  11772. l.autoPageLineWeight &&
  11773. (l.autoPageLineWeight > 1 ? (l.autoPageLineWeight = 1) : l.autoPageLineWeight < -1 && (l.autoPageLineWeight = -1))
  11774. var f = C
  11775. if (
  11776. (n &&
  11777. "undefined" !== typeof n._margin &&
  11778. (Array.isArray(n._margin)
  11779. ? (f = n._margin)
  11780. : isNaN(Number(n._margin)) || (f = [Number(n._margin), Number(n._margin), Number(n._margin), Number(n._margin)])),
  11781. l.colW)
  11782. ) {
  11783. var p = u[0].reduce(function (e, t) {
  11784. return t && t.options && t.options.colspan && "number" === typeof t.options.colspan ? (e += t.options.colspan) : (e += 1), e
  11785. }, 0)
  11786. "string" === typeof l.colW || "number" === typeof l.colW || (l.colW && Array.isArray(l.colW) && 1 === l.colW.length && p > 1)
  11787. ? ((l.w = Math.floor(Number(l.colW) * p)), (l.colW = null))
  11788. : l.colW &&
  11789. Array.isArray(l.colW) &&
  11790. l.colW.length !== p &&
  11791. (console.warn("addTable: mismatch: (colW.length != data.length) Therefore, defaulting to evenly distributed col widths."),
  11792. (l.colW = null))
  11793. } else l.w ? (l.w = ee(l.w, "X", i)) : (l.w = Math.floor(i._sizeW / c - f[1] - f[3]))
  11794. l.x && l.x < 20 && (l.x = ie(l.x)),
  11795. l.y && l.y < 20 && (l.y = ie(l.y)),
  11796. l.w && l.w < 20 && (l.w = ie(l.w)),
  11797. l.h && l.h < 20 && (l.h = ie(l.h)),
  11798. u.forEach(function (e) {
  11799. e.forEach(function (t, r) {
  11800. "number" === typeof t || "string" === typeof t
  11801. ? (e[r] = {
  11802. _type: Y.tablecell,
  11803. text: e[r].toString(),
  11804. options: l
  11805. })
  11806. : "object" === typeof t &&
  11807. ("number" === typeof t.text
  11808. ? (e[r].text = e[r].text.toString())
  11809. : ("undefined" !== typeof t.text && null !== t.text) || (e[r].text = ""),
  11810. (e[r].options = t.options || {}),
  11811. (e[r]._type = Y.tablecell))
  11812. })
  11813. }),
  11814. l && !1 === l.autoPage
  11815. ? (ot(e, u),
  11816. e._slideObjects.push({
  11817. _type: Y.table,
  11818. arrTabRows: u,
  11819. options: Object.assign({}, l)
  11820. }))
  11821. : (l.autoPageRepeatHeader &&
  11822. (l._arrObjTabHeadRows = u.filter(function (e, t) {
  11823. return t < l.autoPageHeaderRows
  11824. })),
  11825. he(u, l, i, n).forEach(function (t, r) {
  11826. a(e._slideNum + r) || s.push(o(n ? n._name : null)), r > 0 && (l.y = ie(l.autoPageSlideStartY || l.newSlideStartY || f[0]))
  11827. var i = a(e._slideNum + r)
  11828. ;(l.autoPage = !1), ot(i, t.rows), i.addTable(t.rows, Object.assign({}, l))
  11829. }))
  11830. }
  11831. function rt(e, t, r, n) {
  11832. var i = {
  11833. _type: n ? Y.placeholder : Y.text,
  11834. shape: (r && r.shape) || W.RECTANGLE,
  11835. text:
  11836. t && 0 !== t.length
  11837. ? t
  11838. : [
  11839. {
  11840. text: "",
  11841. options: null
  11842. }
  11843. ],
  11844. options: r || {}
  11845. }
  11846. function a(t) {
  11847. if (
  11848. (t.placeholder || (t.color = t.color || i.options.color || e.color || w),
  11849. (t.placeholder || n) && (t.bullet = t.bullet || !1),
  11850. t.placeholder && e._slideLayout && e._slideLayout._slideObjects)
  11851. ) {
  11852. var r = e._slideLayout._slideObjects.filter(function (e) {
  11853. return "placeholder" === e._type && e.options && e.options.placeholder && e.options.placeholder === t.placeholder
  11854. })[0]
  11855. r && r.options && (t = o(o({}, t), r.options))
  11856. }
  11857. if (
  11858. ((t.objectName = t.objectName
  11859. ? ne(t.objectName)
  11860. : "Text ".concat(
  11861. e._slideObjects.filter(function (e) {
  11862. return e._type === Y.text
  11863. }).length
  11864. )),
  11865. t.shape === W.LINE)
  11866. ) {
  11867. var a = {
  11868. type: t.line.type || "solid",
  11869. color: t.line.color || E,
  11870. transparency: t.line.transparency || 0,
  11871. width: t.line.width || 1,
  11872. dashType: t.line.dashType || "solid",
  11873. beginArrowType: t.line.beginArrowType || null,
  11874. endArrowType: t.line.endArrowType || null
  11875. }
  11876. if (("object" === typeof t.line && (t.line = a), "string" === typeof t.line)) {
  11877. var c = a
  11878. "string" === typeof t.line && (c.color = t.line), (t.line = c)
  11879. }
  11880. "number" === typeof t.lineSize && (t.line.width = t.lineSize),
  11881. "string" === typeof t.lineDash && (t.line.dashType = t.lineDash),
  11882. "string" === typeof t.lineHead && (t.line.beginArrowType = t.lineHead),
  11883. "string" === typeof t.lineTail && (t.line.endArrowType = t.lineTail)
  11884. }
  11885. return (
  11886. (t.line = t.line || {}),
  11887. (t.lineSpacing = t.lineSpacing && !isNaN(t.lineSpacing) ? t.lineSpacing : null),
  11888. (t.lineSpacingMultiple = t.lineSpacingMultiple && !isNaN(t.lineSpacingMultiple) ? t.lineSpacingMultiple : null),
  11889. (t._bodyProp = t._bodyProp || {}),
  11890. (t._bodyProp.autoFit = t.autoFit || !1),
  11891. (t._bodyProp.anchor = t.placeholder ? null : l.ctr),
  11892. (t._bodyProp.vert = t.vert || null),
  11893. (t._bodyProp.wrap = "boolean" !== typeof t.wrap || t.wrap),
  11894. ((t.inset && !isNaN(Number(t.inset))) || 0 === t.inset) &&
  11895. ((t._bodyProp.lIns = ie(t.inset)),
  11896. (t._bodyProp.rIns = ie(t.inset)),
  11897. (t._bodyProp.tIns = ie(t.inset)),
  11898. (t._bodyProp.bIns = ie(t.inset))),
  11899. "boolean" === typeof t.underline &&
  11900. !0 === t.underline &&
  11901. (t.underline = {
  11902. style: "sng"
  11903. }),
  11904. 0 === (t.align || "").toLowerCase().indexOf("c")
  11905. ? (t._bodyProp.align = s.center)
  11906. : 0 === (t.align || "").toLowerCase().indexOf("l")
  11907. ? (t._bodyProp.align = s.left)
  11908. : 0 === (t.align || "").toLowerCase().indexOf("r")
  11909. ? (t._bodyProp.align = s.right)
  11910. : 0 === (t.align || "").toLowerCase().indexOf("j") && (t._bodyProp.align = s.justify),
  11911. 0 === (t.valign || "").toLowerCase().indexOf("b")
  11912. ? (t._bodyProp.anchor = l.b)
  11913. : 0 === (t.valign || "").toLowerCase().indexOf("m")
  11914. ? (t._bodyProp.anchor = l.ctr)
  11915. : 0 === (t.valign || "").toLowerCase().indexOf("t") && (t._bodyProp.anchor = l.t),
  11916. Xe(t.shadow),
  11917. t
  11918. )
  11919. }
  11920. ;(i.options = a(i.options)),
  11921. i.text.forEach(function (e) {
  11922. return (e.options = a(e.options || {}))
  11923. }),
  11924. ot(e, i.text || ""),
  11925. e._slideObjects.push(i)
  11926. }
  11927. function nt(e) {
  11928. ;(e._slideLayout._slideObjects || []).forEach(function (t) {
  11929. t._type === Y.placeholder &&
  11930. 0 ===
  11931. e._slideObjects.filter(function (e) {
  11932. return e.options && e.options.placeholder === t.options.placeholder
  11933. }).length &&
  11934. rt(
  11935. e,
  11936. [
  11937. {
  11938. text: ""
  11939. }
  11940. ],
  11941. t.options,
  11942. !1
  11943. )
  11944. })
  11945. }
  11946. function it(e, t) {
  11947. if (
  11948. (t.bkgd &&
  11949. (t.background || (t.background = {}),
  11950. "string" === typeof t.bkgd
  11951. ? (t.background.color = t.bkgd)
  11952. : (t.bkgd.data && (t.background.data = t.bkgd.data),
  11953. t.bkgd.path && (t.background.path = t.bkgd.path),
  11954. t.bkgd["src"] && (t.background.path = t.bkgd["src"]))),
  11955. t.background && t.background.fill && (t.background.color = t.background.fill),
  11956. e && (e.path || e.data))
  11957. ) {
  11958. e.path = e.path || "preencoded.png"
  11959. var r = (e.path.split(".").pop() || "png").split("?")[0]
  11960. "jpg" === r && (r = "jpeg"), (t._relsMedia = t._relsMedia || [])
  11961. var n = t._relsMedia.length + 1
  11962. t._relsMedia.push({
  11963. path: e.path,
  11964. type: Y.image,
  11965. extn: r,
  11966. data: e.data || null,
  11967. rId: n,
  11968. Target: "../media/"
  11969. .concat((t._name || "").replace(/\s+/gi, "-"), "-image-")
  11970. .concat(t._relsMedia.length + 1, ".")
  11971. .concat(r)
  11972. }),
  11973. (t._bkgdImgRid = n)
  11974. }
  11975. }
  11976. function ot(e, t) {
  11977. var r = []
  11978. "string" !== typeof t &&
  11979. "number" !== typeof t &&
  11980. (Array.isArray(t) ? (r = t) : "object" === typeof t && (r = [t]),
  11981. r.forEach(function (t) {
  11982. if (Array.isArray(t)) ot(e, t)
  11983. else if (Array.isArray(t.text)) ot(e, t.text)
  11984. else if (t && "object" === typeof t && t.options && t.options.hyperlink && !t.options.hyperlink._rId)
  11985. if ("object" !== typeof t.options.hyperlink)
  11986. console.log("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink: {url:'https://github.com'}` ")
  11987. else if (t.options.hyperlink.url || t.options.hyperlink.slide) {
  11988. var r = pe(e)
  11989. e._rels.push({
  11990. type: Y.hyperlink,
  11991. data: t.options.hyperlink.slide ? "slide" : "dummy",
  11992. rId: r,
  11993. Target: ne(t.options.hyperlink.url) || t.options.hyperlink.slide.toString()
  11994. }),
  11995. (t.options.hyperlink._rId = r)
  11996. } else console.log("ERROR: 'hyperlink requires either: `url` or `slide`'")
  11997. }))
  11998. }
  11999. var at = (function () {
  12000. function e(e) {
  12001. ;(this.addSlide = e.addSlide),
  12002. (this.getSlide = e.getSlide),
  12003. (this._name = "Slide " + e.slideNumber),
  12004. (this._presLayout = e.presLayout),
  12005. (this._rId = e.slideRId),
  12006. (this._rels = []),
  12007. (this._relsChart = []),
  12008. (this._relsMedia = []),
  12009. (this._setSlideNum = e.setSlideNum),
  12010. (this._slideId = e.slideId),
  12011. (this._slideLayout = e.slideLayout || null),
  12012. (this._slideNum = e.slideNumber),
  12013. (this._slideObjects = []),
  12014. (this._slideNumberProps = this._slideLayout && this._slideLayout._slideNumberProps ? this._slideLayout._slideNumberProps : null)
  12015. }
  12016. return (
  12017. Object.defineProperty(e.prototype, "bkgd", {
  12018. get: function () {
  12019. return this._bkgd
  12020. },
  12021. set: function (e) {
  12022. ;(this._bkgd = e),
  12023. (this._background && this._background.color) ||
  12024. (this._background || (this._background = {}), "string" === typeof e && (this._background.color = e))
  12025. },
  12026. enumerable: !1,
  12027. configurable: !0
  12028. }),
  12029. Object.defineProperty(e.prototype, "background", {
  12030. get: function () {
  12031. return this._background
  12032. },
  12033. set: function (e) {
  12034. ;(this._background = e), e && it(e, this)
  12035. },
  12036. enumerable: !1,
  12037. configurable: !0
  12038. }),
  12039. Object.defineProperty(e.prototype, "color", {
  12040. get: function () {
  12041. return this._color
  12042. },
  12043. set: function (e) {
  12044. this._color = e
  12045. },
  12046. enumerable: !1,
  12047. configurable: !0
  12048. }),
  12049. Object.defineProperty(e.prototype, "hidden", {
  12050. get: function () {
  12051. return this._hidden
  12052. },
  12053. set: function (e) {
  12054. this._hidden = e
  12055. },
  12056. enumerable: !1,
  12057. configurable: !0
  12058. }),
  12059. Object.defineProperty(e.prototype, "slideNumber", {
  12060. get: function () {
  12061. return this._slideNumberProps
  12062. },
  12063. set: function (e) {
  12064. ;(this._slideNumberProps = e), this._setSlideNum(e)
  12065. },
  12066. enumerable: !1,
  12067. configurable: !0
  12068. }),
  12069. (e.prototype.addChart = function (e, t, r) {
  12070. var n = r || {}
  12071. return (n._type = e), Ze(this, e, t, r), this
  12072. }),
  12073. (e.prototype.addImage = function (e) {
  12074. return Qe(this, e), this
  12075. }),
  12076. (e.prototype.addMedia = function (e) {
  12077. return Je(this, e), this
  12078. }),
  12079. (e.prototype.addNotes = function (e) {
  12080. return $e(this, e), this
  12081. }),
  12082. (e.prototype.addShape = function (e, t) {
  12083. return et(this, e, t), this
  12084. }),
  12085. (e.prototype.addTable = function (e, t) {
  12086. return tt(this, e, t, this._slideLayout, this._presLayout, this.addSlide, this.getSlide), this
  12087. }),
  12088. (e.prototype.addText = function (e, t) {
  12089. var r =
  12090. "string" === typeof e || "number" === typeof e
  12091. ? [
  12092. {
  12093. text: e,
  12094. options: t
  12095. }
  12096. ]
  12097. : e
  12098. return rt(this, r, t, !1), this
  12099. }),
  12100. e
  12101. )
  12102. })()
  12103. function st(e, t) {
  12104. var r = e.data
  12105. return new Promise(function (n, o) {
  12106. var a = new i.a(),
  12107. s = 2 * (r.length - 1) + 1,
  12108. l = r[0] && r[0].labels && r[0].labels.length > 1
  12109. a.folder("_rels"),
  12110. a.folder("docProps"),
  12111. a.folder("xl/_rels"),
  12112. a.folder("xl/tables"),
  12113. a.folder("xl/theme"),
  12114. a.folder("xl/worksheets"),
  12115. a.folder("xl/worksheets/_rels"),
  12116. a.file(
  12117. "[Content_Types].xml",
  12118. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> <Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/> <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/> <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/> <Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/> <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/> <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>\n'
  12119. ),
  12120. a.file(
  12121. "_rels/.rels",
  12122. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>\n'
  12123. ),
  12124. a.file(
  12125. "docProps/app.xml",
  12126. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>\n'
  12127. ),
  12128. a.file(
  12129. "docProps/core.xml",
  12130. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>PptxGenJS</dc:creator><cp:lastModifiedBy>PptxGenJS</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">' +
  12131. new Date().toISOString() +
  12132. '</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">' +
  12133. new Date().toISOString() +
  12134. "</dcterms:modified></cp:coreProperties>"
  12135. ),
  12136. a.file(
  12137. "xl/_rels/workbook.xml.rels",
  12138. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>'
  12139. ),
  12140. a.file(
  12141. "xl/styles.xml",
  12142. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><numFmts count="1"><numFmt numFmtId="0" formatCode="General"/></numFmts><fonts count="4"><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="10"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="18"/><color indexed="8"/><name val="Arial"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><dxfs count="0"/><tableStyles count="0"/><colors><indexedColors><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ffff0000"/><rgbColor rgb="ff00ff00"/><rgbColor rgb="ff0000ff"/><rgbColor rgb="ffffff00"/><rgbColor rgb="ffff00ff"/><rgbColor rgb="ff00ffff"/><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ff878787"/><rgbColor rgb="fff9f9f9"/></indexedColors></colors></styleSheet>\n'
  12143. ),
  12144. a.file(
  12145. "xl/theme/theme1.xml",
  12146. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri Light" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="Calibri" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>'
  12147. ),
  12148. a.file(
  12149. "xl/workbook.xml",
  12150. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><fileVersion appName="xl" lastEdited="7" lowestEdited="6" rupBuild="10507"/><workbookPr/><bookViews><workbookView xWindow="0" yWindow="500" windowWidth="20960" windowHeight="15960"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="0" concurrentCalc="0"/></workbook>\n'
  12151. ),
  12152. a.file(
  12153. "xl/worksheets/_rels/sheet1.xml.rels",
  12154. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" Target="../tables/table1.xml"/></Relationships>\n'
  12155. )
  12156. var c = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
  12157. if (e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D)
  12158. c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(s, '" uniqueCount="').concat(s, '">')
  12159. else if (e.opts._type === V.SCATTER)
  12160. c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'
  12161. .concat(r.length, '" uniqueCount="')
  12162. .concat(r.length, '">')
  12163. else if (l) {
  12164. var u = r.length
  12165. r[0].labels.forEach(function (e) {
  12166. return (u += e.filter(function (e) {
  12167. return e && "" !== e
  12168. }).length)
  12169. }),
  12170. (c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'
  12171. .concat(u, '" uniqueCount="')
  12172. .concat(u, '">')),
  12173. (c += "<si><t/></si>")
  12174. } else {
  12175. var f = r.length + r[0].labels.length * r[0].labels[0].length + r[0].labels.length,
  12176. p = r.length + r[0].labels.length * r[0].labels[0].length + 1
  12177. ;(c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'
  12178. .concat(f, '" uniqueCount="')
  12179. .concat(p, '">')),
  12180. (c += '<si><t xml:space="preserve"></t></si>')
  12181. }
  12182. e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D
  12183. ? r.forEach(function (e, t) {
  12184. 0 === t
  12185. ? (c += "<si><t>X-Axis</t></si>")
  12186. : ((c += "<si><t>".concat(ne(e.name || "Y-Axis" + t), "</t></si>")), (c += "<si><t>".concat(ne("Size" + t), "</t></si>")))
  12187. })
  12188. : r.forEach(function (e) {
  12189. c += "<si><t>".concat(ne((e.name || " ").replace("X-Axis", "X-Values")), "</t></si>")
  12190. }),
  12191. e.opts._type !== V.BUBBLE &&
  12192. e.opts._type !== V.BUBBLE3D &&
  12193. e.opts._type !== V.SCATTER &&
  12194. r[0].labels
  12195. .slice()
  12196. .reverse()
  12197. .forEach(function (e) {
  12198. e.filter(function (e) {
  12199. return e && "" !== e
  12200. }).forEach(function (e) {
  12201. c += "<si><t>".concat(ne(e), "</t></si>")
  12202. })
  12203. }),
  12204. (c += "</sst>\n"),
  12205. a.file("xl/sharedStrings.xml", c)
  12206. var d = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
  12207. if (e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D) {
  12208. ;(d += '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'
  12209. .concat(ht(s))
  12210. .concat(s, '" totalsRowShown="0">')),
  12211. (d += '<tableColumns count="'.concat(s, '">'))
  12212. var h = 1
  12213. r.forEach(function (e, t) {
  12214. 0 === t
  12215. ? (d += '<tableColumn id="'.concat(t + 1, '" name="X-Values"/>'))
  12216. : ((d += '<tableColumn id="'.concat(t + h, '" name="').concat(e.name, '"/>')),
  12217. h++,
  12218. (d += '<tableColumn id="'.concat(t + h, '" name="').concat("Size" + t, '"/>')))
  12219. })
  12220. } else
  12221. e.opts._type === V.SCATTER
  12222. ? ((d +=
  12223. '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:' +
  12224. ht(r.length) +
  12225. (r[0].values.length + 1) +
  12226. '" totalsRowShown="0">'),
  12227. (d += '<tableColumns count="' + r.length + '">'),
  12228. r.forEach(function (e, t) {
  12229. d += '<tableColumn id="' + (t + 1) + '" name="' + (0 === t ? "X-Values" : "Y-Value " + t) + '"/>'
  12230. }))
  12231. : ((d +=
  12232. '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:' +
  12233. ht(r.length + r[0].labels.length) +
  12234. (r[0].labels[0].length + 1) +
  12235. '" totalsRowShown="0">'),
  12236. (d += '<tableColumns count="' + (r.length + r[0].labels.length) + '">'),
  12237. r[0].labels.forEach(function (e, t) {
  12238. d += '<tableColumn id="'.concat(t + 1, '" name="Column').concat(t + 1, '"/>')
  12239. }),
  12240. r.forEach(function (e, t) {
  12241. d += '<tableColumn id="' + (t + r[0].labels.length + 1) + '" name="' + ne(e.name) + '"/>'
  12242. }))
  12243. ;(d += "</tableColumns>"),
  12244. (d += '<tableStyleInfo showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/>'),
  12245. (d += "</table>"),
  12246. a.file("xl/tables/table1.xml", d)
  12247. var m = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
  12248. if (
  12249. ((m +=
  12250. '<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">'),
  12251. e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D
  12252. ? (m += '<dimension ref="A1:'.concat(ht(s)).concat(r[0].values.length + 1, '"/>'))
  12253. : e.opts._type === V.SCATTER
  12254. ? (m += '<dimension ref="A1:'.concat(ht(r.length)).concat(r[0].values.length + 1, '"/>'))
  12255. : (m += '<dimension ref="A1:'.concat(ht(r.length + 1)).concat(r[0].values.length + 1, '"/>')),
  12256. (m += '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="B1" sqref="B1"/></sheetView></sheetViews>'),
  12257. (m += '<sheetFormatPr baseColWidth="10" defaultRowHeight="16"/>'),
  12258. e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D)
  12259. ) {
  12260. ;(m += "<sheetData>"), (m += '<row r="1" spans="1:'.concat(s, '">')), (m += '<c r="A1" t="s"><v>0</v></c>')
  12261. for (var g = 1; g < s; g++) m += '<c r="'.concat(ht(g + 1), '1" t="s"><v>').concat(g, "</v></c>")
  12262. ;(m += "</row>"),
  12263. r[0].values.forEach(function (e, t) {
  12264. ;(m += '<row r="'.concat(t + 2, '" spans="1:').concat(s, '">')), (m += '<c r="A'.concat(t + 2, '"><v>').concat(e, "</v></c>"))
  12265. for (var n = 2, i = 1; i < r.length; i++)
  12266. (m += '<c r="'
  12267. .concat(ht(n))
  12268. .concat(t + 2, '"><v>')
  12269. .concat(r[i].values[t] || "", "</v></c>")),
  12270. n++,
  12271. (m += '<c r="'
  12272. .concat(ht(n))
  12273. .concat(t + 2, '"><v>')
  12274. .concat(r[i].sizes[t] || "", "</v></c>")),
  12275. n++
  12276. m += "</row>"
  12277. })
  12278. } else if (e.opts._type === V.SCATTER) {
  12279. ;(m += "<sheetData>"), (m += '<row r="1" spans="1:'.concat(r.length, '">'))
  12280. for (g = 0; g < r.length; g++) m += '<c r="'.concat(ht(g + 1), '1" t="s"><v>').concat(g, "</v></c>")
  12281. ;(m += "</row>"),
  12282. r[0].values.forEach(function (e, t) {
  12283. ;(m += '<row r="'.concat(t + 2, '" spans="1:').concat(r.length, '">')),
  12284. (m += '<c r="A'.concat(t + 2, '"><v>').concat(e, "</v></c>"))
  12285. for (var n = 1; n < r.length; n++)
  12286. m += '<c r="'
  12287. .concat(ht(n + 1))
  12288. .concat(t + 2, '"><v>')
  12289. .concat(r[n].values[t] || 0 === r[n].values[t] ? r[n].values[t] : "", "</v></c>")
  12290. m += "</row>"
  12291. })
  12292. } else if (((m += "<sheetData>"), l)) {
  12293. m += '<row r="1" spans="1:'.concat(r.length + r[0].labels.length, '">')
  12294. for (g = 0; g < r[0].labels.length; g++) m += '<c r="'.concat(ht(g + 1), '1" t="s"><v>0</v></c>')
  12295. for (g = r[0].labels.length - 1; g < r.length + r[0].labels.length - 1; g++)
  12296. m += '<c r="'.concat(ht(g + r[0].labels.length), '1" t="s"><v>').concat(g, "</v></c>")
  12297. m += "</row>"
  12298. var y = r.length,
  12299. v = r[0].labels[0].length,
  12300. b = r[0].labels.length,
  12301. w = function (e) {
  12302. m += '<row r="'.concat(e + 2, '" spans="1:').concat(y + b, '">')
  12303. var t = y,
  12304. n = r[0].labels.slice().reverse()
  12305. n.forEach(function (r, i) {
  12306. var o = r[e]
  12307. if (o) {
  12308. var a =
  12309. 0 === i
  12310. ? 1
  12311. : n[i - 1].filter(function (e) {
  12312. return e && "" !== e
  12313. }).length
  12314. ;(t += a),
  12315. (m += '<c r="'
  12316. .concat(ht(e + 1 + i))
  12317. .concat(e + 2, '" t="s"><v>')
  12318. .concat(t, "</v></c>"))
  12319. }
  12320. })
  12321. for (var i = 0; i < y; i++)
  12322. m += '<c r="'
  12323. .concat(ht(b + i + 1))
  12324. .concat(e + 2, '"><v>')
  12325. .concat(r[i].values[e] || 0, "</v></c>")
  12326. m += "</row>"
  12327. }
  12328. for (g = 0; g < v; g++) w(g)
  12329. } else {
  12330. ;(m += '<row r="1" spans="1:'.concat(r.length + r[0].labels.length, '">')),
  12331. r[0].labels.forEach(function (e, t) {
  12332. m += '<c r="'.concat(ht(t + 1), '1" t="s"><v>0</v></c>')
  12333. })
  12334. for (var g = 0; g < r.length; g++) m += '<c r="'.concat(ht(g + 1 + r[0].labels.length), '1" t="s"><v>').concat(g + 1, "</v></c>")
  12335. ;(m += "</row>"),
  12336. r[0].labels[0].forEach(function (e, t) {
  12337. m += '<row r="'.concat(t + 2, '" spans="1:').concat(r.length + r[0].labels.length, '">')
  12338. for (var n = r[0].labels.length - 1; n >= 0; n--)
  12339. (m += '<c r="'.concat(ht(r[0].labels.length - n)).concat(t + 2, '" t="s">')),
  12340. (m += "<v>".concat(r.length + t + 1, "</v>")),
  12341. (m += "</c>")
  12342. for (var i = 0; i < r.length; i++)
  12343. m += '<c r="'
  12344. .concat(ht(r[0].labels.length + i + 1))
  12345. .concat(t + 2, '"><v>')
  12346. .concat(r[i].values[t] || "", "</v></c>")
  12347. m += "</row>"
  12348. })
  12349. }
  12350. ;(m += "</sheetData>"),
  12351. (m += '<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>'),
  12352. (m += "</worksheet>\n"),
  12353. a.file("xl/worksheets/sheet1.xml", m),
  12354. a
  12355. .generateAsync({
  12356. type: "base64"
  12357. })
  12358. .then(function (r) {
  12359. t.file("ppt/embeddings/Microsoft_Excel_Worksheet" + e.globalId + ".xlsx", r, {
  12360. base64: !0
  12361. }),
  12362. t.file(
  12363. "ppt/charts/_rels/" + e.fileName + ".rels",
  12364. '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">' +
  12365. '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet'.concat(
  12366. e.globalId,
  12367. '.xlsx"/>'
  12368. ) +
  12369. "</Relationships>"
  12370. ),
  12371. t.file("ppt/charts/".concat(e.fileName), lt(e)),
  12372. n(null)
  12373. })
  12374. .catch(function (e) {
  12375. o(e)
  12376. })
  12377. })
  12378. }
  12379. function lt(e) {
  12380. var t = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',
  12381. r = !1
  12382. if (
  12383. ((t +=
  12384. '<c:chartSpace xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">'),
  12385. (t += '<c:date1904 val="0"/>'),
  12386. (t += '<c:roundedCorners val="'.concat(e.opts.chartArea.roundedCorners ? "1" : "0", '"/>')),
  12387. (t += "<c:chart>"),
  12388. e.opts.showTitle
  12389. ? ((t += dt(
  12390. {
  12391. title: e.opts.title || "Chart Title",
  12392. color: e.opts.titleColor,
  12393. fontFace: e.opts.titleFontFace,
  12394. fontSize: e.opts.titleFontSize || A,
  12395. titleAlign: e.opts.titleAlign,
  12396. titleBold: e.opts.titleBold,
  12397. titlePos: e.opts.titlePos,
  12398. titleRotate: e.opts.titleRotate
  12399. },
  12400. e.opts.x,
  12401. e.opts.y
  12402. )),
  12403. (t += '<c:autoTitleDeleted val="0"/>'))
  12404. : (t += '<c:autoTitleDeleted val="1"/>'),
  12405. e.opts._type === V.BAR3D &&
  12406. ((t += "<c:view3D>"),
  12407. (t += ' <c:rotX val="' + e.opts.v3DRotX + '"/>'),
  12408. (t += ' <c:rotY val="' + e.opts.v3DRotY + '"/>'),
  12409. (t += ' <c:rAngAx val="' + (!1 === e.opts.v3DRAngAx ? 0 : 1) + '"/>'),
  12410. (t += ' <c:perspective val="' + e.opts.v3DPerspective + '"/>'),
  12411. (t += "</c:view3D>")),
  12412. (t += "<c:plotArea>"),
  12413. e.opts.layout
  12414. ? ((t += "<c:layout>"),
  12415. (t += " <c:manualLayout>"),
  12416. (t += ' <c:layoutTarget val="inner" />'),
  12417. (t += ' <c:xMode val="edge" />'),
  12418. (t += ' <c:yMode val="edge" />'),
  12419. (t += ' <c:x val="' + (e.opts.layout.x || 0) + '" />'),
  12420. (t += ' <c:y val="' + (e.opts.layout.y || 0) + '" />'),
  12421. (t += ' <c:w val="' + (e.opts.layout.w || 1) + '" />'),
  12422. (t += ' <c:h val="' + (e.opts.layout.h || 1) + '" />'),
  12423. (t += " </c:manualLayout>"),
  12424. (t += "</c:layout>"))
  12425. : (t += "<c:layout/>"),
  12426. Array.isArray(e.opts._type)
  12427. ? e.opts._type.forEach(function (n) {
  12428. var i = re(e.opts, n.options),
  12429. o = i["secondaryValAxis"] ? O : P,
  12430. a = i["secondaryCatAxis"] ? R : j
  12431. ;(r = r || i.secondaryValAxis), (t += ct(n.type, n.data, i, o, a))
  12432. })
  12433. : (t += ct(e.opts._type, e.data, e.opts, P, j)),
  12434. e.opts._type !== V.PIE && e.opts._type !== V.DOUGHNUT)
  12435. ) {
  12436. if (e.opts.valAxes && e.opts.valAxes.length > 1 && !r) throw new Error("Secondary axis must be used by one of the multiple charts")
  12437. if (e.opts.catAxes) {
  12438. if (!e.opts.valAxes || e.opts.valAxes.length !== e.opts.catAxes.length)
  12439. throw new Error("There must be the same number of value and category axes.")
  12440. t += ut(re(e.opts, e.opts.catAxes[0]), j, P)
  12441. } else t += ut(e.opts, j, P)
  12442. e.opts.valAxes
  12443. ? ((t += ft(re(e.opts, e.opts.valAxes[0]), P)), e.opts.valAxes[1] && (t += ft(re(e.opts, e.opts.valAxes[1]), O)))
  12444. : ((t += ft(e.opts, P)), e.opts._type === V.BAR3D && (t += pt(e.opts, I, P))),
  12445. e.opts.catAxes && e.opts.catAxes[1] && (t += ut(re(e.opts, e.opts.catAxes[1]), R, O))
  12446. }
  12447. return (
  12448. e.opts.showDataTable &&
  12449. ((t += "<c:dTable>"),
  12450. (t += ' <c:showHorzBorder val="' + (!1 === e.opts.showDataTableHorzBorder ? 0 : 1) + '"/>'),
  12451. (t += ' <c:showVertBorder val="' + (!1 === e.opts.showDataTableVertBorder ? 0 : 1) + '"/>'),
  12452. (t += ' <c:showOutline val="' + (!1 === e.opts.showDataTableOutline ? 0 : 1) + '"/>'),
  12453. (t += ' <c:showKeys val="' + (!1 === e.opts.showDataTableKeys ? 0 : 1) + '"/>'),
  12454. (t += " <c:spPr>"),
  12455. (t += " <a:noFill/>"),
  12456. (t +=
  12457. ' <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln>'),
  12458. (t += " <a:effectLst/>"),
  12459. (t += " </c:spPr>"),
  12460. (t += " <c:txPr>"),
  12461. (t += '\t <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>'),
  12462. (t += "\t <a:lstStyle/>"),
  12463. (t += "\t <a:p>"),
  12464. (t += '\t\t<a:pPr rtl="0">'),
  12465. (t += ' <a:defRPr sz="'.concat(
  12466. Math.round(100 * (e.opts.dataTableFontSize || x)),
  12467. '" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'
  12468. )),
  12469. (t += '\t\t\t<a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>'),
  12470. (t += '\t\t\t<a:latin typeface="+mn-lt"/>'),
  12471. (t += '\t\t\t<a:ea typeface="+mn-ea"/>'),
  12472. (t += '\t\t\t<a:cs typeface="+mn-cs"/>'),
  12473. (t += "\t\t </a:defRPr>"),
  12474. (t += "\t\t</a:pPr>"),
  12475. (t += '\t\t<a:endParaRPr lang="en-US"/>'),
  12476. (t += "\t </a:p>"),
  12477. (t += "\t</c:txPr>"),
  12478. (t += "</c:dTable>")),
  12479. (t += " <c:spPr>"),
  12480. (t += e.opts.plotArea.fill && e.opts.plotArea.fill.color ? fe(e.opts.plotArea.fill) : "<a:noFill/>"),
  12481. (t += e.opts.plotArea.border
  12482. ? '<a:ln w="'.concat(oe(e.opts.plotArea.border.pt), '" cap="flat">').concat(fe(e.opts.plotArea.border.color), "</a:ln>")
  12483. : "<a:ln><a:noFill/></a:ln>"),
  12484. (t += " <a:effectLst/>"),
  12485. (t += " </c:spPr>"),
  12486. (t += "</c:plotArea>"),
  12487. e.opts.showLegend &&
  12488. ((t += "<c:legend>"),
  12489. (t += '<c:legendPos val="' + e.opts.legendPos + '"/>'),
  12490. (t += '<c:overlay val="0"/>'),
  12491. (e.opts.legendFontFace || e.opts.legendFontSize || e.opts.legendColor) &&
  12492. ((t += "<c:txPr>"),
  12493. (t += " <a:bodyPr/>"),
  12494. (t += " <a:lstStyle/>"),
  12495. (t += " <a:p>"),
  12496. (t += " <a:pPr>"),
  12497. (t += e.opts.legendFontSize ? '<a:defRPr sz="' + Math.round(100 * Number(e.opts.legendFontSize)) + '">' : "<a:defRPr>"),
  12498. e.opts.legendColor && (t += fe(e.opts.legendColor)),
  12499. e.opts.legendFontFace && (t += '<a:latin typeface="' + e.opts.legendFontFace + '"/>'),
  12500. e.opts.legendFontFace && (t += '<a:cs typeface="' + e.opts.legendFontFace + '"/>'),
  12501. (t += " </a:defRPr>"),
  12502. (t += " </a:pPr>"),
  12503. (t += ' <a:endParaRPr lang="en-US"/>'),
  12504. (t += " </a:p>"),
  12505. (t += "</c:txPr>")),
  12506. (t += "</c:legend>")),
  12507. (t += ' <c:plotVisOnly val="1"/>'),
  12508. (t += ' <c:dispBlanksAs val="' + e.opts.displayBlanksAs + '"/>'),
  12509. e.opts._type === V.SCATTER && (t += '<c:showDLblsOverMax val="1"/>'),
  12510. (t += "</c:chart>"),
  12511. (t += "<c:spPr>"),
  12512. (t += e.opts.chartArea.fill && e.opts.chartArea.fill.color ? fe(e.opts.chartArea.fill) : "<a:noFill/>"),
  12513. (t += e.opts.chartArea.border
  12514. ? '<a:ln w="'.concat(oe(e.opts.chartArea.border.pt), '" cap="flat">').concat(fe(e.opts.chartArea.border.color), "</a:ln>")
  12515. : "<a:ln><a:noFill/></a:ln>"),
  12516. (t += " <a:effectLst/>"),
  12517. (t += "</c:spPr>"),
  12518. (t += '<c:externalData r:id="rId1"><c:autoUpdate val="0"/></c:externalData>'),
  12519. (t += "</c:chartSpace>"),
  12520. t
  12521. )
  12522. }
  12523. function ct(e, t, r, n, i, o) {
  12524. var a = ""
  12525. switch (e) {
  12526. case V.AREA:
  12527. case V.BAR:
  12528. case V.BAR3D:
  12529. case V.LINE:
  12530. case V.RADAR:
  12531. ;(a += "<c:".concat(e, "Chart>")),
  12532. e === V.AREA && "stacked" === r.barGrouping && (a += '<c:grouping val="' + r.barGrouping + '"/>'),
  12533. (e !== V.BAR && e !== V.BAR3D) ||
  12534. ((a += '<c:barDir val="' + r.barDir + '"/>'), (a += '<c:grouping val="' + (r.barGrouping || "clustered") + '"/>')),
  12535. e === V.RADAR && (a += '<c:radarStyle val="' + r.radarStyle + '"/>'),
  12536. (a += '<c:varyColors val="0"/>')
  12537. var s = -1
  12538. t.forEach(function (n) {
  12539. s++,
  12540. (a += "<c:ser>"),
  12541. (a += ' <c:idx val="' + n._dataIndex + '"/>'),
  12542. (a += ' <c:order val="' + n._dataIndex + '"/>'),
  12543. (a += " <c:tx>"),
  12544. (a += " <c:strRef>"),
  12545. (a += " <c:f>Sheet1!$" + ht(n._dataIndex + n.labels.length + 1) + "$1</c:f>"),
  12546. (a += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ne(n.name) + "</c:v></c:pt></c:strCache>"),
  12547. (a += " </c:strRef>"),
  12548. (a += " </c:tx>")
  12549. var i = r.chartColors ? r.chartColors[s % r.chartColors.length] : null
  12550. ;(a += " <c:spPr>"),
  12551. "transparent" === i
  12552. ? (a += "<a:noFill/>")
  12553. : r.chartColorsOpacity
  12554. ? (a += "<a:solidFill>" + ce(i, '<a:alpha val="'.concat(Math.round(1e3 * r.chartColorsOpacity), '"/>')) + "</a:solidFill>")
  12555. : (a += "<a:solidFill>" + ce(i) + "</a:solidFill>"),
  12556. e === V.LINE || e === V.RADAR
  12557. ? 0 === r.lineSize
  12558. ? (a += "<a:ln><a:noFill/></a:ln>")
  12559. : ((a += '<a:ln w="' + oe(r.lineSize) + '" cap="flat"><a:solidFill>' + ce(i) + "</a:solidFill>"),
  12560. (a += '<a:prstDash val="' + (r.lineDash || "solid") + '"/><a:round/></a:ln>'))
  12561. : r.dataBorder &&
  12562. (a +=
  12563. '<a:ln w="' +
  12564. oe(r.dataBorder.pt) +
  12565. '" cap="flat"><a:solidFill>' +
  12566. ce(r.dataBorder.color) +
  12567. '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
  12568. (a += mt(r.shadow, S)),
  12569. (a += " </c:spPr>"),
  12570. (a += ' <c:invertIfNegative val="0"/>'),
  12571. e !== V.RADAR &&
  12572. ((a += "<c:dLbls>"),
  12573. (a += '<c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  12574. r.dataLabelBkgrdColors && (a += "<c:spPr><a:solidFill>".concat(ce(i), "</a:solidFill></c:spPr>")),
  12575. (a += "<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>"),
  12576. (a += '<a:defRPr b="'
  12577. .concat(r.dataLabelFontBold ? 1 : 0, '" i="')
  12578. .concat(r.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="')
  12579. .concat(Math.round(100 * (r.dataLabelFontSize || x)), '" u="none">')),
  12580. (a += "<a:solidFill>".concat(ce(r.dataLabelColor || w), "</a:solidFill>")),
  12581. (a += '<a:latin typeface="'.concat(r.dataLabelFontFace || "Arial", '"/>')),
  12582. (a += "</a:defRPr></a:pPr></a:p></c:txPr>"),
  12583. r.dataLabelPosition && (a += '<c:dLblPos val="'.concat(r.dataLabelPosition, '"/>')),
  12584. (a += '<c:showLegendKey val="0"/>'),
  12585. (a += '<c:showVal val="'.concat(r.showValue ? "1" : "0", '"/>')),
  12586. (a += '<c:showCatName val="0"/><c:showSerName val="'.concat(
  12587. r.showSerName ? "1" : "0",
  12588. '"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'
  12589. )),
  12590. (a += '<c:showLeaderLines val="'.concat(r.showLeaderLines ? "1" : "0", '"/>')),
  12591. (a += "</c:dLbls>")),
  12592. (e !== V.LINE && e !== V.RADAR) ||
  12593. ((a += "<c:marker>"),
  12594. (a += ' <c:symbol val="' + r.lineDataSymbol + '"/>'),
  12595. r.lineDataSymbolSize && (a += ' <c:size val="' + r.lineDataSymbolSize + '"/>'),
  12596. (a += " <c:spPr>"),
  12597. (a +=
  12598. " <a:solidFill>" +
  12599. ce(
  12600. r.chartColors[
  12601. n._dataIndex + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : n._dataIndex
  12602. ]
  12603. ) +
  12604. "</a:solidFill>"),
  12605. (a +=
  12606. ' <a:ln w="' +
  12607. r.lineDataSymbolLineSize +
  12608. '" cap="flat"><a:solidFill>' +
  12609. ce(r.lineDataSymbolLineColor || i) +
  12610. '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
  12611. (a += " <a:effectLst/>"),
  12612. (a += " </c:spPr>"),
  12613. (a += "</c:marker>")),
  12614. (e !== V.BAR && e !== V.BAR3D) ||
  12615. 1 !== t.length ||
  12616. !((r.chartColors && r.chartColors !== M && r.chartColors.length > 1) || (r.invertedColors && r.invertedColors.length)) ||
  12617. n.values.forEach(function (t, n) {
  12618. var i = t < 0 ? r.invertedColors || r.chartColors || M : r.chartColors || []
  12619. ;(a += " <c:dPt>"),
  12620. (a += ' <c:idx val="' + n + '"/>'),
  12621. (a += ' <c:invertIfNegative val="0"/>'),
  12622. (a += ' <c:bubble3D val="0"/>'),
  12623. (a += " <c:spPr>"),
  12624. 0 === r.lineSize
  12625. ? (a += "<a:ln><a:noFill/></a:ln>")
  12626. : e === V.BAR
  12627. ? ((a += "<a:solidFill>"), (a += ' <a:srgbClr val="' + i[n % i.length] + '"/>'), (a += "</a:solidFill>"))
  12628. : ((a += "<a:ln>"),
  12629. (a += " <a:solidFill>"),
  12630. (a += ' <a:srgbClr val="' + i[n % i.length] + '"/>'),
  12631. (a += " </a:solidFill>"),
  12632. (a += "</a:ln>")),
  12633. (a += mt(r.shadow, S)),
  12634. (a += " </c:spPr>"),
  12635. (a += " </c:dPt>")
  12636. }),
  12637. (a += "<c:cat>"),
  12638. r.catLabelFormatCode
  12639. ? ((a += " <c:numRef>"),
  12640. (a += " <c:f>Sheet1!$A$2:$A$" + (n.labels[0].length + 1) + "</c:f>"),
  12641. (a += " <c:numCache>"),
  12642. (a += " <c:formatCode>" + (r.catLabelFormatCode || "General") + "</c:formatCode>"),
  12643. (a += ' <c:ptCount val="' + n.labels[0].length + '"/>'),
  12644. n.labels[0].forEach(function (e, t) {
  12645. a += '<c:pt idx="' + t + '"><c:v>' + ne(e) + "</c:v></c:pt>"
  12646. }),
  12647. (a += " </c:numCache>"),
  12648. (a += " </c:numRef>"))
  12649. : ((a += " <c:multiLvlStrRef>"),
  12650. (a += " <c:f>Sheet1!$A$2:$" + ht(n.labels.length) + "$" + (n.labels[0].length + 1) + "</c:f>"),
  12651. (a += " <c:multiLvlStrCache>"),
  12652. (a += '\t <c:ptCount val="' + n.labels[0].length + '"/>'),
  12653. n.labels.forEach(function (e) {
  12654. ;(a += " <c:lvl>"),
  12655. e.forEach(function (e, t) {
  12656. a += '<c:pt idx="' + t + '"><c:v>' + ne(e) + "</c:v></c:pt>"
  12657. }),
  12658. (a += " </c:lvl>")
  12659. }),
  12660. (a += " </c:multiLvlStrCache>"),
  12661. (a += " </c:multiLvlStrRef>")),
  12662. (a += "</c:cat>"),
  12663. (a += "<c:val>"),
  12664. (a += " <c:numRef>"),
  12665. (a += "<c:f>Sheet1!$"
  12666. .concat(ht(n._dataIndex + n.labels.length + 1), "$2:$")
  12667. .concat(ht(n._dataIndex + n.labels.length + 1), "$")
  12668. .concat(n.labels[0].length + 1, "</c:f>")),
  12669. (a += " <c:numCache>"),
  12670. (a += " <c:formatCode>" + (r.valLabelFormatCode || r.dataTableFormatCode || "General") + "</c:formatCode>"),
  12671. (a += ' <c:ptCount val="' + n.labels[0].length + '"/>'),
  12672. n.values.forEach(function (e, t) {
  12673. return (a += '<c:pt idx="'.concat(t, '"><c:v>').concat(e || 0 === e ? e : "", "</c:v></c:pt>"))
  12674. }),
  12675. (a += " </c:numCache>"),
  12676. (a += " </c:numRef>"),
  12677. (a += "</c:val>"),
  12678. e === V.LINE && (a += '<c:smooth val="' + (r.lineSmooth ? "1" : "0") + '"/>'),
  12679. (a += "</c:ser>")
  12680. }),
  12681. (a += " <c:dLbls>"),
  12682. (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  12683. (a += " <c:txPr>"),
  12684. (a += " <a:bodyPr/>"),
  12685. (a += " <a:lstStyle/>"),
  12686. (a += " <a:p><a:pPr>"),
  12687. (a +=
  12688. ' <a:defRPr b="' +
  12689. (r.dataLabelFontBold ? 1 : 0) +
  12690. '" i="' +
  12691. (r.dataLabelFontItalic ? 1 : 0) +
  12692. '" strike="noStrike" sz="' +
  12693. Math.round(100 * (r.dataLabelFontSize || x)) +
  12694. '" u="none">'),
  12695. (a += " <a:solidFill>" + ce(r.dataLabelColor || w) + "</a:solidFill>"),
  12696. (a += ' <a:latin typeface="' + (r.dataLabelFontFace || "Arial") + '"/>'),
  12697. (a += " </a:defRPr>"),
  12698. (a += " </a:pPr></a:p>"),
  12699. (a += " </c:txPr>"),
  12700. r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
  12701. (a += ' <c:showLegendKey val="0"/>'),
  12702. (a += ' <c:showVal val="' + (r.showValue ? "1" : "0") + '"/>'),
  12703. (a += ' <c:showCatName val="0"/>'),
  12704. (a += ' <c:showSerName val="' + (r.showSerName ? "1" : "0") + '"/>'),
  12705. (a += ' <c:showPercent val="0"/>'),
  12706. (a += ' <c:showBubbleSize val="0"/>'),
  12707. (a += ' <c:showLeaderLines val="'.concat(r.showLeaderLines ? "1" : "0", '"/>')),
  12708. (a += " </c:dLbls>"),
  12709. e === V.BAR
  12710. ? ((a += ' <c:gapWidth val="' + r.barGapWidthPct + '"/>'),
  12711. (a +=
  12712. ' <c:overlap val="' +
  12713. ((r.barGrouping || "").indexOf("tacked") > -1 ? 100 : r.barOverlapPct ? r.barOverlapPct : 0) +
  12714. '"/>'))
  12715. : e === V.BAR3D
  12716. ? ((a += ' <c:gapWidth val="' + r.barGapWidthPct + '"/>'),
  12717. (a += ' <c:gapDepth val="' + r.barGapDepthPct + '"/>'),
  12718. (a += ' <c:shape val="' + r.bar3DShape + '"/>'))
  12719. : e === V.LINE && (a += ' <c:marker val="1"/>'),
  12720. (a += '<c:axId val="'.concat(i, '"/><c:axId val="').concat(n, '"/><c:axId val="').concat(I, '"/>')),
  12721. (a += "</c:".concat(e, "Chart>"))
  12722. break
  12723. case V.SCATTER:
  12724. ;(a += "<c:" + e + "Chart>"),
  12725. (a += '<c:scatterStyle val="lineMarker"/>'),
  12726. (a += '<c:varyColors val="0"/>'),
  12727. (s = -1),
  12728. t
  12729. .filter(function (e, t) {
  12730. return t > 0
  12731. })
  12732. .forEach(function (e, n) {
  12733. s++,
  12734. (a += "<c:ser>"),
  12735. (a += ' <c:idx val="' + n + '"/>'),
  12736. (a += ' <c:order val="' + n + '"/>'),
  12737. (a += " <c:tx>"),
  12738. (a += " <c:strRef>"),
  12739. (a += " <c:f>Sheet1!$" + ht(n + 2) + "$1</c:f>"),
  12740. (a += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ne(e.name) + "</c:v></c:pt></c:strCache>"),
  12741. (a += " </c:strRef>"),
  12742. (a += " </c:tx>"),
  12743. (a += " <c:spPr>")
  12744. var i = r.chartColors[s % r.chartColors.length]
  12745. if (
  12746. ("transparent" === i
  12747. ? (a += "<a:noFill/>")
  12748. : r.chartColorsOpacity
  12749. ? (a +=
  12750. "<a:solidFill>" + ce(i, '<a:alpha val="' + Math.round(1e3 * r.chartColorsOpacity) + '"/>') + "</a:solidFill>")
  12751. : (a += "<a:solidFill>" + ce(i) + "</a:solidFill>"),
  12752. 0 === r.lineSize
  12753. ? (a += "<a:ln><a:noFill/></a:ln>")
  12754. : ((a += '<a:ln w="' + oe(r.lineSize) + '" cap="flat"><a:solidFill>' + ce(i) + "</a:solidFill>"),
  12755. (a += '<a:prstDash val="' + (r.lineDash || "solid") + '"/><a:round/></a:ln>')),
  12756. (a += mt(r.shadow, S)),
  12757. (a += " </c:spPr>"),
  12758. (a += "<c:marker>"),
  12759. (a += ' <c:symbol val="' + r.lineDataSymbol + '"/>'),
  12760. r.lineDataSymbolSize && (a += ' <c:size val="' + r.lineDataSymbolSize + '"/>'),
  12761. (a += " <c:spPr>"),
  12762. (a +=
  12763. " <a:solidFill>" +
  12764. ce(r.chartColors[n + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : n]) +
  12765. "</a:solidFill>"),
  12766. (a +=
  12767. ' <a:ln w="' +
  12768. r.lineDataSymbolLineSize +
  12769. '" cap="flat"><a:solidFill>' +
  12770. ce(r.lineDataSymbolLineColor || r.chartColors[s % r.chartColors.length]) +
  12771. '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
  12772. (a += " <a:effectLst/>"),
  12773. (a += " </c:spPr>"),
  12774. (a += "</c:marker>"),
  12775. r.showLabel)
  12776. ) {
  12777. var o = te("-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
  12778. !e.labels[0] ||
  12779. ("custom" !== r.dataLabelFormatScatter && "customXY" !== r.dataLabelFormatScatter) ||
  12780. ((a += "<c:dLbls>"),
  12781. e.labels[0].forEach(function (t, n) {
  12782. ;("custom" !== r.dataLabelFormatScatter && "customXY" !== r.dataLabelFormatScatter) ||
  12783. ((a += " <c:dLbl>"),
  12784. (a += ' <c:idx val="' + n + '"/>'),
  12785. (a += " <c:tx>"),
  12786. (a += " <c:rich>"),
  12787. (a += "\t\t\t<a:bodyPr>"),
  12788. (a += "\t\t\t\t<a:spAutoFit/>"),
  12789. (a += "\t\t\t</a:bodyPr>"),
  12790. (a += " \t<a:lstStyle/>"),
  12791. (a += " \t<a:p>"),
  12792. (a += "\t\t\t\t<a:pPr>"),
  12793. (a += "\t\t\t\t\t<a:defRPr/>"),
  12794. (a += "\t\t\t\t</a:pPr>"),
  12795. (a += " \t<a:r>"),
  12796. (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" dirty="0"/>'),
  12797. (a += " \t\t<a:t>" + ne(t) + "</a:t>"),
  12798. (a += " \t</a:r>"),
  12799. "customXY" !== r.dataLabelFormatScatter ||
  12800. /^ *$/.test(t) ||
  12801. ((a += " \t<a:r>"),
  12802. (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0" dirty="0"/>'),
  12803. (a += " \t\t<a:t> (</a:t>"),
  12804. (a += " \t</a:r>"),
  12805. (a += ' \t<a:fld id="{' + te("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") + '}" type="XVALUE">'),
  12806. (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0"/>'),
  12807. (a += " \t\t<a:pPr>"),
  12808. (a += " \t\t\t<a:defRPr/>"),
  12809. (a += " \t\t</a:pPr>"),
  12810. (a += " \t\t<a:t>[" + ne(e.name) + "</a:t>"),
  12811. (a += " \t</a:fld>"),
  12812. (a += " \t<a:r>"),
  12813. (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0" dirty="0"/>'),
  12814. (a += " \t\t<a:t>, </a:t>"),
  12815. (a += " \t</a:r>"),
  12816. (a += ' \t<a:fld id="{' + te("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") + '}" type="YVALUE">'),
  12817. (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0"/>'),
  12818. (a += " \t\t<a:pPr>"),
  12819. (a += " \t\t\t<a:defRPr/>"),
  12820. (a += " \t\t</a:pPr>"),
  12821. (a += " \t\t<a:t>[" + ne(e.name) + "]</a:t>"),
  12822. (a += " \t</a:fld>"),
  12823. (a += " \t<a:r>"),
  12824. (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0" dirty="0"/>'),
  12825. (a += " \t\t<a:t>)</a:t>"),
  12826. (a += " \t</a:r>"),
  12827. (a += ' \t<a:endParaRPr lang="' + (r.lang || "en-US") + '" dirty="0"/>')),
  12828. (a += " \t</a:p>"),
  12829. (a += " </c:rich>"),
  12830. (a += " </c:tx>"),
  12831. (a += " <c:spPr>"),
  12832. (a += " \t<a:noFill/>"),
  12833. (a += " \t<a:ln>"),
  12834. (a += " \t\t<a:noFill/>"),
  12835. (a += " \t</a:ln>"),
  12836. (a += " \t<a:effectLst/>"),
  12837. (a += " </c:spPr>"),
  12838. r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
  12839. (a += ' <c:showLegendKey val="0"/>'),
  12840. (a += ' <c:showVal val="0"/>'),
  12841. (a += ' <c:showCatName val="0"/>'),
  12842. (a += ' <c:showSerName val="0"/>'),
  12843. (a += ' <c:showPercent val="0"/>'),
  12844. (a += ' <c:showBubbleSize val="0"/>'),
  12845. (a += '\t <c:showLeaderLines val="1"/>'),
  12846. (a += " <c:extLst>"),
  12847. (a +=
  12848. ' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart"/>'),
  12849. (a +=
  12850. ' <c:ext uri="{C3380CC4-5D6E-409C-BE32-E72D297353CC}" xmlns:c16="http://schemas.microsoft.com/office/drawing/2014/chart">'),
  12851. (a +=
  12852. '\t\t\t<c16:uniqueId val="{' +
  12853. "00000000".substring(0, 8 - (n + 1).toString().length).toString() +
  12854. (n + 1) +
  12855. o +
  12856. '}"/>'),
  12857. (a += " </c:ext>"),
  12858. (a += "\t\t</c:extLst>"),
  12859. (a += "</c:dLbl>"))
  12860. }),
  12861. (a += "</c:dLbls>")),
  12862. "XY" === r.dataLabelFormatScatter &&
  12863. ((a += "<c:dLbls>"),
  12864. (a += "\t<c:spPr>"),
  12865. (a += "\t\t<a:noFill/>"),
  12866. (a += "\t\t<a:ln>"),
  12867. (a += "\t\t\t<a:noFill/>"),
  12868. (a += "\t\t</a:ln>"),
  12869. (a += "\t \t<a:effectLst/>"),
  12870. (a += "\t</c:spPr>"),
  12871. (a += "\t<c:txPr>"),
  12872. (a += "\t\t<a:bodyPr>"),
  12873. (a += "\t\t\t<a:spAutoFit/>"),
  12874. (a += "\t\t</a:bodyPr>"),
  12875. (a += "\t\t<a:lstStyle/>"),
  12876. (a += "\t\t<a:p>"),
  12877. (a += "\t \t<a:pPr>"),
  12878. (a += " \t\t<a:defRPr/>"),
  12879. (a += "\t \t</a:pPr>"),
  12880. (a += '\t \t<a:endParaRPr lang="en-US"/>'),
  12881. (a += "\t\t</a:p>"),
  12882. (a += "\t</c:txPr>"),
  12883. r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
  12884. (a += '\t<c:showLegendKey val="0"/>'),
  12885. (a += ' <c:showVal val="'.concat(r.showLabel ? "1" : "0", '"/>')),
  12886. (a += ' <c:showCatName val="'.concat(r.showLabel ? "1" : "0", '"/>')),
  12887. (a += ' <c:showSerName val="'.concat(r.showSerName ? "1" : "0", '"/>')),
  12888. (a += '\t<c:showPercent val="0"/>'),
  12889. (a += '\t<c:showBubbleSize val="0"/>'),
  12890. (a += "\t<c:extLst>"),
  12891. (a +=
  12892. '\t\t<c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">'),
  12893. (a += '\t\t\t<c15:showLeaderLines val="1"/>'),
  12894. (a += "\t\t</c:ext>"),
  12895. (a += "\t</c:extLst>"),
  12896. (a += "</c:dLbls>"))
  12897. }
  12898. 1 === t.length &&
  12899. r.chartColors !== M &&
  12900. e.values.forEach(function (e, t) {
  12901. var n = e < 0 ? r.invertedColors || r.chartColors || M : r.chartColors || []
  12902. ;(a += " <c:dPt>"),
  12903. (a += ' <c:idx val="' + t + '"/>'),
  12904. (a += ' <c:invertIfNegative val="0"/>'),
  12905. (a += ' <c:bubble3D val="0"/>'),
  12906. (a += " <c:spPr>"),
  12907. 0 === r.lineSize
  12908. ? (a += "<a:ln><a:noFill/></a:ln>")
  12909. : ((a += "<a:solidFill>"), (a += ' <a:srgbClr val="' + n[t % n.length] + '"/>'), (a += "</a:solidFill>")),
  12910. (a += mt(r.shadow, S)),
  12911. (a += " </c:spPr>"),
  12912. (a += " </c:dPt>")
  12913. }),
  12914. (a += "<c:xVal>"),
  12915. (a += " <c:numRef>"),
  12916. (a += " <c:f>Sheet1!$A$2:$A$" + (t[0].values.length + 1) + "</c:f>"),
  12917. (a += " <c:numCache>"),
  12918. (a += " <c:formatCode>General</c:formatCode>"),
  12919. (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
  12920. t[0].values.forEach(function (e, t) {
  12921. a += '<c:pt idx="' + t + '"><c:v>' + (e || 0 === e ? e : "") + "</c:v></c:pt>"
  12922. }),
  12923. (a += " </c:numCache>"),
  12924. (a += " </c:numRef>"),
  12925. (a += "</c:xVal>"),
  12926. (a += "<c:yVal>"),
  12927. (a += " <c:numRef>"),
  12928. (a += " <c:f>Sheet1!$" + ht(n + 2) + "$2:$" + ht(n + 2) + "$" + (t[0].values.length + 1) + "</c:f>"),
  12929. (a += " <c:numCache>"),
  12930. (a += " <c:formatCode>General</c:formatCode>"),
  12931. (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
  12932. t[0].values.forEach(function (t, r) {
  12933. a += '<c:pt idx="' + r + '"><c:v>' + (e.values[r] || 0 === e.values[r] ? e.values[r] : "") + "</c:v></c:pt>"
  12934. }),
  12935. (a += " </c:numCache>"),
  12936. (a += " </c:numRef>"),
  12937. (a += "</c:yVal>"),
  12938. (a += '<c:smooth val="' + (r.lineSmooth ? "1" : "0") + '"/>'),
  12939. (a += "</c:ser>")
  12940. }),
  12941. (a += " <c:dLbls>"),
  12942. (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  12943. (a += " <c:txPr>"),
  12944. (a += " <a:bodyPr/>"),
  12945. (a += " <a:lstStyle/>"),
  12946. (a += " <a:p><a:pPr>"),
  12947. (a +=
  12948. ' <a:defRPr b="' +
  12949. (r.dataLabelFontBold ? 1 : 0) +
  12950. '" i="' +
  12951. (r.dataLabelFontItalic ? 1 : 0) +
  12952. '" strike="noStrike" sz="' +
  12953. Math.round(100 * (r.dataLabelFontSize || x)) +
  12954. '" u="none">'),
  12955. (a += " <a:solidFill>" + ce(r.dataLabelColor || w) + "</a:solidFill>"),
  12956. (a += ' <a:latin typeface="' + (r.dataLabelFontFace || "Arial") + '"/>'),
  12957. (a += " </a:defRPr>"),
  12958. (a += " </a:pPr></a:p>"),
  12959. (a += " </c:txPr>"),
  12960. r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
  12961. (a += ' <c:showLegendKey val="0"/>'),
  12962. (a += ' <c:showVal val="' + (r.showValue ? "1" : "0") + '"/>'),
  12963. (a += ' <c:showCatName val="0"/>'),
  12964. (a += ' <c:showSerName val="' + (r.showSerName ? "1" : "0") + '"/>'),
  12965. (a += ' <c:showPercent val="0"/>'),
  12966. (a += ' <c:showBubbleSize val="0"/>'),
  12967. (a += " </c:dLbls>"),
  12968. (a += '<c:axId val="'.concat(i, '"/><c:axId val="').concat(n, '"/>')),
  12969. (a += "</c:" + e + "Chart>")
  12970. break
  12971. case V.BUBBLE:
  12972. case V.BUBBLE3D:
  12973. ;(a += "<c:bubbleChart>"), (a += '<c:varyColors val="0"/>'), (s = -1)
  12974. var l = 1
  12975. t
  12976. .filter(function (e, t) {
  12977. return t > 0
  12978. })
  12979. .forEach(function (n, i) {
  12980. s++,
  12981. (a += "<c:ser>"),
  12982. (a += ' <c:idx val="' + i + '"/>'),
  12983. (a += ' <c:order val="' + i + '"/>'),
  12984. (a += " <c:tx>"),
  12985. (a += " <c:strRef>"),
  12986. (a += " <c:f>Sheet1!$" + ht(l + 1) + "$1</c:f>"),
  12987. (a += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ne(n.name) + "</c:v></c:pt></c:strCache>"),
  12988. (a += " </c:strRef>"),
  12989. (a += " </c:tx>"),
  12990. (a += "<c:spPr>")
  12991. var o = r.chartColors[s % r.chartColors.length]
  12992. "transparent" === o
  12993. ? (a += "<a:noFill/>")
  12994. : r.chartColorsOpacity
  12995. ? (a += "<a:solidFill>" + ce(o, '<a:alpha val="' + Math.round(1e3 * r.chartColorsOpacity) + '"/>') + "</a:solidFill>")
  12996. : (a += "<a:solidFill>" + ce(o) + "</a:solidFill>"),
  12997. 0 === r.lineSize
  12998. ? (a += "<a:ln><a:noFill/></a:ln>")
  12999. : r.dataBorder
  13000. ? (a +=
  13001. '<a:ln w="' +
  13002. oe(r.dataBorder.pt) +
  13003. '" cap="flat"><a:solidFill>' +
  13004. ce(r.dataBorder.color) +
  13005. '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')
  13006. : ((a += '<a:ln w="' + oe(r.lineSize) + '" cap="flat"><a:solidFill>' + ce(o) + "</a:solidFill>"),
  13007. (a += '<a:prstDash val="' + (r.lineDash || "solid") + '"/><a:round/></a:ln>')),
  13008. (a += mt(r.shadow, S)),
  13009. (a += "</c:spPr>"),
  13010. (a += "<c:xVal>"),
  13011. (a += " <c:numRef>"),
  13012. (a += " <c:f>Sheet1!$A$2:$A$" + (t[0].values.length + 1) + "</c:f>"),
  13013. (a += " <c:numCache>"),
  13014. (a += " <c:formatCode>General</c:formatCode>"),
  13015. (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
  13016. t[0].values.forEach(function (e, t) {
  13017. a += '<c:pt idx="' + t + '"><c:v>' + (e || 0 === e ? e : "") + "</c:v></c:pt>"
  13018. }),
  13019. (a += " </c:numCache>"),
  13020. (a += " </c:numRef>"),
  13021. (a += "</c:xVal>"),
  13022. (a += "<c:yVal>"),
  13023. (a += " <c:numRef>"),
  13024. (a += " <c:f>Sheet1!$" + ht(l + 1) + "$2:$" + ht(l + 1) + "$" + (t[0].values.length + 1) + "</c:f>"),
  13025. l++,
  13026. (a += " <c:numCache>"),
  13027. (a += " <c:formatCode>General</c:formatCode>"),
  13028. (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
  13029. t[0].values.forEach(function (e, t) {
  13030. a += '<c:pt idx="' + t + '"><c:v>' + (n.values[t] || 0 === n.values[t] ? n.values[t] : "") + "</c:v></c:pt>"
  13031. }),
  13032. (a += " </c:numCache>"),
  13033. (a += " </c:numRef>"),
  13034. (a += "</c:yVal>"),
  13035. (a += " <c:bubbleSize>"),
  13036. (a += " <c:numRef>"),
  13037. (a += " <c:f>Sheet1!$" + ht(l + 1) + "$2:$" + ht(l + 1) + "$" + (n.sizes.length + 1) + "</c:f>"),
  13038. l++,
  13039. (a += " <c:numCache>"),
  13040. (a += " <c:formatCode>General</c:formatCode>"),
  13041. (a += '\t <c:ptCount val="' + n.sizes.length + '"/>'),
  13042. n.sizes.forEach(function (e, t) {
  13043. a += '<c:pt idx="' + t + '"><c:v>' + (e || "") + "</c:v></c:pt>"
  13044. }),
  13045. (a += " </c:numCache>"),
  13046. (a += " </c:numRef>"),
  13047. (a += " </c:bubbleSize>"),
  13048. (a += ' <c:bubble3D val="' + (e === V.BUBBLE3D ? "1" : "0") + '"/>'),
  13049. (a += "</c:ser>")
  13050. }),
  13051. (a += "<c:dLbls>"),
  13052. (a += '<c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  13053. (a += "<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>"),
  13054. (a += '<a:defRPr b="'
  13055. .concat(r.dataLabelFontBold ? 1 : 0, '" i="')
  13056. .concat(r.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="')
  13057. .concat(Math.round(100 * Math.round(r.dataLabelFontSize || x)), '" u="none">')),
  13058. (a += "<a:solidFill>".concat(ce(r.dataLabelColor || w), "</a:solidFill>")),
  13059. (a += '<a:latin typeface="'.concat(r.dataLabelFontFace || "Arial", '"/>')),
  13060. (a += "</a:defRPr></a:pPr></a:p></c:txPr>"),
  13061. r.dataLabelPosition && (a += '<c:dLblPos val="'.concat(r.dataLabelPosition, '"/>')),
  13062. (a += '<c:showLegendKey val="0"/>'),
  13063. (a += '<c:showVal val="'.concat(r.showValue ? "1" : "0", '"/>')),
  13064. (a += '<c:showCatName val="0"/><c:showSerName val="'.concat(
  13065. r.showSerName ? "1" : "0",
  13066. '"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'
  13067. )),
  13068. (a += "<c:extLst>"),
  13069. (a +=
  13070. ' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">'),
  13071. (a += ' <c15:showLeaderLines val="' + (r.showLeaderLines ? "1" : "0") + '"/>'),
  13072. (a += " </c:ext>"),
  13073. (a += "</c:extLst>"),
  13074. (a += "</c:dLbls>"),
  13075. (a += '<c:axId val="'.concat(i, '"/><c:axId val="').concat(n, '"/>')),
  13076. (a += "</c:bubbleChart>")
  13077. break
  13078. case V.DOUGHNUT:
  13079. case V.PIE:
  13080. var c = t[0]
  13081. ;(a += "<c:" + e + "Chart>"),
  13082. (a += ' <c:varyColors val="1"/>'),
  13083. (a += "<c:ser>"),
  13084. (a += ' <c:idx val="0"/>'),
  13085. (a += ' <c:order val="0"/>'),
  13086. (a += " <c:tx>"),
  13087. (a += " <c:strRef>"),
  13088. (a += " <c:f>Sheet1!$B$1</c:f>"),
  13089. (a += " <c:strCache>"),
  13090. (a += ' <c:ptCount val="1"/>'),
  13091. (a += ' <c:pt idx="0"><c:v>' + ne(c.name) + "</c:v></c:pt>"),
  13092. (a += " </c:strCache>"),
  13093. (a += " </c:strRef>"),
  13094. (a += " </c:tx>"),
  13095. (a += " <c:spPr>"),
  13096. (a += ' <a:solidFill><a:schemeClr val="accent1"/></a:solidFill>'),
  13097. (a +=
  13098. ' <a:ln w="9525" cap="flat"><a:solidFill><a:srgbClr val="F9F9F9"/></a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
  13099. r.dataNoEffects ? (a += "<a:effectLst/>") : (a += mt(r.shadow, S)),
  13100. (a += " </c:spPr>"),
  13101. c.labels[0].forEach(function (e, t) {
  13102. ;(a += "<c:dPt>"),
  13103. (a += ' <c:idx val="'.concat(t, '"/>')),
  13104. (a += ' <c:bubble3D val="0"/>'),
  13105. (a += " <c:spPr>"),
  13106. (a += "<a:solidFill>".concat(
  13107. ce(r.chartColors[t + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : t]),
  13108. "</a:solidFill>"
  13109. )),
  13110. r.dataBorder &&
  13111. (a += '<a:ln w="'
  13112. .concat(oe(r.dataBorder.pt), '" cap="flat"><a:solidFill>')
  13113. .concat(ce(r.dataBorder.color), '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),
  13114. (a += mt(r.shadow, S)),
  13115. (a += " </c:spPr>"),
  13116. (a += "</c:dPt>")
  13117. }),
  13118. (a += "<c:dLbls>"),
  13119. c.labels[0].forEach(function (t, n) {
  13120. ;(a += "<c:dLbl>"),
  13121. (a += ' <c:idx val="'.concat(n, '"/>')),
  13122. (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  13123. (a += " <c:spPr/><c:txPr>"),
  13124. (a += " <a:bodyPr/><a:lstStyle/>"),
  13125. (a += " <a:p><a:pPr>"),
  13126. (a += ' <a:defRPr sz="'
  13127. .concat(Math.round(100 * (r.dataLabelFontSize || x)), '" b="')
  13128. .concat(r.dataLabelFontBold ? 1 : 0, '" i="')
  13129. .concat(r.dataLabelFontItalic ? 1 : 0, '" u="none" strike="noStrike">')),
  13130. (a += " <a:solidFill>" + ce(r.dataLabelColor || w) + "</a:solidFill>"),
  13131. (a += ' <a:latin typeface="'.concat(r.dataLabelFontFace || "Arial", '"/>')),
  13132. (a += " </a:defRPr>"),
  13133. (a += " </a:pPr></a:p>"),
  13134. (a += " </c:txPr>"),
  13135. e === V.PIE && r.dataLabelPosition && (a += ' <c:dLblPos val="'.concat(r.dataLabelPosition, '"/>')),
  13136. (a += ' <c:showLegendKey val="0"/>'),
  13137. (a += ' <c:showVal val="' + (r.showValue ? "1" : "0") + '"/>'),
  13138. (a += ' <c:showCatName val="' + (r.showLabel ? "1" : "0") + '"/>'),
  13139. (a += ' <c:showSerName val="' + (r.showSerName ? "1" : "0") + '"/>'),
  13140. (a += ' <c:showPercent val="' + (r.showPercent ? "1" : "0") + '"/>'),
  13141. (a += ' <c:showBubbleSize val="0"/>'),
  13142. (a += " </c:dLbl>")
  13143. }),
  13144. (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  13145. (a += "\t<c:txPr>"),
  13146. (a += "\t <a:bodyPr/>"),
  13147. (a += "\t <a:lstStyle/>"),
  13148. (a += "\t <a:p>"),
  13149. (a += "\t\t<a:pPr>"),
  13150. (a +=
  13151. '\t\t <a:defRPr sz="1800" b="' +
  13152. (r.dataLabelFontBold ? 1 : 0) +
  13153. '" i="' +
  13154. (r.dataLabelFontItalic ? 1 : 0) +
  13155. '" u="none" strike="noStrike">'),
  13156. (a += '\t\t\t<a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>'),
  13157. (a += "\t\t </a:defRPr>"),
  13158. (a += "\t\t</a:pPr>"),
  13159. (a += "\t </a:p>"),
  13160. (a += "\t</c:txPr>"),
  13161. (a += e === V.PIE ? '<c:dLblPos val="ctr"/>' : ""),
  13162. (a += '\t<c:showLegendKey val="0"/>'),
  13163. (a += '\t<c:showVal val="0"/>'),
  13164. (a += '\t<c:showCatName val="1"/>'),
  13165. (a += '\t<c:showSerName val="0"/>'),
  13166. (a += '\t<c:showPercent val="1"/>'),
  13167. (a += '\t<c:showBubbleSize val="0"/>'),
  13168. (a += ' <c:showLeaderLines val="'.concat(r.showLeaderLines ? "1" : "0", '"/>')),
  13169. (a += "</c:dLbls>"),
  13170. (a += "<c:cat>"),
  13171. (a += " <c:strRef>"),
  13172. (a += " <c:f>Sheet1!$A$2:$A$" + (c.labels[0].length + 1) + "</c:f>"),
  13173. (a += " <c:strCache>"),
  13174. (a += '\t <c:ptCount val="' + c.labels[0].length + '"/>'),
  13175. c.labels[0].forEach(function (e, t) {
  13176. a += '<c:pt idx="' + t + '"><c:v>' + ne(e) + "</c:v></c:pt>"
  13177. }),
  13178. (a += " </c:strCache>"),
  13179. (a += " </c:strRef>"),
  13180. (a += "</c:cat>"),
  13181. (a += " <c:val>"),
  13182. (a += " <c:numRef>"),
  13183. (a += " <c:f>Sheet1!$B$2:$B$" + (c.labels[0].length + 1) + "</c:f>"),
  13184. (a += " <c:numCache>"),
  13185. (a += '\t <c:ptCount val="' + c.labels[0].length + '"/>'),
  13186. c.values.forEach(function (e, t) {
  13187. a += '<c:pt idx="' + t + '"><c:v>' + (e || 0 === e ? e : "") + "</c:v></c:pt>"
  13188. }),
  13189. (a += " </c:numCache>"),
  13190. (a += " </c:numRef>"),
  13191. (a += " </c:val>"),
  13192. (a += " </c:ser>"),
  13193. (a += ' <c:firstSliceAng val="'.concat(r.firstSliceAng ? Math.round(r.firstSliceAng) : 0, '"/>')),
  13194. e === V.DOUGHNUT && (a += ' <c:holeSize val="' + (r.holeSize || 50) + '"/>'),
  13195. (a += "</c:" + e + "Chart>")
  13196. break
  13197. default:
  13198. a += ""
  13199. break
  13200. }
  13201. return a
  13202. }
  13203. function ut(e, t, r) {
  13204. var n = ""
  13205. return (
  13206. e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D
  13207. ? (n += "<c:valAx>")
  13208. : (n += "<c:" + (e.catLabelFormatCode ? "dateAx" : "catAx") + ">"),
  13209. (n += ' <c:axId val="' + t + '"/>'),
  13210. (n += " <c:scaling>"),
  13211. (n += '<c:orientation val="' + (e.catAxisOrientation || (e.barDir, "minMax")) + '"/>'),
  13212. (e.catAxisMaxVal || 0 === e.catAxisMaxVal) && (n += '<c:max val="' + e.catAxisMaxVal + '"/>'),
  13213. (e.catAxisMinVal || 0 === e.catAxisMinVal) && (n += '<c:min val="' + e.catAxisMinVal + '"/>'),
  13214. (n += "</c:scaling>"),
  13215. (n += ' <c:delete val="' + (e.catAxisHidden ? 1 : 0) + '"/>'),
  13216. (n += ' <c:axPos val="' + ("col" === e.barDir ? "b" : "l") + '"/>'),
  13217. (n += "none" !== e.catGridLine.style ? gt(e.catGridLine) : ""),
  13218. e.showCatAxisTitle &&
  13219. (n += dt({
  13220. color: e.catAxisTitleColor,
  13221. fontFace: e.catAxisTitleFontFace,
  13222. fontSize: e.catAxisTitleFontSize,
  13223. titleRotate: e.catAxisTitleRotate,
  13224. title: e.catAxisTitle || "Axis Title"
  13225. })),
  13226. e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D
  13227. ? (n += ' <c:numFmt formatCode="' + (e.valAxisLabelFormatCode ? ne(e.valAxisLabelFormatCode) : "General") + '" sourceLinked="1"/>')
  13228. : (n += ' <c:numFmt formatCode="' + (ne(e.catLabelFormatCode) || "General") + '" sourceLinked="1"/>'),
  13229. e._type === V.SCATTER
  13230. ? ((n += ' <c:majorTickMark val="none"/>'), (n += ' <c:minorTickMark val="none"/>'), (n += ' <c:tickLblPos val="nextTo"/>'))
  13231. : ((n += ' <c:majorTickMark val="' + (e.catAxisMajorTickMark || "out") + '"/>'),
  13232. (n += ' <c:minorTickMark val="' + (e.catAxisMinorTickMark || "none") + '"/>'),
  13233. (n += ' <c:tickLblPos val="' + (e.catAxisLabelPos || ("col" === e.barDir ? "low" : "nextTo")) + '"/>')),
  13234. (n += " <c:spPr>"),
  13235. (n += ' <a:ln w="' + (e.catAxisLineSize ? oe(e.catAxisLineSize) : u) + '" cap="flat">'),
  13236. (n += !1 === e.catAxisLineShow ? "<a:noFill/>" : "<a:solidFill>" + ce(e.catAxisLineColor || b.color) + "</a:solidFill>"),
  13237. (n += ' <a:prstDash val="' + (e.catAxisLineStyle || "solid") + '"/>'),
  13238. (n += " <a:round/>"),
  13239. (n += " </a:ln>"),
  13240. (n += " </c:spPr>"),
  13241. (n += " <c:txPr>"),
  13242. (n += " <a:bodyPr" + (e.catAxisLabelRotate ? ' rot="' + ae(e.catAxisLabelRotate) + '"' : "") + "/>"),
  13243. (n += " <a:lstStyle/>"),
  13244. (n += " <a:p>"),
  13245. (n += " <a:pPr>"),
  13246. (n +=
  13247. ' <a:defRPr sz="' +
  13248. Math.round(100 * (e.catAxisLabelFontSize || x)) +
  13249. '" b="' +
  13250. (e.catAxisLabelFontBold ? 1 : 0) +
  13251. '" i="' +
  13252. (e.catAxisLabelFontItalic ? 1 : 0) +
  13253. '" u="none" strike="noStrike">'),
  13254. (n += " <a:solidFill>" + ce(e.catAxisLabelColor || w) + "</a:solidFill>"),
  13255. (n += ' <a:latin typeface="' + (e.catAxisLabelFontFace || "Arial") + '"/>'),
  13256. (n += " </a:defRPr>"),
  13257. (n += " </a:pPr>"),
  13258. (n += ' <a:endParaRPr lang="' + (e.lang || "en-US") + '"/>'),
  13259. (n += " </a:p>"),
  13260. (n += " </c:txPr>"),
  13261. (n += ' <c:crossAx val="' + r + '"/>'),
  13262. (n += " <c:"
  13263. .concat("number" === typeof e.valAxisCrossesAt ? "crossesAt" : "crosses", ' val="')
  13264. .concat(e.valAxisCrossesAt || "autoZero", '"/>')),
  13265. (n += ' <c:auto val="1"/>'),
  13266. (n += ' <c:lblAlgn val="ctr"/>'),
  13267. (n += ' <c:noMultiLvlLbl val="' + (e.catAxisMultiLevelLabels ? 0 : 1) + '"/>'),
  13268. e.catAxisLabelFrequency && (n += ' <c:tickLblSkip val="' + e.catAxisLabelFrequency + '"/>'),
  13269. (e.catLabelFormatCode || e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D) &&
  13270. (e.catLabelFormatCode &&
  13271. (["catAxisBaseTimeUnit", "catAxisMajorTimeUnit", "catAxisMinorTimeUnit"].forEach(function (t) {
  13272. !e[t] ||
  13273. ("string" === typeof e[t] && -1 !== ["days", "months", "years"].indexOf(e[t].toLowerCase())) ||
  13274. (console.warn("`" + t + "` must be one of: 'days','months','years' !"), (e[t] = null))
  13275. }),
  13276. e.catAxisBaseTimeUnit && (n += '<c:baseTimeUnit val="' + e.catAxisBaseTimeUnit.toLowerCase() + '"/>'),
  13277. e.catAxisMajorTimeUnit && (n += '<c:majorTimeUnit val="' + e.catAxisMajorTimeUnit.toLowerCase() + '"/>'),
  13278. e.catAxisMinorTimeUnit && (n += '<c:minorTimeUnit val="' + e.catAxisMinorTimeUnit.toLowerCase() + '"/>')),
  13279. e.catAxisMajorUnit && (n += '<c:majorUnit val="' + e.catAxisMajorUnit + '"/>'),
  13280. e.catAxisMinorUnit && (n += '<c:minorUnit val="' + e.catAxisMinorUnit + '"/>')),
  13281. e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D
  13282. ? (n += "</c:valAx>")
  13283. : (n += "</c:" + (e.catLabelFormatCode ? "dateAx" : "catAx") + ">"),
  13284. n
  13285. )
  13286. }
  13287. function ft(e, t) {
  13288. var r = t === P ? ("col" === e.barDir ? "l" : "b") : "col" !== e.barDir ? "r" : "t"
  13289. t === O && (r = "r")
  13290. var n = t === P ? j : R,
  13291. i = ""
  13292. if (
  13293. ((i += "<c:valAx>"),
  13294. (i += ' <c:axId val="' + t + '"/>'),
  13295. (i += " <c:scaling>"),
  13296. e.valAxisLogScaleBase && (i += '<c:logBase val="'.concat(e.valAxisLogScaleBase, '"/>')),
  13297. (i += '<c:orientation val="' + (e.valAxisOrientation || (e.barDir, "minMax")) + '"/>'),
  13298. (e.valAxisMaxVal || 0 === e.valAxisMaxVal) && (i += '<c:max val="' + e.valAxisMaxVal + '"/>'),
  13299. (e.valAxisMinVal || 0 === e.valAxisMinVal) && (i += '<c:min val="' + e.valAxisMinVal + '"/>'),
  13300. (i += " </c:scaling>"),
  13301. (i += ' <c:delete val="' + (e.valAxisHidden ? 1 : 0) + '"/>'),
  13302. (i += ' <c:axPos val="' + r + '"/>'),
  13303. "none" !== e.valGridLine.style && (i += gt(e.valGridLine)),
  13304. e.showValAxisTitle &&
  13305. (i += dt({
  13306. color: e.valAxisTitleColor,
  13307. fontFace: e.valAxisTitleFontFace,
  13308. fontSize: e.valAxisTitleFontSize,
  13309. titleRotate: e.valAxisTitleRotate,
  13310. title: e.valAxisTitle || "Axis Title"
  13311. })),
  13312. (i += '<c:numFmt formatCode="'.concat(e.valAxisLabelFormatCode ? ne(e.valAxisLabelFormatCode) : "General", '" sourceLinked="0"/>')),
  13313. e._type === V.SCATTER
  13314. ? ((i += ' <c:majorTickMark val="none"/>'), (i += ' <c:minorTickMark val="none"/>'), (i += ' <c:tickLblPos val="nextTo"/>'))
  13315. : ((i += ' <c:majorTickMark val="' + (e.valAxisMajorTickMark || "out") + '"/>'),
  13316. (i += ' <c:minorTickMark val="' + (e.valAxisMinorTickMark || "none") + '"/>'),
  13317. (i += ' <c:tickLblPos val="' + (e.valAxisLabelPos || ("col" === e.barDir ? "nextTo" : "low")) + '"/>')),
  13318. (i += " <c:spPr>"),
  13319. (i += ' <a:ln w="' + (e.valAxisLineSize ? oe(e.valAxisLineSize) : u) + '" cap="flat">'),
  13320. (i += !1 === e.valAxisLineShow ? "<a:noFill/>" : "<a:solidFill>" + ce(e.valAxisLineColor || b.color) + "</a:solidFill>"),
  13321. (i += ' <a:prstDash val="' + (e.valAxisLineStyle || "solid") + '"/>'),
  13322. (i += " <a:round/>"),
  13323. (i += " </a:ln>"),
  13324. (i += " </c:spPr>"),
  13325. (i += " <c:txPr>"),
  13326. (i += " <a:bodyPr" + (e.valAxisLabelRotate ? ' rot="' + ae(e.valAxisLabelRotate) + '"' : "") + "/>"),
  13327. (i += " <a:lstStyle/>"),
  13328. (i += " <a:p>"),
  13329. (i += " <a:pPr>"),
  13330. (i +=
  13331. ' <a:defRPr sz="' +
  13332. Math.round(100 * (e.valAxisLabelFontSize || x)) +
  13333. '" b="' +
  13334. (e.valAxisLabelFontBold ? 1 : 0) +
  13335. '" i="' +
  13336. (e.valAxisLabelFontItalic ? 1 : 0) +
  13337. '" u="none" strike="noStrike">'),
  13338. (i += " <a:solidFill>" + ce(e.valAxisLabelColor || w) + "</a:solidFill>"),
  13339. (i += ' <a:latin typeface="' + (e.valAxisLabelFontFace || "Arial") + '"/>'),
  13340. (i += " </a:defRPr>"),
  13341. (i += " </a:pPr>"),
  13342. (i += ' <a:endParaRPr lang="' + (e.lang || "en-US") + '"/>'),
  13343. (i += " </a:p>"),
  13344. (i += " </c:txPr>"),
  13345. (i += ' <c:crossAx val="' + n + '"/>'),
  13346. "number" === typeof e.catAxisCrossesAt)
  13347. )
  13348. i += ' <c:crossesAt val="' + e.catAxisCrossesAt + '"/>'
  13349. else if ("string" === typeof e.catAxisCrossesAt) i += ' <c:crosses val="' + e.catAxisCrossesAt + '"/>'
  13350. else {
  13351. var o = "r" === r || "t" === r,
  13352. a = o ? "max" : "autoZero"
  13353. i += ' <c:crosses val="' + a + '"/>'
  13354. }
  13355. return (
  13356. (i +=
  13357. ' <c:crossBetween val="' +
  13358. (e._type !== V.SCATTER &&
  13359. !(
  13360. Array.isArray(e._type) &&
  13361. e._type.filter(function (e) {
  13362. return e.type === V.AREA
  13363. }).length > 0
  13364. )
  13365. ? "between"
  13366. : "midCat") +
  13367. '"/>'),
  13368. e.valAxisMajorUnit && (i += ' <c:majorUnit val="' + e.valAxisMajorUnit + '"/>'),
  13369. e.valAxisDisplayUnit &&
  13370. (i += '<c:dispUnits><c:builtInUnit val="'
  13371. .concat(e.valAxisDisplayUnit, '"/>')
  13372. .concat(e.valAxisDisplayUnitLabel ? "<c:dispUnitsLbl/>" : "", "</c:dispUnits>")),
  13373. (i += "</c:valAx>"),
  13374. i
  13375. )
  13376. }
  13377. function pt(e, t, r) {
  13378. var n = ""
  13379. return (
  13380. (n += "<c:serAx>"),
  13381. (n += ' <c:axId val="' + t + '"/>'),
  13382. (n += ' <c:scaling><c:orientation val="' + (e.serAxisOrientation || (e.barDir, "minMax")) + '"/></c:scaling>'),
  13383. (n += ' <c:delete val="' + (e.serAxisHidden ? 1 : 0) + '"/>'),
  13384. (n += ' <c:axPos val="' + ("col" === e.barDir ? "b" : "l") + '"/>'),
  13385. (n += "none" !== e.serGridLine.style ? gt(e.serGridLine) : ""),
  13386. e.showSerAxisTitle &&
  13387. (n += dt({
  13388. color: e.serAxisTitleColor,
  13389. fontFace: e.serAxisTitleFontFace,
  13390. fontSize: e.serAxisTitleFontSize,
  13391. titleRotate: e.serAxisTitleRotate,
  13392. title: e.serAxisTitle || "Axis Title"
  13393. })),
  13394. (n += ' <c:numFmt formatCode="'.concat(ne(e.serLabelFormatCode) || "General", '" sourceLinked="0"/>')),
  13395. (n += ' <c:majorTickMark val="out"/>'),
  13396. (n += ' <c:minorTickMark val="none"/>'),
  13397. (n += ' <c:tickLblPos val="' + (e.serAxisLabelPos || "col" === e.barDir ? "low" : "nextTo") + '"/>'),
  13398. (n += " <c:spPr>"),
  13399. (n += ' <a:ln w="12700" cap="flat">'),
  13400. (n += !1 === e.serAxisLineShow ? "<a:noFill/>" : "<a:solidFill>" + ce(e.serAxisLineColor || b.color) + "</a:solidFill>"),
  13401. (n += ' <a:prstDash val="solid"/>'),
  13402. (n += " <a:round/>"),
  13403. (n += " </a:ln>"),
  13404. (n += " </c:spPr>"),
  13405. (n += " <c:txPr>"),
  13406. (n += " <a:bodyPr/>"),
  13407. (n += " <a:lstStyle/>"),
  13408. (n += " <a:p>"),
  13409. (n += " <a:pPr>"),
  13410. (n += ' <a:defRPr sz="'
  13411. .concat(Math.round(100 * (e.serAxisLabelFontSize || x)), '" b="')
  13412. .concat(e.serAxisLabelFontBold || 0, '" i="')
  13413. .concat(e.serAxisLabelFontItalic || 0, '" u="none" strike="noStrike">')),
  13414. (n += " <a:solidFill>" + ce(e.serAxisLabelColor || w) + "</a:solidFill>"),
  13415. (n += ' <a:latin typeface="' + (e.serAxisLabelFontFace || "Arial") + '"/>'),
  13416. (n += " </a:defRPr>"),
  13417. (n += " </a:pPr>"),
  13418. (n += ' <a:endParaRPr lang="' + (e.lang || "en-US") + '"/>'),
  13419. (n += " </a:p>"),
  13420. (n += " </c:txPr>"),
  13421. (n += ' <c:crossAx val="' + r + '"/>'),
  13422. (n += ' <c:crosses val="autoZero"/>'),
  13423. e.serAxisLabelFrequency && (n += ' <c:tickLblSkip val="' + e.serAxisLabelFrequency + '"/>'),
  13424. e.serLabelFormatCode &&
  13425. (["serAxisBaseTimeUnit", "serAxisMajorTimeUnit", "serAxisMinorTimeUnit"].forEach(function (t) {
  13426. !e[t] ||
  13427. ("string" === typeof e[t] && -1 !== ["days", "months", "years"].indexOf(t.toLowerCase())) ||
  13428. (console.warn("`" + t + "` must be one of: 'days','months','years' !"), (e[t] = null))
  13429. }),
  13430. e.serAxisBaseTimeUnit && (n += ' <c:baseTimeUnit val="' + e.serAxisBaseTimeUnit.toLowerCase() + '"/>'),
  13431. e.serAxisMajorTimeUnit && (n += ' <c:majorTimeUnit val="' + e.serAxisMajorTimeUnit.toLowerCase() + '"/>'),
  13432. e.serAxisMinorTimeUnit && (n += ' <c:minorTimeUnit val="' + e.serAxisMinorTimeUnit.toLowerCase() + '"/>'),
  13433. e.serAxisMajorUnit && (n += ' <c:majorUnit val="' + e.serAxisMajorUnit + '"/>'),
  13434. e.serAxisMinorUnit && (n += ' <c:minorUnit val="' + e.serAxisMinorUnit + '"/>')),
  13435. (n += "</c:serAx>"),
  13436. n
  13437. )
  13438. }
  13439. function dt(e, t, r) {
  13440. var n = "left" === e.titleAlign || "right" === e.titleAlign ? '<a:pPr algn="'.concat(e.titleAlign.substring(0, 1), '">') : "<a:pPr>",
  13441. i = e.titleRotate ? '<a:bodyPr rot="'.concat(ae(e.titleRotate), '"/>') : "<a:bodyPr/>",
  13442. o = e.fontSize ? 'sz="' + Math.round(100 * e.fontSize) + '"' : "",
  13443. a = !0 === e.titleBold ? 1 : 0,
  13444. s = "<c:layout/>"
  13445. if (e.titlePos && "number" === typeof e.titlePos.x && "number" === typeof e.titlePos.y) {
  13446. var l = e.titlePos.x + t,
  13447. c = e.titlePos.y + r,
  13448. u = 0 === l ? 0 : (l * (l / 5)) / 10
  13449. u >= 1 && (u /= 10), u >= 0.1 && (u /= 10)
  13450. var f = 0 === c ? 0 : (c * (c / 5)) / 10
  13451. f >= 1 && (f /= 10),
  13452. f >= 0.1 && (f /= 10),
  13453. (s = '<c:layout><c:manualLayout><c:xMode val="edge"/><c:yMode val="edge"/><c:x val="'
  13454. .concat(u, '"/><c:y val="')
  13455. .concat(f, '"/></c:manualLayout></c:layout>'))
  13456. }
  13457. return "<c:title>\n\t <c:tx>\n\t <c:rich>\n\t "
  13458. .concat(i, "\n\t <a:lstStyle/>\n\t <a:p>\n\t ")
  13459. .concat(n, "\n\t <a:defRPr ")
  13460. .concat(o, ' b="')
  13461. .concat(a, '" i="0" u="none" strike="noStrike">\n\t <a:solidFill>')
  13462. .concat(ce(e.color || w), '</a:solidFill>\n\t <a:latin typeface="')
  13463. .concat(e.fontFace || "Arial", '"/>\n\t </a:defRPr>\n\t </a:pPr>\n\t <a:r>\n\t <a:rPr ')
  13464. .concat(o, ' b="')
  13465. .concat(a, '" i="0" u="none" strike="noStrike">\n\t <a:solidFill>')
  13466. .concat(ce(e.color || w), '</a:solidFill>\n\t <a:latin typeface="')
  13467. .concat(e.fontFace || "Arial", '"/>\n\t </a:rPr>\n\t <a:t>')
  13468. .concat(ne(e.title) || "", "</a:t>\n\t </a:r>\n\t </a:p>\n\t </c:rich>\n\t </c:tx>\n\t ")
  13469. .concat(s, '\n\t <c:overlay val="0"/>\n\t</c:title>')
  13470. }
  13471. function ht(e) {
  13472. var t = "",
  13473. r = e - 1
  13474. return (t = r <= 25 ? N[r] : "".concat(N[Math.floor(r / N.length - 1)]).concat(N[r % N.length])), t
  13475. }
  13476. function mt(e, t) {
  13477. if (!e) return "<a:effectLst/>"
  13478. if ("object" !== typeof e) return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"), "<a:effectLst/>"
  13479. var r = "<a:effectLst>",
  13480. n = re(t, e),
  13481. i = n["type"] || "outer",
  13482. o = oe(n["blur"]),
  13483. a = oe(n["offset"]),
  13484. s = Math.round(6e4 * n["angle"]),
  13485. l = n["color"],
  13486. c = Math.round(1e5 * n["opacity"]),
  13487. u = n["rotateWithShape"] ? 1 : 0
  13488. return (
  13489. (r += "<a:" + i + 'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="' + o + '" '),
  13490. (r += 'rotWithShape="' + +u + '"'),
  13491. (r += ' dist="' + a + '" dir="' + s + '">'),
  13492. (r += '<a:srgbClr val="' + l + '">'),
  13493. (r += '<a:alpha val="' + c + '"/></a:srgbClr>'),
  13494. (r += "</a:" + i + "Shdw>"),
  13495. (r += "</a:effectLst>"),
  13496. r
  13497. )
  13498. }
  13499. function gt(e) {
  13500. var t = "<c:majorGridlines>"
  13501. return (
  13502. (t += " <c:spPr>"),
  13503. (t += ' <a:ln w="' + oe(e.size || b.size) + '" cap="flat">'),
  13504. (t += ' <a:solidFill><a:srgbClr val="' + (e.color || b.color) + '"/></a:solidFill>'),
  13505. (t += ' <a:prstDash val="' + (e.style || b.style) + '"/><a:round/>'),
  13506. (t += " </a:ln>"),
  13507. (t += " </c:spPr>"),
  13508. (t += "</c:majorGridlines>"),
  13509. t
  13510. )
  13511. }
  13512. function yt(t) {
  13513. var n = "undefined" === typeof window ? r(0) : null,
  13514. i = "undefined" === typeof window ? r(1) : null,
  13515. o = [],
  13516. a = t._relsMedia.filter(function (e) {
  13517. return "online" !== e.type && !e.data && (!e.path || (e.path && -1 === e.path.indexOf("preencoded")))
  13518. }),
  13519. s = []
  13520. return (
  13521. a.forEach(function (e) {
  13522. ;-1 === s.indexOf(e.path) ? ((e.isDuplicate = !1), s.push(e.path)) : (e.isDuplicate = !0)
  13523. }),
  13524. a
  13525. .filter(function (e) {
  13526. return !e.isDuplicate
  13527. })
  13528. .forEach(function (t) {
  13529. o.push(
  13530. new Promise(function (r, o) {
  13531. if (n && Object.values(n).length > 0 && 0 !== t.path.indexOf("http"))
  13532. try {
  13533. var s = n.readFileSync(t.path)
  13534. ;(t.data = e.from(s).toString("base64")),
  13535. a
  13536. .filter(function (e) {
  13537. return e.isDuplicate && e.path === t.path
  13538. })
  13539. .forEach(function (e) {
  13540. return (e.data = t.data)
  13541. }),
  13542. r("done")
  13543. } catch (c) {
  13544. ;(t.data = J),
  13545. a
  13546. .filter(function (e) {
  13547. return e.isDuplicate && e.path === t.path
  13548. })
  13549. .forEach(function (e) {
  13550. return (e.data = t.data)
  13551. }),
  13552. o('ERROR: Unable to read media: "' + t.path + '"\n' + c.toString())
  13553. }
  13554. else if (n && Object.values(n).length > 0 && Object.values(i).length > 0 && i && 0 === t.path.indexOf("http"))
  13555. i.get(t.path, function (n) {
  13556. var i = ""
  13557. n.setEncoding("binary"),
  13558. n.on("data", function (e) {
  13559. return (i += e)
  13560. }),
  13561. n.on("end", function () {
  13562. ;(t.data = e.from(i, "binary").toString("base64")),
  13563. a
  13564. .filter(function (e) {
  13565. return e.isDuplicate && e.path === t.path
  13566. })
  13567. .forEach(function (e) {
  13568. return (e.data = t.data)
  13569. }),
  13570. r("done")
  13571. }),
  13572. n.on("error", function (e) {
  13573. ;(t.data = J),
  13574. a
  13575. .filter(function (e) {
  13576. return e.isDuplicate && e.path === t.path
  13577. })
  13578. .forEach(function (e) {
  13579. return (e.data = t.data)
  13580. }),
  13581. o("ERROR! Unable to load image (https.get): ".concat(t.path))
  13582. })
  13583. })
  13584. else {
  13585. var l = new XMLHttpRequest()
  13586. ;(l.onload = function () {
  13587. var e = new FileReader()
  13588. ;(e.onloadend = function () {
  13589. ;(t.data = e.result),
  13590. a
  13591. .filter(function (e) {
  13592. return e.isDuplicate && e.path === t.path
  13593. })
  13594. .forEach(function (e) {
  13595. return (e.data = t.data)
  13596. }),
  13597. t.isSvgPng
  13598. ? vt(t)
  13599. .then(function () {
  13600. r("done")
  13601. })
  13602. .catch(function (e) {
  13603. o(e)
  13604. })
  13605. : r("done")
  13606. }),
  13607. e.readAsDataURL(l.response)
  13608. }),
  13609. (l.onerror = function (e) {
  13610. ;(t.data = J),
  13611. a
  13612. .filter(function (e) {
  13613. return e.isDuplicate && e.path === t.path
  13614. })
  13615. .forEach(function (e) {
  13616. return (e.data = t.data)
  13617. }),
  13618. o("ERROR! Unable to load image (xhr.onerror): ".concat(t.path))
  13619. }),
  13620. l.open("GET", t.path),
  13621. (l.responseType = "blob"),
  13622. l.send()
  13623. }
  13624. })
  13625. )
  13626. }),
  13627. t._relsMedia
  13628. .filter(function (e) {
  13629. return e.isSvgPng && e.data
  13630. })
  13631. .forEach(function (e) {
  13632. n
  13633. ? ((e.data = J),
  13634. o.push(
  13635. Promise.resolve().then(function () {
  13636. return "done"
  13637. })
  13638. ))
  13639. : o.push(vt(e))
  13640. }),
  13641. o
  13642. )
  13643. }
  13644. function vt(e) {
  13645. return new Promise(function (t, r) {
  13646. var n = new Image()
  13647. ;(n.onload = function () {
  13648. n.width + n.height === 0 && n.onerror("h/w=0")
  13649. var r = document.createElement("CANVAS"),
  13650. i = r.getContext("2d")
  13651. ;(r.width = n.width), (r.height = n.height), i.drawImage(n, 0, 0)
  13652. try {
  13653. ;(e.data = r.toDataURL(e.type)), t("done")
  13654. } catch (o) {
  13655. n.onerror(o)
  13656. }
  13657. r = null
  13658. }),
  13659. (n.onerror = function (t) {
  13660. ;(e.data = J), r("ERROR! Unable to load image (image.onerror): ".concat(e.path))
  13661. }),
  13662. (n.src = "string" === typeof e.data ? e.data : J)
  13663. })
  13664. }
  13665. var bt = "3.11.0",
  13666. wt = (function () {
  13667. function e() {
  13668. var e = this
  13669. ;(this._version = bt),
  13670. (this._alignH = q),
  13671. (this._alignV = G),
  13672. (this._chartType = F),
  13673. (this._outputType = B),
  13674. (this._schemeColor = z),
  13675. (this._shapeType = U),
  13676. (this._charts = V),
  13677. (this._colors = H),
  13678. (this._shapes = W),
  13679. (this.addNewSlide = function (t) {
  13680. var r =
  13681. e.sections.length > 0 &&
  13682. e.sections[e.sections.length - 1]._slides.filter(function (t) {
  13683. return t._slideNum === e.slides[e.slides.length - 1]._slideNum
  13684. }).length > 0
  13685. return e.addSlide({
  13686. masterName: t,
  13687. sectionTitle: r ? e.sections[e.sections.length - 1].title : null
  13688. })
  13689. }),
  13690. (this.getSlide = function (t) {
  13691. return e.slides.filter(function (e) {
  13692. return e._slideNum === t
  13693. })[0]
  13694. }),
  13695. (this.setSlideNumber = function (t) {
  13696. ;(e.masterSlide._slideNumberProps = t),
  13697. (e.slideLayouts.filter(function (e) {
  13698. return e._name === T
  13699. })[0]._slideNumberProps = t)
  13700. }),
  13701. (this.createChartMediaRels = function (e, t, r) {
  13702. e._relsChart.forEach(function (e) {
  13703. return r.push(st(e, t))
  13704. }),
  13705. e._relsMedia.forEach(function (e) {
  13706. if ("online" !== e.type && "hyperlink" !== e.type) {
  13707. var r = e.data && "string" === typeof e.data ? e.data : ""
  13708. ;(-1 === r.indexOf(",") && -1 === r.indexOf(";")) || -1 === r.indexOf(",")
  13709. ? (r = "image/png;base64," + r)
  13710. : -1 === r.indexOf(";") && (r = "image/png;" + r),
  13711. t.file(e.Target.replace("..", "ppt"), r.split(",").pop(), {
  13712. base64: !0
  13713. })
  13714. }
  13715. })
  13716. }),
  13717. (this.writeFileToBrowser = function (e, t) {
  13718. var r = document.createElement("a")
  13719. if (
  13720. (r.setAttribute("style", "display:none;"),
  13721. (r.dataset.interception = "off"),
  13722. document.body.appendChild(r),
  13723. window.URL.createObjectURL)
  13724. ) {
  13725. var n = window.URL.createObjectURL(
  13726. new Blob([t], {
  13727. type: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
  13728. })
  13729. )
  13730. return (
  13731. (r.href = n),
  13732. (r.download = e),
  13733. r.click(),
  13734. setTimeout(function () {
  13735. window.URL.revokeObjectURL(n), document.body.removeChild(r)
  13736. }, 100),
  13737. Promise.resolve(e)
  13738. )
  13739. }
  13740. }),
  13741. (this.exportPresentation = function (t) {
  13742. var r = [],
  13743. n = [],
  13744. o = new i.a()
  13745. return (
  13746. e.slides.forEach(function (e) {
  13747. n = n.concat(yt(e))
  13748. }),
  13749. e.slideLayouts.forEach(function (e) {
  13750. n = n.concat(yt(e))
  13751. }),
  13752. (n = n.concat(yt(e.masterSlide))),
  13753. Promise.all(n).then(function () {
  13754. return (
  13755. e.slides.forEach(function (e) {
  13756. e._slideLayout && nt(e)
  13757. }),
  13758. o.folder("_rels"),
  13759. o.folder("docProps"),
  13760. o.folder("ppt").folder("_rels"),
  13761. o.folder("ppt/charts").folder("_rels"),
  13762. o.folder("ppt/embeddings"),
  13763. o.folder("ppt/media"),
  13764. o.folder("ppt/slideLayouts").folder("_rels"),
  13765. o.folder("ppt/slideMasters").folder("_rels"),
  13766. o.folder("ppt/slides").folder("_rels"),
  13767. o.folder("ppt/theme"),
  13768. o.folder("ppt/notesMasters").folder("_rels"),
  13769. o.folder("ppt/notesSlides").folder("_rels"),
  13770. o.file("[Content_Types].xml", Ee(e.slides, e.slideLayouts, e.masterSlide)),
  13771. o.file("_rels/.rels", Se()),
  13772. o.file("docProps/app.xml", Ce(e.slides, e.company)),
  13773. o.file("docProps/core.xml", ke(e.title, e.subject, e.author, e.revision)),
  13774. o.file("ppt/_rels/presentation.xml.rels", Le(e.slides)),
  13775. o.file("ppt/theme/theme1.xml", qe()),
  13776. o.file("ppt/presentation.xml", Ge(e)),
  13777. o.file("ppt/presProps.xml", We()),
  13778. o.file("ppt/tableStyles.xml", Ve()),
  13779. o.file("ppt/viewProps.xml", He()),
  13780. e.slideLayouts.forEach(function (t, r) {
  13781. o.file("ppt/slideLayouts/slideLayout" + (r + 1) + ".xml", Ie(t)),
  13782. o.file("ppt/slideLayouts/_rels/slideLayout" + (r + 1) + ".xml.rels", Me(r + 1, e.slideLayouts))
  13783. }),
  13784. e.slides.forEach(function (t, r) {
  13785. o.file("ppt/slides/slide" + (r + 1) + ".xml", Pe(t)),
  13786. o.file("ppt/slides/_rels/slide" + (r + 1) + ".xml.rels", De(e.slides, e.slideLayouts, r + 1)),
  13787. o.file("ppt/notesSlides/notesSlide" + (r + 1) + ".xml", Re(t)),
  13788. o.file("ppt/notesSlides/_rels/notesSlide" + (r + 1) + ".xml.rels", Be(r + 1))
  13789. }),
  13790. o.file("ppt/slideMasters/slideMaster1.xml", Ne(e.masterSlide, e.slideLayouts)),
  13791. o.file("ppt/slideMasters/_rels/slideMaster1.xml.rels", Fe(e.masterSlide, e.slideLayouts)),
  13792. o.file("ppt/notesMasters/notesMaster1.xml", je()),
  13793. o.file("ppt/notesMasters/_rels/notesMaster1.xml.rels", Ue()),
  13794. e.slideLayouts.forEach(function (t) {
  13795. e.createChartMediaRels(t, o, r)
  13796. }),
  13797. e.slides.forEach(function (t) {
  13798. e.createChartMediaRels(t, o, r)
  13799. }),
  13800. e.createChartMediaRels(e.masterSlide, o, r),
  13801. Promise.all(r).then(function () {
  13802. return "STREAM" === t.outputType
  13803. ? o.generateAsync({
  13804. type: "nodebuffer",
  13805. compression: t.compression ? "DEFLATE" : "STORE"
  13806. })
  13807. : t.outputType
  13808. ? o.generateAsync({
  13809. type: t.outputType
  13810. })
  13811. : o.generateAsync({
  13812. type: "blob",
  13813. compression: t.compression ? "DEFLATE" : "STORE"
  13814. })
  13815. })
  13816. )
  13817. })
  13818. )
  13819. }),
  13820. (this.LAYOUTS = {
  13821. LAYOUT_4x3: {
  13822. name: "screen4x3",
  13823. width: 9144e3,
  13824. height: 6858e3
  13825. },
  13826. LAYOUT_16x9: {
  13827. name: "screen16x9",
  13828. width: 9144e3,
  13829. height: 5143500
  13830. },
  13831. LAYOUT_16x10: {
  13832. name: "screen16x10",
  13833. width: 9144e3,
  13834. height: 5715e3
  13835. },
  13836. LAYOUT_WIDE: {
  13837. name: "custom",
  13838. width: 12192e3,
  13839. height: 6858e3
  13840. }
  13841. }),
  13842. (this._author = "PptxGenJS"),
  13843. (this._company = "PptxGenJS"),
  13844. (this._revision = "1"),
  13845. (this._subject = "PptxGenJS Presentation"),
  13846. (this._title = "PptxGenJS Presentation"),
  13847. (this._presLayout = {
  13848. name: this.LAYOUTS[_].name,
  13849. _sizeW: this.LAYOUTS[_].width,
  13850. _sizeH: this.LAYOUTS[_].height,
  13851. width: this.LAYOUTS[_].width,
  13852. height: this.LAYOUTS[_].height
  13853. }),
  13854. (this._rtlMode = !1),
  13855. (this._slideLayouts = [
  13856. {
  13857. _margin: C,
  13858. _name: T,
  13859. _presLayout: this._presLayout,
  13860. _rels: [],
  13861. _relsChart: [],
  13862. _relsMedia: [],
  13863. _slide: null,
  13864. _slideNum: 1e3,
  13865. _slideNumberProps: null,
  13866. _slideObjects: []
  13867. }
  13868. ]),
  13869. (this._slides = []),
  13870. (this._sections = []),
  13871. (this._masterSlide = {
  13872. addChart: null,
  13873. addImage: null,
  13874. addMedia: null,
  13875. addNotes: null,
  13876. addShape: null,
  13877. addTable: null,
  13878. addText: null,
  13879. _name: null,
  13880. _presLayout: this._presLayout,
  13881. _rId: null,
  13882. _rels: [],
  13883. _relsChart: [],
  13884. _relsMedia: [],
  13885. _slideId: null,
  13886. _slideLayout: null,
  13887. _slideNum: null,
  13888. _slideNumberProps: null,
  13889. _slideObjects: []
  13890. })
  13891. }
  13892. return (
  13893. Object.defineProperty(e.prototype, "layout", {
  13894. get: function () {
  13895. return this._layout
  13896. },
  13897. set: function (e) {
  13898. var t = this.LAYOUTS[e]
  13899. if (!t) throw new Error("UNKNOWN-LAYOUT")
  13900. ;(this._layout = e), (this._presLayout = t)
  13901. },
  13902. enumerable: !1,
  13903. configurable: !0
  13904. }),
  13905. Object.defineProperty(e.prototype, "version", {
  13906. get: function () {
  13907. return this._version
  13908. },
  13909. enumerable: !1,
  13910. configurable: !0
  13911. }),
  13912. Object.defineProperty(e.prototype, "author", {
  13913. get: function () {
  13914. return this._author
  13915. },
  13916. set: function (e) {
  13917. this._author = e
  13918. },
  13919. enumerable: !1,
  13920. configurable: !0
  13921. }),
  13922. Object.defineProperty(e.prototype, "company", {
  13923. get: function () {
  13924. return this._company
  13925. },
  13926. set: function (e) {
  13927. this._company = e
  13928. },
  13929. enumerable: !1,
  13930. configurable: !0
  13931. }),
  13932. Object.defineProperty(e.prototype, "revision", {
  13933. get: function () {
  13934. return this._revision
  13935. },
  13936. set: function (e) {
  13937. this._revision = e
  13938. },
  13939. enumerable: !1,
  13940. configurable: !0
  13941. }),
  13942. Object.defineProperty(e.prototype, "subject", {
  13943. get: function () {
  13944. return this._subject
  13945. },
  13946. set: function (e) {
  13947. this._subject = e
  13948. },
  13949. enumerable: !1,
  13950. configurable: !0
  13951. }),
  13952. Object.defineProperty(e.prototype, "title", {
  13953. get: function () {
  13954. return this._title
  13955. },
  13956. set: function (e) {
  13957. this._title = e
  13958. },
  13959. enumerable: !1,
  13960. configurable: !0
  13961. }),
  13962. Object.defineProperty(e.prototype, "rtlMode", {
  13963. get: function () {
  13964. return this._rtlMode
  13965. },
  13966. set: function (e) {
  13967. this._rtlMode = e
  13968. },
  13969. enumerable: !1,
  13970. configurable: !0
  13971. }),
  13972. Object.defineProperty(e.prototype, "masterSlide", {
  13973. get: function () {
  13974. return this._masterSlide
  13975. },
  13976. enumerable: !1,
  13977. configurable: !0
  13978. }),
  13979. Object.defineProperty(e.prototype, "slides", {
  13980. get: function () {
  13981. return this._slides
  13982. },
  13983. enumerable: !1,
  13984. configurable: !0
  13985. }),
  13986. Object.defineProperty(e.prototype, "sections", {
  13987. get: function () {
  13988. return this._sections
  13989. },
  13990. enumerable: !1,
  13991. configurable: !0
  13992. }),
  13993. Object.defineProperty(e.prototype, "slideLayouts", {
  13994. get: function () {
  13995. return this._slideLayouts
  13996. },
  13997. enumerable: !1,
  13998. configurable: !0
  13999. }),
  14000. Object.defineProperty(e.prototype, "AlignH", {
  14001. get: function () {
  14002. return this._alignH
  14003. },
  14004. enumerable: !1,
  14005. configurable: !0
  14006. }),
  14007. Object.defineProperty(e.prototype, "AlignV", {
  14008. get: function () {
  14009. return this._alignV
  14010. },
  14011. enumerable: !1,
  14012. configurable: !0
  14013. }),
  14014. Object.defineProperty(e.prototype, "ChartType", {
  14015. get: function () {
  14016. return this._chartType
  14017. },
  14018. enumerable: !1,
  14019. configurable: !0
  14020. }),
  14021. Object.defineProperty(e.prototype, "OutputType", {
  14022. get: function () {
  14023. return this._outputType
  14024. },
  14025. enumerable: !1,
  14026. configurable: !0
  14027. }),
  14028. Object.defineProperty(e.prototype, "presLayout", {
  14029. get: function () {
  14030. return this._presLayout
  14031. },
  14032. enumerable: !1,
  14033. configurable: !0
  14034. }),
  14035. Object.defineProperty(e.prototype, "SchemeColor", {
  14036. get: function () {
  14037. return this._schemeColor
  14038. },
  14039. enumerable: !1,
  14040. configurable: !0
  14041. }),
  14042. Object.defineProperty(e.prototype, "ShapeType", {
  14043. get: function () {
  14044. return this._shapeType
  14045. },
  14046. enumerable: !1,
  14047. configurable: !0
  14048. }),
  14049. Object.defineProperty(e.prototype, "charts", {
  14050. get: function () {
  14051. return this._charts
  14052. },
  14053. enumerable: !1,
  14054. configurable: !0
  14055. }),
  14056. Object.defineProperty(e.prototype, "colors", {
  14057. get: function () {
  14058. return this._colors
  14059. },
  14060. enumerable: !1,
  14061. configurable: !0
  14062. }),
  14063. Object.defineProperty(e.prototype, "shapes", {
  14064. get: function () {
  14065. return this._shapes
  14066. },
  14067. enumerable: !1,
  14068. configurable: !0
  14069. }),
  14070. (e.prototype.stream = function (e) {
  14071. var t = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression
  14072. return this.exportPresentation({
  14073. compression: t,
  14074. outputType: "STREAM"
  14075. })
  14076. }),
  14077. (e.prototype.write = function (e) {
  14078. var t = "object" === typeof e && e.hasOwnProperty("outputType") ? e.outputType : e || null,
  14079. r = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression
  14080. return this.exportPresentation({
  14081. compression: r,
  14082. outputType: t
  14083. })
  14084. }),
  14085. (e.prototype.writeFile = function (e) {
  14086. var t = this,
  14087. n = "undefined" === typeof window ? r(0) : null
  14088. "string" === typeof e &&
  14089. console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)")
  14090. var i = "object" === typeof e && e.hasOwnProperty("fileName") ? e.fileName : "string" === typeof e ? e : "",
  14091. o = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression,
  14092. a = i ? (i.toString().toLowerCase().endsWith(".pptx") ? i : i + ".pptx") : "Presentation.pptx"
  14093. return this.exportPresentation({
  14094. compression: o,
  14095. outputType: n ? "nodebuffer" : null
  14096. }).then(function (e) {
  14097. return n
  14098. ? new Promise(function (t, r) {
  14099. n.writeFile(a, e, function (e) {
  14100. e ? r(e) : t(a)
  14101. })
  14102. })
  14103. : t.writeFileToBrowser(a, e)
  14104. })
  14105. }),
  14106. (e.prototype.addSection = function (e) {
  14107. e ? e.title || console.warn("addSection requires a title") : console.warn("addSection requires an argument")
  14108. var t = {
  14109. _type: "user",
  14110. _slides: [],
  14111. title: e.title
  14112. }
  14113. e.order ? this.sections.splice(e.order, 0, t) : this._sections.push(t)
  14114. }),
  14115. (e.prototype.addSlide = function (e) {
  14116. var t = "string" === typeof e ? e : e && e.masterName ? e.masterName : "",
  14117. r = {
  14118. _name: this.LAYOUTS[_].name,
  14119. _presLayout: this.presLayout,
  14120. _rels: [],
  14121. _relsChart: [],
  14122. _relsMedia: [],
  14123. _slideNum: this.slides.length + 1
  14124. }
  14125. if (t) {
  14126. var n = this.slideLayouts.filter(function (e) {
  14127. return e._name === t
  14128. })[0]
  14129. n && (r = n)
  14130. }
  14131. var i = new at({
  14132. addSlide: this.addNewSlide,
  14133. getSlide: this.getSlide,
  14134. presLayout: this.presLayout,
  14135. setSlideNum: this.setSlideNumber,
  14136. slideId: this.slides.length + 256,
  14137. slideRId: this.slides.length + 2,
  14138. slideNumber: this.slides.length + 1,
  14139. slideLayout: r
  14140. })
  14141. if ((this._slides.push(i), e && e.sectionTitle)) {
  14142. var o = this.sections.filter(function (t) {
  14143. return t.title === e.sectionTitle
  14144. })[0]
  14145. o ? o._slides.push(i) : console.warn('addSlide: unable to find section with title: "'.concat(e.sectionTitle, '"'))
  14146. } else if (this.sections && this.sections.length > 0 && (!e || !e.sectionTitle)) {
  14147. var a = this._sections[this.sections.length - 1]
  14148. "default" === a._type
  14149. ? a._slides.push(i)
  14150. : this._sections.push({
  14151. title: "Default-".concat(
  14152. this.sections.filter(function (e) {
  14153. return "default" === e._type
  14154. }).length + 1
  14155. ),
  14156. _type: "default",
  14157. _slides: [i]
  14158. })
  14159. }
  14160. return i
  14161. }),
  14162. (e.prototype.defineLayout = function (e) {
  14163. e
  14164. ? e.name
  14165. ? e.width
  14166. ? e.height
  14167. ? "number" !== typeof e.height
  14168. ? console.warn("defineLayout `height` should be a number (inches)")
  14169. : "number" !== typeof e.width && console.warn("defineLayout `width` should be a number (inches)")
  14170. : console.warn("defineLayout requires `height`")
  14171. : console.warn("defineLayout requires `width`")
  14172. : console.warn("defineLayout requires `name`")
  14173. : console.warn("defineLayout requires `{name, width, height}`"),
  14174. (this.LAYOUTS[e.name] = {
  14175. name: e.name,
  14176. _sizeW: Math.round(Number(e.width) * c),
  14177. _sizeH: Math.round(Number(e.height) * c),
  14178. width: Math.round(Number(e.width) * c),
  14179. height: Math.round(Number(e.height) * c)
  14180. })
  14181. }),
  14182. (e.prototype.defineSlideMaster = function (e) {
  14183. if (!e.title)
  14184. throw new Error(
  14185. "defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)"
  14186. )
  14187. var t = {
  14188. _margin: e.margin || C,
  14189. _name: e.title,
  14190. _presLayout: this.presLayout,
  14191. _rels: [],
  14192. _relsChart: [],
  14193. _relsMedia: [],
  14194. _slide: null,
  14195. _slideNum: 1e3 + this.slideLayouts.length + 1,
  14196. _slideNumberProps: e.slideNumber || null,
  14197. _slideObjects: [],
  14198. background: e.background || null,
  14199. bkgd: e.bkgd || null
  14200. }
  14201. Ke(e, t),
  14202. this.slideLayouts.push(t),
  14203. (e.background || e.bkgd) && it(e.background, t),
  14204. t._slideNumberProps && !this.masterSlide._slideNumberProps && (this.masterSlide._slideNumberProps = t._slideNumberProps)
  14205. }),
  14206. (e.prototype.tableToSlides = function (e, t) {
  14207. void 0 === t && (t = {}),
  14208. me(
  14209. this,
  14210. e,
  14211. t,
  14212. t && t.masterSlideName
  14213. ? this.slideLayouts.filter(function (e) {
  14214. return e._name === t.masterSlideName
  14215. })[0]
  14216. : null
  14217. )
  14218. }),
  14219. e
  14220. )
  14221. })()
  14222. }).call(this, r("b639").Buffer)
  14223. },
  14224. "90e3": function (e, t) {
  14225. var r = 0,
  14226. n = Math.random()
  14227. e.exports = function (e) {
  14228. return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++r + n).toString(36)
  14229. }
  14230. },
  14231. 9112: function (e, t, r) {
  14232. var n = r("83ab"),
  14233. i = r("9bf2"),
  14234. o = r("5c6c")
  14235. e.exports = n
  14236. ? function (e, t, r) {
  14237. return i.f(e, t, o(1, r))
  14238. }
  14239. : function (e, t, r) {
  14240. return (e[t] = r), e
  14241. }
  14242. },
  14243. 9152: function (e, t) {
  14244. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  14245. ;(t.read = function (e, t, r, n, i) {
  14246. var o,
  14247. a,
  14248. s = 8 * i - n - 1,
  14249. l = (1 << s) - 1,
  14250. c = l >> 1,
  14251. u = -7,
  14252. f = r ? i - 1 : 0,
  14253. p = r ? -1 : 1,
  14254. d = e[t + f]
  14255. for (f += p, o = d & ((1 << -u) - 1), d >>= -u, u += s; u > 0; o = 256 * o + e[t + f], f += p, u -= 8);
  14256. for (a = o & ((1 << -u) - 1), o >>= -u, u += n; u > 0; a = 256 * a + e[t + f], f += p, u -= 8);
  14257. if (0 === o) o = 1 - c
  14258. else {
  14259. if (o === l) return a ? NaN : (1 / 0) * (d ? -1 : 1)
  14260. ;(a += Math.pow(2, n)), (o -= c)
  14261. }
  14262. return (d ? -1 : 1) * a * Math.pow(2, o - n)
  14263. }),
  14264. (t.write = function (e, t, r, n, i, o) {
  14265. var a,
  14266. s,
  14267. l,
  14268. c = 8 * o - i - 1,
  14269. u = (1 << c) - 1,
  14270. f = u >> 1,
  14271. p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
  14272. d = n ? 0 : o - 1,
  14273. h = n ? 1 : -1,
  14274. m = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0
  14275. for (
  14276. t = Math.abs(t),
  14277. isNaN(t) || t === 1 / 0
  14278. ? ((s = isNaN(t) ? 1 : 0), (a = u))
  14279. : ((a = Math.floor(Math.log(t) / Math.LN2)),
  14280. t * (l = Math.pow(2, -a)) < 1 && (a--, (l *= 2)),
  14281. (t += a + f >= 1 ? p / l : p * Math.pow(2, 1 - f)),
  14282. t * l >= 2 && (a++, (l /= 2)),
  14283. a + f >= u
  14284. ? ((s = 0), (a = u))
  14285. : a + f >= 1
  14286. ? ((s = (t * l - 1) * Math.pow(2, i)), (a += f))
  14287. : ((s = t * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0)));
  14288. i >= 8;
  14289. e[r + d] = 255 & s, d += h, s /= 256, i -= 8
  14290. );
  14291. for (a = (a << i) | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8);
  14292. e[r + d - h] |= 128 * m
  14293. })
  14294. },
  14295. 9263: function (e, t, r) {
  14296. "use strict"
  14297. var n = r("577e"),
  14298. i = r("ad6d"),
  14299. o = r("9f7f"),
  14300. a = r("5692"),
  14301. s = r("7c73"),
  14302. l = r("69f3").get,
  14303. c = r("fce3"),
  14304. u = r("107c"),
  14305. f = RegExp.prototype.exec,
  14306. p = a("native-string-replace", String.prototype.replace),
  14307. d = f,
  14308. h = (function () {
  14309. var e = /a/,
  14310. t = /b*/g
  14311. return f.call(e, "a"), f.call(t, "a"), 0 !== e.lastIndex || 0 !== t.lastIndex
  14312. })(),
  14313. m = o.UNSUPPORTED_Y || o.BROKEN_CARET,
  14314. g = void 0 !== /()??/.exec("")[1],
  14315. y = h || g || m || c || u
  14316. y &&
  14317. (d = function (e) {
  14318. var t,
  14319. r,
  14320. o,
  14321. a,
  14322. c,
  14323. u,
  14324. y,
  14325. v = this,
  14326. b = l(v),
  14327. w = n(e),
  14328. x = b.raw
  14329. if (x) return (x.lastIndex = v.lastIndex), (t = d.call(x, w)), (v.lastIndex = x.lastIndex), t
  14330. var A = b.groups,
  14331. _ = m && v.sticky,
  14332. T = i.call(v),
  14333. E = v.source,
  14334. S = 0,
  14335. C = w
  14336. if (
  14337. (_ &&
  14338. ((T = T.replace("y", "")),
  14339. -1 === T.indexOf("g") && (T += "g"),
  14340. (C = w.slice(v.lastIndex)),
  14341. v.lastIndex > 0 &&
  14342. (!v.multiline || (v.multiline && "\n" !== w.charAt(v.lastIndex - 1))) &&
  14343. ((E = "(?: " + E + ")"), (C = " " + C), S++),
  14344. (r = new RegExp("^(?:" + E + ")", T))),
  14345. g && (r = new RegExp("^" + E + "$(?!\\s)", T)),
  14346. h && (o = v.lastIndex),
  14347. (a = f.call(_ ? r : v, C)),
  14348. _
  14349. ? a
  14350. ? ((a.input = a.input.slice(S)), (a[0] = a[0].slice(S)), (a.index = v.lastIndex), (v.lastIndex += a[0].length))
  14351. : (v.lastIndex = 0)
  14352. : h && a && (v.lastIndex = v.global ? a.index + a[0].length : o),
  14353. g &&
  14354. a &&
  14355. a.length > 1 &&
  14356. p.call(a[0], r, function () {
  14357. for (c = 1; c < arguments.length - 2; c++) void 0 === arguments[c] && (a[c] = void 0)
  14358. }),
  14359. a && A)
  14360. )
  14361. for (a.groups = u = s(null), c = 0; c < A.length; c++) (y = A[c]), (u[y[0]] = a[y[1]])
  14362. return a
  14363. }),
  14364. (e.exports = d)
  14365. },
  14366. "94ca": function (e, t, r) {
  14367. var n = r("d039"),
  14368. i = /#|\.prototype\./,
  14369. o = function (e, t) {
  14370. var r = s[a(e)]
  14371. return r == c || (r != l && ("function" == typeof t ? n(t) : !!t))
  14372. },
  14373. a = (o.normalize = function (e) {
  14374. return String(e).replace(i, ".").toLowerCase()
  14375. }),
  14376. s = (o.data = {}),
  14377. l = (o.NATIVE = "N"),
  14378. c = (o.POLYFILL = "P")
  14379. e.exports = o
  14380. },
  14381. "966d": function (e, t, r) {
  14382. "use strict"
  14383. ;(function (t) {
  14384. function r(e, r, n, i) {
  14385. if ("function" !== typeof e) throw new TypeError('"callback" argument must be a function')
  14386. var o,
  14387. a,
  14388. s = arguments.length
  14389. switch (s) {
  14390. case 0:
  14391. case 1:
  14392. return t.nextTick(e)
  14393. case 2:
  14394. return t.nextTick(function () {
  14395. e.call(null, r)
  14396. })
  14397. case 3:
  14398. return t.nextTick(function () {
  14399. e.call(null, r, n)
  14400. })
  14401. case 4:
  14402. return t.nextTick(function () {
  14403. e.call(null, r, n, i)
  14404. })
  14405. default:
  14406. ;(o = new Array(s - 1)), (a = 0)
  14407. while (a < o.length) o[a++] = arguments[a]
  14408. return t.nextTick(function () {
  14409. e.apply(null, o)
  14410. })
  14411. }
  14412. }
  14413. "undefined" === typeof t ||
  14414. !t.version ||
  14415. 0 === t.version.indexOf("v0.") ||
  14416. (0 === t.version.indexOf("v1.") && 0 !== t.version.indexOf("v1.8."))
  14417. ? (e.exports = {
  14418. nextTick: r
  14419. })
  14420. : (e.exports = t)
  14421. }).call(this, r("4362"))
  14422. },
  14423. "96c1": function (e, t, r) {
  14424. var n = r("9b12").isArray
  14425. e.exports = {
  14426. copyOptions: function (e) {
  14427. var t,
  14428. r = {}
  14429. for (t in e) e.hasOwnProperty(t) && (r[t] = e[t])
  14430. return r
  14431. },
  14432. ensureFlagExists: function (e, t) {
  14433. ;(e in t && "boolean" === typeof t[e]) || (t[e] = !1)
  14434. },
  14435. ensureSpacesExists: function (e) {
  14436. ;(!("spaces" in e) || ("number" !== typeof e.spaces && "string" !== typeof e.spaces)) && (e.spaces = 0)
  14437. },
  14438. ensureAlwaysArrayExists: function (e) {
  14439. ;("alwaysArray" in e && ("boolean" === typeof e.alwaysArray || n(e.alwaysArray))) || (e.alwaysArray = !1)
  14440. },
  14441. ensureKeyExists: function (e, t) {
  14442. ;(e + "Key" in t && "string" === typeof t[e + "Key"]) || (t[e + "Key"] = t.compact ? "_" + e : e)
  14443. },
  14444. checkFnExists: function (e, t) {
  14445. return e + "Fn" in t
  14446. }
  14447. }
  14448. },
  14449. "96cf": function (e, t, r) {
  14450. var n = (function (e) {
  14451. "use strict"
  14452. var t,
  14453. r = Object.prototype,
  14454. n = r.hasOwnProperty,
  14455. i = "function" === typeof Symbol ? Symbol : {},
  14456. o = i.iterator || "@@iterator",
  14457. a = i.asyncIterator || "@@asyncIterator",
  14458. s = i.toStringTag || "@@toStringTag"
  14459. function l(e, t, r) {
  14460. return (
  14461. Object.defineProperty(e, t, {
  14462. value: r,
  14463. enumerable: !0,
  14464. configurable: !0,
  14465. writable: !0
  14466. }),
  14467. e[t]
  14468. )
  14469. }
  14470. try {
  14471. l({}, "")
  14472. } catch (j) {
  14473. l = function (e, t, r) {
  14474. return (e[t] = r)
  14475. }
  14476. }
  14477. function c(e, t, r, n) {
  14478. var i = t && t.prototype instanceof g ? t : g,
  14479. o = Object.create(i.prototype),
  14480. a = new L(n || [])
  14481. return (o._invoke = E(e, r, a)), o
  14482. }
  14483. function u(e, t, r) {
  14484. try {
  14485. return {
  14486. type: "normal",
  14487. arg: e.call(t, r)
  14488. }
  14489. } catch (j) {
  14490. return {
  14491. type: "throw",
  14492. arg: j
  14493. }
  14494. }
  14495. }
  14496. e.wrap = c
  14497. var f = "suspendedStart",
  14498. p = "suspendedYield",
  14499. d = "executing",
  14500. h = "completed",
  14501. m = {}
  14502. function g() {}
  14503. function y() {}
  14504. function v() {}
  14505. var b = {}
  14506. l(b, o, function () {
  14507. return this
  14508. })
  14509. var w = Object.getPrototypeOf,
  14510. x = w && w(w(P([])))
  14511. x && x !== r && n.call(x, o) && (b = x)
  14512. var A = (v.prototype = g.prototype = Object.create(b))
  14513. function _(e) {
  14514. ;["next", "throw", "return"].forEach(function (t) {
  14515. l(e, t, function (e) {
  14516. return this._invoke(t, e)
  14517. })
  14518. })
  14519. }
  14520. function T(e, t) {
  14521. function r(i, o, a, s) {
  14522. var l = u(e[i], e, o)
  14523. if ("throw" !== l.type) {
  14524. var c = l.arg,
  14525. f = c.value
  14526. return f && "object" === typeof f && n.call(f, "__await")
  14527. ? t.resolve(f.__await).then(
  14528. function (e) {
  14529. r("next", e, a, s)
  14530. },
  14531. function (e) {
  14532. r("throw", e, a, s)
  14533. }
  14534. )
  14535. : t.resolve(f).then(
  14536. function (e) {
  14537. ;(c.value = e), a(c)
  14538. },
  14539. function (e) {
  14540. return r("throw", e, a, s)
  14541. }
  14542. )
  14543. }
  14544. s(l.arg)
  14545. }
  14546. var i
  14547. function o(e, n) {
  14548. function o() {
  14549. return new t(function (t, i) {
  14550. r(e, n, t, i)
  14551. })
  14552. }
  14553. return (i = i ? i.then(o, o) : o())
  14554. }
  14555. this._invoke = o
  14556. }
  14557. function E(e, t, r) {
  14558. var n = f
  14559. return function (i, o) {
  14560. if (n === d) throw new Error("Generator is already running")
  14561. if (n === h) {
  14562. if ("throw" === i) throw o
  14563. return O()
  14564. }
  14565. ;(r.method = i), (r.arg = o)
  14566. while (1) {
  14567. var a = r.delegate
  14568. if (a) {
  14569. var s = S(a, r)
  14570. if (s) {
  14571. if (s === m) continue
  14572. return s
  14573. }
  14574. }
  14575. if ("next" === r.method) r.sent = r._sent = r.arg
  14576. else if ("throw" === r.method) {
  14577. if (n === f) throw ((n = h), r.arg)
  14578. r.dispatchException(r.arg)
  14579. } else "return" === r.method && r.abrupt("return", r.arg)
  14580. n = d
  14581. var l = u(e, t, r)
  14582. if ("normal" === l.type) {
  14583. if (((n = r.done ? h : p), l.arg === m)) continue
  14584. return {
  14585. value: l.arg,
  14586. done: r.done
  14587. }
  14588. }
  14589. "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg))
  14590. }
  14591. }
  14592. }
  14593. function S(e, r) {
  14594. var n = e.iterator[r.method]
  14595. if (n === t) {
  14596. if (((r.delegate = null), "throw" === r.method)) {
  14597. if (e.iterator["return"] && ((r.method = "return"), (r.arg = t), S(e, r), "throw" === r.method)) return m
  14598. ;(r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a 'throw' method"))
  14599. }
  14600. return m
  14601. }
  14602. var i = u(n, e.iterator, r.arg)
  14603. if ("throw" === i.type) return (r.method = "throw"), (r.arg = i.arg), (r.delegate = null), m
  14604. var o = i.arg
  14605. return o
  14606. ? o.done
  14607. ? ((r[e.resultName] = o.value),
  14608. (r.next = e.nextLoc),
  14609. "return" !== r.method && ((r.method = "next"), (r.arg = t)),
  14610. (r.delegate = null),
  14611. m)
  14612. : o
  14613. : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), m)
  14614. }
  14615. function C(e) {
  14616. var t = {
  14617. tryLoc: e[0]
  14618. }
  14619. 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
  14620. }
  14621. function k(e) {
  14622. var t = e.completion || {}
  14623. ;(t.type = "normal"), delete t.arg, (e.completion = t)
  14624. }
  14625. function L(e) {
  14626. ;(this.tryEntries = [
  14627. {
  14628. tryLoc: "root"
  14629. }
  14630. ]),
  14631. e.forEach(C, this),
  14632. this.reset(!0)
  14633. }
  14634. function P(e) {
  14635. if (e) {
  14636. var r = e[o]
  14637. if (r) return r.call(e)
  14638. if ("function" === typeof e.next) return e
  14639. if (!isNaN(e.length)) {
  14640. var i = -1,
  14641. a = function r() {
  14642. while (++i < e.length) if (n.call(e, i)) return (r.value = e[i]), (r.done = !1), r
  14643. return (r.value = t), (r.done = !0), r
  14644. }
  14645. return (a.next = a)
  14646. }
  14647. }
  14648. return {
  14649. next: O
  14650. }
  14651. }
  14652. function O() {
  14653. return {
  14654. value: t,
  14655. done: !0
  14656. }
  14657. }
  14658. return (
  14659. (y.prototype = v),
  14660. l(A, "constructor", v),
  14661. l(v, "constructor", y),
  14662. (y.displayName = l(v, s, "GeneratorFunction")),
  14663. (e.isGeneratorFunction = function (e) {
  14664. var t = "function" === typeof e && e.constructor
  14665. return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name))
  14666. }),
  14667. (e.mark = function (e) {
  14668. return (
  14669. Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), l(e, s, "GeneratorFunction")),
  14670. (e.prototype = Object.create(A)),
  14671. e
  14672. )
  14673. }),
  14674. (e.awrap = function (e) {
  14675. return {
  14676. __await: e
  14677. }
  14678. }),
  14679. _(T.prototype),
  14680. l(T.prototype, a, function () {
  14681. return this
  14682. }),
  14683. (e.AsyncIterator = T),
  14684. (e.async = function (t, r, n, i, o) {
  14685. void 0 === o && (o = Promise)
  14686. var a = new T(c(t, r, n, i), o)
  14687. return e.isGeneratorFunction(r)
  14688. ? a
  14689. : a.next().then(function (e) {
  14690. return e.done ? e.value : a.next()
  14691. })
  14692. }),
  14693. _(A),
  14694. l(A, s, "Generator"),
  14695. l(A, o, function () {
  14696. return this
  14697. }),
  14698. l(A, "toString", function () {
  14699. return "[object Generator]"
  14700. }),
  14701. (e.keys = function (e) {
  14702. var t = []
  14703. for (var r in e) t.push(r)
  14704. return (
  14705. t.reverse(),
  14706. function r() {
  14707. while (t.length) {
  14708. var n = t.pop()
  14709. if (n in e) return (r.value = n), (r.done = !1), r
  14710. }
  14711. return (r.done = !0), r
  14712. }
  14713. )
  14714. }),
  14715. (e.values = P),
  14716. (L.prototype = {
  14717. constructor: L,
  14718. reset: function (e) {
  14719. if (
  14720. ((this.prev = 0),
  14721. (this.next = 0),
  14722. (this.sent = this._sent = t),
  14723. (this.done = !1),
  14724. (this.delegate = null),
  14725. (this.method = "next"),
  14726. (this.arg = t),
  14727. this.tryEntries.forEach(k),
  14728. !e)
  14729. )
  14730. for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t)
  14731. },
  14732. stop: function () {
  14733. this.done = !0
  14734. var e = this.tryEntries[0],
  14735. t = e.completion
  14736. if ("throw" === t.type) throw t.arg
  14737. return this.rval
  14738. },
  14739. dispatchException: function (e) {
  14740. if (this.done) throw e
  14741. var r = this
  14742. function i(n, i) {
  14743. return (s.type = "throw"), (s.arg = e), (r.next = n), i && ((r.method = "next"), (r.arg = t)), !!i
  14744. }
  14745. for (var o = this.tryEntries.length - 1; o >= 0; --o) {
  14746. var a = this.tryEntries[o],
  14747. s = a.completion
  14748. if ("root" === a.tryLoc) return i("end")
  14749. if (a.tryLoc <= this.prev) {
  14750. var l = n.call(a, "catchLoc"),
  14751. c = n.call(a, "finallyLoc")
  14752. if (l && c) {
  14753. if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
  14754. if (this.prev < a.finallyLoc) return i(a.finallyLoc)
  14755. } else if (l) {
  14756. if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
  14757. } else {
  14758. if (!c) throw new Error("try statement without catch or finally")
  14759. if (this.prev < a.finallyLoc) return i(a.finallyLoc)
  14760. }
  14761. }
  14762. }
  14763. },
  14764. abrupt: function (e, t) {
  14765. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  14766. var i = this.tryEntries[r]
  14767. if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
  14768. var o = i
  14769. break
  14770. }
  14771. }
  14772. o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
  14773. var a = o ? o.completion : {}
  14774. return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a)
  14775. },
  14776. complete: function (e, t) {
  14777. if ("throw" === e.type) throw e.arg
  14778. return (
  14779. "break" === e.type || "continue" === e.type
  14780. ? (this.next = e.arg)
  14781. : "return" === e.type
  14782. ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
  14783. : "normal" === e.type && t && (this.next = t),
  14784. m
  14785. )
  14786. },
  14787. finish: function (e) {
  14788. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  14789. var r = this.tryEntries[t]
  14790. if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m
  14791. }
  14792. },
  14793. catch: function (e) {
  14794. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  14795. var r = this.tryEntries[t]
  14796. if (r.tryLoc === e) {
  14797. var n = r.completion
  14798. if ("throw" === n.type) {
  14799. var i = n.arg
  14800. k(r)
  14801. }
  14802. return i
  14803. }
  14804. }
  14805. throw new Error("illegal catch attempt")
  14806. },
  14807. delegateYield: function (e, r, n) {
  14808. return (
  14809. (this.delegate = {
  14810. iterator: P(e),
  14811. resultName: r,
  14812. nextLoc: n
  14813. }),
  14814. "next" === this.method && (this.arg = t),
  14815. m
  14816. )
  14817. }
  14818. }),
  14819. e
  14820. )
  14821. })(e.exports)
  14822. try {
  14823. regeneratorRuntime = n
  14824. } catch (i) {
  14825. "object" === typeof globalThis ? (globalThis.regeneratorRuntime = n) : Function("r", "regeneratorRuntime = r")(n)
  14826. }
  14827. },
  14828. "99af": function (e, t, r) {
  14829. "use strict"
  14830. var n = r("23e7"),
  14831. i = r("d039"),
  14832. o = r("e8b5"),
  14833. a = r("861d"),
  14834. s = r("7b0b"),
  14835. l = r("50c4"),
  14836. c = r("8418"),
  14837. u = r("65f0"),
  14838. f = r("1dde"),
  14839. p = r("b622"),
  14840. d = r("2d00"),
  14841. h = p("isConcatSpreadable"),
  14842. m = 9007199254740991,
  14843. g = "Maximum allowed index exceeded",
  14844. y =
  14845. d >= 51 ||
  14846. !i(function () {
  14847. var e = []
  14848. return (e[h] = !1), e.concat()[0] !== e
  14849. }),
  14850. v = f("concat"),
  14851. b = function (e) {
  14852. if (!a(e)) return !1
  14853. var t = e[h]
  14854. return void 0 !== t ? !!t : o(e)
  14855. },
  14856. w = !y || !v
  14857. n(
  14858. {
  14859. target: "Array",
  14860. proto: !0,
  14861. forced: w
  14862. },
  14863. {
  14864. concat: function (e) {
  14865. var t,
  14866. r,
  14867. n,
  14868. i,
  14869. o,
  14870. a = s(this),
  14871. f = u(a, 0),
  14872. p = 0
  14873. for (t = -1, n = arguments.length; t < n; t++)
  14874. if (((o = -1 === t ? a : arguments[t]), b(o))) {
  14875. if (((i = l(o.length)), p + i > m)) throw TypeError(g)
  14876. for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r])
  14877. } else {
  14878. if (p >= m) throw TypeError(g)
  14879. c(f, p++, o)
  14880. }
  14881. return (f.length = p), f
  14882. }
  14883. }
  14884. )
  14885. },
  14886. "9a1f": function (e, t, r) {
  14887. var n = r("825a"),
  14888. i = r("35a1")
  14889. e.exports = function (e, t) {
  14890. var r = arguments.length < 2 ? i(e) : t
  14891. if ("function" != typeof r) throw TypeError(String(e) + " is not iterable")
  14892. return n(r.call(e))
  14893. }
  14894. },
  14895. "9a7e": function (e, t, r) {
  14896. "use strict"
  14897. r.r(t),
  14898. r.d(t, "createTaskController", function () {
  14899. return J
  14900. }),
  14901. r.d(t, "destoryTaskController", function () {
  14902. return $
  14903. }),
  14904. r.d(t, "addCourseWareTask", function () {
  14905. return ee
  14906. }),
  14907. r.d(t, "getRunJobIds", function () {
  14908. return te
  14909. }),
  14910. r.d(t, "initOssResource", function () {
  14911. return re
  14912. }),
  14913. r.d(t, "destroyOssResource", function () {
  14914. return ne
  14915. })
  14916. r("d3b7")
  14917. function n(e, t) {
  14918. ;(null == t || t > e.length) && (t = e.length)
  14919. for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]
  14920. return n
  14921. }
  14922. function i(e) {
  14923. if (Array.isArray(e)) return n(e)
  14924. }
  14925. r("a4d3"), r("e01a"), r("d28b"), r("3ca3"), r("ddb0"), r("a630")
  14926. function o(e) {
  14927. if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e)
  14928. }
  14929. r("fb6a"), r("b0c0")
  14930. function a(e, t) {
  14931. if (e) {
  14932. if ("string" === typeof e) return n(e, t)
  14933. var r = Object.prototype.toString.call(e).slice(8, -1)
  14934. return (
  14935. "Object" === r && e.constructor && (r = e.constructor.name),
  14936. "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0
  14937. )
  14938. }
  14939. }
  14940. function s() {
  14941. throw new TypeError(
  14942. "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  14943. )
  14944. }
  14945. function l(e) {
  14946. return i(e) || o(e) || a(e) || s()
  14947. }
  14948. r("b64b"), r("4de4"), r("e439"), r("159b"), r("dbb4")
  14949. function c(e, t, r) {
  14950. return (
  14951. t in e
  14952. ? Object.defineProperty(e, t, {
  14953. value: r,
  14954. enumerable: !0,
  14955. configurable: !0,
  14956. writable: !0
  14957. })
  14958. : (e[t] = r),
  14959. e
  14960. )
  14961. }
  14962. function u(e, t) {
  14963. var r = Object.keys(e)
  14964. if (Object.getOwnPropertySymbols) {
  14965. var n = Object.getOwnPropertySymbols(e)
  14966. t &&
  14967. (n = n.filter(function (t) {
  14968. return Object.getOwnPropertyDescriptor(e, t).enumerable
  14969. })),
  14970. r.push.apply(r, n)
  14971. }
  14972. return r
  14973. }
  14974. function f(e) {
  14975. for (var t = 1; t < arguments.length; t++) {
  14976. var r = null != arguments[t] ? arguments[t] : {}
  14977. t % 2
  14978. ? u(Object(r), !0).forEach(function (t) {
  14979. c(e, t, r[t])
  14980. })
  14981. : Object.getOwnPropertyDescriptors
  14982. ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
  14983. : u(Object(r)).forEach(function (t) {
  14984. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
  14985. })
  14986. }
  14987. return e
  14988. }
  14989. function p(e) {
  14990. if (Array.isArray(e)) return e
  14991. }
  14992. function d(e, t) {
  14993. var r = null == e ? null : ("undefined" !== typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]
  14994. if (null != r) {
  14995. var n,
  14996. i,
  14997. o = [],
  14998. a = !0,
  14999. s = !1
  15000. try {
  15001. for (r = r.call(e); !(a = (n = r.next()).done); a = !0) if ((o.push(n.value), t && o.length === t)) break
  15002. } catch (l) {
  15003. ;(s = !0), (i = l)
  15004. } finally {
  15005. try {
  15006. a || null == r["return"] || r["return"]()
  15007. } finally {
  15008. if (s) throw i
  15009. }
  15010. }
  15011. return o
  15012. }
  15013. }
  15014. function h() {
  15015. throw new TypeError(
  15016. "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  15017. )
  15018. }
  15019. function m(e, t) {
  15020. return p(e) || d(e, t) || a(e, t) || h()
  15021. }
  15022. function g(e, t) {
  15023. if (null == e) return {}
  15024. var r,
  15025. n,
  15026. i = {},
  15027. o = Object.keys(e)
  15028. for (n = 0; n < o.length; n++) (r = o[n]), t.indexOf(r) >= 0 || (i[r] = e[r])
  15029. return i
  15030. }
  15031. function y(e, t) {
  15032. if (null == e) return {}
  15033. var r,
  15034. n,
  15035. i = g(e, t)
  15036. if (Object.getOwnPropertySymbols) {
  15037. var o = Object.getOwnPropertySymbols(e)
  15038. for (n = 0; n < o.length; n++) (r = o[n]), t.indexOf(r) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]))
  15039. }
  15040. return i
  15041. }
  15042. function v(e, t) {
  15043. if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  15044. }
  15045. function b(e, t) {
  15046. for (var r = 0; r < t.length; r++) {
  15047. var n = t[r]
  15048. ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  15049. }
  15050. }
  15051. function w(e, t, r) {
  15052. return t && b(e.prototype, t), r && b(e, r), e
  15053. }
  15054. r("7db0"), r("caad"), r("2532")
  15055. function x(e, t, r, n, i, o, a) {
  15056. try {
  15057. var s = e[o](a),
  15058. l = s.value
  15059. } catch (c) {
  15060. return void r(c)
  15061. }
  15062. s.done ? t(l) : Promise.resolve(l).then(n, i)
  15063. }
  15064. function A(e) {
  15065. return function () {
  15066. var t = this,
  15067. r = arguments
  15068. return new Promise(function (n, i) {
  15069. var o = e.apply(t, r)
  15070. function a(e) {
  15071. x(o, n, i, a, s, "next", e)
  15072. }
  15073. function s(e) {
  15074. x(o, n, i, a, s, "throw", e)
  15075. }
  15076. a(void 0)
  15077. })
  15078. }
  15079. }
  15080. r("96cf"), r("ac1f"), r("5319"), r("99af"), r("498a"), r("1276")
  15081. var _ = r("9b15"),
  15082. T = r.n(_),
  15083. E = function (e, t, r, n) {
  15084. function i(e) {
  15085. return e instanceof r
  15086. ? e
  15087. : new r(function (t) {
  15088. t(e)
  15089. })
  15090. }
  15091. return new (r || (r = Promise))(function (r, o) {
  15092. function a(e) {
  15093. try {
  15094. l(n.next(e))
  15095. } catch (t) {
  15096. o(t)
  15097. }
  15098. }
  15099. function s(e) {
  15100. try {
  15101. l(n["throw"](e))
  15102. } catch (t) {
  15103. o(t)
  15104. }
  15105. }
  15106. function l(e) {
  15107. e.done ? r(e.value) : i(e.value).then(a, s)
  15108. }
  15109. l((n = n.apply(e, t || [])).next())
  15110. })
  15111. }
  15112. const S = r("df7c")
  15113. function C(e) {
  15114. return new Promise(t => setTimeout(t, e))
  15115. }
  15116. let k
  15117. class L {
  15118. constructor(e) {
  15119. ;(this.host = e.host),
  15120. (this.token = e.token),
  15121. (this.urlExistTimeout = (null === e || void 0 === e ? void 0 : e.urlExistTimeout) ? e.urlExistTimeout : 3e3),
  15122. (this.retryMax = (null === e || void 0 === e ? void 0 : e.retryMax) ? e.retryMax : 0),
  15123. (this.timeout = (null === e || void 0 === e ? void 0 : e.timeout) ? e.timeout : 6e4),
  15124. (this.secure = !(null === e || void 0 === e ? void 0 : e.secure) || e.secure),
  15125. (this.options = e),
  15126. (k = e.fetch || fetch),
  15127. (this.isNodeEnv = e.isNodeEnv || !1)
  15128. }
  15129. fetchOssConfig() {
  15130. return E(this, void 0, void 0, function* () {
  15131. const e = yield k(`https://${this.host}/common/oss-upload-config`, {
  15132. method: "GET",
  15133. headers: {
  15134. Authorization: "Bearer " + this.token
  15135. }
  15136. }),
  15137. t = yield e.json()
  15138. if (0 !== t.status_code) {
  15139. const e = new Error(t.message)
  15140. throw ((e.status_code = t.status_code), e)
  15141. }
  15142. return t.data.upload_config
  15143. })
  15144. }
  15145. init() {
  15146. return E(this, void 0, void 0, function* () {
  15147. // hqy
  15148. return
  15149. // hqy
  15150. try {
  15151. this.ossConfig = yield this.fetchOssConfig()
  15152. const { access_key_id: e, access_key_secret: t, sts_token: r, region: n, bucket: i } = this.ossConfig
  15153. this.client = new T.a({
  15154. timeout: this.timeout,
  15155. retryMax: this.retryMax,
  15156. accessKeyId: e,
  15157. accessKeySecret: t,
  15158. stsToken: r,
  15159. region: n,
  15160. bucket: i,
  15161. refreshSTSToken: () =>
  15162. E(this, void 0, void 0, function* () {
  15163. try {
  15164. return (
  15165. (this.ossConfig = yield this.fetchOssConfig()),
  15166. {
  15167. accessKeyId: this.ossConfig.access_key_id,
  15168. accessKeySecret: this.ossConfig.access_key_secret,
  15169. stsToken: this.ossConfig.sts_token
  15170. }
  15171. )
  15172. } catch (e) {
  15173. console.error("刷新sts token 失败"), this.uploadReject && this.uploadReject(e)
  15174. }
  15175. }),
  15176. secure: this.secure
  15177. })
  15178. } catch (e) {
  15179. throw (console.error("create oss resource error"), e)
  15180. }
  15181. })
  15182. }
  15183. isExist(e) {
  15184. return E(this, void 0, void 0, function* () {
  15185. try {
  15186. e = e.replace(/\+/g, "%2B")
  15187. const t = yield k(e, {
  15188. method: "HEAD"
  15189. })
  15190. return 404 !== t.status
  15191. } catch (t) {
  15192. return !1
  15193. }
  15194. })
  15195. }
  15196. upload(e, t, r) {
  15197. return E(this, void 0, void 0, function* () {
  15198. return new Promise((n, i) =>
  15199. E(this, void 0, void 0, function* () {
  15200. // hqy
  15201. fileUpload({ host: this.host, token: this.token }, { fileName: t.name, file: t })
  15202. .then(res => {
  15203. n(res)
  15204. })
  15205. .catch(err => {
  15206. n("")
  15207. })
  15208. return
  15209. // hqy
  15210. try {
  15211. this.uploadReject = i
  15212. const a = {
  15213. override: !1,
  15214. cache: !1,
  15215. cacheTime: 3600,
  15216. ignorePathPrefix: !1
  15217. }
  15218. r = Object.assign({}, a, r)
  15219. const s = r.ignorePathPrefix ? "" + e : `${this.ossConfig.base_path}/${e}`,
  15220. l = `${this.ossConfig.download_domain}/${s}`
  15221. if (!r.override) {
  15222. const e = yield this.isExist(l)
  15223. if (e) return n(l)
  15224. }
  15225. let c = S.basename(s)
  15226. t instanceof String ? (t = S.normalize(t)) : !this.options.isNodeEnv && t instanceof File && (c = t.name)
  15227. const u = {
  15228. "Content-Disposition": `attachment; filename="${encodeURIComponent(c)}"`
  15229. }
  15230. r.cache ? (u["Cache-Control"] = "max-age=" + r.cacheTime) : (u["Cache-Control"] = "no-cache")
  15231. try {
  15232. yield this.client.multipartUpload(s, t, {
  15233. progress: r.progress,
  15234. headers: u
  15235. })
  15236. } catch (o) {
  15237. i(o)
  15238. }
  15239. let f = !0
  15240. const p = setTimeout(() => {
  15241. ;(f = !1), i(new Error("timeout: url not exist "))
  15242. }, this.urlExistTimeout)
  15243. while (f) {
  15244. const e = yield this.isExist(l)
  15245. if (e) {
  15246. clearTimeout(p), n(l)
  15247. break
  15248. }
  15249. yield C(1e3)
  15250. }
  15251. } catch (o) {
  15252. i(o)
  15253. }
  15254. })
  15255. )
  15256. })
  15257. }
  15258. abort(e, t) {
  15259. return E(this, void 0, void 0, function* () {
  15260. if (e && t) return yield this.client.abortMultipartUpload(e, t)
  15261. console.warn("name or uploadId isn't set")
  15262. })
  15263. }
  15264. }
  15265. var P,
  15266. O,
  15267. j = r("84f2"),
  15268. R = r.n(j),
  15269. I = function () {
  15270. for (
  15271. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6,
  15272. t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
  15273. r = t.length,
  15274. n = "",
  15275. i = 0;
  15276. i < e;
  15277. i++
  15278. ) {
  15279. var o = Math.floor(Math.random() * r)
  15280. n += t[o]
  15281. }
  15282. return n
  15283. },
  15284. N = function () {
  15285. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "-",
  15286. t = new Date(),
  15287. r = t.getFullYear(),
  15288. n = t.getMonth() + 1,
  15289. i = "".concat(t.getDate())
  15290. n >= 1 && n <= 9 && (n = "0" + n), i >= 0 && i <= 9 && (i = "0" + i)
  15291. var o = r + e + n + e + i
  15292. return o
  15293. },
  15294. M = (function () {
  15295. var e = A(
  15296. regeneratorRuntime.mark(function e(t, r) {
  15297. return regeneratorRuntime.wrap(function (e) {
  15298. while (1)
  15299. switch ((e.prev = e.next)) {
  15300. case 0:
  15301. if (!P) {
  15302. e.next = 2
  15303. break
  15304. }
  15305. return e.abrupt("return", P)
  15306. case 2:
  15307. return (
  15308. (P = new L({
  15309. // hqy
  15310. //host: t.replace("https://", "").replace("/", "") || "",
  15311. host: t || "",
  15312. // hqy
  15313. token: r,
  15314. timeout: 12e4,
  15315. urlExistTimeout: 6e4,
  15316. retryMax: 3
  15317. })),
  15318. (e.next = 5),
  15319. P.init()
  15320. )
  15321. case 5:
  15322. case "end":
  15323. return e.stop()
  15324. }
  15325. }, e)
  15326. })
  15327. )
  15328. return function (t, r) {
  15329. return e.apply(this, arguments)
  15330. }
  15331. })(),
  15332. D = function () {
  15333. P && (P = null)
  15334. },
  15335. B = function (e) {
  15336. var t = new R.a()
  15337. return new Promise(function (r, n) {
  15338. t.md5(e, function (e, t) {
  15339. e && n(e), r(t)
  15340. })
  15341. })
  15342. },
  15343. F = (function () {
  15344. var e = A(
  15345. regeneratorRuntime.mark(function e(t, r) {
  15346. var n,
  15347. i,
  15348. o,
  15349. a,
  15350. s,
  15351. l,
  15352. c,
  15353. u = arguments
  15354. return regeneratorRuntime.wrap(function (e) {
  15355. while (1)
  15356. switch ((e.prev = e.next)) {
  15357. case 0:
  15358. if (((n = !(u.length > 2 && void 0 !== u[2]) || u[2]), P)) {
  15359. e.next = 3
  15360. break
  15361. }
  15362. throw new Error("no init ossResource")
  15363. case 3:
  15364. return (i = t.size), (e.next = 6), B(t)
  15365. case 6:
  15366. return (
  15367. (o = e.sent),
  15368. (a = I(10)),
  15369. (s = N("")),
  15370. (l = ""
  15371. .concat(s, "/")
  15372. .concat(t.name.split(".")[0].trim(), "-")
  15373. .concat(a, ".")
  15374. .concat(t.name.substring(t.name.lastIndexOf(".") + 1).trim() || t.type.split("/")[1])),
  15375. (c = ""),
  15376. (e.next = 13),
  15377. P.upload(l, t, {
  15378. cache: n,
  15379. progress: r
  15380. }).catch(function (e) {
  15381. throw new Error(e)
  15382. })
  15383. )
  15384. case 13:
  15385. return (
  15386. (c = e.sent),
  15387. e.abrupt("return", {
  15388. url: c,
  15389. md5: o,
  15390. size: i
  15391. })
  15392. )
  15393. case 15:
  15394. case "end":
  15395. return e.stop()
  15396. }
  15397. }, e)
  15398. })
  15399. )
  15400. return function (t, r) {
  15401. return e.apply(this, arguments)
  15402. }
  15403. })(),
  15404. U = r("f5f5"),
  15405. z = function (e) {
  15406. return new Promise(function (t, r) {
  15407. var n = e.extra,
  15408. i = n.files,
  15409. o = n.path,
  15410. a = n.paths,
  15411. s = n.type,
  15412. l = n.name,
  15413. c = {
  15414. beforeParse: function () {
  15415. e.progress({
  15416. id: e.id,
  15417. status: O.doing,
  15418. progress: 0
  15419. })
  15420. },
  15421. afterParseSlide: function (t, r, n, i) {
  15422. e.progress({
  15423. id: e.id,
  15424. status: O.doing,
  15425. progress: (n / i) * 100
  15426. })
  15427. },
  15428. upload: F
  15429. }
  15430. U["a"]
  15431. .pptx2json(i, c)
  15432. .then(function (n) {
  15433. var i = new Blob([n], {
  15434. type: ""
  15435. }),
  15436. c = new File([i], "".concat(l, ".json"), {
  15437. type: "application/json"
  15438. })
  15439. F(
  15440. c,
  15441. function (t) {
  15442. e.progress({
  15443. id: e.id,
  15444. status: O.doing,
  15445. progress: 100 * t
  15446. })
  15447. },
  15448. !1
  15449. )
  15450. .then(function (e) {
  15451. return t(
  15452. f(
  15453. f({}, e),
  15454. {},
  15455. {
  15456. name: l,
  15457. contentType: s,
  15458. suffix: ".json",
  15459. path: o,
  15460. paths: a
  15461. }
  15462. )
  15463. )
  15464. })
  15465. .catch(r)
  15466. })
  15467. .catch(r)
  15468. })
  15469. },
  15470. q = function (e) {
  15471. return new Promise(function (t, r) {
  15472. var n = e.extra,
  15473. i = n.files,
  15474. o = n.suffix,
  15475. a = n.path,
  15476. s = n.paths,
  15477. l = n.type,
  15478. c = n.name
  15479. e.progress({
  15480. id: e.id,
  15481. status: O.doing,
  15482. progress: 0
  15483. })
  15484. var u = new FileReader()
  15485. u.readAsText(i, "UTF-8"),
  15486. (u.onloadend = function () {
  15487. var n = u.result
  15488. try {
  15489. var p = JSON.parse(n),
  15490. d = Object.keys(p) || []
  15491. d.includes("slides") && d.includes("theme")
  15492. ? F(
  15493. i,
  15494. function (t) {
  15495. e.progress({
  15496. id: e.id,
  15497. status: O.doing,
  15498. progress: 100 * t
  15499. })
  15500. },
  15501. !1
  15502. )
  15503. .then(function (e) {
  15504. return t(
  15505. f(
  15506. f({}, e),
  15507. {},
  15508. {
  15509. name: c,
  15510. contentType: l,
  15511. suffix: o,
  15512. path: a,
  15513. paths: s
  15514. }
  15515. )
  15516. )
  15517. })
  15518. .catch(r)
  15519. : r(new Error("invalid theme or slides"))
  15520. } catch (h) {
  15521. r(h)
  15522. }
  15523. })
  15524. })
  15525. },
  15526. G = function (e) {
  15527. return new Promise(function (t, r) {
  15528. var n = e.extra,
  15529. i = n.files,
  15530. o = n.suffix,
  15531. a = n.path,
  15532. s = n.paths,
  15533. l = n.type,
  15534. c = n.name
  15535. F(i, function (t) {
  15536. e.progress({
  15537. id: e.id,
  15538. status: O.doing,
  15539. progress: 100 * t
  15540. })
  15541. })
  15542. .then(function (e) {
  15543. return t(
  15544. f(
  15545. f({}, e),
  15546. {},
  15547. {
  15548. name: c,
  15549. contentType: l,
  15550. suffix: o,
  15551. path: a,
  15552. paths: s
  15553. }
  15554. )
  15555. )
  15556. })
  15557. .catch(r)
  15558. })
  15559. },
  15560. W = function (e) {
  15561. return new Promise(function (t, r) {
  15562. var n = e.extra.suffix,
  15563. i = void 0 === n ? ".pptx" : n,
  15564. o = null
  15565. switch (i) {
  15566. case ".pptx":
  15567. o = z
  15568. break
  15569. case ".json":
  15570. o = q
  15571. break
  15572. default:
  15573. o = G
  15574. break
  15575. }
  15576. o
  15577. ? (e.progress({
  15578. id: e.id,
  15579. status: O.start,
  15580. progress: 0,
  15581. jobExtra: e
  15582. }),
  15583. o &&
  15584. o(e)
  15585. .then(function (r) {
  15586. e.progress({
  15587. id: e.id,
  15588. status: O.done,
  15589. progress: 100,
  15590. extra: r
  15591. }),
  15592. t(r)
  15593. })
  15594. .catch(function (t) {
  15595. e.progress({
  15596. id: e.id,
  15597. status: O.failed,
  15598. progress: 100,
  15599. extra: {
  15600. errorMsg: t.message
  15601. }
  15602. }),
  15603. r(t)
  15604. }))
  15605. : r(new Error("no found upload function:".concat(i)))
  15606. })
  15607. },
  15608. V = function (e) {
  15609. return new Promise(function (t, r) {
  15610. var n = e.extra,
  15611. i = n.jsonUrl,
  15612. o = n.name,
  15613. a = n.id,
  15614. s = n.type,
  15615. l = {
  15616. name: "".concat(o, ".pptx"),
  15617. viewportRatio: 0.5625,
  15618. beforeParse: function () {
  15619. e.progress({
  15620. id: e.id,
  15621. status: O.doing,
  15622. progress: 0
  15623. })
  15624. },
  15625. afterParseSlide: function (t, r, n, i) {
  15626. e.progress({
  15627. id: e.id,
  15628. status: O.doing,
  15629. progress: (n / i) * 100
  15630. })
  15631. }
  15632. }
  15633. U["a"]
  15634. .json2pptx(i, l)
  15635. .then(function (e) {
  15636. t({
  15637. id: a,
  15638. type: s,
  15639. name: "".concat(o, ".pptx"),
  15640. buffer: e,
  15641. contentType: "application/vnd.openxmlformats-officedocument.presentationml.presentation",
  15642. suffix: ".pptx"
  15643. })
  15644. })
  15645. .catch(r)
  15646. })
  15647. },
  15648. H = function (e) {
  15649. return new Promise(function (t, r) {
  15650. var n = e.extra.taskType,
  15651. i = void 0 === n ? "json2pptx" : n,
  15652. o = null
  15653. switch (i) {
  15654. case "json2pptx":
  15655. o = V
  15656. break
  15657. }
  15658. o
  15659. ? (e.progress({
  15660. id: e.id,
  15661. status: O.start,
  15662. progress: 0,
  15663. jobExtra: e
  15664. }),
  15665. o &&
  15666. o(e)
  15667. .then(function (r) {
  15668. e.progress({
  15669. id: e.id,
  15670. status: O.done,
  15671. progress: 100,
  15672. extra: r
  15673. }),
  15674. t(r)
  15675. })
  15676. .catch(function (t) {
  15677. e.progress({
  15678. id: e.id,
  15679. status: O.failed,
  15680. progress: 100,
  15681. extra: {
  15682. errorMsg: t.message
  15683. }
  15684. }),
  15685. r(t)
  15686. }))
  15687. : r(new Error("no found dowload function:".concat(i)))
  15688. })
  15689. },
  15690. X = ["extra", "type"],
  15691. Y = "progress"
  15692. ;(function (e) {
  15693. ;(e["pending"] = "pending"), (e["start"] = "start"), (e["doing"] = "doing"), (e["done"] = "done"), (e["failed"] = "failed")
  15694. })(O || (O = {}))
  15695. var K = function () {
  15696. for (
  15697. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6,
  15698. t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
  15699. r = t.length,
  15700. n = "",
  15701. i = 0;
  15702. i < e;
  15703. i++
  15704. ) {
  15705. var o = Math.floor(Math.random() * r)
  15706. n += t[o]
  15707. }
  15708. return n
  15709. },
  15710. Z = (function () {
  15711. function e(t, r) {
  15712. v(this, e),
  15713. (this.jobs = []),
  15714. (this.jobsExtra = []),
  15715. (this.jobsExtraed = []),
  15716. (this.runJobIds = []),
  15717. (this.timeId = null),
  15718. (this.timeOut = 100),
  15719. (this.jobTimeOut = 36e5),
  15720. (this.asyncJobNum = 3),
  15721. (this.running = !1),
  15722. t && (this.timeOut = t),
  15723. r && (this.jobTimeOut = r)
  15724. }
  15725. return (
  15726. w(e, [
  15727. {
  15728. key: "destroy",
  15729. value: function () {
  15730. ;(this.running = !1),
  15731. (this.jobs.length = 0),
  15732. (this.jobsExtra.length = 0),
  15733. (this.runJobIds.length = 0),
  15734. this.timeId && clearInterval(this.timeId),
  15735. (this.timeId = null)
  15736. }
  15737. },
  15738. {
  15739. key: "addCourseWareTask",
  15740. value: function (e) {
  15741. var t = this
  15742. return new Promise(function (r, n) {
  15743. e.type || n(new Error("taskType must be a string"))
  15744. var i = e.extra,
  15745. o = e.type,
  15746. a = y(e, X)
  15747. i = Array.isArray(i) ? i : [i]
  15748. var s = [],
  15749. l = []
  15750. i.forEach(function (e) {
  15751. var r = t.createJob(o, e),
  15752. n = m(r, 2),
  15753. i = n[0],
  15754. c = n[1]
  15755. s.push(f(f({}, i), a)), l.push(c)
  15756. }),
  15757. r([s, l])
  15758. })
  15759. .then(function (e) {
  15760. var r,
  15761. n,
  15762. i = m(e, 2),
  15763. o = i[0],
  15764. a = i[1]
  15765. return (r = t.jobs).push.apply(r, l(o)), (n = t.jobsExtra).push.apply(n, l(a)), o
  15766. })
  15767. .then(function (e) {
  15768. return t.startTask(), e
  15769. })
  15770. }
  15771. },
  15772. {
  15773. key: "startTask",
  15774. value: function () {
  15775. var e = this
  15776. return new Promise(function (t, r) {
  15777. e.running || ((e.running = !0), e.createTimer().then(t).catch(r))
  15778. })
  15779. }
  15780. },
  15781. {
  15782. key: "stopTask",
  15783. value: function () {
  15784. ;(this.running = !1), this.timeId && clearInterval(this.timeId), (this.timeId = null), (this.runJobIds.length = 0)
  15785. }
  15786. },
  15787. {
  15788. key: "getRunJobIds",
  15789. value: function () {
  15790. return this.runJobIds
  15791. }
  15792. },
  15793. {
  15794. key: "onProgress",
  15795. value: function (e) {
  15796. var t = e.id,
  15797. r = e.progress,
  15798. n = e.status,
  15799. i = e.jobExtra,
  15800. o = e.extra,
  15801. a = this.jobs.find(function (e) {
  15802. return e.id === t
  15803. })
  15804. a &&
  15805. ((a.progress = r),
  15806. (a.status = n),
  15807. n === O.start && this.jobsExtraed.push(i),
  15808. (n !== O.done && n !== O.failed) ||
  15809. (this.runJobIds = this.runJobIds
  15810. .filter(function (e) {
  15811. return e !== t
  15812. })
  15813. .filter(Boolean)),
  15814. self.postMessage({
  15815. id: K(),
  15816. type: Y,
  15817. result: f(
  15818. f({}, a),
  15819. {},
  15820. {
  15821. extra: o
  15822. }
  15823. )
  15824. }))
  15825. }
  15826. },
  15827. {
  15828. key: "createTimer",
  15829. value: function () {
  15830. var e = this
  15831. return new Promise(function (t, r) {
  15832. var n = e
  15833. n.timeId = self.setInterval(function () {
  15834. var t = n.runJobIds.length
  15835. if (t !== n.asyncJobNum && 0 !== n.jobsExtra.length) {
  15836. for (var i = n.asyncJobNum - t, o = [], a = 0; a < i; a++) n.jobsExtra.length > 0 && o.push(n.jobsExtra.pop())
  15837. ;(o = o.filter(Boolean)),
  15838. o.forEach(function (t) {
  15839. n.doJob(t)
  15840. .then(function () {
  15841. e.runJobIds.push(t.id)
  15842. })
  15843. .catch(r)
  15844. })
  15845. }
  15846. }, n.timeOut)
  15847. })
  15848. }
  15849. },
  15850. {
  15851. key: "doJob",
  15852. value: function (e) {
  15853. return Promise.resolve().then(function () {
  15854. e.jobFunc(e)
  15855. })
  15856. }
  15857. },
  15858. {
  15859. key: "createJob",
  15860. value: function (e, t) {
  15861. var r = {
  15862. id: K(),
  15863. name: t.outputName || t.name || "未命名",
  15864. type: e,
  15865. progress: 0,
  15866. status: O.pending
  15867. },
  15868. n = {
  15869. id: r.id,
  15870. extra: t,
  15871. progress: this.onProgress.bind(this),
  15872. jobFunc: this.createJobFunc(r)
  15873. }
  15874. return [r, n]
  15875. }
  15876. },
  15877. {
  15878. key: "createJobFunc",
  15879. value: function (e) {
  15880. var t = null
  15881. switch (e.type) {
  15882. case "downloadCourseware":
  15883. t = H
  15884. break
  15885. case "uploadCourseware":
  15886. t = W
  15887. break
  15888. }
  15889. return t
  15890. }
  15891. }
  15892. ]),
  15893. e
  15894. )
  15895. })(),
  15896. Q = null,
  15897. J = function () {
  15898. return Q || (Q = new Z()), Q
  15899. },
  15900. $ = function () {
  15901. Q = null
  15902. },
  15903. ee = function (e) {
  15904. return new Promise(function (t, r) {
  15905. Q ? Q.addCourseWareTask(e).then(t).catch(r) : r(new Error("no found courseWareTaskController instance "))
  15906. })
  15907. },
  15908. te = function () {
  15909. var e
  15910. return (null === (e = Q) || void 0 === e ? void 0 : e.getRunJobIds()) || []
  15911. },
  15912. re = function (e, t) {
  15913. M(e, t)
  15914. },
  15915. ne = function () {
  15916. D()
  15917. }
  15918. addEventListener("message", function (e) {
  15919. var r,
  15920. n,
  15921. i = e.data,
  15922. o = i.type,
  15923. a = i.method,
  15924. s = i.id,
  15925. l = i.params
  15926. "RPC" === o &&
  15927. a &&
  15928. ((n = (r = t[a])
  15929. ? Promise.resolve().then(function () {
  15930. return r.apply(t, l)
  15931. })
  15932. : Promise.reject("No such method")),
  15933. n
  15934. .then(function (e) {
  15935. postMessage({
  15936. type: "RPC",
  15937. id: s,
  15938. result: e
  15939. })
  15940. })
  15941. .catch(function (e) {
  15942. var t = {
  15943. message: e
  15944. }
  15945. e.stack && ((t.message = e.message), (t.stack = e.stack), (t.name = e.name)),
  15946. postMessage({
  15947. type: "RPC",
  15948. id: s,
  15949. error: t
  15950. })
  15951. }))
  15952. }),
  15953. postMessage({
  15954. type: "RPC",
  15955. method: "ready"
  15956. })
  15957. },
  15958. "9b12": function (e, t) {
  15959. e.exports = {
  15960. isArray: function (e) {
  15961. return Array.isArray ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e)
  15962. }
  15963. }
  15964. },
  15965. "9b15": function (module, exports, __webpack_require__) {
  15966. ;(function (global) {
  15967. var require, require
  15968. ;(function (e) {
  15969. module.exports = e()
  15970. })(function () {
  15971. var define, module, exports
  15972. return (function () {
  15973. function e(t, r, n) {
  15974. function i(a, s) {
  15975. if (!r[a]) {
  15976. if (!t[a]) {
  15977. var l = "function" == typeof require && require
  15978. if (!s && l) return require(a, !0)
  15979. if (o) return o(a, !0)
  15980. var c = new Error("Cannot find module '" + a + "'")
  15981. throw ((c.code = "MODULE_NOT_FOUND"), c)
  15982. }
  15983. var u = (r[a] = {
  15984. exports: {}
  15985. })
  15986. t[a][0].call(
  15987. u.exports,
  15988. function (e) {
  15989. var r = t[a][1][e]
  15990. return i(r || e)
  15991. },
  15992. u,
  15993. u.exports,
  15994. e,
  15995. t,
  15996. r,
  15997. n
  15998. )
  15999. }
  16000. return r[a].exports
  16001. }
  16002. for (var o = "function" == typeof require && require, a = 0; a < n.length; a++) i(n[a])
  16003. return i
  16004. }
  16005. return e
  16006. })()(
  16007. {
  16008. 1: [
  16009. function (e, t, r) {
  16010. "use strict"
  16011. var n = e("./browser/client")
  16012. ;(n.Buffer = e("buffer").Buffer),
  16013. (n.urllib = e("../shims/xhr")),
  16014. (n.version = e("./browser/version").version),
  16015. (t.exports = n)
  16016. },
  16017. {
  16018. "../shims/xhr": 396,
  16019. "./browser/client": 2,
  16020. "./browser/version": 5,
  16021. buffer: 99
  16022. }
  16023. ],
  16024. 2: [
  16025. function (e, t, r) {
  16026. ;(function (r, n) {
  16027. "use strict"
  16028. var i = e("@babel/runtime/helpers/interopRequireDefault")
  16029. e("core-js/modules/es.symbol"),
  16030. e("core-js/modules/es.symbol.description"),
  16031. e("core-js/modules/es.array.concat"),
  16032. e("core-js/modules/es.array.includes"),
  16033. e("core-js/modules/es.array.index-of"),
  16034. e("core-js/modules/es.array.slice"),
  16035. e("core-js/modules/es.function.name"),
  16036. e("core-js/modules/es.object.assign"),
  16037. e("core-js/modules/es.object.to-string"),
  16038. e("core-js/modules/es.promise"),
  16039. e("core-js/modules/es.regexp.exec"),
  16040. e("core-js/modules/es.regexp.to-string"),
  16041. e("core-js/modules/es.string.replace"),
  16042. e("core-js/modules/es.string.split")
  16043. var o = i(e("@babel/runtime/regenerator"))
  16044. e("regenerator-runtime/runtime")
  16045. var a = i(e("@babel/runtime/helpers/asyncToGenerator")),
  16046. s = e("debug")("ali-oss"),
  16047. l = e("xml2js"),
  16048. c = e("agentkeepalive"),
  16049. u = e("merge-descriptors"),
  16050. f = e("platform"),
  16051. p = e("utility"),
  16052. d = e("urllib"),
  16053. h = e("./version"),
  16054. m = e("bowser"),
  16055. g = e("../common/signUtils"),
  16056. y = e("../common/client/initOptions"),
  16057. v = e("../common/utils/createRequest"),
  16058. b = v.createRequest,
  16059. w = e("../common/utils/encoder"),
  16060. x = w.encoder,
  16061. A = e("../common/client/getReqUrl"),
  16062. _ = A.getReqUrl,
  16063. T = e("../common/utils/setSTSToken"),
  16064. E = T.setSTSToken,
  16065. S = e("../common/utils/retry"),
  16066. C = S.retry,
  16067. k = e("../common/utils/isFunction"),
  16068. L = k.isFunction,
  16069. P = new c()
  16070. function O() {
  16071. var e = f.name,
  16072. t = f.version
  16073. e &&
  16074. e.toLowerCase &&
  16075. "ie" === e.toLowerCase() &&
  16076. t.split(".")[0] < 10 &&
  16077. console.warn("ali-oss does not support the current browser")
  16078. }
  16079. function j() {
  16080. return location && "https:" === location.protocol
  16081. }
  16082. function R(e, t) {
  16083. if ((O(), !(this instanceof R))) return new R(e, t)
  16084. e && e.inited ? (this.options = e) : (this.options = R.initOptions(e)),
  16085. (this.options.cancelFlag = !1),
  16086. this.options.urllib
  16087. ? (this.urllib = this.options.urllib)
  16088. : ((this.urllib = d), (this.agent = this.options.agent || P)),
  16089. (this.ctx = t),
  16090. (this.userAgent = this._getUserAgent()),
  16091. (this.options.amendTimeSkewed = 0)
  16092. }
  16093. ;(t.exports = R),
  16094. (R.initOptions = function (e) {
  16095. e.stsToken ||
  16096. console.warn(
  16097. "Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html"
  16098. )
  16099. var t = Object.assign(
  16100. {
  16101. secure: j(),
  16102. useFetch: !1
  16103. },
  16104. e
  16105. )
  16106. return y(t)
  16107. })
  16108. var I = R.prototype
  16109. function N(e) {
  16110. return M.apply(this, arguments)
  16111. }
  16112. function M() {
  16113. return (
  16114. (M = (0, a.default)(
  16115. o.default.mark(function e(t) {
  16116. var r, n, i, a, s, l
  16117. return o.default.wrap(
  16118. function (e) {
  16119. while (1)
  16120. switch ((e.prev = e.next)) {
  16121. case 0:
  16122. if (!this.options.stsToken || !L(this.options.refreshSTSToken)) {
  16123. e.next = 3
  16124. break
  16125. }
  16126. return (e.next = 3), E.call(this)
  16127. case 3:
  16128. return (
  16129. (r = b.call(this, t)),
  16130. this.options.useFetch || (r.params.mode = "disable-fetch"),
  16131. (a = !!t.stream),
  16132. (e.prev = 6),
  16133. (e.next = 9),
  16134. this.urllib.request(r.url, r.params)
  16135. )
  16136. case 9:
  16137. ;(n = e.sent),
  16138. this.debug(
  16139. "response %s %s, got %s, headers: %j",
  16140. t.method,
  16141. r.url,
  16142. n.status,
  16143. n.headers,
  16144. "info"
  16145. ),
  16146. (e.next = 16)
  16147. break
  16148. case 13:
  16149. ;(e.prev = 13), (e.t0 = e["catch"](6)), (i = e.t0)
  16150. case 16:
  16151. if (!n || !t.successStatuses || -1 !== t.successStatuses.indexOf(n.status)) {
  16152. e.next = 28
  16153. break
  16154. }
  16155. return (e.next = 19), this.requestError(n)
  16156. case 19:
  16157. if (((s = e.sent), "RequestTimeTooSkewed" !== s.code || a)) {
  16158. e.next = 25
  16159. break
  16160. }
  16161. return (
  16162. (this.options.amendTimeSkewed = +new Date(s.serverTime) - new Date()),
  16163. (e.next = 24),
  16164. this.request(t)
  16165. )
  16166. case 24:
  16167. return e.abrupt("return", e.sent)
  16168. case 25:
  16169. ;(s.params = t), (e.next = 32)
  16170. break
  16171. case 28:
  16172. if (!i) {
  16173. e.next = 32
  16174. break
  16175. }
  16176. return (e.next = 31), this.requestError(i)
  16177. case 31:
  16178. s = e.sent
  16179. case 32:
  16180. if (!s) {
  16181. e.next = 34
  16182. break
  16183. }
  16184. throw s
  16185. case 34:
  16186. if (!t.xmlResponse) {
  16187. e.next = 39
  16188. break
  16189. }
  16190. return (e.next = 37), this.parseXML(n.data)
  16191. case 37:
  16192. ;(l = e.sent), (n.data = l)
  16193. case 39:
  16194. return e.abrupt("return", n)
  16195. case 40:
  16196. case "end":
  16197. return e.stop()
  16198. }
  16199. },
  16200. e,
  16201. this,
  16202. [[6, 13]]
  16203. )
  16204. })
  16205. )),
  16206. M.apply(this, arguments)
  16207. )
  16208. }
  16209. ;(I.debug = s),
  16210. u(I, e("./object")),
  16211. u(I, e("../common/bucket/getBucketWebsite")),
  16212. u(I, e("../common/bucket/putBucketWebsite")),
  16213. u(I, e("../common/bucket/deleteBucketWebsite")),
  16214. u(I, e("../common/bucket/getBucketLifecycle")),
  16215. u(I, e("../common/bucket/putBucketLifecycle")),
  16216. u(I, e("../common/bucket/deleteBucketLifecycle")),
  16217. u(I, e("../common/bucket/putBucketVersioning")),
  16218. u(I, e("../common/bucket/getBucketVersioning")),
  16219. u(I, e("../common/bucket/getBucketInventory")),
  16220. u(I, e("../common/bucket/deleteBucketInventory")),
  16221. u(I, e("../common/bucket/listBucketInventory")),
  16222. u(I, e("../common/bucket/putBucketInventory")),
  16223. u(I, e("../common/bucket/abortBucketWorm")),
  16224. u(I, e("../common/bucket/completeBucketWorm")),
  16225. u(I, e("../common/bucket/extendBucketWorm")),
  16226. u(I, e("../common/bucket/getBucketWorm")),
  16227. u(I, e("../common/bucket/initiateBucketWorm")),
  16228. u(I, e("./managed-upload")),
  16229. u(I, e("../common/multipart")),
  16230. u(I, e("../common/parallel")),
  16231. (I.signature = function (e) {
  16232. return (
  16233. this.debug("authorization stringToSign: %s", e, "info"),
  16234. g.computeSignature(this.options.accessKeySecret, e, this.options.headerEncoding)
  16235. )
  16236. }),
  16237. (I._getReqUrl = _),
  16238. (I.authorization = function (e, t, r, n) {
  16239. var i = g.buildCanonicalString(e.toUpperCase(), t, {
  16240. headers: n,
  16241. parameters: r
  16242. })
  16243. return g.authorization(this.options.accessKeyId, this.options.accessKeySecret, i, this.options.headerEncoding)
  16244. }),
  16245. (I.request = (function () {
  16246. var e = (0, a.default)(
  16247. o.default.mark(function e(t) {
  16248. var r = this
  16249. return o.default.wrap(
  16250. function (e) {
  16251. while (1)
  16252. switch ((e.prev = e.next)) {
  16253. case 0:
  16254. if (!this.options.retryMax) {
  16255. e.next = 6
  16256. break
  16257. }
  16258. return (
  16259. (e.next = 3),
  16260. C(N.bind(this), this.options.retryMax, {
  16261. errorHandler: function (e) {
  16262. var n = function (e) {
  16263. if (t.stream) return !1
  16264. var n = [-1, -2].includes(e.status),
  16265. i =
  16266. r.options.requestErrorRetryHandle ||
  16267. function () {
  16268. return !0
  16269. }
  16270. return n && i(e)
  16271. }
  16272. return !!n(e)
  16273. }
  16274. })(t)
  16275. )
  16276. case 3:
  16277. return e.abrupt("return", e.sent)
  16278. case 6:
  16279. return e.abrupt("return", N.call(this, t))
  16280. case 7:
  16281. case "end":
  16282. return e.stop()
  16283. }
  16284. },
  16285. e,
  16286. this
  16287. )
  16288. })
  16289. )
  16290. return function (t) {
  16291. return e.apply(this, arguments)
  16292. }
  16293. })()),
  16294. (I._getResource = function (e) {
  16295. var t = "/"
  16296. return e.bucket && (t += "".concat(e.bucket, "/")), e.object && (t += x(e.object, this.options.headerEncoding)), t
  16297. }),
  16298. (I._escape = function (e) {
  16299. return p.encodeURIComponent(e).replace(/%2F/g, "/")
  16300. }),
  16301. (I._getUserAgent = function () {
  16302. var e = n && n.browser ? "js" : "nodejs",
  16303. t = "aliyun-sdk-".concat(e, "/").concat(h.version),
  16304. r = f.description
  16305. return (
  16306. !r && n && (r = "Node.js ".concat(n.version.slice(1), " on ").concat(n.platform, " ").concat(n.arch)),
  16307. this._checkUserAgent("".concat(t, " ").concat(r))
  16308. )
  16309. }),
  16310. (I._checkUserAgent = function (e) {
  16311. var t = e.replace(/\u03b1/, "alpha").replace(/\u03b2/, "beta")
  16312. return t
  16313. }),
  16314. (I.checkBrowserAndVersion = function (e, t) {
  16315. return m.name === e && m.version.split(".")[0] === t
  16316. }),
  16317. (I.parseXML = function (e) {
  16318. return new Promise(function (t, n) {
  16319. r.isBuffer(e) && (e = e.toString()),
  16320. l.parseString(
  16321. e,
  16322. {
  16323. explicitRoot: !1,
  16324. explicitArray: !1
  16325. },
  16326. function (e, r) {
  16327. e ? n(e) : t(r)
  16328. }
  16329. )
  16330. })
  16331. }),
  16332. (I.requestError = (function () {
  16333. var e = (0, a.default)(
  16334. o.default.mark(function e(t) {
  16335. var r, n, i, a
  16336. return o.default.wrap(
  16337. function (e) {
  16338. while (1)
  16339. switch ((e.prev = e.next)) {
  16340. case 0:
  16341. if (((r = null), t.data && t.data.length)) {
  16342. e.next = 5
  16343. break
  16344. }
  16345. ;-1 === t.status || -2 === t.status
  16346. ? ((r = new Error(t.message)), (r.name = t.name), (r.status = t.status), (r.code = t.name))
  16347. : (404 === t.status
  16348. ? ((r = new Error("Object not exists")),
  16349. (r.name = "NoSuchKeyError"),
  16350. (r.status = 404),
  16351. (r.code = "NoSuchKey"))
  16352. : 412 === t.status
  16353. ? ((r = new Error("Pre condition failed")),
  16354. (r.name = "PreconditionFailedError"),
  16355. (r.status = 412),
  16356. (r.code = "PreconditionFailed"))
  16357. : ((r = new Error("Unknow error, status: ".concat(t.status))),
  16358. (r.name = "UnknowError"),
  16359. (r.status = t.status)),
  16360. (r.requestId = t.headers["x-oss-request-id"]),
  16361. (r.host = "")),
  16362. (e.next = 32)
  16363. break
  16364. case 5:
  16365. return (
  16366. (n = String(t.data)),
  16367. this.debug("request response error data: %s", n, "error"),
  16368. (e.prev = 7),
  16369. (e.next = 10),
  16370. this.parseXML(n)
  16371. )
  16372. case 10:
  16373. if (((e.t0 = e.sent), e.t0)) {
  16374. e.next = 13
  16375. break
  16376. }
  16377. e.t0 = {}
  16378. case 13:
  16379. ;(i = e.t0), (e.next = 23)
  16380. break
  16381. case 16:
  16382. return (
  16383. (e.prev = 16),
  16384. (e.t1 = e["catch"](7)),
  16385. this.debug(n, "error"),
  16386. (e.t1.message += "\nraw xml: ".concat(n)),
  16387. (e.t1.status = t.status),
  16388. (e.t1.requestId = t.headers["x-oss-request-id"]),
  16389. e.abrupt("return", e.t1)
  16390. )
  16391. case 23:
  16392. ;(a = i.Message || "unknow request error, status: ".concat(t.status)),
  16393. i.Condition && (a += " (condition: ".concat(i.Condition, ")")),
  16394. (r = new Error(a)),
  16395. (r.name = i.Code ? "".concat(i.Code, "Error") : "UnknowError"),
  16396. (r.status = t.status),
  16397. (r.code = i.Code),
  16398. (r.requestId = i.RequestId),
  16399. (r.hostId = i.HostId),
  16400. (r.serverTime = i.ServerTime)
  16401. case 32:
  16402. return this.debug("generate error %j", r, "error"), e.abrupt("return", r)
  16403. case 34:
  16404. case "end":
  16405. return e.stop()
  16406. }
  16407. },
  16408. e,
  16409. this,
  16410. [[7, 16]]
  16411. )
  16412. })
  16413. )
  16414. function t(t) {
  16415. return e.apply(this, arguments)
  16416. }
  16417. return t
  16418. })())
  16419. }).call(
  16420. this,
  16421. {
  16422. isBuffer: e("../../node_modules/is-buffer/index.js")
  16423. },
  16424. e("_process")
  16425. )
  16426. },
  16427. {
  16428. "../../node_modules/is-buffer/index.js": 307,
  16429. "../common/bucket/abortBucketWorm": 6,
  16430. "../common/bucket/completeBucketWorm": 7,
  16431. "../common/bucket/deleteBucketInventory": 8,
  16432. "../common/bucket/deleteBucketLifecycle": 9,
  16433. "../common/bucket/deleteBucketWebsite": 10,
  16434. "../common/bucket/extendBucketWorm": 11,
  16435. "../common/bucket/getBucketInventory": 12,
  16436. "../common/bucket/getBucketLifecycle": 13,
  16437. "../common/bucket/getBucketVersioning": 14,
  16438. "../common/bucket/getBucketWebsite": 15,
  16439. "../common/bucket/getBucketWorm": 16,
  16440. "../common/bucket/initiateBucketWorm": 17,
  16441. "../common/bucket/listBucketInventory": 18,
  16442. "../common/bucket/putBucketInventory": 19,
  16443. "../common/bucket/putBucketLifecycle": 20,
  16444. "../common/bucket/putBucketVersioning": 21,
  16445. "../common/bucket/putBucketWebsite": 22,
  16446. "../common/client/getReqUrl": 24,
  16447. "../common/client/initOptions": 25,
  16448. "../common/multipart": 28,
  16449. "../common/parallel": 46,
  16450. "../common/signUtils": 47,
  16451. "../common/utils/createRequest": 52,
  16452. "../common/utils/encoder": 55,
  16453. "../common/utils/isFunction": 63,
  16454. "../common/utils/retry": 68,
  16455. "../common/utils/setSTSToken": 70,
  16456. "./managed-upload": 3,
  16457. "./object": 4,
  16458. "./version": 5,
  16459. "@babel/runtime/helpers/asyncToGenerator": 71,
  16460. "@babel/runtime/helpers/interopRequireDefault": 72,
  16461. "@babel/runtime/regenerator": 75,
  16462. _process: 392,
  16463. agentkeepalive: 76,
  16464. bowser: 78,
  16465. "core-js/modules/es.array.concat": 234,
  16466. "core-js/modules/es.array.includes": 240,
  16467. "core-js/modules/es.array.index-of": 241,
  16468. "core-js/modules/es.array.slice": 246,
  16469. "core-js/modules/es.function.name": 249,
  16470. "core-js/modules/es.object.assign": 251,
  16471. "core-js/modules/es.object.to-string": 254,
  16472. "core-js/modules/es.promise": 255,
  16473. "core-js/modules/es.regexp.exec": 256,
  16474. "core-js/modules/es.regexp.to-string": 257,
  16475. "core-js/modules/es.string.replace": 261,
  16476. "core-js/modules/es.string.split": 263,
  16477. "core-js/modules/es.symbol": 266,
  16478. "core-js/modules/es.symbol.description": 265,
  16479. debug: 390,
  16480. "merge-descriptors": 310,
  16481. platform: 316,
  16482. "regenerator-runtime/runtime": 336,
  16483. urllib: 396,
  16484. utility: 395,
  16485. xml2js: 351
  16486. }
  16487. ],
  16488. 3: [
  16489. function (e, t, r) {
  16490. ;(function (t) {
  16491. "use strict"
  16492. var n = e("@babel/runtime/helpers/interopRequireDefault")
  16493. e("core-js/modules/es.array.concat"),
  16494. e("core-js/modules/es.array.filter"),
  16495. e("core-js/modules/es.array.find"),
  16496. e("core-js/modules/es.array.from"),
  16497. e("core-js/modules/es.array.index-of"),
  16498. e("core-js/modules/es.array.iterator"),
  16499. e("core-js/modules/es.array.map"),
  16500. e("core-js/modules/es.array.slice"),
  16501. e("core-js/modules/es.array-buffer.slice"),
  16502. e("core-js/modules/es.function.name"),
  16503. e("core-js/modules/es.object.to-string"),
  16504. e("core-js/modules/es.promise"),
  16505. e("core-js/modules/es.regexp.to-string"),
  16506. e("core-js/modules/es.string.iterator"),
  16507. e("core-js/modules/es.typed-array.uint8-array"),
  16508. e("core-js/modules/es.typed-array.copy-within"),
  16509. e("core-js/modules/es.typed-array.every"),
  16510. e("core-js/modules/es.typed-array.fill"),
  16511. e("core-js/modules/es.typed-array.filter"),
  16512. e("core-js/modules/es.typed-array.find"),
  16513. e("core-js/modules/es.typed-array.find-index"),
  16514. e("core-js/modules/es.typed-array.for-each"),
  16515. e("core-js/modules/es.typed-array.includes"),
  16516. e("core-js/modules/es.typed-array.index-of"),
  16517. e("core-js/modules/es.typed-array.iterator"),
  16518. e("core-js/modules/es.typed-array.join"),
  16519. e("core-js/modules/es.typed-array.last-index-of"),
  16520. e("core-js/modules/es.typed-array.map"),
  16521. e("core-js/modules/es.typed-array.reduce"),
  16522. e("core-js/modules/es.typed-array.reduce-right"),
  16523. e("core-js/modules/es.typed-array.reverse"),
  16524. e("core-js/modules/es.typed-array.set"),
  16525. e("core-js/modules/es.typed-array.slice"),
  16526. e("core-js/modules/es.typed-array.some"),
  16527. e("core-js/modules/es.typed-array.sort"),
  16528. e("core-js/modules/es.typed-array.subarray"),
  16529. e("core-js/modules/es.typed-array.to-locale-string"),
  16530. e("core-js/modules/es.typed-array.to-string")
  16531. var i = n(e("@babel/runtime/regenerator"))
  16532. e("regenerator-runtime/runtime")
  16533. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  16534. a = e("util"),
  16535. s = e("path"),
  16536. l = e("mime"),
  16537. c = e("copy-to"),
  16538. u = e("../common/utils/isBlob"),
  16539. f = u.isBlob,
  16540. p = e("../common/utils/isFile"),
  16541. d = p.isFile,
  16542. h = e("../common/utils/isArray"),
  16543. m = (h.isArray, e("../common/utils/isBuffer")),
  16544. g = m.isBuffer,
  16545. y = e("../common/utils/retry"),
  16546. v = (y.retry, r)
  16547. ;(v.multipartUpload = (function () {
  16548. var e = (0, o.default)(
  16549. i.default.mark(function e(t, r) {
  16550. var n,
  16551. o,
  16552. a,
  16553. c,
  16554. u,
  16555. p,
  16556. h,
  16557. m,
  16558. y,
  16559. v = arguments
  16560. return i.default.wrap(
  16561. function (e) {
  16562. while (1)
  16563. switch ((e.prev = e.next)) {
  16564. case 0:
  16565. if (
  16566. ((n = v.length > 2 && void 0 !== v[2] ? v[2] : {}),
  16567. this.resetCancelFlag(),
  16568. (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
  16569. !n.checkpoint || !n.checkpoint.uploadId)
  16570. ) {
  16571. e.next = 8
  16572. break
  16573. }
  16574. return r && d(r) && (n.checkpoint.file = r), (e.next = 7), this._resumeMultipart(n.checkpoint, n)
  16575. case 7:
  16576. return e.abrupt("return", e.sent)
  16577. case 8:
  16578. return (
  16579. (o = 102400),
  16580. n.mime ||
  16581. (d(r)
  16582. ? (n.mime = l.getType(s.extname(r.name)))
  16583. : f(r)
  16584. ? (n.mime = r.type)
  16585. : g(r)
  16586. ? (n.mime = "")
  16587. : (n.mime = l.getType(s.extname(r)))),
  16588. (n.headers = n.headers || {}),
  16589. this._convertMetaToHeaders(n.meta, n.headers),
  16590. (e.next = 14),
  16591. this._getFileSize(r)
  16592. )
  16593. case 14:
  16594. if (((a = e.sent), !(a < o))) {
  16595. e.next = 26
  16596. break
  16597. }
  16598. return (n.contentLength = a), (e.next = 19), this.put(t, r, n)
  16599. case 19:
  16600. if (((c = e.sent), !n || !n.progress)) {
  16601. e.next = 23
  16602. break
  16603. }
  16604. return (e.next = 23), n.progress(1)
  16605. case 23:
  16606. return (
  16607. (u = {
  16608. res: c.res,
  16609. bucket: this.options.bucket,
  16610. name: t,
  16611. etag: c.res.headers.etag
  16612. }),
  16613. ((n.headers && n.headers["x-oss-callback"]) || n.callback) && (u.data = c.data),
  16614. e.abrupt("return", u)
  16615. )
  16616. case 26:
  16617. if (!n.partSize || parseInt(n.partSize, 10) === n.partSize) {
  16618. e.next = 28
  16619. break
  16620. }
  16621. throw new Error("partSize must be int number")
  16622. case 28:
  16623. if (!(n.partSize && n.partSize < o)) {
  16624. e.next = 30
  16625. break
  16626. }
  16627. throw new Error("partSize must not be smaller than ".concat(o))
  16628. case 30:
  16629. return (e.next = 32), this.initMultipartUpload(t, n)
  16630. case 32:
  16631. if (
  16632. ((p = e.sent),
  16633. (h = p.uploadId),
  16634. (m = this._getPartSize(a, n.partSize)),
  16635. (y = {
  16636. file: r,
  16637. name: t,
  16638. fileSize: a,
  16639. partSize: m,
  16640. uploadId: h,
  16641. doneParts: []
  16642. }),
  16643. !n || !n.progress)
  16644. ) {
  16645. e.next = 39
  16646. break
  16647. }
  16648. return (e.next = 39), n.progress(0, y, p.res)
  16649. case 39:
  16650. return (e.next = 41), this._resumeMultipart(y, n)
  16651. case 41:
  16652. return e.abrupt("return", e.sent)
  16653. case 42:
  16654. case "end":
  16655. return e.stop()
  16656. }
  16657. },
  16658. e,
  16659. this
  16660. )
  16661. })
  16662. )
  16663. function t(t, r) {
  16664. return e.apply(this, arguments)
  16665. }
  16666. return t
  16667. })()),
  16668. (v._resumeMultipart = (function () {
  16669. var e = (0, o.default)(
  16670. i.default.mark(function e(t, r) {
  16671. var n, a, s, l, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T
  16672. return i.default.wrap(
  16673. function (e) {
  16674. while (1)
  16675. switch ((e.prev = e.next)) {
  16676. case 0:
  16677. if (((n = this), !this.isCancel())) {
  16678. e.next = 3
  16679. break
  16680. }
  16681. throw this._makeCancelEvent()
  16682. case 3:
  16683. return (
  16684. (a = t.file),
  16685. (s = t.fileSize),
  16686. (l = t.partSize),
  16687. (u = t.uploadId),
  16688. (f = t.doneParts),
  16689. (p = t.name),
  16690. (d = []),
  16691. f.length > 0 && c(f).to(d),
  16692. (h = this._divideParts(s, l)),
  16693. (m = h.length),
  16694. (g = !1),
  16695. (y = function (e, n) {
  16696. return new Promise(
  16697. (function () {
  16698. var s = (0, o.default)(
  16699. i.default.mark(function o(s, l) {
  16700. var d, y, v, b, w
  16701. return i.default.wrap(
  16702. function (i) {
  16703. while (1)
  16704. switch ((i.prev = i.next)) {
  16705. case 0:
  16706. if (((i.prev = 0), e.isCancel())) {
  16707. i.next = 29
  16708. break
  16709. }
  16710. return (
  16711. (d = h[n - 1]),
  16712. (i.next = 5),
  16713. e._createBuffer(a, d.start, d.end)
  16714. )
  16715. case 5:
  16716. return (
  16717. (y = i.sent),
  16718. (v = {
  16719. content: y,
  16720. size: d.end - d.start
  16721. }),
  16722. (i.prev = 7),
  16723. (i.next = 10),
  16724. e._uploadPart(p, u, n, v, {
  16725. timeout: r.timeout,
  16726. disabledMD5: r.disabledMD5
  16727. })
  16728. )
  16729. case 10:
  16730. ;(b = i.sent), (i.next = 18)
  16731. break
  16732. case 13:
  16733. if (
  16734. ((i.prev = 13), (i.t0 = i["catch"](7)), 404 !== i.t0.status)
  16735. ) {
  16736. i.next = 17
  16737. break
  16738. }
  16739. throw e._makeAbortEvent()
  16740. case 17:
  16741. throw i.t0
  16742. case 18:
  16743. if (e.isCancel() || g) {
  16744. i.next = 26
  16745. break
  16746. }
  16747. if (
  16748. (t.doneParts.push({
  16749. number: n,
  16750. etag: b.res.headers.etag
  16751. }),
  16752. !r.progress)
  16753. ) {
  16754. i.next = 23
  16755. break
  16756. }
  16757. return (i.next = 23), r.progress(f.length / m, t, b.res)
  16758. case 23:
  16759. s({
  16760. number: n,
  16761. etag: b.res.headers.etag
  16762. }),
  16763. (i.next = 27)
  16764. break
  16765. case 26:
  16766. s()
  16767. case 27:
  16768. i.next = 30
  16769. break
  16770. case 29:
  16771. s()
  16772. case 30:
  16773. i.next = 41
  16774. break
  16775. case 32:
  16776. ;(i.prev = 32),
  16777. (i.t1 = i["catch"](0)),
  16778. (w = new Error()),
  16779. (w.name = i.t1.name),
  16780. (w.message = i.t1.message),
  16781. (w.stack = i.t1.stack),
  16782. (w.partNum = n),
  16783. c(i.t1).to(w),
  16784. l(w)
  16785. case 41:
  16786. case "end":
  16787. return i.stop()
  16788. }
  16789. },
  16790. o,
  16791. null,
  16792. [
  16793. [0, 32],
  16794. [7, 13]
  16795. ]
  16796. )
  16797. })
  16798. )
  16799. return function (e, t) {
  16800. return s.apply(this, arguments)
  16801. }
  16802. })()
  16803. )
  16804. }),
  16805. (v = Array.from(new Array(m), function (e, t) {
  16806. return t + 1
  16807. })),
  16808. (b = d.map(function (e) {
  16809. return e.number
  16810. })),
  16811. (w = v.filter(function (e) {
  16812. return b.indexOf(e) < 0
  16813. })),
  16814. (x = 5),
  16815. (A = r.parallel || x),
  16816. (e.next = 17),
  16817. this._parallel(w, A, function (e) {
  16818. return new Promise(function (t, r) {
  16819. y(n, e)
  16820. .then(function (e) {
  16821. e && d.push(e), t()
  16822. })
  16823. .catch(function (e) {
  16824. r(e)
  16825. })
  16826. })
  16827. })
  16828. )
  16829. case 17:
  16830. if (
  16831. ((_ = e.sent),
  16832. (g = !0),
  16833. (T = _.find(function (e) {
  16834. return "abort" === e.name
  16835. })),
  16836. !T)
  16837. ) {
  16838. e.next = 22
  16839. break
  16840. }
  16841. throw T
  16842. case 22:
  16843. if (!this.isCancel()) {
  16844. e.next = 25
  16845. break
  16846. }
  16847. throw ((y = null), this._makeCancelEvent())
  16848. case 25:
  16849. if (!(_ && _.length > 0)) {
  16850. e.next = 28
  16851. break
  16852. }
  16853. throw (
  16854. ((_[0].message = "Failed to upload some parts with error: "
  16855. .concat(_[0].toString(), " part_num: ")
  16856. .concat(_[0].partNum)),
  16857. _[0])
  16858. )
  16859. case 28:
  16860. return (e.next = 30), this.completeMultipartUpload(p, u, d, r)
  16861. case 30:
  16862. return e.abrupt("return", e.sent)
  16863. case 31:
  16864. case "end":
  16865. return e.stop()
  16866. }
  16867. },
  16868. e,
  16869. this
  16870. )
  16871. })
  16872. )
  16873. function t(t, r) {
  16874. return e.apply(this, arguments)
  16875. }
  16876. return t
  16877. })()),
  16878. (v._getFileSize = (function () {
  16879. var e = (0, o.default)(
  16880. i.default.mark(function e(t) {
  16881. return i.default.wrap(function (e) {
  16882. while (1)
  16883. switch ((e.prev = e.next)) {
  16884. case 0:
  16885. if (!g(t)) {
  16886. e.next = 4
  16887. break
  16888. }
  16889. return e.abrupt("return", t.length)
  16890. case 4:
  16891. if (!f(t) && !d(t)) {
  16892. e.next = 6
  16893. break
  16894. }
  16895. return e.abrupt("return", t.size)
  16896. case 6:
  16897. throw new Error("_getFileSize requires Buffer/File/Blob.")
  16898. case 7:
  16899. case "end":
  16900. return e.stop()
  16901. }
  16902. }, e)
  16903. })
  16904. )
  16905. function t(t) {
  16906. return e.apply(this, arguments)
  16907. }
  16908. return t
  16909. })())
  16910. var b = e("stream"),
  16911. w = b.Readable
  16912. function x(e, t) {
  16913. if (!(this instanceof x)) return new x(e, t)
  16914. w.call(this, t),
  16915. (this.file = e),
  16916. (this.reader = new FileReader()),
  16917. (this.start = 0),
  16918. (this.finish = !1),
  16919. (this.fileBuffer = null)
  16920. }
  16921. function A(e) {
  16922. return e.arrayBuffer
  16923. ? e.arrayBuffer()
  16924. : new Promise(function (t, r) {
  16925. var n = new FileReader()
  16926. ;(n.onload = function (e) {
  16927. t(e.target.result)
  16928. }),
  16929. (n.onerror = function (e) {
  16930. r(e)
  16931. }),
  16932. n.readAsArrayBuffer(e)
  16933. })
  16934. }
  16935. a.inherits(x, w),
  16936. (x.prototype.readFileAndPush = function (e) {
  16937. if (this.fileBuffer) {
  16938. var t = !0
  16939. while (t && this.fileBuffer && this.start < this.fileBuffer.length) {
  16940. var r = this.start,
  16941. n = r + e
  16942. ;(n = n > this.fileBuffer.length ? this.fileBuffer.length : n),
  16943. (this.start = n),
  16944. (t = this.push(this.fileBuffer.slice(r, n)))
  16945. }
  16946. }
  16947. }),
  16948. (x.prototype._read = function (e) {
  16949. if (
  16950. (this.file && this.start >= this.file.size) ||
  16951. (this.fileBuffer && this.start >= this.fileBuffer.length) ||
  16952. this.finish ||
  16953. (0 === this.start && !this.file)
  16954. )
  16955. return this.finish || ((this.fileBuffer = null), (this.finish = !0)), void this.push(null)
  16956. var r = 16384
  16957. e = e || r
  16958. var n = this
  16959. ;(this.reader.onload = function (r) {
  16960. ;(n.fileBuffer = t.from(new Uint8Array(r.target.result))), (n.file = null), n.readFileAndPush(e)
  16961. }),
  16962. 0 === this.start ? this.reader.readAsArrayBuffer(this.file) : this.readFileAndPush(e)
  16963. }),
  16964. (v._createBuffer = (function () {
  16965. var e = (0, o.default)(
  16966. i.default.mark(function e(r, n, o) {
  16967. var a, s
  16968. return i.default.wrap(function (e) {
  16969. while (1)
  16970. switch ((e.prev = e.next)) {
  16971. case 0:
  16972. if (!f(r) && !d(r)) {
  16973. e.next = 8
  16974. break
  16975. }
  16976. return (a = r.slice(n, o)), (e.next = 4), A(a)
  16977. case 4:
  16978. return (s = e.sent), e.abrupt("return", t.from(s))
  16979. case 8:
  16980. if (!g(r)) {
  16981. e.next = 12
  16982. break
  16983. }
  16984. return e.abrupt("return", r.subarray(n, o))
  16985. case 12:
  16986. throw new Error("_createBuffer requires File/Blob/Buffer.")
  16987. case 13:
  16988. case "end":
  16989. return e.stop()
  16990. }
  16991. }, e)
  16992. })
  16993. )
  16994. function r(t, r, n) {
  16995. return e.apply(this, arguments)
  16996. }
  16997. return r
  16998. })()),
  16999. (v._getPartSize = function (e, t) {
  17000. var r = 1e4,
  17001. n = 1048576
  17002. t || (t = n)
  17003. var i = Math.ceil(e / r)
  17004. return (
  17005. t < i &&
  17006. ((t = i),
  17007. console.warn(
  17008. "partSize has been set to ".concat(
  17009. t,
  17010. ", because the partSize you provided causes partNumber to be greater than 10,000"
  17011. )
  17012. )),
  17013. t
  17014. )
  17015. }),
  17016. (v._divideParts = function (e, t) {
  17017. for (var r = Math.ceil(e / t), n = [], i = 0; i < r; i++) {
  17018. var o = t * i,
  17019. a = Math.min(o + t, e)
  17020. n.push({
  17021. start: o,
  17022. end: a
  17023. })
  17024. }
  17025. return n
  17026. })
  17027. }).call(this, e("buffer").Buffer)
  17028. },
  17029. {
  17030. "../common/utils/isArray": 59,
  17031. "../common/utils/isBlob": 60,
  17032. "../common/utils/isBuffer": 61,
  17033. "../common/utils/isFile": 62,
  17034. "../common/utils/retry": 68,
  17035. "@babel/runtime/helpers/asyncToGenerator": 71,
  17036. "@babel/runtime/helpers/interopRequireDefault": 72,
  17037. "@babel/runtime/regenerator": 75,
  17038. buffer: 99,
  17039. "copy-to": 101,
  17040. "core-js/modules/es.array-buffer.slice": 233,
  17041. "core-js/modules/es.array.concat": 234,
  17042. "core-js/modules/es.array.filter": 236,
  17043. "core-js/modules/es.array.find": 237,
  17044. "core-js/modules/es.array.from": 239,
  17045. "core-js/modules/es.array.index-of": 241,
  17046. "core-js/modules/es.array.iterator": 242,
  17047. "core-js/modules/es.array.map": 245,
  17048. "core-js/modules/es.array.slice": 246,
  17049. "core-js/modules/es.function.name": 249,
  17050. "core-js/modules/es.object.to-string": 254,
  17051. "core-js/modules/es.promise": 255,
  17052. "core-js/modules/es.regexp.to-string": 257,
  17053. "core-js/modules/es.string.iterator": 259,
  17054. "core-js/modules/es.typed-array.copy-within": 267,
  17055. "core-js/modules/es.typed-array.every": 268,
  17056. "core-js/modules/es.typed-array.fill": 269,
  17057. "core-js/modules/es.typed-array.filter": 270,
  17058. "core-js/modules/es.typed-array.find": 272,
  17059. "core-js/modules/es.typed-array.find-index": 271,
  17060. "core-js/modules/es.typed-array.for-each": 273,
  17061. "core-js/modules/es.typed-array.includes": 274,
  17062. "core-js/modules/es.typed-array.index-of": 275,
  17063. "core-js/modules/es.typed-array.iterator": 276,
  17064. "core-js/modules/es.typed-array.join": 277,
  17065. "core-js/modules/es.typed-array.last-index-of": 278,
  17066. "core-js/modules/es.typed-array.map": 279,
  17067. "core-js/modules/es.typed-array.reduce": 281,
  17068. "core-js/modules/es.typed-array.reduce-right": 280,
  17069. "core-js/modules/es.typed-array.reverse": 282,
  17070. "core-js/modules/es.typed-array.set": 283,
  17071. "core-js/modules/es.typed-array.slice": 284,
  17072. "core-js/modules/es.typed-array.some": 285,
  17073. "core-js/modules/es.typed-array.sort": 286,
  17074. "core-js/modules/es.typed-array.subarray": 287,
  17075. "core-js/modules/es.typed-array.to-locale-string": 288,
  17076. "core-js/modules/es.typed-array.to-string": 289,
  17077. "core-js/modules/es.typed-array.uint8-array": 290,
  17078. mime: 312,
  17079. path: 315,
  17080. "regenerator-runtime/runtime": 336,
  17081. stream: 339,
  17082. util: 345
  17083. }
  17084. ],
  17085. 4: [
  17086. function (e, t, r) {
  17087. "use strict"
  17088. var n = e("@babel/runtime/helpers/interopRequireDefault")
  17089. e("core-js/modules/es.array.for-each"),
  17090. e("core-js/modules/es.array.map"),
  17091. e("core-js/modules/es.function.name"),
  17092. e("core-js/modules/es.number.constructor"),
  17093. e("core-js/modules/es.object.assign"),
  17094. e("core-js/modules/es.object.keys"),
  17095. e("core-js/modules/es.object.to-string"),
  17096. e("core-js/modules/es.promise"),
  17097. e("core-js/modules/es.regexp.exec"),
  17098. e("core-js/modules/es.regexp.to-string"),
  17099. e("core-js/modules/es.string.replace"),
  17100. e("core-js/modules/web.dom-collections.for-each")
  17101. var i = n(e("@babel/runtime/regenerator"))
  17102. e("regenerator-runtime/runtime")
  17103. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  17104. a = e("fs"),
  17105. s = e("copy-to"),
  17106. l = e("path"),
  17107. c = e("mime"),
  17108. u = e("../common/callback"),
  17109. f = e("merge-descriptors"),
  17110. p = e("../common/utils/isBlob"),
  17111. d = p.isBlob,
  17112. h = e("../common/utils/isFile"),
  17113. m = h.isFile,
  17114. g = e("../common/utils/isBuffer"),
  17115. y = g.isBuffer,
  17116. v = r
  17117. ;(v.append = (function () {
  17118. var e = (0, o.default)(
  17119. i.default.mark(function e(t, r, n) {
  17120. var o
  17121. return i.default.wrap(
  17122. function (e) {
  17123. while (1)
  17124. switch ((e.prev = e.next)) {
  17125. case 0:
  17126. return (
  17127. (n = n || {}),
  17128. void 0 === n.position && (n.position = "0"),
  17129. (n.subres = {
  17130. append: "",
  17131. position: n.position
  17132. }),
  17133. (n.method = "POST"),
  17134. (e.next = 6),
  17135. this.put(t, r, n)
  17136. )
  17137. case 6:
  17138. return (
  17139. (o = e.sent),
  17140. (o.nextAppendPosition = o.res.headers["x-oss-next-append-position"]),
  17141. e.abrupt("return", o)
  17142. )
  17143. case 9:
  17144. case "end":
  17145. return e.stop()
  17146. }
  17147. },
  17148. e,
  17149. this
  17150. )
  17151. })
  17152. )
  17153. function t(t, r, n) {
  17154. return e.apply(this, arguments)
  17155. }
  17156. return t
  17157. })()),
  17158. (v.put = (function () {
  17159. var e = (0, o.default)(
  17160. i.default.mark(function e(t, r, n) {
  17161. var o, a, s, f, p
  17162. return i.default.wrap(
  17163. function (e) {
  17164. while (1)
  17165. switch ((e.prev = e.next)) {
  17166. case 0:
  17167. if (
  17168. ((n = n || {}),
  17169. (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
  17170. (n.headers = n.headers || {}),
  17171. (t = this._objectName(t)),
  17172. !y(r))
  17173. ) {
  17174. e.next = 8
  17175. break
  17176. }
  17177. ;(o = r), (e.next = 19)
  17178. break
  17179. case 8:
  17180. if (!d(r) && !m(r)) {
  17181. e.next = 18
  17182. break
  17183. }
  17184. return (
  17185. n.mime || (m(r) ? (n.mime = c.getType(l.extname(r.name))) : (n.mime = r.type)),
  17186. (e.next = 12),
  17187. this._createBuffer(r, 0, r.size)
  17188. )
  17189. case 12:
  17190. return (o = e.sent), (e.next = 15), this._getFileSize(r)
  17191. case 15:
  17192. ;(n.contentLength = e.sent), (e.next = 19)
  17193. break
  17194. case 18:
  17195. throw new TypeError("Must provide Buffer/Blob/File for put.")
  17196. case 19:
  17197. return (
  17198. this._convertMetaToHeaders(n.meta, n.headers),
  17199. (a = n.method || "PUT"),
  17200. (s = this._objectRequestParams(a, t, n)),
  17201. u.encodeCallback(s, n),
  17202. (s.mime = n.mime),
  17203. (s.disabledMD5 = n.disabledMD5),
  17204. (s.content = o),
  17205. (s.successStatuses = [200]),
  17206. (e.next = 29),
  17207. this.request(s)
  17208. )
  17209. case 29:
  17210. return (
  17211. (f = e.sent),
  17212. (p = {
  17213. name: t,
  17214. url: this._objectUrl(t),
  17215. res: f.res
  17216. }),
  17217. s.headers && s.headers["x-oss-callback"] && (p.data = JSON.parse(f.data.toString())),
  17218. e.abrupt("return", p)
  17219. )
  17220. case 33:
  17221. case "end":
  17222. return e.stop()
  17223. }
  17224. },
  17225. e,
  17226. this
  17227. )
  17228. })
  17229. )
  17230. function t(t, r, n) {
  17231. return e.apply(this, arguments)
  17232. }
  17233. return t
  17234. })()),
  17235. (v.putStream = (function () {
  17236. var e = (0, o.default)(
  17237. i.default.mark(function e(t, r, n) {
  17238. var o, a, s, l
  17239. return i.default.wrap(
  17240. function (e) {
  17241. while (1)
  17242. switch ((e.prev = e.next)) {
  17243. case 0:
  17244. return (
  17245. (n = n || {}),
  17246. (n.headers = n.headers || {}),
  17247. (t = this._objectName(t)),
  17248. n.contentLength
  17249. ? (n.headers["Content-Length"] = n.contentLength)
  17250. : (n.headers["Transfer-Encoding"] = "chunked"),
  17251. this._convertMetaToHeaders(n.meta, n.headers),
  17252. (o = n.method || "PUT"),
  17253. (a = this._objectRequestParams(o, t, n)),
  17254. u.encodeCallback(a, n),
  17255. (a.mime = n.mime),
  17256. (a.stream = r),
  17257. (a.successStatuses = [200]),
  17258. (e.next = 13),
  17259. this.request(a)
  17260. )
  17261. case 13:
  17262. return (
  17263. (s = e.sent),
  17264. (l = {
  17265. name: t,
  17266. url: this._objectUrl(t),
  17267. res: s.res
  17268. }),
  17269. a.headers && a.headers["x-oss-callback"] && (l.data = JSON.parse(s.data.toString())),
  17270. e.abrupt("return", l)
  17271. )
  17272. case 17:
  17273. case "end":
  17274. return e.stop()
  17275. }
  17276. },
  17277. e,
  17278. this
  17279. )
  17280. })
  17281. )
  17282. function t(t, r, n) {
  17283. return e.apply(this, arguments)
  17284. }
  17285. return t
  17286. })()),
  17287. f(v, e("../common/object/copyObject")),
  17288. f(v, e("../common/object/getObjectTagging")),
  17289. f(v, e("../common/object/putObjectTagging")),
  17290. f(v, e("../common/object/deleteObjectTagging")),
  17291. f(v, e("../common/image")),
  17292. f(v, e("../common/object/getBucketVersions")),
  17293. f(v, e("../common/object/getACL")),
  17294. f(v, e("../common/object/putACL")),
  17295. f(v, e("../common/object/head")),
  17296. f(v, e("../common/object/delete")),
  17297. f(v, e("../common/object/get")),
  17298. f(v, e("../common/object/putSymlink")),
  17299. f(v, e("../common/object/getSymlink")),
  17300. f(v, e("../common/object/deleteMulti")),
  17301. f(v, e("../common/object/getObjectMeta")),
  17302. f(v, e("../common/object/getObjectUrl")),
  17303. f(v, e("../common/object/generateObjectUrl")),
  17304. f(v, e("../common/object/signatureUrl")),
  17305. (v.putMeta = (function () {
  17306. var e = (0, o.default)(
  17307. i.default.mark(function e(t, r, n) {
  17308. var o
  17309. return i.default.wrap(
  17310. function (e) {
  17311. while (1)
  17312. switch ((e.prev = e.next)) {
  17313. case 0:
  17314. return (
  17315. (e.next = 2),
  17316. this.copy(t, t, {
  17317. meta: r || {},
  17318. timeout: n && n.timeout,
  17319. ctx: n && n.ctx
  17320. })
  17321. )
  17322. case 2:
  17323. return (o = e.sent), e.abrupt("return", o)
  17324. case 4:
  17325. case "end":
  17326. return e.stop()
  17327. }
  17328. },
  17329. e,
  17330. this
  17331. )
  17332. })
  17333. )
  17334. function t(t, r, n) {
  17335. return e.apply(this, arguments)
  17336. }
  17337. return t
  17338. })()),
  17339. (v.list = (function () {
  17340. var e = (0, o.default)(
  17341. i.default.mark(function e(t, r) {
  17342. var n, o, a, s, l
  17343. return i.default.wrap(
  17344. function (e) {
  17345. while (1)
  17346. switch ((e.prev = e.next)) {
  17347. case 0:
  17348. return (
  17349. (n = this._objectRequestParams("GET", "", r)),
  17350. (n.query = t),
  17351. (n.xmlResponse = !0),
  17352. (n.successStatuses = [200]),
  17353. (e.next = 6),
  17354. this.request(n)
  17355. )
  17356. case 6:
  17357. return (
  17358. (o = e.sent),
  17359. (a = o.data.Contents),
  17360. (s = this),
  17361. a &&
  17362. (Array.isArray(a) || (a = [a]),
  17363. (a = a.map(function (e) {
  17364. return {
  17365. name: e.Key,
  17366. url: s._objectUrl(e.Key),
  17367. lastModified: e.LastModified,
  17368. etag: e.ETag,
  17369. type: e.Type,
  17370. size: Number(e.Size),
  17371. storageClass: e.StorageClass,
  17372. owner: {
  17373. id: e.Owner.ID,
  17374. displayName: e.Owner.DisplayName
  17375. }
  17376. }
  17377. }))),
  17378. (l = o.data.CommonPrefixes || null),
  17379. l &&
  17380. (Array.isArray(l) || (l = [l]),
  17381. (l = l.map(function (e) {
  17382. return e.Prefix
  17383. }))),
  17384. e.abrupt("return", {
  17385. res: o.res,
  17386. objects: a,
  17387. prefixes: l,
  17388. nextMarker: o.data.NextMarker || null,
  17389. isTruncated: "true" === o.data.IsTruncated
  17390. })
  17391. )
  17392. case 13:
  17393. case "end":
  17394. return e.stop()
  17395. }
  17396. },
  17397. e,
  17398. this
  17399. )
  17400. })
  17401. )
  17402. function t(t, r) {
  17403. return e.apply(this, arguments)
  17404. }
  17405. return t
  17406. })()),
  17407. (v.listV2 = (function () {
  17408. var e = (0, o.default)(
  17409. i.default.mark(function e(t) {
  17410. var r,
  17411. n,
  17412. o,
  17413. a,
  17414. s,
  17415. l,
  17416. c,
  17417. u = arguments
  17418. return i.default.wrap(
  17419. function (e) {
  17420. while (1)
  17421. switch ((e.prev = e.next)) {
  17422. case 0:
  17423. return (
  17424. (r = u.length > 1 && void 0 !== u[1] ? u[1] : {}),
  17425. (n = t["continuation-token"] || t.continuationToken),
  17426. delete t["continuation-token"],
  17427. delete t.continuationToken,
  17428. n &&
  17429. (r.subres = Object.assign(
  17430. {
  17431. "continuation-token": n
  17432. },
  17433. r.subres
  17434. )),
  17435. (o = this._objectRequestParams("GET", "", r)),
  17436. (o.query = Object.assign(
  17437. {
  17438. "list-type": 2
  17439. },
  17440. t
  17441. )),
  17442. (o.xmlResponse = !0),
  17443. (o.successStatuses = [200]),
  17444. (e.next = 11),
  17445. this.request(o)
  17446. )
  17447. case 11:
  17448. return (
  17449. (a = e.sent),
  17450. (s = a.data.Contents),
  17451. (l = this),
  17452. s &&
  17453. (Array.isArray(s) || (s = [s]),
  17454. (s = s.map(function (e) {
  17455. return {
  17456. name: e.Key,
  17457. url: l._objectUrl(e.Key),
  17458. lastModified: e.LastModified,
  17459. etag: e.ETag,
  17460. type: e.Type,
  17461. size: Number(e.Size),
  17462. storageClass: e.StorageClass,
  17463. owner: e.Owner
  17464. ? {
  17465. id: e.Owner.ID,
  17466. displayName: e.Owner.DisplayName
  17467. }
  17468. : null
  17469. }
  17470. }))),
  17471. (c = a.data.CommonPrefixes || null),
  17472. c &&
  17473. (Array.isArray(c) || (c = [c]),
  17474. (c = c.map(function (e) {
  17475. return e.Prefix
  17476. }))),
  17477. e.abrupt("return", {
  17478. res: a.res,
  17479. objects: s,
  17480. prefixes: c,
  17481. isTruncated: "true" === a.data.IsTruncated,
  17482. keyCount: +a.data.KeyCount,
  17483. continuationToken: a.data.ContinuationToken || null,
  17484. nextContinuationToken: a.data.NextContinuationToken || null
  17485. })
  17486. )
  17487. case 18:
  17488. case "end":
  17489. return e.stop()
  17490. }
  17491. },
  17492. e,
  17493. this
  17494. )
  17495. })
  17496. )
  17497. function t(t) {
  17498. return e.apply(this, arguments)
  17499. }
  17500. return t
  17501. })()),
  17502. (v.restore = (function () {
  17503. var e = (0, o.default)(
  17504. i.default.mark(function e(t, r) {
  17505. var n, o
  17506. return i.default.wrap(
  17507. function (e) {
  17508. while (1)
  17509. switch ((e.prev = e.next)) {
  17510. case 0:
  17511. return (
  17512. (r = r || {}),
  17513. (r.subres = Object.assign(
  17514. {
  17515. restore: ""
  17516. },
  17517. r.subres
  17518. )),
  17519. r.versionId && (r.subres.versionId = r.versionId),
  17520. (n = this._objectRequestParams("POST", t, r)),
  17521. (n.successStatuses = [202]),
  17522. (e.next = 7),
  17523. this.request(n)
  17524. )
  17525. case 7:
  17526. return (
  17527. (o = e.sent),
  17528. e.abrupt("return", {
  17529. res: o.res
  17530. })
  17531. )
  17532. case 9:
  17533. case "end":
  17534. return e.stop()
  17535. }
  17536. },
  17537. e,
  17538. this
  17539. )
  17540. })
  17541. )
  17542. function t(t, r) {
  17543. return e.apply(this, arguments)
  17544. }
  17545. return t
  17546. })()),
  17547. (v._objectUrl = function (e) {
  17548. return this._getReqUrl({
  17549. bucket: this.options.bucket,
  17550. object: e
  17551. })
  17552. }),
  17553. (v._objectRequestParams = function (e, t, r) {
  17554. if (!this.options.bucket && !this.options.cname) throw new Error("Please create a bucket first")
  17555. ;(r = r || {}), (t = this._objectName(t))
  17556. var n = {
  17557. object: t,
  17558. bucket: this.options.bucket,
  17559. method: e,
  17560. subres: r && r.subres,
  17561. timeout: r && r.timeout,
  17562. ctx: r && r.ctx
  17563. }
  17564. return r.headers && ((n.headers = {}), s(r.headers).to(n.headers)), n
  17565. }),
  17566. (v._objectName = function (e) {
  17567. return e.replace(/^\/+/, "")
  17568. }),
  17569. (v._convertMetaToHeaders = function (e, t) {
  17570. e &&
  17571. Object.keys(e).forEach(function (r) {
  17572. t["x-oss-meta-".concat(r)] = e[r]
  17573. })
  17574. }),
  17575. (v._deleteFileSafe = function (e) {
  17576. var t = this
  17577. return new Promise(function (r) {
  17578. a.exists(e, function (n) {
  17579. n
  17580. ? a.unlink(e, function (n) {
  17581. n && t.debug("unlink %j error: %s", e, n, "error"), r()
  17582. })
  17583. : r()
  17584. })
  17585. })
  17586. })
  17587. },
  17588. {
  17589. "../common/callback": 23,
  17590. "../common/image": 26,
  17591. "../common/object/copyObject": 29,
  17592. "../common/object/delete": 30,
  17593. "../common/object/deleteMulti": 31,
  17594. "../common/object/deleteObjectTagging": 32,
  17595. "../common/object/generateObjectUrl": 33,
  17596. "../common/object/get": 34,
  17597. "../common/object/getACL": 35,
  17598. "../common/object/getBucketVersions": 36,
  17599. "../common/object/getObjectMeta": 37,
  17600. "../common/object/getObjectTagging": 38,
  17601. "../common/object/getObjectUrl": 39,
  17602. "../common/object/getSymlink": 40,
  17603. "../common/object/head": 41,
  17604. "../common/object/putACL": 42,
  17605. "../common/object/putObjectTagging": 43,
  17606. "../common/object/putSymlink": 44,
  17607. "../common/object/signatureUrl": 45,
  17608. "../common/utils/isBlob": 60,
  17609. "../common/utils/isBuffer": 61,
  17610. "../common/utils/isFile": 62,
  17611. "@babel/runtime/helpers/asyncToGenerator": 71,
  17612. "@babel/runtime/helpers/interopRequireDefault": 72,
  17613. "@babel/runtime/regenerator": 75,
  17614. "copy-to": 101,
  17615. "core-js/modules/es.array.for-each": 238,
  17616. "core-js/modules/es.array.map": 245,
  17617. "core-js/modules/es.function.name": 249,
  17618. "core-js/modules/es.number.constructor": 250,
  17619. "core-js/modules/es.object.assign": 251,
  17620. "core-js/modules/es.object.keys": 253,
  17621. "core-js/modules/es.object.to-string": 254,
  17622. "core-js/modules/es.promise": 255,
  17623. "core-js/modules/es.regexp.exec": 256,
  17624. "core-js/modules/es.regexp.to-string": 257,
  17625. "core-js/modules/es.string.replace": 261,
  17626. "core-js/modules/web.dom-collections.for-each": 291,
  17627. fs: 79,
  17628. "merge-descriptors": 310,
  17629. mime: 312,
  17630. path: 315,
  17631. "regenerator-runtime/runtime": 336
  17632. }
  17633. ],
  17634. 5: [
  17635. function (e, t, r) {
  17636. "use strict"
  17637. r.version = "6.16.0"
  17638. },
  17639. {}
  17640. ],
  17641. 6: [
  17642. function (e, t, r) {
  17643. "use strict"
  17644. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  17645. i = n(e("@babel/runtime/regenerator"))
  17646. e("regenerator-runtime/runtime")
  17647. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  17648. Object.defineProperty(r, "__esModule", {
  17649. value: !0
  17650. }),
  17651. (r.abortBucketWorm = void 0)
  17652. var a = e("../utils/checkBucketName")
  17653. function s(e, t) {
  17654. return l.apply(this, arguments)
  17655. }
  17656. function l() {
  17657. return (
  17658. (l = (0, o.default)(
  17659. i.default.mark(function e(t, r) {
  17660. var n, o
  17661. return i.default.wrap(
  17662. function (e) {
  17663. while (1)
  17664. switch ((e.prev = e.next)) {
  17665. case 0:
  17666. return (
  17667. a.checkBucketName(t),
  17668. (n = this._bucketRequestParams("DELETE", t, "worm", r)),
  17669. (e.next = 4),
  17670. this.request(n)
  17671. )
  17672. case 4:
  17673. return (
  17674. (o = e.sent),
  17675. e.abrupt("return", {
  17676. res: o.res,
  17677. status: o.status
  17678. })
  17679. )
  17680. case 6:
  17681. case "end":
  17682. return e.stop()
  17683. }
  17684. },
  17685. e,
  17686. this
  17687. )
  17688. })
  17689. )),
  17690. l.apply(this, arguments)
  17691. )
  17692. }
  17693. r.abortBucketWorm = s
  17694. },
  17695. {
  17696. "../utils/checkBucketName": 48,
  17697. "@babel/runtime/helpers/asyncToGenerator": 71,
  17698. "@babel/runtime/helpers/interopRequireDefault": 72,
  17699. "@babel/runtime/regenerator": 75,
  17700. "regenerator-runtime/runtime": 336
  17701. }
  17702. ],
  17703. 7: [
  17704. function (e, t, r) {
  17705. "use strict"
  17706. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  17707. i = n(e("@babel/runtime/regenerator"))
  17708. e("regenerator-runtime/runtime")
  17709. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  17710. Object.defineProperty(r, "__esModule", {
  17711. value: !0
  17712. }),
  17713. (r.completeBucketWorm = void 0)
  17714. var a = e("../utils/checkBucketName")
  17715. function s(e, t, r) {
  17716. return l.apply(this, arguments)
  17717. }
  17718. function l() {
  17719. return (
  17720. (l = (0, o.default)(
  17721. i.default.mark(function e(t, r, n) {
  17722. var o, s
  17723. return i.default.wrap(
  17724. function (e) {
  17725. while (1)
  17726. switch ((e.prev = e.next)) {
  17727. case 0:
  17728. return (
  17729. a.checkBucketName(t),
  17730. (o = this._bucketRequestParams(
  17731. "POST",
  17732. t,
  17733. {
  17734. wormId: r
  17735. },
  17736. n
  17737. )),
  17738. (e.next = 4),
  17739. this.request(o)
  17740. )
  17741. case 4:
  17742. return (
  17743. (s = e.sent),
  17744. e.abrupt("return", {
  17745. res: s.res,
  17746. status: s.status
  17747. })
  17748. )
  17749. case 6:
  17750. case "end":
  17751. return e.stop()
  17752. }
  17753. },
  17754. e,
  17755. this
  17756. )
  17757. })
  17758. )),
  17759. l.apply(this, arguments)
  17760. )
  17761. }
  17762. r.completeBucketWorm = s
  17763. },
  17764. {
  17765. "../utils/checkBucketName": 48,
  17766. "@babel/runtime/helpers/asyncToGenerator": 71,
  17767. "@babel/runtime/helpers/interopRequireDefault": 72,
  17768. "@babel/runtime/regenerator": 75,
  17769. "regenerator-runtime/runtime": 336
  17770. }
  17771. ],
  17772. 8: [
  17773. function (e, t, r) {
  17774. "use strict"
  17775. var n = e("@babel/runtime/helpers/interopRequireDefault")
  17776. e("core-js/modules/es.object.assign")
  17777. var i = n(e("@babel/runtime/regenerator"))
  17778. e("regenerator-runtime/runtime")
  17779. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  17780. Object.defineProperty(r, "__esModule", {
  17781. value: !0
  17782. }),
  17783. (r.deleteBucketInventory = void 0)
  17784. var a = e("../utils/checkBucketName")
  17785. function s(e, t) {
  17786. return l.apply(this, arguments)
  17787. }
  17788. function l() {
  17789. return (
  17790. (l = (0, o.default)(
  17791. i.default.mark(function e(t, r) {
  17792. var n,
  17793. o,
  17794. s,
  17795. l,
  17796. c = arguments
  17797. return i.default.wrap(
  17798. function (e) {
  17799. while (1)
  17800. switch ((e.prev = e.next)) {
  17801. case 0:
  17802. return (
  17803. (n = c.length > 2 && void 0 !== c[2] ? c[2] : {}),
  17804. (o = Object.assign(
  17805. {
  17806. inventory: "",
  17807. inventoryId: r
  17808. },
  17809. n.subres
  17810. )),
  17811. a.checkBucketName(t),
  17812. (s = this._bucketRequestParams("DELETE", t, o, n)),
  17813. (s.successStatuses = [204]),
  17814. (e.next = 7),
  17815. this.request(s)
  17816. )
  17817. case 7:
  17818. return (
  17819. (l = e.sent),
  17820. e.abrupt("return", {
  17821. status: l.status,
  17822. res: l.res
  17823. })
  17824. )
  17825. case 9:
  17826. case "end":
  17827. return e.stop()
  17828. }
  17829. },
  17830. e,
  17831. this
  17832. )
  17833. })
  17834. )),
  17835. l.apply(this, arguments)
  17836. )
  17837. }
  17838. r.deleteBucketInventory = s
  17839. },
  17840. {
  17841. "../utils/checkBucketName": 48,
  17842. "@babel/runtime/helpers/asyncToGenerator": 71,
  17843. "@babel/runtime/helpers/interopRequireDefault": 72,
  17844. "@babel/runtime/regenerator": 75,
  17845. "core-js/modules/es.object.assign": 251,
  17846. "regenerator-runtime/runtime": 336
  17847. }
  17848. ],
  17849. 9: [
  17850. function (e, t, r) {
  17851. "use strict"
  17852. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  17853. i = n(e("@babel/runtime/regenerator"))
  17854. e("regenerator-runtime/runtime")
  17855. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  17856. a = e("../utils/checkBucketName"),
  17857. s = a.checkBucketName,
  17858. l = r
  17859. l.deleteBucketLifecycle = (function () {
  17860. var e = (0, o.default)(
  17861. i.default.mark(function e(t, r) {
  17862. var n, o
  17863. return i.default.wrap(
  17864. function (e) {
  17865. while (1)
  17866. switch ((e.prev = e.next)) {
  17867. case 0:
  17868. return (
  17869. s(t),
  17870. (n = this._bucketRequestParams("DELETE", t, "lifecycle", r)),
  17871. (n.successStatuses = [204]),
  17872. (e.next = 5),
  17873. this.request(n)
  17874. )
  17875. case 5:
  17876. return (
  17877. (o = e.sent),
  17878. e.abrupt("return", {
  17879. res: o.res
  17880. })
  17881. )
  17882. case 7:
  17883. case "end":
  17884. return e.stop()
  17885. }
  17886. },
  17887. e,
  17888. this
  17889. )
  17890. })
  17891. )
  17892. function t(t, r) {
  17893. return e.apply(this, arguments)
  17894. }
  17895. return t
  17896. })()
  17897. },
  17898. {
  17899. "../utils/checkBucketName": 48,
  17900. "@babel/runtime/helpers/asyncToGenerator": 71,
  17901. "@babel/runtime/helpers/interopRequireDefault": 72,
  17902. "@babel/runtime/regenerator": 75,
  17903. "regenerator-runtime/runtime": 336
  17904. }
  17905. ],
  17906. 10: [
  17907. function (e, t, r) {
  17908. "use strict"
  17909. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  17910. i = n(e("@babel/runtime/regenerator"))
  17911. e("regenerator-runtime/runtime")
  17912. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  17913. a = e("../utils/checkBucketName"),
  17914. s = a.checkBucketName,
  17915. l = r
  17916. l.deleteBucketWebsite = (function () {
  17917. var e = (0, o.default)(
  17918. i.default.mark(function e(t, r) {
  17919. var n, o
  17920. return i.default.wrap(
  17921. function (e) {
  17922. while (1)
  17923. switch ((e.prev = e.next)) {
  17924. case 0:
  17925. return (
  17926. s(t),
  17927. (n = this._bucketRequestParams("DELETE", t, "website", r)),
  17928. (n.successStatuses = [204]),
  17929. (e.next = 5),
  17930. this.request(n)
  17931. )
  17932. case 5:
  17933. return (
  17934. (o = e.sent),
  17935. e.abrupt("return", {
  17936. res: o.res
  17937. })
  17938. )
  17939. case 7:
  17940. case "end":
  17941. return e.stop()
  17942. }
  17943. },
  17944. e,
  17945. this
  17946. )
  17947. })
  17948. )
  17949. function t(t, r) {
  17950. return e.apply(this, arguments)
  17951. }
  17952. return t
  17953. })()
  17954. },
  17955. {
  17956. "../utils/checkBucketName": 48,
  17957. "@babel/runtime/helpers/asyncToGenerator": 71,
  17958. "@babel/runtime/helpers/interopRequireDefault": 72,
  17959. "@babel/runtime/regenerator": 75,
  17960. "regenerator-runtime/runtime": 336
  17961. }
  17962. ],
  17963. 11: [
  17964. function (e, t, r) {
  17965. "use strict"
  17966. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  17967. i = n(e("@babel/runtime/regenerator"))
  17968. e("regenerator-runtime/runtime")
  17969. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  17970. Object.defineProperty(r, "__esModule", {
  17971. value: !0
  17972. }),
  17973. (r.extendBucketWorm = void 0)
  17974. var a = e("../utils/checkBucketName"),
  17975. s = e("../utils/obj2xml")
  17976. function l(e, t, r, n) {
  17977. return c.apply(this, arguments)
  17978. }
  17979. function c() {
  17980. return (
  17981. (c = (0, o.default)(
  17982. i.default.mark(function e(t, r, n, o) {
  17983. var l, c, u
  17984. return i.default.wrap(
  17985. function (e) {
  17986. while (1)
  17987. switch ((e.prev = e.next)) {
  17988. case 0:
  17989. return (
  17990. a.checkBucketName(t),
  17991. (l = this._bucketRequestParams(
  17992. "POST",
  17993. t,
  17994. {
  17995. wormExtend: "",
  17996. wormId: r
  17997. },
  17998. o
  17999. )),
  18000. (c = {
  18001. ExtendWormConfiguration: {
  18002. RetentionPeriodInDays: n
  18003. }
  18004. }),
  18005. (l.mime = "xml"),
  18006. (l.content = s.obj2xml(c, {
  18007. headers: !0
  18008. })),
  18009. (l.successStatuses = [200]),
  18010. (e.next = 8),
  18011. this.request(l)
  18012. )
  18013. case 8:
  18014. return (
  18015. (u = e.sent),
  18016. e.abrupt("return", {
  18017. res: u.res,
  18018. status: u.status
  18019. })
  18020. )
  18021. case 10:
  18022. case "end":
  18023. return e.stop()
  18024. }
  18025. },
  18026. e,
  18027. this
  18028. )
  18029. })
  18030. )),
  18031. c.apply(this, arguments)
  18032. )
  18033. }
  18034. r.extendBucketWorm = l
  18035. },
  18036. {
  18037. "../utils/checkBucketName": 48,
  18038. "../utils/obj2xml": 67,
  18039. "@babel/runtime/helpers/asyncToGenerator": 71,
  18040. "@babel/runtime/helpers/interopRequireDefault": 72,
  18041. "@babel/runtime/regenerator": 75,
  18042. "regenerator-runtime/runtime": 336
  18043. }
  18044. ],
  18045. 12: [
  18046. function (e, t, r) {
  18047. "use strict"
  18048. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18049. e("core-js/modules/es.object.assign")
  18050. var i = n(e("@babel/runtime/regenerator"))
  18051. e("regenerator-runtime/runtime")
  18052. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  18053. Object.defineProperty(r, "__esModule", {
  18054. value: !0
  18055. }),
  18056. (r.getBucketInventory = void 0)
  18057. var a = e("../utils/checkBucketName"),
  18058. s = e("../utils/formatInventoryConfig")
  18059. function l(e, t) {
  18060. return c.apply(this, arguments)
  18061. }
  18062. function c() {
  18063. return (
  18064. (c = (0, o.default)(
  18065. i.default.mark(function e(t, r) {
  18066. var n,
  18067. o,
  18068. l,
  18069. c,
  18070. u = arguments
  18071. return i.default.wrap(
  18072. function (e) {
  18073. while (1)
  18074. switch ((e.prev = e.next)) {
  18075. case 0:
  18076. return (
  18077. (n = u.length > 2 && void 0 !== u[2] ? u[2] : {}),
  18078. (o = Object.assign(
  18079. {
  18080. inventory: "",
  18081. inventoryId: r
  18082. },
  18083. n.subres
  18084. )),
  18085. a.checkBucketName(t),
  18086. (l = this._bucketRequestParams("GET", t, o, n)),
  18087. (l.successStatuses = [200]),
  18088. (l.xmlResponse = !0),
  18089. (e.next = 8),
  18090. this.request(l)
  18091. )
  18092. case 8:
  18093. return (
  18094. (c = e.sent),
  18095. e.abrupt("return", {
  18096. status: c.status,
  18097. res: c.res,
  18098. inventory: s.formatInventoryConfig(c.data)
  18099. })
  18100. )
  18101. case 10:
  18102. case "end":
  18103. return e.stop()
  18104. }
  18105. },
  18106. e,
  18107. this
  18108. )
  18109. })
  18110. )),
  18111. c.apply(this, arguments)
  18112. )
  18113. }
  18114. r.getBucketInventory = l
  18115. },
  18116. {
  18117. "../utils/checkBucketName": 48,
  18118. "../utils/formatInventoryConfig": 56,
  18119. "@babel/runtime/helpers/asyncToGenerator": 71,
  18120. "@babel/runtime/helpers/interopRequireDefault": 72,
  18121. "@babel/runtime/regenerator": 75,
  18122. "core-js/modules/es.object.assign": 251,
  18123. "regenerator-runtime/runtime": 336
  18124. }
  18125. ],
  18126. 13: [
  18127. function (e, t, r) {
  18128. "use strict"
  18129. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18130. e("core-js/modules/es.array.map")
  18131. var i = n(e("@babel/runtime/regenerator"))
  18132. e("regenerator-runtime/runtime")
  18133. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  18134. a = e("../utils/checkBucketName"),
  18135. s = a.checkBucketName,
  18136. l = e("../utils/isArray"),
  18137. c = l.isArray,
  18138. u = e("../utils/formatObjKey"),
  18139. f = u.formatObjKey,
  18140. p = r
  18141. p.getBucketLifecycle = (function () {
  18142. var e = (0, o.default)(
  18143. i.default.mark(function e(t, r) {
  18144. var n, o, a
  18145. return i.default.wrap(
  18146. function (e) {
  18147. while (1)
  18148. switch ((e.prev = e.next)) {
  18149. case 0:
  18150. return (
  18151. s(t),
  18152. (n = this._bucketRequestParams("GET", t, "lifecycle", r)),
  18153. (n.successStatuses = [200]),
  18154. (n.xmlResponse = !0),
  18155. (e.next = 6),
  18156. this.request(n)
  18157. )
  18158. case 6:
  18159. return (
  18160. (o = e.sent),
  18161. (a = o.data.Rule || null),
  18162. a &&
  18163. (c(a) || (a = [a]),
  18164. (a = a.map(function (e) {
  18165. return (
  18166. e.ID && ((e.id = e.ID), delete e.ID),
  18167. e.Tag && !c(e.Tag) && (e.Tag = [e.Tag]),
  18168. f(e, "firstLowerCase")
  18169. )
  18170. }))),
  18171. e.abrupt("return", {
  18172. rules: a,
  18173. res: o.res
  18174. })
  18175. )
  18176. case 10:
  18177. case "end":
  18178. return e.stop()
  18179. }
  18180. },
  18181. e,
  18182. this
  18183. )
  18184. })
  18185. )
  18186. function t(t, r) {
  18187. return e.apply(this, arguments)
  18188. }
  18189. return t
  18190. })()
  18191. },
  18192. {
  18193. "../utils/checkBucketName": 48,
  18194. "../utils/formatObjKey": 57,
  18195. "../utils/isArray": 59,
  18196. "@babel/runtime/helpers/asyncToGenerator": 71,
  18197. "@babel/runtime/helpers/interopRequireDefault": 72,
  18198. "@babel/runtime/regenerator": 75,
  18199. "core-js/modules/es.array.map": 245,
  18200. "regenerator-runtime/runtime": 336
  18201. }
  18202. ],
  18203. 14: [
  18204. function (e, t, r) {
  18205. "use strict"
  18206. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  18207. i = n(e("@babel/runtime/regenerator"))
  18208. e("regenerator-runtime/runtime")
  18209. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  18210. a = e("../utils/checkBucketName"),
  18211. s = a.checkBucketName,
  18212. l = r
  18213. l.getBucketVersioning = (function () {
  18214. var e = (0, o.default)(
  18215. i.default.mark(function e(t, r) {
  18216. var n, o, a
  18217. return i.default.wrap(
  18218. function (e) {
  18219. while (1)
  18220. switch ((e.prev = e.next)) {
  18221. case 0:
  18222. return (
  18223. s(t),
  18224. (n = this._bucketRequestParams("GET", t, "versioning", r)),
  18225. (n.xmlResponse = !0),
  18226. (n.successStatuses = [200]),
  18227. (e.next = 6),
  18228. this.request(n)
  18229. )
  18230. case 6:
  18231. return (
  18232. (o = e.sent),
  18233. (a = o.data.Status),
  18234. e.abrupt("return", {
  18235. status: o.status,
  18236. versionStatus: a,
  18237. res: o.res
  18238. })
  18239. )
  18240. case 9:
  18241. case "end":
  18242. return e.stop()
  18243. }
  18244. },
  18245. e,
  18246. this
  18247. )
  18248. })
  18249. )
  18250. function t(t, r) {
  18251. return e.apply(this, arguments)
  18252. }
  18253. return t
  18254. })()
  18255. },
  18256. {
  18257. "../utils/checkBucketName": 48,
  18258. "@babel/runtime/helpers/asyncToGenerator": 71,
  18259. "@babel/runtime/helpers/interopRequireDefault": 72,
  18260. "@babel/runtime/regenerator": 75,
  18261. "regenerator-runtime/runtime": 336
  18262. }
  18263. ],
  18264. 15: [
  18265. function (e, t, r) {
  18266. "use strict"
  18267. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  18268. i = n(e("@babel/runtime/regenerator"))
  18269. e("regenerator-runtime/runtime")
  18270. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  18271. a = e("../utils/checkBucketName"),
  18272. s = a.checkBucketName,
  18273. l = e("../utils/isObject"),
  18274. c = l.isObject,
  18275. u = r
  18276. u.getBucketWebsite = (function () {
  18277. var e = (0, o.default)(
  18278. i.default.mark(function e(t, r) {
  18279. var n, o, a
  18280. return i.default.wrap(
  18281. function (e) {
  18282. while (1)
  18283. switch ((e.prev = e.next)) {
  18284. case 0:
  18285. return (
  18286. s(t),
  18287. (n = this._bucketRequestParams("GET", t, "website", r)),
  18288. (n.successStatuses = [200]),
  18289. (n.xmlResponse = !0),
  18290. (e.next = 6),
  18291. this.request(n)
  18292. )
  18293. case 6:
  18294. return (
  18295. (o = e.sent),
  18296. (a = []),
  18297. o.data.RoutingRules &&
  18298. o.data.RoutingRules.RoutingRule &&
  18299. (a = c(o.data.RoutingRules.RoutingRule)
  18300. ? [o.data.RoutingRules.RoutingRule]
  18301. : o.data.RoutingRules.RoutingRule),
  18302. e.abrupt("return", {
  18303. index: (o.data.IndexDocument && o.data.IndexDocument.Suffix) || "",
  18304. supportSubDir: (o.data.IndexDocument && o.data.IndexDocument.SupportSubDir) || "false",
  18305. type: o.data.IndexDocument && o.data.IndexDocument.Type,
  18306. routingRules: a,
  18307. error: (o.data.ErrorDocument && o.data.ErrorDocument.Key) || null,
  18308. res: o.res
  18309. })
  18310. )
  18311. case 10:
  18312. case "end":
  18313. return e.stop()
  18314. }
  18315. },
  18316. e,
  18317. this
  18318. )
  18319. })
  18320. )
  18321. function t(t, r) {
  18322. return e.apply(this, arguments)
  18323. }
  18324. return t
  18325. })()
  18326. },
  18327. {
  18328. "../utils/checkBucketName": 48,
  18329. "../utils/isObject": 65,
  18330. "@babel/runtime/helpers/asyncToGenerator": 71,
  18331. "@babel/runtime/helpers/interopRequireDefault": 72,
  18332. "@babel/runtime/regenerator": 75,
  18333. "regenerator-runtime/runtime": 336
  18334. }
  18335. ],
  18336. 16: [
  18337. function (e, t, r) {
  18338. "use strict"
  18339. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18340. e("core-js/modules/es.object.assign")
  18341. var i = n(e("@babel/runtime/regenerator"))
  18342. e("regenerator-runtime/runtime")
  18343. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  18344. Object.defineProperty(r, "__esModule", {
  18345. value: !0
  18346. }),
  18347. (r.getBucketWorm = void 0)
  18348. var a = e("../utils/checkBucketName"),
  18349. s = e("../utils/dataFix")
  18350. function l(e, t) {
  18351. return c.apply(this, arguments)
  18352. }
  18353. function c() {
  18354. return (
  18355. (c = (0, o.default)(
  18356. i.default.mark(function e(t, r) {
  18357. var n, o
  18358. return i.default.wrap(
  18359. function (e) {
  18360. while (1)
  18361. switch ((e.prev = e.next)) {
  18362. case 0:
  18363. return (
  18364. a.checkBucketName(t),
  18365. (n = this._bucketRequestParams("GET", t, "worm", r)),
  18366. (n.successStatuses = [200]),
  18367. (n.xmlResponse = !0),
  18368. (e.next = 6),
  18369. this.request(n)
  18370. )
  18371. case 6:
  18372. return (
  18373. (o = e.sent),
  18374. s.dataFix(o.data, {
  18375. lowerFirst: !0,
  18376. rename: {
  18377. RetentionPeriodInDays: "days"
  18378. }
  18379. }),
  18380. e.abrupt(
  18381. "return",
  18382. Object.assign(Object.assign({}, o.data), {
  18383. res: o.res,
  18384. status: o.status
  18385. })
  18386. )
  18387. )
  18388. case 9:
  18389. case "end":
  18390. return e.stop()
  18391. }
  18392. },
  18393. e,
  18394. this
  18395. )
  18396. })
  18397. )),
  18398. c.apply(this, arguments)
  18399. )
  18400. }
  18401. r.getBucketWorm = l
  18402. },
  18403. {
  18404. "../utils/checkBucketName": 48,
  18405. "../utils/dataFix": 53,
  18406. "@babel/runtime/helpers/asyncToGenerator": 71,
  18407. "@babel/runtime/helpers/interopRequireDefault": 72,
  18408. "@babel/runtime/regenerator": 75,
  18409. "core-js/modules/es.object.assign": 251,
  18410. "regenerator-runtime/runtime": 336
  18411. }
  18412. ],
  18413. 17: [
  18414. function (e, t, r) {
  18415. "use strict"
  18416. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  18417. i = n(e("@babel/runtime/regenerator"))
  18418. e("regenerator-runtime/runtime")
  18419. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  18420. Object.defineProperty(r, "__esModule", {
  18421. value: !0
  18422. }),
  18423. (r.initiateBucketWorm = void 0)
  18424. var a = e("../utils/obj2xml"),
  18425. s = e("../utils/checkBucketName")
  18426. function l(e, t, r) {
  18427. return c.apply(this, arguments)
  18428. }
  18429. function c() {
  18430. return (
  18431. (c = (0, o.default)(
  18432. i.default.mark(function e(t, r, n) {
  18433. var o, l, c
  18434. return i.default.wrap(
  18435. function (e) {
  18436. while (1)
  18437. switch ((e.prev = e.next)) {
  18438. case 0:
  18439. return (
  18440. s.checkBucketName(t),
  18441. (o = this._bucketRequestParams("POST", t, "worm", n)),
  18442. (l = {
  18443. InitiateWormConfiguration: {
  18444. RetentionPeriodInDays: r
  18445. }
  18446. }),
  18447. (o.mime = "xml"),
  18448. (o.content = a.obj2xml(l, {
  18449. headers: !0
  18450. })),
  18451. (o.successStatuses = [200]),
  18452. (e.next = 8),
  18453. this.request(o)
  18454. )
  18455. case 8:
  18456. return (
  18457. (c = e.sent),
  18458. e.abrupt("return", {
  18459. res: c.res,
  18460. wormId: c.res.headers["x-oss-worm-id"],
  18461. status: c.status
  18462. })
  18463. )
  18464. case 10:
  18465. case "end":
  18466. return e.stop()
  18467. }
  18468. },
  18469. e,
  18470. this
  18471. )
  18472. })
  18473. )),
  18474. c.apply(this, arguments)
  18475. )
  18476. }
  18477. r.initiateBucketWorm = l
  18478. },
  18479. {
  18480. "../utils/checkBucketName": 48,
  18481. "../utils/obj2xml": 67,
  18482. "@babel/runtime/helpers/asyncToGenerator": 71,
  18483. "@babel/runtime/helpers/interopRequireDefault": 72,
  18484. "@babel/runtime/regenerator": 75,
  18485. "regenerator-runtime/runtime": 336
  18486. }
  18487. ],
  18488. 18: [
  18489. function (e, t, r) {
  18490. "use strict"
  18491. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18492. e("core-js/modules/es.object.assign")
  18493. var i = n(e("@babel/runtime/regenerator"))
  18494. e("regenerator-runtime/runtime")
  18495. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  18496. Object.defineProperty(r, "__esModule", {
  18497. value: !0
  18498. }),
  18499. (r.listBucketInventory = void 0)
  18500. var a = e("../utils/checkBucketName"),
  18501. s = e("../utils/formatInventoryConfig")
  18502. function l(e) {
  18503. return c.apply(this, arguments)
  18504. }
  18505. function c() {
  18506. return (
  18507. (c = (0, o.default)(
  18508. i.default.mark(function e(t) {
  18509. var r,
  18510. n,
  18511. o,
  18512. l,
  18513. c,
  18514. u,
  18515. f,
  18516. p,
  18517. d = arguments
  18518. return i.default.wrap(
  18519. function (e) {
  18520. while (1)
  18521. switch ((e.prev = e.next)) {
  18522. case 0:
  18523. return (
  18524. (r = d.length > 1 && void 0 !== d[1] ? d[1] : {}),
  18525. (n = r.continuationToken),
  18526. (o = Object.assign(
  18527. {
  18528. inventory: ""
  18529. },
  18530. n && {
  18531. "continuation-token": n
  18532. },
  18533. r.subres
  18534. )),
  18535. a.checkBucketName(t),
  18536. (l = this._bucketRequestParams("GET", t, o, r)),
  18537. (l.successStatuses = [200]),
  18538. (l.xmlResponse = !0),
  18539. (e.next = 9),
  18540. this.request(l)
  18541. )
  18542. case 9:
  18543. return (
  18544. (c = e.sent),
  18545. (u = c.data),
  18546. (f = c.res),
  18547. (p = c.status),
  18548. e.abrupt("return", {
  18549. isTruncated: "true" === u.IsTruncated,
  18550. nextContinuationToken: u.NextContinuationToken,
  18551. inventoryList: s.formatInventoryConfig(u.InventoryConfiguration, !0),
  18552. status: p,
  18553. res: f
  18554. })
  18555. )
  18556. case 12:
  18557. case "end":
  18558. return e.stop()
  18559. }
  18560. },
  18561. e,
  18562. this
  18563. )
  18564. })
  18565. )),
  18566. c.apply(this, arguments)
  18567. )
  18568. }
  18569. r.listBucketInventory = l
  18570. },
  18571. {
  18572. "../utils/checkBucketName": 48,
  18573. "../utils/formatInventoryConfig": 56,
  18574. "@babel/runtime/helpers/asyncToGenerator": 71,
  18575. "@babel/runtime/helpers/interopRequireDefault": 72,
  18576. "@babel/runtime/regenerator": 75,
  18577. "core-js/modules/es.object.assign": 251,
  18578. "regenerator-runtime/runtime": 336
  18579. }
  18580. ],
  18581. 19: [
  18582. function (e, t, r) {
  18583. "use strict"
  18584. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18585. e("core-js/modules/es.array.concat"), e("core-js/modules/es.object.assign")
  18586. var i = n(e("@babel/runtime/regenerator"))
  18587. e("regenerator-runtime/runtime")
  18588. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  18589. Object.defineProperty(r, "__esModule", {
  18590. value: !0
  18591. }),
  18592. (r.putBucketInventory = void 0)
  18593. var a = e("../utils/checkBucketName"),
  18594. s = e("../utils/obj2xml")
  18595. function l(e, t) {
  18596. return c.apply(this, arguments)
  18597. }
  18598. function c() {
  18599. return (
  18600. (c = (0, o.default)(
  18601. i.default.mark(function e(t, r) {
  18602. var n,
  18603. o,
  18604. l,
  18605. c,
  18606. u,
  18607. f,
  18608. p,
  18609. d,
  18610. h,
  18611. m,
  18612. g,
  18613. y = arguments
  18614. return i.default.wrap(
  18615. function (e) {
  18616. while (1)
  18617. switch ((e.prev = e.next)) {
  18618. case 0:
  18619. return (
  18620. (n = y.length > 2 && void 0 !== y[2] ? y[2] : {}),
  18621. (o = Object.assign(
  18622. {
  18623. inventory: "",
  18624. inventoryId: r.id
  18625. },
  18626. n.subres
  18627. )),
  18628. a.checkBucketName(t),
  18629. (l = r.OSSBucketDestination),
  18630. (c = r.optionalFields),
  18631. (u = r.includedObjectVersions),
  18632. (f = "acs:oss:::"),
  18633. (p = "acs:ram::".concat(l.accountId, ":role/")),
  18634. (d = {
  18635. InventoryConfiguration: {
  18636. Id: r.id,
  18637. IsEnabled: r.isEnabled,
  18638. Filter: {
  18639. Prefix: r.prefix || ""
  18640. },
  18641. Destination: {
  18642. OSSBucketDestination: {
  18643. Format: l.format,
  18644. AccountId: l.accountId,
  18645. RoleArn: "".concat(p).concat(l.rolename),
  18646. Bucket: "".concat(f).concat(l.bucket),
  18647. Prefix: l.prefix || "",
  18648. Encryption: l.encryption || ""
  18649. }
  18650. },
  18651. Schedule: {
  18652. Frequency: r.frequency
  18653. },
  18654. IncludedObjectVersions: u,
  18655. OptionalFields: {
  18656. Field: (null === c || void 0 === c ? void 0 : c.field) || []
  18657. }
  18658. }
  18659. }),
  18660. (h = s.obj2xml(d, {
  18661. headers: !0,
  18662. firstUpperCase: !0
  18663. })),
  18664. (m = this._bucketRequestParams("PUT", t, o, n)),
  18665. (m.successStatuses = [200]),
  18666. (m.mime = "xml"),
  18667. (m.content = h),
  18668. (e.next = 14),
  18669. this.request(m)
  18670. )
  18671. case 14:
  18672. return (
  18673. (g = e.sent),
  18674. e.abrupt("return", {
  18675. status: g.status,
  18676. res: g.res
  18677. })
  18678. )
  18679. case 16:
  18680. case "end":
  18681. return e.stop()
  18682. }
  18683. },
  18684. e,
  18685. this
  18686. )
  18687. })
  18688. )),
  18689. c.apply(this, arguments)
  18690. )
  18691. }
  18692. r.putBucketInventory = l
  18693. },
  18694. {
  18695. "../utils/checkBucketName": 48,
  18696. "../utils/obj2xml": 67,
  18697. "@babel/runtime/helpers/asyncToGenerator": 71,
  18698. "@babel/runtime/helpers/interopRequireDefault": 72,
  18699. "@babel/runtime/regenerator": 75,
  18700. "core-js/modules/es.array.concat": 234,
  18701. "core-js/modules/es.object.assign": 251,
  18702. "regenerator-runtime/runtime": 336
  18703. }
  18704. ],
  18705. 20: [
  18706. function (e, t, r) {
  18707. "use strict"
  18708. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18709. e("core-js/modules/es.array.for-each"),
  18710. e("core-js/modules/es.array.includes"),
  18711. e("core-js/modules/web.dom-collections.for-each")
  18712. var i = n(e("@babel/runtime/regenerator"))
  18713. e("regenerator-runtime/runtime")
  18714. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  18715. a = e("../utils/checkBucketName"),
  18716. s = a.checkBucketName,
  18717. l = e("../utils/isArray"),
  18718. c = l.isArray,
  18719. u = e("../utils/deepCopy"),
  18720. f = u.deepCopy,
  18721. p = e("../utils/isObject"),
  18722. d = p.isObject,
  18723. h = e("../utils/obj2xml"),
  18724. m = h.obj2xml,
  18725. g = e("../utils/checkObjectTag"),
  18726. y = g.checkObjectTag,
  18727. v = e("../utils/getStrBytesCount"),
  18728. b = v.getStrBytesCount,
  18729. w = r
  18730. function x(e) {
  18731. e.days &&
  18732. (e.expiration = {
  18733. days: e.days
  18734. }),
  18735. e.date &&
  18736. (e.expiration = {
  18737. createdBeforeDate: e.date
  18738. })
  18739. }
  18740. function A(e, t) {
  18741. var r = e.days,
  18742. n = e.createdBeforeDate
  18743. if (!r && !n) throw new Error("".concat(t, " must includes days or createdBeforeDate"))
  18744. if (r && !/^[1-9][0-9]*$/.test(r)) throw new Error("days must be a positive integer")
  18745. if (n && !/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(n))
  18746. throw new Error("createdBeforeDate must be date and conform to iso8601 format")
  18747. }
  18748. function _(e) {
  18749. if (!c(e) && !d(e)) throw new Error("tag must be Object or Array")
  18750. e = d(e) ? [e] : e
  18751. var t = {},
  18752. r = f(e)
  18753. r.forEach(function (e) {
  18754. t[e.key] = e.value
  18755. }),
  18756. y(t)
  18757. }
  18758. function T(e) {
  18759. if (e.id && b(e.id) > 255) throw new Error("ID is composed of 255 bytes at most")
  18760. if (void 0 === e.prefix) throw new Error("Rule must includes prefix")
  18761. if (!["Enabled", "Disabled"].includes(e.status)) throw new Error("Status must be Enabled or Disabled")
  18762. if (e.transition) {
  18763. if (!["IA", "Archive"].includes(e.transition.storageClass)) throw new Error("StorageClass must be IA or Archive")
  18764. A(e.transition, "Transition")
  18765. }
  18766. if (e.expiration)
  18767. if (e.expiration.expiredObjectDeleteMarker) {
  18768. if (e.expiration.days || e.expiration.createdBeforeDate)
  18769. throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")
  18770. } else A(e.expiration, "Expiration")
  18771. if (
  18772. (e.abortMultipartUpload && A(e.abortMultipartUpload, "AbortMultipartUpload"),
  18773. !e.expiration && !e.abortMultipartUpload && !e.transition && !e.noncurrentVersionTransition)
  18774. )
  18775. throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition")
  18776. if (e.tag) {
  18777. if (e.abortMultipartUpload) throw new Error("Tag cannot be used with abortMultipartUpload")
  18778. _(e.tag)
  18779. }
  18780. }
  18781. w.putBucketLifecycle = (function () {
  18782. var e = (0, o.default)(
  18783. i.default.mark(function e(t, r, n) {
  18784. var o, a, l, u, f
  18785. return i.default.wrap(
  18786. function (e) {
  18787. while (1)
  18788. switch ((e.prev = e.next)) {
  18789. case 0:
  18790. if ((s(t), c(r))) {
  18791. e.next = 3
  18792. break
  18793. }
  18794. throw new Error("rules must be Array")
  18795. case 3:
  18796. return (
  18797. (o = this._bucketRequestParams("PUT", t, "lifecycle", n)),
  18798. (a = []),
  18799. (l = {
  18800. LifecycleConfiguration: {
  18801. Rule: a
  18802. }
  18803. }),
  18804. r.forEach(function (e) {
  18805. x(e), T(e), e.id && ((e.ID = e.id), delete e.id), a.push(e)
  18806. }),
  18807. (u = m(l, {
  18808. headers: !0,
  18809. firstUpperCase: !0
  18810. })),
  18811. (o.content = u),
  18812. (o.mime = "xml"),
  18813. (o.successStatuses = [200]),
  18814. (e.next = 13),
  18815. this.request(o)
  18816. )
  18817. case 13:
  18818. return (
  18819. (f = e.sent),
  18820. e.abrupt("return", {
  18821. res: f.res
  18822. })
  18823. )
  18824. case 15:
  18825. case "end":
  18826. return e.stop()
  18827. }
  18828. },
  18829. e,
  18830. this
  18831. )
  18832. })
  18833. )
  18834. function t(t, r, n) {
  18835. return e.apply(this, arguments)
  18836. }
  18837. return t
  18838. })()
  18839. },
  18840. {
  18841. "../utils/checkBucketName": 48,
  18842. "../utils/checkObjectTag": 50,
  18843. "../utils/deepCopy": 54,
  18844. "../utils/getStrBytesCount": 58,
  18845. "../utils/isArray": 59,
  18846. "../utils/isObject": 65,
  18847. "../utils/obj2xml": 67,
  18848. "@babel/runtime/helpers/asyncToGenerator": 71,
  18849. "@babel/runtime/helpers/interopRequireDefault": 72,
  18850. "@babel/runtime/regenerator": 75,
  18851. "core-js/modules/es.array.for-each": 238,
  18852. "core-js/modules/es.array.includes": 240,
  18853. "core-js/modules/web.dom-collections.for-each": 291,
  18854. "regenerator-runtime/runtime": 336
  18855. }
  18856. ],
  18857. 21: [
  18858. function (e, t, r) {
  18859. "use strict"
  18860. var n = e("@babel/runtime/helpers/interopRequireDefault")
  18861. e("core-js/modules/es.array.includes")
  18862. var i = n(e("@babel/runtime/regenerator"))
  18863. e("regenerator-runtime/runtime")
  18864. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  18865. a = e("../utils/checkBucketName"),
  18866. s = a.checkBucketName,
  18867. l = e("../utils/obj2xml"),
  18868. c = l.obj2xml,
  18869. u = r
  18870. u.putBucketVersioning = (function () {
  18871. var e = (0, o.default)(
  18872. i.default.mark(function e(t, r) {
  18873. var n,
  18874. o,
  18875. a,
  18876. l,
  18877. u = arguments
  18878. return i.default.wrap(
  18879. function (e) {
  18880. while (1)
  18881. switch ((e.prev = e.next)) {
  18882. case 0:
  18883. if (((n = u.length > 2 && void 0 !== u[2] ? u[2] : {}), s(t), ["Enabled", "Suspended"].includes(r))) {
  18884. e.next = 4
  18885. break
  18886. }
  18887. throw new Error("status must be Enabled or Suspended")
  18888. case 4:
  18889. return (
  18890. (o = this._bucketRequestParams("PUT", t, "versioning", n)),
  18891. (a = {
  18892. VersioningConfiguration: {
  18893. Status: r
  18894. }
  18895. }),
  18896. (o.mime = "xml"),
  18897. (o.content = c(a, {
  18898. headers: !0
  18899. })),
  18900. (e.next = 10),
  18901. this.request(o)
  18902. )
  18903. case 10:
  18904. return (
  18905. (l = e.sent),
  18906. e.abrupt("return", {
  18907. res: l.res,
  18908. status: l.status
  18909. })
  18910. )
  18911. case 12:
  18912. case "end":
  18913. return e.stop()
  18914. }
  18915. },
  18916. e,
  18917. this
  18918. )
  18919. })
  18920. )
  18921. function t(t, r) {
  18922. return e.apply(this, arguments)
  18923. }
  18924. return t
  18925. })()
  18926. },
  18927. {
  18928. "../utils/checkBucketName": 48,
  18929. "../utils/obj2xml": 67,
  18930. "@babel/runtime/helpers/asyncToGenerator": 71,
  18931. "@babel/runtime/helpers/interopRequireDefault": 72,
  18932. "@babel/runtime/regenerator": 75,
  18933. "core-js/modules/es.array.includes": 240,
  18934. "regenerator-runtime/runtime": 336
  18935. }
  18936. ],
  18937. 22: [
  18938. function (e, t, r) {
  18939. "use strict"
  18940. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  18941. i = n(e("@babel/runtime/regenerator"))
  18942. e("regenerator-runtime/runtime")
  18943. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  18944. a = e("../utils/checkBucketName"),
  18945. s = a.checkBucketName,
  18946. l = e("../utils/obj2xml"),
  18947. c = l.obj2xml,
  18948. u = e("../utils/isArray"),
  18949. f = u.isArray,
  18950. p = r
  18951. p.putBucketWebsite = (function () {
  18952. var e = (0, o.default)(
  18953. i.default.mark(function e(t) {
  18954. var r,
  18955. n,
  18956. o,
  18957. a,
  18958. l,
  18959. u,
  18960. p,
  18961. d = arguments
  18962. return i.default.wrap(
  18963. function (e) {
  18964. while (1)
  18965. switch ((e.prev = e.next)) {
  18966. case 0:
  18967. if (
  18968. ((r = d.length > 1 && void 0 !== d[1] ? d[1] : {}),
  18969. (n = d.length > 2 ? d[2] : void 0),
  18970. s(t),
  18971. (o = this._bucketRequestParams("PUT", t, "website", n)),
  18972. (a = {
  18973. Suffix: r.index || "index.html"
  18974. }),
  18975. (l = {
  18976. IndexDocument: a
  18977. }),
  18978. (u = {
  18979. WebsiteConfiguration: l
  18980. }),
  18981. r.supportSubDir && (a.SupportSubDir = r.supportSubDir),
  18982. r.type && (a.Type = r.type),
  18983. r.error &&
  18984. (l.ErrorDocument = {
  18985. Key: r.error
  18986. }),
  18987. void 0 === r.routingRules)
  18988. ) {
  18989. e.next = 14
  18990. break
  18991. }
  18992. if (f(r.routingRules)) {
  18993. e.next = 13
  18994. break
  18995. }
  18996. throw new Error("RoutingRules must be Array")
  18997. case 13:
  18998. l.RoutingRules = {
  18999. RoutingRule: r.routingRules
  19000. }
  19001. case 14:
  19002. return (
  19003. (u = c(u)),
  19004. (o.content = u),
  19005. (o.mime = "xml"),
  19006. (o.successStatuses = [200]),
  19007. (e.next = 20),
  19008. this.request(o)
  19009. )
  19010. case 20:
  19011. return (
  19012. (p = e.sent),
  19013. e.abrupt("return", {
  19014. res: p.res
  19015. })
  19016. )
  19017. case 22:
  19018. case "end":
  19019. return e.stop()
  19020. }
  19021. },
  19022. e,
  19023. this
  19024. )
  19025. })
  19026. )
  19027. function t(t) {
  19028. return e.apply(this, arguments)
  19029. }
  19030. return t
  19031. })()
  19032. },
  19033. {
  19034. "../utils/checkBucketName": 48,
  19035. "../utils/isArray": 59,
  19036. "../utils/obj2xml": 67,
  19037. "@babel/runtime/helpers/asyncToGenerator": 71,
  19038. "@babel/runtime/helpers/interopRequireDefault": 72,
  19039. "@babel/runtime/regenerator": 75,
  19040. "regenerator-runtime/runtime": 336
  19041. }
  19042. ],
  19043. 23: [
  19044. function (e, t, r) {
  19045. ;(function (t) {
  19046. "use strict"
  19047. e("core-js/modules/es.array.for-each"),
  19048. e("core-js/modules/es.object.keys"),
  19049. e("core-js/modules/es.object.to-string"),
  19050. e("core-js/modules/es.regexp.to-string"),
  19051. e("core-js/modules/web.dom-collections.for-each"),
  19052. (r.encodeCallback = function (e, r) {
  19053. if (
  19054. ((e.headers = e.headers || {}), !Object.prototype.hasOwnProperty.call(e.headers, "x-oss-callback") && r.callback)
  19055. ) {
  19056. var n = {
  19057. callbackUrl: encodeURI(r.callback.url),
  19058. callbackBody: r.callback.body
  19059. }
  19060. r.callback.host && (n.callbackHost = r.callback.host),
  19061. r.callback.contentType && (n.callbackBodyType = r.callback.contentType)
  19062. var i = t.from(JSON.stringify(n)).toString("base64")
  19063. if (((e.headers["x-oss-callback"] = i), r.callback.customValue)) {
  19064. var o = {}
  19065. Object.keys(r.callback.customValue).forEach(function (e) {
  19066. o["x:".concat(e)] = r.callback.customValue[e]
  19067. }),
  19068. (e.headers["x-oss-callback-var"] = t.from(JSON.stringify(o)).toString("base64"))
  19069. }
  19070. }
  19071. })
  19072. }).call(this, e("buffer").Buffer)
  19073. },
  19074. {
  19075. buffer: 99,
  19076. "core-js/modules/es.array.for-each": 238,
  19077. "core-js/modules/es.object.keys": 253,
  19078. "core-js/modules/es.object.to-string": 254,
  19079. "core-js/modules/es.regexp.to-string": 257,
  19080. "core-js/modules/web.dom-collections.for-each": 291
  19081. }
  19082. ],
  19083. 24: [
  19084. function (e, t, r) {
  19085. "use strict"
  19086. e("core-js/modules/es.array.concat"),
  19087. e("core-js/modules/es.array.for-each"),
  19088. e("core-js/modules/es.regexp.exec"),
  19089. e("core-js/modules/es.string.replace"),
  19090. e("core-js/modules/web.dom-collections.for-each")
  19091. var n = function (e) {
  19092. return e && e.__esModule
  19093. ? e
  19094. : {
  19095. default: e
  19096. }
  19097. }
  19098. Object.defineProperty(r, "__esModule", {
  19099. value: !0
  19100. }),
  19101. (r.getReqUrl = void 0)
  19102. var i = n(e("copy-to")),
  19103. o = n(e("url")),
  19104. a = n(e("merge-descriptors")),
  19105. s = n(e("is-type-of")),
  19106. l = e("../utils/isIP"),
  19107. c = e("../utils/checkConfigValid")
  19108. function u(e) {
  19109. var t = {},
  19110. r = this.options.cname
  19111. c.checkConfigValid(this.options.endpoint, "endpoint"),
  19112. i.default(this.options.endpoint, !1).to(t),
  19113. !e.bucket || r || l.isIP(t.hostname) || this.options.sldEnable || (t.host = "".concat(e.bucket, ".").concat(t.host))
  19114. var n = "/"
  19115. e.bucket && this.options.sldEnable && (n += "".concat(e.bucket, "/")),
  19116. e.object && (n += this._escape(e.object).replace(/\+/g, "%2B")),
  19117. (t.pathname = n)
  19118. var u = {}
  19119. if ((e.query && a.default(u, e.query), e.subres)) {
  19120. var f = {}
  19121. s.default.string(e.subres)
  19122. ? (f[e.subres] = "")
  19123. : s.default.array(e.subres)
  19124. ? e.subres.forEach(function (e) {
  19125. f[e] = ""
  19126. })
  19127. : (f = e.subres),
  19128. a.default(u, f)
  19129. }
  19130. return (t.query = u), o.default.format(t)
  19131. }
  19132. r.getReqUrl = u
  19133. },
  19134. {
  19135. "../utils/checkConfigValid": 49,
  19136. "../utils/isIP": 64,
  19137. "copy-to": 101,
  19138. "core-js/modules/es.array.concat": 234,
  19139. "core-js/modules/es.array.for-each": 238,
  19140. "core-js/modules/es.regexp.exec": 256,
  19141. "core-js/modules/es.string.replace": 261,
  19142. "core-js/modules/web.dom-collections.for-each": 291,
  19143. "is-type-of": 391,
  19144. "merge-descriptors": 310,
  19145. url: 393
  19146. }
  19147. ],
  19148. 25: [
  19149. function (e, t, r) {
  19150. "use strict"
  19151. e("core-js/modules/es.array.concat"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.string.trim")
  19152. var n = e("humanize-ms"),
  19153. i = e("url"),
  19154. o = e("../utils/checkBucketName"),
  19155. a = o.checkBucketName,
  19156. s = e("../utils/setRegion"),
  19157. l = s.setRegion,
  19158. c = e("../utils/checkConfigValid"),
  19159. u = c.checkConfigValid
  19160. function f(e, t) {
  19161. u(e, "endpoint")
  19162. var r = i.parse(e)
  19163. if (
  19164. (r.protocol || (r = i.parse("http".concat(t ? "s" : "", "://").concat(e))),
  19165. "http:" !== r.protocol && "https:" !== r.protocol)
  19166. )
  19167. throw new Error("Endpoint protocol must be http or https.")
  19168. return r
  19169. }
  19170. t.exports = function (e) {
  19171. if (!e || !e.accessKeyId || !e.accessKeySecret) throw new Error("require accessKeyId, accessKeySecret")
  19172. !e.stsToken ||
  19173. e.refreshSTSToken ||
  19174. e.refreshSTSTokenInterval ||
  19175. console.warn(
  19176. "It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken、accessKeyId、accessKeySecret automatically when sts token has expired"
  19177. ),
  19178. e.bucket && a(e.bucket)
  19179. var t = Object.assign(
  19180. {
  19181. region: "oss-cn-hangzhou",
  19182. internal: !1,
  19183. secure: !1,
  19184. timeout: 6e4,
  19185. bucket: null,
  19186. endpoint: null,
  19187. cname: !1,
  19188. isRequestPay: !1,
  19189. sldEnable: !1,
  19190. headerEncoding: "utf-8",
  19191. refreshSTSToken: null,
  19192. refreshSTSTokenInterval: 3e5,
  19193. retryMax: 0
  19194. },
  19195. e
  19196. )
  19197. if (
  19198. ((t.accessKeyId = t.accessKeyId.trim()),
  19199. (t.accessKeySecret = t.accessKeySecret.trim()),
  19200. t.timeout && (t.timeout = n(t.timeout)),
  19201. t.endpoint)
  19202. )
  19203. t.endpoint = f(t.endpoint, t.secure)
  19204. else {
  19205. if (!t.region) throw new Error("require options.endpoint or options.region")
  19206. t.endpoint = l(t.region, t.internal, t.secure)
  19207. }
  19208. return (t.inited = !0), t
  19209. }
  19210. },
  19211. {
  19212. "../utils/checkBucketName": 48,
  19213. "../utils/checkConfigValid": 49,
  19214. "../utils/setRegion": 69,
  19215. "core-js/modules/es.array.concat": 234,
  19216. "core-js/modules/es.object.assign": 251,
  19217. "core-js/modules/es.string.trim": 264,
  19218. "humanize-ms": 298,
  19219. url: 393
  19220. }
  19221. ],
  19222. 26: [
  19223. function (e, t, r) {
  19224. "use strict"
  19225. var n = e("merge-descriptors"),
  19226. i = r
  19227. n(i, e("./processObjectSave"))
  19228. },
  19229. {
  19230. "./processObjectSave": 27,
  19231. "merge-descriptors": 310
  19232. }
  19233. ],
  19234. 27: [
  19235. function (e, t, r) {
  19236. "use strict"
  19237. var n = e("@babel/runtime/helpers/interopRequireDefault")
  19238. e("core-js/modules/es.array.concat")
  19239. var i = n(e("@babel/runtime/regenerator"))
  19240. e("regenerator-runtime/runtime")
  19241. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  19242. a = e("../utils/checkBucketName"),
  19243. s = a.checkBucketName,
  19244. l = e("querystring"),
  19245. c = e("js-base64"),
  19246. u = c.Base64.encode,
  19247. f = r
  19248. function p(e, t) {
  19249. if (!e) throw new Error("".concat(t, " is required"))
  19250. if ("string" !== typeof e) throw new Error("".concat(t, " must be String"))
  19251. }
  19252. f.processObjectSave = (function () {
  19253. var e = (0, o.default)(
  19254. i.default.mark(function e(t, r, n, o) {
  19255. var a, c, f, d
  19256. return i.default.wrap(
  19257. function (e) {
  19258. while (1)
  19259. switch ((e.prev = e.next)) {
  19260. case 0:
  19261. return (
  19262. p(t, "sourceObject"),
  19263. p(r, "targetObject"),
  19264. p(n, "process"),
  19265. (r = this._objectName(r)),
  19266. o && s(o),
  19267. (a = this._objectRequestParams("POST", t, {
  19268. subres: "x-oss-process"
  19269. })),
  19270. (c = o ? ",b_".concat(u(o)) : ""),
  19271. (r = u(r)),
  19272. (f = {
  19273. "x-oss-process": "".concat(n, "|sys/saveas,o_").concat(r).concat(c)
  19274. }),
  19275. (a.content = l.stringify(f)),
  19276. (e.next = 12),
  19277. this.request(a)
  19278. )
  19279. case 12:
  19280. return (
  19281. (d = e.sent),
  19282. e.abrupt("return", {
  19283. res: d.res,
  19284. status: d.res.status
  19285. })
  19286. )
  19287. case 14:
  19288. case "end":
  19289. return e.stop()
  19290. }
  19291. },
  19292. e,
  19293. this
  19294. )
  19295. })
  19296. )
  19297. function t(t, r, n, i) {
  19298. return e.apply(this, arguments)
  19299. }
  19300. return t
  19301. })()
  19302. },
  19303. {
  19304. "../utils/checkBucketName": 48,
  19305. "@babel/runtime/helpers/asyncToGenerator": 71,
  19306. "@babel/runtime/helpers/interopRequireDefault": 72,
  19307. "@babel/runtime/regenerator": 75,
  19308. "core-js/modules/es.array.concat": 234,
  19309. "js-base64": 309,
  19310. querystring: 322,
  19311. "regenerator-runtime/runtime": 336
  19312. }
  19313. ],
  19314. 28: [
  19315. function (e, t, r) {
  19316. ;(function (t) {
  19317. "use strict"
  19318. var n = e("@babel/runtime/helpers/interopRequireDefault")
  19319. e("core-js/modules/es.array.concat"),
  19320. e("core-js/modules/es.array.filter"),
  19321. e("core-js/modules/es.array.map"),
  19322. e("core-js/modules/es.array.sort"),
  19323. e("core-js/modules/es.object.to-string"),
  19324. e("core-js/modules/es.regexp.to-string")
  19325. var i = n(e("@babel/runtime/regenerator"))
  19326. e("regenerator-runtime/runtime")
  19327. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  19328. a = e("copy-to"),
  19329. s = e("./callback"),
  19330. l = e("./utils/deepCopy"),
  19331. c = l.deepCopyWith,
  19332. u = e("./utils/isBuffer"),
  19333. f = u.isBuffer,
  19334. p = r
  19335. ;(p.listUploads = (function () {
  19336. var e = (0, o.default)(
  19337. i.default.mark(function e(t, r) {
  19338. var n, o, s, l
  19339. return i.default.wrap(
  19340. function (e) {
  19341. while (1)
  19342. switch ((e.prev = e.next)) {
  19343. case 0:
  19344. return (
  19345. (r = r || {}),
  19346. (n = {}),
  19347. a(r).to(n),
  19348. (n.subres = "uploads"),
  19349. (o = this._objectRequestParams("GET", "", n)),
  19350. (o.query = t),
  19351. (o.xmlResponse = !0),
  19352. (o.successStatuses = [200]),
  19353. (e.next = 10),
  19354. this.request(o)
  19355. )
  19356. case 10:
  19357. return (
  19358. (s = e.sent),
  19359. (l = s.data.Upload || []),
  19360. Array.isArray(l) || (l = [l]),
  19361. (l = l.map(function (e) {
  19362. return {
  19363. name: e.Key,
  19364. uploadId: e.UploadId,
  19365. initiated: e.Initiated
  19366. }
  19367. })),
  19368. e.abrupt("return", {
  19369. res: s.res,
  19370. uploads: l,
  19371. bucket: s.data.Bucket,
  19372. nextKeyMarker: s.data.NextKeyMarker,
  19373. nextUploadIdMarker: s.data.NextUploadIdMarker,
  19374. isTruncated: "true" === s.data.IsTruncated
  19375. })
  19376. )
  19377. case 15:
  19378. case "end":
  19379. return e.stop()
  19380. }
  19381. },
  19382. e,
  19383. this
  19384. )
  19385. })
  19386. )
  19387. function t(t, r) {
  19388. return e.apply(this, arguments)
  19389. }
  19390. return t
  19391. })()),
  19392. (p.listParts = (function () {
  19393. var e = (0, o.default)(
  19394. i.default.mark(function e(t, r, n, o) {
  19395. var s, l, c
  19396. return i.default.wrap(
  19397. function (e) {
  19398. while (1)
  19399. switch ((e.prev = e.next)) {
  19400. case 0:
  19401. return (
  19402. (o = o || {}),
  19403. (s = {}),
  19404. a(o).to(s),
  19405. (s.subres = {
  19406. uploadId: r
  19407. }),
  19408. (l = this._objectRequestParams("GET", t, s)),
  19409. (l.query = n),
  19410. (l.xmlResponse = !0),
  19411. (l.successStatuses = [200]),
  19412. (e.next = 10),
  19413. this.request(l)
  19414. )
  19415. case 10:
  19416. return (
  19417. (c = e.sent),
  19418. e.abrupt("return", {
  19419. res: c.res,
  19420. uploadId: c.data.UploadId,
  19421. bucket: c.data.Bucket,
  19422. name: c.data.Key,
  19423. partNumberMarker: c.data.PartNumberMarker,
  19424. nextPartNumberMarker: c.data.NextPartNumberMarker,
  19425. maxParts: c.data.MaxParts,
  19426. isTruncated: c.data.IsTruncated,
  19427. parts: c.data.Part || []
  19428. })
  19429. )
  19430. case 12:
  19431. case "end":
  19432. return e.stop()
  19433. }
  19434. },
  19435. e,
  19436. this
  19437. )
  19438. })
  19439. )
  19440. function t(t, r, n, i) {
  19441. return e.apply(this, arguments)
  19442. }
  19443. return t
  19444. })()),
  19445. (p.abortMultipartUpload = (function () {
  19446. var e = (0, o.default)(
  19447. i.default.mark(function e(t, r, n) {
  19448. var o, s, l
  19449. return i.default.wrap(
  19450. function (e) {
  19451. while (1)
  19452. switch ((e.prev = e.next)) {
  19453. case 0:
  19454. return (
  19455. this._stop(),
  19456. (n = n || {}),
  19457. (o = {}),
  19458. a(n).to(o),
  19459. (o.subres = {
  19460. uploadId: r
  19461. }),
  19462. (s = this._objectRequestParams("DELETE", t, o)),
  19463. (s.successStatuses = [204]),
  19464. (e.next = 9),
  19465. this.request(s)
  19466. )
  19467. case 9:
  19468. return (
  19469. (l = e.sent),
  19470. e.abrupt("return", {
  19471. res: l.res
  19472. })
  19473. )
  19474. case 11:
  19475. case "end":
  19476. return e.stop()
  19477. }
  19478. },
  19479. e,
  19480. this
  19481. )
  19482. })
  19483. )
  19484. function t(t, r, n) {
  19485. return e.apply(this, arguments)
  19486. }
  19487. return t
  19488. })()),
  19489. (p.initMultipartUpload = (function () {
  19490. var e = (0, o.default)(
  19491. i.default.mark(function e(t, r) {
  19492. var n, o, s
  19493. return i.default.wrap(
  19494. function (e) {
  19495. while (1)
  19496. switch ((e.prev = e.next)) {
  19497. case 0:
  19498. return (
  19499. (r = r || {}),
  19500. (n = {}),
  19501. a(r).to(n),
  19502. (n.headers = n.headers || {}),
  19503. this._convertMetaToHeaders(r.meta, n.headers),
  19504. (n.subres = "uploads"),
  19505. (o = this._objectRequestParams("POST", t, n)),
  19506. (o.mime = r.mime),
  19507. (o.xmlResponse = !0),
  19508. (o.successStatuses = [200]),
  19509. (e.next = 12),
  19510. this.request(o)
  19511. )
  19512. case 12:
  19513. return (
  19514. (s = e.sent),
  19515. e.abrupt("return", {
  19516. res: s.res,
  19517. bucket: s.data.Bucket,
  19518. name: s.data.Key,
  19519. uploadId: s.data.UploadId
  19520. })
  19521. )
  19522. case 14:
  19523. case "end":
  19524. return e.stop()
  19525. }
  19526. },
  19527. e,
  19528. this
  19529. )
  19530. })
  19531. )
  19532. function t(t, r) {
  19533. return e.apply(this, arguments)
  19534. }
  19535. return t
  19536. })()),
  19537. (p.uploadPart = (function () {
  19538. var e = (0, o.default)(
  19539. i.default.mark(function e(r, n, o, a, s, l, c) {
  19540. var u, f
  19541. return i.default.wrap(
  19542. function (e) {
  19543. while (1)
  19544. switch ((e.prev = e.next)) {
  19545. case 0:
  19546. if (
  19547. ((u = {
  19548. size: l - s
  19549. }),
  19550. (f = t && t.browser),
  19551. !f)
  19552. ) {
  19553. e.next = 8
  19554. break
  19555. }
  19556. return (e.next = 5), this._createBuffer(a, s, l)
  19557. case 5:
  19558. ;(u.content = e.sent), (e.next = 11)
  19559. break
  19560. case 8:
  19561. return (e.next = 10), this._createStream(a, s, l)
  19562. case 10:
  19563. u.stream = e.sent
  19564. case 11:
  19565. return (e.next = 13), this._uploadPart(r, n, o, u, c)
  19566. case 13:
  19567. return e.abrupt("return", e.sent)
  19568. case 14:
  19569. case "end":
  19570. return e.stop()
  19571. }
  19572. },
  19573. e,
  19574. this
  19575. )
  19576. })
  19577. )
  19578. function r(t, r, n, i, o, a, s) {
  19579. return e.apply(this, arguments)
  19580. }
  19581. return r
  19582. })()),
  19583. (p.completeMultipartUpload = (function () {
  19584. var e = (0, o.default)(
  19585. i.default.mark(function e(t, r, n, o) {
  19586. var a, l, u, p, d, h, m, g
  19587. return i.default.wrap(
  19588. function (e) {
  19589. while (1)
  19590. switch ((e.prev = e.next)) {
  19591. case 0:
  19592. for (
  19593. a = n
  19594. .concat()
  19595. .sort(function (e, t) {
  19596. return e.number - t.number
  19597. })
  19598. .filter(function (e, t, r) {
  19599. return !t || e.number !== r[t - 1].number
  19600. }),
  19601. l = '<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',
  19602. u = 0;
  19603. u < a.length;
  19604. u++
  19605. )
  19606. (p = a[u]),
  19607. (l += "<Part>\n"),
  19608. (l += "<PartNumber>".concat(p.number, "</PartNumber>\n")),
  19609. (l += "<ETag>".concat(p.etag, "</ETag>\n")),
  19610. (l += "</Part>\n")
  19611. return (
  19612. (l += "</CompleteMultipartUpload>"),
  19613. (o = o || {}),
  19614. (d = {}),
  19615. (d = c(o, function (e) {
  19616. if (f(e)) return null
  19617. })),
  19618. d.headers && delete d.headers["x-oss-server-side-encryption"],
  19619. (d.subres = {
  19620. uploadId: r
  19621. }),
  19622. (h = this._objectRequestParams("POST", t, d)),
  19623. s.encodeCallback(h, d),
  19624. (h.mime = "xml"),
  19625. (h.content = l),
  19626. (h.headers && h.headers["x-oss-callback"]) || (h.xmlResponse = !0),
  19627. (h.successStatuses = [200]),
  19628. (e.next = 17),
  19629. this.request(h)
  19630. )
  19631. case 17:
  19632. return (
  19633. (m = e.sent),
  19634. (g = {
  19635. res: m.res,
  19636. bucket: h.bucket,
  19637. name: t,
  19638. etag: m.res.headers.etag
  19639. }),
  19640. h.headers && h.headers["x-oss-callback"] && (g.data = JSON.parse(m.data.toString())),
  19641. e.abrupt("return", g)
  19642. )
  19643. case 21:
  19644. case "end":
  19645. return e.stop()
  19646. }
  19647. },
  19648. e,
  19649. this
  19650. )
  19651. })
  19652. )
  19653. function t(t, r, n, i) {
  19654. return e.apply(this, arguments)
  19655. }
  19656. return t
  19657. })()),
  19658. (p._uploadPart = (function () {
  19659. var e = (0, o.default)(
  19660. i.default.mark(function e(r, n, o, s, l) {
  19661. var c, u, f, p
  19662. return i.default.wrap(
  19663. function (e) {
  19664. while (1)
  19665. switch ((e.prev = e.next)) {
  19666. case 0:
  19667. return (
  19668. (l = l || {}),
  19669. (c = {}),
  19670. a(l).to(c),
  19671. (c.headers = {
  19672. "Content-Length": s.size
  19673. }),
  19674. (c.subres = {
  19675. partNumber: o,
  19676. uploadId: n
  19677. }),
  19678. (u = this._objectRequestParams("PUT", r, c)),
  19679. (u.mime = c.mime),
  19680. (f = t && t.browser),
  19681. f ? (u.content = s.content) : (u.stream = s.stream),
  19682. (u.successStatuses = [200]),
  19683. (u.disabledMD5 = l.disabledMD5),
  19684. (e.next = 13),
  19685. this.request(u)
  19686. )
  19687. case 13:
  19688. if (((p = e.sent), p.res.headers.etag)) {
  19689. e.next = 16
  19690. break
  19691. }
  19692. throw new Error(
  19693. "Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html"
  19694. )
  19695. case 16:
  19696. return (
  19697. s.stream && ((s.stream = null), (u.stream = null)),
  19698. e.abrupt("return", {
  19699. name: r,
  19700. etag: p.res.headers.etag,
  19701. res: p.res
  19702. })
  19703. )
  19704. case 18:
  19705. case "end":
  19706. return e.stop()
  19707. }
  19708. },
  19709. e,
  19710. this
  19711. )
  19712. })
  19713. )
  19714. function r(t, r, n, i, o) {
  19715. return e.apply(this, arguments)
  19716. }
  19717. return r
  19718. })())
  19719. }).call(this, e("_process"))
  19720. },
  19721. {
  19722. "./callback": 23,
  19723. "./utils/deepCopy": 54,
  19724. "./utils/isBuffer": 61,
  19725. "@babel/runtime/helpers/asyncToGenerator": 71,
  19726. "@babel/runtime/helpers/interopRequireDefault": 72,
  19727. "@babel/runtime/regenerator": 75,
  19728. _process: 392,
  19729. "copy-to": 101,
  19730. "core-js/modules/es.array.concat": 234,
  19731. "core-js/modules/es.array.filter": 236,
  19732. "core-js/modules/es.array.map": 245,
  19733. "core-js/modules/es.array.sort": 247,
  19734. "core-js/modules/es.object.to-string": 254,
  19735. "core-js/modules/es.regexp.to-string": 257,
  19736. "regenerator-runtime/runtime": 336
  19737. }
  19738. ],
  19739. 29: [
  19740. function (e, t, r) {
  19741. "use strict"
  19742. var n = e("@babel/runtime/helpers/interopRequireDefault")
  19743. e("core-js/modules/es.array.concat"),
  19744. e("core-js/modules/es.array.find"),
  19745. e("core-js/modules/es.array.for-each"),
  19746. e("core-js/modules/es.array.includes"),
  19747. e("core-js/modules/es.object.keys"),
  19748. e("core-js/modules/es.regexp.exec"),
  19749. e("core-js/modules/es.string.replace"),
  19750. e("core-js/modules/web.dom-collections.for-each")
  19751. var i = n(e("@babel/runtime/regenerator")),
  19752. o = n(e("@babel/runtime/helpers/typeof"))
  19753. e("regenerator-runtime/runtime")
  19754. var a = n(e("@babel/runtime/helpers/asyncToGenerator")),
  19755. s = e("../utils/checkBucketName"),
  19756. l = s.checkBucketName,
  19757. c = r,
  19758. u = ["content-type", "content-encoding", "content-language", "content-disposition", "cache-control", "expires"]
  19759. ;(c.copy = (function () {
  19760. var e = (0, a.default)(
  19761. i.default.mark(function e(t, r, n, a) {
  19762. var s, l, c
  19763. return i.default.wrap(
  19764. function (e) {
  19765. while (1)
  19766. switch ((e.prev = e.next)) {
  19767. case 0:
  19768. return (
  19769. "object" === (0, o.default)(n) && (a = n),
  19770. (a = a || {}),
  19771. (a.headers = a.headers || {}),
  19772. Object.keys(a.headers).forEach(function (e) {
  19773. a.headers["x-oss-copy-source-".concat(e.toLowerCase())] = a.headers[e]
  19774. }),
  19775. (a.meta ||
  19776. Object.keys(a.headers).find(function (e) {
  19777. return u.includes(e.toLowerCase())
  19778. })) &&
  19779. (a.headers["x-oss-metadata-directive"] = "REPLACE"),
  19780. this._convertMetaToHeaders(a.meta, a.headers),
  19781. (r = this._getSourceName(r, n)),
  19782. a.versionId && (r = "".concat(r, "?versionId=").concat(a.versionId)),
  19783. (a.headers["x-oss-copy-source"] = r),
  19784. (s = this._objectRequestParams("PUT", t, a)),
  19785. (s.xmlResponse = !0),
  19786. (s.successStatuses = [200, 304]),
  19787. (e.next = 14),
  19788. this.request(s)
  19789. )
  19790. case 14:
  19791. return (
  19792. (l = e.sent),
  19793. (c = l.data),
  19794. c &&
  19795. (c = {
  19796. etag: c.ETag,
  19797. lastModified: c.LastModified
  19798. }),
  19799. e.abrupt("return", {
  19800. data: c,
  19801. res: l.res
  19802. })
  19803. )
  19804. case 18:
  19805. case "end":
  19806. return e.stop()
  19807. }
  19808. },
  19809. e,
  19810. this
  19811. )
  19812. })
  19813. )
  19814. function t(t, r, n, i) {
  19815. return e.apply(this, arguments)
  19816. }
  19817. return t
  19818. })()),
  19819. (c._getSourceName = function (e, t) {
  19820. return (
  19821. "string" === typeof t
  19822. ? (e = this._objectName(e))
  19823. : "/" !== e[0]
  19824. ? (t = this.options.bucket)
  19825. : ((t = e.replace(/\/(.+?)(\/.*)/, "$1")), (e = e.replace(/(\/.+?\/)(.*)/, "$2"))),
  19826. l(t),
  19827. (e = encodeURIComponent(e)),
  19828. (e = "/".concat(t, "/").concat(e)),
  19829. e
  19830. )
  19831. })
  19832. },
  19833. {
  19834. "../utils/checkBucketName": 48,
  19835. "@babel/runtime/helpers/asyncToGenerator": 71,
  19836. "@babel/runtime/helpers/interopRequireDefault": 72,
  19837. "@babel/runtime/helpers/typeof": 73,
  19838. "@babel/runtime/regenerator": 75,
  19839. "core-js/modules/es.array.concat": 234,
  19840. "core-js/modules/es.array.find": 237,
  19841. "core-js/modules/es.array.for-each": 238,
  19842. "core-js/modules/es.array.includes": 240,
  19843. "core-js/modules/es.object.keys": 253,
  19844. "core-js/modules/es.regexp.exec": 256,
  19845. "core-js/modules/es.string.replace": 261,
  19846. "core-js/modules/web.dom-collections.for-each": 291,
  19847. "regenerator-runtime/runtime": 336
  19848. }
  19849. ],
  19850. 30: [
  19851. function (e, t, r) {
  19852. "use strict"
  19853. var n = e("@babel/runtime/helpers/interopRequireDefault")
  19854. e("core-js/modules/es.object.assign")
  19855. var i = n(e("@babel/runtime/regenerator"))
  19856. e("regenerator-runtime/runtime")
  19857. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  19858. a = r
  19859. a.delete = (function () {
  19860. var e = (0, o.default)(
  19861. i.default.mark(function e(t) {
  19862. var r,
  19863. n,
  19864. o,
  19865. a = arguments
  19866. return i.default.wrap(
  19867. function (e) {
  19868. while (1)
  19869. switch ((e.prev = e.next)) {
  19870. case 0:
  19871. return (
  19872. (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}),
  19873. (r.subres = Object.assign({}, r.subres)),
  19874. r.versionId && (r.subres.versionId = r.versionId),
  19875. (n = this._objectRequestParams("DELETE", t, r)),
  19876. (n.successStatuses = [204]),
  19877. (e.next = 7),
  19878. this.request(n)
  19879. )
  19880. case 7:
  19881. return (
  19882. (o = e.sent),
  19883. e.abrupt("return", {
  19884. res: o.res
  19885. })
  19886. )
  19887. case 9:
  19888. case "end":
  19889. return e.stop()
  19890. }
  19891. },
  19892. e,
  19893. this
  19894. )
  19895. })
  19896. )
  19897. function t(t) {
  19898. return e.apply(this, arguments)
  19899. }
  19900. return t
  19901. })()
  19902. },
  19903. {
  19904. "@babel/runtime/helpers/asyncToGenerator": 71,
  19905. "@babel/runtime/helpers/interopRequireDefault": 72,
  19906. "@babel/runtime/regenerator": 75,
  19907. "core-js/modules/es.object.assign": 251,
  19908. "regenerator-runtime/runtime": 336
  19909. }
  19910. ],
  19911. 31: [
  19912. function (e, t, r) {
  19913. "use strict"
  19914. var n = e("@babel/runtime/helpers/interopRequireDefault")
  19915. e("core-js/modules/es.object.assign")
  19916. var i = n(e("@babel/runtime/regenerator"))
  19917. e("regenerator-runtime/runtime")
  19918. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  19919. a = e("utility"),
  19920. s = e("../utils/obj2xml"),
  19921. l = s.obj2xml,
  19922. c = r
  19923. c.deleteMulti = (function () {
  19924. var e = (0, o.default)(
  19925. i.default.mark(function e(t) {
  19926. var r,
  19927. n,
  19928. o,
  19929. s,
  19930. c,
  19931. u,
  19932. f,
  19933. p,
  19934. d,
  19935. h,
  19936. m,
  19937. g,
  19938. y,
  19939. v = arguments
  19940. return i.default.wrap(
  19941. function (e) {
  19942. while (1)
  19943. switch ((e.prev = e.next)) {
  19944. case 0:
  19945. if (((r = v.length > 1 && void 0 !== v[1] ? v[1] : {}), (n = []), t && t.length)) {
  19946. e.next = 4
  19947. break
  19948. }
  19949. throw new Error("names is required")
  19950. case 4:
  19951. for (o = 0; o < t.length; o++)
  19952. (s = {}),
  19953. "string" === typeof t[o]
  19954. ? (s.Key = a.escape(this._objectName(t[o])))
  19955. : ((c = t[o]),
  19956. (u = c.key),
  19957. (f = c.versionId),
  19958. (s.Key = a.escape(this._objectName(u))),
  19959. (s.VersionId = f)),
  19960. n.push(s)
  19961. return (
  19962. (p = {
  19963. Delete: {
  19964. Quiet: !!r.quiet,
  19965. Object: n
  19966. }
  19967. }),
  19968. (d = l(p, {
  19969. headers: !0
  19970. })),
  19971. (r.subres = Object.assign(
  19972. {
  19973. delete: ""
  19974. },
  19975. r.subres
  19976. )),
  19977. r.versionId && (r.subres.versionId = r.versionId),
  19978. (h = this._objectRequestParams("POST", "", r)),
  19979. (h.mime = "xml"),
  19980. (h.content = d),
  19981. (h.xmlResponse = !0),
  19982. (h.successStatuses = [200]),
  19983. (e.next = 16),
  19984. this.request(h)
  19985. )
  19986. case 16:
  19987. return (
  19988. (m = e.sent),
  19989. (g = m.data),
  19990. (y = (g && g.Deleted) || null),
  19991. y && (Array.isArray(y) || (y = [y])),
  19992. e.abrupt("return", {
  19993. res: m.res,
  19994. deleted: y || []
  19995. })
  19996. )
  19997. case 21:
  19998. case "end":
  19999. return e.stop()
  20000. }
  20001. },
  20002. e,
  20003. this
  20004. )
  20005. })
  20006. )
  20007. function t(t) {
  20008. return e.apply(this, arguments)
  20009. }
  20010. return t
  20011. })()
  20012. },
  20013. {
  20014. "../utils/obj2xml": 67,
  20015. "@babel/runtime/helpers/asyncToGenerator": 71,
  20016. "@babel/runtime/helpers/interopRequireDefault": 72,
  20017. "@babel/runtime/regenerator": 75,
  20018. "core-js/modules/es.object.assign": 251,
  20019. "regenerator-runtime/runtime": 336,
  20020. utility: 395
  20021. }
  20022. ],
  20023. 32: [
  20024. function (e, t, r) {
  20025. "use strict"
  20026. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20027. e("core-js/modules/es.object.assign")
  20028. var i = n(e("@babel/runtime/regenerator"))
  20029. e("regenerator-runtime/runtime")
  20030. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20031. a = r
  20032. a.deleteObjectTagging = (function () {
  20033. var e = (0, o.default)(
  20034. i.default.mark(function e(t) {
  20035. var r,
  20036. n,
  20037. o,
  20038. a = arguments
  20039. return i.default.wrap(
  20040. function (e) {
  20041. while (1)
  20042. switch ((e.prev = e.next)) {
  20043. case 0:
  20044. return (
  20045. (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}),
  20046. (r.subres = Object.assign(
  20047. {
  20048. tagging: ""
  20049. },
  20050. r.subres
  20051. )),
  20052. r.versionId && (r.subres.versionId = r.versionId),
  20053. (t = this._objectName(t)),
  20054. (n = this._objectRequestParams("DELETE", t, r)),
  20055. (n.successStatuses = [204]),
  20056. (e.next = 8),
  20057. this.request(n)
  20058. )
  20059. case 8:
  20060. return (
  20061. (o = e.sent),
  20062. e.abrupt("return", {
  20063. status: o.status,
  20064. res: o.res
  20065. })
  20066. )
  20067. case 10:
  20068. case "end":
  20069. return e.stop()
  20070. }
  20071. },
  20072. e,
  20073. this
  20074. )
  20075. })
  20076. )
  20077. function t(t) {
  20078. return e.apply(this, arguments)
  20079. }
  20080. return t
  20081. })()
  20082. },
  20083. {
  20084. "@babel/runtime/helpers/asyncToGenerator": 71,
  20085. "@babel/runtime/helpers/interopRequireDefault": 72,
  20086. "@babel/runtime/regenerator": 75,
  20087. "core-js/modules/es.object.assign": 251,
  20088. "regenerator-runtime/runtime": 336
  20089. }
  20090. ],
  20091. 33: [
  20092. function (e, t, r) {
  20093. "use strict"
  20094. e("core-js/modules/es.array.concat")
  20095. var n = e("url"),
  20096. i = e("../utils/isIP"),
  20097. o = i.isIP,
  20098. a = r
  20099. a.generateObjectUrl = function (e, t) {
  20100. if (o(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP")
  20101. if (t) "/" !== t[t.length - 1] && (t += "/")
  20102. else {
  20103. t = this.options.endpoint.format()
  20104. var r = n.parse(t),
  20105. i = this.options.bucket
  20106. ;(r.hostname = "".concat(i, ".").concat(r.hostname)), (r.host = "".concat(i, ".").concat(r.host)), (t = r.format())
  20107. }
  20108. return t + this._escape(this._objectName(e))
  20109. }
  20110. },
  20111. {
  20112. "../utils/isIP": 64,
  20113. "core-js/modules/es.array.concat": 234,
  20114. url: 393
  20115. }
  20116. ],
  20117. 34: [
  20118. function (e, t, r) {
  20119. ;(function (t) {
  20120. "use strict"
  20121. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20122. e("core-js/modules/es.object.assign")
  20123. var i = n(e("@babel/runtime/regenerator"))
  20124. e("regenerator-runtime/runtime")
  20125. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20126. a = e("fs"),
  20127. s = e("is-type-of"),
  20128. l = r
  20129. l.get = (function () {
  20130. var e = (0, o.default)(
  20131. i.default.mark(function e(r, n) {
  20132. var o,
  20133. l,
  20134. c,
  20135. u,
  20136. f,
  20137. p,
  20138. d,
  20139. h,
  20140. m = arguments
  20141. return i.default.wrap(
  20142. function (e) {
  20143. while (1)
  20144. switch ((e.prev = e.next)) {
  20145. case 0:
  20146. return (
  20147. (o = m.length > 2 && void 0 !== m[2] ? m[2] : {}),
  20148. (l = null),
  20149. (c = !1),
  20150. s.writableStream(n)
  20151. ? (l = n)
  20152. : s.string(n)
  20153. ? ((l = a.createWriteStream(n)), (c = !0))
  20154. : (o = n),
  20155. (o = o || {}),
  20156. (u = t && t.browser),
  20157. (f = null === o.responseCacheControl ? "" : "no-cache"),
  20158. (p =
  20159. u && f
  20160. ? {
  20161. "response-cache-control": f
  20162. }
  20163. : {}),
  20164. (o.subres = Object.assign(p, o.subres)),
  20165. o.versionId && (o.subres.versionId = o.versionId),
  20166. o.process && (o.subres["x-oss-process"] = o.process),
  20167. (e.prev = 11),
  20168. (h = this._objectRequestParams("GET", r, o)),
  20169. (h.writeStream = l),
  20170. (h.successStatuses = [200, 206, 304]),
  20171. (e.next = 17),
  20172. this.request(h)
  20173. )
  20174. case 17:
  20175. ;(d = e.sent), c && l.destroy(), (e.next = 28)
  20176. break
  20177. case 21:
  20178. if (((e.prev = 21), (e.t0 = e["catch"](11)), !c)) {
  20179. e.next = 27
  20180. break
  20181. }
  20182. return l.destroy(), (e.next = 27), this._deleteFileSafe(n)
  20183. case 27:
  20184. throw e.t0
  20185. case 28:
  20186. return e.abrupt("return", {
  20187. res: d.res,
  20188. content: d.data
  20189. })
  20190. case 29:
  20191. case "end":
  20192. return e.stop()
  20193. }
  20194. },
  20195. e,
  20196. this,
  20197. [[11, 21]]
  20198. )
  20199. })
  20200. )
  20201. function r(t, r) {
  20202. return e.apply(this, arguments)
  20203. }
  20204. return r
  20205. })()
  20206. }).call(this, e("_process"))
  20207. },
  20208. {
  20209. "@babel/runtime/helpers/asyncToGenerator": 71,
  20210. "@babel/runtime/helpers/interopRequireDefault": 72,
  20211. "@babel/runtime/regenerator": 75,
  20212. _process: 392,
  20213. "core-js/modules/es.object.assign": 251,
  20214. fs: 79,
  20215. "is-type-of": 391,
  20216. "regenerator-runtime/runtime": 336
  20217. }
  20218. ],
  20219. 35: [
  20220. function (e, t, r) {
  20221. "use strict"
  20222. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20223. e("core-js/modules/es.object.assign")
  20224. var i = n(e("@babel/runtime/regenerator"))
  20225. e("regenerator-runtime/runtime")
  20226. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20227. a = r
  20228. a.getACL = (function () {
  20229. var e = (0, o.default)(
  20230. i.default.mark(function e(t) {
  20231. var r,
  20232. n,
  20233. o,
  20234. a = arguments
  20235. return i.default.wrap(
  20236. function (e) {
  20237. while (1)
  20238. switch ((e.prev = e.next)) {
  20239. case 0:
  20240. return (
  20241. (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}),
  20242. (r.subres = Object.assign(
  20243. {
  20244. acl: ""
  20245. },
  20246. r.subres
  20247. )),
  20248. r.versionId && (r.subres.versionId = r.versionId),
  20249. (t = this._objectName(t)),
  20250. (n = this._objectRequestParams("GET", t, r)),
  20251. (n.successStatuses = [200]),
  20252. (n.xmlResponse = !0),
  20253. (e.next = 9),
  20254. this.request(n)
  20255. )
  20256. case 9:
  20257. return (
  20258. (o = e.sent),
  20259. e.abrupt("return", {
  20260. acl: o.data.AccessControlList.Grant,
  20261. owner: {
  20262. id: o.data.Owner.ID,
  20263. displayName: o.data.Owner.DisplayName
  20264. },
  20265. res: o.res
  20266. })
  20267. )
  20268. case 11:
  20269. case "end":
  20270. return e.stop()
  20271. }
  20272. },
  20273. e,
  20274. this
  20275. )
  20276. })
  20277. )
  20278. function t(t) {
  20279. return e.apply(this, arguments)
  20280. }
  20281. return t
  20282. })()
  20283. },
  20284. {
  20285. "@babel/runtime/helpers/asyncToGenerator": 71,
  20286. "@babel/runtime/helpers/interopRequireDefault": 72,
  20287. "@babel/runtime/regenerator": 75,
  20288. "core-js/modules/es.object.assign": 251,
  20289. "regenerator-runtime/runtime": 336
  20290. }
  20291. ],
  20292. 36: [
  20293. function (e, t, r) {
  20294. "use strict"
  20295. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20296. e("core-js/modules/es.array.for-each"),
  20297. e("core-js/modules/es.array.map"),
  20298. e("core-js/modules/es.number.constructor"),
  20299. e("core-js/modules/es.object.assign"),
  20300. e("core-js/modules/es.object.keys"),
  20301. e("core-js/modules/es.regexp.exec"),
  20302. e("core-js/modules/es.string.replace"),
  20303. e("core-js/modules/web.dom-collections.for-each")
  20304. var i = n(e("@babel/runtime/regenerator"))
  20305. e("regenerator-runtime/runtime")
  20306. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20307. a = r,
  20308. s = e("../utils/isObject"),
  20309. l = s.isObject,
  20310. c = e("../utils/isArray"),
  20311. u = c.isArray
  20312. function f() {
  20313. return p.apply(this, arguments)
  20314. }
  20315. function p() {
  20316. return (
  20317. (p = (0, o.default)(
  20318. i.default.mark(function e() {
  20319. var t,
  20320. r,
  20321. n,
  20322. o,
  20323. a,
  20324. s,
  20325. l,
  20326. c,
  20327. f = arguments
  20328. return i.default.wrap(
  20329. function (e) {
  20330. while (1)
  20331. switch ((e.prev = e.next)) {
  20332. case 0:
  20333. if (
  20334. ((t = f.length > 0 && void 0 !== f[0] ? f[0] : {}),
  20335. (r = f.length > 1 && void 0 !== f[1] ? f[1] : {}),
  20336. !t.versionIdMarker || void 0 !== t.keyMarker)
  20337. ) {
  20338. e.next = 4
  20339. break
  20340. }
  20341. throw new Error("A version-id marker cannot be specified without a key marker")
  20342. case 4:
  20343. return (
  20344. (r.subres = Object.assign(
  20345. {
  20346. versions: ""
  20347. },
  20348. r.subres
  20349. )),
  20350. r.versionId && (r.subres.versionId = r.versionId),
  20351. (n = this._objectRequestParams("GET", "", r)),
  20352. (n.xmlResponse = !0),
  20353. (n.successStatuses = [200]),
  20354. (n.query = h(t)),
  20355. (e.next = 12),
  20356. this.request(n)
  20357. )
  20358. case 12:
  20359. return (
  20360. (o = e.sent),
  20361. (a = o.data.Version || []),
  20362. (s = o.data.DeleteMarker || []),
  20363. (l = this),
  20364. a &&
  20365. (Array.isArray(a) || (a = [a]),
  20366. (a = a.map(function (e) {
  20367. return {
  20368. name: e.Key,
  20369. url: l._objectUrl(e.Key),
  20370. lastModified: e.LastModified,
  20371. isLatest: "true" === e.IsLatest,
  20372. versionId: e.VersionId,
  20373. etag: e.ETag,
  20374. type: e.Type,
  20375. size: Number(e.Size),
  20376. storageClass: e.StorageClass,
  20377. owner: {
  20378. id: e.Owner.ID,
  20379. displayName: e.Owner.DisplayName
  20380. }
  20381. }
  20382. }))),
  20383. s &&
  20384. (u(s) || (s = [s]),
  20385. (s = s.map(function (e) {
  20386. return {
  20387. name: e.Key,
  20388. lastModified: e.LastModified,
  20389. versionId: e.VersionId,
  20390. owner: {
  20391. id: e.Owner.ID,
  20392. displayName: e.Owner.DisplayName
  20393. }
  20394. }
  20395. }))),
  20396. (c = o.data.CommonPrefixes || null),
  20397. c &&
  20398. (u(c) || (c = [c]),
  20399. (c = c.map(function (e) {
  20400. return e.Prefix
  20401. }))),
  20402. e.abrupt("return", {
  20403. res: o.res,
  20404. objects: a,
  20405. deleteMarker: s,
  20406. prefixes: c,
  20407. nextMarker: o.data.NextKeyMarker || null,
  20408. NextVersionIdMarker: o.data.NextVersionIdMarker || null,
  20409. nextKeyMarker: o.data.NextKeyMarker || null,
  20410. nextVersionIdMarker: o.data.NextVersionIdMarker || null,
  20411. isTruncated: "true" === o.data.IsTruncated
  20412. })
  20413. )
  20414. case 21:
  20415. case "end":
  20416. return e.stop()
  20417. }
  20418. },
  20419. e,
  20420. this
  20421. )
  20422. })
  20423. )),
  20424. p.apply(this, arguments)
  20425. )
  20426. }
  20427. function d(e) {
  20428. return e.replace(/([A-Z])/g, "-$1").toLowerCase()
  20429. }
  20430. function h() {
  20431. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
  20432. t = {}
  20433. return (
  20434. l(e) &&
  20435. Object.keys(e).forEach(function (r) {
  20436. t[d(r)] = e[r]
  20437. }),
  20438. t
  20439. )
  20440. }
  20441. ;(a.getBucketVersions = f), (a.listObjectVersions = f)
  20442. },
  20443. {
  20444. "../utils/isArray": 59,
  20445. "../utils/isObject": 65,
  20446. "@babel/runtime/helpers/asyncToGenerator": 71,
  20447. "@babel/runtime/helpers/interopRequireDefault": 72,
  20448. "@babel/runtime/regenerator": 75,
  20449. "core-js/modules/es.array.for-each": 238,
  20450. "core-js/modules/es.array.map": 245,
  20451. "core-js/modules/es.number.constructor": 250,
  20452. "core-js/modules/es.object.assign": 251,
  20453. "core-js/modules/es.object.keys": 253,
  20454. "core-js/modules/es.regexp.exec": 256,
  20455. "core-js/modules/es.string.replace": 261,
  20456. "core-js/modules/web.dom-collections.for-each": 291,
  20457. "regenerator-runtime/runtime": 336
  20458. }
  20459. ],
  20460. 37: [
  20461. function (e, t, r) {
  20462. "use strict"
  20463. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20464. e("core-js/modules/es.object.assign")
  20465. var i = n(e("@babel/runtime/regenerator"))
  20466. e("regenerator-runtime/runtime")
  20467. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20468. a = r
  20469. a.getObjectMeta = (function () {
  20470. var e = (0, o.default)(
  20471. i.default.mark(function e(t, r) {
  20472. var n, o
  20473. return i.default.wrap(
  20474. function (e) {
  20475. while (1)
  20476. switch ((e.prev = e.next)) {
  20477. case 0:
  20478. return (
  20479. (r = r || {}),
  20480. (t = this._objectName(t)),
  20481. (r.subres = Object.assign(
  20482. {
  20483. objectMeta: ""
  20484. },
  20485. r.subres
  20486. )),
  20487. r.versionId && (r.subres.versionId = r.versionId),
  20488. (n = this._objectRequestParams("HEAD", t, r)),
  20489. (n.successStatuses = [200]),
  20490. (e.next = 8),
  20491. this.request(n)
  20492. )
  20493. case 8:
  20494. return (
  20495. (o = e.sent),
  20496. e.abrupt("return", {
  20497. status: o.status,
  20498. res: o.res
  20499. })
  20500. )
  20501. case 10:
  20502. case "end":
  20503. return e.stop()
  20504. }
  20505. },
  20506. e,
  20507. this
  20508. )
  20509. })
  20510. )
  20511. function t(t, r) {
  20512. return e.apply(this, arguments)
  20513. }
  20514. return t
  20515. })()
  20516. },
  20517. {
  20518. "@babel/runtime/helpers/asyncToGenerator": 71,
  20519. "@babel/runtime/helpers/interopRequireDefault": 72,
  20520. "@babel/runtime/regenerator": 75,
  20521. "core-js/modules/es.object.assign": 251,
  20522. "regenerator-runtime/runtime": 336
  20523. }
  20524. ],
  20525. 38: [
  20526. function (e, t, r) {
  20527. "use strict"
  20528. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20529. e("core-js/modules/es.array.for-each"),
  20530. e("core-js/modules/es.object.assign"),
  20531. e("core-js/modules/web.dom-collections.for-each")
  20532. var i = n(e("@babel/runtime/regenerator"))
  20533. e("regenerator-runtime/runtime")
  20534. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20535. a = r,
  20536. s = e("../utils/isObject"),
  20537. l = s.isObject
  20538. a.getObjectTagging = (function () {
  20539. var e = (0, o.default)(
  20540. i.default.mark(function e(t) {
  20541. var r,
  20542. n,
  20543. o,
  20544. a,
  20545. s,
  20546. c,
  20547. u = arguments
  20548. return i.default.wrap(
  20549. function (e) {
  20550. while (1)
  20551. switch ((e.prev = e.next)) {
  20552. case 0:
  20553. return (
  20554. (r = u.length > 1 && void 0 !== u[1] ? u[1] : {}),
  20555. (r.subres = Object.assign(
  20556. {
  20557. tagging: ""
  20558. },
  20559. r.subres
  20560. )),
  20561. r.versionId && (r.subres.versionId = r.versionId),
  20562. (t = this._objectName(t)),
  20563. (n = this._objectRequestParams("GET", t, r)),
  20564. (n.successStatuses = [200]),
  20565. (e.next = 8),
  20566. this.request(n)
  20567. )
  20568. case 8:
  20569. return (o = e.sent), (e.next = 11), this.parseXML(o.data)
  20570. case 11:
  20571. return (
  20572. (a = e.sent),
  20573. (s = a.TagSet.Tag),
  20574. (s = s && l(s) ? [s] : s || []),
  20575. (c = {}),
  20576. s.forEach(function (e) {
  20577. c[e.Key] = e.Value
  20578. }),
  20579. e.abrupt("return", {
  20580. status: o.status,
  20581. res: o.res,
  20582. tag: c
  20583. })
  20584. )
  20585. case 17:
  20586. case "end":
  20587. return e.stop()
  20588. }
  20589. },
  20590. e,
  20591. this
  20592. )
  20593. })
  20594. )
  20595. function t(t) {
  20596. return e.apply(this, arguments)
  20597. }
  20598. return t
  20599. })()
  20600. },
  20601. {
  20602. "../utils/isObject": 65,
  20603. "@babel/runtime/helpers/asyncToGenerator": 71,
  20604. "@babel/runtime/helpers/interopRequireDefault": 72,
  20605. "@babel/runtime/regenerator": 75,
  20606. "core-js/modules/es.array.for-each": 238,
  20607. "core-js/modules/es.object.assign": 251,
  20608. "core-js/modules/web.dom-collections.for-each": 291,
  20609. "regenerator-runtime/runtime": 336
  20610. }
  20611. ],
  20612. 39: [
  20613. function (e, t, r) {
  20614. "use strict"
  20615. var n = e("../utils/isIP"),
  20616. i = n.isIP,
  20617. o = r
  20618. o.getObjectUrl = function (e, t) {
  20619. if (i(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP")
  20620. return (
  20621. t ? "/" !== t[t.length - 1] && (t += "/") : (t = this.options.endpoint.format()), t + this._escape(this._objectName(e))
  20622. )
  20623. }
  20624. },
  20625. {
  20626. "../utils/isIP": 64
  20627. }
  20628. ],
  20629. 40: [
  20630. function (e, t, r) {
  20631. "use strict"
  20632. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20633. e("core-js/modules/es.object.assign")
  20634. var i = n(e("@babel/runtime/regenerator"))
  20635. e("regenerator-runtime/runtime")
  20636. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20637. a = r
  20638. a.getSymlink = (function () {
  20639. var e = (0, o.default)(
  20640. i.default.mark(function e(t) {
  20641. var r,
  20642. n,
  20643. o,
  20644. a,
  20645. s = arguments
  20646. return i.default.wrap(
  20647. function (e) {
  20648. while (1)
  20649. switch ((e.prev = e.next)) {
  20650. case 0:
  20651. return (
  20652. (r = s.length > 1 && void 0 !== s[1] ? s[1] : {}),
  20653. (r.subres = Object.assign(
  20654. {
  20655. symlink: ""
  20656. },
  20657. r.subres
  20658. )),
  20659. r.versionId && (r.subres.versionId = r.versionId),
  20660. (t = this._objectName(t)),
  20661. (n = this._objectRequestParams("GET", t, r)),
  20662. (n.successStatuses = [200]),
  20663. (e.next = 8),
  20664. this.request(n)
  20665. )
  20666. case 8:
  20667. return (
  20668. (o = e.sent),
  20669. (a = o.res.headers["x-oss-symlink-target"]),
  20670. e.abrupt("return", {
  20671. targetName: decodeURIComponent(a),
  20672. res: o.res
  20673. })
  20674. )
  20675. case 11:
  20676. case "end":
  20677. return e.stop()
  20678. }
  20679. },
  20680. e,
  20681. this
  20682. )
  20683. })
  20684. )
  20685. function t(t) {
  20686. return e.apply(this, arguments)
  20687. }
  20688. return t
  20689. })()
  20690. },
  20691. {
  20692. "@babel/runtime/helpers/asyncToGenerator": 71,
  20693. "@babel/runtime/helpers/interopRequireDefault": 72,
  20694. "@babel/runtime/regenerator": 75,
  20695. "core-js/modules/es.object.assign": 251,
  20696. "regenerator-runtime/runtime": 336
  20697. }
  20698. ],
  20699. 41: [
  20700. function (e, t, r) {
  20701. "use strict"
  20702. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20703. e("core-js/modules/es.array.for-each"),
  20704. e("core-js/modules/es.array.index-of"),
  20705. e("core-js/modules/es.object.assign"),
  20706. e("core-js/modules/es.object.keys"),
  20707. e("core-js/modules/web.dom-collections.for-each")
  20708. var i = n(e("@babel/runtime/regenerator"))
  20709. e("regenerator-runtime/runtime")
  20710. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20711. a = r
  20712. a.head = (function () {
  20713. var e = (0, o.default)(
  20714. i.default.mark(function e(t) {
  20715. var r,
  20716. n,
  20717. o,
  20718. a,
  20719. s = arguments
  20720. return i.default.wrap(
  20721. function (e) {
  20722. while (1)
  20723. switch ((e.prev = e.next)) {
  20724. case 0:
  20725. return (
  20726. (r = s.length > 1 && void 0 !== s[1] ? s[1] : {}),
  20727. (r.subres = Object.assign({}, r.subres)),
  20728. r.versionId && (r.subres.versionId = r.versionId),
  20729. (n = this._objectRequestParams("HEAD", t, r)),
  20730. (n.successStatuses = [200, 304]),
  20731. (e.next = 7),
  20732. this.request(n)
  20733. )
  20734. case 7:
  20735. return (
  20736. (o = e.sent),
  20737. (a = {
  20738. meta: null,
  20739. res: o.res,
  20740. status: o.status
  20741. }),
  20742. 200 === o.status &&
  20743. Object.keys(o.headers).forEach(function (e) {
  20744. 0 === e.indexOf("x-oss-meta-") &&
  20745. (a.meta || (a.meta = {}), (a.meta[e.substring(11)] = o.headers[e]))
  20746. }),
  20747. e.abrupt("return", a)
  20748. )
  20749. case 11:
  20750. case "end":
  20751. return e.stop()
  20752. }
  20753. },
  20754. e,
  20755. this
  20756. )
  20757. })
  20758. )
  20759. function t(t) {
  20760. return e.apply(this, arguments)
  20761. }
  20762. return t
  20763. })()
  20764. },
  20765. {
  20766. "@babel/runtime/helpers/asyncToGenerator": 71,
  20767. "@babel/runtime/helpers/interopRequireDefault": 72,
  20768. "@babel/runtime/regenerator": 75,
  20769. "core-js/modules/es.array.for-each": 238,
  20770. "core-js/modules/es.array.index-of": 241,
  20771. "core-js/modules/es.object.assign": 251,
  20772. "core-js/modules/es.object.keys": 253,
  20773. "core-js/modules/web.dom-collections.for-each": 291,
  20774. "regenerator-runtime/runtime": 336
  20775. }
  20776. ],
  20777. 42: [
  20778. function (e, t, r) {
  20779. "use strict"
  20780. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20781. e("core-js/modules/es.object.assign")
  20782. var i = n(e("@babel/runtime/regenerator"))
  20783. e("regenerator-runtime/runtime")
  20784. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20785. a = r
  20786. a.putACL = (function () {
  20787. var e = (0, o.default)(
  20788. i.default.mark(function e(t, r, n) {
  20789. var o, a
  20790. return i.default.wrap(
  20791. function (e) {
  20792. while (1)
  20793. switch ((e.prev = e.next)) {
  20794. case 0:
  20795. return (
  20796. (n = n || {}),
  20797. (n.subres = Object.assign(
  20798. {
  20799. acl: ""
  20800. },
  20801. n.subres
  20802. )),
  20803. n.versionId && (n.subres.versionId = n.versionId),
  20804. (n.headers = n.headers || {}),
  20805. (n.headers["x-oss-object-acl"] = r),
  20806. (t = this._objectName(t)),
  20807. (o = this._objectRequestParams("PUT", t, n)),
  20808. (o.successStatuses = [200]),
  20809. (e.next = 10),
  20810. this.request(o)
  20811. )
  20812. case 10:
  20813. return (
  20814. (a = e.sent),
  20815. e.abrupt("return", {
  20816. res: a.res
  20817. })
  20818. )
  20819. case 12:
  20820. case "end":
  20821. return e.stop()
  20822. }
  20823. },
  20824. e,
  20825. this
  20826. )
  20827. })
  20828. )
  20829. function t(t, r, n) {
  20830. return e.apply(this, arguments)
  20831. }
  20832. return t
  20833. })()
  20834. },
  20835. {
  20836. "@babel/runtime/helpers/asyncToGenerator": 71,
  20837. "@babel/runtime/helpers/interopRequireDefault": 72,
  20838. "@babel/runtime/regenerator": 75,
  20839. "core-js/modules/es.object.assign": 251,
  20840. "regenerator-runtime/runtime": 336
  20841. }
  20842. ],
  20843. 43: [
  20844. function (e, t, r) {
  20845. "use strict"
  20846. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20847. e("core-js/modules/es.array.map"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys")
  20848. var i = n(e("@babel/runtime/regenerator"))
  20849. e("regenerator-runtime/runtime")
  20850. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20851. a = e("../utils/obj2xml"),
  20852. s = a.obj2xml,
  20853. l = e("../utils/checkObjectTag"),
  20854. c = l.checkObjectTag,
  20855. u = r
  20856. u.putObjectTagging = (function () {
  20857. var e = (0, o.default)(
  20858. i.default.mark(function e(t, r) {
  20859. var n,
  20860. o,
  20861. a,
  20862. l,
  20863. u = arguments
  20864. return i.default.wrap(
  20865. function (e) {
  20866. while (1)
  20867. switch ((e.prev = e.next)) {
  20868. case 0:
  20869. return (
  20870. (n = u.length > 2 && void 0 !== u[2] ? u[2] : {}),
  20871. c(r),
  20872. (n.subres = Object.assign(
  20873. {
  20874. tagging: ""
  20875. },
  20876. n.subres
  20877. )),
  20878. n.versionId && (n.subres.versionId = n.versionId),
  20879. (t = this._objectName(t)),
  20880. (o = this._objectRequestParams("PUT", t, n)),
  20881. (o.successStatuses = [200]),
  20882. (r = Object.keys(r).map(function (e) {
  20883. return {
  20884. Key: e,
  20885. Value: r[e]
  20886. }
  20887. })),
  20888. (a = {
  20889. Tagging: {
  20890. TagSet: {
  20891. Tag: r
  20892. }
  20893. }
  20894. }),
  20895. (o.mime = "xml"),
  20896. (o.content = s(a)),
  20897. (e.next = 13),
  20898. this.request(o)
  20899. )
  20900. case 13:
  20901. return (
  20902. (l = e.sent),
  20903. e.abrupt("return", {
  20904. res: l.res,
  20905. status: l.status
  20906. })
  20907. )
  20908. case 15:
  20909. case "end":
  20910. return e.stop()
  20911. }
  20912. },
  20913. e,
  20914. this
  20915. )
  20916. })
  20917. )
  20918. function t(t, r) {
  20919. return e.apply(this, arguments)
  20920. }
  20921. return t
  20922. })()
  20923. },
  20924. {
  20925. "../utils/checkObjectTag": 50,
  20926. "../utils/obj2xml": 67,
  20927. "@babel/runtime/helpers/asyncToGenerator": 71,
  20928. "@babel/runtime/helpers/interopRequireDefault": 72,
  20929. "@babel/runtime/regenerator": 75,
  20930. "core-js/modules/es.array.map": 245,
  20931. "core-js/modules/es.object.assign": 251,
  20932. "core-js/modules/es.object.keys": 253,
  20933. "regenerator-runtime/runtime": 336
  20934. }
  20935. ],
  20936. 44: [
  20937. function (e, t, r) {
  20938. "use strict"
  20939. var n = e("@babel/runtime/helpers/interopRequireDefault")
  20940. e("core-js/modules/es.object.assign")
  20941. var i = n(e("@babel/runtime/regenerator"))
  20942. e("regenerator-runtime/runtime")
  20943. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  20944. a = r
  20945. a.putSymlink = (function () {
  20946. var e = (0, o.default)(
  20947. i.default.mark(function e(t, r, n) {
  20948. var o, a
  20949. return i.default.wrap(
  20950. function (e) {
  20951. while (1)
  20952. switch ((e.prev = e.next)) {
  20953. case 0:
  20954. return (
  20955. (n = n || {}),
  20956. (n.headers = n.headers || {}),
  20957. (r = this._escape(this._objectName(r))),
  20958. this._convertMetaToHeaders(n.meta, n.headers),
  20959. (n.headers["x-oss-symlink-target"] = r),
  20960. (n.subres = Object.assign(
  20961. {
  20962. symlink: ""
  20963. },
  20964. n.subres
  20965. )),
  20966. n.versionId && (n.subres.versionId = n.versionId),
  20967. n.storageClass && (n.headers["x-oss-storage-class"] = n.storageClass),
  20968. (t = this._objectName(t)),
  20969. (o = this._objectRequestParams("PUT", t, n)),
  20970. (o.successStatuses = [200]),
  20971. (e.next = 13),
  20972. this.request(o)
  20973. )
  20974. case 13:
  20975. return (
  20976. (a = e.sent),
  20977. e.abrupt("return", {
  20978. res: a.res
  20979. })
  20980. )
  20981. case 15:
  20982. case "end":
  20983. return e.stop()
  20984. }
  20985. },
  20986. e,
  20987. this
  20988. )
  20989. })
  20990. )
  20991. function t(t, r, n) {
  20992. return e.apply(this, arguments)
  20993. }
  20994. return t
  20995. })()
  20996. },
  20997. {
  20998. "@babel/runtime/helpers/asyncToGenerator": 71,
  20999. "@babel/runtime/helpers/interopRequireDefault": 72,
  21000. "@babel/runtime/regenerator": 75,
  21001. "core-js/modules/es.object.assign": 251,
  21002. "regenerator-runtime/runtime": 336
  21003. }
  21004. ],
  21005. 45: [
  21006. function (e, t, r) {
  21007. "use strict"
  21008. var n = e("url"),
  21009. i = e("utility"),
  21010. o = e("copy-to"),
  21011. a = e("../../common/signUtils"),
  21012. s = e("../utils/isIP"),
  21013. l = s.isIP,
  21014. c = r
  21015. c.signatureUrl = function (e, t) {
  21016. if (l(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP")
  21017. ;(t = t || {}), (e = this._objectName(e)), (t.method = t.method || "GET")
  21018. var r = i.timestamp() + (t.expires || 1800),
  21019. s = {
  21020. bucket: this.options.bucket,
  21021. object: e
  21022. },
  21023. c = this._getResource(s)
  21024. this.options.stsToken && (t["security-token"] = this.options.stsToken)
  21025. var u = a._signatureForURL(this.options.accessKeySecret, t, c, r),
  21026. f = n.parse(this._getReqUrl(s))
  21027. return (
  21028. (f.query = {
  21029. OSSAccessKeyId: this.options.accessKeyId,
  21030. Expires: r,
  21031. Signature: u.Signature
  21032. }),
  21033. o(u.subResource).to(f.query),
  21034. f.format()
  21035. )
  21036. }
  21037. },
  21038. {
  21039. "../../common/signUtils": 47,
  21040. "../utils/isIP": 64,
  21041. "copy-to": 101,
  21042. url: 393,
  21043. utility: 395
  21044. }
  21045. ],
  21046. 46: [
  21047. function (e, t, r) {
  21048. "use strict"
  21049. var n = e("@babel/runtime/helpers/interopRequireDefault")
  21050. e("core-js/modules/es.array.for-each"),
  21051. e("core-js/modules/es.array.iterator"),
  21052. e("core-js/modules/es.function.name"),
  21053. e("core-js/modules/es.object.to-string"),
  21054. e("core-js/modules/es.promise"),
  21055. e("core-js/modules/es.string.iterator"),
  21056. e("core-js/modules/web.dom-collections.for-each"),
  21057. e("core-js/modules/web.dom-collections.iterator")
  21058. var i = n(e("@babel/runtime/regenerator"))
  21059. e("regenerator-runtime/runtime")
  21060. var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
  21061. a = e("./utils/isArray"),
  21062. s = a.isArray,
  21063. l = r
  21064. ;(l._parallelNode = (function () {
  21065. var e = (0, o.default)(
  21066. i.default.mark(function e(t, r, n, o) {
  21067. var a, s, l, c, u, f, p, d
  21068. return i.default.wrap(
  21069. function (e) {
  21070. while (1)
  21071. switch ((e.prev = e.next)) {
  21072. case 0:
  21073. ;(a = this),
  21074. (s = []),
  21075. (l = []),
  21076. (c = t.length / r),
  21077. (u = t.length % r),
  21078. (f = 0 === u ? c : (t.length - u) / r + 1),
  21079. (p = 1),
  21080. (d = 0)
  21081. case 8:
  21082. if (!(d < t.length)) {
  21083. e.next = 26
  21084. break
  21085. }
  21086. if (!a.isCancel()) {
  21087. e.next = 11
  21088. break
  21089. }
  21090. return e.abrupt("break", 26)
  21091. case 11:
  21092. if (
  21093. (o ? l.push(n(a, t[d], o)) : l.push(n(a, t[d])), l.length !== r && (p !== f || d !== t.length - 1))
  21094. ) {
  21095. e.next = 23
  21096. break
  21097. }
  21098. return (e.prev = 13), (p += 1), (e.next = 17), Promise.all(l)
  21099. case 17:
  21100. e.next = 22
  21101. break
  21102. case 19:
  21103. ;(e.prev = 19), (e.t0 = e["catch"](13)), s.push(e.t0)
  21104. case 22:
  21105. l = []
  21106. case 23:
  21107. d++, (e.next = 8)
  21108. break
  21109. case 26:
  21110. return e.abrupt("return", s)
  21111. case 27:
  21112. case "end":
  21113. return e.stop()
  21114. }
  21115. },
  21116. e,
  21117. this,
  21118. [[13, 19]]
  21119. )
  21120. })
  21121. )
  21122. function t(t, r, n, i) {
  21123. return e.apply(this, arguments)
  21124. }
  21125. return t
  21126. })()),
  21127. (l._parallel = function (e, t, r) {
  21128. var n = this
  21129. return new Promise(function (i) {
  21130. var o = []
  21131. if (t <= 0 || !e) i(o)
  21132. else {
  21133. var a = f(e),
  21134. s = !1,
  21135. l = 0,
  21136. c = !1
  21137. h()
  21138. }
  21139. function u(e) {
  21140. return function () {
  21141. if (null === e) throw new Error("Callback was already called.")
  21142. var t = e
  21143. e = null
  21144. for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i]
  21145. t.apply(this, n)
  21146. }
  21147. }
  21148. function f(e) {
  21149. var t = -1,
  21150. r = e.length
  21151. return function () {
  21152. return ++t < r && !n.isCancel()
  21153. ? {
  21154. value: e[t],
  21155. key: t
  21156. }
  21157. : null
  21158. }
  21159. }
  21160. function p(e, t) {
  21161. ;(l -= 1),
  21162. e
  21163. ? ((s = !0), o.push(e), i(o))
  21164. : t === {} || (s && l <= 0)
  21165. ? ((s = !0), i(o))
  21166. : c || (n.isCancel() ? i(o) : h())
  21167. }
  21168. function d(e, t) {
  21169. r(e)
  21170. .then(function (e) {
  21171. t(null, e)
  21172. })
  21173. .catch(function (e) {
  21174. t(e)
  21175. })
  21176. }
  21177. function h() {
  21178. c = !0
  21179. while (l < t && !s && !n.isCancel()) {
  21180. var e = a()
  21181. if (null === e || o.length > 0) return (s = !0), void (l <= 0 && i(o))
  21182. ;(l += 1), d(e.value, u(p))
  21183. }
  21184. c = !1
  21185. }
  21186. })
  21187. }),
  21188. (l.cancel = function (e) {
  21189. ;(this.options.cancelFlag = !0),
  21190. s(this.multipartUploadStreams) &&
  21191. this.multipartUploadStreams.forEach(function (e) {
  21192. if (!1 === e.destroyed) {
  21193. var t = {
  21194. name: "cancel",
  21195. message: "cancel"
  21196. }
  21197. e.destroy(t)
  21198. }
  21199. }),
  21200. (this.multipartUploadStreams = []),
  21201. e && this.abortMultipartUpload(e.name, e.uploadId, e.options)
  21202. }),
  21203. (l.isCancel = function () {
  21204. return this.options.cancelFlag
  21205. }),
  21206. (l.resetCancelFlag = function () {
  21207. this.options.cancelFlag = !1
  21208. }),
  21209. (l._stop = function () {
  21210. this.options.cancelFlag = !0
  21211. }),
  21212. (l._makeCancelEvent = function () {
  21213. var e = {
  21214. status: 0,
  21215. name: "cancel"
  21216. }
  21217. return e
  21218. }),
  21219. (l._makeAbortEvent = function () {
  21220. var e = {
  21221. status: 0,
  21222. name: "abort",
  21223. message: "upload task has been abort"
  21224. }
  21225. return e
  21226. })
  21227. },
  21228. {
  21229. "./utils/isArray": 59,
  21230. "@babel/runtime/helpers/asyncToGenerator": 71,
  21231. "@babel/runtime/helpers/interopRequireDefault": 72,
  21232. "@babel/runtime/regenerator": 75,
  21233. "core-js/modules/es.array.for-each": 238,
  21234. "core-js/modules/es.array.iterator": 242,
  21235. "core-js/modules/es.function.name": 249,
  21236. "core-js/modules/es.object.to-string": 254,
  21237. "core-js/modules/es.promise": 255,
  21238. "core-js/modules/es.string.iterator": 259,
  21239. "core-js/modules/web.dom-collections.for-each": 291,
  21240. "core-js/modules/web.dom-collections.iterator": 292,
  21241. "regenerator-runtime/runtime": 336
  21242. }
  21243. ],
  21244. 47: [
  21245. function (e, t, r) {
  21246. ;(function (t) {
  21247. "use strict"
  21248. e("core-js/modules/es.array.concat"),
  21249. e("core-js/modules/es.array.for-each"),
  21250. e("core-js/modules/es.array.index-of"),
  21251. e("core-js/modules/es.array.join"),
  21252. e("core-js/modules/es.array.sort"),
  21253. e("core-js/modules/es.object.keys"),
  21254. e("core-js/modules/es.object.to-string"),
  21255. e("core-js/modules/es.regexp.to-string"),
  21256. e("core-js/modules/es.string.trim"),
  21257. e("core-js/modules/web.dom-collections.for-each")
  21258. var n = e("./../../shims/crypto/crypto.js"),
  21259. i = e("is-type-of"),
  21260. o = e("./utils/lowercaseKeyHeader"),
  21261. a = o.lowercaseKeyHeader
  21262. ;(r.buildCanonicalizedResource = function (e, t) {
  21263. var r = "".concat(e),
  21264. n = "?"
  21265. if (i.string(t) && "" !== t.trim()) r += n + t
  21266. else if (i.array(t)) t.sort(), (r += n + t.join("&"))
  21267. else if (t) {
  21268. var o = function (e, t) {
  21269. return e[0] > t[0] ? 1 : e[0] < t[0] ? -1 : 0
  21270. },
  21271. a = function (e) {
  21272. ;(r += n + e), t[e] && (r += "=".concat(t[e])), (n = "&")
  21273. }
  21274. Object.keys(t).sort(o).forEach(a)
  21275. }
  21276. return r
  21277. }),
  21278. (r.buildCanonicalString = function (e, t, r, n) {
  21279. r = r || {}
  21280. var i = a(r.headers),
  21281. o = "x-oss-",
  21282. s = [],
  21283. l = {},
  21284. c = [e.toUpperCase(), i["content-md5"] || "", i["content-type"], n || i["x-oss-date"]]
  21285. return (
  21286. Object.keys(i).forEach(function (e) {
  21287. var t = e.toLowerCase()
  21288. 0 === t.indexOf(o) && (l[t] = String(i[e]).trim())
  21289. }),
  21290. Object.keys(l)
  21291. .sort()
  21292. .forEach(function (e) {
  21293. s.push("".concat(e, ":").concat(l[e]))
  21294. }),
  21295. (c = c.concat(s)),
  21296. c.push(this.buildCanonicalizedResource(t, r.parameters)),
  21297. c.join("\n")
  21298. )
  21299. }),
  21300. (r.computeSignature = function (e, r) {
  21301. var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "utf-8",
  21302. o = n.createHmac("sha1", e)
  21303. return o.update(t.from(r, i)).digest("base64")
  21304. }),
  21305. (r.authorization = function (e, t, r, n) {
  21306. return "OSS ".concat(e, ":").concat(this.computeSignature(t, r, n))
  21307. }),
  21308. (r._signatureForURL = function (e) {
  21309. var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  21310. n = arguments.length > 2 ? arguments[2] : void 0,
  21311. i = arguments.length > 3 ? arguments[3] : void 0,
  21312. o = arguments.length > 4 ? arguments[4] : void 0,
  21313. a = {},
  21314. s = r.subResource,
  21315. l = void 0 === s ? {} : s
  21316. if (r.process) {
  21317. var c = "x-oss-process"
  21318. l[c] = r.process
  21319. }
  21320. if (r.trafficLimit) {
  21321. var u = "x-oss-traffic-limit"
  21322. l[u] = r.trafficLimit
  21323. }
  21324. if (
  21325. (r.response &&
  21326. Object.keys(r.response).forEach(function (e) {
  21327. var t = "response-".concat(e.toLowerCase())
  21328. l[t] = r.response[e]
  21329. }),
  21330. Object.keys(r).forEach(function (e) {
  21331. var t = e.toLowerCase(),
  21332. n = r[e]
  21333. 0 === t.indexOf("x-oss-")
  21334. ? (a[t] = n)
  21335. : (0 === t.indexOf("content-md5") || 0 === t.indexOf("content-type")) && (a[e] = n)
  21336. }),
  21337. Object.prototype.hasOwnProperty.call(r, "security-token") && (l["security-token"] = r["security-token"]),
  21338. Object.prototype.hasOwnProperty.call(r, "callback"))
  21339. ) {
  21340. var f = {
  21341. callbackUrl: encodeURI(r.callback.url),
  21342. callbackBody: r.callback.body
  21343. }
  21344. if (
  21345. (r.callback.host && (f.callbackHost = r.callback.host),
  21346. r.callback.contentType && (f.callbackBodyType = r.callback.contentType),
  21347. (l.callback = t.from(JSON.stringify(f)).toString("base64")),
  21348. r.callback.customValue)
  21349. ) {
  21350. var p = {}
  21351. Object.keys(r.callback.customValue).forEach(function (e) {
  21352. p["x:".concat(e)] = r.callback.customValue[e]
  21353. }),
  21354. (l["callback-var"] = t.from(JSON.stringify(p)).toString("base64"))
  21355. }
  21356. }
  21357. var d = this.buildCanonicalString(
  21358. r.method,
  21359. n,
  21360. {
  21361. headers: a,
  21362. parameters: l
  21363. },
  21364. i.toString()
  21365. )
  21366. return {
  21367. Signature: this.computeSignature(e, d, o),
  21368. subResource: l
  21369. }
  21370. })
  21371. }).call(this, e("buffer").Buffer)
  21372. },
  21373. {
  21374. "./../../shims/crypto/crypto.js": 386,
  21375. "./utils/lowercaseKeyHeader": 66,
  21376. buffer: 99,
  21377. "core-js/modules/es.array.concat": 234,
  21378. "core-js/modules/es.array.for-each": 238,
  21379. "core-js/modules/es.array.index-of": 241,
  21380. "core-js/modules/es.array.join": 243,
  21381. "core-js/modules/es.array.sort": 247,
  21382. "core-js/modules/es.object.keys": 253,
  21383. "core-js/modules/es.object.to-string": 254,
  21384. "core-js/modules/es.regexp.to-string": 257,
  21385. "core-js/modules/es.string.trim": 264,
  21386. "core-js/modules/web.dom-collections.for-each": 291,
  21387. "is-type-of": 391
  21388. }
  21389. ],
  21390. 48: [
  21391. function (e, t, r) {
  21392. "use strict"
  21393. Object.defineProperty(r, "__esModule", {
  21394. value: !0
  21395. }),
  21396. (r.checkBucketName = void 0),
  21397. (r.checkBucketName = function (e) {
  21398. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
  21399. r = t ? /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/ : /^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/
  21400. if (!r.test(e)) throw new Error("The bucket must be conform to the specifications")
  21401. })
  21402. },
  21403. {}
  21404. ],
  21405. 49: [
  21406. function (e, t, r) {
  21407. "use strict"
  21408. Object.defineProperty(r, "__esModule", {
  21409. value: !0
  21410. }),
  21411. (r.checkConfigValid = void 0)
  21412. var n = {
  21413. endpoint: i,
  21414. region: /^[a-zA-Z0-9\-_]+$/
  21415. }
  21416. function i(e) {
  21417. return "string" === typeof e ? /^[a-zA-Z0-9._:/-]+$/.test(e) : !!e.host && /^[a-zA-Z0-9._:/-]+$/.test(e.host)
  21418. }
  21419. r.checkConfigValid = function (e, t) {
  21420. if (n[t]) {
  21421. var r = !0
  21422. if (((r = n[t] instanceof Function ? n[t](e) : n[t].test(e)), !r))
  21423. throw new Error("The ".concat(t, " must be conform to the specifications"))
  21424. }
  21425. }
  21426. },
  21427. {}
  21428. ],
  21429. 50: [
  21430. function (e, t, r) {
  21431. "use strict"
  21432. e("core-js/modules/es.array.concat"),
  21433. e("core-js/modules/es.array.for-each"),
  21434. e("core-js/modules/es.object.entries"),
  21435. e("core-js/modules/web.dom-collections.for-each"),
  21436. Object.defineProperty(r, "__esModule", {
  21437. value: !0
  21438. }),
  21439. (r.checkObjectTag = void 0)
  21440. var n = e("./checkValid"),
  21441. i = n.checkValid,
  21442. o = e("./isObject"),
  21443. a = o.isObject,
  21444. s = [
  21445. {
  21446. validator: function (e) {
  21447. if ("string" !== typeof e) throw new Error("the key and value of the tag must be String")
  21448. }
  21449. },
  21450. {
  21451. pattern: /^[a-zA-Z0-9 +-=._:/]+$/,
  21452. msg: "tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"
  21453. }
  21454. ],
  21455. l = {
  21456. key: [].concat(s, [
  21457. {
  21458. pattern: /^.{1,128}$/,
  21459. msg: "tag key can be a maximum of 128 bytes in length"
  21460. }
  21461. ]),
  21462. value: [].concat(s, [
  21463. {
  21464. pattern: /^.{0,256}$/,
  21465. msg: "tag value can be a maximum of 256 bytes in length"
  21466. }
  21467. ])
  21468. }
  21469. function c(e) {
  21470. if (!a(e)) throw new Error("tag must be Object")
  21471. var t = Object.entries(e)
  21472. if (t.length > 10) throw new Error("maximum of 10 tags for a object")
  21473. var r = ["key", "value"]
  21474. t.forEach(function (e) {
  21475. e.forEach(function (e, t) {
  21476. i(e, l[r[t]])
  21477. })
  21478. })
  21479. }
  21480. r.checkObjectTag = c
  21481. },
  21482. {
  21483. "./checkValid": 51,
  21484. "./isObject": 65,
  21485. "core-js/modules/es.array.concat": 234,
  21486. "core-js/modules/es.array.for-each": 238,
  21487. "core-js/modules/es.object.entries": 252,
  21488. "core-js/modules/web.dom-collections.for-each": 291
  21489. }
  21490. ],
  21491. 51: [
  21492. function (e, t, r) {
  21493. "use strict"
  21494. function n(e, t) {
  21495. t.forEach(function (t) {
  21496. if (t.validator) t.validator(e)
  21497. else if (t.pattern && !t.pattern.test(e)) throw new Error(t.msg)
  21498. })
  21499. }
  21500. e("core-js/modules/es.array.for-each"),
  21501. e("core-js/modules/web.dom-collections.for-each"),
  21502. Object.defineProperty(r, "__esModule", {
  21503. value: !0
  21504. }),
  21505. (r.checkValid = void 0),
  21506. (r.checkValid = n)
  21507. },
  21508. {
  21509. "core-js/modules/es.array.for-each": 238,
  21510. "core-js/modules/web.dom-collections.for-each": 291
  21511. }
  21512. ],
  21513. 52: [
  21514. function (e, t, r) {
  21515. ;(function (t) {
  21516. "use strict"
  21517. e("core-js/modules/es.array.concat"),
  21518. e("core-js/modules/es.array.includes"),
  21519. e("core-js/modules/es.array.index-of"),
  21520. e("core-js/modules/es.object.assign"),
  21521. e("core-js/modules/es.string.includes"),
  21522. Object.defineProperty(r, "__esModule", {
  21523. value: !0
  21524. }),
  21525. (r.createRequest = void 0)
  21526. var n = e("./../../../shims/crypto/crypto.js"),
  21527. i = e("debug")("ali-oss"),
  21528. o = e("mime"),
  21529. a = e("dateformat"),
  21530. s = e("copy-to"),
  21531. l = e("path"),
  21532. c = e("./encoder"),
  21533. u = c.encoder,
  21534. f = e("./isIP"),
  21535. p = f.isIP,
  21536. d = e("./setRegion"),
  21537. h = d.setRegion,
  21538. m = e("../client/getReqUrl"),
  21539. g = m.getReqUrl
  21540. function y(e, t) {
  21541. return e[t] || e[t.toLowerCase()]
  21542. }
  21543. function v(e, t) {
  21544. delete e[t], delete e[t.toLowerCase()]
  21545. }
  21546. function b(e) {
  21547. var r = new Date()
  21548. this.options.amendTimeSkewed && (r = +new Date() + this.options.amendTimeSkewed)
  21549. var c = {
  21550. "x-oss-date": a(r, "UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),
  21551. "x-oss-user-agent": this.userAgent
  21552. }
  21553. this.userAgent.includes("nodejs") && (c["User-Agent"] = this.userAgent),
  21554. this.options.isRequestPay &&
  21555. Object.assign(c, {
  21556. "x-oss-request-payer": "requester"
  21557. }),
  21558. this.options.stsToken && (c["x-oss-security-token"] = this.options.stsToken),
  21559. s(e.headers).to(c),
  21560. y(c, "Content-Type") ||
  21561. (e.mime && e.mime.indexOf("/") > 0
  21562. ? (c["Content-Type"] = e.mime)
  21563. : (c["Content-Type"] = o.getType(e.mime || l.extname(e.object || "")))),
  21564. y(c, "Content-Type") || v(c, "Content-Type"),
  21565. e.content &&
  21566. (e.disabledMD5 || (c["Content-MD5"] = n.createHash("md5").update(t.from(e.content, "utf8")).digest("base64")),
  21567. c["Content-Length"] || (c["Content-Length"] = e.content.length))
  21568. var f = Object.prototype.hasOwnProperty
  21569. for (var d in c) c[d] && f.call(c, d) && (c[d] = u(String(c[d]), this.options.headerEncoding))
  21570. var m = this._getResource(e)
  21571. if (
  21572. ((c.authorization = this.authorization(e.method, m, e.subres, c, this.options.headerEncoding)),
  21573. p(this.options.endpoint.hostname))
  21574. ) {
  21575. var b = this.options,
  21576. w = b.region,
  21577. x = b.internal,
  21578. A = b.secure,
  21579. _ = h(w, x, A)
  21580. c.host = "".concat(e.bucket, ".").concat(_.host)
  21581. }
  21582. var T = g.bind(this)(e)
  21583. i("request %s %s, with headers %j, !!stream: %s", e.method, T, c, !!e.stream)
  21584. var E = e.timeout || this.options.timeout,
  21585. S = {
  21586. method: e.method,
  21587. content: e.content,
  21588. stream: e.stream,
  21589. headers: c,
  21590. timeout: E,
  21591. writeStream: e.writeStream,
  21592. customResponse: e.customResponse,
  21593. ctx: e.ctx || this.ctx
  21594. }
  21595. return (
  21596. this.agent && (S.agent = this.agent),
  21597. this.httpsAgent && (S.httpsAgent = this.httpsAgent),
  21598. (S.enableProxy = !!this.options.enableProxy),
  21599. (S.proxy = this.options.proxy ? this.options.proxy : null),
  21600. {
  21601. url: T,
  21602. params: S
  21603. }
  21604. )
  21605. }
  21606. r.createRequest = b
  21607. }).call(this, e("buffer").Buffer)
  21608. },
  21609. {
  21610. "../client/getReqUrl": 24,
  21611. "./../../../shims/crypto/crypto.js": 386,
  21612. "./encoder": 55,
  21613. "./isIP": 64,
  21614. "./setRegion": 69,
  21615. buffer: 99,
  21616. "copy-to": 101,
  21617. "core-js/modules/es.array.concat": 234,
  21618. "core-js/modules/es.array.includes": 240,
  21619. "core-js/modules/es.array.index-of": 241,
  21620. "core-js/modules/es.object.assign": 251,
  21621. "core-js/modules/es.string.includes": 258,
  21622. dateformat: 294,
  21623. debug: 390,
  21624. mime: 312,
  21625. path: 315
  21626. }
  21627. ],
  21628. 53: [
  21629. function (e, t, r) {
  21630. "use strict"
  21631. e("core-js/modules/es.array.for-each"),
  21632. e("core-js/modules/es.array.includes"),
  21633. e("core-js/modules/es.object.entries"),
  21634. e("core-js/modules/es.object.keys"),
  21635. e("core-js/modules/es.regexp.exec"),
  21636. e("core-js/modules/es.string.replace"),
  21637. e("core-js/modules/web.dom-collections.for-each"),
  21638. Object.defineProperty(r, "__esModule", {
  21639. value: !0
  21640. }),
  21641. (r.dataFix = void 0)
  21642. var n = e("./isObject"),
  21643. i = ["true", "TRUE", "1", 1],
  21644. o = ["false", "FALSE", "0", 0]
  21645. function a(e, t, r) {
  21646. if (n.isObject(e)) {
  21647. var i = t.remove,
  21648. o = void 0 === i ? [] : i,
  21649. c = t.rename,
  21650. u = void 0 === c ? {} : c,
  21651. f = t.camel,
  21652. p = void 0 === f ? [] : f,
  21653. d = t.bool,
  21654. h = void 0 === d ? [] : d,
  21655. m = t.lowerFirst,
  21656. g = void 0 !== m && m
  21657. return (
  21658. o.forEach(function (t) {
  21659. return delete e[t]
  21660. }),
  21661. Object.entries(u).forEach(function (t) {
  21662. e[t[0]] && (e[t[1]] || ((e[t[1]] = e[t[0]]), delete e[t[0]]))
  21663. }),
  21664. p.forEach(function (t) {
  21665. if (e[t]) {
  21666. var r = t
  21667. .replace(/^(.)/, function (e) {
  21668. return e.toLowerCase()
  21669. })
  21670. .replace(/-(\w)/g, function (e, t) {
  21671. return t.toUpperCase()
  21672. })
  21673. e[r] || (e[r] = e[t])
  21674. }
  21675. }),
  21676. h.forEach(function (t) {
  21677. e[t] = s(e[t])
  21678. }),
  21679. "function" === typeof r && r(e),
  21680. l(e, g),
  21681. a
  21682. )
  21683. }
  21684. }
  21685. function s(e) {
  21686. return !!e && (!!i.includes(e) || (!o.includes(e) && e))
  21687. }
  21688. function l(e, t) {
  21689. t &&
  21690. Object.keys(e).forEach(function (t) {
  21691. var r = t.replace(/^\w/, function (e) {
  21692. return e.toLowerCase()
  21693. })
  21694. "undefined" === typeof e[r] && ((e[r] = e[t]), delete e[t])
  21695. })
  21696. }
  21697. r.dataFix = a
  21698. },
  21699. {
  21700. "./isObject": 65,
  21701. "core-js/modules/es.array.for-each": 238,
  21702. "core-js/modules/es.array.includes": 240,
  21703. "core-js/modules/es.object.entries": 252,
  21704. "core-js/modules/es.object.keys": 253,
  21705. "core-js/modules/es.regexp.exec": 256,
  21706. "core-js/modules/es.string.replace": 261,
  21707. "core-js/modules/web.dom-collections.for-each": 291
  21708. }
  21709. ],
  21710. 54: [
  21711. function (e, t, r) {
  21712. "use strict"
  21713. var n = e("@babel/runtime/helpers/interopRequireDefault")
  21714. e("core-js/modules/es.array.for-each"),
  21715. e("core-js/modules/es.array.slice"),
  21716. e("core-js/modules/es.object.keys"),
  21717. e("core-js/modules/web.dom-collections.for-each")
  21718. var i = n(e("@babel/runtime/helpers/typeof"))
  21719. Object.defineProperty(r, "__esModule", {
  21720. value: !0
  21721. }),
  21722. (r.deepCopyWith = r.deepCopy = void 0)
  21723. var o = e("./isBuffer")
  21724. ;(r.deepCopy = function (e) {
  21725. if (null === e || "object" !== (0, i.default)(e)) return e
  21726. if (o.isBuffer(e)) return e.slice()
  21727. var t = Array.isArray(e) ? [] : {}
  21728. return (
  21729. Object.keys(e).forEach(function (n) {
  21730. t[n] = r.deepCopy(e[n])
  21731. }),
  21732. t
  21733. )
  21734. }),
  21735. (r.deepCopyWith = function (e, t) {
  21736. function n(e, r, a) {
  21737. var s = t(e, r, a)
  21738. if (void 0 !== s) return s
  21739. if (null === e || "object" !== (0, i.default)(e)) return e
  21740. if (o.isBuffer(e)) return e.slice()
  21741. var l = Array.isArray(e) ? [] : {}
  21742. return (
  21743. Object.keys(e).forEach(function (t) {
  21744. l[t] = n(e[t], t, e)
  21745. }),
  21746. l
  21747. )
  21748. }
  21749. return t ? n(e, "", null) : r.deepCopy(e)
  21750. })
  21751. },
  21752. {
  21753. "./isBuffer": 61,
  21754. "@babel/runtime/helpers/interopRequireDefault": 72,
  21755. "@babel/runtime/helpers/typeof": 73,
  21756. "core-js/modules/es.array.for-each": 238,
  21757. "core-js/modules/es.array.slice": 246,
  21758. "core-js/modules/es.object.keys": 253,
  21759. "core-js/modules/web.dom-collections.for-each": 291
  21760. }
  21761. ],
  21762. 55: [
  21763. function (e, t, r) {
  21764. ;(function (t) {
  21765. "use strict"
  21766. function n(e) {
  21767. var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "utf-8"
  21768. return "utf-8" === r ? e : t.from(e).toString("latin1")
  21769. }
  21770. e("core-js/modules/es.object.to-string"),
  21771. e("core-js/modules/es.regexp.to-string"),
  21772. Object.defineProperty(r, "__esModule", {
  21773. value: !0
  21774. }),
  21775. (r.encoder = void 0),
  21776. (r.encoder = n)
  21777. }).call(this, e("buffer").Buffer)
  21778. },
  21779. {
  21780. buffer: 99,
  21781. "core-js/modules/es.object.to-string": 254,
  21782. "core-js/modules/es.regexp.to-string": 257
  21783. }
  21784. ],
  21785. 56: [
  21786. function (e, t, r) {
  21787. "use strict"
  21788. e("core-js/modules/es.array.map"),
  21789. e("core-js/modules/es.regexp.exec"),
  21790. e("core-js/modules/es.string.replace"),
  21791. Object.defineProperty(r, "__esModule", {
  21792. value: !0
  21793. }),
  21794. (r.formatInventoryConfig = void 0)
  21795. var n = e("../utils/dataFix"),
  21796. i = e("../utils/isObject"),
  21797. o = e("../utils/isArray"),
  21798. a = e("../utils/formatObjKey")
  21799. function s(e) {
  21800. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
  21801. return t && i.isObject(e) && (e = [e]), (e = o.isArray(e) ? e.map(l) : l(e)), e
  21802. }
  21803. function l(e) {
  21804. return (
  21805. n.dataFix(
  21806. e,
  21807. {
  21808. bool: ["IsEnabled"]
  21809. },
  21810. function (e) {
  21811. var t, r
  21812. ;(e.prefix = e.Filter.Prefix),
  21813. delete e.Filter,
  21814. (e.OSSBucketDestination = e.Destination.OSSBucketDestination),
  21815. (e.OSSBucketDestination.rolename = e.OSSBucketDestination.RoleArn.replace(/.*\//, "")),
  21816. delete e.OSSBucketDestination.RoleArn,
  21817. (e.OSSBucketDestination.bucket = e.OSSBucketDestination.Bucket.replace(/.*:::/, "")),
  21818. delete e.OSSBucketDestination.Bucket,
  21819. delete e.Destination,
  21820. (e.frequency = e.Schedule.Frequency),
  21821. delete e.Schedule.Frequency,
  21822. (null === (t = null === e || void 0 === e ? void 0 : e.OptionalFields) || void 0 === t ? void 0 : t.Field) &&
  21823. !o.isArray(null === (r = e.OptionalFields) || void 0 === r ? void 0 : r.Field) &&
  21824. (e.OptionalFields.Field = [e.OptionalFields.Field])
  21825. }
  21826. ),
  21827. (e = a.formatObjKey(e, "firstLowerCase", {
  21828. exclude: ["OSSBucketDestination", "SSE-OSS", "SSE-KMS"]
  21829. })),
  21830. e
  21831. )
  21832. }
  21833. r.formatInventoryConfig = s
  21834. },
  21835. {
  21836. "../utils/dataFix": 53,
  21837. "../utils/formatObjKey": 57,
  21838. "../utils/isArray": 59,
  21839. "../utils/isObject": 65,
  21840. "core-js/modules/es.array.map": 245,
  21841. "core-js/modules/es.regexp.exec": 256,
  21842. "core-js/modules/es.string.replace": 261
  21843. }
  21844. ],
  21845. 57: [
  21846. function (e, t, r) {
  21847. "use strict"
  21848. var n = e("@babel/runtime/helpers/interopRequireDefault")
  21849. e("core-js/modules/es.array.for-each"),
  21850. e("core-js/modules/es.array.includes"),
  21851. e("core-js/modules/es.object.keys"),
  21852. e("core-js/modules/es.regexp.exec"),
  21853. e("core-js/modules/es.string.includes"),
  21854. e("core-js/modules/es.string.replace"),
  21855. e("core-js/modules/web.dom-collections.for-each")
  21856. var i = n(e("@babel/runtime/helpers/typeof"))
  21857. function o(e, t, r) {
  21858. if (null === e || "object" !== (0, i.default)(e)) return e
  21859. var n
  21860. if (Array.isArray(e)) {
  21861. n = []
  21862. for (var s = 0; s < e.length; s++) n.push(o(e[s], t, r))
  21863. } else
  21864. (n = {}),
  21865. Object.keys(e).forEach(function (i) {
  21866. n[a(i, t, r)] = o(e[i], t, r)
  21867. })
  21868. return n
  21869. }
  21870. function a(e, t, r) {
  21871. var n
  21872. return (
  21873. (r && (null === (n = r.exclude) || void 0 === n ? void 0 : n.includes(e))) ||
  21874. ("firstUpperCase" === t
  21875. ? (e = e.replace(/^./, function (e) {
  21876. return e.toUpperCase()
  21877. }))
  21878. : "firstLowerCase" === t &&
  21879. (e = e.replace(/^./, function (e) {
  21880. return e.toLowerCase()
  21881. }))),
  21882. e
  21883. )
  21884. }
  21885. Object.defineProperty(r, "__esModule", {
  21886. value: !0
  21887. }),
  21888. (r.formatObjKey = void 0),
  21889. (r.formatObjKey = o)
  21890. },
  21891. {
  21892. "@babel/runtime/helpers/interopRequireDefault": 72,
  21893. "@babel/runtime/helpers/typeof": 73,
  21894. "core-js/modules/es.array.for-each": 238,
  21895. "core-js/modules/es.array.includes": 240,
  21896. "core-js/modules/es.object.keys": 253,
  21897. "core-js/modules/es.regexp.exec": 256,
  21898. "core-js/modules/es.string.includes": 258,
  21899. "core-js/modules/es.string.replace": 261,
  21900. "core-js/modules/web.dom-collections.for-each": 291
  21901. }
  21902. ],
  21903. 58: [
  21904. function (e, t, r) {
  21905. "use strict"
  21906. function n(e) {
  21907. for (var t = 0, r = 0; r < e.length; r++) {
  21908. var n = e.charAt(r)
  21909. ;/^[\u00-\uff]$/.test(n) ? (t += 1) : (t += 2)
  21910. }
  21911. return t
  21912. }
  21913. Object.defineProperty(r, "__esModule", {
  21914. value: !0
  21915. }),
  21916. (r.getStrBytesCount = void 0),
  21917. (r.getStrBytesCount = n)
  21918. },
  21919. {}
  21920. ],
  21921. 59: [
  21922. function (e, t, r) {
  21923. "use strict"
  21924. e("core-js/modules/es.object.to-string"),
  21925. e("core-js/modules/es.regexp.to-string"),
  21926. Object.defineProperty(r, "__esModule", {
  21927. value: !0
  21928. }),
  21929. (r.isArray = void 0),
  21930. (r.isArray = function (e) {
  21931. return "[object Array]" === Object.prototype.toString.call(e)
  21932. })
  21933. },
  21934. {
  21935. "core-js/modules/es.object.to-string": 254,
  21936. "core-js/modules/es.regexp.to-string": 257
  21937. }
  21938. ],
  21939. 60: [
  21940. function (e, t, r) {
  21941. "use strict"
  21942. function n(e) {
  21943. return "undefined" !== typeof Blob && e instanceof Blob
  21944. }
  21945. Object.defineProperty(r, "__esModule", {
  21946. value: !0
  21947. }),
  21948. (r.isBlob = void 0),
  21949. (r.isBlob = n)
  21950. },
  21951. {}
  21952. ],
  21953. 61: [
  21954. function (e, t, r) {
  21955. ;(function (e) {
  21956. "use strict"
  21957. function t(t) {
  21958. return e.isBuffer(t)
  21959. }
  21960. Object.defineProperty(r, "__esModule", {
  21961. value: !0
  21962. }),
  21963. (r.isBuffer = void 0),
  21964. (r.isBuffer = t)
  21965. }).call(this, {
  21966. isBuffer: e("../../../node_modules/is-buffer/index.js")
  21967. })
  21968. },
  21969. {
  21970. "../../../node_modules/is-buffer/index.js": 307
  21971. }
  21972. ],
  21973. 62: [
  21974. function (e, t, r) {
  21975. "use strict"
  21976. Object.defineProperty(r, "__esModule", {
  21977. value: !0
  21978. }),
  21979. (r.isFile = void 0),
  21980. (r.isFile = function (e) {
  21981. return "undefined" !== typeof File && e instanceof File
  21982. })
  21983. },
  21984. {}
  21985. ],
  21986. 63: [
  21987. function (e, t, r) {
  21988. "use strict"
  21989. Object.defineProperty(r, "__esModule", {
  21990. value: !0
  21991. }),
  21992. (r.isFunction = void 0),
  21993. (r.isFunction = function (e) {
  21994. return "function" === typeof e
  21995. })
  21996. },
  21997. {}
  21998. ],
  21999. 64: [
  22000. function (e, t, r) {
  22001. "use strict"
  22002. Object.defineProperty(r, "__esModule", {
  22003. value: !0
  22004. }),
  22005. (r.isIP = void 0),
  22006. (r.isIP = function (e) {
  22007. var t = /^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,
  22008. r =
  22009. /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/
  22010. return t.test(e) || r.test(e)
  22011. })
  22012. },
  22013. {}
  22014. ],
  22015. 65: [
  22016. function (e, t, r) {
  22017. "use strict"
  22018. e("core-js/modules/es.object.to-string"),
  22019. e("core-js/modules/es.regexp.to-string"),
  22020. Object.defineProperty(r, "__esModule", {
  22021. value: !0
  22022. }),
  22023. (r.isObject = void 0),
  22024. (r.isObject = function (e) {
  22025. return "[object Object]" === Object.prototype.toString.call(e)
  22026. })
  22027. },
  22028. {
  22029. "core-js/modules/es.object.to-string": 254,
  22030. "core-js/modules/es.regexp.to-string": 257
  22031. }
  22032. ],
  22033. 66: [
  22034. function (e, t, r) {
  22035. "use strict"
  22036. e("core-js/modules/es.array.for-each"),
  22037. e("core-js/modules/es.object.keys"),
  22038. e("core-js/modules/web.dom-collections.for-each"),
  22039. Object.defineProperty(r, "__esModule", {
  22040. value: !0
  22041. }),
  22042. (r.lowercaseKeyHeader = void 0)
  22043. var n = e("./isObject")
  22044. function i(e) {
  22045. var t = {}
  22046. return (
  22047. n.isObject(e) &&
  22048. Object.keys(e).forEach(function (r) {
  22049. t[r.toLowerCase()] = e[r]
  22050. }),
  22051. t
  22052. )
  22053. }
  22054. r.lowercaseKeyHeader = i
  22055. },
  22056. {
  22057. "./isObject": 65,
  22058. "core-js/modules/es.array.for-each": 238,
  22059. "core-js/modules/es.object.keys": 253,
  22060. "core-js/modules/web.dom-collections.for-each": 291
  22061. }
  22062. ],
  22063. 67: [
  22064. function (e, t, r) {
  22065. "use strict"
  22066. e("core-js/modules/es.array.concat"),
  22067. e("core-js/modules/es.array.for-each"),
  22068. e("core-js/modules/es.array.join"),
  22069. e("core-js/modules/es.array.map"),
  22070. e("core-js/modules/es.object.keys"),
  22071. e("core-js/modules/es.object.to-string"),
  22072. e("core-js/modules/es.regexp.exec"),
  22073. e("core-js/modules/es.regexp.to-string"),
  22074. e("core-js/modules/es.string.replace"),
  22075. e("core-js/modules/web.dom-collections.for-each"),
  22076. Object.defineProperty(r, "__esModule", {
  22077. value: !0
  22078. }),
  22079. (r.obj2xml = void 0)
  22080. var n = e("./formatObjKey")
  22081. function i(e) {
  22082. return Object.prototype.toString
  22083. .call(e)
  22084. .replace(/(.*? |])/g, "")
  22085. .toLowerCase()
  22086. }
  22087. function o(e, t) {
  22088. var r = ""
  22089. return (
  22090. t && t.headers && (r = '<?xml version="1.0" encoding="UTF-8"?>\n'),
  22091. t && t.firstUpperCase && (e = n.formatObjKey(e, "firstUpperCase")),
  22092. "object" === i(e)
  22093. ? Object.keys(e).forEach(function (t) {
  22094. "undefined" !== i(e[t]) &&
  22095. "null" !== i(e[t]) &&
  22096. ("string" === i(e[t]) || "number" === i(e[t])
  22097. ? (r += "<".concat(t, ">").concat(e[t], "</").concat(t, ">"))
  22098. : "object" === i(e[t])
  22099. ? (r += "<".concat(t, ">").concat(o(e[t]), "</").concat(t, ">"))
  22100. : "array" === i(e[t])
  22101. ? (r += e[t]
  22102. .map(function (e) {
  22103. return "<".concat(t, ">").concat(o(e), "</").concat(t, ">")
  22104. })
  22105. .join(""))
  22106. : (r += "<".concat(t, ">").concat(e[t].toString(), "</").concat(t, ">")))
  22107. })
  22108. : (r += e.toString()),
  22109. r
  22110. )
  22111. }
  22112. r.obj2xml = o
  22113. },
  22114. {
  22115. "./formatObjKey": 57,
  22116. "core-js/modules/es.array.concat": 234,
  22117. "core-js/modules/es.array.for-each": 238,
  22118. "core-js/modules/es.array.join": 243,
  22119. "core-js/modules/es.array.map": 245,
  22120. "core-js/modules/es.object.keys": 253,
  22121. "core-js/modules/es.object.to-string": 254,
  22122. "core-js/modules/es.regexp.exec": 256,
  22123. "core-js/modules/es.regexp.to-string": 257,
  22124. "core-js/modules/es.string.replace": 261,
  22125. "core-js/modules/web.dom-collections.for-each": 291
  22126. }
  22127. ],
  22128. 68: [
  22129. function (e, t, r) {
  22130. "use strict"
  22131. function n(e, t) {
  22132. var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
  22133. n = 0,
  22134. i = r.retryDelay,
  22135. o = void 0 === i ? 500 : i,
  22136. a = r.errorHandler,
  22137. s =
  22138. void 0 === a
  22139. ? function () {
  22140. return !0
  22141. }
  22142. : a,
  22143. l = function r() {
  22144. for (var i = arguments.length, a = new Array(i), l = 0; l < i; l++) a[l] = arguments[l]
  22145. return new Promise(function (i, l) {
  22146. e.apply(void 0, a)
  22147. .then(function (e) {
  22148. ;(n = 0), i(e)
  22149. })
  22150. .catch(function (e) {
  22151. n < t && s(e)
  22152. ? (n++,
  22153. setTimeout(function () {
  22154. i(r.apply(void 0, a))
  22155. }, o))
  22156. : ((n = 0), l(e))
  22157. })
  22158. })
  22159. }
  22160. return l
  22161. }
  22162. e("core-js/modules/es.object.to-string"),
  22163. e("core-js/modules/es.promise"),
  22164. Object.defineProperty(r, "__esModule", {
  22165. value: !0
  22166. }),
  22167. (r.retry = void 0),
  22168. (r.retry = n)
  22169. },
  22170. {
  22171. "core-js/modules/es.object.to-string": 254,
  22172. "core-js/modules/es.promise": 255
  22173. }
  22174. ],
  22175. 69: [
  22176. function (e, t, r) {
  22177. "use strict"
  22178. var n = function (e) {
  22179. return e && e.__esModule
  22180. ? e
  22181. : {
  22182. default: e
  22183. }
  22184. }
  22185. Object.defineProperty(r, "__esModule", {
  22186. value: !0
  22187. }),
  22188. (r.setRegion = void 0)
  22189. var i = n(e("url")),
  22190. o = e("./checkConfigValid")
  22191. function a(e) {
  22192. var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
  22193. r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2]
  22194. o.checkConfigValid(e, "region")
  22195. var n = r ? "https://" : "http://",
  22196. a = t ? "-internal.aliyuncs.com" : ".aliyuncs.com",
  22197. s = "vpc100-oss-cn-"
  22198. return e.substr(0, s.length) === s && (a = ".aliyuncs.com"), i.default.parse(n + e + a)
  22199. }
  22200. r.setRegion = a
  22201. },
  22202. {
  22203. "./checkConfigValid": 49,
  22204. url: 393
  22205. }
  22206. ],
  22207. 70: [
  22208. function (e, t, r) {
  22209. "use strict"
  22210. var n = e("@babel/runtime/helpers/interopRequireDefault")
  22211. e("core-js/modules/es.array.find"),
  22212. e("core-js/modules/es.array.for-each"),
  22213. e("core-js/modules/es.object.assign"),
  22214. e("core-js/modules/es.object.keys")
  22215. var i = n(e("@babel/runtime/regenerator"))
  22216. e("regenerator-runtime/runtime")
  22217. var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
  22218. Object.defineProperty(r, "__esModule", {
  22219. value: !0
  22220. }),
  22221. (r.setSTSToken = void 0)
  22222. var a = e("./formatObjKey")
  22223. function s() {
  22224. return l.apply(this, arguments)
  22225. }
  22226. function l() {
  22227. return (
  22228. (l = (0, o.default)(
  22229. i.default.mark(function e() {
  22230. var t, r
  22231. return i.default.wrap(
  22232. function (e) {
  22233. while (1)
  22234. switch ((e.prev = e.next)) {
  22235. case 0:
  22236. if ((this.options || (this.options = {}), (t = new Date()), !this.stsTokenFreshTime)) {
  22237. e.next = 14
  22238. break
  22239. }
  22240. if (!(+t - this.stsTokenFreshTime >= this.options.refreshSTSTokenInterval)) {
  22241. e.next = 12
  22242. break
  22243. }
  22244. return (this.stsTokenFreshTime = t), (e.next = 7), this.options.refreshSTSToken()
  22245. case 7:
  22246. ;(r = e.sent),
  22247. (r = a.formatObjKey(r, "firstLowerCase")),
  22248. r.securityToken && (r.stsToken = r.securityToken),
  22249. c(r),
  22250. Object.assign(this.options, r)
  22251. case 12:
  22252. e.next = 15
  22253. break
  22254. case 14:
  22255. this.stsTokenFreshTime = t
  22256. case 15:
  22257. return e.abrupt("return", null)
  22258. case 16:
  22259. case "end":
  22260. return e.stop()
  22261. }
  22262. },
  22263. e,
  22264. this
  22265. )
  22266. })
  22267. )),
  22268. l.apply(this, arguments)
  22269. )
  22270. }
  22271. function c(e) {
  22272. var t = ["accessKeySecret", "accessKeyId", "stsToken"],
  22273. r = Object.keys(e)
  22274. t.forEach(function (e) {
  22275. if (
  22276. !r.find(function (t) {
  22277. return t === e
  22278. })
  22279. )
  22280. throw Error("refreshSTSToken must return contains ".concat(e))
  22281. })
  22282. }
  22283. r.setSTSToken = s
  22284. },
  22285. {
  22286. "./formatObjKey": 57,
  22287. "@babel/runtime/helpers/asyncToGenerator": 71,
  22288. "@babel/runtime/helpers/interopRequireDefault": 72,
  22289. "@babel/runtime/regenerator": 75,
  22290. "core-js/modules/es.array.find": 237,
  22291. "core-js/modules/es.array.for-each": 238,
  22292. "core-js/modules/es.object.assign": 251,
  22293. "core-js/modules/es.object.keys": 253,
  22294. "regenerator-runtime/runtime": 336
  22295. }
  22296. ],
  22297. 71: [
  22298. function (e, t, r) {
  22299. function n(e, t, r, n, i, o, a) {
  22300. try {
  22301. var s = e[o](a),
  22302. l = s.value
  22303. } catch (c) {
  22304. return void r(c)
  22305. }
  22306. s.done ? t(l) : Promise.resolve(l).then(n, i)
  22307. }
  22308. function i(e) {
  22309. return function () {
  22310. var t = this,
  22311. r = arguments
  22312. return new Promise(function (i, o) {
  22313. var a = e.apply(t, r)
  22314. function s(e) {
  22315. n(a, i, o, s, l, "next", e)
  22316. }
  22317. function l(e) {
  22318. n(a, i, o, s, l, "throw", e)
  22319. }
  22320. s(void 0)
  22321. })
  22322. }
  22323. }
  22324. t.exports = i
  22325. },
  22326. {}
  22327. ],
  22328. 72: [
  22329. function (e, t, r) {
  22330. function n(e) {
  22331. return e && e.__esModule
  22332. ? e
  22333. : {
  22334. default: e
  22335. }
  22336. }
  22337. t.exports = n
  22338. },
  22339. {}
  22340. ],
  22341. 73: [
  22342. function (e, t, r) {
  22343. function n(e) {
  22344. return (
  22345. "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
  22346. ? (t.exports = n =
  22347. function (e) {
  22348. return typeof e
  22349. })
  22350. : (t.exports = n =
  22351. function (e) {
  22352. return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype
  22353. ? "symbol"
  22354. : typeof e
  22355. }),
  22356. n(e)
  22357. )
  22358. }
  22359. t.exports = n
  22360. },
  22361. {}
  22362. ],
  22363. 74: [
  22364. function (e, t, r) {
  22365. var n = (function (e) {
  22366. "use strict"
  22367. var t,
  22368. r = Object.prototype,
  22369. n = r.hasOwnProperty,
  22370. i = "function" === typeof Symbol ? Symbol : {},
  22371. o = i.iterator || "@@iterator",
  22372. a = i.asyncIterator || "@@asyncIterator",
  22373. s = i.toStringTag || "@@toStringTag"
  22374. function l(e, t, r) {
  22375. return (
  22376. Object.defineProperty(e, t, {
  22377. value: r,
  22378. enumerable: !0,
  22379. configurable: !0,
  22380. writable: !0
  22381. }),
  22382. e[t]
  22383. )
  22384. }
  22385. try {
  22386. l({}, "")
  22387. } catch (j) {
  22388. l = function (e, t, r) {
  22389. return (e[t] = r)
  22390. }
  22391. }
  22392. function c(e, t, r, n) {
  22393. var i = t && t.prototype instanceof g ? t : g,
  22394. o = Object.create(i.prototype),
  22395. a = new L(n || [])
  22396. return (o._invoke = E(e, r, a)), o
  22397. }
  22398. function u(e, t, r) {
  22399. try {
  22400. return {
  22401. type: "normal",
  22402. arg: e.call(t, r)
  22403. }
  22404. } catch (j) {
  22405. return {
  22406. type: "throw",
  22407. arg: j
  22408. }
  22409. }
  22410. }
  22411. e.wrap = c
  22412. var f = "suspendedStart",
  22413. p = "suspendedYield",
  22414. d = "executing",
  22415. h = "completed",
  22416. m = {}
  22417. function g() {}
  22418. function y() {}
  22419. function v() {}
  22420. var b = {}
  22421. b[o] = function () {
  22422. return this
  22423. }
  22424. var w = Object.getPrototypeOf,
  22425. x = w && w(w(P([])))
  22426. x && x !== r && n.call(x, o) && (b = x)
  22427. var A = (v.prototype = g.prototype = Object.create(b))
  22428. function _(e) {
  22429. ;["next", "throw", "return"].forEach(function (t) {
  22430. l(e, t, function (e) {
  22431. return this._invoke(t, e)
  22432. })
  22433. })
  22434. }
  22435. function T(e, t) {
  22436. function r(i, o, a, s) {
  22437. var l = u(e[i], e, o)
  22438. if ("throw" !== l.type) {
  22439. var c = l.arg,
  22440. f = c.value
  22441. return f && "object" === typeof f && n.call(f, "__await")
  22442. ? t.resolve(f.__await).then(
  22443. function (e) {
  22444. r("next", e, a, s)
  22445. },
  22446. function (e) {
  22447. r("throw", e, a, s)
  22448. }
  22449. )
  22450. : t.resolve(f).then(
  22451. function (e) {
  22452. ;(c.value = e), a(c)
  22453. },
  22454. function (e) {
  22455. return r("throw", e, a, s)
  22456. }
  22457. )
  22458. }
  22459. s(l.arg)
  22460. }
  22461. var i
  22462. function o(e, n) {
  22463. function o() {
  22464. return new t(function (t, i) {
  22465. r(e, n, t, i)
  22466. })
  22467. }
  22468. return (i = i ? i.then(o, o) : o())
  22469. }
  22470. this._invoke = o
  22471. }
  22472. function E(e, t, r) {
  22473. var n = f
  22474. return function (i, o) {
  22475. if (n === d) throw new Error("Generator is already running")
  22476. if (n === h) {
  22477. if ("throw" === i) throw o
  22478. return O()
  22479. }
  22480. ;(r.method = i), (r.arg = o)
  22481. while (1) {
  22482. var a = r.delegate
  22483. if (a) {
  22484. var s = S(a, r)
  22485. if (s) {
  22486. if (s === m) continue
  22487. return s
  22488. }
  22489. }
  22490. if ("next" === r.method) r.sent = r._sent = r.arg
  22491. else if ("throw" === r.method) {
  22492. if (n === f) throw ((n = h), r.arg)
  22493. r.dispatchException(r.arg)
  22494. } else "return" === r.method && r.abrupt("return", r.arg)
  22495. n = d
  22496. var l = u(e, t, r)
  22497. if ("normal" === l.type) {
  22498. if (((n = r.done ? h : p), l.arg === m)) continue
  22499. return {
  22500. value: l.arg,
  22501. done: r.done
  22502. }
  22503. }
  22504. "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg))
  22505. }
  22506. }
  22507. }
  22508. function S(e, r) {
  22509. var n = e.iterator[r.method]
  22510. if (n === t) {
  22511. if (((r.delegate = null), "throw" === r.method)) {
  22512. if (e.iterator["return"] && ((r.method = "return"), (r.arg = t), S(e, r), "throw" === r.method)) return m
  22513. ;(r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a 'throw' method"))
  22514. }
  22515. return m
  22516. }
  22517. var i = u(n, e.iterator, r.arg)
  22518. if ("throw" === i.type) return (r.method = "throw"), (r.arg = i.arg), (r.delegate = null), m
  22519. var o = i.arg
  22520. return o
  22521. ? o.done
  22522. ? ((r[e.resultName] = o.value),
  22523. (r.next = e.nextLoc),
  22524. "return" !== r.method && ((r.method = "next"), (r.arg = t)),
  22525. (r.delegate = null),
  22526. m)
  22527. : o
  22528. : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), m)
  22529. }
  22530. function C(e) {
  22531. var t = {
  22532. tryLoc: e[0]
  22533. }
  22534. 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
  22535. }
  22536. function k(e) {
  22537. var t = e.completion || {}
  22538. ;(t.type = "normal"), delete t.arg, (e.completion = t)
  22539. }
  22540. function L(e) {
  22541. ;(this.tryEntries = [
  22542. {
  22543. tryLoc: "root"
  22544. }
  22545. ]),
  22546. e.forEach(C, this),
  22547. this.reset(!0)
  22548. }
  22549. function P(e) {
  22550. if (e) {
  22551. var r = e[o]
  22552. if (r) return r.call(e)
  22553. if ("function" === typeof e.next) return e
  22554. if (!isNaN(e.length)) {
  22555. var i = -1,
  22556. a = function r() {
  22557. while (++i < e.length) if (n.call(e, i)) return (r.value = e[i]), (r.done = !1), r
  22558. return (r.value = t), (r.done = !0), r
  22559. }
  22560. return (a.next = a)
  22561. }
  22562. }
  22563. return {
  22564. next: O
  22565. }
  22566. }
  22567. function O() {
  22568. return {
  22569. value: t,
  22570. done: !0
  22571. }
  22572. }
  22573. return (
  22574. (y.prototype = A.constructor = v),
  22575. (v.constructor = y),
  22576. (y.displayName = l(v, s, "GeneratorFunction")),
  22577. (e.isGeneratorFunction = function (e) {
  22578. var t = "function" === typeof e && e.constructor
  22579. return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name))
  22580. }),
  22581. (e.mark = function (e) {
  22582. return (
  22583. Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), l(e, s, "GeneratorFunction")),
  22584. (e.prototype = Object.create(A)),
  22585. e
  22586. )
  22587. }),
  22588. (e.awrap = function (e) {
  22589. return {
  22590. __await: e
  22591. }
  22592. }),
  22593. _(T.prototype),
  22594. (T.prototype[a] = function () {
  22595. return this
  22596. }),
  22597. (e.AsyncIterator = T),
  22598. (e.async = function (t, r, n, i, o) {
  22599. void 0 === o && (o = Promise)
  22600. var a = new T(c(t, r, n, i), o)
  22601. return e.isGeneratorFunction(r)
  22602. ? a
  22603. : a.next().then(function (e) {
  22604. return e.done ? e.value : a.next()
  22605. })
  22606. }),
  22607. _(A),
  22608. l(A, s, "Generator"),
  22609. (A[o] = function () {
  22610. return this
  22611. }),
  22612. (A.toString = function () {
  22613. return "[object Generator]"
  22614. }),
  22615. (e.keys = function (e) {
  22616. var t = []
  22617. for (var r in e) t.push(r)
  22618. return (
  22619. t.reverse(),
  22620. function r() {
  22621. while (t.length) {
  22622. var n = t.pop()
  22623. if (n in e) return (r.value = n), (r.done = !1), r
  22624. }
  22625. return (r.done = !0), r
  22626. }
  22627. )
  22628. }),
  22629. (e.values = P),
  22630. (L.prototype = {
  22631. constructor: L,
  22632. reset: function (e) {
  22633. if (
  22634. ((this.prev = 0),
  22635. (this.next = 0),
  22636. (this.sent = this._sent = t),
  22637. (this.done = !1),
  22638. (this.delegate = null),
  22639. (this.method = "next"),
  22640. (this.arg = t),
  22641. this.tryEntries.forEach(k),
  22642. !e)
  22643. )
  22644. for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t)
  22645. },
  22646. stop: function () {
  22647. this.done = !0
  22648. var e = this.tryEntries[0],
  22649. t = e.completion
  22650. if ("throw" === t.type) throw t.arg
  22651. return this.rval
  22652. },
  22653. dispatchException: function (e) {
  22654. if (this.done) throw e
  22655. var r = this
  22656. function i(n, i) {
  22657. return (s.type = "throw"), (s.arg = e), (r.next = n), i && ((r.method = "next"), (r.arg = t)), !!i
  22658. }
  22659. for (var o = this.tryEntries.length - 1; o >= 0; --o) {
  22660. var a = this.tryEntries[o],
  22661. s = a.completion
  22662. if ("root" === a.tryLoc) return i("end")
  22663. if (a.tryLoc <= this.prev) {
  22664. var l = n.call(a, "catchLoc"),
  22665. c = n.call(a, "finallyLoc")
  22666. if (l && c) {
  22667. if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
  22668. if (this.prev < a.finallyLoc) return i(a.finallyLoc)
  22669. } else if (l) {
  22670. if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
  22671. } else {
  22672. if (!c) throw new Error("try statement without catch or finally")
  22673. if (this.prev < a.finallyLoc) return i(a.finallyLoc)
  22674. }
  22675. }
  22676. }
  22677. },
  22678. abrupt: function (e, t) {
  22679. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  22680. var i = this.tryEntries[r]
  22681. if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
  22682. var o = i
  22683. break
  22684. }
  22685. }
  22686. o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
  22687. var a = o ? o.completion : {}
  22688. return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a)
  22689. },
  22690. complete: function (e, t) {
  22691. if ("throw" === e.type) throw e.arg
  22692. return (
  22693. "break" === e.type || "continue" === e.type
  22694. ? (this.next = e.arg)
  22695. : "return" === e.type
  22696. ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
  22697. : "normal" === e.type && t && (this.next = t),
  22698. m
  22699. )
  22700. },
  22701. finish: function (e) {
  22702. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  22703. var r = this.tryEntries[t]
  22704. if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m
  22705. }
  22706. },
  22707. catch: function (e) {
  22708. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  22709. var r = this.tryEntries[t]
  22710. if (r.tryLoc === e) {
  22711. var n = r.completion
  22712. if ("throw" === n.type) {
  22713. var i = n.arg
  22714. k(r)
  22715. }
  22716. return i
  22717. }
  22718. }
  22719. throw new Error("illegal catch attempt")
  22720. },
  22721. delegateYield: function (e, r, n) {
  22722. return (
  22723. (this.delegate = {
  22724. iterator: P(e),
  22725. resultName: r,
  22726. nextLoc: n
  22727. }),
  22728. "next" === this.method && (this.arg = t),
  22729. m
  22730. )
  22731. }
  22732. }),
  22733. e
  22734. )
  22735. })("object" === typeof t ? t.exports : {})
  22736. try {
  22737. regeneratorRuntime = n
  22738. } catch (i) {
  22739. Function("r", "regeneratorRuntime = r")(n)
  22740. }
  22741. },
  22742. {}
  22743. ],
  22744. 75: [
  22745. function (e, t, r) {
  22746. t.exports = e("regenerator-runtime")
  22747. },
  22748. {
  22749. "regenerator-runtime": 74
  22750. }
  22751. ],
  22752. 76: [
  22753. function (e, t, r) {
  22754. function n() {}
  22755. ;(t.exports = n), (t.exports.HttpsAgent = n)
  22756. },
  22757. {}
  22758. ],
  22759. 77: [
  22760. function (e, t, r) {
  22761. "use strict"
  22762. ;(r.byteLength = u), (r.toByteArray = p), (r.fromByteArray = m)
  22763. for (
  22764. var n = [],
  22765. i = [],
  22766. o = "undefined" !== typeof Uint8Array ? Uint8Array : Array,
  22767. a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  22768. s = 0,
  22769. l = a.length;
  22770. s < l;
  22771. ++s
  22772. )
  22773. (n[s] = a[s]), (i[a.charCodeAt(s)] = s)
  22774. function c(e) {
  22775. var t = e.length
  22776. if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4")
  22777. var r = e.indexOf("=")
  22778. ;-1 === r && (r = t)
  22779. var n = r === t ? 0 : 4 - (r % 4)
  22780. return [r, n]
  22781. }
  22782. function u(e) {
  22783. var t = c(e),
  22784. r = t[0],
  22785. n = t[1]
  22786. return (3 * (r + n)) / 4 - n
  22787. }
  22788. function f(e, t, r) {
  22789. return (3 * (t + r)) / 4 - r
  22790. }
  22791. function p(e) {
  22792. var t,
  22793. r,
  22794. n = c(e),
  22795. a = n[0],
  22796. s = n[1],
  22797. l = new o(f(e, a, s)),
  22798. u = 0,
  22799. p = s > 0 ? a - 4 : a
  22800. for (r = 0; r < p; r += 4)
  22801. (t =
  22802. (i[e.charCodeAt(r)] << 18) |
  22803. (i[e.charCodeAt(r + 1)] << 12) |
  22804. (i[e.charCodeAt(r + 2)] << 6) |
  22805. i[e.charCodeAt(r + 3)]),
  22806. (l[u++] = (t >> 16) & 255),
  22807. (l[u++] = (t >> 8) & 255),
  22808. (l[u++] = 255 & t)
  22809. return (
  22810. 2 === s && ((t = (i[e.charCodeAt(r)] << 2) | (i[e.charCodeAt(r + 1)] >> 4)), (l[u++] = 255 & t)),
  22811. 1 === s &&
  22812. ((t = (i[e.charCodeAt(r)] << 10) | (i[e.charCodeAt(r + 1)] << 4) | (i[e.charCodeAt(r + 2)] >> 2)),
  22813. (l[u++] = (t >> 8) & 255),
  22814. (l[u++] = 255 & t)),
  22815. l
  22816. )
  22817. }
  22818. function d(e) {
  22819. return n[(e >> 18) & 63] + n[(e >> 12) & 63] + n[(e >> 6) & 63] + n[63 & e]
  22820. }
  22821. function h(e, t, r) {
  22822. for (var n, i = [], o = t; o < r; o += 3)
  22823. (n = ((e[o] << 16) & 16711680) + ((e[o + 1] << 8) & 65280) + (255 & e[o + 2])), i.push(d(n))
  22824. return i.join("")
  22825. }
  22826. function m(e) {
  22827. for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, l = r - i; s < l; s += a)
  22828. o.push(h(e, s, s + a > l ? l : s + a))
  22829. return (
  22830. 1 === i
  22831. ? ((t = e[r - 1]), o.push(n[t >> 2] + n[(t << 4) & 63] + "=="))
  22832. : 2 === i && ((t = (e[r - 2] << 8) + e[r - 1]), o.push(n[t >> 10] + n[(t >> 4) & 63] + n[(t << 2) & 63] + "=")),
  22833. o.join("")
  22834. )
  22835. }
  22836. ;(i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63)
  22837. },
  22838. {}
  22839. ],
  22840. 78: [
  22841. function (e, t, r) {
  22842. /*!
  22843. * Bowser - a browser detector
  22844. * https://github.com/ded/bowser
  22845. * MIT License | (c) Dustin Diaz 2015
  22846. */
  22847. !(function (e, r, n) {
  22848. "undefined" != typeof t && t.exports
  22849. ? (t.exports = n())
  22850. : "function" == typeof define && define.amd
  22851. ? define(r, n)
  22852. : (e[r] = n())
  22853. })(this, "bowser", function () {
  22854. var e = !0
  22855. function t(t) {
  22856. function r(e) {
  22857. var r = t.match(e)
  22858. return (r && r.length > 1 && r[1]) || ""
  22859. }
  22860. function n(e) {
  22861. var r = t.match(e)
  22862. return (r && r.length > 1 && r[2]) || ""
  22863. }
  22864. var i,
  22865. a = r(/(ipod|iphone|ipad)/i).toLowerCase(),
  22866. s = /like android/i.test(t),
  22867. l = !s && /android/i.test(t),
  22868. c = /nexus\s*[0-6]\s*/i.test(t),
  22869. u = !c && /nexus\s*[0-9]+/i.test(t),
  22870. f = /CrOS/.test(t),
  22871. p = /silk/i.test(t),
  22872. d = /sailfish/i.test(t),
  22873. h = /tizen/i.test(t),
  22874. m = /(web|hpw)(o|0)s/i.test(t),
  22875. g = /windows phone/i.test(t),
  22876. y = (/SamsungBrowser/i.test(t), !g && /windows/i.test(t)),
  22877. v = !a && !p && /macintosh/i.test(t),
  22878. b = !l && !d && !h && !m && /linux/i.test(t),
  22879. w = n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),
  22880. x = r(/version\/(\d+(\.\d+)?)/i),
  22881. A = /tablet/i.test(t) && !/tablet pc/i.test(t),
  22882. _ = !A && /[^-]mobi/i.test(t),
  22883. T = /xbox/i.test(t)
  22884. function E(e) {
  22885. switch (e) {
  22886. case "NT":
  22887. return "NT"
  22888. case "XP":
  22889. return "XP"
  22890. case "NT 5.0":
  22891. return "2000"
  22892. case "NT 5.1":
  22893. return "XP"
  22894. case "NT 5.2":
  22895. return "2003"
  22896. case "NT 6.0":
  22897. return "Vista"
  22898. case "NT 6.1":
  22899. return "7"
  22900. case "NT 6.2":
  22901. return "8"
  22902. case "NT 6.3":
  22903. return "8.1"
  22904. case "NT 10.0":
  22905. return "10"
  22906. default:
  22907. return
  22908. }
  22909. }
  22910. ;/opera/i.test(t)
  22911. ? (i = {
  22912. name: "Opera",
  22913. opera: e,
  22914. version: x || r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)
  22915. })
  22916. : /opr\/|opios/i.test(t)
  22917. ? (i = {
  22918. name: "Opera",
  22919. opera: e,
  22920. version: r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) || x
  22921. })
  22922. : /SamsungBrowser/i.test(t)
  22923. ? (i = {
  22924. name: "Samsung Internet for Android",
  22925. samsungBrowser: e,
  22926. version: x || r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)
  22927. })
  22928. : /Whale/i.test(t)
  22929. ? (i = {
  22930. name: "NAVER Whale browser",
  22931. whale: e,
  22932. version: r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)
  22933. })
  22934. : /MZBrowser/i.test(t)
  22935. ? (i = {
  22936. name: "MZ Browser",
  22937. mzbrowser: e,
  22938. version: r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)
  22939. })
  22940. : /coast/i.test(t)
  22941. ? (i = {
  22942. name: "Opera Coast",
  22943. coast: e,
  22944. version: x || r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)
  22945. })
  22946. : /focus/i.test(t)
  22947. ? (i = {
  22948. name: "Focus",
  22949. focus: e,
  22950. version: r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)
  22951. })
  22952. : /yabrowser/i.test(t)
  22953. ? (i = {
  22954. name: "Yandex Browser",
  22955. yandexbrowser: e,
  22956. version: x || r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)
  22957. })
  22958. : /ucbrowser/i.test(t)
  22959. ? (i = {
  22960. name: "UC Browser",
  22961. ucbrowser: e,
  22962. version: r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)
  22963. })
  22964. : /mxios/i.test(t)
  22965. ? (i = {
  22966. name: "Maxthon",
  22967. maxthon: e,
  22968. version: r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)
  22969. })
  22970. : /epiphany/i.test(t)
  22971. ? (i = {
  22972. name: "Epiphany",
  22973. epiphany: e,
  22974. version: r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)
  22975. })
  22976. : /puffin/i.test(t)
  22977. ? (i = {
  22978. name: "Puffin",
  22979. puffin: e,
  22980. version: r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)
  22981. })
  22982. : /sleipnir/i.test(t)
  22983. ? (i = {
  22984. name: "Sleipnir",
  22985. sleipnir: e,
  22986. version: r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)
  22987. })
  22988. : /k-meleon/i.test(t)
  22989. ? (i = {
  22990. name: "K-Meleon",
  22991. kMeleon: e,
  22992. version: r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)
  22993. })
  22994. : g
  22995. ? ((i = {
  22996. name: "Windows Phone",
  22997. osname: "Windows Phone",
  22998. windowsphone: e
  22999. }),
  23000. w ? ((i.msedge = e), (i.version = w)) : ((i.msie = e), (i.version = r(/iemobile\/(\d+(\.\d+)?)/i))))
  23001. : /msie|trident/i.test(t)
  23002. ? (i = {
  23003. name: "Internet Explorer",
  23004. msie: e,
  23005. version: r(/(?:msie |rv:)(\d+(\.\d+)?)/i)
  23006. })
  23007. : f
  23008. ? (i = {
  23009. name: "Chrome",
  23010. osname: "Chrome OS",
  23011. chromeos: e,
  23012. chromeBook: e,
  23013. chrome: e,
  23014. version: r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
  23015. })
  23016. : /edg([ea]|ios)/i.test(t)
  23017. ? (i = {
  23018. name: "Microsoft Edge",
  23019. msedge: e,
  23020. version: w
  23021. })
  23022. : /vivaldi/i.test(t)
  23023. ? (i = {
  23024. name: "Vivaldi",
  23025. vivaldi: e,
  23026. version: r(/vivaldi\/(\d+(\.\d+)?)/i) || x
  23027. })
  23028. : d
  23029. ? (i = {
  23030. name: "Sailfish",
  23031. osname: "Sailfish OS",
  23032. sailfish: e,
  23033. version: r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)
  23034. })
  23035. : /seamonkey\//i.test(t)
  23036. ? (i = {
  23037. name: "SeaMonkey",
  23038. seamonkey: e,
  23039. version: r(/seamonkey\/(\d+(\.\d+)?)/i)
  23040. })
  23041. : /firefox|iceweasel|fxios/i.test(t)
  23042. ? ((i = {
  23043. name: "Firefox",
  23044. firefox: e,
  23045. version: r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)
  23046. }),
  23047. /\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t) && ((i.firefoxos = e), (i.osname = "Firefox OS")))
  23048. : p
  23049. ? (i = {
  23050. name: "Amazon Silk",
  23051. silk: e,
  23052. version: r(/silk\/(\d+(\.\d+)?)/i)
  23053. })
  23054. : /phantom/i.test(t)
  23055. ? (i = {
  23056. name: "PhantomJS",
  23057. phantom: e,
  23058. version: r(/phantomjs\/(\d+(\.\d+)?)/i)
  23059. })
  23060. : /slimerjs/i.test(t)
  23061. ? (i = {
  23062. name: "SlimerJS",
  23063. slimer: e,
  23064. version: r(/slimerjs\/(\d+(\.\d+)?)/i)
  23065. })
  23066. : /blackberry|\bbb\d+/i.test(t) || /rim\stablet/i.test(t)
  23067. ? (i = {
  23068. name: "BlackBerry",
  23069. osname: "BlackBerry OS",
  23070. blackberry: e,
  23071. version: x || r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)
  23072. })
  23073. : m
  23074. ? ((i = {
  23075. name: "WebOS",
  23076. osname: "WebOS",
  23077. webos: e,
  23078. version: x || r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)
  23079. }),
  23080. /touchpad\//i.test(t) && (i.touchpad = e))
  23081. : /bada/i.test(t)
  23082. ? (i = {
  23083. name: "Bada",
  23084. osname: "Bada",
  23085. bada: e,
  23086. version: r(/dolfin\/(\d+(\.\d+)?)/i)
  23087. })
  23088. : h
  23089. ? (i = {
  23090. name: "Tizen",
  23091. osname: "Tizen",
  23092. tizen: e,
  23093. version: r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || x
  23094. })
  23095. : /qupzilla/i.test(t)
  23096. ? (i = {
  23097. name: "QupZilla",
  23098. qupzilla: e,
  23099. version: r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || x
  23100. })
  23101. : /chromium/i.test(t)
  23102. ? (i = {
  23103. name: "Chromium",
  23104. chromium: e,
  23105. version: r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) || x
  23106. })
  23107. : /chrome|crios|crmo/i.test(t)
  23108. ? (i = {
  23109. name: "Chrome",
  23110. chrome: e,
  23111. version: r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
  23112. })
  23113. : l
  23114. ? (i = {
  23115. name: "Android",
  23116. version: x
  23117. })
  23118. : /safari|applewebkit/i.test(t)
  23119. ? ((i = {
  23120. name: "Safari",
  23121. safari: e
  23122. }),
  23123. x && (i.version = x))
  23124. : a
  23125. ? ((i = {
  23126. name: "iphone" == a ? "iPhone" : "ipad" == a ? "iPad" : "iPod"
  23127. }),
  23128. x && (i.version = x))
  23129. : (i = /googlebot/i.test(t)
  23130. ? {
  23131. name: "Googlebot",
  23132. googlebot: e,
  23133. version: r(/googlebot\/(\d+(\.\d+))/i) || x
  23134. }
  23135. : {
  23136. name: r(/^(.*)\/(.*) /),
  23137. version: n(/^(.*)\/(.*) /)
  23138. }),
  23139. !i.msedge && /(apple)?webkit/i.test(t)
  23140. ? (/(apple)?webkit\/537\.36/i.test(t)
  23141. ? ((i.name = i.name || "Blink"), (i.blink = e))
  23142. : ((i.name = i.name || "Webkit"), (i.webkit = e)),
  23143. !i.version && x && (i.version = x))
  23144. : !i.opera &&
  23145. /gecko\//i.test(t) &&
  23146. ((i.name = i.name || "Gecko"), (i.gecko = e), (i.version = i.version || r(/gecko\/(\d+(\.\d+)?)/i))),
  23147. i.windowsphone || (!l && !i.silk)
  23148. ? !i.windowsphone && a
  23149. ? ((i[a] = e), (i.ios = e), (i.osname = "iOS"))
  23150. : v
  23151. ? ((i.mac = e), (i.osname = "macOS"))
  23152. : T
  23153. ? ((i.xbox = e), (i.osname = "Xbox"))
  23154. : y
  23155. ? ((i.windows = e), (i.osname = "Windows"))
  23156. : b && ((i.linux = e), (i.osname = "Linux"))
  23157. : ((i.android = e), (i.osname = "Android"))
  23158. var S = ""
  23159. i.windows
  23160. ? (S = E(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)))
  23161. : i.windowsphone
  23162. ? (S = r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i))
  23163. : i.mac
  23164. ? ((S = r(/Mac OS X (\d+([_\.\s]\d+)*)/i)), (S = S.replace(/[_\s]/g, ".")))
  23165. : a
  23166. ? ((S = r(/os (\d+([_\s]\d+)*) like mac os x/i)), (S = S.replace(/[_\s]/g, ".")))
  23167. : l
  23168. ? (S = r(/android[ \/-](\d+(\.\d+)*)/i))
  23169. : i.webos
  23170. ? (S = r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i))
  23171. : i.blackberry
  23172. ? (S = r(/rim\stablet\sos\s(\d+(\.\d+)*)/i))
  23173. : i.bada
  23174. ? (S = r(/bada\/(\d+(\.\d+)*)/i))
  23175. : i.tizen && (S = r(/tizen[\/\s](\d+(\.\d+)*)/i)),
  23176. S && (i.osversion = S)
  23177. var C = !i.windows && S.split(".")[0]
  23178. return (
  23179. A || u || "ipad" == a || (l && (3 == C || (C >= 4 && !_))) || i.silk
  23180. ? (i.tablet = e)
  23181. : (_ || "iphone" == a || "ipod" == a || l || c || i.blackberry || i.webos || i.bada) && (i.mobile = e),
  23182. i.msedge ||
  23183. (i.msie && i.version >= 10) ||
  23184. (i.yandexbrowser && i.version >= 15) ||
  23185. (i.vivaldi && i.version >= 1) ||
  23186. (i.chrome && i.version >= 20) ||
  23187. (i.samsungBrowser && i.version >= 4) ||
  23188. (i.whale && 1 === o([i.version, "1.0"])) ||
  23189. (i.mzbrowser && 1 === o([i.version, "6.0"])) ||
  23190. (i.focus && 1 === o([i.version, "1.0"])) ||
  23191. (i.firefox && i.version >= 20) ||
  23192. (i.safari && i.version >= 6) ||
  23193. (i.opera && i.version >= 10) ||
  23194. (i.ios && i.osversion && i.osversion.split(".")[0] >= 6) ||
  23195. (i.blackberry && i.version >= 10.1) ||
  23196. (i.chromium && i.version >= 20)
  23197. ? (i.a = e)
  23198. : (i.msie && i.version < 10) ||
  23199. (i.chrome && i.version < 20) ||
  23200. (i.firefox && i.version < 20) ||
  23201. (i.safari && i.version < 6) ||
  23202. (i.opera && i.version < 10) ||
  23203. (i.ios && i.osversion && i.osversion.split(".")[0] < 6) ||
  23204. (i.chromium && i.version < 20)
  23205. ? (i.c = e)
  23206. : (i.x = e),
  23207. i
  23208. )
  23209. }
  23210. var r = t(("undefined" !== typeof navigator && navigator.userAgent) || "")
  23211. function n(e) {
  23212. return e.split(".").length
  23213. }
  23214. function i(e, t) {
  23215. var r,
  23216. n = []
  23217. if (Array.prototype.map) return Array.prototype.map.call(e, t)
  23218. for (r = 0; r < e.length; r++) n.push(t(e[r]))
  23219. return n
  23220. }
  23221. function o(e) {
  23222. var t = Math.max(n(e[0]), n(e[1])),
  23223. r = i(e, function (e) {
  23224. var r = t - n(e)
  23225. return (
  23226. (e += new Array(r + 1).join(".0")),
  23227. i(e.split("."), function (e) {
  23228. return new Array(20 - e.length).join("0") + e
  23229. }).reverse()
  23230. )
  23231. })
  23232. while (--t >= 0) {
  23233. if (r[0][t] > r[1][t]) return 1
  23234. if (r[0][t] !== r[1][t]) return -1
  23235. if (0 === t) return 0
  23236. }
  23237. }
  23238. function a(e, n, i) {
  23239. var a = r
  23240. "string" === typeof n && ((i = n), (n = void 0)), void 0 === n && (n = !1), i && (a = t(i))
  23241. var s = "" + a.version
  23242. for (var l in e)
  23243. if (e.hasOwnProperty(l) && a[l]) {
  23244. if ("string" !== typeof e[l])
  23245. throw new Error("Browser version in the minVersion map should be a string: " + l + ": " + String(e))
  23246. return o([s, e[l]]) < 0
  23247. }
  23248. return n
  23249. }
  23250. function s(e, t, r) {
  23251. return !a(e, t, r)
  23252. }
  23253. return (
  23254. (r.test = function (e) {
  23255. for (var t = 0; t < e.length; ++t) {
  23256. var n = e[t]
  23257. if ("string" === typeof n && n in r) return !0
  23258. }
  23259. return !1
  23260. }),
  23261. (r.isUnsupportedBrowser = a),
  23262. (r.compareVersions = o),
  23263. (r.check = s),
  23264. (r._detect = t),
  23265. (r.detect = t),
  23266. r
  23267. )
  23268. })
  23269. },
  23270. {}
  23271. ],
  23272. 79: [function (e, t, r) {}, {}],
  23273. 80: [
  23274. function (e, t, r) {
  23275. ;(function (t) {
  23276. var n = e("./lib/request"),
  23277. i = e("./lib/response"),
  23278. o = e("xtend"),
  23279. a = e("builtin-status-codes"),
  23280. s = e("url"),
  23281. l = r
  23282. ;(l.request = function (e, r) {
  23283. e = "string" === typeof e ? s.parse(e) : o(e)
  23284. var i = -1 === t.location.protocol.search(/^https?:$/) ? "http:" : "",
  23285. a = e.protocol || i,
  23286. l = e.hostname || e.host,
  23287. c = e.port,
  23288. u = e.path || "/"
  23289. l && -1 !== l.indexOf(":") && (l = "[" + l + "]"),
  23290. (e.url = (l ? a + "//" + l : "") + (c ? ":" + c : "") + u),
  23291. (e.method = (e.method || "GET").toUpperCase()),
  23292. (e.headers = e.headers || {})
  23293. var f = new n(e)
  23294. return r && f.on("response", r), f
  23295. }),
  23296. (l.get = function (e, t) {
  23297. var r = l.request(e, t)
  23298. return r.end(), r
  23299. }),
  23300. (l.ClientRequest = n),
  23301. (l.IncomingMessage = i.IncomingMessage),
  23302. (l.Agent = function () {}),
  23303. (l.Agent.defaultMaxSockets = 4),
  23304. (l.globalAgent = new l.Agent()),
  23305. (l.STATUS_CODES = a),
  23306. (l.METHODS = [
  23307. "CHECKOUT",
  23308. "CONNECT",
  23309. "COPY",
  23310. "DELETE",
  23311. "GET",
  23312. "HEAD",
  23313. "LOCK",
  23314. "M-SEARCH",
  23315. "MERGE",
  23316. "MKACTIVITY",
  23317. "MKCOL",
  23318. "MOVE",
  23319. "NOTIFY",
  23320. "OPTIONS",
  23321. "PATCH",
  23322. "POST",
  23323. "PROPFIND",
  23324. "PROPPATCH",
  23325. "PURGE",
  23326. "PUT",
  23327. "REPORT",
  23328. "SEARCH",
  23329. "SUBSCRIBE",
  23330. "TRACE",
  23331. "UNLOCK",
  23332. "UNSUBSCRIBE"
  23333. ])
  23334. }).call(
  23335. this,
  23336. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  23337. )
  23338. },
  23339. {
  23340. "./lib/request": 82,
  23341. "./lib/response": 83,
  23342. "builtin-status-codes": 100,
  23343. url: 393,
  23344. xtend: 385
  23345. }
  23346. ],
  23347. 81: [
  23348. function (e, t, r) {
  23349. ;(function (e) {
  23350. var t
  23351. function n() {
  23352. if (void 0 !== t) return t
  23353. if (e.XMLHttpRequest) {
  23354. t = new e.XMLHttpRequest()
  23355. try {
  23356. t.open("GET", e.XDomainRequest ? "/" : "https://example.com")
  23357. } catch (r) {
  23358. t = null
  23359. }
  23360. } else t = null
  23361. return t
  23362. }
  23363. function i(e) {
  23364. var t = n()
  23365. if (!t) return !1
  23366. try {
  23367. return (t.responseType = e), t.responseType === e
  23368. } catch (r) {}
  23369. return !1
  23370. }
  23371. function o(e) {
  23372. return "function" === typeof e
  23373. }
  23374. ;(r.fetch = o(e.fetch) && o(e.ReadableStream)),
  23375. (r.writableStream = o(e.WritableStream)),
  23376. (r.abortController = o(e.AbortController)),
  23377. (r.arraybuffer = r.fetch || i("arraybuffer")),
  23378. (r.msstream = !r.fetch && i("ms-stream")),
  23379. (r.mozchunkedarraybuffer = !r.fetch && i("moz-chunked-arraybuffer")),
  23380. (r.overrideMimeType = r.fetch || (!!n() && o(n().overrideMimeType))),
  23381. (t = null)
  23382. }).call(
  23383. this,
  23384. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  23385. )
  23386. },
  23387. {}
  23388. ],
  23389. 82: [
  23390. function (e, t, r) {
  23391. ;(function (r, n, i) {
  23392. var o = e("./capability"),
  23393. a = e("inherits"),
  23394. s = e("./response"),
  23395. l = e("readable-stream"),
  23396. c = s.IncomingMessage,
  23397. u = s.readyStates
  23398. function f(e, t) {
  23399. return o.fetch && t
  23400. ? "fetch"
  23401. : o.mozchunkedarraybuffer
  23402. ? "moz-chunked-arraybuffer"
  23403. : o.msstream
  23404. ? "ms-stream"
  23405. : o.arraybuffer && e
  23406. ? "arraybuffer"
  23407. : "text"
  23408. }
  23409. var p = (t.exports = function (e) {
  23410. var t,
  23411. r = this
  23412. l.Writable.call(r),
  23413. (r._opts = e),
  23414. (r._body = []),
  23415. (r._headers = {}),
  23416. e.auth && r.setHeader("Authorization", "Basic " + i.from(e.auth).toString("base64")),
  23417. Object.keys(e.headers).forEach(function (t) {
  23418. r.setHeader(t, e.headers[t])
  23419. })
  23420. var n = !0
  23421. if ("disable-fetch" === e.mode || ("requestTimeout" in e && !o.abortController)) (n = !1), (t = !0)
  23422. else if ("prefer-streaming" === e.mode) t = !1
  23423. else if ("allow-wrong-content-type" === e.mode) t = !o.overrideMimeType
  23424. else {
  23425. if (e.mode && "default" !== e.mode && "prefer-fast" !== e.mode) throw new Error("Invalid value for opts.mode")
  23426. t = !0
  23427. }
  23428. ;(r._mode = f(t, n)),
  23429. (r._fetchTimer = null),
  23430. r.on("finish", function () {
  23431. r._onFinish()
  23432. })
  23433. })
  23434. function d(e) {
  23435. try {
  23436. var t = e.status
  23437. return null !== t && 0 !== t
  23438. } catch (r) {
  23439. return !1
  23440. }
  23441. }
  23442. a(p, l.Writable),
  23443. (p.prototype.setHeader = function (e, t) {
  23444. var r = this,
  23445. n = e.toLowerCase()
  23446. ;-1 === h.indexOf(n) &&
  23447. (r._headers[n] = {
  23448. name: e,
  23449. value: t
  23450. })
  23451. }),
  23452. (p.prototype.getHeader = function (e) {
  23453. var t = this._headers[e.toLowerCase()]
  23454. return t ? t.value : null
  23455. }),
  23456. (p.prototype.removeHeader = function (e) {
  23457. var t = this
  23458. delete t._headers[e.toLowerCase()]
  23459. }),
  23460. (p.prototype._onFinish = function () {
  23461. var e = this
  23462. if (!e._destroyed) {
  23463. var t = e._opts,
  23464. i = e._headers,
  23465. a = null
  23466. "GET" !== t.method &&
  23467. "HEAD" !== t.method &&
  23468. (a = new Blob(e._body, {
  23469. type: (i["content-type"] || {}).value || ""
  23470. }))
  23471. var s = []
  23472. if (
  23473. (Object.keys(i).forEach(function (e) {
  23474. var t = i[e].name,
  23475. r = i[e].value
  23476. Array.isArray(r)
  23477. ? r.forEach(function (e) {
  23478. s.push([t, e])
  23479. })
  23480. : s.push([t, r])
  23481. }),
  23482. "fetch" === e._mode)
  23483. ) {
  23484. var l = null
  23485. if (o.abortController) {
  23486. var c = new AbortController()
  23487. ;(l = c.signal),
  23488. (e._fetchAbortController = c),
  23489. "requestTimeout" in t &&
  23490. 0 !== t.requestTimeout &&
  23491. (e._fetchTimer = n.setTimeout(function () {
  23492. e.emit("requestTimeout"), e._fetchAbortController && e._fetchAbortController.abort()
  23493. }, t.requestTimeout))
  23494. }
  23495. n.fetch(e._opts.url, {
  23496. method: e._opts.method,
  23497. headers: s,
  23498. body: a || void 0,
  23499. mode: "cors",
  23500. credentials: t.withCredentials ? "include" : "same-origin",
  23501. signal: l
  23502. }).then(
  23503. function (t) {
  23504. ;(e._fetchResponse = t), e._connect()
  23505. },
  23506. function (t) {
  23507. n.clearTimeout(e._fetchTimer), e._destroyed || e.emit("error", t)
  23508. }
  23509. )
  23510. } else {
  23511. var f = (e._xhr = new n.XMLHttpRequest())
  23512. try {
  23513. f.open(e._opts.method, e._opts.url, !0)
  23514. } catch (p) {
  23515. return void r.nextTick(function () {
  23516. e.emit("error", p)
  23517. })
  23518. }
  23519. "responseType" in f && (f.responseType = e._mode),
  23520. "withCredentials" in f && (f.withCredentials = !!t.withCredentials),
  23521. "text" === e._mode && "overrideMimeType" in f && f.overrideMimeType("text/plain; charset=x-user-defined"),
  23522. "requestTimeout" in t &&
  23523. ((f.timeout = t.requestTimeout),
  23524. (f.ontimeout = function () {
  23525. e.emit("requestTimeout")
  23526. })),
  23527. s.forEach(function (e) {
  23528. f.setRequestHeader(e[0], e[1])
  23529. }),
  23530. (e._response = null),
  23531. (f.onreadystatechange = function () {
  23532. switch (f.readyState) {
  23533. case u.LOADING:
  23534. case u.DONE:
  23535. e._onXHRProgress()
  23536. break
  23537. }
  23538. }),
  23539. "moz-chunked-arraybuffer" === e._mode &&
  23540. (f.onprogress = function () {
  23541. e._onXHRProgress()
  23542. }),
  23543. (f.onerror = function () {
  23544. e._destroyed || e.emit("error", new Error("XHR error"))
  23545. })
  23546. try {
  23547. f.send(a)
  23548. } catch (p) {
  23549. return void r.nextTick(function () {
  23550. e.emit("error", p)
  23551. })
  23552. }
  23553. }
  23554. }
  23555. }),
  23556. (p.prototype._onXHRProgress = function () {
  23557. var e = this
  23558. d(e._xhr) && !e._destroyed && (e._response || e._connect(), e._response._onXHRProgress())
  23559. }),
  23560. (p.prototype._connect = function () {
  23561. var e = this
  23562. e._destroyed ||
  23563. ((e._response = new c(e._xhr, e._fetchResponse, e._mode, e._fetchTimer)),
  23564. e._response.on("error", function (t) {
  23565. e.emit("error", t)
  23566. }),
  23567. e.emit("response", e._response))
  23568. }),
  23569. (p.prototype._write = function (e, t, r) {
  23570. var n = this
  23571. n._body.push(e), r()
  23572. }),
  23573. (p.prototype.abort = p.prototype.destroy =
  23574. function () {
  23575. var e = this
  23576. ;(e._destroyed = !0),
  23577. n.clearTimeout(e._fetchTimer),
  23578. e._response && (e._response._destroyed = !0),
  23579. e._xhr ? e._xhr.abort() : e._fetchAbortController && e._fetchAbortController.abort()
  23580. }),
  23581. (p.prototype.end = function (e, t, r) {
  23582. var n = this
  23583. "function" === typeof e && ((r = e), (e = void 0)), l.Writable.prototype.end.call(n, e, t, r)
  23584. }),
  23585. (p.prototype.flushHeaders = function () {}),
  23586. (p.prototype.setTimeout = function () {}),
  23587. (p.prototype.setNoDelay = function () {}),
  23588. (p.prototype.setSocketKeepAlive = function () {})
  23589. var h = [
  23590. "accept-charset",
  23591. "accept-encoding",
  23592. "access-control-request-headers",
  23593. "access-control-request-method",
  23594. "connection",
  23595. "content-length",
  23596. "cookie",
  23597. "cookie2",
  23598. "date",
  23599. "dnt",
  23600. "expect",
  23601. "host",
  23602. "keep-alive",
  23603. "origin",
  23604. "referer",
  23605. "te",
  23606. "trailer",
  23607. "transfer-encoding",
  23608. "upgrade",
  23609. "via"
  23610. ]
  23611. }).call(
  23612. this,
  23613. e("_process"),
  23614. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {},
  23615. e("buffer").Buffer
  23616. )
  23617. },
  23618. {
  23619. "./capability": 81,
  23620. "./response": 83,
  23621. _process: 392,
  23622. buffer: 99,
  23623. inherits: 306,
  23624. "readable-stream": 98
  23625. }
  23626. ],
  23627. 83: [
  23628. function (e, t, r) {
  23629. ;(function (t, n, i) {
  23630. var o = e("./capability"),
  23631. a = e("inherits"),
  23632. s = e("readable-stream"),
  23633. l = (r.readyStates = {
  23634. UNSENT: 0,
  23635. OPENED: 1,
  23636. HEADERS_RECEIVED: 2,
  23637. LOADING: 3,
  23638. DONE: 4
  23639. }),
  23640. c = (r.IncomingMessage = function (e, r, a, l) {
  23641. var c = this
  23642. if (
  23643. (s.Readable.call(c),
  23644. (c._mode = a),
  23645. (c.headers = {}),
  23646. (c.rawHeaders = []),
  23647. (c.trailers = {}),
  23648. (c.rawTrailers = []),
  23649. c.on("end", function () {
  23650. t.nextTick(function () {
  23651. c.emit("close")
  23652. })
  23653. }),
  23654. "fetch" === a)
  23655. ) {
  23656. if (
  23657. ((c._fetchResponse = r),
  23658. (c.url = r.url),
  23659. (c.statusCode = r.status),
  23660. (c.statusMessage = r.statusText),
  23661. r.headers.forEach(function (e, t) {
  23662. ;(c.headers[t.toLowerCase()] = e), c.rawHeaders.push(t, e)
  23663. }),
  23664. o.writableStream)
  23665. ) {
  23666. var u = new WritableStream({
  23667. write: function (e) {
  23668. return new Promise(function (t, r) {
  23669. c._destroyed ? r() : c.push(i.from(e)) ? t() : (c._resumeFetch = t)
  23670. })
  23671. },
  23672. close: function () {
  23673. n.clearTimeout(l), c._destroyed || c.push(null)
  23674. },
  23675. abort: function (e) {
  23676. c._destroyed || c.emit("error", e)
  23677. }
  23678. })
  23679. try {
  23680. return void r.body.pipeTo(u).catch(function (e) {
  23681. n.clearTimeout(l), c._destroyed || c.emit("error", e)
  23682. })
  23683. } catch (g) {}
  23684. }
  23685. var f = r.body.getReader()
  23686. function p() {
  23687. f.read()
  23688. .then(function (e) {
  23689. if (!c._destroyed) {
  23690. if (e.done) return n.clearTimeout(l), void c.push(null)
  23691. c.push(i.from(e.value)), p()
  23692. }
  23693. })
  23694. .catch(function (e) {
  23695. n.clearTimeout(l), c._destroyed || c.emit("error", e)
  23696. })
  23697. }
  23698. p()
  23699. } else {
  23700. ;(c._xhr = e), (c._pos = 0), (c.url = e.responseURL), (c.statusCode = e.status), (c.statusMessage = e.statusText)
  23701. var d = e.getAllResponseHeaders().split(/\r?\n/)
  23702. if (
  23703. (d.forEach(function (e) {
  23704. var t = e.match(/^([^:]+):\s*(.*)/)
  23705. if (t) {
  23706. var r = t[1].toLowerCase()
  23707. "set-cookie" === r
  23708. ? (void 0 === c.headers[r] && (c.headers[r] = []), c.headers[r].push(t[2]))
  23709. : void 0 !== c.headers[r]
  23710. ? (c.headers[r] += ", " + t[2])
  23711. : (c.headers[r] = t[2]),
  23712. c.rawHeaders.push(t[1], t[2])
  23713. }
  23714. }),
  23715. (c._charset = "x-user-defined"),
  23716. !o.overrideMimeType)
  23717. ) {
  23718. var h = c.rawHeaders["mime-type"]
  23719. if (h) {
  23720. var m = h.match(/;\s*charset=([^;])(;|$)/)
  23721. m && (c._charset = m[1].toLowerCase())
  23722. }
  23723. c._charset || (c._charset = "utf-8")
  23724. }
  23725. }
  23726. })
  23727. a(c, s.Readable),
  23728. (c.prototype._read = function () {
  23729. var e = this,
  23730. t = e._resumeFetch
  23731. t && ((e._resumeFetch = null), t())
  23732. }),
  23733. (c.prototype._onXHRProgress = function () {
  23734. var e = this,
  23735. t = e._xhr,
  23736. r = null
  23737. switch (e._mode) {
  23738. case "text":
  23739. if (((r = t.responseText), r.length > e._pos)) {
  23740. var o = r.substr(e._pos)
  23741. if ("x-user-defined" === e._charset) {
  23742. for (var a = i.alloc(o.length), s = 0; s < o.length; s++) a[s] = 255 & o.charCodeAt(s)
  23743. e.push(a)
  23744. } else e.push(o, e._charset)
  23745. e._pos = r.length
  23746. }
  23747. break
  23748. case "arraybuffer":
  23749. if (t.readyState !== l.DONE || !t.response) break
  23750. ;(r = t.response), e.push(i.from(new Uint8Array(r)))
  23751. break
  23752. case "moz-chunked-arraybuffer":
  23753. if (((r = t.response), t.readyState !== l.LOADING || !r)) break
  23754. e.push(i.from(new Uint8Array(r)))
  23755. break
  23756. case "ms-stream":
  23757. if (((r = t.response), t.readyState !== l.LOADING)) break
  23758. var c = new n.MSStreamReader()
  23759. ;(c.onprogress = function () {
  23760. c.result.byteLength > e._pos &&
  23761. (e.push(i.from(new Uint8Array(c.result.slice(e._pos)))), (e._pos = c.result.byteLength))
  23762. }),
  23763. (c.onload = function () {
  23764. e.push(null)
  23765. }),
  23766. c.readAsArrayBuffer(r)
  23767. break
  23768. }
  23769. e._xhr.readyState === l.DONE && "ms-stream" !== e._mode && e.push(null)
  23770. })
  23771. }).call(
  23772. this,
  23773. e("_process"),
  23774. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {},
  23775. e("buffer").Buffer
  23776. )
  23777. },
  23778. {
  23779. "./capability": 81,
  23780. _process: 392,
  23781. buffer: 99,
  23782. inherits: 306,
  23783. "readable-stream": 98
  23784. }
  23785. ],
  23786. 84: [
  23787. function (e, t, r) {
  23788. "use strict"
  23789. function n(e, t) {
  23790. ;(e.prototype = Object.create(t.prototype)), (e.prototype.constructor = e), (e.__proto__ = t)
  23791. }
  23792. var i = {}
  23793. function o(e, t, r) {
  23794. function o(e, r, n) {
  23795. return "string" === typeof t ? t : t(e, r, n)
  23796. }
  23797. r || (r = Error)
  23798. var a = (function (e) {
  23799. function t(t, r, n) {
  23800. return e.call(this, o(t, r, n)) || this
  23801. }
  23802. return n(t, e), t
  23803. })(r)
  23804. ;(a.prototype.name = r.name), (a.prototype.code = e), (i[e] = a)
  23805. }
  23806. function a(e, t) {
  23807. if (Array.isArray(e)) {
  23808. var r = e.length
  23809. return (
  23810. (e = e.map(function (e) {
  23811. return String(e)
  23812. })),
  23813. r > 2
  23814. ? "one of ".concat(t, " ").concat(e.slice(0, r - 1).join(", "), ", or ") + e[r - 1]
  23815. : 2 === r
  23816. ? "one of ".concat(t, " ").concat(e[0], " or ").concat(e[1])
  23817. : "of ".concat(t, " ").concat(e[0])
  23818. )
  23819. }
  23820. return "of ".concat(t, " ").concat(String(e))
  23821. }
  23822. function s(e, t, r) {
  23823. return e.substr(!r || r < 0 ? 0 : +r, t.length) === t
  23824. }
  23825. function l(e, t, r) {
  23826. return (void 0 === r || r > e.length) && (r = e.length), e.substring(r - t.length, r) === t
  23827. }
  23828. function c(e, t, r) {
  23829. return "number" !== typeof r && (r = 0), !(r + t.length > e.length) && -1 !== e.indexOf(t, r)
  23830. }
  23831. o(
  23832. "ERR_INVALID_OPT_VALUE",
  23833. function (e, t) {
  23834. return 'The value "' + t + '" is invalid for option "' + e + '"'
  23835. },
  23836. TypeError
  23837. ),
  23838. o(
  23839. "ERR_INVALID_ARG_TYPE",
  23840. function (e, t, r) {
  23841. var n, i
  23842. if (
  23843. ("string" === typeof t && s(t, "not ") ? ((n = "must not be"), (t = t.replace(/^not /, ""))) : (n = "must be"),
  23844. l(e, " argument"))
  23845. )
  23846. i = "The ".concat(e, " ").concat(n, " ").concat(a(t, "type"))
  23847. else {
  23848. var o = c(e, ".") ? "property" : "argument"
  23849. i = 'The "'.concat(e, '" ').concat(o, " ").concat(n, " ").concat(a(t, "type"))
  23850. }
  23851. return (i += ". Received type ".concat(typeof r)), i
  23852. },
  23853. TypeError
  23854. ),
  23855. o("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"),
  23856. o("ERR_METHOD_NOT_IMPLEMENTED", function (e) {
  23857. return "The " + e + " method is not implemented"
  23858. }),
  23859. o("ERR_STREAM_PREMATURE_CLOSE", "Premature close"),
  23860. o("ERR_STREAM_DESTROYED", function (e) {
  23861. return "Cannot call " + e + " after a stream was destroyed"
  23862. }),
  23863. o("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"),
  23864. o("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"),
  23865. o("ERR_STREAM_WRITE_AFTER_END", "write after end"),
  23866. o("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError),
  23867. o(
  23868. "ERR_UNKNOWN_ENCODING",
  23869. function (e) {
  23870. return "Unknown encoding: " + e
  23871. },
  23872. TypeError
  23873. ),
  23874. o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"),
  23875. (t.exports.codes = i)
  23876. },
  23877. {}
  23878. ],
  23879. 85: [
  23880. function (e, t, r) {
  23881. ;(function (r) {
  23882. "use strict"
  23883. var n =
  23884. Object.keys ||
  23885. function (e) {
  23886. var t = []
  23887. for (var r in e) t.push(r)
  23888. return t
  23889. }
  23890. t.exports = c
  23891. var i = e("./_stream_readable"),
  23892. o = e("./_stream_writable")
  23893. e("inherits")(c, i)
  23894. for (var a = n(o.prototype), s = 0; s < a.length; s++) {
  23895. var l = a[s]
  23896. c.prototype[l] || (c.prototype[l] = o.prototype[l])
  23897. }
  23898. function c(e) {
  23899. if (!(this instanceof c)) return new c(e)
  23900. i.call(this, e),
  23901. o.call(this, e),
  23902. (this.allowHalfOpen = !0),
  23903. e &&
  23904. (!1 === e.readable && (this.readable = !1),
  23905. !1 === e.writable && (this.writable = !1),
  23906. !1 === e.allowHalfOpen && ((this.allowHalfOpen = !1), this.once("end", u)))
  23907. }
  23908. function u() {
  23909. this._writableState.ended || r.nextTick(f, this)
  23910. }
  23911. function f(e) {
  23912. e.end()
  23913. }
  23914. Object.defineProperty(c.prototype, "writableHighWaterMark", {
  23915. enumerable: !1,
  23916. get: function () {
  23917. return this._writableState.highWaterMark
  23918. }
  23919. }),
  23920. Object.defineProperty(c.prototype, "writableBuffer", {
  23921. enumerable: !1,
  23922. get: function () {
  23923. return this._writableState && this._writableState.getBuffer()
  23924. }
  23925. }),
  23926. Object.defineProperty(c.prototype, "writableLength", {
  23927. enumerable: !1,
  23928. get: function () {
  23929. return this._writableState.length
  23930. }
  23931. }),
  23932. Object.defineProperty(c.prototype, "destroyed", {
  23933. enumerable: !1,
  23934. get: function () {
  23935. return (
  23936. void 0 !== this._readableState &&
  23937. void 0 !== this._writableState &&
  23938. this._readableState.destroyed &&
  23939. this._writableState.destroyed
  23940. )
  23941. },
  23942. set: function (e) {
  23943. void 0 !== this._readableState &&
  23944. void 0 !== this._writableState &&
  23945. ((this._readableState.destroyed = e), (this._writableState.destroyed = e))
  23946. }
  23947. })
  23948. }).call(this, e("_process"))
  23949. },
  23950. {
  23951. "./_stream_readable": 87,
  23952. "./_stream_writable": 89,
  23953. _process: 392,
  23954. inherits: 306
  23955. }
  23956. ],
  23957. 86: [
  23958. function (e, t, r) {
  23959. "use strict"
  23960. t.exports = i
  23961. var n = e("./_stream_transform")
  23962. function i(e) {
  23963. if (!(this instanceof i)) return new i(e)
  23964. n.call(this, e)
  23965. }
  23966. e("inherits")(i, n),
  23967. (i.prototype._transform = function (e, t, r) {
  23968. r(null, e)
  23969. })
  23970. },
  23971. {
  23972. "./_stream_transform": 88,
  23973. inherits: 306
  23974. }
  23975. ],
  23976. 87: [
  23977. function (e, t, r) {
  23978. ;(function (r, n) {
  23979. "use strict"
  23980. var i
  23981. ;(t.exports = L), (L.ReadableState = k)
  23982. e("events").EventEmitter
  23983. var o = function (e, t) {
  23984. return e.listeners(t).length
  23985. },
  23986. a = e("./internal/streams/stream"),
  23987. s = e("buffer").Buffer,
  23988. l = n.Uint8Array || function () {}
  23989. function c(e) {
  23990. return s.from(e)
  23991. }
  23992. function u(e) {
  23993. return s.isBuffer(e) || e instanceof l
  23994. }
  23995. var f,
  23996. p = e("util")
  23997. f = p && p.debuglog ? p.debuglog("stream") : function () {}
  23998. var d,
  23999. h,
  24000. m,
  24001. g = e("./internal/streams/buffer_list"),
  24002. y = e("./internal/streams/destroy"),
  24003. v = e("./internal/streams/state"),
  24004. b = v.getHighWaterMark,
  24005. w = e("../errors").codes,
  24006. x = w.ERR_INVALID_ARG_TYPE,
  24007. A = w.ERR_STREAM_PUSH_AFTER_EOF,
  24008. _ = w.ERR_METHOD_NOT_IMPLEMENTED,
  24009. T = w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT
  24010. e("inherits")(L, a)
  24011. var E = y.errorOrDestroy,
  24012. S = ["error", "close", "destroy", "pause", "resume"]
  24013. function C(e, t, r) {
  24014. if ("function" === typeof e.prependListener) return e.prependListener(t, r)
  24015. e._events && e._events[t]
  24016. ? Array.isArray(e._events[t])
  24017. ? e._events[t].unshift(r)
  24018. : (e._events[t] = [r, e._events[t]])
  24019. : e.on(t, r)
  24020. }
  24021. function k(t, r, n) {
  24022. ;(i = i || e("./_stream_duplex")),
  24023. (t = t || {}),
  24024. "boolean" !== typeof n && (n = r instanceof i),
  24025. (this.objectMode = !!t.objectMode),
  24026. n && (this.objectMode = this.objectMode || !!t.readableObjectMode),
  24027. (this.highWaterMark = b(this, t, "readableHighWaterMark", n)),
  24028. (this.buffer = new g()),
  24029. (this.length = 0),
  24030. (this.pipes = null),
  24031. (this.pipesCount = 0),
  24032. (this.flowing = null),
  24033. (this.ended = !1),
  24034. (this.endEmitted = !1),
  24035. (this.reading = !1),
  24036. (this.sync = !0),
  24037. (this.needReadable = !1),
  24038. (this.emittedReadable = !1),
  24039. (this.readableListening = !1),
  24040. (this.resumeScheduled = !1),
  24041. (this.paused = !0),
  24042. (this.emitClose = !1 !== t.emitClose),
  24043. (this.autoDestroy = !!t.autoDestroy),
  24044. (this.destroyed = !1),
  24045. (this.defaultEncoding = t.defaultEncoding || "utf8"),
  24046. (this.awaitDrain = 0),
  24047. (this.readingMore = !1),
  24048. (this.decoder = null),
  24049. (this.encoding = null),
  24050. t.encoding &&
  24051. (d || (d = e("string_decoder/").StringDecoder), (this.decoder = new d(t.encoding)), (this.encoding = t.encoding))
  24052. }
  24053. function L(t) {
  24054. if (((i = i || e("./_stream_duplex")), !(this instanceof L))) return new L(t)
  24055. var r = this instanceof i
  24056. ;(this._readableState = new k(t, this, r)),
  24057. (this.readable = !0),
  24058. t &&
  24059. ("function" === typeof t.read && (this._read = t.read),
  24060. "function" === typeof t.destroy && (this._destroy = t.destroy)),
  24061. a.call(this)
  24062. }
  24063. function P(e, t, r, n, i) {
  24064. f("readableAddChunk", t)
  24065. var o,
  24066. a = e._readableState
  24067. if (null === t) (a.reading = !1), M(e, a)
  24068. else if ((i || (o = j(a, t)), o)) E(e, o)
  24069. else if (a.objectMode || (t && t.length > 0))
  24070. if (("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === s.prototype || (t = c(t)), n))
  24071. a.endEmitted ? E(e, new T()) : O(e, a, t, !0)
  24072. else if (a.ended) E(e, new A())
  24073. else {
  24074. if (a.destroyed) return !1
  24075. ;(a.reading = !1),
  24076. a.decoder && !r
  24077. ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? O(e, a, t, !1) : F(e, a))
  24078. : O(e, a, t, !1)
  24079. }
  24080. else n || ((a.reading = !1), F(e, a))
  24081. return !a.ended && (a.length < a.highWaterMark || 0 === a.length)
  24082. }
  24083. function O(e, t, r, n) {
  24084. t.flowing && 0 === t.length && !t.sync
  24085. ? ((t.awaitDrain = 0), e.emit("data", r))
  24086. : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && D(e)),
  24087. F(e, t)
  24088. }
  24089. function j(e, t) {
  24090. var r
  24091. return (
  24092. u(t) ||
  24093. "string" === typeof t ||
  24094. void 0 === t ||
  24095. e.objectMode ||
  24096. (r = new x("chunk", ["string", "Buffer", "Uint8Array"], t)),
  24097. r
  24098. )
  24099. }
  24100. Object.defineProperty(L.prototype, "destroyed", {
  24101. enumerable: !1,
  24102. get: function () {
  24103. return void 0 !== this._readableState && this._readableState.destroyed
  24104. },
  24105. set: function (e) {
  24106. this._readableState && (this._readableState.destroyed = e)
  24107. }
  24108. }),
  24109. (L.prototype.destroy = y.destroy),
  24110. (L.prototype._undestroy = y.undestroy),
  24111. (L.prototype._destroy = function (e, t) {
  24112. t(e)
  24113. }),
  24114. (L.prototype.push = function (e, t) {
  24115. var r,
  24116. n = this._readableState
  24117. return (
  24118. n.objectMode
  24119. ? (r = !0)
  24120. : "string" === typeof e &&
  24121. ((t = t || n.defaultEncoding), t !== n.encoding && ((e = s.from(e, t)), (t = "")), (r = !0)),
  24122. P(this, e, t, !1, r)
  24123. )
  24124. }),
  24125. (L.prototype.unshift = function (e) {
  24126. return P(this, e, null, !0, !1)
  24127. }),
  24128. (L.prototype.isPaused = function () {
  24129. return !1 === this._readableState.flowing
  24130. }),
  24131. (L.prototype.setEncoding = function (t) {
  24132. d || (d = e("string_decoder/").StringDecoder)
  24133. var r = new d(t)
  24134. ;(this._readableState.decoder = r), (this._readableState.encoding = this._readableState.decoder.encoding)
  24135. var n = this._readableState.buffer.head,
  24136. i = ""
  24137. while (null !== n) (i += r.write(n.data)), (n = n.next)
  24138. return (
  24139. this._readableState.buffer.clear(),
  24140. "" !== i && this._readableState.buffer.push(i),
  24141. (this._readableState.length = i.length),
  24142. this
  24143. )
  24144. })
  24145. var R = 1073741824
  24146. function I(e) {
  24147. return e >= R ? (e = R) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e
  24148. }
  24149. function N(e, t) {
  24150. return e <= 0 || (0 === t.length && t.ended)
  24151. ? 0
  24152. : t.objectMode
  24153. ? 1
  24154. : e !== e
  24155. ? t.flowing && t.length
  24156. ? t.buffer.head.data.length
  24157. : t.length
  24158. : (e > t.highWaterMark && (t.highWaterMark = I(e)),
  24159. e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0))
  24160. }
  24161. function M(e, t) {
  24162. if ((f("onEofChunk"), !t.ended)) {
  24163. if (t.decoder) {
  24164. var r = t.decoder.end()
  24165. r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length))
  24166. }
  24167. ;(t.ended = !0), t.sync ? D(e) : ((t.needReadable = !1), t.emittedReadable || ((t.emittedReadable = !0), B(e)))
  24168. }
  24169. }
  24170. function D(e) {
  24171. var t = e._readableState
  24172. f("emitReadable", t.needReadable, t.emittedReadable),
  24173. (t.needReadable = !1),
  24174. t.emittedReadable || (f("emitReadable", t.flowing), (t.emittedReadable = !0), r.nextTick(B, e))
  24175. }
  24176. function B(e) {
  24177. var t = e._readableState
  24178. f("emitReadable_", t.destroyed, t.length, t.ended),
  24179. t.destroyed || (!t.length && !t.ended) || (e.emit("readable"), (t.emittedReadable = !1)),
  24180. (t.needReadable = !t.flowing && !t.ended && t.length <= t.highWaterMark),
  24181. H(e)
  24182. }
  24183. function F(e, t) {
  24184. t.readingMore || ((t.readingMore = !0), r.nextTick(U, e, t))
  24185. }
  24186. function U(e, t) {
  24187. while (!t.reading && !t.ended && (t.length < t.highWaterMark || (t.flowing && 0 === t.length))) {
  24188. var r = t.length
  24189. if ((f("maybeReadMore read 0"), e.read(0), r === t.length)) break
  24190. }
  24191. t.readingMore = !1
  24192. }
  24193. function z(e) {
  24194. return function () {
  24195. var t = e._readableState
  24196. f("pipeOnDrain", t.awaitDrain),
  24197. t.awaitDrain && t.awaitDrain--,
  24198. 0 === t.awaitDrain && o(e, "data") && ((t.flowing = !0), H(e))
  24199. }
  24200. }
  24201. function q(e) {
  24202. var t = e._readableState
  24203. ;(t.readableListening = e.listenerCount("readable") > 0),
  24204. t.resumeScheduled && !t.paused ? (t.flowing = !0) : e.listenerCount("data") > 0 && e.resume()
  24205. }
  24206. function G(e) {
  24207. f("readable nexttick read 0"), e.read(0)
  24208. }
  24209. function W(e, t) {
  24210. t.resumeScheduled || ((t.resumeScheduled = !0), r.nextTick(V, e, t))
  24211. }
  24212. function V(e, t) {
  24213. f("resume", t.reading),
  24214. t.reading || e.read(0),
  24215. (t.resumeScheduled = !1),
  24216. e.emit("resume"),
  24217. H(e),
  24218. t.flowing && !t.reading && e.read(0)
  24219. }
  24220. function H(e) {
  24221. var t = e._readableState
  24222. f("flow", t.flowing)
  24223. while (t.flowing && null !== e.read());
  24224. }
  24225. function X(e, t) {
  24226. return 0 === t.length
  24227. ? null
  24228. : (t.objectMode
  24229. ? (r = t.buffer.shift())
  24230. : !e || e >= t.length
  24231. ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.first() : t.buffer.concat(t.length)),
  24232. t.buffer.clear())
  24233. : (r = t.buffer.consume(e, t.decoder)),
  24234. r)
  24235. var r
  24236. }
  24237. function Y(e) {
  24238. var t = e._readableState
  24239. f("endReadable", t.endEmitted), t.endEmitted || ((t.ended = !0), r.nextTick(K, t, e))
  24240. }
  24241. function K(e, t) {
  24242. if (
  24243. (f("endReadableNT", e.endEmitted, e.length),
  24244. !e.endEmitted && 0 === e.length && ((e.endEmitted = !0), (t.readable = !1), t.emit("end"), e.autoDestroy))
  24245. ) {
  24246. var r = t._writableState
  24247. ;(!r || (r.autoDestroy && r.finished)) && t.destroy()
  24248. }
  24249. }
  24250. function Z(e, t) {
  24251. for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r
  24252. return -1
  24253. }
  24254. ;(L.prototype.read = function (e) {
  24255. f("read", e), (e = parseInt(e, 10))
  24256. var t = this._readableState,
  24257. r = e
  24258. if (
  24259. (0 !== e && (t.emittedReadable = !1),
  24260. 0 === e && t.needReadable && ((0 !== t.highWaterMark ? t.length >= t.highWaterMark : t.length > 0) || t.ended))
  24261. )
  24262. return f("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? Y(this) : D(this), null
  24263. if (((e = N(e, t)), 0 === e && t.ended)) return 0 === t.length && Y(this), null
  24264. var n,
  24265. i = t.needReadable
  24266. return (
  24267. f("need readable", i),
  24268. (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), f("length less than watermark", i)),
  24269. t.ended || t.reading
  24270. ? ((i = !1), f("reading or ended", i))
  24271. : i &&
  24272. (f("do read"),
  24273. (t.reading = !0),
  24274. (t.sync = !0),
  24275. 0 === t.length && (t.needReadable = !0),
  24276. this._read(t.highWaterMark),
  24277. (t.sync = !1),
  24278. t.reading || (e = N(r, t))),
  24279. (n = e > 0 ? X(e, t) : null),
  24280. null === n ? ((t.needReadable = t.length <= t.highWaterMark), (e = 0)) : ((t.length -= e), (t.awaitDrain = 0)),
  24281. 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && Y(this)),
  24282. null !== n && this.emit("data", n),
  24283. n
  24284. )
  24285. }),
  24286. (L.prototype._read = function (e) {
  24287. E(this, new _("_read()"))
  24288. }),
  24289. (L.prototype.pipe = function (e, t) {
  24290. var n = this,
  24291. i = this._readableState
  24292. switch (i.pipesCount) {
  24293. case 0:
  24294. i.pipes = e
  24295. break
  24296. case 1:
  24297. i.pipes = [i.pipes, e]
  24298. break
  24299. default:
  24300. i.pipes.push(e)
  24301. break
  24302. }
  24303. ;(i.pipesCount += 1), f("pipe count=%d opts=%j", i.pipesCount, t)
  24304. var a = (!t || !1 !== t.end) && e !== r.stdout && e !== r.stderr,
  24305. s = a ? c : v
  24306. function l(e, t) {
  24307. f("onunpipe"), e === n && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d())
  24308. }
  24309. function c() {
  24310. f("onend"), e.end()
  24311. }
  24312. i.endEmitted ? r.nextTick(s) : n.once("end", s), e.on("unpipe", l)
  24313. var u = z(n)
  24314. e.on("drain", u)
  24315. var p = !1
  24316. function d() {
  24317. f("cleanup"),
  24318. e.removeListener("close", g),
  24319. e.removeListener("finish", y),
  24320. e.removeListener("drain", u),
  24321. e.removeListener("error", m),
  24322. e.removeListener("unpipe", l),
  24323. n.removeListener("end", c),
  24324. n.removeListener("end", v),
  24325. n.removeListener("data", h),
  24326. (p = !0),
  24327. !i.awaitDrain || (e._writableState && !e._writableState.needDrain) || u()
  24328. }
  24329. function h(t) {
  24330. f("ondata")
  24331. var r = e.write(t)
  24332. f("dest.write", r),
  24333. !1 === r &&
  24334. (((1 === i.pipesCount && i.pipes === e) || (i.pipesCount > 1 && -1 !== Z(i.pipes, e))) &&
  24335. !p &&
  24336. (f("false write response, pause", i.awaitDrain), i.awaitDrain++),
  24337. n.pause())
  24338. }
  24339. function m(t) {
  24340. f("onerror", t), v(), e.removeListener("error", m), 0 === o(e, "error") && E(e, t)
  24341. }
  24342. function g() {
  24343. e.removeListener("finish", y), v()
  24344. }
  24345. function y() {
  24346. f("onfinish"), e.removeListener("close", g), v()
  24347. }
  24348. function v() {
  24349. f("unpipe"), n.unpipe(e)
  24350. }
  24351. return (
  24352. n.on("data", h),
  24353. C(e, "error", m),
  24354. e.once("close", g),
  24355. e.once("finish", y),
  24356. e.emit("pipe", n),
  24357. i.flowing || (f("pipe resume"), n.resume()),
  24358. e
  24359. )
  24360. }),
  24361. (L.prototype.unpipe = function (e) {
  24362. var t = this._readableState,
  24363. r = {
  24364. hasUnpiped: !1
  24365. }
  24366. if (0 === t.pipesCount) return this
  24367. if (1 === t.pipesCount)
  24368. return (
  24369. (e && e !== t.pipes) ||
  24370. (e || (e = t.pipes),
  24371. (t.pipes = null),
  24372. (t.pipesCount = 0),
  24373. (t.flowing = !1),
  24374. e && e.emit("unpipe", this, r)),
  24375. this
  24376. )
  24377. if (!e) {
  24378. var n = t.pipes,
  24379. i = t.pipesCount
  24380. ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1)
  24381. for (var o = 0; o < i; o++)
  24382. n[o].emit("unpipe", this, {
  24383. hasUnpiped: !1
  24384. })
  24385. return this
  24386. }
  24387. var a = Z(t.pipes, e)
  24388. return (
  24389. -1 === a ||
  24390. (t.pipes.splice(a, 1),
  24391. (t.pipesCount -= 1),
  24392. 1 === t.pipesCount && (t.pipes = t.pipes[0]),
  24393. e.emit("unpipe", this, r)),
  24394. this
  24395. )
  24396. }),
  24397. (L.prototype.on = function (e, t) {
  24398. var n = a.prototype.on.call(this, e, t),
  24399. i = this._readableState
  24400. return (
  24401. "data" === e
  24402. ? ((i.readableListening = this.listenerCount("readable") > 0), !1 !== i.flowing && this.resume())
  24403. : "readable" === e &&
  24404. (i.endEmitted ||
  24405. i.readableListening ||
  24406. ((i.readableListening = i.needReadable = !0),
  24407. (i.flowing = !1),
  24408. (i.emittedReadable = !1),
  24409. f("on readable", i.length, i.reading),
  24410. i.length ? D(this) : i.reading || r.nextTick(G, this))),
  24411. n
  24412. )
  24413. }),
  24414. (L.prototype.addListener = L.prototype.on),
  24415. (L.prototype.removeListener = function (e, t) {
  24416. var n = a.prototype.removeListener.call(this, e, t)
  24417. return "readable" === e && r.nextTick(q, this), n
  24418. }),
  24419. (L.prototype.removeAllListeners = function (e) {
  24420. var t = a.prototype.removeAllListeners.apply(this, arguments)
  24421. return ("readable" !== e && void 0 !== e) || r.nextTick(q, this), t
  24422. }),
  24423. (L.prototype.resume = function () {
  24424. var e = this._readableState
  24425. return e.flowing || (f("resume"), (e.flowing = !e.readableListening), W(this, e)), (e.paused = !1), this
  24426. }),
  24427. (L.prototype.pause = function () {
  24428. return (
  24429. f("call pause flowing=%j", this._readableState.flowing),
  24430. !1 !== this._readableState.flowing && (f("pause"), (this._readableState.flowing = !1), this.emit("pause")),
  24431. (this._readableState.paused = !0),
  24432. this
  24433. )
  24434. }),
  24435. (L.prototype.wrap = function (e) {
  24436. var t = this,
  24437. r = this._readableState,
  24438. n = !1
  24439. for (var i in (e.on("end", function () {
  24440. if ((f("wrapped end"), r.decoder && !r.ended)) {
  24441. var e = r.decoder.end()
  24442. e && e.length && t.push(e)
  24443. }
  24444. t.push(null)
  24445. }),
  24446. e.on("data", function (i) {
  24447. if (
  24448. (f("wrapped data"),
  24449. r.decoder && (i = r.decoder.write(i)),
  24450. (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length)))
  24451. ) {
  24452. var o = t.push(i)
  24453. o || ((n = !0), e.pause())
  24454. }
  24455. }),
  24456. e))
  24457. void 0 === this[i] &&
  24458. "function" === typeof e[i] &&
  24459. (this[i] = (function (t) {
  24460. return function () {
  24461. return e[t].apply(e, arguments)
  24462. }
  24463. })(i))
  24464. for (var o = 0; o < S.length; o++) e.on(S[o], this.emit.bind(this, S[o]))
  24465. return (
  24466. (this._read = function (t) {
  24467. f("wrapped _read", t), n && ((n = !1), e.resume())
  24468. }),
  24469. this
  24470. )
  24471. }),
  24472. "function" === typeof Symbol &&
  24473. (L.prototype[Symbol.asyncIterator] = function () {
  24474. return void 0 === h && (h = e("./internal/streams/async_iterator")), h(this)
  24475. }),
  24476. Object.defineProperty(L.prototype, "readableHighWaterMark", {
  24477. enumerable: !1,
  24478. get: function () {
  24479. return this._readableState.highWaterMark
  24480. }
  24481. }),
  24482. Object.defineProperty(L.prototype, "readableBuffer", {
  24483. enumerable: !1,
  24484. get: function () {
  24485. return this._readableState && this._readableState.buffer
  24486. }
  24487. }),
  24488. Object.defineProperty(L.prototype, "readableFlowing", {
  24489. enumerable: !1,
  24490. get: function () {
  24491. return this._readableState.flowing
  24492. },
  24493. set: function (e) {
  24494. this._readableState && (this._readableState.flowing = e)
  24495. }
  24496. }),
  24497. (L._fromList = X),
  24498. Object.defineProperty(L.prototype, "readableLength", {
  24499. enumerable: !1,
  24500. get: function () {
  24501. return this._readableState.length
  24502. }
  24503. }),
  24504. "function" === typeof Symbol &&
  24505. (L.from = function (t, r) {
  24506. return void 0 === m && (m = e("./internal/streams/from")), m(L, t, r)
  24507. })
  24508. }).call(
  24509. this,
  24510. e("_process"),
  24511. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  24512. )
  24513. },
  24514. {
  24515. "../errors": 84,
  24516. "./_stream_duplex": 85,
  24517. "./internal/streams/async_iterator": 90,
  24518. "./internal/streams/buffer_list": 91,
  24519. "./internal/streams/destroy": 92,
  24520. "./internal/streams/from": 94,
  24521. "./internal/streams/state": 96,
  24522. "./internal/streams/stream": 97,
  24523. _process: 392,
  24524. buffer: 99,
  24525. events: 296,
  24526. inherits: 306,
  24527. "string_decoder/": 340,
  24528. util: 79
  24529. }
  24530. ],
  24531. 88: [
  24532. function (e, t, r) {
  24533. "use strict"
  24534. t.exports = u
  24535. var n = e("../errors").codes,
  24536. i = n.ERR_METHOD_NOT_IMPLEMENTED,
  24537. o = n.ERR_MULTIPLE_CALLBACK,
  24538. a = n.ERR_TRANSFORM_ALREADY_TRANSFORMING,
  24539. s = n.ERR_TRANSFORM_WITH_LENGTH_0,
  24540. l = e("./_stream_duplex")
  24541. function c(e, t) {
  24542. var r = this._transformState
  24543. r.transforming = !1
  24544. var n = r.writecb
  24545. if (null === n) return this.emit("error", new o())
  24546. ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e)
  24547. var i = this._readableState
  24548. ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
  24549. }
  24550. function u(e) {
  24551. if (!(this instanceof u)) return new u(e)
  24552. l.call(this, e),
  24553. (this._transformState = {
  24554. afterTransform: c.bind(this),
  24555. needTransform: !1,
  24556. transforming: !1,
  24557. writecb: null,
  24558. writechunk: null,
  24559. writeencoding: null
  24560. }),
  24561. (this._readableState.needReadable = !0),
  24562. (this._readableState.sync = !1),
  24563. e &&
  24564. ("function" === typeof e.transform && (this._transform = e.transform),
  24565. "function" === typeof e.flush && (this._flush = e.flush)),
  24566. this.on("prefinish", f)
  24567. }
  24568. function f() {
  24569. var e = this
  24570. "function" !== typeof this._flush || this._readableState.destroyed
  24571. ? p(this, null, null)
  24572. : this._flush(function (t, r) {
  24573. p(e, t, r)
  24574. })
  24575. }
  24576. function p(e, t, r) {
  24577. if (t) return e.emit("error", t)
  24578. if ((null != r && e.push(r), e._writableState.length)) throw new s()
  24579. if (e._transformState.transforming) throw new a()
  24580. return e.push(null)
  24581. }
  24582. e("inherits")(u, l),
  24583. (u.prototype.push = function (e, t) {
  24584. return (this._transformState.needTransform = !1), l.prototype.push.call(this, e, t)
  24585. }),
  24586. (u.prototype._transform = function (e, t, r) {
  24587. r(new i("_transform()"))
  24588. }),
  24589. (u.prototype._write = function (e, t, r) {
  24590. var n = this._transformState
  24591. if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) {
  24592. var i = this._readableState
  24593. ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
  24594. }
  24595. }),
  24596. (u.prototype._read = function (e) {
  24597. var t = this._transformState
  24598. null === t.writechunk || t.transforming
  24599. ? (t.needTransform = !0)
  24600. : ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
  24601. }),
  24602. (u.prototype._destroy = function (e, t) {
  24603. l.prototype._destroy.call(this, e, function (e) {
  24604. t(e)
  24605. })
  24606. })
  24607. },
  24608. {
  24609. "../errors": 84,
  24610. "./_stream_duplex": 85,
  24611. inherits: 306
  24612. }
  24613. ],
  24614. 89: [
  24615. function (e, t, r) {
  24616. ;(function (r, n) {
  24617. "use strict"
  24618. function i(e) {
  24619. var t = this
  24620. ;(this.next = null),
  24621. (this.entry = null),
  24622. (this.finish = function () {
  24623. V(t, e)
  24624. })
  24625. }
  24626. var o
  24627. ;(t.exports = k), (k.WritableState = C)
  24628. var a = {
  24629. deprecate: e("util-deprecate")
  24630. },
  24631. s = e("./internal/streams/stream"),
  24632. l = e("buffer").Buffer,
  24633. c = n.Uint8Array || function () {}
  24634. function u(e) {
  24635. return l.from(e)
  24636. }
  24637. function f(e) {
  24638. return l.isBuffer(e) || e instanceof c
  24639. }
  24640. var p,
  24641. d = e("./internal/streams/destroy"),
  24642. h = e("./internal/streams/state"),
  24643. m = h.getHighWaterMark,
  24644. g = e("../errors").codes,
  24645. y = g.ERR_INVALID_ARG_TYPE,
  24646. v = g.ERR_METHOD_NOT_IMPLEMENTED,
  24647. b = g.ERR_MULTIPLE_CALLBACK,
  24648. w = g.ERR_STREAM_CANNOT_PIPE,
  24649. x = g.ERR_STREAM_DESTROYED,
  24650. A = g.ERR_STREAM_NULL_VALUES,
  24651. _ = g.ERR_STREAM_WRITE_AFTER_END,
  24652. T = g.ERR_UNKNOWN_ENCODING,
  24653. E = d.errorOrDestroy
  24654. function S() {}
  24655. function C(t, r, n) {
  24656. ;(o = o || e("./_stream_duplex")),
  24657. (t = t || {}),
  24658. "boolean" !== typeof n && (n = r instanceof o),
  24659. (this.objectMode = !!t.objectMode),
  24660. n && (this.objectMode = this.objectMode || !!t.writableObjectMode),
  24661. (this.highWaterMark = m(this, t, "writableHighWaterMark", n)),
  24662. (this.finalCalled = !1),
  24663. (this.needDrain = !1),
  24664. (this.ending = !1),
  24665. (this.ended = !1),
  24666. (this.finished = !1),
  24667. (this.destroyed = !1)
  24668. var a = !1 === t.decodeStrings
  24669. ;(this.decodeStrings = !a),
  24670. (this.defaultEncoding = t.defaultEncoding || "utf8"),
  24671. (this.length = 0),
  24672. (this.writing = !1),
  24673. (this.corked = 0),
  24674. (this.sync = !0),
  24675. (this.bufferProcessing = !1),
  24676. (this.onwrite = function (e) {
  24677. M(r, e)
  24678. }),
  24679. (this.writecb = null),
  24680. (this.writelen = 0),
  24681. (this.bufferedRequest = null),
  24682. (this.lastBufferedRequest = null),
  24683. (this.pendingcb = 0),
  24684. (this.prefinished = !1),
  24685. (this.errorEmitted = !1),
  24686. (this.emitClose = !1 !== t.emitClose),
  24687. (this.autoDestroy = !!t.autoDestroy),
  24688. (this.bufferedRequestCount = 0),
  24689. (this.corkedRequestsFree = new i(this))
  24690. }
  24691. function k(t) {
  24692. o = o || e("./_stream_duplex")
  24693. var r = this instanceof o
  24694. if (!r && !p.call(k, this)) return new k(t)
  24695. ;(this._writableState = new C(t, this, r)),
  24696. (this.writable = !0),
  24697. t &&
  24698. ("function" === typeof t.write && (this._write = t.write),
  24699. "function" === typeof t.writev && (this._writev = t.writev),
  24700. "function" === typeof t.destroy && (this._destroy = t.destroy),
  24701. "function" === typeof t.final && (this._final = t.final)),
  24702. s.call(this)
  24703. }
  24704. function L(e, t) {
  24705. var n = new _()
  24706. E(e, n), r.nextTick(t, n)
  24707. }
  24708. function P(e, t, n, i) {
  24709. var o
  24710. return (
  24711. null === n ? (o = new A()) : "string" === typeof n || t.objectMode || (o = new y("chunk", ["string", "Buffer"], n)),
  24712. !o || (E(e, o), r.nextTick(i, o), !1)
  24713. )
  24714. }
  24715. function O(e, t, r) {
  24716. return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = l.from(t, r)), t
  24717. }
  24718. function j(e, t, r, n, i, o) {
  24719. if (!r) {
  24720. var a = O(t, n, i)
  24721. n !== a && ((r = !0), (i = "buffer"), (n = a))
  24722. }
  24723. var s = t.objectMode ? 1 : n.length
  24724. t.length += s
  24725. var l = t.length < t.highWaterMark
  24726. if ((l || (t.needDrain = !0), t.writing || t.corked)) {
  24727. var c = t.lastBufferedRequest
  24728. ;(t.lastBufferedRequest = {
  24729. chunk: n,
  24730. encoding: i,
  24731. isBuf: r,
  24732. callback: o,
  24733. next: null
  24734. }),
  24735. c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
  24736. (t.bufferedRequestCount += 1)
  24737. } else R(e, t, !1, s, n, i, o)
  24738. return l
  24739. }
  24740. function R(e, t, r, n, i, o, a) {
  24741. ;(t.writelen = n),
  24742. (t.writecb = a),
  24743. (t.writing = !0),
  24744. (t.sync = !0),
  24745. t.destroyed ? t.onwrite(new x("write")) : r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite),
  24746. (t.sync = !1)
  24747. }
  24748. function I(e, t, n, i, o) {
  24749. --t.pendingcb,
  24750. n
  24751. ? (r.nextTick(o, i), r.nextTick(G, e, t), (e._writableState.errorEmitted = !0), E(e, i))
  24752. : (o(i), (e._writableState.errorEmitted = !0), E(e, i), G(e, t))
  24753. }
  24754. function N(e) {
  24755. ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0)
  24756. }
  24757. function M(e, t) {
  24758. var n = e._writableState,
  24759. i = n.sync,
  24760. o = n.writecb
  24761. if ("function" !== typeof o) throw new b()
  24762. if ((N(n), t)) I(e, n, i, t, o)
  24763. else {
  24764. var a = U(n) || e.destroyed
  24765. a || n.corked || n.bufferProcessing || !n.bufferedRequest || F(e, n), i ? r.nextTick(D, e, n, a, o) : D(e, n, a, o)
  24766. }
  24767. }
  24768. function D(e, t, r, n) {
  24769. r || B(e, t), t.pendingcb--, n(), G(e, t)
  24770. }
  24771. function B(e, t) {
  24772. 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain"))
  24773. }
  24774. function F(e, t) {
  24775. t.bufferProcessing = !0
  24776. var r = t.bufferedRequest
  24777. if (e._writev && r && r.next) {
  24778. var n = t.bufferedRequestCount,
  24779. o = new Array(n),
  24780. a = t.corkedRequestsFree
  24781. a.entry = r
  24782. var s = 0,
  24783. l = !0
  24784. while (r) (o[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1)
  24785. ;(o.allBuffers = l),
  24786. R(e, t, !0, t.length, o, "", a.finish),
  24787. t.pendingcb++,
  24788. (t.lastBufferedRequest = null),
  24789. a.next ? ((t.corkedRequestsFree = a.next), (a.next = null)) : (t.corkedRequestsFree = new i(t)),
  24790. (t.bufferedRequestCount = 0)
  24791. } else {
  24792. while (r) {
  24793. var c = r.chunk,
  24794. u = r.encoding,
  24795. f = r.callback,
  24796. p = t.objectMode ? 1 : c.length
  24797. if ((R(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break
  24798. }
  24799. null === r && (t.lastBufferedRequest = null)
  24800. }
  24801. ;(t.bufferedRequest = r), (t.bufferProcessing = !1)
  24802. }
  24803. function U(e) {
  24804. return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing
  24805. }
  24806. function z(e, t) {
  24807. e._final(function (r) {
  24808. t.pendingcb--, r && E(e, r), (t.prefinished = !0), e.emit("prefinish"), G(e, t)
  24809. })
  24810. }
  24811. function q(e, t) {
  24812. t.prefinished ||
  24813. t.finalCalled ||
  24814. ("function" !== typeof e._final || t.destroyed
  24815. ? ((t.prefinished = !0), e.emit("prefinish"))
  24816. : (t.pendingcb++, (t.finalCalled = !0), r.nextTick(z, e, t)))
  24817. }
  24818. function G(e, t) {
  24819. var r = U(t)
  24820. if (r && (q(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"), t.autoDestroy))) {
  24821. var n = e._readableState
  24822. ;(!n || (n.autoDestroy && n.endEmitted)) && e.destroy()
  24823. }
  24824. return r
  24825. }
  24826. function W(e, t, n) {
  24827. ;(t.ending = !0), G(e, t), n && (t.finished ? r.nextTick(n) : e.once("finish", n)), (t.ended = !0), (e.writable = !1)
  24828. }
  24829. function V(e, t, r) {
  24830. var n = e.entry
  24831. e.entry = null
  24832. while (n) {
  24833. var i = n.callback
  24834. t.pendingcb--, i(r), (n = n.next)
  24835. }
  24836. t.corkedRequestsFree.next = e
  24837. }
  24838. e("inherits")(k, s),
  24839. (C.prototype.getBuffer = function () {
  24840. var e = this.bufferedRequest,
  24841. t = []
  24842. while (e) t.push(e), (e = e.next)
  24843. return t
  24844. }),
  24845. (function () {
  24846. try {
  24847. Object.defineProperty(C.prototype, "buffer", {
  24848. get: a.deprecate(
  24849. function () {
  24850. return this.getBuffer()
  24851. },
  24852. "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
  24853. "DEP0003"
  24854. )
  24855. })
  24856. } catch (e) {}
  24857. })(),
  24858. "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance]
  24859. ? ((p = Function.prototype[Symbol.hasInstance]),
  24860. Object.defineProperty(k, Symbol.hasInstance, {
  24861. value: function (e) {
  24862. return !!p.call(this, e) || (this === k && e && e._writableState instanceof C)
  24863. }
  24864. }))
  24865. : (p = function (e) {
  24866. return e instanceof this
  24867. }),
  24868. (k.prototype.pipe = function () {
  24869. E(this, new w())
  24870. }),
  24871. (k.prototype.write = function (e, t, r) {
  24872. var n = this._writableState,
  24873. i = !1,
  24874. o = !n.objectMode && f(e)
  24875. return (
  24876. o && !l.isBuffer(e) && (e = u(e)),
  24877. "function" === typeof t && ((r = t), (t = null)),
  24878. o ? (t = "buffer") : t || (t = n.defaultEncoding),
  24879. "function" !== typeof r && (r = S),
  24880. n.ending ? L(this, r) : (o || P(this, n, e, r)) && (n.pendingcb++, (i = j(this, n, o, e, t, r))),
  24881. i
  24882. )
  24883. }),
  24884. (k.prototype.cork = function () {
  24885. this._writableState.corked++
  24886. }),
  24887. (k.prototype.uncork = function () {
  24888. var e = this._writableState
  24889. e.corked && (e.corked--, e.writing || e.corked || e.bufferProcessing || !e.bufferedRequest || F(this, e))
  24890. }),
  24891. (k.prototype.setDefaultEncoding = function (e) {
  24892. if (
  24893. ("string" === typeof e && (e = e.toLowerCase()),
  24894. !(
  24895. ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf(
  24896. (e + "").toLowerCase()
  24897. ) > -1
  24898. ))
  24899. )
  24900. throw new T(e)
  24901. return (this._writableState.defaultEncoding = e), this
  24902. }),
  24903. Object.defineProperty(k.prototype, "writableBuffer", {
  24904. enumerable: !1,
  24905. get: function () {
  24906. return this._writableState && this._writableState.getBuffer()
  24907. }
  24908. }),
  24909. Object.defineProperty(k.prototype, "writableHighWaterMark", {
  24910. enumerable: !1,
  24911. get: function () {
  24912. return this._writableState.highWaterMark
  24913. }
  24914. }),
  24915. (k.prototype._write = function (e, t, r) {
  24916. r(new v("_write()"))
  24917. }),
  24918. (k.prototype._writev = null),
  24919. (k.prototype.end = function (e, t, r) {
  24920. var n = this._writableState
  24921. return (
  24922. "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)),
  24923. null !== e && void 0 !== e && this.write(e, t),
  24924. n.corked && ((n.corked = 1), this.uncork()),
  24925. n.ending || W(this, n, r),
  24926. this
  24927. )
  24928. }),
  24929. Object.defineProperty(k.prototype, "writableLength", {
  24930. enumerable: !1,
  24931. get: function () {
  24932. return this._writableState.length
  24933. }
  24934. }),
  24935. Object.defineProperty(k.prototype, "destroyed", {
  24936. enumerable: !1,
  24937. get: function () {
  24938. return void 0 !== this._writableState && this._writableState.destroyed
  24939. },
  24940. set: function (e) {
  24941. this._writableState && (this._writableState.destroyed = e)
  24942. }
  24943. }),
  24944. (k.prototype.destroy = d.destroy),
  24945. (k.prototype._undestroy = d.undestroy),
  24946. (k.prototype._destroy = function (e, t) {
  24947. t(e)
  24948. })
  24949. }).call(
  24950. this,
  24951. e("_process"),
  24952. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  24953. )
  24954. },
  24955. {
  24956. "../errors": 84,
  24957. "./_stream_duplex": 85,
  24958. "./internal/streams/destroy": 92,
  24959. "./internal/streams/state": 96,
  24960. "./internal/streams/stream": 97,
  24961. _process: 392,
  24962. buffer: 99,
  24963. inherits: 306,
  24964. "util-deprecate": 342
  24965. }
  24966. ],
  24967. 90: [
  24968. function (e, t, r) {
  24969. ;(function (r) {
  24970. "use strict"
  24971. var n
  24972. function i(e, t, r) {
  24973. return (
  24974. t in e
  24975. ? Object.defineProperty(e, t, {
  24976. value: r,
  24977. enumerable: !0,
  24978. configurable: !0,
  24979. writable: !0
  24980. })
  24981. : (e[t] = r),
  24982. e
  24983. )
  24984. }
  24985. var o = e("./end-of-stream"),
  24986. a = Symbol("lastResolve"),
  24987. s = Symbol("lastReject"),
  24988. l = Symbol("error"),
  24989. c = Symbol("ended"),
  24990. u = Symbol("lastPromise"),
  24991. f = Symbol("handlePromise"),
  24992. p = Symbol("stream")
  24993. function d(e, t) {
  24994. return {
  24995. value: e,
  24996. done: t
  24997. }
  24998. }
  24999. function h(e) {
  25000. var t = e[a]
  25001. if (null !== t) {
  25002. var r = e[p].read()
  25003. null !== r && ((e[u] = null), (e[a] = null), (e[s] = null), t(d(r, !1)))
  25004. }
  25005. }
  25006. function m(e) {
  25007. r.nextTick(h, e)
  25008. }
  25009. function g(e, t) {
  25010. return function (r, n) {
  25011. e.then(function () {
  25012. t[c] ? r(d(void 0, !0)) : t[f](r, n)
  25013. }, n)
  25014. }
  25015. }
  25016. var y = Object.getPrototypeOf(function () {}),
  25017. v = Object.setPrototypeOf(
  25018. ((n = {
  25019. get stream() {
  25020. return this[p]
  25021. },
  25022. next: function () {
  25023. var e = this,
  25024. t = this[l]
  25025. if (null !== t) return Promise.reject(t)
  25026. if (this[c]) return Promise.resolve(d(void 0, !0))
  25027. if (this[p].destroyed)
  25028. return new Promise(function (t, n) {
  25029. r.nextTick(function () {
  25030. e[l] ? n(e[l]) : t(d(void 0, !0))
  25031. })
  25032. })
  25033. var n,
  25034. i = this[u]
  25035. if (i) n = new Promise(g(i, this))
  25036. else {
  25037. var o = this[p].read()
  25038. if (null !== o) return Promise.resolve(d(o, !1))
  25039. n = new Promise(this[f])
  25040. }
  25041. return (this[u] = n), n
  25042. }
  25043. }),
  25044. i(n, Symbol.asyncIterator, function () {
  25045. return this
  25046. }),
  25047. i(n, "return", function () {
  25048. var e = this
  25049. return new Promise(function (t, r) {
  25050. e[p].destroy(null, function (e) {
  25051. e ? r(e) : t(d(void 0, !0))
  25052. })
  25053. })
  25054. }),
  25055. n),
  25056. y
  25057. ),
  25058. b = function (e) {
  25059. var t,
  25060. r = Object.create(
  25061. v,
  25062. ((t = {}),
  25063. i(t, p, {
  25064. value: e,
  25065. writable: !0
  25066. }),
  25067. i(t, a, {
  25068. value: null,
  25069. writable: !0
  25070. }),
  25071. i(t, s, {
  25072. value: null,
  25073. writable: !0
  25074. }),
  25075. i(t, l, {
  25076. value: null,
  25077. writable: !0
  25078. }),
  25079. i(t, c, {
  25080. value: e._readableState.endEmitted,
  25081. writable: !0
  25082. }),
  25083. i(t, f, {
  25084. value: function (e, t) {
  25085. var n = r[p].read()
  25086. n ? ((r[u] = null), (r[a] = null), (r[s] = null), e(d(n, !1))) : ((r[a] = e), (r[s] = t))
  25087. },
  25088. writable: !0
  25089. }),
  25090. t)
  25091. )
  25092. return (
  25093. (r[u] = null),
  25094. o(e, function (e) {
  25095. if (e && "ERR_STREAM_PREMATURE_CLOSE" !== e.code) {
  25096. var t = r[s]
  25097. return null !== t && ((r[u] = null), (r[a] = null), (r[s] = null), t(e)), void (r[l] = e)
  25098. }
  25099. var n = r[a]
  25100. null !== n && ((r[u] = null), (r[a] = null), (r[s] = null), n(d(void 0, !0))), (r[c] = !0)
  25101. }),
  25102. e.on("readable", m.bind(null, r)),
  25103. r
  25104. )
  25105. }
  25106. t.exports = b
  25107. }).call(this, e("_process"))
  25108. },
  25109. {
  25110. "./end-of-stream": 93,
  25111. _process: 392
  25112. }
  25113. ],
  25114. 91: [
  25115. function (e, t, r) {
  25116. "use strict"
  25117. function n(e, t) {
  25118. var r = Object.keys(e)
  25119. if (Object.getOwnPropertySymbols) {
  25120. var n = Object.getOwnPropertySymbols(e)
  25121. t &&
  25122. (n = n.filter(function (t) {
  25123. return Object.getOwnPropertyDescriptor(e, t).enumerable
  25124. })),
  25125. r.push.apply(r, n)
  25126. }
  25127. return r
  25128. }
  25129. function i(e) {
  25130. for (var t = 1; t < arguments.length; t++) {
  25131. var r = null != arguments[t] ? arguments[t] : {}
  25132. t % 2
  25133. ? n(Object(r), !0).forEach(function (t) {
  25134. o(e, t, r[t])
  25135. })
  25136. : Object.getOwnPropertyDescriptors
  25137. ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
  25138. : n(Object(r)).forEach(function (t) {
  25139. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
  25140. })
  25141. }
  25142. return e
  25143. }
  25144. function o(e, t, r) {
  25145. return (
  25146. t in e
  25147. ? Object.defineProperty(e, t, {
  25148. value: r,
  25149. enumerable: !0,
  25150. configurable: !0,
  25151. writable: !0
  25152. })
  25153. : (e[t] = r),
  25154. e
  25155. )
  25156. }
  25157. function a(e, t) {
  25158. if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  25159. }
  25160. function s(e, t) {
  25161. for (var r = 0; r < t.length; r++) {
  25162. var n = t[r]
  25163. ;(n.enumerable = n.enumerable || !1),
  25164. (n.configurable = !0),
  25165. "value" in n && (n.writable = !0),
  25166. Object.defineProperty(e, n.key, n)
  25167. }
  25168. }
  25169. function l(e, t, r) {
  25170. return t && s(e.prototype, t), r && s(e, r), e
  25171. }
  25172. var c = e("buffer"),
  25173. u = c.Buffer,
  25174. f = e("util"),
  25175. p = f.inspect,
  25176. d = (p && p.custom) || "inspect"
  25177. function h(e, t, r) {
  25178. u.prototype.copy.call(e, t, r)
  25179. }
  25180. t.exports = (function () {
  25181. function e() {
  25182. a(this, e), (this.head = null), (this.tail = null), (this.length = 0)
  25183. }
  25184. return (
  25185. l(e, [
  25186. {
  25187. key: "push",
  25188. value: function (e) {
  25189. var t = {
  25190. data: e,
  25191. next: null
  25192. }
  25193. this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length
  25194. }
  25195. },
  25196. {
  25197. key: "unshift",
  25198. value: function (e) {
  25199. var t = {
  25200. data: e,
  25201. next: this.head
  25202. }
  25203. 0 === this.length && (this.tail = t), (this.head = t), ++this.length
  25204. }
  25205. },
  25206. {
  25207. key: "shift",
  25208. value: function () {
  25209. if (0 !== this.length) {
  25210. var e = this.head.data
  25211. return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e
  25212. }
  25213. }
  25214. },
  25215. {
  25216. key: "clear",
  25217. value: function () {
  25218. ;(this.head = this.tail = null), (this.length = 0)
  25219. }
  25220. },
  25221. {
  25222. key: "join",
  25223. value: function (e) {
  25224. if (0 === this.length) return ""
  25225. var t = this.head,
  25226. r = "" + t.data
  25227. while ((t = t.next)) r += e + t.data
  25228. return r
  25229. }
  25230. },
  25231. {
  25232. key: "concat",
  25233. value: function (e) {
  25234. if (0 === this.length) return u.alloc(0)
  25235. var t = u.allocUnsafe(e >>> 0),
  25236. r = this.head,
  25237. n = 0
  25238. while (r) h(r.data, t, n), (n += r.data.length), (r = r.next)
  25239. return t
  25240. }
  25241. },
  25242. {
  25243. key: "consume",
  25244. value: function (e, t) {
  25245. var r
  25246. return (
  25247. e < this.head.data.length
  25248. ? ((r = this.head.data.slice(0, e)), (this.head.data = this.head.data.slice(e)))
  25249. : (r = e === this.head.data.length ? this.shift() : t ? this._getString(e) : this._getBuffer(e)),
  25250. r
  25251. )
  25252. }
  25253. },
  25254. {
  25255. key: "first",
  25256. value: function () {
  25257. return this.head.data
  25258. }
  25259. },
  25260. {
  25261. key: "_getString",
  25262. value: function (e) {
  25263. var t = this.head,
  25264. r = 1,
  25265. n = t.data
  25266. e -= n.length
  25267. while ((t = t.next)) {
  25268. var i = t.data,
  25269. o = e > i.length ? i.length : e
  25270. if ((o === i.length ? (n += i) : (n += i.slice(0, e)), (e -= o), 0 === e)) {
  25271. o === i.length
  25272. ? (++r, t.next ? (this.head = t.next) : (this.head = this.tail = null))
  25273. : ((this.head = t), (t.data = i.slice(o)))
  25274. break
  25275. }
  25276. ++r
  25277. }
  25278. return (this.length -= r), n
  25279. }
  25280. },
  25281. {
  25282. key: "_getBuffer",
  25283. value: function (e) {
  25284. var t = u.allocUnsafe(e),
  25285. r = this.head,
  25286. n = 1
  25287. r.data.copy(t), (e -= r.data.length)
  25288. while ((r = r.next)) {
  25289. var i = r.data,
  25290. o = e > i.length ? i.length : e
  25291. if ((i.copy(t, t.length - e, 0, o), (e -= o), 0 === e)) {
  25292. o === i.length
  25293. ? (++n, r.next ? (this.head = r.next) : (this.head = this.tail = null))
  25294. : ((this.head = r), (r.data = i.slice(o)))
  25295. break
  25296. }
  25297. ++n
  25298. }
  25299. return (this.length -= n), t
  25300. }
  25301. },
  25302. {
  25303. key: d,
  25304. value: function (e, t) {
  25305. return p(
  25306. this,
  25307. i({}, t, {
  25308. depth: 0,
  25309. customInspect: !1
  25310. })
  25311. )
  25312. }
  25313. }
  25314. ]),
  25315. e
  25316. )
  25317. })()
  25318. },
  25319. {
  25320. buffer: 99,
  25321. util: 79
  25322. }
  25323. ],
  25324. 92: [
  25325. function (e, t, r) {
  25326. ;(function (e) {
  25327. "use strict"
  25328. function r(t, r) {
  25329. var o = this,
  25330. s = this._readableState && this._readableState.destroyed,
  25331. l = this._writableState && this._writableState.destroyed
  25332. return s || l
  25333. ? (r
  25334. ? r(t)
  25335. : t &&
  25336. (this._writableState
  25337. ? this._writableState.errorEmitted || ((this._writableState.errorEmitted = !0), e.nextTick(a, this, t))
  25338. : e.nextTick(a, this, t)),
  25339. this)
  25340. : (this._readableState && (this._readableState.destroyed = !0),
  25341. this._writableState && (this._writableState.destroyed = !0),
  25342. this._destroy(t || null, function (t) {
  25343. !r && t
  25344. ? o._writableState
  25345. ? o._writableState.errorEmitted
  25346. ? e.nextTick(i, o)
  25347. : ((o._writableState.errorEmitted = !0), e.nextTick(n, o, t))
  25348. : e.nextTick(n, o, t)
  25349. : r
  25350. ? (e.nextTick(i, o), r(t))
  25351. : e.nextTick(i, o)
  25352. }),
  25353. this)
  25354. }
  25355. function n(e, t) {
  25356. a(e, t), i(e)
  25357. }
  25358. function i(e) {
  25359. ;(e._writableState && !e._writableState.emitClose) ||
  25360. (e._readableState && !e._readableState.emitClose) ||
  25361. e.emit("close")
  25362. }
  25363. function o() {
  25364. this._readableState &&
  25365. ((this._readableState.destroyed = !1),
  25366. (this._readableState.reading = !1),
  25367. (this._readableState.ended = !1),
  25368. (this._readableState.endEmitted = !1)),
  25369. this._writableState &&
  25370. ((this._writableState.destroyed = !1),
  25371. (this._writableState.ended = !1),
  25372. (this._writableState.ending = !1),
  25373. (this._writableState.finalCalled = !1),
  25374. (this._writableState.prefinished = !1),
  25375. (this._writableState.finished = !1),
  25376. (this._writableState.errorEmitted = !1))
  25377. }
  25378. function a(e, t) {
  25379. e.emit("error", t)
  25380. }
  25381. function s(e, t) {
  25382. var r = e._readableState,
  25383. n = e._writableState
  25384. ;(r && r.autoDestroy) || (n && n.autoDestroy) ? e.destroy(t) : e.emit("error", t)
  25385. }
  25386. t.exports = {
  25387. destroy: r,
  25388. undestroy: o,
  25389. errorOrDestroy: s
  25390. }
  25391. }).call(this, e("_process"))
  25392. },
  25393. {
  25394. _process: 392
  25395. }
  25396. ],
  25397. 93: [
  25398. function (e, t, r) {
  25399. "use strict"
  25400. var n = e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE
  25401. function i(e) {
  25402. var t = !1
  25403. return function () {
  25404. if (!t) {
  25405. t = !0
  25406. for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i]
  25407. e.apply(this, n)
  25408. }
  25409. }
  25410. }
  25411. function o() {}
  25412. function a(e) {
  25413. return e.setHeader && "function" === typeof e.abort
  25414. }
  25415. function s(e, t, r) {
  25416. if ("function" === typeof t) return s(e, null, t)
  25417. t || (t = {}), (r = i(r || o))
  25418. var l = t.readable || (!1 !== t.readable && e.readable),
  25419. c = t.writable || (!1 !== t.writable && e.writable),
  25420. u = function () {
  25421. e.writable || p()
  25422. },
  25423. f = e._writableState && e._writableState.finished,
  25424. p = function () {
  25425. ;(c = !1), (f = !0), l || r.call(e)
  25426. },
  25427. d = e._readableState && e._readableState.endEmitted,
  25428. h = function () {
  25429. ;(l = !1), (d = !0), c || r.call(e)
  25430. },
  25431. m = function (t) {
  25432. r.call(e, t)
  25433. },
  25434. g = function () {
  25435. var t
  25436. return l && !d
  25437. ? ((e._readableState && e._readableState.ended) || (t = new n()), r.call(e, t))
  25438. : c && !f
  25439. ? ((e._writableState && e._writableState.ended) || (t = new n()), r.call(e, t))
  25440. : void 0
  25441. },
  25442. y = function () {
  25443. e.req.on("finish", p)
  25444. }
  25445. return (
  25446. a(e)
  25447. ? (e.on("complete", p), e.on("abort", g), e.req ? y() : e.on("request", y))
  25448. : c && !e._writableState && (e.on("end", u), e.on("close", u)),
  25449. e.on("end", h),
  25450. e.on("finish", p),
  25451. !1 !== t.error && e.on("error", m),
  25452. e.on("close", g),
  25453. function () {
  25454. e.removeListener("complete", p),
  25455. e.removeListener("abort", g),
  25456. e.removeListener("request", y),
  25457. e.req && e.req.removeListener("finish", p),
  25458. e.removeListener("end", u),
  25459. e.removeListener("close", u),
  25460. e.removeListener("finish", p),
  25461. e.removeListener("end", h),
  25462. e.removeListener("error", m),
  25463. e.removeListener("close", g)
  25464. }
  25465. )
  25466. }
  25467. t.exports = s
  25468. },
  25469. {
  25470. "../../../errors": 84
  25471. }
  25472. ],
  25473. 94: [
  25474. function (e, t, r) {
  25475. t.exports = function () {
  25476. throw new Error("Readable.from is not available in the browser")
  25477. }
  25478. },
  25479. {}
  25480. ],
  25481. 95: [
  25482. function (e, t, r) {
  25483. "use strict"
  25484. var n
  25485. function i(e) {
  25486. var t = !1
  25487. return function () {
  25488. t || ((t = !0), e.apply(void 0, arguments))
  25489. }
  25490. }
  25491. var o = e("../../../errors").codes,
  25492. a = o.ERR_MISSING_ARGS,
  25493. s = o.ERR_STREAM_DESTROYED
  25494. function l(e) {
  25495. if (e) throw e
  25496. }
  25497. function c(e) {
  25498. return e.setHeader && "function" === typeof e.abort
  25499. }
  25500. function u(t, r, o, a) {
  25501. a = i(a)
  25502. var l = !1
  25503. t.on("close", function () {
  25504. l = !0
  25505. }),
  25506. void 0 === n && (n = e("./end-of-stream")),
  25507. n(
  25508. t,
  25509. {
  25510. readable: r,
  25511. writable: o
  25512. },
  25513. function (e) {
  25514. if (e) return a(e)
  25515. ;(l = !0), a()
  25516. }
  25517. )
  25518. var u = !1
  25519. return function (e) {
  25520. if (!l && !u)
  25521. return (u = !0), c(t) ? t.abort() : "function" === typeof t.destroy ? t.destroy() : void a(e || new s("pipe"))
  25522. }
  25523. }
  25524. function f(e) {
  25525. e()
  25526. }
  25527. function p(e, t) {
  25528. return e.pipe(t)
  25529. }
  25530. function d(e) {
  25531. return e.length ? ("function" !== typeof e[e.length - 1] ? l : e.pop()) : l
  25532. }
  25533. function h() {
  25534. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  25535. var n,
  25536. i = d(t)
  25537. if ((Array.isArray(t[0]) && (t = t[0]), t.length < 2)) throw new a("streams")
  25538. var o = t.map(function (e, r) {
  25539. var a = r < t.length - 1,
  25540. s = r > 0
  25541. return u(e, a, s, function (e) {
  25542. n || (n = e), e && o.forEach(f), a || (o.forEach(f), i(n))
  25543. })
  25544. })
  25545. return t.reduce(p)
  25546. }
  25547. t.exports = h
  25548. },
  25549. {
  25550. "../../../errors": 84,
  25551. "./end-of-stream": 93
  25552. }
  25553. ],
  25554. 96: [
  25555. function (e, t, r) {
  25556. "use strict"
  25557. var n = e("../../../errors").codes.ERR_INVALID_OPT_VALUE
  25558. function i(e, t, r) {
  25559. return null != e.highWaterMark ? e.highWaterMark : t ? e[r] : null
  25560. }
  25561. function o(e, t, r, o) {
  25562. var a = i(t, o, r)
  25563. if (null != a) {
  25564. if (!isFinite(a) || Math.floor(a) !== a || a < 0) {
  25565. var s = o ? r : "highWaterMark"
  25566. throw new n(s, a)
  25567. }
  25568. return Math.floor(a)
  25569. }
  25570. return e.objectMode ? 16 : 16384
  25571. }
  25572. t.exports = {
  25573. getHighWaterMark: o
  25574. }
  25575. },
  25576. {
  25577. "../../../errors": 84
  25578. }
  25579. ],
  25580. 97: [
  25581. function (e, t, r) {
  25582. t.exports = e("events").EventEmitter
  25583. },
  25584. {
  25585. events: 296
  25586. }
  25587. ],
  25588. 98: [
  25589. function (e, t, r) {
  25590. ;(r = t.exports = e("./lib/_stream_readable.js")),
  25591. (r.Stream = r),
  25592. (r.Readable = r),
  25593. (r.Writable = e("./lib/_stream_writable.js")),
  25594. (r.Duplex = e("./lib/_stream_duplex.js")),
  25595. (r.Transform = e("./lib/_stream_transform.js")),
  25596. (r.PassThrough = e("./lib/_stream_passthrough.js")),
  25597. (r.finished = e("./lib/internal/streams/end-of-stream.js")),
  25598. (r.pipeline = e("./lib/internal/streams/pipeline.js"))
  25599. },
  25600. {
  25601. "./lib/_stream_duplex.js": 85,
  25602. "./lib/_stream_passthrough.js": 86,
  25603. "./lib/_stream_readable.js": 87,
  25604. "./lib/_stream_transform.js": 88,
  25605. "./lib/_stream_writable.js": 89,
  25606. "./lib/internal/streams/end-of-stream.js": 93,
  25607. "./lib/internal/streams/pipeline.js": 95
  25608. }
  25609. ],
  25610. 99: [
  25611. function (e, t, r) {
  25612. ;(function (t) {
  25613. /*!
  25614. * The buffer module from node.js, for the browser.
  25615. *
  25616. * @author Feross Aboukhadijeh <https://feross.org>
  25617. * @license MIT
  25618. */
  25619. "use strict"
  25620. var n = e("base64-js"),
  25621. i = e("ieee754")
  25622. ;(r.Buffer = t), (r.SlowBuffer = y), (r.INSPECT_MAX_BYTES = 50)
  25623. var o = 2147483647
  25624. function a() {
  25625. try {
  25626. var e = new Uint8Array(1)
  25627. return (
  25628. (e.__proto__ = {
  25629. __proto__: Uint8Array.prototype,
  25630. foo: function () {
  25631. return 42
  25632. }
  25633. }),
  25634. 42 === e.foo()
  25635. )
  25636. } catch (t) {
  25637. return !1
  25638. }
  25639. }
  25640. function s(e) {
  25641. if (e > o) throw new RangeError('The value "' + e + '" is invalid for option "size"')
  25642. var r = new Uint8Array(e)
  25643. return (r.__proto__ = t.prototype), r
  25644. }
  25645. function t(e, t, r) {
  25646. if ("number" === typeof e) {
  25647. if ("string" === typeof t) throw new TypeError('The "string" argument must be of type string. Received type number')
  25648. return f(e)
  25649. }
  25650. return l(e, t, r)
  25651. }
  25652. function l(e, r, n) {
  25653. if ("string" === typeof e) return p(e, r)
  25654. if (ArrayBuffer.isView(e)) return d(e)
  25655. if (null == e)
  25656. throw TypeError(
  25657. "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
  25658. typeof e
  25659. )
  25660. if (Z(e, ArrayBuffer) || (e && Z(e.buffer, ArrayBuffer))) return h(e, r, n)
  25661. if ("number" === typeof e) throw new TypeError('The "value" argument must not be of type number. Received type number')
  25662. var i = e.valueOf && e.valueOf()
  25663. if (null != i && i !== e) return t.from(i, r, n)
  25664. var o = m(e)
  25665. if (o) return o
  25666. if ("undefined" !== typeof Symbol && null != Symbol.toPrimitive && "function" === typeof e[Symbol.toPrimitive])
  25667. return t.from(e[Symbol.toPrimitive]("string"), r, n)
  25668. throw new TypeError(
  25669. "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
  25670. typeof e
  25671. )
  25672. }
  25673. function c(e) {
  25674. if ("number" !== typeof e) throw new TypeError('"size" argument must be of type number')
  25675. if (e < 0) throw new RangeError('The value "' + e + '" is invalid for option "size"')
  25676. }
  25677. function u(e, t, r) {
  25678. return c(e), e <= 0 ? s(e) : void 0 !== t ? ("string" === typeof r ? s(e).fill(t, r) : s(e).fill(t)) : s(e)
  25679. }
  25680. function f(e) {
  25681. return c(e), s(e < 0 ? 0 : 0 | g(e))
  25682. }
  25683. function p(e, r) {
  25684. if ((("string" === typeof r && "" !== r) || (r = "utf8"), !t.isEncoding(r)))
  25685. throw new TypeError("Unknown encoding: " + r)
  25686. var n = 0 | v(e, r),
  25687. i = s(n),
  25688. o = i.write(e, r)
  25689. return o !== n && (i = i.slice(0, o)), i
  25690. }
  25691. function d(e) {
  25692. for (var t = e.length < 0 ? 0 : 0 | g(e.length), r = s(t), n = 0; n < t; n += 1) r[n] = 255 & e[n]
  25693. return r
  25694. }
  25695. function h(e, r, n) {
  25696. if (r < 0 || e.byteLength < r) throw new RangeError('"offset" is outside of buffer bounds')
  25697. if (e.byteLength < r + (n || 0)) throw new RangeError('"length" is outside of buffer bounds')
  25698. var i
  25699. return (
  25700. (i =
  25701. void 0 === r && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e, r) : new Uint8Array(e, r, n)),
  25702. (i.__proto__ = t.prototype),
  25703. i
  25704. )
  25705. }
  25706. function m(e) {
  25707. if (t.isBuffer(e)) {
  25708. var r = 0 | g(e.length),
  25709. n = s(r)
  25710. return 0 === n.length || e.copy(n, 0, 0, r), n
  25711. }
  25712. return void 0 !== e.length
  25713. ? "number" !== typeof e.length || Q(e.length)
  25714. ? s(0)
  25715. : d(e)
  25716. : "Buffer" === e.type && Array.isArray(e.data)
  25717. ? d(e.data)
  25718. : void 0
  25719. }
  25720. function g(e) {
  25721. if (e >= o) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes")
  25722. return 0 | e
  25723. }
  25724. function y(e) {
  25725. return +e != e && (e = 0), t.alloc(+e)
  25726. }
  25727. function v(e, r) {
  25728. if (t.isBuffer(e)) return e.length
  25729. if (ArrayBuffer.isView(e) || Z(e, ArrayBuffer)) return e.byteLength
  25730. if ("string" !== typeof e)
  25731. throw new TypeError(
  25732. 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof e
  25733. )
  25734. var n = e.length,
  25735. i = arguments.length > 2 && !0 === arguments[2]
  25736. if (!i && 0 === n) return 0
  25737. for (var o = !1; ; )
  25738. switch (r) {
  25739. case "ascii":
  25740. case "latin1":
  25741. case "binary":
  25742. return n
  25743. case "utf8":
  25744. case "utf-8":
  25745. return V(e).length
  25746. case "ucs2":
  25747. case "ucs-2":
  25748. case "utf16le":
  25749. case "utf-16le":
  25750. return 2 * n
  25751. case "hex":
  25752. return n >>> 1
  25753. case "base64":
  25754. return Y(e).length
  25755. default:
  25756. if (o) return i ? -1 : V(e).length
  25757. ;(r = ("" + r).toLowerCase()), (o = !0)
  25758. }
  25759. }
  25760. function b(e, t, r) {
  25761. var n = !1
  25762. if (((void 0 === t || t < 0) && (t = 0), t > this.length)) return ""
  25763. if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return ""
  25764. if (((r >>>= 0), (t >>>= 0), r <= t)) return ""
  25765. e || (e = "utf8")
  25766. while (1)
  25767. switch (e) {
  25768. case "hex":
  25769. return N(this, t, r)
  25770. case "utf8":
  25771. case "utf-8":
  25772. return P(this, t, r)
  25773. case "ascii":
  25774. return R(this, t, r)
  25775. case "latin1":
  25776. case "binary":
  25777. return I(this, t, r)
  25778. case "base64":
  25779. return L(this, t, r)
  25780. case "ucs2":
  25781. case "ucs-2":
  25782. case "utf16le":
  25783. case "utf-16le":
  25784. return M(this, t, r)
  25785. default:
  25786. if (n) throw new TypeError("Unknown encoding: " + e)
  25787. ;(e = (e + "").toLowerCase()), (n = !0)
  25788. }
  25789. }
  25790. function w(e, t, r) {
  25791. var n = e[t]
  25792. ;(e[t] = e[r]), (e[r] = n)
  25793. }
  25794. function x(e, r, n, i, o) {
  25795. if (0 === e.length) return -1
  25796. if (
  25797. ("string" === typeof n
  25798. ? ((i = n), (n = 0))
  25799. : n > 2147483647
  25800. ? (n = 2147483647)
  25801. : n < -2147483648 && (n = -2147483648),
  25802. (n = +n),
  25803. Q(n) && (n = o ? 0 : e.length - 1),
  25804. n < 0 && (n = e.length + n),
  25805. n >= e.length)
  25806. ) {
  25807. if (o) return -1
  25808. n = e.length - 1
  25809. } else if (n < 0) {
  25810. if (!o) return -1
  25811. n = 0
  25812. }
  25813. if (("string" === typeof r && (r = t.from(r, i)), t.isBuffer(r))) return 0 === r.length ? -1 : A(e, r, n, i, o)
  25814. if ("number" === typeof r)
  25815. return (
  25816. (r &= 255),
  25817. "function" === typeof Uint8Array.prototype.indexOf
  25818. ? o
  25819. ? Uint8Array.prototype.indexOf.call(e, r, n)
  25820. : Uint8Array.prototype.lastIndexOf.call(e, r, n)
  25821. : A(e, [r], n, i, o)
  25822. )
  25823. throw new TypeError("val must be string, number or Buffer")
  25824. }
  25825. function A(e, t, r, n, i) {
  25826. var o,
  25827. a = 1,
  25828. s = e.length,
  25829. l = t.length
  25830. if (
  25831. void 0 !== n &&
  25832. ((n = String(n).toLowerCase()), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)
  25833. ) {
  25834. if (e.length < 2 || t.length < 2) return -1
  25835. ;(a = 2), (s /= 2), (l /= 2), (r /= 2)
  25836. }
  25837. function c(e, t) {
  25838. return 1 === a ? e[t] : e.readUInt16BE(t * a)
  25839. }
  25840. if (i) {
  25841. var u = -1
  25842. for (o = r; o < s; o++)
  25843. if (c(e, o) === c(t, -1 === u ? 0 : o - u)) {
  25844. if ((-1 === u && (u = o), o - u + 1 === l)) return u * a
  25845. } else -1 !== u && (o -= o - u), (u = -1)
  25846. } else
  25847. for (r + l > s && (r = s - l), o = r; o >= 0; o--) {
  25848. for (var f = !0, p = 0; p < l; p++)
  25849. if (c(e, o + p) !== c(t, p)) {
  25850. f = !1
  25851. break
  25852. }
  25853. if (f) return o
  25854. }
  25855. return -1
  25856. }
  25857. function _(e, t, r, n) {
  25858. r = Number(r) || 0
  25859. var i = e.length - r
  25860. n ? ((n = Number(n)), n > i && (n = i)) : (n = i)
  25861. var o = t.length
  25862. n > o / 2 && (n = o / 2)
  25863. for (var a = 0; a < n; ++a) {
  25864. var s = parseInt(t.substr(2 * a, 2), 16)
  25865. if (Q(s)) return a
  25866. e[r + a] = s
  25867. }
  25868. return a
  25869. }
  25870. function T(e, t, r, n) {
  25871. return K(V(t, e.length - r), e, r, n)
  25872. }
  25873. function E(e, t, r, n) {
  25874. return K(H(t), e, r, n)
  25875. }
  25876. function S(e, t, r, n) {
  25877. return E(e, t, r, n)
  25878. }
  25879. function C(e, t, r, n) {
  25880. return K(Y(t), e, r, n)
  25881. }
  25882. function k(e, t, r, n) {
  25883. return K(X(t, e.length - r), e, r, n)
  25884. }
  25885. function L(e, t, r) {
  25886. return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r))
  25887. }
  25888. function P(e, t, r) {
  25889. r = Math.min(e.length, r)
  25890. var n = [],
  25891. i = t
  25892. while (i < r) {
  25893. var o,
  25894. a,
  25895. s,
  25896. l,
  25897. c = e[i],
  25898. u = null,
  25899. f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1
  25900. if (i + f <= r)
  25901. switch (f) {
  25902. case 1:
  25903. c < 128 && (u = c)
  25904. break
  25905. case 2:
  25906. ;(o = e[i + 1]), 128 === (192 & o) && ((l = ((31 & c) << 6) | (63 & o)), l > 127 && (u = l))
  25907. break
  25908. case 3:
  25909. ;(o = e[i + 1]),
  25910. (a = e[i + 2]),
  25911. 128 === (192 & o) &&
  25912. 128 === (192 & a) &&
  25913. ((l = ((15 & c) << 12) | ((63 & o) << 6) | (63 & a)), l > 2047 && (l < 55296 || l > 57343) && (u = l))
  25914. break
  25915. case 4:
  25916. ;(o = e[i + 1]),
  25917. (a = e[i + 2]),
  25918. (s = e[i + 3]),
  25919. 128 === (192 & o) &&
  25920. 128 === (192 & a) &&
  25921. 128 === (192 & s) &&
  25922. ((l = ((15 & c) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)),
  25923. l > 65535 && l < 1114112 && (u = l))
  25924. }
  25925. null === u
  25926. ? ((u = 65533), (f = 1))
  25927. : u > 65535 && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))),
  25928. n.push(u),
  25929. (i += f)
  25930. }
  25931. return j(n)
  25932. }
  25933. ;(r.kMaxLength = o),
  25934. (t.TYPED_ARRAY_SUPPORT = a()),
  25935. t.TYPED_ARRAY_SUPPORT ||
  25936. "undefined" === typeof console ||
  25937. "function" !== typeof console.error ||
  25938. console.error(
  25939. "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
  25940. ),
  25941. Object.defineProperty(t.prototype, "parent", {
  25942. enumerable: !0,
  25943. get: function () {
  25944. if (t.isBuffer(this)) return this.buffer
  25945. }
  25946. }),
  25947. Object.defineProperty(t.prototype, "offset", {
  25948. enumerable: !0,
  25949. get: function () {
  25950. if (t.isBuffer(this)) return this.byteOffset
  25951. }
  25952. }),
  25953. "undefined" !== typeof Symbol &&
  25954. null != Symbol.species &&
  25955. t[Symbol.species] === t &&
  25956. Object.defineProperty(t, Symbol.species, {
  25957. value: null,
  25958. configurable: !0,
  25959. enumerable: !1,
  25960. writable: !1
  25961. }),
  25962. (t.poolSize = 8192),
  25963. (t.from = function (e, t, r) {
  25964. return l(e, t, r)
  25965. }),
  25966. (t.prototype.__proto__ = Uint8Array.prototype),
  25967. (t.__proto__ = Uint8Array),
  25968. (t.alloc = function (e, t, r) {
  25969. return u(e, t, r)
  25970. }),
  25971. (t.allocUnsafe = function (e) {
  25972. return f(e)
  25973. }),
  25974. (t.allocUnsafeSlow = function (e) {
  25975. return f(e)
  25976. }),
  25977. (t.isBuffer = function (e) {
  25978. return null != e && !0 === e._isBuffer && e !== t.prototype
  25979. }),
  25980. (t.compare = function (e, r) {
  25981. if (
  25982. (Z(e, Uint8Array) && (e = t.from(e, e.offset, e.byteLength)),
  25983. Z(r, Uint8Array) && (r = t.from(r, r.offset, r.byteLength)),
  25984. !t.isBuffer(e) || !t.isBuffer(r))
  25985. )
  25986. throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array')
  25987. if (e === r) return 0
  25988. for (var n = e.length, i = r.length, o = 0, a = Math.min(n, i); o < a; ++o)
  25989. if (e[o] !== r[o]) {
  25990. ;(n = e[o]), (i = r[o])
  25991. break
  25992. }
  25993. return n < i ? -1 : i < n ? 1 : 0
  25994. }),
  25995. (t.isEncoding = function (e) {
  25996. switch (String(e).toLowerCase()) {
  25997. case "hex":
  25998. case "utf8":
  25999. case "utf-8":
  26000. case "ascii":
  26001. case "latin1":
  26002. case "binary":
  26003. case "base64":
  26004. case "ucs2":
  26005. case "ucs-2":
  26006. case "utf16le":
  26007. case "utf-16le":
  26008. return !0
  26009. default:
  26010. return !1
  26011. }
  26012. }),
  26013. (t.concat = function (e, r) {
  26014. if (!Array.isArray(e)) throw new TypeError('"list" argument must be an Array of Buffers')
  26015. if (0 === e.length) return t.alloc(0)
  26016. var n
  26017. if (void 0 === r) for (r = 0, n = 0; n < e.length; ++n) r += e[n].length
  26018. var i = t.allocUnsafe(r),
  26019. o = 0
  26020. for (n = 0; n < e.length; ++n) {
  26021. var a = e[n]
  26022. if ((Z(a, Uint8Array) && (a = t.from(a)), !t.isBuffer(a)))
  26023. throw new TypeError('"list" argument must be an Array of Buffers')
  26024. a.copy(i, o), (o += a.length)
  26025. }
  26026. return i
  26027. }),
  26028. (t.byteLength = v),
  26029. (t.prototype._isBuffer = !0),
  26030. (t.prototype.swap16 = function () {
  26031. var e = this.length
  26032. if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits")
  26033. for (var t = 0; t < e; t += 2) w(this, t, t + 1)
  26034. return this
  26035. }),
  26036. (t.prototype.swap32 = function () {
  26037. var e = this.length
  26038. if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits")
  26039. for (var t = 0; t < e; t += 4) w(this, t, t + 3), w(this, t + 1, t + 2)
  26040. return this
  26041. }),
  26042. (t.prototype.swap64 = function () {
  26043. var e = this.length
  26044. if (e % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits")
  26045. for (var t = 0; t < e; t += 8) w(this, t, t + 7), w(this, t + 1, t + 6), w(this, t + 2, t + 5), w(this, t + 3, t + 4)
  26046. return this
  26047. }),
  26048. (t.prototype.toString = function () {
  26049. var e = this.length
  26050. return 0 === e ? "" : 0 === arguments.length ? P(this, 0, e) : b.apply(this, arguments)
  26051. }),
  26052. (t.prototype.toLocaleString = t.prototype.toString),
  26053. (t.prototype.equals = function (e) {
  26054. if (!t.isBuffer(e)) throw new TypeError("Argument must be a Buffer")
  26055. return this === e || 0 === t.compare(this, e)
  26056. }),
  26057. (t.prototype.inspect = function () {
  26058. var e = "",
  26059. t = r.INSPECT_MAX_BYTES
  26060. return (
  26061. (e = this.toString("hex", 0, t)
  26062. .replace(/(.{2})/g, "$1 ")
  26063. .trim()),
  26064. this.length > t && (e += " ... "),
  26065. "<Buffer " + e + ">"
  26066. )
  26067. }),
  26068. (t.prototype.compare = function (e, r, n, i, o) {
  26069. if ((Z(e, Uint8Array) && (e = t.from(e, e.offset, e.byteLength)), !t.isBuffer(e)))
  26070. throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e)
  26071. if (
  26072. (void 0 === r && (r = 0),
  26073. void 0 === n && (n = e ? e.length : 0),
  26074. void 0 === i && (i = 0),
  26075. void 0 === o && (o = this.length),
  26076. r < 0 || n > e.length || i < 0 || o > this.length)
  26077. )
  26078. throw new RangeError("out of range index")
  26079. if (i >= o && r >= n) return 0
  26080. if (i >= o) return -1
  26081. if (r >= n) return 1
  26082. if (((r >>>= 0), (n >>>= 0), (i >>>= 0), (o >>>= 0), this === e)) return 0
  26083. for (var a = o - i, s = n - r, l = Math.min(a, s), c = this.slice(i, o), u = e.slice(r, n), f = 0; f < l; ++f)
  26084. if (c[f] !== u[f]) {
  26085. ;(a = c[f]), (s = u[f])
  26086. break
  26087. }
  26088. return a < s ? -1 : s < a ? 1 : 0
  26089. }),
  26090. (t.prototype.includes = function (e, t, r) {
  26091. return -1 !== this.indexOf(e, t, r)
  26092. }),
  26093. (t.prototype.indexOf = function (e, t, r) {
  26094. return x(this, e, t, r, !0)
  26095. }),
  26096. (t.prototype.lastIndexOf = function (e, t, r) {
  26097. return x(this, e, t, r, !1)
  26098. }),
  26099. (t.prototype.write = function (e, t, r, n) {
  26100. if (void 0 === t) (n = "utf8"), (r = this.length), (t = 0)
  26101. else if (void 0 === r && "string" === typeof t) (n = t), (r = this.length), (t = 0)
  26102. else {
  26103. if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")
  26104. ;(t >>>= 0), isFinite(r) ? ((r >>>= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0))
  26105. }
  26106. var i = this.length - t
  26107. if (((void 0 === r || r > i) && (r = i), (e.length > 0 && (r < 0 || t < 0)) || t > this.length))
  26108. throw new RangeError("Attempt to write outside buffer bounds")
  26109. n || (n = "utf8")
  26110. for (var o = !1; ; )
  26111. switch (n) {
  26112. case "hex":
  26113. return _(this, e, t, r)
  26114. case "utf8":
  26115. case "utf-8":
  26116. return T(this, e, t, r)
  26117. case "ascii":
  26118. return E(this, e, t, r)
  26119. case "latin1":
  26120. case "binary":
  26121. return S(this, e, t, r)
  26122. case "base64":
  26123. return C(this, e, t, r)
  26124. case "ucs2":
  26125. case "ucs-2":
  26126. case "utf16le":
  26127. case "utf-16le":
  26128. return k(this, e, t, r)
  26129. default:
  26130. if (o) throw new TypeError("Unknown encoding: " + n)
  26131. ;(n = ("" + n).toLowerCase()), (o = !0)
  26132. }
  26133. }),
  26134. (t.prototype.toJSON = function () {
  26135. return {
  26136. type: "Buffer",
  26137. data: Array.prototype.slice.call(this._arr || this, 0)
  26138. }
  26139. })
  26140. var O = 4096
  26141. function j(e) {
  26142. var t = e.length
  26143. if (t <= O) return String.fromCharCode.apply(String, e)
  26144. var r = "",
  26145. n = 0
  26146. while (n < t) r += String.fromCharCode.apply(String, e.slice(n, (n += O)))
  26147. return r
  26148. }
  26149. function R(e, t, r) {
  26150. var n = ""
  26151. r = Math.min(e.length, r)
  26152. for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i])
  26153. return n
  26154. }
  26155. function I(e, t, r) {
  26156. var n = ""
  26157. r = Math.min(e.length, r)
  26158. for (var i = t; i < r; ++i) n += String.fromCharCode(e[i])
  26159. return n
  26160. }
  26161. function N(e, t, r) {
  26162. var n = e.length
  26163. ;(!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n)
  26164. for (var i = "", o = t; o < r; ++o) i += W(e[o])
  26165. return i
  26166. }
  26167. function M(e, t, r) {
  26168. for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1])
  26169. return i
  26170. }
  26171. function D(e, t, r) {
  26172. if (e % 1 !== 0 || e < 0) throw new RangeError("offset is not uint")
  26173. if (e + t > r) throw new RangeError("Trying to access beyond buffer length")
  26174. }
  26175. function B(e, r, n, i, o, a) {
  26176. if (!t.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance')
  26177. if (r > o || r < a) throw new RangeError('"value" argument is out of bounds')
  26178. if (n + i > e.length) throw new RangeError("Index out of range")
  26179. }
  26180. function F(e, t, r, n, i, o) {
  26181. if (r + n > e.length) throw new RangeError("Index out of range")
  26182. if (r < 0) throw new RangeError("Index out of range")
  26183. }
  26184. function U(e, t, r, n, o) {
  26185. return (
  26186. (t = +t),
  26187. (r >>>= 0),
  26188. o || F(e, t, r, 4, 34028234663852886e22, -34028234663852886e22),
  26189. i.write(e, t, r, n, 23, 4),
  26190. r + 4
  26191. )
  26192. }
  26193. function z(e, t, r, n, o) {
  26194. return (
  26195. (t = +t),
  26196. (r >>>= 0),
  26197. o || F(e, t, r, 8, 17976931348623157e292, -17976931348623157e292),
  26198. i.write(e, t, r, n, 52, 8),
  26199. r + 8
  26200. )
  26201. }
  26202. ;(t.prototype.slice = function (e, r) {
  26203. var n = this.length
  26204. ;(e = ~~e),
  26205. (r = void 0 === r ? n : ~~r),
  26206. e < 0 ? ((e += n), e < 0 && (e = 0)) : e > n && (e = n),
  26207. r < 0 ? ((r += n), r < 0 && (r = 0)) : r > n && (r = n),
  26208. r < e && (r = e)
  26209. var i = this.subarray(e, r)
  26210. return (i.__proto__ = t.prototype), i
  26211. }),
  26212. (t.prototype.readUIntLE = function (e, t, r) {
  26213. ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
  26214. var n = this[e],
  26215. i = 1,
  26216. o = 0
  26217. while (++o < t && (i *= 256)) n += this[e + o] * i
  26218. return n
  26219. }),
  26220. (t.prototype.readUIntBE = function (e, t, r) {
  26221. ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
  26222. var n = this[e + --t],
  26223. i = 1
  26224. while (t > 0 && (i *= 256)) n += this[e + --t] * i
  26225. return n
  26226. }),
  26227. (t.prototype.readUInt8 = function (e, t) {
  26228. return (e >>>= 0), t || D(e, 1, this.length), this[e]
  26229. }),
  26230. (t.prototype.readUInt16LE = function (e, t) {
  26231. return (e >>>= 0), t || D(e, 2, this.length), this[e] | (this[e + 1] << 8)
  26232. }),
  26233. (t.prototype.readUInt16BE = function (e, t) {
  26234. return (e >>>= 0), t || D(e, 2, this.length), (this[e] << 8) | this[e + 1]
  26235. }),
  26236. (t.prototype.readUInt32LE = function (e, t) {
  26237. return (
  26238. (e >>>= 0),
  26239. t || D(e, 4, this.length),
  26240. (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3]
  26241. )
  26242. }),
  26243. (t.prototype.readUInt32BE = function (e, t) {
  26244. return (
  26245. (e >>>= 0),
  26246. t || D(e, 4, this.length),
  26247. 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3])
  26248. )
  26249. }),
  26250. (t.prototype.readIntLE = function (e, t, r) {
  26251. ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
  26252. var n = this[e],
  26253. i = 1,
  26254. o = 0
  26255. while (++o < t && (i *= 256)) n += this[e + o] * i
  26256. return (i *= 128), n >= i && (n -= Math.pow(2, 8 * t)), n
  26257. }),
  26258. (t.prototype.readIntBE = function (e, t, r) {
  26259. ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
  26260. var n = t,
  26261. i = 1,
  26262. o = this[e + --n]
  26263. while (n > 0 && (i *= 256)) o += this[e + --n] * i
  26264. return (i *= 128), o >= i && (o -= Math.pow(2, 8 * t)), o
  26265. }),
  26266. (t.prototype.readInt8 = function (e, t) {
  26267. return (e >>>= 0), t || D(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e]
  26268. }),
  26269. (t.prototype.readInt16LE = function (e, t) {
  26270. ;(e >>>= 0), t || D(e, 2, this.length)
  26271. var r = this[e] | (this[e + 1] << 8)
  26272. return 32768 & r ? 4294901760 | r : r
  26273. }),
  26274. (t.prototype.readInt16BE = function (e, t) {
  26275. ;(e >>>= 0), t || D(e, 2, this.length)
  26276. var r = this[e + 1] | (this[e] << 8)
  26277. return 32768 & r ? 4294901760 | r : r
  26278. }),
  26279. (t.prototype.readInt32LE = function (e, t) {
  26280. return (
  26281. (e >>>= 0), t || D(e, 4, this.length), this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24)
  26282. )
  26283. }),
  26284. (t.prototype.readInt32BE = function (e, t) {
  26285. return (
  26286. (e >>>= 0), t || D(e, 4, this.length), (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]
  26287. )
  26288. }),
  26289. (t.prototype.readFloatLE = function (e, t) {
  26290. return (e >>>= 0), t || D(e, 4, this.length), i.read(this, e, !0, 23, 4)
  26291. }),
  26292. (t.prototype.readFloatBE = function (e, t) {
  26293. return (e >>>= 0), t || D(e, 4, this.length), i.read(this, e, !1, 23, 4)
  26294. }),
  26295. (t.prototype.readDoubleLE = function (e, t) {
  26296. return (e >>>= 0), t || D(e, 8, this.length), i.read(this, e, !0, 52, 8)
  26297. }),
  26298. (t.prototype.readDoubleBE = function (e, t) {
  26299. return (e >>>= 0), t || D(e, 8, this.length), i.read(this, e, !1, 52, 8)
  26300. }),
  26301. (t.prototype.writeUIntLE = function (e, t, r, n) {
  26302. if (((e = +e), (t >>>= 0), (r >>>= 0), !n)) {
  26303. var i = Math.pow(2, 8 * r) - 1
  26304. B(this, e, t, r, i, 0)
  26305. }
  26306. var o = 1,
  26307. a = 0
  26308. this[t] = 255 & e
  26309. while (++a < r && (o *= 256)) this[t + a] = (e / o) & 255
  26310. return t + r
  26311. }),
  26312. (t.prototype.writeUIntBE = function (e, t, r, n) {
  26313. if (((e = +e), (t >>>= 0), (r >>>= 0), !n)) {
  26314. var i = Math.pow(2, 8 * r) - 1
  26315. B(this, e, t, r, i, 0)
  26316. }
  26317. var o = r - 1,
  26318. a = 1
  26319. this[t + o] = 255 & e
  26320. while (--o >= 0 && (a *= 256)) this[t + o] = (e / a) & 255
  26321. return t + r
  26322. }),
  26323. (t.prototype.writeUInt8 = function (e, t, r) {
  26324. return (e = +e), (t >>>= 0), r || B(this, e, t, 1, 255, 0), (this[t] = 255 & e), t + 1
  26325. }),
  26326. (t.prototype.writeUInt16LE = function (e, t, r) {
  26327. return (e = +e), (t >>>= 0), r || B(this, e, t, 2, 65535, 0), (this[t] = 255 & e), (this[t + 1] = e >>> 8), t + 2
  26328. }),
  26329. (t.prototype.writeUInt16BE = function (e, t, r) {
  26330. return (e = +e), (t >>>= 0), r || B(this, e, t, 2, 65535, 0), (this[t] = e >>> 8), (this[t + 1] = 255 & e), t + 2
  26331. }),
  26332. (t.prototype.writeUInt32LE = function (e, t, r) {
  26333. return (
  26334. (e = +e),
  26335. (t >>>= 0),
  26336. r || B(this, e, t, 4, 4294967295, 0),
  26337. (this[t + 3] = e >>> 24),
  26338. (this[t + 2] = e >>> 16),
  26339. (this[t + 1] = e >>> 8),
  26340. (this[t] = 255 & e),
  26341. t + 4
  26342. )
  26343. }),
  26344. (t.prototype.writeUInt32BE = function (e, t, r) {
  26345. return (
  26346. (e = +e),
  26347. (t >>>= 0),
  26348. r || B(this, e, t, 4, 4294967295, 0),
  26349. (this[t] = e >>> 24),
  26350. (this[t + 1] = e >>> 16),
  26351. (this[t + 2] = e >>> 8),
  26352. (this[t + 3] = 255 & e),
  26353. t + 4
  26354. )
  26355. }),
  26356. (t.prototype.writeIntLE = function (e, t, r, n) {
  26357. if (((e = +e), (t >>>= 0), !n)) {
  26358. var i = Math.pow(2, 8 * r - 1)
  26359. B(this, e, t, r, i - 1, -i)
  26360. }
  26361. var o = 0,
  26362. a = 1,
  26363. s = 0
  26364. this[t] = 255 & e
  26365. while (++o < r && (a *= 256))
  26366. e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
  26367. return t + r
  26368. }),
  26369. (t.prototype.writeIntBE = function (e, t, r, n) {
  26370. if (((e = +e), (t >>>= 0), !n)) {
  26371. var i = Math.pow(2, 8 * r - 1)
  26372. B(this, e, t, r, i - 1, -i)
  26373. }
  26374. var o = r - 1,
  26375. a = 1,
  26376. s = 0
  26377. this[t + o] = 255 & e
  26378. while (--o >= 0 && (a *= 256))
  26379. e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
  26380. return t + r
  26381. }),
  26382. (t.prototype.writeInt8 = function (e, t, r) {
  26383. return (e = +e), (t >>>= 0), r || B(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), (this[t] = 255 & e), t + 1
  26384. }),
  26385. (t.prototype.writeInt16LE = function (e, t, r) {
  26386. return (
  26387. (e = +e), (t >>>= 0), r || B(this, e, t, 2, 32767, -32768), (this[t] = 255 & e), (this[t + 1] = e >>> 8), t + 2
  26388. )
  26389. }),
  26390. (t.prototype.writeInt16BE = function (e, t, r) {
  26391. return (
  26392. (e = +e), (t >>>= 0), r || B(this, e, t, 2, 32767, -32768), (this[t] = e >>> 8), (this[t + 1] = 255 & e), t + 2
  26393. )
  26394. }),
  26395. (t.prototype.writeInt32LE = function (e, t, r) {
  26396. return (
  26397. (e = +e),
  26398. (t >>>= 0),
  26399. r || B(this, e, t, 4, 2147483647, -2147483648),
  26400. (this[t] = 255 & e),
  26401. (this[t + 1] = e >>> 8),
  26402. (this[t + 2] = e >>> 16),
  26403. (this[t + 3] = e >>> 24),
  26404. t + 4
  26405. )
  26406. }),
  26407. (t.prototype.writeInt32BE = function (e, t, r) {
  26408. return (
  26409. (e = +e),
  26410. (t >>>= 0),
  26411. r || B(this, e, t, 4, 2147483647, -2147483648),
  26412. e < 0 && (e = 4294967295 + e + 1),
  26413. (this[t] = e >>> 24),
  26414. (this[t + 1] = e >>> 16),
  26415. (this[t + 2] = e >>> 8),
  26416. (this[t + 3] = 255 & e),
  26417. t + 4
  26418. )
  26419. }),
  26420. (t.prototype.writeFloatLE = function (e, t, r) {
  26421. return U(this, e, t, !0, r)
  26422. }),
  26423. (t.prototype.writeFloatBE = function (e, t, r) {
  26424. return U(this, e, t, !1, r)
  26425. }),
  26426. (t.prototype.writeDoubleLE = function (e, t, r) {
  26427. return z(this, e, t, !0, r)
  26428. }),
  26429. (t.prototype.writeDoubleBE = function (e, t, r) {
  26430. return z(this, e, t, !1, r)
  26431. }),
  26432. (t.prototype.copy = function (e, r, n, i) {
  26433. if (!t.isBuffer(e)) throw new TypeError("argument should be a Buffer")
  26434. if (
  26435. (n || (n = 0),
  26436. i || 0 === i || (i = this.length),
  26437. r >= e.length && (r = e.length),
  26438. r || (r = 0),
  26439. i > 0 && i < n && (i = n),
  26440. i === n)
  26441. )
  26442. return 0
  26443. if (0 === e.length || 0 === this.length) return 0
  26444. if (r < 0) throw new RangeError("targetStart out of bounds")
  26445. if (n < 0 || n >= this.length) throw new RangeError("Index out of range")
  26446. if (i < 0) throw new RangeError("sourceEnd out of bounds")
  26447. i > this.length && (i = this.length), e.length - r < i - n && (i = e.length - r + n)
  26448. var o = i - n
  26449. if (this === e && "function" === typeof Uint8Array.prototype.copyWithin) this.copyWithin(r, n, i)
  26450. else if (this === e && n < r && r < i) for (var a = o - 1; a >= 0; --a) e[a + r] = this[a + n]
  26451. else Uint8Array.prototype.set.call(e, this.subarray(n, i), r)
  26452. return o
  26453. }),
  26454. (t.prototype.fill = function (e, r, n, i) {
  26455. if ("string" === typeof e) {
  26456. if (
  26457. ("string" === typeof r
  26458. ? ((i = r), (r = 0), (n = this.length))
  26459. : "string" === typeof n && ((i = n), (n = this.length)),
  26460. void 0 !== i && "string" !== typeof i)
  26461. )
  26462. throw new TypeError("encoding must be a string")
  26463. if ("string" === typeof i && !t.isEncoding(i)) throw new TypeError("Unknown encoding: " + i)
  26464. if (1 === e.length) {
  26465. var o = e.charCodeAt(0)
  26466. ;(("utf8" === i && o < 128) || "latin1" === i) && (e = o)
  26467. }
  26468. } else "number" === typeof e && (e &= 255)
  26469. if (r < 0 || this.length < r || this.length < n) throw new RangeError("Out of range index")
  26470. if (n <= r) return this
  26471. var a
  26472. if (((r >>>= 0), (n = void 0 === n ? this.length : n >>> 0), e || (e = 0), "number" === typeof e))
  26473. for (a = r; a < n; ++a) this[a] = e
  26474. else {
  26475. var s = t.isBuffer(e) ? e : t.from(e, i),
  26476. l = s.length
  26477. if (0 === l) throw new TypeError('The value "' + e + '" is invalid for argument "value"')
  26478. for (a = 0; a < n - r; ++a) this[a + r] = s[a % l]
  26479. }
  26480. return this
  26481. })
  26482. var q = /[^+/0-9A-Za-z-_]/g
  26483. function G(e) {
  26484. if (((e = e.split("=")[0]), (e = e.trim().replace(q, "")), e.length < 2)) return ""
  26485. while (e.length % 4 !== 0) e += "="
  26486. return e
  26487. }
  26488. function W(e) {
  26489. return e < 16 ? "0" + e.toString(16) : e.toString(16)
  26490. }
  26491. function V(e, t) {
  26492. var r
  26493. t = t || 1 / 0
  26494. for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) {
  26495. if (((r = e.charCodeAt(a)), r > 55295 && r < 57344)) {
  26496. if (!i) {
  26497. if (r > 56319) {
  26498. ;(t -= 3) > -1 && o.push(239, 191, 189)
  26499. continue
  26500. }
  26501. if (a + 1 === n) {
  26502. ;(t -= 3) > -1 && o.push(239, 191, 189)
  26503. continue
  26504. }
  26505. i = r
  26506. continue
  26507. }
  26508. if (r < 56320) {
  26509. ;(t -= 3) > -1 && o.push(239, 191, 189), (i = r)
  26510. continue
  26511. }
  26512. r = 65536 + (((i - 55296) << 10) | (r - 56320))
  26513. } else i && (t -= 3) > -1 && o.push(239, 191, 189)
  26514. if (((i = null), r < 128)) {
  26515. if ((t -= 1) < 0) break
  26516. o.push(r)
  26517. } else if (r < 2048) {
  26518. if ((t -= 2) < 0) break
  26519. o.push((r >> 6) | 192, (63 & r) | 128)
  26520. } else if (r < 65536) {
  26521. if ((t -= 3) < 0) break
  26522. o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128)
  26523. } else {
  26524. if (!(r < 1114112)) throw new Error("Invalid code point")
  26525. if ((t -= 4) < 0) break
  26526. o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128)
  26527. }
  26528. }
  26529. return o
  26530. }
  26531. function H(e) {
  26532. for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r))
  26533. return t
  26534. }
  26535. function X(e, t) {
  26536. for (var r, n, i, o = [], a = 0; a < e.length; ++a) {
  26537. if ((t -= 2) < 0) break
  26538. ;(r = e.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n)
  26539. }
  26540. return o
  26541. }
  26542. function Y(e) {
  26543. return n.toByteArray(G(e))
  26544. }
  26545. function K(e, t, r, n) {
  26546. for (var i = 0; i < n; ++i) {
  26547. if (i + r >= t.length || i >= e.length) break
  26548. t[i + r] = e[i]
  26549. }
  26550. return i
  26551. }
  26552. function Z(e, t) {
  26553. return (
  26554. e instanceof t || (null != e && null != e.constructor && null != e.constructor.name && e.constructor.name === t.name)
  26555. )
  26556. }
  26557. function Q(e) {
  26558. return e !== e
  26559. }
  26560. }).call(this, e("buffer").Buffer)
  26561. },
  26562. {
  26563. "base64-js": 77,
  26564. buffer: 99,
  26565. ieee754: 299
  26566. }
  26567. ],
  26568. 100: [
  26569. function (e, t, r) {
  26570. t.exports = {
  26571. 100: "Continue",
  26572. 101: "Switching Protocols",
  26573. 102: "Processing",
  26574. 200: "OK",
  26575. 201: "Created",
  26576. 202: "Accepted",
  26577. 203: "Non-Authoritative Information",
  26578. 204: "No Content",
  26579. 205: "Reset Content",
  26580. 206: "Partial Content",
  26581. 207: "Multi-Status",
  26582. 208: "Already Reported",
  26583. 226: "IM Used",
  26584. 300: "Multiple Choices",
  26585. 301: "Moved Permanently",
  26586. 302: "Found",
  26587. 303: "See Other",
  26588. 304: "Not Modified",
  26589. 305: "Use Proxy",
  26590. 307: "Temporary Redirect",
  26591. 308: "Permanent Redirect",
  26592. 400: "Bad Request",
  26593. 401: "Unauthorized",
  26594. 402: "Payment Required",
  26595. 403: "Forbidden",
  26596. 404: "Not Found",
  26597. 405: "Method Not Allowed",
  26598. 406: "Not Acceptable",
  26599. 407: "Proxy Authentication Required",
  26600. 408: "Request Timeout",
  26601. 409: "Conflict",
  26602. 410: "Gone",
  26603. 411: "Length Required",
  26604. 412: "Precondition Failed",
  26605. 413: "Payload Too Large",
  26606. 414: "URI Too Long",
  26607. 415: "Unsupported Media Type",
  26608. 416: "Range Not Satisfiable",
  26609. 417: "Expectation Failed",
  26610. 418: "I'm a teapot",
  26611. 421: "Misdirected Request",
  26612. 422: "Unprocessable Entity",
  26613. 423: "Locked",
  26614. 424: "Failed Dependency",
  26615. 425: "Unordered Collection",
  26616. 426: "Upgrade Required",
  26617. 428: "Precondition Required",
  26618. 429: "Too Many Requests",
  26619. 431: "Request Header Fields Too Large",
  26620. 451: "Unavailable For Legal Reasons",
  26621. 500: "Internal Server Error",
  26622. 501: "Not Implemented",
  26623. 502: "Bad Gateway",
  26624. 503: "Service Unavailable",
  26625. 504: "Gateway Timeout",
  26626. 505: "HTTP Version Not Supported",
  26627. 506: "Variant Also Negotiates",
  26628. 507: "Insufficient Storage",
  26629. 508: "Loop Detected",
  26630. 509: "Bandwidth Limit Exceeded",
  26631. 510: "Not Extended",
  26632. 511: "Network Authentication Required"
  26633. }
  26634. },
  26635. {}
  26636. ],
  26637. 101: [
  26638. function (e, t, r) {
  26639. /*!
  26640. * copy-to - index.js
  26641. * Copyright(c) 2014 dead_horse <dead_horse@qq.com>
  26642. * MIT Licensed
  26643. */
  26644. "use strict"
  26645. var n = Array.prototype.slice
  26646. function i(e, t) {
  26647. if (!(this instanceof i)) return new i(e, t)
  26648. ;(this.src = e), (this._withAccess = t)
  26649. }
  26650. function o(e, t) {
  26651. return void 0 === e[t] && void 0 === e.__lookupGetter__(t) && void 0 === e.__lookupSetter__(t)
  26652. }
  26653. ;(t.exports = i),
  26654. (i.prototype.withAccess = function (e) {
  26655. return (this._withAccess = !1 !== e), this
  26656. }),
  26657. (i.prototype.pick = function (e) {
  26658. return Array.isArray(e) || (e = n.call(arguments)), e.length && (this.keys = e), this
  26659. }),
  26660. (i.prototype.to = function (e) {
  26661. if (((e = e || {}), !this.src)) return e
  26662. var t = this.keys || Object.keys(this.src)
  26663. if (!this._withAccess) {
  26664. for (var r = 0; r < t.length; r++) (n = t[r]), void 0 === e[n] && (e[n] = this.src[n])
  26665. return e
  26666. }
  26667. for (r = 0; r < t.length; r++) {
  26668. var n = t[r]
  26669. if (o(e, n)) {
  26670. var i = this.src.__lookupGetter__(n),
  26671. a = this.src.__lookupSetter__(n)
  26672. i && e.__defineGetter__(n, i), a && e.__defineSetter__(n, a), i || a || (e[n] = this.src[n])
  26673. }
  26674. }
  26675. return e
  26676. }),
  26677. (i.prototype.toCover = function (e) {
  26678. for (var t = this.keys || Object.keys(this.src), r = 0; r < t.length; r++) {
  26679. var n = t[r]
  26680. delete e[n]
  26681. var i = this.src.__lookupGetter__(n),
  26682. o = this.src.__lookupSetter__(n)
  26683. i && e.__defineGetter__(n, i), o && e.__defineSetter__(n, o), i || o || (e[n] = this.src[n])
  26684. }
  26685. }),
  26686. (i.prototype.override = i.prototype.toCover),
  26687. (i.prototype.and = function (e) {
  26688. var t = {}
  26689. return this.to(t), (this.src = e), this.to(t), (this.src = t), this
  26690. })
  26691. },
  26692. {}
  26693. ],
  26694. 102: [
  26695. function (e, t, r) {
  26696. t.exports = function (e) {
  26697. if ("function" != typeof e) throw TypeError(String(e) + " is not a function")
  26698. return e
  26699. }
  26700. },
  26701. {}
  26702. ],
  26703. 103: [
  26704. function (e, t, r) {
  26705. var n = e("../internals/is-object")
  26706. t.exports = function (e) {
  26707. if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype")
  26708. return e
  26709. }
  26710. },
  26711. {
  26712. "../internals/is-object": 164
  26713. }
  26714. ],
  26715. 104: [
  26716. function (e, t, r) {
  26717. var n = e("../internals/well-known-symbol"),
  26718. i = e("../internals/object-create"),
  26719. o = e("../internals/object-define-property"),
  26720. a = n("unscopables"),
  26721. s = Array.prototype
  26722. void 0 == s[a] &&
  26723. o.f(s, a, {
  26724. configurable: !0,
  26725. value: i(null)
  26726. }),
  26727. (t.exports = function (e) {
  26728. s[a][e] = !0
  26729. })
  26730. },
  26731. {
  26732. "../internals/object-create": 178,
  26733. "../internals/object-define-property": 180,
  26734. "../internals/well-known-symbol": 231
  26735. }
  26736. ],
  26737. 105: [
  26738. function (e, t, r) {
  26739. "use strict"
  26740. var n = e("../internals/string-multibyte").charAt
  26741. t.exports = function (e, t, r) {
  26742. return t + (r ? n(e, t).length : 1)
  26743. }
  26744. },
  26745. {
  26746. "../internals/string-multibyte": 211
  26747. }
  26748. ],
  26749. 106: [
  26750. function (e, t, r) {
  26751. t.exports = function (e, t, r) {
  26752. if (!(e instanceof t)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation")
  26753. return e
  26754. }
  26755. },
  26756. {}
  26757. ],
  26758. 107: [
  26759. function (e, t, r) {
  26760. var n = e("../internals/is-object")
  26761. t.exports = function (e) {
  26762. if (!n(e)) throw TypeError(String(e) + " is not an object")
  26763. return e
  26764. }
  26765. },
  26766. {
  26767. "../internals/is-object": 164
  26768. }
  26769. ],
  26770. 108: [
  26771. function (e, t, r) {
  26772. t.exports = "undefined" !== typeof ArrayBuffer && "undefined" !== typeof DataView
  26773. },
  26774. {}
  26775. ],
  26776. 109: [
  26777. function (e, t, r) {
  26778. "use strict"
  26779. var n,
  26780. i = e("../internals/array-buffer-native"),
  26781. o = e("../internals/descriptors"),
  26782. a = e("../internals/global"),
  26783. s = e("../internals/is-object"),
  26784. l = e("../internals/has"),
  26785. c = e("../internals/classof"),
  26786. u = e("../internals/create-non-enumerable-property"),
  26787. f = e("../internals/redefine"),
  26788. p = e("../internals/object-define-property").f,
  26789. d = e("../internals/object-get-prototype-of"),
  26790. h = e("../internals/object-set-prototype-of"),
  26791. m = e("../internals/well-known-symbol"),
  26792. g = e("../internals/uid"),
  26793. y = a.Int8Array,
  26794. v = y && y.prototype,
  26795. b = a.Uint8ClampedArray,
  26796. w = b && b.prototype,
  26797. x = y && d(y),
  26798. A = v && d(v),
  26799. _ = Object.prototype,
  26800. T = _.isPrototypeOf,
  26801. E = m("toStringTag"),
  26802. S = g("TYPED_ARRAY_TAG"),
  26803. C = i && !!h && "Opera" !== c(a.opera),
  26804. k = !1,
  26805. L = {
  26806. Int8Array: 1,
  26807. Uint8Array: 1,
  26808. Uint8ClampedArray: 1,
  26809. Int16Array: 2,
  26810. Uint16Array: 2,
  26811. Int32Array: 4,
  26812. Uint32Array: 4,
  26813. Float32Array: 4,
  26814. Float64Array: 8
  26815. },
  26816. P = function (e) {
  26817. var t = c(e)
  26818. return "DataView" === t || l(L, t)
  26819. },
  26820. O = function (e) {
  26821. return s(e) && l(L, c(e))
  26822. },
  26823. j = function (e) {
  26824. if (O(e)) return e
  26825. throw TypeError("Target is not a typed array")
  26826. },
  26827. R = function (e) {
  26828. if (h) {
  26829. if (T.call(x, e)) return e
  26830. } else
  26831. for (var t in L)
  26832. if (l(L, n)) {
  26833. var r = a[t]
  26834. if (r && (e === r || T.call(r, e))) return e
  26835. }
  26836. throw TypeError("Target is not a typed array constructor")
  26837. },
  26838. I = function (e, t, r) {
  26839. if (o) {
  26840. if (r)
  26841. for (var n in L) {
  26842. var i = a[n]
  26843. i && l(i.prototype, e) && delete i.prototype[e]
  26844. }
  26845. ;(A[e] && !r) || f(A, e, r ? t : (C && v[e]) || t)
  26846. }
  26847. },
  26848. N = function (e, t, r) {
  26849. var n, i
  26850. if (o) {
  26851. if (h) {
  26852. if (r) for (n in L) (i = a[n]), i && l(i, e) && delete i[e]
  26853. if (x[e] && !r) return
  26854. try {
  26855. return f(x, e, r ? t : (C && y[e]) || t)
  26856. } catch (s) {}
  26857. }
  26858. for (n in L) (i = a[n]), !i || (i[e] && !r) || f(i, e, t)
  26859. }
  26860. }
  26861. for (n in L) a[n] || (C = !1)
  26862. if (
  26863. (!C || "function" != typeof x || x === Function.prototype) &&
  26864. ((x = function () {
  26865. throw TypeError("Incorrect invocation")
  26866. }),
  26867. C)
  26868. )
  26869. for (n in L) a[n] && h(a[n], x)
  26870. if ((!C || !A || A === _) && ((A = x.prototype), C)) for (n in L) a[n] && h(a[n].prototype, A)
  26871. if ((C && d(w) !== A && h(w, A), o && !l(A, E)))
  26872. for (n in ((k = !0),
  26873. p(A, E, {
  26874. get: function () {
  26875. return s(this) ? this[S] : void 0
  26876. }
  26877. }),
  26878. L))
  26879. a[n] && u(a[n], S, n)
  26880. t.exports = {
  26881. NATIVE_ARRAY_BUFFER_VIEWS: C,
  26882. TYPED_ARRAY_TAG: k && S,
  26883. aTypedArray: j,
  26884. aTypedArrayConstructor: R,
  26885. exportTypedArrayMethod: I,
  26886. exportTypedArrayStaticMethod: N,
  26887. isView: P,
  26888. isTypedArray: O,
  26889. TypedArray: x,
  26890. TypedArrayPrototype: A
  26891. }
  26892. },
  26893. {
  26894. "../internals/array-buffer-native": 108,
  26895. "../internals/classof": 126,
  26896. "../internals/create-non-enumerable-property": 131,
  26897. "../internals/descriptors": 136,
  26898. "../internals/global": 150,
  26899. "../internals/has": 151,
  26900. "../internals/is-object": 164,
  26901. "../internals/object-define-property": 180,
  26902. "../internals/object-get-prototype-of": 185,
  26903. "../internals/object-set-prototype-of": 189,
  26904. "../internals/redefine": 197,
  26905. "../internals/uid": 228,
  26906. "../internals/well-known-symbol": 231
  26907. }
  26908. ],
  26909. 110: [
  26910. function (e, t, r) {
  26911. "use strict"
  26912. var n = e("../internals/global"),
  26913. i = e("../internals/descriptors"),
  26914. o = e("../internals/array-buffer-native"),
  26915. a = e("../internals/create-non-enumerable-property"),
  26916. s = e("../internals/redefine-all"),
  26917. l = e("../internals/fails"),
  26918. c = e("../internals/an-instance"),
  26919. u = e("../internals/to-integer"),
  26920. f = e("../internals/to-length"),
  26921. p = e("../internals/to-index"),
  26922. d = e("../internals/ieee754"),
  26923. h = e("../internals/object-get-prototype-of"),
  26924. m = e("../internals/object-set-prototype-of"),
  26925. g = e("../internals/object-get-own-property-names").f,
  26926. y = e("../internals/object-define-property").f,
  26927. v = e("../internals/array-fill"),
  26928. b = e("../internals/set-to-string-tag"),
  26929. w = e("../internals/internal-state"),
  26930. x = w.get,
  26931. A = w.set,
  26932. _ = "ArrayBuffer",
  26933. T = "DataView",
  26934. E = "prototype",
  26935. S = "Wrong length",
  26936. C = "Wrong index",
  26937. k = n[_],
  26938. L = k,
  26939. P = n[T],
  26940. O = P && P[E],
  26941. j = Object.prototype,
  26942. R = n.RangeError,
  26943. I = d.pack,
  26944. N = d.unpack,
  26945. M = function (e) {
  26946. return [255 & e]
  26947. },
  26948. D = function (e) {
  26949. return [255 & e, (e >> 8) & 255]
  26950. },
  26951. B = function (e) {
  26952. return [255 & e, (e >> 8) & 255, (e >> 16) & 255, (e >> 24) & 255]
  26953. },
  26954. F = function (e) {
  26955. return (e[3] << 24) | (e[2] << 16) | (e[1] << 8) | e[0]
  26956. },
  26957. U = function (e) {
  26958. return I(e, 23, 4)
  26959. },
  26960. z = function (e) {
  26961. return I(e, 52, 8)
  26962. },
  26963. q = function (e, t) {
  26964. y(e[E], t, {
  26965. get: function () {
  26966. return x(this)[t]
  26967. }
  26968. })
  26969. },
  26970. G = function (e, t, r, n) {
  26971. var i = p(r),
  26972. o = x(e)
  26973. if (i + t > o.byteLength) throw R(C)
  26974. var a = x(o.buffer).bytes,
  26975. s = i + o.byteOffset,
  26976. l = a.slice(s, s + t)
  26977. return n ? l : l.reverse()
  26978. },
  26979. W = function (e, t, r, n, i, o) {
  26980. var a = p(r),
  26981. s = x(e)
  26982. if (a + t > s.byteLength) throw R(C)
  26983. for (var l = x(s.buffer).bytes, c = a + s.byteOffset, u = n(+i), f = 0; f < t; f++) l[c + f] = u[o ? f : t - f - 1]
  26984. }
  26985. if (o) {
  26986. if (
  26987. !l(function () {
  26988. k(1)
  26989. }) ||
  26990. !l(function () {
  26991. new k(-1)
  26992. }) ||
  26993. l(function () {
  26994. return new k(), new k(1.5), new k(NaN), k.name != _
  26995. })
  26996. ) {
  26997. L = function (e) {
  26998. return c(this, L), new k(p(e))
  26999. }
  27000. for (var V, H = (L[E] = k[E]), X = g(k), Y = 0; X.length > Y; ) (V = X[Y++]) in L || a(L, V, k[V])
  27001. H.constructor = L
  27002. }
  27003. m && h(O) !== j && m(O, j)
  27004. var K = new P(new L(2)),
  27005. Z = O.setInt8
  27006. K.setInt8(0, 2147483648),
  27007. K.setInt8(1, 2147483649),
  27008. (!K.getInt8(0) && K.getInt8(1)) ||
  27009. s(
  27010. O,
  27011. {
  27012. setInt8: function (e, t) {
  27013. Z.call(this, e, (t << 24) >> 24)
  27014. },
  27015. setUint8: function (e, t) {
  27016. Z.call(this, e, (t << 24) >> 24)
  27017. }
  27018. },
  27019. {
  27020. unsafe: !0
  27021. }
  27022. )
  27023. } else
  27024. (L = function (e) {
  27025. c(this, L, _)
  27026. var t = p(e)
  27027. A(this, {
  27028. bytes: v.call(new Array(t), 0),
  27029. byteLength: t
  27030. }),
  27031. i || (this.byteLength = t)
  27032. }),
  27033. (P = function (e, t, r) {
  27034. c(this, P, T), c(e, L, T)
  27035. var n = x(e).byteLength,
  27036. o = u(t)
  27037. if (o < 0 || o > n) throw R("Wrong offset")
  27038. if (((r = void 0 === r ? n - o : f(r)), o + r > n)) throw R(S)
  27039. A(this, {
  27040. buffer: e,
  27041. byteLength: r,
  27042. byteOffset: o
  27043. }),
  27044. i || ((this.buffer = e), (this.byteLength = r), (this.byteOffset = o))
  27045. }),
  27046. i && (q(L, "byteLength"), q(P, "buffer"), q(P, "byteLength"), q(P, "byteOffset")),
  27047. s(P[E], {
  27048. getInt8: function (e) {
  27049. return (G(this, 1, e)[0] << 24) >> 24
  27050. },
  27051. getUint8: function (e) {
  27052. return G(this, 1, e)[0]
  27053. },
  27054. getInt16: function (e) {
  27055. var t = G(this, 2, e, arguments.length > 1 ? arguments[1] : void 0)
  27056. return (((t[1] << 8) | t[0]) << 16) >> 16
  27057. },
  27058. getUint16: function (e) {
  27059. var t = G(this, 2, e, arguments.length > 1 ? arguments[1] : void 0)
  27060. return (t[1] << 8) | t[0]
  27061. },
  27062. getInt32: function (e) {
  27063. return F(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0))
  27064. },
  27065. getUint32: function (e) {
  27066. return F(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0)) >>> 0
  27067. },
  27068. getFloat32: function (e) {
  27069. return N(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0), 23)
  27070. },
  27071. getFloat64: function (e) {
  27072. return N(G(this, 8, e, arguments.length > 1 ? arguments[1] : void 0), 52)
  27073. },
  27074. setInt8: function (e, t) {
  27075. W(this, 1, e, M, t)
  27076. },
  27077. setUint8: function (e, t) {
  27078. W(this, 1, e, M, t)
  27079. },
  27080. setInt16: function (e, t) {
  27081. W(this, 2, e, D, t, arguments.length > 2 ? arguments[2] : void 0)
  27082. },
  27083. setUint16: function (e, t) {
  27084. W(this, 2, e, D, t, arguments.length > 2 ? arguments[2] : void 0)
  27085. },
  27086. setInt32: function (e, t) {
  27087. W(this, 4, e, B, t, arguments.length > 2 ? arguments[2] : void 0)
  27088. },
  27089. setUint32: function (e, t) {
  27090. W(this, 4, e, B, t, arguments.length > 2 ? arguments[2] : void 0)
  27091. },
  27092. setFloat32: function (e, t) {
  27093. W(this, 4, e, U, t, arguments.length > 2 ? arguments[2] : void 0)
  27094. },
  27095. setFloat64: function (e, t) {
  27096. W(this, 8, e, z, t, arguments.length > 2 ? arguments[2] : void 0)
  27097. }
  27098. })
  27099. b(L, _),
  27100. b(P, T),
  27101. (t.exports = {
  27102. ArrayBuffer: L,
  27103. DataView: P
  27104. })
  27105. },
  27106. {
  27107. "../internals/an-instance": 106,
  27108. "../internals/array-buffer-native": 108,
  27109. "../internals/array-fill": 112,
  27110. "../internals/create-non-enumerable-property": 131,
  27111. "../internals/descriptors": 136,
  27112. "../internals/fails": 145,
  27113. "../internals/global": 150,
  27114. "../internals/ieee754": 156,
  27115. "../internals/internal-state": 160,
  27116. "../internals/object-define-property": 180,
  27117. "../internals/object-get-own-property-names": 183,
  27118. "../internals/object-get-prototype-of": 185,
  27119. "../internals/object-set-prototype-of": 189,
  27120. "../internals/redefine-all": 196,
  27121. "../internals/set-to-string-tag": 206,
  27122. "../internals/to-index": 216,
  27123. "../internals/to-integer": 218,
  27124. "../internals/to-length": 219
  27125. }
  27126. ],
  27127. 111: [
  27128. function (e, t, r) {
  27129. "use strict"
  27130. var n = e("../internals/to-object"),
  27131. i = e("../internals/to-absolute-index"),
  27132. o = e("../internals/to-length"),
  27133. a = Math.min
  27134. t.exports =
  27135. [].copyWithin ||
  27136. function (e, t) {
  27137. var r = n(this),
  27138. s = o(r.length),
  27139. l = i(e, s),
  27140. c = i(t, s),
  27141. u = arguments.length > 2 ? arguments[2] : void 0,
  27142. f = a((void 0 === u ? s : i(u, s)) - c, s - l),
  27143. p = 1
  27144. c < l && l < c + f && ((p = -1), (c += f - 1), (l += f - 1))
  27145. while (f-- > 0) c in r ? (r[l] = r[c]) : delete r[l], (l += p), (c += p)
  27146. return r
  27147. }
  27148. },
  27149. {
  27150. "../internals/to-absolute-index": 215,
  27151. "../internals/to-length": 219,
  27152. "../internals/to-object": 220
  27153. }
  27154. ],
  27155. 112: [
  27156. function (e, t, r) {
  27157. "use strict"
  27158. var n = e("../internals/to-object"),
  27159. i = e("../internals/to-absolute-index"),
  27160. o = e("../internals/to-length")
  27161. t.exports = function (e) {
  27162. var t = n(this),
  27163. r = o(t.length),
  27164. a = arguments.length,
  27165. s = i(a > 1 ? arguments[1] : void 0, r),
  27166. l = a > 2 ? arguments[2] : void 0,
  27167. c = void 0 === l ? r : i(l, r)
  27168. while (c > s) t[s++] = e
  27169. return t
  27170. }
  27171. },
  27172. {
  27173. "../internals/to-absolute-index": 215,
  27174. "../internals/to-length": 219,
  27175. "../internals/to-object": 220
  27176. }
  27177. ],
  27178. 113: [
  27179. function (e, t, r) {
  27180. "use strict"
  27181. var n = e("../internals/array-iteration").forEach,
  27182. i = e("../internals/array-method-is-strict"),
  27183. o = e("../internals/array-method-uses-to-length"),
  27184. a = i("forEach"),
  27185. s = o("forEach")
  27186. t.exports =
  27187. a && s
  27188. ? [].forEach
  27189. : function (e) {
  27190. return n(this, e, arguments.length > 1 ? arguments[1] : void 0)
  27191. }
  27192. },
  27193. {
  27194. "../internals/array-iteration": 116,
  27195. "../internals/array-method-is-strict": 119,
  27196. "../internals/array-method-uses-to-length": 120
  27197. }
  27198. ],
  27199. 114: [
  27200. function (e, t, r) {
  27201. "use strict"
  27202. var n = e("../internals/function-bind-context"),
  27203. i = e("../internals/to-object"),
  27204. o = e("../internals/call-with-safe-iteration-closing"),
  27205. a = e("../internals/is-array-iterator-method"),
  27206. s = e("../internals/to-length"),
  27207. l = e("../internals/create-property"),
  27208. c = e("../internals/get-iterator-method")
  27209. t.exports = function (e) {
  27210. var t,
  27211. r,
  27212. u,
  27213. f,
  27214. p,
  27215. d,
  27216. h = i(e),
  27217. m = "function" == typeof this ? this : Array,
  27218. g = arguments.length,
  27219. y = g > 1 ? arguments[1] : void 0,
  27220. v = void 0 !== y,
  27221. b = c(h),
  27222. w = 0
  27223. if ((v && (y = n(y, g > 2 ? arguments[2] : void 0, 2)), void 0 == b || (m == Array && a(b))))
  27224. for (t = s(h.length), r = new m(t); t > w; w++) (d = v ? y(h[w], w) : h[w]), l(r, w, d)
  27225. else
  27226. for (f = b.call(h), p = f.next, r = new m(); !(u = p.call(f)).done; w++)
  27227. (d = v ? o(f, y, [u.value, w], !0) : u.value), l(r, w, d)
  27228. return (r.length = w), r
  27229. }
  27230. },
  27231. {
  27232. "../internals/call-with-safe-iteration-closing": 123,
  27233. "../internals/create-property": 133,
  27234. "../internals/function-bind-context": 147,
  27235. "../internals/get-iterator-method": 149,
  27236. "../internals/is-array-iterator-method": 161,
  27237. "../internals/to-length": 219,
  27238. "../internals/to-object": 220
  27239. }
  27240. ],
  27241. 115: [
  27242. function (e, t, r) {
  27243. var n = e("../internals/to-indexed-object"),
  27244. i = e("../internals/to-length"),
  27245. o = e("../internals/to-absolute-index"),
  27246. a = function (e) {
  27247. return function (t, r, a) {
  27248. var s,
  27249. l = n(t),
  27250. c = i(l.length),
  27251. u = o(a, c)
  27252. if (e && r != r) {
  27253. while (c > u) if (((s = l[u++]), s != s)) return !0
  27254. } else for (; c > u; u++) if ((e || u in l) && l[u] === r) return e || u || 0
  27255. return !e && -1
  27256. }
  27257. }
  27258. t.exports = {
  27259. includes: a(!0),
  27260. indexOf: a(!1)
  27261. }
  27262. },
  27263. {
  27264. "../internals/to-absolute-index": 215,
  27265. "../internals/to-indexed-object": 217,
  27266. "../internals/to-length": 219
  27267. }
  27268. ],
  27269. 116: [
  27270. function (e, t, r) {
  27271. var n = e("../internals/function-bind-context"),
  27272. i = e("../internals/indexed-object"),
  27273. o = e("../internals/to-object"),
  27274. a = e("../internals/to-length"),
  27275. s = e("../internals/array-species-create"),
  27276. l = [].push,
  27277. c = function (e) {
  27278. var t = 1 == e,
  27279. r = 2 == e,
  27280. c = 3 == e,
  27281. u = 4 == e,
  27282. f = 6 == e,
  27283. p = 5 == e || f
  27284. return function (d, h, m, g) {
  27285. for (
  27286. var y,
  27287. v,
  27288. b = o(d),
  27289. w = i(b),
  27290. x = n(h, m, 3),
  27291. A = a(w.length),
  27292. _ = 0,
  27293. T = g || s,
  27294. E = t ? T(d, A) : r ? T(d, 0) : void 0;
  27295. A > _;
  27296. _++
  27297. )
  27298. if ((p || _ in w) && ((y = w[_]), (v = x(y, _, b)), e))
  27299. if (t) E[_] = v
  27300. else if (v)
  27301. switch (e) {
  27302. case 3:
  27303. return !0
  27304. case 5:
  27305. return y
  27306. case 6:
  27307. return _
  27308. case 2:
  27309. l.call(E, y)
  27310. }
  27311. else if (u) return !1
  27312. return f ? -1 : c || u ? u : E
  27313. }
  27314. }
  27315. t.exports = {
  27316. forEach: c(0),
  27317. map: c(1),
  27318. filter: c(2),
  27319. some: c(3),
  27320. every: c(4),
  27321. find: c(5),
  27322. findIndex: c(6)
  27323. }
  27324. },
  27325. {
  27326. "../internals/array-species-create": 122,
  27327. "../internals/function-bind-context": 147,
  27328. "../internals/indexed-object": 157,
  27329. "../internals/to-length": 219,
  27330. "../internals/to-object": 220
  27331. }
  27332. ],
  27333. 117: [
  27334. function (e, t, r) {
  27335. "use strict"
  27336. var n = e("../internals/to-indexed-object"),
  27337. i = e("../internals/to-integer"),
  27338. o = e("../internals/to-length"),
  27339. a = e("../internals/array-method-is-strict"),
  27340. s = e("../internals/array-method-uses-to-length"),
  27341. l = Math.min,
  27342. c = [].lastIndexOf,
  27343. u = !!c && 1 / [1].lastIndexOf(1, -0) < 0,
  27344. f = a("lastIndexOf"),
  27345. p = s("indexOf", {
  27346. ACCESSORS: !0,
  27347. 1: 0
  27348. }),
  27349. d = u || !f || !p
  27350. t.exports = d
  27351. ? function (e) {
  27352. if (u) return c.apply(this, arguments) || 0
  27353. var t = n(this),
  27354. r = o(t.length),
  27355. a = r - 1
  27356. for (arguments.length > 1 && (a = l(a, i(arguments[1]))), a < 0 && (a = r + a); a >= 0; a--)
  27357. if (a in t && t[a] === e) return a || 0
  27358. return -1
  27359. }
  27360. : c
  27361. },
  27362. {
  27363. "../internals/array-method-is-strict": 119,
  27364. "../internals/array-method-uses-to-length": 120,
  27365. "../internals/to-indexed-object": 217,
  27366. "../internals/to-integer": 218,
  27367. "../internals/to-length": 219
  27368. }
  27369. ],
  27370. 118: [
  27371. function (e, t, r) {
  27372. var n = e("../internals/fails"),
  27373. i = e("../internals/well-known-symbol"),
  27374. o = e("../internals/engine-v8-version"),
  27375. a = i("species")
  27376. t.exports = function (e) {
  27377. return (
  27378. o >= 51 ||
  27379. !n(function () {
  27380. var t = [],
  27381. r = (t.constructor = {})
  27382. return (
  27383. (r[a] = function () {
  27384. return {
  27385. foo: 1
  27386. }
  27387. }),
  27388. 1 !== t[e](Boolean).foo
  27389. )
  27390. })
  27391. )
  27392. }
  27393. },
  27394. {
  27395. "../internals/engine-v8-version": 142,
  27396. "../internals/fails": 145,
  27397. "../internals/well-known-symbol": 231
  27398. }
  27399. ],
  27400. 119: [
  27401. function (e, t, r) {
  27402. "use strict"
  27403. var n = e("../internals/fails")
  27404. t.exports = function (e, t) {
  27405. var r = [][e]
  27406. return (
  27407. !!r &&
  27408. n(function () {
  27409. r.call(
  27410. null,
  27411. t ||
  27412. function () {
  27413. throw 1
  27414. },
  27415. 1
  27416. )
  27417. })
  27418. )
  27419. }
  27420. },
  27421. {
  27422. "../internals/fails": 145
  27423. }
  27424. ],
  27425. 120: [
  27426. function (e, t, r) {
  27427. var n = e("../internals/descriptors"),
  27428. i = e("../internals/fails"),
  27429. o = e("../internals/has"),
  27430. a = Object.defineProperty,
  27431. s = {},
  27432. l = function (e) {
  27433. throw e
  27434. }
  27435. t.exports = function (e, t) {
  27436. if (o(s, e)) return s[e]
  27437. t || (t = {})
  27438. var r = [][e],
  27439. c = !!o(t, "ACCESSORS") && t.ACCESSORS,
  27440. u = o(t, 0) ? t[0] : l,
  27441. f = o(t, 1) ? t[1] : void 0
  27442. return (s[e] =
  27443. !!r &&
  27444. !i(function () {
  27445. if (c && !n) return !0
  27446. var e = {
  27447. length: -1
  27448. }
  27449. c
  27450. ? a(e, 1, {
  27451. enumerable: !0,
  27452. get: l
  27453. })
  27454. : (e[1] = 1),
  27455. r.call(e, u, f)
  27456. }))
  27457. }
  27458. },
  27459. {
  27460. "../internals/descriptors": 136,
  27461. "../internals/fails": 145,
  27462. "../internals/has": 151
  27463. }
  27464. ],
  27465. 121: [
  27466. function (e, t, r) {
  27467. var n = e("../internals/a-function"),
  27468. i = e("../internals/to-object"),
  27469. o = e("../internals/indexed-object"),
  27470. a = e("../internals/to-length"),
  27471. s = function (e) {
  27472. return function (t, r, s, l) {
  27473. n(r)
  27474. var c = i(t),
  27475. u = o(c),
  27476. f = a(c.length),
  27477. p = e ? f - 1 : 0,
  27478. d = e ? -1 : 1
  27479. if (s < 2)
  27480. while (1) {
  27481. if (p in u) {
  27482. ;(l = u[p]), (p += d)
  27483. break
  27484. }
  27485. if (((p += d), e ? p < 0 : f <= p)) throw TypeError("Reduce of empty array with no initial value")
  27486. }
  27487. for (; e ? p >= 0 : f > p; p += d) p in u && (l = r(l, u[p], p, c))
  27488. return l
  27489. }
  27490. }
  27491. t.exports = {
  27492. left: s(!1),
  27493. right: s(!0)
  27494. }
  27495. },
  27496. {
  27497. "../internals/a-function": 102,
  27498. "../internals/indexed-object": 157,
  27499. "../internals/to-length": 219,
  27500. "../internals/to-object": 220
  27501. }
  27502. ],
  27503. 122: [
  27504. function (e, t, r) {
  27505. var n = e("../internals/is-object"),
  27506. i = e("../internals/is-array"),
  27507. o = e("../internals/well-known-symbol"),
  27508. a = o("species")
  27509. t.exports = function (e, t) {
  27510. var r
  27511. return (
  27512. i(e) &&
  27513. ((r = e.constructor),
  27514. "function" != typeof r || (r !== Array && !i(r.prototype))
  27515. ? n(r) && ((r = r[a]), null === r && (r = void 0))
  27516. : (r = void 0)),
  27517. new (void 0 === r ? Array : r)(0 === t ? 0 : t)
  27518. )
  27519. }
  27520. },
  27521. {
  27522. "../internals/is-array": 162,
  27523. "../internals/is-object": 164,
  27524. "../internals/well-known-symbol": 231
  27525. }
  27526. ],
  27527. 123: [
  27528. function (e, t, r) {
  27529. var n = e("../internals/an-object"),
  27530. i = e("../internals/iterator-close")
  27531. t.exports = function (e, t, r, o) {
  27532. try {
  27533. return o ? t(n(r)[0], r[1]) : t(r)
  27534. } catch (a) {
  27535. throw (i(e), a)
  27536. }
  27537. }
  27538. },
  27539. {
  27540. "../internals/an-object": 107,
  27541. "../internals/iterator-close": 168
  27542. }
  27543. ],
  27544. 124: [
  27545. function (e, t, r) {
  27546. var n = e("../internals/well-known-symbol"),
  27547. i = n("iterator"),
  27548. o = !1
  27549. try {
  27550. var a = 0,
  27551. s = {
  27552. next: function () {
  27553. return {
  27554. done: !!a++
  27555. }
  27556. },
  27557. return: function () {
  27558. o = !0
  27559. }
  27560. }
  27561. ;(s[i] = function () {
  27562. return this
  27563. }),
  27564. Array.from(s, function () {
  27565. throw 2
  27566. })
  27567. } catch (l) {}
  27568. t.exports = function (e, t) {
  27569. if (!t && !o) return !1
  27570. var r = !1
  27571. try {
  27572. var n = {}
  27573. ;(n[i] = function () {
  27574. return {
  27575. next: function () {
  27576. return {
  27577. done: (r = !0)
  27578. }
  27579. }
  27580. }
  27581. }),
  27582. e(n)
  27583. } catch (l) {}
  27584. return r
  27585. }
  27586. },
  27587. {
  27588. "../internals/well-known-symbol": 231
  27589. }
  27590. ],
  27591. 125: [
  27592. function (e, t, r) {
  27593. var n = {}.toString
  27594. t.exports = function (e) {
  27595. return n.call(e).slice(8, -1)
  27596. }
  27597. },
  27598. {}
  27599. ],
  27600. 126: [
  27601. function (e, t, r) {
  27602. var n = e("../internals/to-string-tag-support"),
  27603. i = e("../internals/classof-raw"),
  27604. o = e("../internals/well-known-symbol"),
  27605. a = o("toStringTag"),
  27606. s =
  27607. "Arguments" ==
  27608. i(
  27609. (function () {
  27610. return arguments
  27611. })()
  27612. ),
  27613. l = function (e, t) {
  27614. try {
  27615. return e[t]
  27616. } catch (r) {}
  27617. }
  27618. t.exports = n
  27619. ? i
  27620. : function (e) {
  27621. var t, r, n
  27622. return void 0 === e
  27623. ? "Undefined"
  27624. : null === e
  27625. ? "Null"
  27626. : "string" == typeof (r = l((t = Object(e)), a))
  27627. ? r
  27628. : s
  27629. ? i(t)
  27630. : "Object" == (n = i(t)) && "function" == typeof t.callee
  27631. ? "Arguments"
  27632. : n
  27633. }
  27634. },
  27635. {
  27636. "../internals/classof-raw": 125,
  27637. "../internals/to-string-tag-support": 224,
  27638. "../internals/well-known-symbol": 231
  27639. }
  27640. ],
  27641. 127: [
  27642. function (e, t, r) {
  27643. var n = e("../internals/has"),
  27644. i = e("../internals/own-keys"),
  27645. o = e("../internals/object-get-own-property-descriptor"),
  27646. a = e("../internals/object-define-property")
  27647. t.exports = function (e, t) {
  27648. for (var r = i(t), s = a.f, l = o.f, c = 0; c < r.length; c++) {
  27649. var u = r[c]
  27650. n(e, u) || s(e, u, l(t, u))
  27651. }
  27652. }
  27653. },
  27654. {
  27655. "../internals/has": 151,
  27656. "../internals/object-define-property": 180,
  27657. "../internals/object-get-own-property-descriptor": 181,
  27658. "../internals/own-keys": 192
  27659. }
  27660. ],
  27661. 128: [
  27662. function (e, t, r) {
  27663. var n = e("../internals/well-known-symbol"),
  27664. i = n("match")
  27665. t.exports = function (e) {
  27666. var t = /./
  27667. try {
  27668. "/./"[e](t)
  27669. } catch (r) {
  27670. try {
  27671. return (t[i] = !1), "/./"[e](t)
  27672. } catch (n) {}
  27673. }
  27674. return !1
  27675. }
  27676. },
  27677. {
  27678. "../internals/well-known-symbol": 231
  27679. }
  27680. ],
  27681. 129: [
  27682. function (e, t, r) {
  27683. var n = e("../internals/fails")
  27684. t.exports = !n(function () {
  27685. function e() {}
  27686. return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype
  27687. })
  27688. },
  27689. {
  27690. "../internals/fails": 145
  27691. }
  27692. ],
  27693. 130: [
  27694. function (e, t, r) {
  27695. "use strict"
  27696. var n = e("../internals/iterators-core").IteratorPrototype,
  27697. i = e("../internals/object-create"),
  27698. o = e("../internals/create-property-descriptor"),
  27699. a = e("../internals/set-to-string-tag"),
  27700. s = e("../internals/iterators"),
  27701. l = function () {
  27702. return this
  27703. }
  27704. t.exports = function (e, t, r) {
  27705. var c = t + " Iterator"
  27706. return (
  27707. (e.prototype = i(n, {
  27708. next: o(1, r)
  27709. })),
  27710. a(e, c, !1, !0),
  27711. (s[c] = l),
  27712. e
  27713. )
  27714. }
  27715. },
  27716. {
  27717. "../internals/create-property-descriptor": 132,
  27718. "../internals/iterators": 170,
  27719. "../internals/iterators-core": 169,
  27720. "../internals/object-create": 178,
  27721. "../internals/set-to-string-tag": 206
  27722. }
  27723. ],
  27724. 131: [
  27725. function (e, t, r) {
  27726. var n = e("../internals/descriptors"),
  27727. i = e("../internals/object-define-property"),
  27728. o = e("../internals/create-property-descriptor")
  27729. t.exports = n
  27730. ? function (e, t, r) {
  27731. return i.f(e, t, o(1, r))
  27732. }
  27733. : function (e, t, r) {
  27734. return (e[t] = r), e
  27735. }
  27736. },
  27737. {
  27738. "../internals/create-property-descriptor": 132,
  27739. "../internals/descriptors": 136,
  27740. "../internals/object-define-property": 180
  27741. }
  27742. ],
  27743. 132: [
  27744. function (e, t, r) {
  27745. t.exports = function (e, t) {
  27746. return {
  27747. enumerable: !(1 & e),
  27748. configurable: !(2 & e),
  27749. writable: !(4 & e),
  27750. value: t
  27751. }
  27752. }
  27753. },
  27754. {}
  27755. ],
  27756. 133: [
  27757. function (e, t, r) {
  27758. "use strict"
  27759. var n = e("../internals/to-primitive"),
  27760. i = e("../internals/object-define-property"),
  27761. o = e("../internals/create-property-descriptor")
  27762. t.exports = function (e, t, r) {
  27763. var a = n(t)
  27764. a in e ? i.f(e, a, o(0, r)) : (e[a] = r)
  27765. }
  27766. },
  27767. {
  27768. "../internals/create-property-descriptor": 132,
  27769. "../internals/object-define-property": 180,
  27770. "../internals/to-primitive": 223
  27771. }
  27772. ],
  27773. 134: [
  27774. function (e, t, r) {
  27775. "use strict"
  27776. var n = e("../internals/export"),
  27777. i = e("../internals/create-iterator-constructor"),
  27778. o = e("../internals/object-get-prototype-of"),
  27779. a = e("../internals/object-set-prototype-of"),
  27780. s = e("../internals/set-to-string-tag"),
  27781. l = e("../internals/create-non-enumerable-property"),
  27782. c = e("../internals/redefine"),
  27783. u = e("../internals/well-known-symbol"),
  27784. f = e("../internals/is-pure"),
  27785. p = e("../internals/iterators"),
  27786. d = e("../internals/iterators-core"),
  27787. h = d.IteratorPrototype,
  27788. m = d.BUGGY_SAFARI_ITERATORS,
  27789. g = u("iterator"),
  27790. y = "keys",
  27791. v = "values",
  27792. b = "entries",
  27793. w = function () {
  27794. return this
  27795. }
  27796. t.exports = function (e, t, r, u, d, x, A) {
  27797. i(r, t, u)
  27798. var _,
  27799. T,
  27800. E,
  27801. S = function (e) {
  27802. if (e === d && O) return O
  27803. if (!m && e in L) return L[e]
  27804. switch (e) {
  27805. case y:
  27806. return function () {
  27807. return new r(this, e)
  27808. }
  27809. case v:
  27810. return function () {
  27811. return new r(this, e)
  27812. }
  27813. case b:
  27814. return function () {
  27815. return new r(this, e)
  27816. }
  27817. }
  27818. return function () {
  27819. return new r(this)
  27820. }
  27821. },
  27822. C = t + " Iterator",
  27823. k = !1,
  27824. L = e.prototype,
  27825. P = L[g] || L["@@iterator"] || (d && L[d]),
  27826. O = (!m && P) || S(d),
  27827. j = ("Array" == t && L.entries) || P
  27828. if (
  27829. (j &&
  27830. ((_ = o(j.call(new e()))),
  27831. h !== Object.prototype &&
  27832. _.next &&
  27833. (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[g] && l(_, g, w)), s(_, C, !0, !0), f && (p[C] = w))),
  27834. d == v &&
  27835. P &&
  27836. P.name !== v &&
  27837. ((k = !0),
  27838. (O = function () {
  27839. return P.call(this)
  27840. })),
  27841. (f && !A) || L[g] === O || l(L, g, O),
  27842. (p[t] = O),
  27843. d)
  27844. )
  27845. if (
  27846. ((T = {
  27847. values: S(v),
  27848. keys: x ? O : S(y),
  27849. entries: S(b)
  27850. }),
  27851. A)
  27852. )
  27853. for (E in T) (m || k || !(E in L)) && c(L, E, T[E])
  27854. else
  27855. n(
  27856. {
  27857. target: t,
  27858. proto: !0,
  27859. forced: m || k
  27860. },
  27861. T
  27862. )
  27863. return T
  27864. }
  27865. },
  27866. {
  27867. "../internals/create-iterator-constructor": 130,
  27868. "../internals/create-non-enumerable-property": 131,
  27869. "../internals/export": 144,
  27870. "../internals/is-pure": 165,
  27871. "../internals/iterators": 170,
  27872. "../internals/iterators-core": 169,
  27873. "../internals/object-get-prototype-of": 185,
  27874. "../internals/object-set-prototype-of": 189,
  27875. "../internals/redefine": 197,
  27876. "../internals/set-to-string-tag": 206,
  27877. "../internals/well-known-symbol": 231
  27878. }
  27879. ],
  27880. 135: [
  27881. function (e, t, r) {
  27882. var n = e("../internals/path"),
  27883. i = e("../internals/has"),
  27884. o = e("../internals/well-known-symbol-wrapped"),
  27885. a = e("../internals/object-define-property").f
  27886. t.exports = function (e) {
  27887. var t = n.Symbol || (n.Symbol = {})
  27888. i(t, e) ||
  27889. a(t, e, {
  27890. value: o.f(e)
  27891. })
  27892. }
  27893. },
  27894. {
  27895. "../internals/has": 151,
  27896. "../internals/object-define-property": 180,
  27897. "../internals/path": 193,
  27898. "../internals/well-known-symbol-wrapped": 230
  27899. }
  27900. ],
  27901. 136: [
  27902. function (e, t, r) {
  27903. var n = e("../internals/fails")
  27904. t.exports = !n(function () {
  27905. return (
  27906. 7 !=
  27907. Object.defineProperty({}, 1, {
  27908. get: function () {
  27909. return 7
  27910. }
  27911. })[1]
  27912. )
  27913. })
  27914. },
  27915. {
  27916. "../internals/fails": 145
  27917. }
  27918. ],
  27919. 137: [
  27920. function (e, t, r) {
  27921. var n = e("../internals/global"),
  27922. i = e("../internals/is-object"),
  27923. o = n.document,
  27924. a = i(o) && i(o.createElement)
  27925. t.exports = function (e) {
  27926. return a ? o.createElement(e) : {}
  27927. }
  27928. },
  27929. {
  27930. "../internals/global": 150,
  27931. "../internals/is-object": 164
  27932. }
  27933. ],
  27934. 138: [
  27935. function (e, t, r) {
  27936. t.exports = {
  27937. CSSRuleList: 0,
  27938. CSSStyleDeclaration: 0,
  27939. CSSValueList: 0,
  27940. ClientRectList: 0,
  27941. DOMRectList: 0,
  27942. DOMStringList: 0,
  27943. DOMTokenList: 1,
  27944. DataTransferItemList: 0,
  27945. FileList: 0,
  27946. HTMLAllCollection: 0,
  27947. HTMLCollection: 0,
  27948. HTMLFormElement: 0,
  27949. HTMLSelectElement: 0,
  27950. MediaList: 0,
  27951. MimeTypeArray: 0,
  27952. NamedNodeMap: 0,
  27953. NodeList: 1,
  27954. PaintRequestList: 0,
  27955. Plugin: 0,
  27956. PluginArray: 0,
  27957. SVGLengthList: 0,
  27958. SVGNumberList: 0,
  27959. SVGPathSegList: 0,
  27960. SVGPointList: 0,
  27961. SVGStringList: 0,
  27962. SVGTransformList: 0,
  27963. SourceBufferList: 0,
  27964. StyleSheetList: 0,
  27965. TextTrackCueList: 0,
  27966. TextTrackList: 0,
  27967. TouchList: 0
  27968. }
  27969. },
  27970. {}
  27971. ],
  27972. 139: [
  27973. function (e, t, r) {
  27974. var n = e("../internals/engine-user-agent")
  27975. t.exports = /(iphone|ipod|ipad).*applewebkit/i.test(n)
  27976. },
  27977. {
  27978. "../internals/engine-user-agent": 141
  27979. }
  27980. ],
  27981. 140: [
  27982. function (e, t, r) {
  27983. var n = e("../internals/classof-raw"),
  27984. i = e("../internals/global")
  27985. t.exports = "process" == n(i.process)
  27986. },
  27987. {
  27988. "../internals/classof-raw": 125,
  27989. "../internals/global": 150
  27990. }
  27991. ],
  27992. 141: [
  27993. function (e, t, r) {
  27994. var n = e("../internals/get-built-in")
  27995. t.exports = n("navigator", "userAgent") || ""
  27996. },
  27997. {
  27998. "../internals/get-built-in": 148
  27999. }
  28000. ],
  28001. 142: [
  28002. function (e, t, r) {
  28003. var n,
  28004. i,
  28005. o = e("../internals/global"),
  28006. a = e("../internals/engine-user-agent"),
  28007. s = o.process,
  28008. l = s && s.versions,
  28009. c = l && l.v8
  28010. c
  28011. ? ((n = c.split(".")), (i = n[0] + n[1]))
  28012. : a && ((n = a.match(/Edge\/(\d+)/)), (!n || n[1] >= 74) && ((n = a.match(/Chrome\/(\d+)/)), n && (i = n[1]))),
  28013. (t.exports = i && +i)
  28014. },
  28015. {
  28016. "../internals/engine-user-agent": 141,
  28017. "../internals/global": 150
  28018. }
  28019. ],
  28020. 143: [
  28021. function (e, t, r) {
  28022. t.exports = [
  28023. "constructor",
  28024. "hasOwnProperty",
  28025. "isPrototypeOf",
  28026. "propertyIsEnumerable",
  28027. "toLocaleString",
  28028. "toString",
  28029. "valueOf"
  28030. ]
  28031. },
  28032. {}
  28033. ],
  28034. 144: [
  28035. function (e, t, r) {
  28036. var n = e("../internals/global"),
  28037. i = e("../internals/object-get-own-property-descriptor").f,
  28038. o = e("../internals/create-non-enumerable-property"),
  28039. a = e("../internals/redefine"),
  28040. s = e("../internals/set-global"),
  28041. l = e("../internals/copy-constructor-properties"),
  28042. c = e("../internals/is-forced")
  28043. t.exports = function (e, t) {
  28044. var r,
  28045. u,
  28046. f,
  28047. p,
  28048. d,
  28049. h,
  28050. m = e.target,
  28051. g = e.global,
  28052. y = e.stat
  28053. if (((u = g ? n : y ? n[m] || s(m, {}) : (n[m] || {}).prototype), u))
  28054. for (f in t) {
  28055. if (
  28056. ((d = t[f]),
  28057. e.noTargetGet ? ((h = i(u, f)), (p = h && h.value)) : (p = u[f]),
  28058. (r = c(g ? f : m + (y ? "." : "#") + f, e.forced)),
  28059. !r && void 0 !== p)
  28060. ) {
  28061. if (typeof d === typeof p) continue
  28062. l(d, p)
  28063. }
  28064. ;(e.sham || (p && p.sham)) && o(d, "sham", !0), a(u, f, d, e)
  28065. }
  28066. }
  28067. },
  28068. {
  28069. "../internals/copy-constructor-properties": 127,
  28070. "../internals/create-non-enumerable-property": 131,
  28071. "../internals/global": 150,
  28072. "../internals/is-forced": 163,
  28073. "../internals/object-get-own-property-descriptor": 181,
  28074. "../internals/redefine": 197,
  28075. "../internals/set-global": 204
  28076. }
  28077. ],
  28078. 145: [
  28079. function (e, t, r) {
  28080. t.exports = function (e) {
  28081. try {
  28082. return !!e()
  28083. } catch (t) {
  28084. return !0
  28085. }
  28086. }
  28087. },
  28088. {}
  28089. ],
  28090. 146: [
  28091. function (e, t, r) {
  28092. "use strict"
  28093. e("../modules/es.regexp.exec")
  28094. var n = e("../internals/redefine"),
  28095. i = e("../internals/fails"),
  28096. o = e("../internals/well-known-symbol"),
  28097. a = e("../internals/regexp-exec"),
  28098. s = e("../internals/create-non-enumerable-property"),
  28099. l = o("species"),
  28100. c = !i(function () {
  28101. var e = /./
  28102. return (
  28103. (e.exec = function () {
  28104. var e = []
  28105. return (
  28106. (e.groups = {
  28107. a: "7"
  28108. }),
  28109. e
  28110. )
  28111. }),
  28112. "7" !== "".replace(e, "$<a>")
  28113. )
  28114. }),
  28115. u = (function () {
  28116. return "$0" === "a".replace(/./, "$0")
  28117. })(),
  28118. f = o("replace"),
  28119. p = (function () {
  28120. return !!/./[f] && "" === /./[f]("a", "$0")
  28121. })(),
  28122. d = !i(function () {
  28123. var e = /(?:)/,
  28124. t = e.exec
  28125. e.exec = function () {
  28126. return t.apply(this, arguments)
  28127. }
  28128. var r = "ab".split(e)
  28129. return 2 !== r.length || "a" !== r[0] || "b" !== r[1]
  28130. })
  28131. t.exports = function (e, t, r, f) {
  28132. var h = o(e),
  28133. m = !i(function () {
  28134. var t = {}
  28135. return (
  28136. (t[h] = function () {
  28137. return 7
  28138. }),
  28139. 7 != ""[e](t)
  28140. )
  28141. }),
  28142. g =
  28143. m &&
  28144. !i(function () {
  28145. var t = !1,
  28146. r = /a/
  28147. return (
  28148. "split" === e &&
  28149. ((r = {}),
  28150. (r.constructor = {}),
  28151. (r.constructor[l] = function () {
  28152. return r
  28153. }),
  28154. (r.flags = ""),
  28155. (r[h] = /./[h])),
  28156. (r.exec = function () {
  28157. return (t = !0), null
  28158. }),
  28159. r[h](""),
  28160. !t
  28161. )
  28162. })
  28163. if (!m || !g || ("replace" === e && (!c || !u || p)) || ("split" === e && !d)) {
  28164. var y = /./[h],
  28165. v = r(
  28166. h,
  28167. ""[e],
  28168. function (e, t, r, n, i) {
  28169. return t.exec === a
  28170. ? m && !i
  28171. ? {
  28172. done: !0,
  28173. value: y.call(t, r, n)
  28174. }
  28175. : {
  28176. done: !0,
  28177. value: e.call(r, t, n)
  28178. }
  28179. : {
  28180. done: !1
  28181. }
  28182. },
  28183. {
  28184. REPLACE_KEEPS_$0: u,
  28185. REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: p
  28186. }
  28187. ),
  28188. b = v[0],
  28189. w = v[1]
  28190. n(String.prototype, e, b),
  28191. n(
  28192. RegExp.prototype,
  28193. h,
  28194. 2 == t
  28195. ? function (e, t) {
  28196. return w.call(e, this, t)
  28197. }
  28198. : function (e) {
  28199. return w.call(e, this)
  28200. }
  28201. )
  28202. }
  28203. f && s(RegExp.prototype[h], "sham", !0)
  28204. }
  28205. },
  28206. {
  28207. "../internals/create-non-enumerable-property": 131,
  28208. "../internals/fails": 145,
  28209. "../internals/redefine": 197,
  28210. "../internals/regexp-exec": 199,
  28211. "../internals/well-known-symbol": 231,
  28212. "../modules/es.regexp.exec": 256
  28213. }
  28214. ],
  28215. 147: [
  28216. function (e, t, r) {
  28217. var n = e("../internals/a-function")
  28218. t.exports = function (e, t, r) {
  28219. if ((n(e), void 0 === t)) return e
  28220. switch (r) {
  28221. case 0:
  28222. return function () {
  28223. return e.call(t)
  28224. }
  28225. case 1:
  28226. return function (r) {
  28227. return e.call(t, r)
  28228. }
  28229. case 2:
  28230. return function (r, n) {
  28231. return e.call(t, r, n)
  28232. }
  28233. case 3:
  28234. return function (r, n, i) {
  28235. return e.call(t, r, n, i)
  28236. }
  28237. }
  28238. return function () {
  28239. return e.apply(t, arguments)
  28240. }
  28241. }
  28242. },
  28243. {
  28244. "../internals/a-function": 102
  28245. }
  28246. ],
  28247. 148: [
  28248. function (e, t, r) {
  28249. var n = e("../internals/path"),
  28250. i = e("../internals/global"),
  28251. o = function (e) {
  28252. return "function" == typeof e ? e : void 0
  28253. }
  28254. t.exports = function (e, t) {
  28255. return arguments.length < 2 ? o(n[e]) || o(i[e]) : (n[e] && n[e][t]) || (i[e] && i[e][t])
  28256. }
  28257. },
  28258. {
  28259. "../internals/global": 150,
  28260. "../internals/path": 193
  28261. }
  28262. ],
  28263. 149: [
  28264. function (e, t, r) {
  28265. var n = e("../internals/classof"),
  28266. i = e("../internals/iterators"),
  28267. o = e("../internals/well-known-symbol"),
  28268. a = o("iterator")
  28269. t.exports = function (e) {
  28270. if (void 0 != e) return e[a] || e["@@iterator"] || i[n(e)]
  28271. }
  28272. },
  28273. {
  28274. "../internals/classof": 126,
  28275. "../internals/iterators": 170,
  28276. "../internals/well-known-symbol": 231
  28277. }
  28278. ],
  28279. 150: [
  28280. function (e, t, r) {
  28281. ;(function (e) {
  28282. var r = function (e) {
  28283. return e && e.Math == Math && e
  28284. }
  28285. t.exports =
  28286. r("object" == typeof globalThis && globalThis) ||
  28287. r("object" == typeof window && window) ||
  28288. r("object" == typeof self && self) ||
  28289. r("object" == typeof e && e) ||
  28290. (function () {
  28291. return this
  28292. })() ||
  28293. Function("return this")()
  28294. }).call(
  28295. this,
  28296. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  28297. )
  28298. },
  28299. {}
  28300. ],
  28301. 151: [
  28302. function (e, t, r) {
  28303. var n = {}.hasOwnProperty
  28304. t.exports = function (e, t) {
  28305. return n.call(e, t)
  28306. }
  28307. },
  28308. {}
  28309. ],
  28310. 152: [
  28311. function (e, t, r) {
  28312. t.exports = {}
  28313. },
  28314. {}
  28315. ],
  28316. 153: [
  28317. function (e, t, r) {
  28318. var n = e("../internals/global")
  28319. t.exports = function (e, t) {
  28320. var r = n.console
  28321. r && r.error && (1 === arguments.length ? r.error(e) : r.error(e, t))
  28322. }
  28323. },
  28324. {
  28325. "../internals/global": 150
  28326. }
  28327. ],
  28328. 154: [
  28329. function (e, t, r) {
  28330. var n = e("../internals/get-built-in")
  28331. t.exports = n("document", "documentElement")
  28332. },
  28333. {
  28334. "../internals/get-built-in": 148
  28335. }
  28336. ],
  28337. 155: [
  28338. function (e, t, r) {
  28339. var n = e("../internals/descriptors"),
  28340. i = e("../internals/fails"),
  28341. o = e("../internals/document-create-element")
  28342. t.exports =
  28343. !n &&
  28344. !i(function () {
  28345. return (
  28346. 7 !=
  28347. Object.defineProperty(o("div"), "a", {
  28348. get: function () {
  28349. return 7
  28350. }
  28351. }).a
  28352. )
  28353. })
  28354. },
  28355. {
  28356. "../internals/descriptors": 136,
  28357. "../internals/document-create-element": 137,
  28358. "../internals/fails": 145
  28359. }
  28360. ],
  28361. 156: [
  28362. function (e, t, r) {
  28363. var n = 1 / 0,
  28364. i = Math.abs,
  28365. o = Math.pow,
  28366. a = Math.floor,
  28367. s = Math.log,
  28368. l = Math.LN2,
  28369. c = function (e, t, r) {
  28370. var c,
  28371. u,
  28372. f,
  28373. p = new Array(r),
  28374. d = 8 * r - t - 1,
  28375. h = (1 << d) - 1,
  28376. m = h >> 1,
  28377. g = 23 === t ? o(2, -24) - o(2, -77) : 0,
  28378. y = e < 0 || (0 === e && 1 / e < 0) ? 1 : 0,
  28379. v = 0
  28380. for (
  28381. e = i(e),
  28382. e != e || e === n
  28383. ? ((u = e != e ? 1 : 0), (c = h))
  28384. : ((c = a(s(e) / l)),
  28385. e * (f = o(2, -c)) < 1 && (c--, (f *= 2)),
  28386. (e += c + m >= 1 ? g / f : g * o(2, 1 - m)),
  28387. e * f >= 2 && (c++, (f /= 2)),
  28388. c + m >= h
  28389. ? ((u = 0), (c = h))
  28390. : c + m >= 1
  28391. ? ((u = (e * f - 1) * o(2, t)), (c += m))
  28392. : ((u = e * o(2, m - 1) * o(2, t)), (c = 0)));
  28393. t >= 8;
  28394. p[v++] = 255 & u, u /= 256, t -= 8
  28395. );
  28396. for (c = (c << t) | u, d += t; d > 0; p[v++] = 255 & c, c /= 256, d -= 8);
  28397. return (p[--v] |= 128 * y), p
  28398. },
  28399. u = function (e, t) {
  28400. var r,
  28401. i = e.length,
  28402. a = 8 * i - t - 1,
  28403. s = (1 << a) - 1,
  28404. l = s >> 1,
  28405. c = a - 7,
  28406. u = i - 1,
  28407. f = e[u--],
  28408. p = 127 & f
  28409. for (f >>= 7; c > 0; p = 256 * p + e[u], u--, c -= 8);
  28410. for (r = p & ((1 << -c) - 1), p >>= -c, c += t; c > 0; r = 256 * r + e[u], u--, c -= 8);
  28411. if (0 === p) p = 1 - l
  28412. else {
  28413. if (p === s) return r ? NaN : f ? -n : n
  28414. ;(r += o(2, t)), (p -= l)
  28415. }
  28416. return (f ? -1 : 1) * r * o(2, p - t)
  28417. }
  28418. t.exports = {
  28419. pack: c,
  28420. unpack: u
  28421. }
  28422. },
  28423. {}
  28424. ],
  28425. 157: [
  28426. function (e, t, r) {
  28427. var n = e("../internals/fails"),
  28428. i = e("../internals/classof-raw"),
  28429. o = "".split
  28430. t.exports = n(function () {
  28431. return !Object("z").propertyIsEnumerable(0)
  28432. })
  28433. ? function (e) {
  28434. return "String" == i(e) ? o.call(e, "") : Object(e)
  28435. }
  28436. : Object
  28437. },
  28438. {
  28439. "../internals/classof-raw": 125,
  28440. "../internals/fails": 145
  28441. }
  28442. ],
  28443. 158: [
  28444. function (e, t, r) {
  28445. var n = e("../internals/is-object"),
  28446. i = e("../internals/object-set-prototype-of")
  28447. t.exports = function (e, t, r) {
  28448. var o, a
  28449. return i && "function" == typeof (o = t.constructor) && o !== r && n((a = o.prototype)) && a !== r.prototype && i(e, a), e
  28450. }
  28451. },
  28452. {
  28453. "../internals/is-object": 164,
  28454. "../internals/object-set-prototype-of": 189
  28455. }
  28456. ],
  28457. 159: [
  28458. function (e, t, r) {
  28459. var n = e("../internals/shared-store"),
  28460. i = Function.toString
  28461. "function" != typeof n.inspectSource &&
  28462. (n.inspectSource = function (e) {
  28463. return i.call(e)
  28464. }),
  28465. (t.exports = n.inspectSource)
  28466. },
  28467. {
  28468. "../internals/shared-store": 208
  28469. }
  28470. ],
  28471. 160: [
  28472. function (e, t, r) {
  28473. var n,
  28474. i,
  28475. o,
  28476. a = e("../internals/native-weak-map"),
  28477. s = e("../internals/global"),
  28478. l = e("../internals/is-object"),
  28479. c = e("../internals/create-non-enumerable-property"),
  28480. u = e("../internals/has"),
  28481. f = e("../internals/shared-store"),
  28482. p = e("../internals/shared-key"),
  28483. d = e("../internals/hidden-keys"),
  28484. h = s.WeakMap,
  28485. m = function (e) {
  28486. return o(e) ? i(e) : n(e, {})
  28487. },
  28488. g = function (e) {
  28489. return function (t) {
  28490. var r
  28491. if (!l(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required")
  28492. return r
  28493. }
  28494. }
  28495. if (a) {
  28496. var y = f.state || (f.state = new h()),
  28497. v = y.get,
  28498. b = y.has,
  28499. w = y.set
  28500. ;(n = function (e, t) {
  28501. return (t.facade = e), w.call(y, e, t), t
  28502. }),
  28503. (i = function (e) {
  28504. return v.call(y, e) || {}
  28505. }),
  28506. (o = function (e) {
  28507. return b.call(y, e)
  28508. })
  28509. } else {
  28510. var x = p("state")
  28511. ;(d[x] = !0),
  28512. (n = function (e, t) {
  28513. return (t.facade = e), c(e, x, t), t
  28514. }),
  28515. (i = function (e) {
  28516. return u(e, x) ? e[x] : {}
  28517. }),
  28518. (o = function (e) {
  28519. return u(e, x)
  28520. })
  28521. }
  28522. t.exports = {
  28523. set: n,
  28524. get: i,
  28525. has: o,
  28526. enforce: m,
  28527. getterFor: g
  28528. }
  28529. },
  28530. {
  28531. "../internals/create-non-enumerable-property": 131,
  28532. "../internals/global": 150,
  28533. "../internals/has": 151,
  28534. "../internals/hidden-keys": 152,
  28535. "../internals/is-object": 164,
  28536. "../internals/native-weak-map": 174,
  28537. "../internals/shared-key": 207,
  28538. "../internals/shared-store": 208
  28539. }
  28540. ],
  28541. 161: [
  28542. function (e, t, r) {
  28543. var n = e("../internals/well-known-symbol"),
  28544. i = e("../internals/iterators"),
  28545. o = n("iterator"),
  28546. a = Array.prototype
  28547. t.exports = function (e) {
  28548. return void 0 !== e && (i.Array === e || a[o] === e)
  28549. }
  28550. },
  28551. {
  28552. "../internals/iterators": 170,
  28553. "../internals/well-known-symbol": 231
  28554. }
  28555. ],
  28556. 162: [
  28557. function (e, t, r) {
  28558. var n = e("../internals/classof-raw")
  28559. t.exports =
  28560. Array.isArray ||
  28561. function (e) {
  28562. return "Array" == n(e)
  28563. }
  28564. },
  28565. {
  28566. "../internals/classof-raw": 125
  28567. }
  28568. ],
  28569. 163: [
  28570. function (e, t, r) {
  28571. var n = e("../internals/fails"),
  28572. i = /#|\.prototype\./,
  28573. o = function (e, t) {
  28574. var r = s[a(e)]
  28575. return r == c || (r != l && ("function" == typeof t ? n(t) : !!t))
  28576. },
  28577. a = (o.normalize = function (e) {
  28578. return String(e).replace(i, ".").toLowerCase()
  28579. }),
  28580. s = (o.data = {}),
  28581. l = (o.NATIVE = "N"),
  28582. c = (o.POLYFILL = "P")
  28583. t.exports = o
  28584. },
  28585. {
  28586. "../internals/fails": 145
  28587. }
  28588. ],
  28589. 164: [
  28590. function (e, t, r) {
  28591. t.exports = function (e) {
  28592. return "object" === typeof e ? null !== e : "function" === typeof e
  28593. }
  28594. },
  28595. {}
  28596. ],
  28597. 165: [
  28598. function (e, t, r) {
  28599. t.exports = !1
  28600. },
  28601. {}
  28602. ],
  28603. 166: [
  28604. function (e, t, r) {
  28605. var n = e("../internals/is-object"),
  28606. i = e("../internals/classof-raw"),
  28607. o = e("../internals/well-known-symbol"),
  28608. a = o("match")
  28609. t.exports = function (e) {
  28610. var t
  28611. return n(e) && (void 0 !== (t = e[a]) ? !!t : "RegExp" == i(e))
  28612. }
  28613. },
  28614. {
  28615. "../internals/classof-raw": 125,
  28616. "../internals/is-object": 164,
  28617. "../internals/well-known-symbol": 231
  28618. }
  28619. ],
  28620. 167: [
  28621. function (e, t, r) {
  28622. var n = e("../internals/an-object"),
  28623. i = e("../internals/is-array-iterator-method"),
  28624. o = e("../internals/to-length"),
  28625. a = e("../internals/function-bind-context"),
  28626. s = e("../internals/get-iterator-method"),
  28627. l = e("../internals/iterator-close"),
  28628. c = function (e, t) {
  28629. ;(this.stopped = e), (this.result = t)
  28630. }
  28631. t.exports = function (e, t, r) {
  28632. var u,
  28633. f,
  28634. p,
  28635. d,
  28636. h,
  28637. m,
  28638. g,
  28639. y = r && r.that,
  28640. v = !(!r || !r.AS_ENTRIES),
  28641. b = !(!r || !r.IS_ITERATOR),
  28642. w = !(!r || !r.INTERRUPTED),
  28643. x = a(t, y, 1 + v + w),
  28644. A = function (e) {
  28645. return u && l(u), new c(!0, e)
  28646. },
  28647. _ = function (e) {
  28648. return v ? (n(e), w ? x(e[0], e[1], A) : x(e[0], e[1])) : w ? x(e, A) : x(e)
  28649. }
  28650. if (b) u = e
  28651. else {
  28652. if (((f = s(e)), "function" != typeof f)) throw TypeError("Target is not iterable")
  28653. if (i(f)) {
  28654. for (p = 0, d = o(e.length); d > p; p++) if (((h = _(e[p])), h && h instanceof c)) return h
  28655. return new c(!1)
  28656. }
  28657. u = f.call(e)
  28658. }
  28659. m = u.next
  28660. while (!(g = m.call(u)).done) {
  28661. try {
  28662. h = _(g.value)
  28663. } catch (T) {
  28664. throw (l(u), T)
  28665. }
  28666. if ("object" == typeof h && h && h instanceof c) return h
  28667. }
  28668. return new c(!1)
  28669. }
  28670. },
  28671. {
  28672. "../internals/an-object": 107,
  28673. "../internals/function-bind-context": 147,
  28674. "../internals/get-iterator-method": 149,
  28675. "../internals/is-array-iterator-method": 161,
  28676. "../internals/iterator-close": 168,
  28677. "../internals/to-length": 219
  28678. }
  28679. ],
  28680. 168: [
  28681. function (e, t, r) {
  28682. var n = e("../internals/an-object")
  28683. t.exports = function (e) {
  28684. var t = e["return"]
  28685. if (void 0 !== t) return n(t.call(e)).value
  28686. }
  28687. },
  28688. {
  28689. "../internals/an-object": 107
  28690. }
  28691. ],
  28692. 169: [
  28693. function (e, t, r) {
  28694. "use strict"
  28695. var n,
  28696. i,
  28697. o,
  28698. a = e("../internals/object-get-prototype-of"),
  28699. s = e("../internals/create-non-enumerable-property"),
  28700. l = e("../internals/has"),
  28701. c = e("../internals/well-known-symbol"),
  28702. u = e("../internals/is-pure"),
  28703. f = c("iterator"),
  28704. p = !1,
  28705. d = function () {
  28706. return this
  28707. }
  28708. ;[].keys && ((o = [].keys()), "next" in o ? ((i = a(a(o))), i !== Object.prototype && (n = i)) : (p = !0)),
  28709. void 0 == n && (n = {}),
  28710. u || l(n, f) || s(n, f, d),
  28711. (t.exports = {
  28712. IteratorPrototype: n,
  28713. BUGGY_SAFARI_ITERATORS: p
  28714. })
  28715. },
  28716. {
  28717. "../internals/create-non-enumerable-property": 131,
  28718. "../internals/has": 151,
  28719. "../internals/is-pure": 165,
  28720. "../internals/object-get-prototype-of": 185,
  28721. "../internals/well-known-symbol": 231
  28722. }
  28723. ],
  28724. 170: [
  28725. function (e, t, r) {
  28726. arguments[4][152][0].apply(r, arguments)
  28727. },
  28728. {
  28729. dup: 152
  28730. }
  28731. ],
  28732. 171: [
  28733. function (e, t, r) {
  28734. var n,
  28735. i,
  28736. o,
  28737. a,
  28738. s,
  28739. l,
  28740. c,
  28741. u,
  28742. f = e("../internals/global"),
  28743. p = e("../internals/object-get-own-property-descriptor").f,
  28744. d = e("../internals/task").set,
  28745. h = e("../internals/engine-is-ios"),
  28746. m = e("../internals/engine-is-node"),
  28747. g = f.MutationObserver || f.WebKitMutationObserver,
  28748. y = f.document,
  28749. v = f.process,
  28750. b = f.Promise,
  28751. w = p(f, "queueMicrotask"),
  28752. x = w && w.value
  28753. x ||
  28754. ((n = function () {
  28755. var e, t
  28756. m && (e = v.domain) && e.exit()
  28757. while (i) {
  28758. ;(t = i.fn), (i = i.next)
  28759. try {
  28760. t()
  28761. } catch (r) {
  28762. throw (i ? a() : (o = void 0), r)
  28763. }
  28764. }
  28765. ;(o = void 0), e && e.enter()
  28766. }),
  28767. !h && !m && g && y
  28768. ? ((s = !0),
  28769. (l = y.createTextNode("")),
  28770. new g(n).observe(l, {
  28771. characterData: !0
  28772. }),
  28773. (a = function () {
  28774. l.data = s = !s
  28775. }))
  28776. : b && b.resolve
  28777. ? ((c = b.resolve(void 0)),
  28778. (u = c.then),
  28779. (a = function () {
  28780. u.call(c, n)
  28781. }))
  28782. : (a = m
  28783. ? function () {
  28784. v.nextTick(n)
  28785. }
  28786. : function () {
  28787. d.call(f, n)
  28788. })),
  28789. (t.exports =
  28790. x ||
  28791. function (e) {
  28792. var t = {
  28793. fn: e,
  28794. next: void 0
  28795. }
  28796. o && (o.next = t), i || ((i = t), a()), (o = t)
  28797. })
  28798. },
  28799. {
  28800. "../internals/engine-is-ios": 139,
  28801. "../internals/engine-is-node": 140,
  28802. "../internals/global": 150,
  28803. "../internals/object-get-own-property-descriptor": 181,
  28804. "../internals/task": 214
  28805. }
  28806. ],
  28807. 172: [
  28808. function (e, t, r) {
  28809. var n = e("../internals/global")
  28810. t.exports = n.Promise
  28811. },
  28812. {
  28813. "../internals/global": 150
  28814. }
  28815. ],
  28816. 173: [
  28817. function (e, t, r) {
  28818. var n = e("../internals/fails")
  28819. t.exports =
  28820. !!Object.getOwnPropertySymbols &&
  28821. !n(function () {
  28822. return !String(Symbol())
  28823. })
  28824. },
  28825. {
  28826. "../internals/fails": 145
  28827. }
  28828. ],
  28829. 174: [
  28830. function (e, t, r) {
  28831. var n = e("../internals/global"),
  28832. i = e("../internals/inspect-source"),
  28833. o = n.WeakMap
  28834. t.exports = "function" === typeof o && /native code/.test(i(o))
  28835. },
  28836. {
  28837. "../internals/global": 150,
  28838. "../internals/inspect-source": 159
  28839. }
  28840. ],
  28841. 175: [
  28842. function (e, t, r) {
  28843. "use strict"
  28844. var n = e("../internals/a-function"),
  28845. i = function (e) {
  28846. var t, r
  28847. ;(this.promise = new e(function (e, n) {
  28848. if (void 0 !== t || void 0 !== r) throw TypeError("Bad Promise constructor")
  28849. ;(t = e), (r = n)
  28850. })),
  28851. (this.resolve = n(t)),
  28852. (this.reject = n(r))
  28853. }
  28854. t.exports.f = function (e) {
  28855. return new i(e)
  28856. }
  28857. },
  28858. {
  28859. "../internals/a-function": 102
  28860. }
  28861. ],
  28862. 176: [
  28863. function (e, t, r) {
  28864. var n = e("../internals/is-regexp")
  28865. t.exports = function (e) {
  28866. if (n(e)) throw TypeError("The method doesn't accept regular expressions")
  28867. return e
  28868. }
  28869. },
  28870. {
  28871. "../internals/is-regexp": 166
  28872. }
  28873. ],
  28874. 177: [
  28875. function (e, t, r) {
  28876. "use strict"
  28877. var n = e("../internals/descriptors"),
  28878. i = e("../internals/fails"),
  28879. o = e("../internals/object-keys"),
  28880. a = e("../internals/object-get-own-property-symbols"),
  28881. s = e("../internals/object-property-is-enumerable"),
  28882. l = e("../internals/to-object"),
  28883. c = e("../internals/indexed-object"),
  28884. u = Object.assign,
  28885. f = Object.defineProperty
  28886. t.exports =
  28887. !u ||
  28888. i(function () {
  28889. if (
  28890. n &&
  28891. 1 !==
  28892. u(
  28893. {
  28894. b: 1
  28895. },
  28896. u(
  28897. f({}, "a", {
  28898. enumerable: !0,
  28899. get: function () {
  28900. f(this, "b", {
  28901. value: 3,
  28902. enumerable: !1
  28903. })
  28904. }
  28905. }),
  28906. {
  28907. b: 2
  28908. }
  28909. )
  28910. ).b
  28911. )
  28912. return !0
  28913. var e = {},
  28914. t = {},
  28915. r = Symbol(),
  28916. i = "abcdefghijklmnopqrst"
  28917. return (
  28918. (e[r] = 7),
  28919. i.split("").forEach(function (e) {
  28920. t[e] = e
  28921. }),
  28922. 7 != u({}, e)[r] || o(u({}, t)).join("") != i
  28923. )
  28924. })
  28925. ? function (e, t) {
  28926. var r = l(e),
  28927. i = arguments.length,
  28928. u = 1,
  28929. f = a.f,
  28930. p = s.f
  28931. while (i > u) {
  28932. var d,
  28933. h = c(arguments[u++]),
  28934. m = f ? o(h).concat(f(h)) : o(h),
  28935. g = m.length,
  28936. y = 0
  28937. while (g > y) (d = m[y++]), (n && !p.call(h, d)) || (r[d] = h[d])
  28938. }
  28939. return r
  28940. }
  28941. : u
  28942. },
  28943. {
  28944. "../internals/descriptors": 136,
  28945. "../internals/fails": 145,
  28946. "../internals/indexed-object": 157,
  28947. "../internals/object-get-own-property-symbols": 184,
  28948. "../internals/object-keys": 187,
  28949. "../internals/object-property-is-enumerable": 188,
  28950. "../internals/to-object": 220
  28951. }
  28952. ],
  28953. 178: [
  28954. function (e, t, r) {
  28955. var n,
  28956. i = e("../internals/an-object"),
  28957. o = e("../internals/object-define-properties"),
  28958. a = e("../internals/enum-bug-keys"),
  28959. s = e("../internals/hidden-keys"),
  28960. l = e("../internals/html"),
  28961. c = e("../internals/document-create-element"),
  28962. u = e("../internals/shared-key"),
  28963. f = ">",
  28964. p = "<",
  28965. d = "prototype",
  28966. h = "script",
  28967. m = u("IE_PROTO"),
  28968. g = function () {},
  28969. y = function (e) {
  28970. return p + h + f + e + p + "/" + h + f
  28971. },
  28972. v = function (e) {
  28973. e.write(y("")), e.close()
  28974. var t = e.parentWindow.Object
  28975. return (e = null), t
  28976. },
  28977. b = function () {
  28978. var e,
  28979. t = c("iframe"),
  28980. r = "java" + h + ":"
  28981. return (
  28982. (t.style.display = "none"),
  28983. l.appendChild(t),
  28984. (t.src = String(r)),
  28985. (e = t.contentWindow.document),
  28986. e.open(),
  28987. e.write(y("document.F=Object")),
  28988. e.close(),
  28989. e.F
  28990. )
  28991. },
  28992. w = function () {
  28993. try {
  28994. n = document.domain && new ActiveXObject("htmlfile")
  28995. } catch (t) {}
  28996. w = n ? v(n) : b()
  28997. var e = a.length
  28998. while (e--) delete w[d][a[e]]
  28999. return w()
  29000. }
  29001. ;(s[m] = !0),
  29002. (t.exports =
  29003. Object.create ||
  29004. function (e, t) {
  29005. var r
  29006. return null !== e ? ((g[d] = i(e)), (r = new g()), (g[d] = null), (r[m] = e)) : (r = w()), void 0 === t ? r : o(r, t)
  29007. })
  29008. },
  29009. {
  29010. "../internals/an-object": 107,
  29011. "../internals/document-create-element": 137,
  29012. "../internals/enum-bug-keys": 143,
  29013. "../internals/hidden-keys": 152,
  29014. "../internals/html": 154,
  29015. "../internals/object-define-properties": 179,
  29016. "../internals/shared-key": 207
  29017. }
  29018. ],
  29019. 179: [
  29020. function (e, t, r) {
  29021. var n = e("../internals/descriptors"),
  29022. i = e("../internals/object-define-property"),
  29023. o = e("../internals/an-object"),
  29024. a = e("../internals/object-keys")
  29025. t.exports = n
  29026. ? Object.defineProperties
  29027. : function (e, t) {
  29028. o(e)
  29029. var r,
  29030. n = a(t),
  29031. s = n.length,
  29032. l = 0
  29033. while (s > l) i.f(e, (r = n[l++]), t[r])
  29034. return e
  29035. }
  29036. },
  29037. {
  29038. "../internals/an-object": 107,
  29039. "../internals/descriptors": 136,
  29040. "../internals/object-define-property": 180,
  29041. "../internals/object-keys": 187
  29042. }
  29043. ],
  29044. 180: [
  29045. function (e, t, r) {
  29046. var n = e("../internals/descriptors"),
  29047. i = e("../internals/ie8-dom-define"),
  29048. o = e("../internals/an-object"),
  29049. a = e("../internals/to-primitive"),
  29050. s = Object.defineProperty
  29051. r.f = n
  29052. ? s
  29053. : function (e, t, r) {
  29054. if ((o(e), (t = a(t, !0)), o(r), i))
  29055. try {
  29056. return s(e, t, r)
  29057. } catch (n) {}
  29058. if ("get" in r || "set" in r) throw TypeError("Accessors not supported")
  29059. return "value" in r && (e[t] = r.value), e
  29060. }
  29061. },
  29062. {
  29063. "../internals/an-object": 107,
  29064. "../internals/descriptors": 136,
  29065. "../internals/ie8-dom-define": 155,
  29066. "../internals/to-primitive": 223
  29067. }
  29068. ],
  29069. 181: [
  29070. function (e, t, r) {
  29071. var n = e("../internals/descriptors"),
  29072. i = e("../internals/object-property-is-enumerable"),
  29073. o = e("../internals/create-property-descriptor"),
  29074. a = e("../internals/to-indexed-object"),
  29075. s = e("../internals/to-primitive"),
  29076. l = e("../internals/has"),
  29077. c = e("../internals/ie8-dom-define"),
  29078. u = Object.getOwnPropertyDescriptor
  29079. r.f = n
  29080. ? u
  29081. : function (e, t) {
  29082. if (((e = a(e)), (t = s(t, !0)), c))
  29083. try {
  29084. return u(e, t)
  29085. } catch (r) {}
  29086. if (l(e, t)) return o(!i.f.call(e, t), e[t])
  29087. }
  29088. },
  29089. {
  29090. "../internals/create-property-descriptor": 132,
  29091. "../internals/descriptors": 136,
  29092. "../internals/has": 151,
  29093. "../internals/ie8-dom-define": 155,
  29094. "../internals/object-property-is-enumerable": 188,
  29095. "../internals/to-indexed-object": 217,
  29096. "../internals/to-primitive": 223
  29097. }
  29098. ],
  29099. 182: [
  29100. function (e, t, r) {
  29101. var n = e("../internals/to-indexed-object"),
  29102. i = e("../internals/object-get-own-property-names").f,
  29103. o = {}.toString,
  29104. a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
  29105. s = function (e) {
  29106. try {
  29107. return i(e)
  29108. } catch (t) {
  29109. return a.slice()
  29110. }
  29111. }
  29112. t.exports.f = function (e) {
  29113. return a && "[object Window]" == o.call(e) ? s(e) : i(n(e))
  29114. }
  29115. },
  29116. {
  29117. "../internals/object-get-own-property-names": 183,
  29118. "../internals/to-indexed-object": 217
  29119. }
  29120. ],
  29121. 183: [
  29122. function (e, t, r) {
  29123. var n = e("../internals/object-keys-internal"),
  29124. i = e("../internals/enum-bug-keys"),
  29125. o = i.concat("length", "prototype")
  29126. r.f =
  29127. Object.getOwnPropertyNames ||
  29128. function (e) {
  29129. return n(e, o)
  29130. }
  29131. },
  29132. {
  29133. "../internals/enum-bug-keys": 143,
  29134. "../internals/object-keys-internal": 186
  29135. }
  29136. ],
  29137. 184: [
  29138. function (e, t, r) {
  29139. r.f = Object.getOwnPropertySymbols
  29140. },
  29141. {}
  29142. ],
  29143. 185: [
  29144. function (e, t, r) {
  29145. var n = e("../internals/has"),
  29146. i = e("../internals/to-object"),
  29147. o = e("../internals/shared-key"),
  29148. a = e("../internals/correct-prototype-getter"),
  29149. s = o("IE_PROTO"),
  29150. l = Object.prototype
  29151. t.exports = a
  29152. ? Object.getPrototypeOf
  29153. : function (e) {
  29154. return (
  29155. (e = i(e)),
  29156. n(e, s)
  29157. ? e[s]
  29158. : "function" == typeof e.constructor && e instanceof e.constructor
  29159. ? e.constructor.prototype
  29160. : e instanceof Object
  29161. ? l
  29162. : null
  29163. )
  29164. }
  29165. },
  29166. {
  29167. "../internals/correct-prototype-getter": 129,
  29168. "../internals/has": 151,
  29169. "../internals/shared-key": 207,
  29170. "../internals/to-object": 220
  29171. }
  29172. ],
  29173. 186: [
  29174. function (e, t, r) {
  29175. var n = e("../internals/has"),
  29176. i = e("../internals/to-indexed-object"),
  29177. o = e("../internals/array-includes").indexOf,
  29178. a = e("../internals/hidden-keys")
  29179. t.exports = function (e, t) {
  29180. var r,
  29181. s = i(e),
  29182. l = 0,
  29183. c = []
  29184. for (r in s) !n(a, r) && n(s, r) && c.push(r)
  29185. while (t.length > l) n(s, (r = t[l++])) && (~o(c, r) || c.push(r))
  29186. return c
  29187. }
  29188. },
  29189. {
  29190. "../internals/array-includes": 115,
  29191. "../internals/has": 151,
  29192. "../internals/hidden-keys": 152,
  29193. "../internals/to-indexed-object": 217
  29194. }
  29195. ],
  29196. 187: [
  29197. function (e, t, r) {
  29198. var n = e("../internals/object-keys-internal"),
  29199. i = e("../internals/enum-bug-keys")
  29200. t.exports =
  29201. Object.keys ||
  29202. function (e) {
  29203. return n(e, i)
  29204. }
  29205. },
  29206. {
  29207. "../internals/enum-bug-keys": 143,
  29208. "../internals/object-keys-internal": 186
  29209. }
  29210. ],
  29211. 188: [
  29212. function (e, t, r) {
  29213. "use strict"
  29214. var n = {}.propertyIsEnumerable,
  29215. i = Object.getOwnPropertyDescriptor,
  29216. o =
  29217. i &&
  29218. !n.call(
  29219. {
  29220. 1: 2
  29221. },
  29222. 1
  29223. )
  29224. r.f = o
  29225. ? function (e) {
  29226. var t = i(this, e)
  29227. return !!t && t.enumerable
  29228. }
  29229. : n
  29230. },
  29231. {}
  29232. ],
  29233. 189: [
  29234. function (e, t, r) {
  29235. var n = e("../internals/an-object"),
  29236. i = e("../internals/a-possible-prototype")
  29237. t.exports =
  29238. Object.setPrototypeOf ||
  29239. ("__proto__" in {}
  29240. ? (function () {
  29241. var e,
  29242. t = !1,
  29243. r = {}
  29244. try {
  29245. ;(e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set),
  29246. e.call(r, []),
  29247. (t = r instanceof Array)
  29248. } catch (o) {}
  29249. return function (r, o) {
  29250. return n(r), i(o), t ? e.call(r, o) : (r.__proto__ = o), r
  29251. }
  29252. })()
  29253. : void 0)
  29254. },
  29255. {
  29256. "../internals/a-possible-prototype": 103,
  29257. "../internals/an-object": 107
  29258. }
  29259. ],
  29260. 190: [
  29261. function (e, t, r) {
  29262. var n = e("../internals/descriptors"),
  29263. i = e("../internals/object-keys"),
  29264. o = e("../internals/to-indexed-object"),
  29265. a = e("../internals/object-property-is-enumerable").f,
  29266. s = function (e) {
  29267. return function (t) {
  29268. var r,
  29269. s = o(t),
  29270. l = i(s),
  29271. c = l.length,
  29272. u = 0,
  29273. f = []
  29274. while (c > u) (r = l[u++]), (n && !a.call(s, r)) || f.push(e ? [r, s[r]] : s[r])
  29275. return f
  29276. }
  29277. }
  29278. t.exports = {
  29279. entries: s(!0),
  29280. values: s(!1)
  29281. }
  29282. },
  29283. {
  29284. "../internals/descriptors": 136,
  29285. "../internals/object-keys": 187,
  29286. "../internals/object-property-is-enumerable": 188,
  29287. "../internals/to-indexed-object": 217
  29288. }
  29289. ],
  29290. 191: [
  29291. function (e, t, r) {
  29292. "use strict"
  29293. var n = e("../internals/to-string-tag-support"),
  29294. i = e("../internals/classof")
  29295. t.exports = n
  29296. ? {}.toString
  29297. : function () {
  29298. return "[object " + i(this) + "]"
  29299. }
  29300. },
  29301. {
  29302. "../internals/classof": 126,
  29303. "../internals/to-string-tag-support": 224
  29304. }
  29305. ],
  29306. 192: [
  29307. function (e, t, r) {
  29308. var n = e("../internals/get-built-in"),
  29309. i = e("../internals/object-get-own-property-names"),
  29310. o = e("../internals/object-get-own-property-symbols"),
  29311. a = e("../internals/an-object")
  29312. t.exports =
  29313. n("Reflect", "ownKeys") ||
  29314. function (e) {
  29315. var t = i.f(a(e)),
  29316. r = o.f
  29317. return r ? t.concat(r(e)) : t
  29318. }
  29319. },
  29320. {
  29321. "../internals/an-object": 107,
  29322. "../internals/get-built-in": 148,
  29323. "../internals/object-get-own-property-names": 183,
  29324. "../internals/object-get-own-property-symbols": 184
  29325. }
  29326. ],
  29327. 193: [
  29328. function (e, t, r) {
  29329. var n = e("../internals/global")
  29330. t.exports = n
  29331. },
  29332. {
  29333. "../internals/global": 150
  29334. }
  29335. ],
  29336. 194: [
  29337. function (e, t, r) {
  29338. t.exports = function (e) {
  29339. try {
  29340. return {
  29341. error: !1,
  29342. value: e()
  29343. }
  29344. } catch (t) {
  29345. return {
  29346. error: !0,
  29347. value: t
  29348. }
  29349. }
  29350. }
  29351. },
  29352. {}
  29353. ],
  29354. 195: [
  29355. function (e, t, r) {
  29356. var n = e("../internals/an-object"),
  29357. i = e("../internals/is-object"),
  29358. o = e("../internals/new-promise-capability")
  29359. t.exports = function (e, t) {
  29360. if ((n(e), i(t) && t.constructor === e)) return t
  29361. var r = o.f(e),
  29362. a = r.resolve
  29363. return a(t), r.promise
  29364. }
  29365. },
  29366. {
  29367. "../internals/an-object": 107,
  29368. "../internals/is-object": 164,
  29369. "../internals/new-promise-capability": 175
  29370. }
  29371. ],
  29372. 196: [
  29373. function (e, t, r) {
  29374. var n = e("../internals/redefine")
  29375. t.exports = function (e, t, r) {
  29376. for (var i in t) n(e, i, t[i], r)
  29377. return e
  29378. }
  29379. },
  29380. {
  29381. "../internals/redefine": 197
  29382. }
  29383. ],
  29384. 197: [
  29385. function (e, t, r) {
  29386. var n = e("../internals/global"),
  29387. i = e("../internals/create-non-enumerable-property"),
  29388. o = e("../internals/has"),
  29389. a = e("../internals/set-global"),
  29390. s = e("../internals/inspect-source"),
  29391. l = e("../internals/internal-state"),
  29392. c = l.get,
  29393. u = l.enforce,
  29394. f = String(String).split("String")
  29395. ;(t.exports = function (e, t, r, s) {
  29396. var l,
  29397. c = !!s && !!s.unsafe,
  29398. p = !!s && !!s.enumerable,
  29399. d = !!s && !!s.noTargetGet
  29400. "function" == typeof r &&
  29401. ("string" != typeof t || o(r, "name") || i(r, "name", t),
  29402. (l = u(r)),
  29403. l.source || (l.source = f.join("string" == typeof t ? t : ""))),
  29404. e !== n ? (c ? !d && e[t] && (p = !0) : delete e[t], p ? (e[t] = r) : i(e, t, r)) : p ? (e[t] = r) : a(t, r)
  29405. })(Function.prototype, "toString", function () {
  29406. return ("function" == typeof this && c(this).source) || s(this)
  29407. })
  29408. },
  29409. {
  29410. "../internals/create-non-enumerable-property": 131,
  29411. "../internals/global": 150,
  29412. "../internals/has": 151,
  29413. "../internals/inspect-source": 159,
  29414. "../internals/internal-state": 160,
  29415. "../internals/set-global": 204
  29416. }
  29417. ],
  29418. 198: [
  29419. function (e, t, r) {
  29420. var n = e("./classof-raw"),
  29421. i = e("./regexp-exec")
  29422. t.exports = function (e, t) {
  29423. var r = e.exec
  29424. if ("function" === typeof r) {
  29425. var o = r.call(e, t)
  29426. if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null")
  29427. return o
  29428. }
  29429. if ("RegExp" !== n(e)) throw TypeError("RegExp#exec called on incompatible receiver")
  29430. return i.call(e, t)
  29431. }
  29432. },
  29433. {
  29434. "./classof-raw": 125,
  29435. "./regexp-exec": 199
  29436. }
  29437. ],
  29438. 199: [
  29439. function (e, t, r) {
  29440. "use strict"
  29441. var n = e("./regexp-flags"),
  29442. i = e("./regexp-sticky-helpers"),
  29443. o = RegExp.prototype.exec,
  29444. a = String.prototype.replace,
  29445. s = o,
  29446. l = (function () {
  29447. var e = /a/,
  29448. t = /b*/g
  29449. return o.call(e, "a"), o.call(t, "a"), 0 !== e.lastIndex || 0 !== t.lastIndex
  29450. })(),
  29451. c = i.UNSUPPORTED_Y || i.BROKEN_CARET,
  29452. u = void 0 !== /()??/.exec("")[1],
  29453. f = l || u || c
  29454. f &&
  29455. (s = function (e) {
  29456. var t,
  29457. r,
  29458. i,
  29459. s,
  29460. f = this,
  29461. p = c && f.sticky,
  29462. d = n.call(f),
  29463. h = f.source,
  29464. m = 0,
  29465. g = e
  29466. return (
  29467. p &&
  29468. ((d = d.replace("y", "")),
  29469. -1 === d.indexOf("g") && (d += "g"),
  29470. (g = String(e).slice(f.lastIndex)),
  29471. f.lastIndex > 0 &&
  29472. (!f.multiline || (f.multiline && "\n" !== e[f.lastIndex - 1])) &&
  29473. ((h = "(?: " + h + ")"), (g = " " + g), m++),
  29474. (r = new RegExp("^(?:" + h + ")", d))),
  29475. u && (r = new RegExp("^" + h + "$(?!\\s)", d)),
  29476. l && (t = f.lastIndex),
  29477. (i = o.call(p ? r : f, g)),
  29478. p
  29479. ? i
  29480. ? ((i.input = i.input.slice(m)), (i[0] = i[0].slice(m)), (i.index = f.lastIndex), (f.lastIndex += i[0].length))
  29481. : (f.lastIndex = 0)
  29482. : l && i && (f.lastIndex = f.global ? i.index + i[0].length : t),
  29483. u &&
  29484. i &&
  29485. i.length > 1 &&
  29486. a.call(i[0], r, function () {
  29487. for (s = 1; s < arguments.length - 2; s++) void 0 === arguments[s] && (i[s] = void 0)
  29488. }),
  29489. i
  29490. )
  29491. }),
  29492. (t.exports = s)
  29493. },
  29494. {
  29495. "./regexp-flags": 200,
  29496. "./regexp-sticky-helpers": 201
  29497. }
  29498. ],
  29499. 200: [
  29500. function (e, t, r) {
  29501. "use strict"
  29502. var n = e("../internals/an-object")
  29503. t.exports = function () {
  29504. var e = n(this),
  29505. t = ""
  29506. return (
  29507. e.global && (t += "g"),
  29508. e.ignoreCase && (t += "i"),
  29509. e.multiline && (t += "m"),
  29510. e.dotAll && (t += "s"),
  29511. e.unicode && (t += "u"),
  29512. e.sticky && (t += "y"),
  29513. t
  29514. )
  29515. }
  29516. },
  29517. {
  29518. "../internals/an-object": 107
  29519. }
  29520. ],
  29521. 201: [
  29522. function (e, t, r) {
  29523. "use strict"
  29524. var n = e("./fails")
  29525. function i(e, t) {
  29526. return RegExp(e, t)
  29527. }
  29528. ;(r.UNSUPPORTED_Y = n(function () {
  29529. var e = i("a", "y")
  29530. return (e.lastIndex = 2), null != e.exec("abcd")
  29531. })),
  29532. (r.BROKEN_CARET = n(function () {
  29533. var e = i("^r", "gy")
  29534. return (e.lastIndex = 2), null != e.exec("str")
  29535. }))
  29536. },
  29537. {
  29538. "./fails": 145
  29539. }
  29540. ],
  29541. 202: [
  29542. function (e, t, r) {
  29543. t.exports = function (e) {
  29544. if (void 0 == e) throw TypeError("Can't call method on " + e)
  29545. return e
  29546. }
  29547. },
  29548. {}
  29549. ],
  29550. 203: [
  29551. function (e, t, r) {
  29552. t.exports =
  29553. Object.is ||
  29554. function (e, t) {
  29555. return e === t ? 0 !== e || 1 / e === 1 / t : e != e && t != t
  29556. }
  29557. },
  29558. {}
  29559. ],
  29560. 204: [
  29561. function (e, t, r) {
  29562. var n = e("../internals/global"),
  29563. i = e("../internals/create-non-enumerable-property")
  29564. t.exports = function (e, t) {
  29565. try {
  29566. i(n, e, t)
  29567. } catch (r) {
  29568. n[e] = t
  29569. }
  29570. return t
  29571. }
  29572. },
  29573. {
  29574. "../internals/create-non-enumerable-property": 131,
  29575. "../internals/global": 150
  29576. }
  29577. ],
  29578. 205: [
  29579. function (e, t, r) {
  29580. "use strict"
  29581. var n = e("../internals/get-built-in"),
  29582. i = e("../internals/object-define-property"),
  29583. o = e("../internals/well-known-symbol"),
  29584. a = e("../internals/descriptors"),
  29585. s = o("species")
  29586. t.exports = function (e) {
  29587. var t = n(e),
  29588. r = i.f
  29589. a &&
  29590. t &&
  29591. !t[s] &&
  29592. r(t, s, {
  29593. configurable: !0,
  29594. get: function () {
  29595. return this
  29596. }
  29597. })
  29598. }
  29599. },
  29600. {
  29601. "../internals/descriptors": 136,
  29602. "../internals/get-built-in": 148,
  29603. "../internals/object-define-property": 180,
  29604. "../internals/well-known-symbol": 231
  29605. }
  29606. ],
  29607. 206: [
  29608. function (e, t, r) {
  29609. var n = e("../internals/object-define-property").f,
  29610. i = e("../internals/has"),
  29611. o = e("../internals/well-known-symbol"),
  29612. a = o("toStringTag")
  29613. t.exports = function (e, t, r) {
  29614. e &&
  29615. !i((e = r ? e : e.prototype), a) &&
  29616. n(e, a, {
  29617. configurable: !0,
  29618. value: t
  29619. })
  29620. }
  29621. },
  29622. {
  29623. "../internals/has": 151,
  29624. "../internals/object-define-property": 180,
  29625. "../internals/well-known-symbol": 231
  29626. }
  29627. ],
  29628. 207: [
  29629. function (e, t, r) {
  29630. var n = e("../internals/shared"),
  29631. i = e("../internals/uid"),
  29632. o = n("keys")
  29633. t.exports = function (e) {
  29634. return o[e] || (o[e] = i(e))
  29635. }
  29636. },
  29637. {
  29638. "../internals/shared": 209,
  29639. "../internals/uid": 228
  29640. }
  29641. ],
  29642. 208: [
  29643. function (e, t, r) {
  29644. var n = e("../internals/global"),
  29645. i = e("../internals/set-global"),
  29646. o = "__core-js_shared__",
  29647. a = n[o] || i(o, {})
  29648. t.exports = a
  29649. },
  29650. {
  29651. "../internals/global": 150,
  29652. "../internals/set-global": 204
  29653. }
  29654. ],
  29655. 209: [
  29656. function (e, t, r) {
  29657. var n = e("../internals/is-pure"),
  29658. i = e("../internals/shared-store")
  29659. ;(t.exports = function (e, t) {
  29660. return i[e] || (i[e] = void 0 !== t ? t : {})
  29661. })("versions", []).push({
  29662. version: "3.7.0",
  29663. mode: n ? "pure" : "global",
  29664. copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
  29665. })
  29666. },
  29667. {
  29668. "../internals/is-pure": 165,
  29669. "../internals/shared-store": 208
  29670. }
  29671. ],
  29672. 210: [
  29673. function (e, t, r) {
  29674. var n = e("../internals/an-object"),
  29675. i = e("../internals/a-function"),
  29676. o = e("../internals/well-known-symbol"),
  29677. a = o("species")
  29678. t.exports = function (e, t) {
  29679. var r,
  29680. o = n(e).constructor
  29681. return void 0 === o || void 0 == (r = n(o)[a]) ? t : i(r)
  29682. }
  29683. },
  29684. {
  29685. "../internals/a-function": 102,
  29686. "../internals/an-object": 107,
  29687. "../internals/well-known-symbol": 231
  29688. }
  29689. ],
  29690. 211: [
  29691. function (e, t, r) {
  29692. var n = e("../internals/to-integer"),
  29693. i = e("../internals/require-object-coercible"),
  29694. o = function (e) {
  29695. return function (t, r) {
  29696. var o,
  29697. a,
  29698. s = String(i(t)),
  29699. l = n(r),
  29700. c = s.length
  29701. return l < 0 || l >= c
  29702. ? e
  29703. ? ""
  29704. : void 0
  29705. : ((o = s.charCodeAt(l)),
  29706. o < 55296 || o > 56319 || l + 1 === c || (a = s.charCodeAt(l + 1)) < 56320 || a > 57343
  29707. ? e
  29708. ? s.charAt(l)
  29709. : o
  29710. : e
  29711. ? s.slice(l, l + 2)
  29712. : a - 56320 + ((o - 55296) << 10) + 65536)
  29713. }
  29714. }
  29715. t.exports = {
  29716. codeAt: o(!1),
  29717. charAt: o(!0)
  29718. }
  29719. },
  29720. {
  29721. "../internals/require-object-coercible": 202,
  29722. "../internals/to-integer": 218
  29723. }
  29724. ],
  29725. 212: [
  29726. function (e, t, r) {
  29727. var n = e("../internals/fails"),
  29728. i = e("../internals/whitespaces"),
  29729. o = "​…᠎"
  29730. t.exports = function (e) {
  29731. return n(function () {
  29732. return !!i[e]() || o[e]() != o || i[e].name !== e
  29733. })
  29734. }
  29735. },
  29736. {
  29737. "../internals/fails": 145,
  29738. "../internals/whitespaces": 232
  29739. }
  29740. ],
  29741. 213: [
  29742. function (e, t, r) {
  29743. var n = e("../internals/require-object-coercible"),
  29744. i = e("../internals/whitespaces"),
  29745. o = "[" + i + "]",
  29746. a = RegExp("^" + o + o + "*"),
  29747. s = RegExp(o + o + "*$"),
  29748. l = function (e) {
  29749. return function (t) {
  29750. var r = String(n(t))
  29751. return 1 & e && (r = r.replace(a, "")), 2 & e && (r = r.replace(s, "")), r
  29752. }
  29753. }
  29754. t.exports = {
  29755. start: l(1),
  29756. end: l(2),
  29757. trim: l(3)
  29758. }
  29759. },
  29760. {
  29761. "../internals/require-object-coercible": 202,
  29762. "../internals/whitespaces": 232
  29763. }
  29764. ],
  29765. 214: [
  29766. function (e, t, r) {
  29767. var n,
  29768. i,
  29769. o,
  29770. a = e("../internals/global"),
  29771. s = e("../internals/fails"),
  29772. l = e("../internals/function-bind-context"),
  29773. c = e("../internals/html"),
  29774. u = e("../internals/document-create-element"),
  29775. f = e("../internals/engine-is-ios"),
  29776. p = e("../internals/engine-is-node"),
  29777. d = a.location,
  29778. h = a.setImmediate,
  29779. m = a.clearImmediate,
  29780. g = a.process,
  29781. y = a.MessageChannel,
  29782. v = a.Dispatch,
  29783. b = 0,
  29784. w = {},
  29785. x = "onreadystatechange",
  29786. A = function (e) {
  29787. if (w.hasOwnProperty(e)) {
  29788. var t = w[e]
  29789. delete w[e], t()
  29790. }
  29791. },
  29792. _ = function (e) {
  29793. return function () {
  29794. A(e)
  29795. }
  29796. },
  29797. T = function (e) {
  29798. A(e.data)
  29799. },
  29800. E = function (e) {
  29801. a.postMessage(e + "", d.protocol + "//" + d.host)
  29802. }
  29803. ;(h && m) ||
  29804. ((h = function (e) {
  29805. var t = [],
  29806. r = 1
  29807. while (arguments.length > r) t.push(arguments[r++])
  29808. return (
  29809. (w[++b] = function () {
  29810. ;("function" == typeof e ? e : Function(e)).apply(void 0, t)
  29811. }),
  29812. n(b),
  29813. b
  29814. )
  29815. }),
  29816. (m = function (e) {
  29817. delete w[e]
  29818. }),
  29819. p
  29820. ? (n = function (e) {
  29821. g.nextTick(_(e))
  29822. })
  29823. : v && v.now
  29824. ? (n = function (e) {
  29825. v.now(_(e))
  29826. })
  29827. : y && !f
  29828. ? ((i = new y()), (o = i.port2), (i.port1.onmessage = T), (n = l(o.postMessage, o, 1)))
  29829. : a.addEventListener && "function" == typeof postMessage && !a.importScripts && d && "file:" !== d.protocol && !s(E)
  29830. ? ((n = E), a.addEventListener("message", T, !1))
  29831. : (n =
  29832. x in u("script")
  29833. ? function (e) {
  29834. c.appendChild(u("script"))[x] = function () {
  29835. c.removeChild(this), A(e)
  29836. }
  29837. }
  29838. : function (e) {
  29839. setTimeout(_(e), 0)
  29840. })),
  29841. (t.exports = {
  29842. set: h,
  29843. clear: m
  29844. })
  29845. },
  29846. {
  29847. "../internals/document-create-element": 137,
  29848. "../internals/engine-is-ios": 139,
  29849. "../internals/engine-is-node": 140,
  29850. "../internals/fails": 145,
  29851. "../internals/function-bind-context": 147,
  29852. "../internals/global": 150,
  29853. "../internals/html": 154
  29854. }
  29855. ],
  29856. 215: [
  29857. function (e, t, r) {
  29858. var n = e("../internals/to-integer"),
  29859. i = Math.max,
  29860. o = Math.min
  29861. t.exports = function (e, t) {
  29862. var r = n(e)
  29863. return r < 0 ? i(r + t, 0) : o(r, t)
  29864. }
  29865. },
  29866. {
  29867. "../internals/to-integer": 218
  29868. }
  29869. ],
  29870. 216: [
  29871. function (e, t, r) {
  29872. var n = e("../internals/to-integer"),
  29873. i = e("../internals/to-length")
  29874. t.exports = function (e) {
  29875. if (void 0 === e) return 0
  29876. var t = n(e),
  29877. r = i(t)
  29878. if (t !== r) throw RangeError("Wrong length or index")
  29879. return r
  29880. }
  29881. },
  29882. {
  29883. "../internals/to-integer": 218,
  29884. "../internals/to-length": 219
  29885. }
  29886. ],
  29887. 217: [
  29888. function (e, t, r) {
  29889. var n = e("../internals/indexed-object"),
  29890. i = e("../internals/require-object-coercible")
  29891. t.exports = function (e) {
  29892. return n(i(e))
  29893. }
  29894. },
  29895. {
  29896. "../internals/indexed-object": 157,
  29897. "../internals/require-object-coercible": 202
  29898. }
  29899. ],
  29900. 218: [
  29901. function (e, t, r) {
  29902. var n = Math.ceil,
  29903. i = Math.floor
  29904. t.exports = function (e) {
  29905. return isNaN((e = +e)) ? 0 : (e > 0 ? i : n)(e)
  29906. }
  29907. },
  29908. {}
  29909. ],
  29910. 219: [
  29911. function (e, t, r) {
  29912. var n = e("../internals/to-integer"),
  29913. i = Math.min
  29914. t.exports = function (e) {
  29915. return e > 0 ? i(n(e), 9007199254740991) : 0
  29916. }
  29917. },
  29918. {
  29919. "../internals/to-integer": 218
  29920. }
  29921. ],
  29922. 220: [
  29923. function (e, t, r) {
  29924. var n = e("../internals/require-object-coercible")
  29925. t.exports = function (e) {
  29926. return Object(n(e))
  29927. }
  29928. },
  29929. {
  29930. "../internals/require-object-coercible": 202
  29931. }
  29932. ],
  29933. 221: [
  29934. function (e, t, r) {
  29935. var n = e("../internals/to-positive-integer")
  29936. t.exports = function (e, t) {
  29937. var r = n(e)
  29938. if (r % t) throw RangeError("Wrong offset")
  29939. return r
  29940. }
  29941. },
  29942. {
  29943. "../internals/to-positive-integer": 222
  29944. }
  29945. ],
  29946. 222: [
  29947. function (e, t, r) {
  29948. var n = e("../internals/to-integer")
  29949. t.exports = function (e) {
  29950. var t = n(e)
  29951. if (t < 0) throw RangeError("The argument can't be less than 0")
  29952. return t
  29953. }
  29954. },
  29955. {
  29956. "../internals/to-integer": 218
  29957. }
  29958. ],
  29959. 223: [
  29960. function (e, t, r) {
  29961. var n = e("../internals/is-object")
  29962. t.exports = function (e, t) {
  29963. if (!n(e)) return e
  29964. var r, i
  29965. if (t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
  29966. if ("function" == typeof (r = e.valueOf) && !n((i = r.call(e)))) return i
  29967. if (!t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
  29968. throw TypeError("Can't convert object to primitive value")
  29969. }
  29970. },
  29971. {
  29972. "../internals/is-object": 164
  29973. }
  29974. ],
  29975. 224: [
  29976. function (e, t, r) {
  29977. var n = e("../internals/well-known-symbol"),
  29978. i = n("toStringTag"),
  29979. o = {}
  29980. ;(o[i] = "z"), (t.exports = "[object z]" === String(o))
  29981. },
  29982. {
  29983. "../internals/well-known-symbol": 231
  29984. }
  29985. ],
  29986. 225: [
  29987. function (e, t, r) {
  29988. "use strict"
  29989. var n = e("../internals/export"),
  29990. i = e("../internals/global"),
  29991. o = e("../internals/descriptors"),
  29992. a = e("../internals/typed-array-constructors-require-wrappers"),
  29993. s = e("../internals/array-buffer-view-core"),
  29994. l = e("../internals/array-buffer"),
  29995. c = e("../internals/an-instance"),
  29996. u = e("../internals/create-property-descriptor"),
  29997. f = e("../internals/create-non-enumerable-property"),
  29998. p = e("../internals/to-length"),
  29999. d = e("../internals/to-index"),
  30000. h = e("../internals/to-offset"),
  30001. m = e("../internals/to-primitive"),
  30002. g = e("../internals/has"),
  30003. y = e("../internals/classof"),
  30004. v = e("../internals/is-object"),
  30005. b = e("../internals/object-create"),
  30006. w = e("../internals/object-set-prototype-of"),
  30007. x = e("../internals/object-get-own-property-names").f,
  30008. A = e("../internals/typed-array-from"),
  30009. _ = e("../internals/array-iteration").forEach,
  30010. T = e("../internals/set-species"),
  30011. E = e("../internals/object-define-property"),
  30012. S = e("../internals/object-get-own-property-descriptor"),
  30013. C = e("../internals/internal-state"),
  30014. k = e("../internals/inherit-if-required"),
  30015. L = C.get,
  30016. P = C.set,
  30017. O = E.f,
  30018. j = S.f,
  30019. R = Math.round,
  30020. I = i.RangeError,
  30021. N = l.ArrayBuffer,
  30022. M = l.DataView,
  30023. D = s.NATIVE_ARRAY_BUFFER_VIEWS,
  30024. B = s.TYPED_ARRAY_TAG,
  30025. F = s.TypedArray,
  30026. U = s.TypedArrayPrototype,
  30027. z = s.aTypedArrayConstructor,
  30028. q = s.isTypedArray,
  30029. G = "BYTES_PER_ELEMENT",
  30030. W = "Wrong length",
  30031. V = function (e, t) {
  30032. var r = 0,
  30033. n = t.length,
  30034. i = new (z(e))(n)
  30035. while (n > r) i[r] = t[r++]
  30036. return i
  30037. },
  30038. H = function (e, t) {
  30039. O(e, t, {
  30040. get: function () {
  30041. return L(this)[t]
  30042. }
  30043. })
  30044. },
  30045. X = function (e) {
  30046. var t
  30047. return e instanceof N || "ArrayBuffer" == (t = y(e)) || "SharedArrayBuffer" == t
  30048. },
  30049. Y = function (e, t) {
  30050. return q(e) && "symbol" != typeof t && t in e && String(+t) == String(t)
  30051. },
  30052. K = function (e, t) {
  30053. return Y(e, (t = m(t, !0))) ? u(2, e[t]) : j(e, t)
  30054. },
  30055. Z = function (e, t, r) {
  30056. return !(Y(e, (t = m(t, !0))) && v(r) && g(r, "value")) ||
  30057. g(r, "get") ||
  30058. g(r, "set") ||
  30059. r.configurable ||
  30060. (g(r, "writable") && !r.writable) ||
  30061. (g(r, "enumerable") && !r.enumerable)
  30062. ? O(e, t, r)
  30063. : ((e[t] = r.value), e)
  30064. }
  30065. o
  30066. ? (D || ((S.f = K), (E.f = Z), H(U, "buffer"), H(U, "byteOffset"), H(U, "byteLength"), H(U, "length")),
  30067. n(
  30068. {
  30069. target: "Object",
  30070. stat: !0,
  30071. forced: !D
  30072. },
  30073. {
  30074. getOwnPropertyDescriptor: K,
  30075. defineProperty: Z
  30076. }
  30077. ),
  30078. (t.exports = function (e, t, r) {
  30079. var o = e.match(/\d+$/)[0] / 8,
  30080. s = e + (r ? "Clamped" : "") + "Array",
  30081. l = "get" + e,
  30082. u = "set" + e,
  30083. m = i[s],
  30084. g = m,
  30085. y = g && g.prototype,
  30086. E = {},
  30087. S = function (e, t) {
  30088. var r = L(e)
  30089. return r.view[l](t * o + r.byteOffset, !0)
  30090. },
  30091. C = function (e, t, n) {
  30092. var i = L(e)
  30093. r && (n = (n = R(n)) < 0 ? 0 : n > 255 ? 255 : 255 & n), i.view[u](t * o + i.byteOffset, n, !0)
  30094. },
  30095. j = function (e, t) {
  30096. O(e, t, {
  30097. get: function () {
  30098. return S(this, t)
  30099. },
  30100. set: function (e) {
  30101. return C(this, t, e)
  30102. },
  30103. enumerable: !0
  30104. })
  30105. }
  30106. D
  30107. ? a &&
  30108. ((g = t(function (e, t, r, n) {
  30109. return (
  30110. c(e, g, s),
  30111. k(
  30112. (function () {
  30113. return v(t)
  30114. ? X(t)
  30115. ? void 0 !== n
  30116. ? new m(t, h(r, o), n)
  30117. : void 0 !== r
  30118. ? new m(t, h(r, o))
  30119. : new m(t)
  30120. : q(t)
  30121. ? V(g, t)
  30122. : A.call(g, t)
  30123. : new m(d(t))
  30124. })(),
  30125. e,
  30126. g
  30127. )
  30128. )
  30129. })),
  30130. w && w(g, F),
  30131. _(x(m), function (e) {
  30132. e in g || f(g, e, m[e])
  30133. }),
  30134. (g.prototype = y))
  30135. : ((g = t(function (e, t, r, n) {
  30136. c(e, g, s)
  30137. var i,
  30138. a,
  30139. l,
  30140. u = 0,
  30141. f = 0
  30142. if (v(t)) {
  30143. if (!X(t)) return q(t) ? V(g, t) : A.call(g, t)
  30144. ;(i = t), (f = h(r, o))
  30145. var m = t.byteLength
  30146. if (void 0 === n) {
  30147. if (m % o) throw I(W)
  30148. if (((a = m - f), a < 0)) throw I(W)
  30149. } else if (((a = p(n) * o), a + f > m)) throw I(W)
  30150. l = a / o
  30151. } else (l = d(t)), (a = l * o), (i = new N(a))
  30152. P(e, {
  30153. buffer: i,
  30154. byteOffset: f,
  30155. byteLength: a,
  30156. length: l,
  30157. view: new M(i)
  30158. })
  30159. while (u < l) j(e, u++)
  30160. })),
  30161. w && w(g, F),
  30162. (y = g.prototype = b(U))),
  30163. y.constructor !== g && f(y, "constructor", g),
  30164. B && f(y, B, s),
  30165. (E[s] = g),
  30166. n(
  30167. {
  30168. global: !0,
  30169. forced: g != m,
  30170. sham: !D
  30171. },
  30172. E
  30173. ),
  30174. G in g || f(g, G, o),
  30175. G in y || f(y, G, o),
  30176. T(s)
  30177. }))
  30178. : (t.exports = function () {})
  30179. },
  30180. {
  30181. "../internals/an-instance": 106,
  30182. "../internals/array-buffer": 110,
  30183. "../internals/array-buffer-view-core": 109,
  30184. "../internals/array-iteration": 116,
  30185. "../internals/classof": 126,
  30186. "../internals/create-non-enumerable-property": 131,
  30187. "../internals/create-property-descriptor": 132,
  30188. "../internals/descriptors": 136,
  30189. "../internals/export": 144,
  30190. "../internals/global": 150,
  30191. "../internals/has": 151,
  30192. "../internals/inherit-if-required": 158,
  30193. "../internals/internal-state": 160,
  30194. "../internals/is-object": 164,
  30195. "../internals/object-create": 178,
  30196. "../internals/object-define-property": 180,
  30197. "../internals/object-get-own-property-descriptor": 181,
  30198. "../internals/object-get-own-property-names": 183,
  30199. "../internals/object-set-prototype-of": 189,
  30200. "../internals/set-species": 205,
  30201. "../internals/to-index": 216,
  30202. "../internals/to-length": 219,
  30203. "../internals/to-offset": 221,
  30204. "../internals/to-primitive": 223,
  30205. "../internals/typed-array-constructors-require-wrappers": 226,
  30206. "../internals/typed-array-from": 227
  30207. }
  30208. ],
  30209. 226: [
  30210. function (e, t, r) {
  30211. var n = e("../internals/global"),
  30212. i = e("../internals/fails"),
  30213. o = e("../internals/check-correctness-of-iteration"),
  30214. a = e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,
  30215. s = n.ArrayBuffer,
  30216. l = n.Int8Array
  30217. t.exports =
  30218. !a ||
  30219. !i(function () {
  30220. l(1)
  30221. }) ||
  30222. !i(function () {
  30223. new l(-1)
  30224. }) ||
  30225. !o(function (e) {
  30226. new l(), new l(null), new l(1.5), new l(e)
  30227. }, !0) ||
  30228. i(function () {
  30229. return 1 !== new l(new s(2), 1, void 0).length
  30230. })
  30231. },
  30232. {
  30233. "../internals/array-buffer-view-core": 109,
  30234. "../internals/check-correctness-of-iteration": 124,
  30235. "../internals/fails": 145,
  30236. "../internals/global": 150
  30237. }
  30238. ],
  30239. 227: [
  30240. function (e, t, r) {
  30241. var n = e("../internals/to-object"),
  30242. i = e("../internals/to-length"),
  30243. o = e("../internals/get-iterator-method"),
  30244. a = e("../internals/is-array-iterator-method"),
  30245. s = e("../internals/function-bind-context"),
  30246. l = e("../internals/array-buffer-view-core").aTypedArrayConstructor
  30247. t.exports = function (e) {
  30248. var t,
  30249. r,
  30250. c,
  30251. u,
  30252. f,
  30253. p,
  30254. d = n(e),
  30255. h = arguments.length,
  30256. m = h > 1 ? arguments[1] : void 0,
  30257. g = void 0 !== m,
  30258. y = o(d)
  30259. if (void 0 != y && !a(y)) {
  30260. ;(f = y.call(d)), (p = f.next), (d = [])
  30261. while (!(u = p.call(f)).done) d.push(u.value)
  30262. }
  30263. for (g && h > 2 && (m = s(m, arguments[2], 2)), r = i(d.length), c = new (l(this))(r), t = 0; r > t; t++)
  30264. c[t] = g ? m(d[t], t) : d[t]
  30265. return c
  30266. }
  30267. },
  30268. {
  30269. "../internals/array-buffer-view-core": 109,
  30270. "../internals/function-bind-context": 147,
  30271. "../internals/get-iterator-method": 149,
  30272. "../internals/is-array-iterator-method": 161,
  30273. "../internals/to-length": 219,
  30274. "../internals/to-object": 220
  30275. }
  30276. ],
  30277. 228: [
  30278. function (e, t, r) {
  30279. var n = 0,
  30280. i = Math.random()
  30281. t.exports = function (e) {
  30282. return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++n + i).toString(36)
  30283. }
  30284. },
  30285. {}
  30286. ],
  30287. 229: [
  30288. function (e, t, r) {
  30289. var n = e("../internals/native-symbol")
  30290. t.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator
  30291. },
  30292. {
  30293. "../internals/native-symbol": 173
  30294. }
  30295. ],
  30296. 230: [
  30297. function (e, t, r) {
  30298. var n = e("../internals/well-known-symbol")
  30299. r.f = n
  30300. },
  30301. {
  30302. "../internals/well-known-symbol": 231
  30303. }
  30304. ],
  30305. 231: [
  30306. function (e, t, r) {
  30307. var n = e("../internals/global"),
  30308. i = e("../internals/shared"),
  30309. o = e("../internals/has"),
  30310. a = e("../internals/uid"),
  30311. s = e("../internals/native-symbol"),
  30312. l = e("../internals/use-symbol-as-uid"),
  30313. c = i("wks"),
  30314. u = n.Symbol,
  30315. f = l ? u : (u && u.withoutSetter) || a
  30316. t.exports = function (e) {
  30317. return o(c, e) || (s && o(u, e) ? (c[e] = u[e]) : (c[e] = f("Symbol." + e))), c[e]
  30318. }
  30319. },
  30320. {
  30321. "../internals/global": 150,
  30322. "../internals/has": 151,
  30323. "../internals/native-symbol": 173,
  30324. "../internals/shared": 209,
  30325. "../internals/uid": 228,
  30326. "../internals/use-symbol-as-uid": 229
  30327. }
  30328. ],
  30329. 232: [
  30330. function (e, t, r) {
  30331. t.exports = "\t\n\v\f\r                 \u2028\u2029\ufeff"
  30332. },
  30333. {}
  30334. ],
  30335. 233: [
  30336. function (e, t, r) {
  30337. "use strict"
  30338. var n = e("../internals/export"),
  30339. i = e("../internals/fails"),
  30340. o = e("../internals/array-buffer"),
  30341. a = e("../internals/an-object"),
  30342. s = e("../internals/to-absolute-index"),
  30343. l = e("../internals/to-length"),
  30344. c = e("../internals/species-constructor"),
  30345. u = o.ArrayBuffer,
  30346. f = o.DataView,
  30347. p = u.prototype.slice,
  30348. d = i(function () {
  30349. return !new u(2).slice(1, void 0).byteLength
  30350. })
  30351. n(
  30352. {
  30353. target: "ArrayBuffer",
  30354. proto: !0,
  30355. unsafe: !0,
  30356. forced: d
  30357. },
  30358. {
  30359. slice: function (e, t) {
  30360. if (void 0 !== p && void 0 === t) return p.call(a(this), e)
  30361. var r = a(this).byteLength,
  30362. n = s(e, r),
  30363. i = s(void 0 === t ? r : t, r),
  30364. o = new (c(this, u))(l(i - n)),
  30365. d = new f(this),
  30366. h = new f(o),
  30367. m = 0
  30368. while (n < i) h.setUint8(m++, d.getUint8(n++))
  30369. return o
  30370. }
  30371. }
  30372. )
  30373. },
  30374. {
  30375. "../internals/an-object": 107,
  30376. "../internals/array-buffer": 110,
  30377. "../internals/export": 144,
  30378. "../internals/fails": 145,
  30379. "../internals/species-constructor": 210,
  30380. "../internals/to-absolute-index": 215,
  30381. "../internals/to-length": 219
  30382. }
  30383. ],
  30384. 234: [
  30385. function (e, t, r) {
  30386. "use strict"
  30387. var n = e("../internals/export"),
  30388. i = e("../internals/fails"),
  30389. o = e("../internals/is-array"),
  30390. a = e("../internals/is-object"),
  30391. s = e("../internals/to-object"),
  30392. l = e("../internals/to-length"),
  30393. c = e("../internals/create-property"),
  30394. u = e("../internals/array-species-create"),
  30395. f = e("../internals/array-method-has-species-support"),
  30396. p = e("../internals/well-known-symbol"),
  30397. d = e("../internals/engine-v8-version"),
  30398. h = p("isConcatSpreadable"),
  30399. m = 9007199254740991,
  30400. g = "Maximum allowed index exceeded",
  30401. y =
  30402. d >= 51 ||
  30403. !i(function () {
  30404. var e = []
  30405. return (e[h] = !1), e.concat()[0] !== e
  30406. }),
  30407. v = f("concat"),
  30408. b = function (e) {
  30409. if (!a(e)) return !1
  30410. var t = e[h]
  30411. return void 0 !== t ? !!t : o(e)
  30412. },
  30413. w = !y || !v
  30414. n(
  30415. {
  30416. target: "Array",
  30417. proto: !0,
  30418. forced: w
  30419. },
  30420. {
  30421. concat: function (e) {
  30422. var t,
  30423. r,
  30424. n,
  30425. i,
  30426. o,
  30427. a = s(this),
  30428. f = u(a, 0),
  30429. p = 0
  30430. for (t = -1, n = arguments.length; t < n; t++)
  30431. if (((o = -1 === t ? a : arguments[t]), b(o))) {
  30432. if (((i = l(o.length)), p + i > m)) throw TypeError(g)
  30433. for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r])
  30434. } else {
  30435. if (p >= m) throw TypeError(g)
  30436. c(f, p++, o)
  30437. }
  30438. return (f.length = p), f
  30439. }
  30440. }
  30441. )
  30442. },
  30443. {
  30444. "../internals/array-method-has-species-support": 118,
  30445. "../internals/array-species-create": 122,
  30446. "../internals/create-property": 133,
  30447. "../internals/engine-v8-version": 142,
  30448. "../internals/export": 144,
  30449. "../internals/fails": 145,
  30450. "../internals/is-array": 162,
  30451. "../internals/is-object": 164,
  30452. "../internals/to-length": 219,
  30453. "../internals/to-object": 220,
  30454. "../internals/well-known-symbol": 231
  30455. }
  30456. ],
  30457. 235: [
  30458. function (e, t, r) {
  30459. var n = e("../internals/export"),
  30460. i = e("../internals/array-fill"),
  30461. o = e("../internals/add-to-unscopables")
  30462. n(
  30463. {
  30464. target: "Array",
  30465. proto: !0
  30466. },
  30467. {
  30468. fill: i
  30469. }
  30470. ),
  30471. o("fill")
  30472. },
  30473. {
  30474. "../internals/add-to-unscopables": 104,
  30475. "../internals/array-fill": 112,
  30476. "../internals/export": 144
  30477. }
  30478. ],
  30479. 236: [
  30480. function (e, t, r) {
  30481. "use strict"
  30482. var n = e("../internals/export"),
  30483. i = e("../internals/array-iteration").filter,
  30484. o = e("../internals/array-method-has-species-support"),
  30485. a = e("../internals/array-method-uses-to-length"),
  30486. s = o("filter"),
  30487. l = a("filter")
  30488. n(
  30489. {
  30490. target: "Array",
  30491. proto: !0,
  30492. forced: !s || !l
  30493. },
  30494. {
  30495. filter: function (e) {
  30496. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  30497. }
  30498. }
  30499. )
  30500. },
  30501. {
  30502. "../internals/array-iteration": 116,
  30503. "../internals/array-method-has-species-support": 118,
  30504. "../internals/array-method-uses-to-length": 120,
  30505. "../internals/export": 144
  30506. }
  30507. ],
  30508. 237: [
  30509. function (e, t, r) {
  30510. "use strict"
  30511. var n = e("../internals/export"),
  30512. i = e("../internals/array-iteration").find,
  30513. o = e("../internals/add-to-unscopables"),
  30514. a = e("../internals/array-method-uses-to-length"),
  30515. s = "find",
  30516. l = !0,
  30517. c = a(s)
  30518. s in [] &&
  30519. Array(1)[s](function () {
  30520. l = !1
  30521. }),
  30522. n(
  30523. {
  30524. target: "Array",
  30525. proto: !0,
  30526. forced: l || !c
  30527. },
  30528. {
  30529. find: function (e) {
  30530. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  30531. }
  30532. }
  30533. ),
  30534. o(s)
  30535. },
  30536. {
  30537. "../internals/add-to-unscopables": 104,
  30538. "../internals/array-iteration": 116,
  30539. "../internals/array-method-uses-to-length": 120,
  30540. "../internals/export": 144
  30541. }
  30542. ],
  30543. 238: [
  30544. function (e, t, r) {
  30545. "use strict"
  30546. var n = e("../internals/export"),
  30547. i = e("../internals/array-for-each")
  30548. n(
  30549. {
  30550. target: "Array",
  30551. proto: !0,
  30552. forced: [].forEach != i
  30553. },
  30554. {
  30555. forEach: i
  30556. }
  30557. )
  30558. },
  30559. {
  30560. "../internals/array-for-each": 113,
  30561. "../internals/export": 144
  30562. }
  30563. ],
  30564. 239: [
  30565. function (e, t, r) {
  30566. var n = e("../internals/export"),
  30567. i = e("../internals/array-from"),
  30568. o = e("../internals/check-correctness-of-iteration"),
  30569. a = !o(function (e) {
  30570. Array.from(e)
  30571. })
  30572. n(
  30573. {
  30574. target: "Array",
  30575. stat: !0,
  30576. forced: a
  30577. },
  30578. {
  30579. from: i
  30580. }
  30581. )
  30582. },
  30583. {
  30584. "../internals/array-from": 114,
  30585. "../internals/check-correctness-of-iteration": 124,
  30586. "../internals/export": 144
  30587. }
  30588. ],
  30589. 240: [
  30590. function (e, t, r) {
  30591. "use strict"
  30592. var n = e("../internals/export"),
  30593. i = e("../internals/array-includes").includes,
  30594. o = e("../internals/add-to-unscopables"),
  30595. a = e("../internals/array-method-uses-to-length"),
  30596. s = a("indexOf", {
  30597. ACCESSORS: !0,
  30598. 1: 0
  30599. })
  30600. n(
  30601. {
  30602. target: "Array",
  30603. proto: !0,
  30604. forced: !s
  30605. },
  30606. {
  30607. includes: function (e) {
  30608. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  30609. }
  30610. }
  30611. ),
  30612. o("includes")
  30613. },
  30614. {
  30615. "../internals/add-to-unscopables": 104,
  30616. "../internals/array-includes": 115,
  30617. "../internals/array-method-uses-to-length": 120,
  30618. "../internals/export": 144
  30619. }
  30620. ],
  30621. 241: [
  30622. function (e, t, r) {
  30623. "use strict"
  30624. var n = e("../internals/export"),
  30625. i = e("../internals/array-includes").indexOf,
  30626. o = e("../internals/array-method-is-strict"),
  30627. a = e("../internals/array-method-uses-to-length"),
  30628. s = [].indexOf,
  30629. l = !!s && 1 / [1].indexOf(1, -0) < 0,
  30630. c = o("indexOf"),
  30631. u = a("indexOf", {
  30632. ACCESSORS: !0,
  30633. 1: 0
  30634. })
  30635. n(
  30636. {
  30637. target: "Array",
  30638. proto: !0,
  30639. forced: l || !c || !u
  30640. },
  30641. {
  30642. indexOf: function (e) {
  30643. return l ? s.apply(this, arguments) || 0 : i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  30644. }
  30645. }
  30646. )
  30647. },
  30648. {
  30649. "../internals/array-includes": 115,
  30650. "../internals/array-method-is-strict": 119,
  30651. "../internals/array-method-uses-to-length": 120,
  30652. "../internals/export": 144
  30653. }
  30654. ],
  30655. 242: [
  30656. function (e, t, r) {
  30657. "use strict"
  30658. var n = e("../internals/to-indexed-object"),
  30659. i = e("../internals/add-to-unscopables"),
  30660. o = e("../internals/iterators"),
  30661. a = e("../internals/internal-state"),
  30662. s = e("../internals/define-iterator"),
  30663. l = "Array Iterator",
  30664. c = a.set,
  30665. u = a.getterFor(l)
  30666. ;(t.exports = s(
  30667. Array,
  30668. "Array",
  30669. function (e, t) {
  30670. c(this, {
  30671. type: l,
  30672. target: n(e),
  30673. index: 0,
  30674. kind: t
  30675. })
  30676. },
  30677. function () {
  30678. var e = u(this),
  30679. t = e.target,
  30680. r = e.kind,
  30681. n = e.index++
  30682. return !t || n >= t.length
  30683. ? ((e.target = void 0),
  30684. {
  30685. value: void 0,
  30686. done: !0
  30687. })
  30688. : "keys" == r
  30689. ? {
  30690. value: n,
  30691. done: !1
  30692. }
  30693. : "values" == r
  30694. ? {
  30695. value: t[n],
  30696. done: !1
  30697. }
  30698. : {
  30699. value: [n, t[n]],
  30700. done: !1
  30701. }
  30702. },
  30703. "values"
  30704. )),
  30705. (o.Arguments = o.Array),
  30706. i("keys"),
  30707. i("values"),
  30708. i("entries")
  30709. },
  30710. {
  30711. "../internals/add-to-unscopables": 104,
  30712. "../internals/define-iterator": 134,
  30713. "../internals/internal-state": 160,
  30714. "../internals/iterators": 170,
  30715. "../internals/to-indexed-object": 217
  30716. }
  30717. ],
  30718. 243: [
  30719. function (e, t, r) {
  30720. "use strict"
  30721. var n = e("../internals/export"),
  30722. i = e("../internals/indexed-object"),
  30723. o = e("../internals/to-indexed-object"),
  30724. a = e("../internals/array-method-is-strict"),
  30725. s = [].join,
  30726. l = i != Object,
  30727. c = a("join", ",")
  30728. n(
  30729. {
  30730. target: "Array",
  30731. proto: !0,
  30732. forced: l || !c
  30733. },
  30734. {
  30735. join: function (e) {
  30736. return s.call(o(this), void 0 === e ? "," : e)
  30737. }
  30738. }
  30739. )
  30740. },
  30741. {
  30742. "../internals/array-method-is-strict": 119,
  30743. "../internals/export": 144,
  30744. "../internals/indexed-object": 157,
  30745. "../internals/to-indexed-object": 217
  30746. }
  30747. ],
  30748. 244: [
  30749. function (e, t, r) {
  30750. var n = e("../internals/export"),
  30751. i = e("../internals/array-last-index-of")
  30752. n(
  30753. {
  30754. target: "Array",
  30755. proto: !0,
  30756. forced: i !== [].lastIndexOf
  30757. },
  30758. {
  30759. lastIndexOf: i
  30760. }
  30761. )
  30762. },
  30763. {
  30764. "../internals/array-last-index-of": 117,
  30765. "../internals/export": 144
  30766. }
  30767. ],
  30768. 245: [
  30769. function (e, t, r) {
  30770. "use strict"
  30771. var n = e("../internals/export"),
  30772. i = e("../internals/array-iteration").map,
  30773. o = e("../internals/array-method-has-species-support"),
  30774. a = e("../internals/array-method-uses-to-length"),
  30775. s = o("map"),
  30776. l = a("map")
  30777. n(
  30778. {
  30779. target: "Array",
  30780. proto: !0,
  30781. forced: !s || !l
  30782. },
  30783. {
  30784. map: function (e) {
  30785. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  30786. }
  30787. }
  30788. )
  30789. },
  30790. {
  30791. "../internals/array-iteration": 116,
  30792. "../internals/array-method-has-species-support": 118,
  30793. "../internals/array-method-uses-to-length": 120,
  30794. "../internals/export": 144
  30795. }
  30796. ],
  30797. 246: [
  30798. function (e, t, r) {
  30799. "use strict"
  30800. var n = e("../internals/export"),
  30801. i = e("../internals/is-object"),
  30802. o = e("../internals/is-array"),
  30803. a = e("../internals/to-absolute-index"),
  30804. s = e("../internals/to-length"),
  30805. l = e("../internals/to-indexed-object"),
  30806. c = e("../internals/create-property"),
  30807. u = e("../internals/well-known-symbol"),
  30808. f = e("../internals/array-method-has-species-support"),
  30809. p = e("../internals/array-method-uses-to-length"),
  30810. d = f("slice"),
  30811. h = p("slice", {
  30812. ACCESSORS: !0,
  30813. 0: 0,
  30814. 1: 2
  30815. }),
  30816. m = u("species"),
  30817. g = [].slice,
  30818. y = Math.max
  30819. n(
  30820. {
  30821. target: "Array",
  30822. proto: !0,
  30823. forced: !d || !h
  30824. },
  30825. {
  30826. slice: function (e, t) {
  30827. var r,
  30828. n,
  30829. u,
  30830. f = l(this),
  30831. p = s(f.length),
  30832. d = a(e, p),
  30833. h = a(void 0 === t ? p : t, p)
  30834. if (
  30835. o(f) &&
  30836. ((r = f.constructor),
  30837. "function" != typeof r || (r !== Array && !o(r.prototype))
  30838. ? i(r) && ((r = r[m]), null === r && (r = void 0))
  30839. : (r = void 0),
  30840. r === Array || void 0 === r)
  30841. )
  30842. return g.call(f, d, h)
  30843. for (n = new (void 0 === r ? Array : r)(y(h - d, 0)), u = 0; d < h; d++, u++) d in f && c(n, u, f[d])
  30844. return (n.length = u), n
  30845. }
  30846. }
  30847. )
  30848. },
  30849. {
  30850. "../internals/array-method-has-species-support": 118,
  30851. "../internals/array-method-uses-to-length": 120,
  30852. "../internals/create-property": 133,
  30853. "../internals/export": 144,
  30854. "../internals/is-array": 162,
  30855. "../internals/is-object": 164,
  30856. "../internals/to-absolute-index": 215,
  30857. "../internals/to-indexed-object": 217,
  30858. "../internals/to-length": 219,
  30859. "../internals/well-known-symbol": 231
  30860. }
  30861. ],
  30862. 247: [
  30863. function (e, t, r) {
  30864. "use strict"
  30865. var n = e("../internals/export"),
  30866. i = e("../internals/a-function"),
  30867. o = e("../internals/to-object"),
  30868. a = e("../internals/fails"),
  30869. s = e("../internals/array-method-is-strict"),
  30870. l = [],
  30871. c = l.sort,
  30872. u = a(function () {
  30873. l.sort(void 0)
  30874. }),
  30875. f = a(function () {
  30876. l.sort(null)
  30877. }),
  30878. p = s("sort"),
  30879. d = u || !f || !p
  30880. n(
  30881. {
  30882. target: "Array",
  30883. proto: !0,
  30884. forced: d
  30885. },
  30886. {
  30887. sort: function (e) {
  30888. return void 0 === e ? c.call(o(this)) : c.call(o(this), i(e))
  30889. }
  30890. }
  30891. )
  30892. },
  30893. {
  30894. "../internals/a-function": 102,
  30895. "../internals/array-method-is-strict": 119,
  30896. "../internals/export": 144,
  30897. "../internals/fails": 145,
  30898. "../internals/to-object": 220
  30899. }
  30900. ],
  30901. 248: [
  30902. function (e, t, r) {
  30903. "use strict"
  30904. var n = e("../internals/export"),
  30905. i = e("../internals/to-absolute-index"),
  30906. o = e("../internals/to-integer"),
  30907. a = e("../internals/to-length"),
  30908. s = e("../internals/to-object"),
  30909. l = e("../internals/array-species-create"),
  30910. c = e("../internals/create-property"),
  30911. u = e("../internals/array-method-has-species-support"),
  30912. f = e("../internals/array-method-uses-to-length"),
  30913. p = u("splice"),
  30914. d = f("splice", {
  30915. ACCESSORS: !0,
  30916. 0: 0,
  30917. 1: 2
  30918. }),
  30919. h = Math.max,
  30920. m = Math.min,
  30921. g = 9007199254740991,
  30922. y = "Maximum allowed length exceeded"
  30923. n(
  30924. {
  30925. target: "Array",
  30926. proto: !0,
  30927. forced: !p || !d
  30928. },
  30929. {
  30930. splice: function (e, t) {
  30931. var r,
  30932. n,
  30933. u,
  30934. f,
  30935. p,
  30936. d,
  30937. v = s(this),
  30938. b = a(v.length),
  30939. w = i(e, b),
  30940. x = arguments.length
  30941. if (
  30942. (0 === x ? (r = n = 0) : 1 === x ? ((r = 0), (n = b - w)) : ((r = x - 2), (n = m(h(o(t), 0), b - w))),
  30943. b + r - n > g)
  30944. )
  30945. throw TypeError(y)
  30946. for (u = l(v, n), f = 0; f < n; f++) (p = w + f), p in v && c(u, f, v[p])
  30947. if (((u.length = n), r < n)) {
  30948. for (f = w; f < b - n; f++) (p = f + n), (d = f + r), p in v ? (v[d] = v[p]) : delete v[d]
  30949. for (f = b; f > b - n + r; f--) delete v[f - 1]
  30950. } else if (r > n) for (f = b - n; f > w; f--) (p = f + n - 1), (d = f + r - 1), p in v ? (v[d] = v[p]) : delete v[d]
  30951. for (f = 0; f < r; f++) v[f + w] = arguments[f + 2]
  30952. return (v.length = b - n + r), u
  30953. }
  30954. }
  30955. )
  30956. },
  30957. {
  30958. "../internals/array-method-has-species-support": 118,
  30959. "../internals/array-method-uses-to-length": 120,
  30960. "../internals/array-species-create": 122,
  30961. "../internals/create-property": 133,
  30962. "../internals/export": 144,
  30963. "../internals/to-absolute-index": 215,
  30964. "../internals/to-integer": 218,
  30965. "../internals/to-length": 219,
  30966. "../internals/to-object": 220
  30967. }
  30968. ],
  30969. 249: [
  30970. function (e, t, r) {
  30971. var n = e("../internals/descriptors"),
  30972. i = e("../internals/object-define-property").f,
  30973. o = Function.prototype,
  30974. a = o.toString,
  30975. s = /^\s*function ([^ (]*)/,
  30976. l = "name"
  30977. n &&
  30978. !(l in o) &&
  30979. i(o, l, {
  30980. configurable: !0,
  30981. get: function () {
  30982. try {
  30983. return a.call(this).match(s)[1]
  30984. } catch (e) {
  30985. return ""
  30986. }
  30987. }
  30988. })
  30989. },
  30990. {
  30991. "../internals/descriptors": 136,
  30992. "../internals/object-define-property": 180
  30993. }
  30994. ],
  30995. 250: [
  30996. function (e, t, r) {
  30997. "use strict"
  30998. var n = e("../internals/descriptors"),
  30999. i = e("../internals/global"),
  31000. o = e("../internals/is-forced"),
  31001. a = e("../internals/redefine"),
  31002. s = e("../internals/has"),
  31003. l = e("../internals/classof-raw"),
  31004. c = e("../internals/inherit-if-required"),
  31005. u = e("../internals/to-primitive"),
  31006. f = e("../internals/fails"),
  31007. p = e("../internals/object-create"),
  31008. d = e("../internals/object-get-own-property-names").f,
  31009. h = e("../internals/object-get-own-property-descriptor").f,
  31010. m = e("../internals/object-define-property").f,
  31011. g = e("../internals/string-trim").trim,
  31012. y = "Number",
  31013. v = i[y],
  31014. b = v.prototype,
  31015. w = l(p(b)) == y,
  31016. x = function (e) {
  31017. var t,
  31018. r,
  31019. n,
  31020. i,
  31021. o,
  31022. a,
  31023. s,
  31024. l,
  31025. c = u(e, !1)
  31026. if ("string" == typeof c && c.length > 2)
  31027. if (((c = g(c)), (t = c.charCodeAt(0)), 43 === t || 45 === t)) {
  31028. if (((r = c.charCodeAt(2)), 88 === r || 120 === r)) return NaN
  31029. } else if (48 === t) {
  31030. switch (c.charCodeAt(1)) {
  31031. case 66:
  31032. case 98:
  31033. ;(n = 2), (i = 49)
  31034. break
  31035. case 79:
  31036. case 111:
  31037. ;(n = 8), (i = 55)
  31038. break
  31039. default:
  31040. return +c
  31041. }
  31042. for (o = c.slice(2), a = o.length, s = 0; s < a; s++) if (((l = o.charCodeAt(s)), l < 48 || l > i)) return NaN
  31043. return parseInt(o, n)
  31044. }
  31045. return +c
  31046. }
  31047. if (o(y, !v(" 0o1") || !v("0b1") || v("+0x1"))) {
  31048. for (
  31049. var A,
  31050. _ = function (e) {
  31051. var t = arguments.length < 1 ? 0 : e,
  31052. r = this
  31053. return r instanceof _ &&
  31054. (w
  31055. ? f(function () {
  31056. b.valueOf.call(r)
  31057. })
  31058. : l(r) != y)
  31059. ? c(new v(x(t)), r, _)
  31060. : x(t)
  31061. },
  31062. T = n
  31063. ? d(v)
  31064. : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(
  31065. ","
  31066. ),
  31067. E = 0;
  31068. T.length > E;
  31069. E++
  31070. )
  31071. s(v, (A = T[E])) && !s(_, A) && m(_, A, h(v, A))
  31072. ;(_.prototype = b), (b.constructor = _), a(i, y, _)
  31073. }
  31074. },
  31075. {
  31076. "../internals/classof-raw": 125,
  31077. "../internals/descriptors": 136,
  31078. "../internals/fails": 145,
  31079. "../internals/global": 150,
  31080. "../internals/has": 151,
  31081. "../internals/inherit-if-required": 158,
  31082. "../internals/is-forced": 163,
  31083. "../internals/object-create": 178,
  31084. "../internals/object-define-property": 180,
  31085. "../internals/object-get-own-property-descriptor": 181,
  31086. "../internals/object-get-own-property-names": 183,
  31087. "../internals/redefine": 197,
  31088. "../internals/string-trim": 213,
  31089. "../internals/to-primitive": 223
  31090. }
  31091. ],
  31092. 251: [
  31093. function (e, t, r) {
  31094. var n = e("../internals/export"),
  31095. i = e("../internals/object-assign")
  31096. n(
  31097. {
  31098. target: "Object",
  31099. stat: !0,
  31100. forced: Object.assign !== i
  31101. },
  31102. {
  31103. assign: i
  31104. }
  31105. )
  31106. },
  31107. {
  31108. "../internals/export": 144,
  31109. "../internals/object-assign": 177
  31110. }
  31111. ],
  31112. 252: [
  31113. function (e, t, r) {
  31114. var n = e("../internals/export"),
  31115. i = e("../internals/object-to-array").entries
  31116. n(
  31117. {
  31118. target: "Object",
  31119. stat: !0
  31120. },
  31121. {
  31122. entries: function (e) {
  31123. return i(e)
  31124. }
  31125. }
  31126. )
  31127. },
  31128. {
  31129. "../internals/export": 144,
  31130. "../internals/object-to-array": 190
  31131. }
  31132. ],
  31133. 253: [
  31134. function (e, t, r) {
  31135. var n = e("../internals/export"),
  31136. i = e("../internals/to-object"),
  31137. o = e("../internals/object-keys"),
  31138. a = e("../internals/fails"),
  31139. s = a(function () {
  31140. o(1)
  31141. })
  31142. n(
  31143. {
  31144. target: "Object",
  31145. stat: !0,
  31146. forced: s
  31147. },
  31148. {
  31149. keys: function (e) {
  31150. return o(i(e))
  31151. }
  31152. }
  31153. )
  31154. },
  31155. {
  31156. "../internals/export": 144,
  31157. "../internals/fails": 145,
  31158. "../internals/object-keys": 187,
  31159. "../internals/to-object": 220
  31160. }
  31161. ],
  31162. 254: [
  31163. function (e, t, r) {
  31164. var n = e("../internals/to-string-tag-support"),
  31165. i = e("../internals/redefine"),
  31166. o = e("../internals/object-to-string")
  31167. n ||
  31168. i(Object.prototype, "toString", o, {
  31169. unsafe: !0
  31170. })
  31171. },
  31172. {
  31173. "../internals/object-to-string": 191,
  31174. "../internals/redefine": 197,
  31175. "../internals/to-string-tag-support": 224
  31176. }
  31177. ],
  31178. 255: [
  31179. function (e, t, r) {
  31180. "use strict"
  31181. var n,
  31182. i,
  31183. o,
  31184. a,
  31185. s = e("../internals/export"),
  31186. l = e("../internals/is-pure"),
  31187. c = e("../internals/global"),
  31188. u = e("../internals/get-built-in"),
  31189. f = e("../internals/native-promise-constructor"),
  31190. p = e("../internals/redefine"),
  31191. d = e("../internals/redefine-all"),
  31192. h = e("../internals/set-to-string-tag"),
  31193. m = e("../internals/set-species"),
  31194. g = e("../internals/is-object"),
  31195. y = e("../internals/a-function"),
  31196. v = e("../internals/an-instance"),
  31197. b = e("../internals/inspect-source"),
  31198. w = e("../internals/iterate"),
  31199. x = e("../internals/check-correctness-of-iteration"),
  31200. A = e("../internals/species-constructor"),
  31201. _ = e("../internals/task").set,
  31202. T = e("../internals/microtask"),
  31203. E = e("../internals/promise-resolve"),
  31204. S = e("../internals/host-report-errors"),
  31205. C = e("../internals/new-promise-capability"),
  31206. k = e("../internals/perform"),
  31207. L = e("../internals/internal-state"),
  31208. P = e("../internals/is-forced"),
  31209. O = e("../internals/well-known-symbol"),
  31210. j = e("../internals/engine-is-node"),
  31211. R = e("../internals/engine-v8-version"),
  31212. I = O("species"),
  31213. N = "Promise",
  31214. M = L.get,
  31215. D = L.set,
  31216. B = L.getterFor(N),
  31217. F = f,
  31218. U = c.TypeError,
  31219. z = c.document,
  31220. q = c.process,
  31221. G = u("fetch"),
  31222. W = C.f,
  31223. V = W,
  31224. H = !!(z && z.createEvent && c.dispatchEvent),
  31225. X = "function" == typeof PromiseRejectionEvent,
  31226. Y = "unhandledrejection",
  31227. K = "rejectionhandled",
  31228. Z = 0,
  31229. Q = 1,
  31230. J = 2,
  31231. $ = 1,
  31232. ee = 2,
  31233. te = P(N, function () {
  31234. var e = b(F) !== String(F)
  31235. if (!e) {
  31236. if (66 === R) return !0
  31237. if (!j && !X) return !0
  31238. }
  31239. if (l && !F.prototype["finally"]) return !0
  31240. if (R >= 51 && /native code/.test(F)) return !1
  31241. var t = F.resolve(1),
  31242. r = function (e) {
  31243. e(
  31244. function () {},
  31245. function () {}
  31246. )
  31247. },
  31248. n = (t.constructor = {})
  31249. return (n[I] = r), !(t.then(function () {}) instanceof r)
  31250. }),
  31251. re =
  31252. te ||
  31253. !x(function (e) {
  31254. F.all(e)["catch"](function () {})
  31255. }),
  31256. ne = function (e) {
  31257. var t
  31258. return !(!g(e) || "function" != typeof (t = e.then)) && t
  31259. },
  31260. ie = function (e, t) {
  31261. if (!e.notified) {
  31262. e.notified = !0
  31263. var r = e.reactions
  31264. T(function () {
  31265. var n = e.value,
  31266. i = e.state == Q,
  31267. o = 0
  31268. while (r.length > o) {
  31269. var a,
  31270. s,
  31271. l,
  31272. c = r[o++],
  31273. u = i ? c.ok : c.fail,
  31274. f = c.resolve,
  31275. p = c.reject,
  31276. d = c.domain
  31277. try {
  31278. u
  31279. ? (i || (e.rejection === ee && le(e), (e.rejection = $)),
  31280. !0 === u ? (a = n) : (d && d.enter(), (a = u(n)), d && (d.exit(), (l = !0))),
  31281. a === c.promise ? p(U("Promise-chain cycle")) : (s = ne(a)) ? s.call(a, f, p) : f(a))
  31282. : p(n)
  31283. } catch (h) {
  31284. d && !l && d.exit(), p(h)
  31285. }
  31286. }
  31287. ;(e.reactions = []), (e.notified = !1), t && !e.rejection && ae(e)
  31288. })
  31289. }
  31290. },
  31291. oe = function (e, t, r) {
  31292. var n, i
  31293. H
  31294. ? ((n = z.createEvent("Event")), (n.promise = t), (n.reason = r), n.initEvent(e, !1, !0), c.dispatchEvent(n))
  31295. : (n = {
  31296. promise: t,
  31297. reason: r
  31298. }),
  31299. !X && (i = c["on" + e]) ? i(n) : e === Y && S("Unhandled promise rejection", r)
  31300. },
  31301. ae = function (e) {
  31302. _.call(c, function () {
  31303. var t,
  31304. r = e.facade,
  31305. n = e.value,
  31306. i = se(e)
  31307. if (
  31308. i &&
  31309. ((t = k(function () {
  31310. j ? q.emit("unhandledRejection", n, r) : oe(Y, r, n)
  31311. })),
  31312. (e.rejection = j || se(e) ? ee : $),
  31313. t.error)
  31314. )
  31315. throw t.value
  31316. })
  31317. },
  31318. se = function (e) {
  31319. return e.rejection !== $ && !e.parent
  31320. },
  31321. le = function (e) {
  31322. _.call(c, function () {
  31323. var t = e.facade
  31324. j ? q.emit("rejectionHandled", t) : oe(K, t, e.value)
  31325. })
  31326. },
  31327. ce = function (e, t, r) {
  31328. return function (n) {
  31329. e(t, n, r)
  31330. }
  31331. },
  31332. ue = function (e, t, r) {
  31333. e.done || ((e.done = !0), r && (e = r), (e.value = t), (e.state = J), ie(e, !0))
  31334. },
  31335. fe = function (e, t, r) {
  31336. if (!e.done) {
  31337. ;(e.done = !0), r && (e = r)
  31338. try {
  31339. if (e.facade === t) throw U("Promise can't be resolved itself")
  31340. var n = ne(t)
  31341. n
  31342. ? T(function () {
  31343. var r = {
  31344. done: !1
  31345. }
  31346. try {
  31347. n.call(t, ce(fe, r, e), ce(ue, r, e))
  31348. } catch (i) {
  31349. ue(r, i, e)
  31350. }
  31351. })
  31352. : ((e.value = t), (e.state = Q), ie(e, !1))
  31353. } catch (i) {
  31354. ue(
  31355. {
  31356. done: !1
  31357. },
  31358. i,
  31359. e
  31360. )
  31361. }
  31362. }
  31363. }
  31364. te &&
  31365. ((F = function (e) {
  31366. v(this, F, N), y(e), n.call(this)
  31367. var t = M(this)
  31368. try {
  31369. e(ce(fe, t), ce(ue, t))
  31370. } catch (r) {
  31371. ue(t, r)
  31372. }
  31373. }),
  31374. (n = function (e) {
  31375. D(this, {
  31376. type: N,
  31377. done: !1,
  31378. notified: !1,
  31379. parent: !1,
  31380. reactions: [],
  31381. rejection: !1,
  31382. state: Z,
  31383. value: void 0
  31384. })
  31385. }),
  31386. (n.prototype = d(F.prototype, {
  31387. then: function (e, t) {
  31388. var r = B(this),
  31389. n = W(A(this, F))
  31390. return (
  31391. (n.ok = "function" != typeof e || e),
  31392. (n.fail = "function" == typeof t && t),
  31393. (n.domain = j ? q.domain : void 0),
  31394. (r.parent = !0),
  31395. r.reactions.push(n),
  31396. r.state != Z && ie(r, !1),
  31397. n.promise
  31398. )
  31399. },
  31400. catch: function (e) {
  31401. return this.then(void 0, e)
  31402. }
  31403. })),
  31404. (i = function () {
  31405. var e = new n(),
  31406. t = M(e)
  31407. ;(this.promise = e), (this.resolve = ce(fe, t)), (this.reject = ce(ue, t))
  31408. }),
  31409. (C.f = W =
  31410. function (e) {
  31411. return e === F || e === o ? new i(e) : V(e)
  31412. }),
  31413. l ||
  31414. "function" != typeof f ||
  31415. ((a = f.prototype.then),
  31416. p(
  31417. f.prototype,
  31418. "then",
  31419. function (e, t) {
  31420. var r = this
  31421. return new F(function (e, t) {
  31422. a.call(r, e, t)
  31423. }).then(e, t)
  31424. },
  31425. {
  31426. unsafe: !0
  31427. }
  31428. ),
  31429. "function" == typeof G &&
  31430. s(
  31431. {
  31432. global: !0,
  31433. enumerable: !0,
  31434. forced: !0
  31435. },
  31436. {
  31437. fetch: function (e) {
  31438. return E(F, G.apply(c, arguments))
  31439. }
  31440. }
  31441. ))),
  31442. s(
  31443. {
  31444. global: !0,
  31445. wrap: !0,
  31446. forced: te
  31447. },
  31448. {
  31449. Promise: F
  31450. }
  31451. ),
  31452. h(F, N, !1, !0),
  31453. m(N),
  31454. (o = u(N)),
  31455. s(
  31456. {
  31457. target: N,
  31458. stat: !0,
  31459. forced: te
  31460. },
  31461. {
  31462. reject: function (e) {
  31463. var t = W(this)
  31464. return t.reject.call(void 0, e), t.promise
  31465. }
  31466. }
  31467. ),
  31468. s(
  31469. {
  31470. target: N,
  31471. stat: !0,
  31472. forced: l || te
  31473. },
  31474. {
  31475. resolve: function (e) {
  31476. return E(l && this === o ? F : this, e)
  31477. }
  31478. }
  31479. ),
  31480. s(
  31481. {
  31482. target: N,
  31483. stat: !0,
  31484. forced: re
  31485. },
  31486. {
  31487. all: function (e) {
  31488. var t = this,
  31489. r = W(t),
  31490. n = r.resolve,
  31491. i = r.reject,
  31492. o = k(function () {
  31493. var r = y(t.resolve),
  31494. o = [],
  31495. a = 0,
  31496. s = 1
  31497. w(e, function (e) {
  31498. var l = a++,
  31499. c = !1
  31500. o.push(void 0),
  31501. s++,
  31502. r.call(t, e).then(function (e) {
  31503. c || ((c = !0), (o[l] = e), --s || n(o))
  31504. }, i)
  31505. }),
  31506. --s || n(o)
  31507. })
  31508. return o.error && i(o.value), r.promise
  31509. },
  31510. race: function (e) {
  31511. var t = this,
  31512. r = W(t),
  31513. n = r.reject,
  31514. i = k(function () {
  31515. var i = y(t.resolve)
  31516. w(e, function (e) {
  31517. i.call(t, e).then(r.resolve, n)
  31518. })
  31519. })
  31520. return i.error && n(i.value), r.promise
  31521. }
  31522. }
  31523. )
  31524. },
  31525. {
  31526. "../internals/a-function": 102,
  31527. "../internals/an-instance": 106,
  31528. "../internals/check-correctness-of-iteration": 124,
  31529. "../internals/engine-is-node": 140,
  31530. "../internals/engine-v8-version": 142,
  31531. "../internals/export": 144,
  31532. "../internals/get-built-in": 148,
  31533. "../internals/global": 150,
  31534. "../internals/host-report-errors": 153,
  31535. "../internals/inspect-source": 159,
  31536. "../internals/internal-state": 160,
  31537. "../internals/is-forced": 163,
  31538. "../internals/is-object": 164,
  31539. "../internals/is-pure": 165,
  31540. "../internals/iterate": 167,
  31541. "../internals/microtask": 171,
  31542. "../internals/native-promise-constructor": 172,
  31543. "../internals/new-promise-capability": 175,
  31544. "../internals/perform": 194,
  31545. "../internals/promise-resolve": 195,
  31546. "../internals/redefine": 197,
  31547. "../internals/redefine-all": 196,
  31548. "../internals/set-species": 205,
  31549. "../internals/set-to-string-tag": 206,
  31550. "../internals/species-constructor": 210,
  31551. "../internals/task": 214,
  31552. "../internals/well-known-symbol": 231
  31553. }
  31554. ],
  31555. 256: [
  31556. function (e, t, r) {
  31557. "use strict"
  31558. var n = e("../internals/export"),
  31559. i = e("../internals/regexp-exec")
  31560. n(
  31561. {
  31562. target: "RegExp",
  31563. proto: !0,
  31564. forced: /./.exec !== i
  31565. },
  31566. {
  31567. exec: i
  31568. }
  31569. )
  31570. },
  31571. {
  31572. "../internals/export": 144,
  31573. "../internals/regexp-exec": 199
  31574. }
  31575. ],
  31576. 257: [
  31577. function (e, t, r) {
  31578. "use strict"
  31579. var n = e("../internals/redefine"),
  31580. i = e("../internals/an-object"),
  31581. o = e("../internals/fails"),
  31582. a = e("../internals/regexp-flags"),
  31583. s = "toString",
  31584. l = RegExp.prototype,
  31585. c = l[s],
  31586. u = o(function () {
  31587. return (
  31588. "/a/b" !=
  31589. c.call({
  31590. source: "a",
  31591. flags: "b"
  31592. })
  31593. )
  31594. }),
  31595. f = c.name != s
  31596. ;(u || f) &&
  31597. n(
  31598. RegExp.prototype,
  31599. s,
  31600. function () {
  31601. var e = i(this),
  31602. t = String(e.source),
  31603. r = e.flags,
  31604. n = String(void 0 === r && e instanceof RegExp && !("flags" in l) ? a.call(e) : r)
  31605. return "/" + t + "/" + n
  31606. },
  31607. {
  31608. unsafe: !0
  31609. }
  31610. )
  31611. },
  31612. {
  31613. "../internals/an-object": 107,
  31614. "../internals/fails": 145,
  31615. "../internals/redefine": 197,
  31616. "../internals/regexp-flags": 200
  31617. }
  31618. ],
  31619. 258: [
  31620. function (e, t, r) {
  31621. "use strict"
  31622. var n = e("../internals/export"),
  31623. i = e("../internals/not-a-regexp"),
  31624. o = e("../internals/require-object-coercible"),
  31625. a = e("../internals/correct-is-regexp-logic")
  31626. n(
  31627. {
  31628. target: "String",
  31629. proto: !0,
  31630. forced: !a("includes")
  31631. },
  31632. {
  31633. includes: function (e) {
  31634. return !!~String(o(this)).indexOf(i(e), arguments.length > 1 ? arguments[1] : void 0)
  31635. }
  31636. }
  31637. )
  31638. },
  31639. {
  31640. "../internals/correct-is-regexp-logic": 128,
  31641. "../internals/export": 144,
  31642. "../internals/not-a-regexp": 176,
  31643. "../internals/require-object-coercible": 202
  31644. }
  31645. ],
  31646. 259: [
  31647. function (e, t, r) {
  31648. "use strict"
  31649. var n = e("../internals/string-multibyte").charAt,
  31650. i = e("../internals/internal-state"),
  31651. o = e("../internals/define-iterator"),
  31652. a = "String Iterator",
  31653. s = i.set,
  31654. l = i.getterFor(a)
  31655. o(
  31656. String,
  31657. "String",
  31658. function (e) {
  31659. s(this, {
  31660. type: a,
  31661. string: String(e),
  31662. index: 0
  31663. })
  31664. },
  31665. function () {
  31666. var e,
  31667. t = l(this),
  31668. r = t.string,
  31669. i = t.index
  31670. return i >= r.length
  31671. ? {
  31672. value: void 0,
  31673. done: !0
  31674. }
  31675. : ((e = n(r, i)),
  31676. (t.index += e.length),
  31677. {
  31678. value: e,
  31679. done: !1
  31680. })
  31681. }
  31682. )
  31683. },
  31684. {
  31685. "../internals/define-iterator": 134,
  31686. "../internals/internal-state": 160,
  31687. "../internals/string-multibyte": 211
  31688. }
  31689. ],
  31690. 260: [
  31691. function (e, t, r) {
  31692. "use strict"
  31693. var n = e("../internals/fix-regexp-well-known-symbol-logic"),
  31694. i = e("../internals/an-object"),
  31695. o = e("../internals/to-length"),
  31696. a = e("../internals/require-object-coercible"),
  31697. s = e("../internals/advance-string-index"),
  31698. l = e("../internals/regexp-exec-abstract")
  31699. n("match", 1, function (e, t, r) {
  31700. return [
  31701. function (t) {
  31702. var r = a(this),
  31703. n = void 0 == t ? void 0 : t[e]
  31704. return void 0 !== n ? n.call(t, r) : new RegExp(t)[e](String(r))
  31705. },
  31706. function (e) {
  31707. var n = r(t, e, this)
  31708. if (n.done) return n.value
  31709. var a = i(e),
  31710. c = String(this)
  31711. if (!a.global) return l(a, c)
  31712. var u = a.unicode
  31713. a.lastIndex = 0
  31714. var f,
  31715. p = [],
  31716. d = 0
  31717. while (null !== (f = l(a, c))) {
  31718. var h = String(f[0])
  31719. ;(p[d] = h), "" === h && (a.lastIndex = s(c, o(a.lastIndex), u)), d++
  31720. }
  31721. return 0 === d ? null : p
  31722. }
  31723. ]
  31724. })
  31725. },
  31726. {
  31727. "../internals/advance-string-index": 105,
  31728. "../internals/an-object": 107,
  31729. "../internals/fix-regexp-well-known-symbol-logic": 146,
  31730. "../internals/regexp-exec-abstract": 198,
  31731. "../internals/require-object-coercible": 202,
  31732. "../internals/to-length": 219
  31733. }
  31734. ],
  31735. 261: [
  31736. function (e, t, r) {
  31737. "use strict"
  31738. var n = e("../internals/fix-regexp-well-known-symbol-logic"),
  31739. i = e("../internals/an-object"),
  31740. o = e("../internals/to-object"),
  31741. a = e("../internals/to-length"),
  31742. s = e("../internals/to-integer"),
  31743. l = e("../internals/require-object-coercible"),
  31744. c = e("../internals/advance-string-index"),
  31745. u = e("../internals/regexp-exec-abstract"),
  31746. f = Math.max,
  31747. p = Math.min,
  31748. d = Math.floor,
  31749. h = /\$([$&'`]|\d\d?|<[^>]*>)/g,
  31750. m = /\$([$&'`]|\d\d?)/g,
  31751. g = function (e) {
  31752. return void 0 === e ? e : String(e)
  31753. }
  31754. n("replace", 2, function (e, t, r, n) {
  31755. var y = n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,
  31756. v = n.REPLACE_KEEPS_$0,
  31757. b = y ? "$" : "$0"
  31758. return [
  31759. function (r, n) {
  31760. var i = l(this),
  31761. o = void 0 == r ? void 0 : r[e]
  31762. return void 0 !== o ? o.call(r, i, n) : t.call(String(i), r, n)
  31763. },
  31764. function (e, n) {
  31765. if ((!y && v) || ("string" === typeof n && -1 === n.indexOf(b))) {
  31766. var o = r(t, e, this, n)
  31767. if (o.done) return o.value
  31768. }
  31769. var l = i(e),
  31770. d = String(this),
  31771. h = "function" === typeof n
  31772. h || (n = String(n))
  31773. var m = l.global
  31774. if (m) {
  31775. var x = l.unicode
  31776. l.lastIndex = 0
  31777. }
  31778. var A = []
  31779. while (1) {
  31780. var _ = u(l, d)
  31781. if (null === _) break
  31782. if ((A.push(_), !m)) break
  31783. var T = String(_[0])
  31784. "" === T && (l.lastIndex = c(d, a(l.lastIndex), x))
  31785. }
  31786. for (var E = "", S = 0, C = 0; C < A.length; C++) {
  31787. _ = A[C]
  31788. for (var k = String(_[0]), L = f(p(s(_.index), d.length), 0), P = [], O = 1; O < _.length; O++) P.push(g(_[O]))
  31789. var j = _.groups
  31790. if (h) {
  31791. var R = [k].concat(P, L, d)
  31792. void 0 !== j && R.push(j)
  31793. var I = String(n.apply(void 0, R))
  31794. } else I = w(k, d, L, P, j, n)
  31795. L >= S && ((E += d.slice(S, L) + I), (S = L + k.length))
  31796. }
  31797. return E + d.slice(S)
  31798. }
  31799. ]
  31800. function w(e, r, n, i, a, s) {
  31801. var l = n + e.length,
  31802. c = i.length,
  31803. u = m
  31804. return (
  31805. void 0 !== a && ((a = o(a)), (u = h)),
  31806. t.call(s, u, function (t, o) {
  31807. var s
  31808. switch (o.charAt(0)) {
  31809. case "$":
  31810. return "$"
  31811. case "&":
  31812. return e
  31813. case "`":
  31814. return r.slice(0, n)
  31815. case "'":
  31816. return r.slice(l)
  31817. case "<":
  31818. s = a[o.slice(1, -1)]
  31819. break
  31820. default:
  31821. var u = +o
  31822. if (0 === u) return t
  31823. if (u > c) {
  31824. var f = d(u / 10)
  31825. return 0 === f ? t : f <= c ? (void 0 === i[f - 1] ? o.charAt(1) : i[f - 1] + o.charAt(1)) : t
  31826. }
  31827. s = i[u - 1]
  31828. }
  31829. return void 0 === s ? "" : s
  31830. })
  31831. )
  31832. }
  31833. })
  31834. },
  31835. {
  31836. "../internals/advance-string-index": 105,
  31837. "../internals/an-object": 107,
  31838. "../internals/fix-regexp-well-known-symbol-logic": 146,
  31839. "../internals/regexp-exec-abstract": 198,
  31840. "../internals/require-object-coercible": 202,
  31841. "../internals/to-integer": 218,
  31842. "../internals/to-length": 219,
  31843. "../internals/to-object": 220
  31844. }
  31845. ],
  31846. 262: [
  31847. function (e, t, r) {
  31848. "use strict"
  31849. var n = e("../internals/fix-regexp-well-known-symbol-logic"),
  31850. i = e("../internals/an-object"),
  31851. o = e("../internals/require-object-coercible"),
  31852. a = e("../internals/same-value"),
  31853. s = e("../internals/regexp-exec-abstract")
  31854. n("search", 1, function (e, t, r) {
  31855. return [
  31856. function (t) {
  31857. var r = o(this),
  31858. n = void 0 == t ? void 0 : t[e]
  31859. return void 0 !== n ? n.call(t, r) : new RegExp(t)[e](String(r))
  31860. },
  31861. function (e) {
  31862. var n = r(t, e, this)
  31863. if (n.done) return n.value
  31864. var o = i(e),
  31865. l = String(this),
  31866. c = o.lastIndex
  31867. a(c, 0) || (o.lastIndex = 0)
  31868. var u = s(o, l)
  31869. return a(o.lastIndex, c) || (o.lastIndex = c), null === u ? -1 : u.index
  31870. }
  31871. ]
  31872. })
  31873. },
  31874. {
  31875. "../internals/an-object": 107,
  31876. "../internals/fix-regexp-well-known-symbol-logic": 146,
  31877. "../internals/regexp-exec-abstract": 198,
  31878. "../internals/require-object-coercible": 202,
  31879. "../internals/same-value": 203
  31880. }
  31881. ],
  31882. 263: [
  31883. function (e, t, r) {
  31884. "use strict"
  31885. var n = e("../internals/fix-regexp-well-known-symbol-logic"),
  31886. i = e("../internals/is-regexp"),
  31887. o = e("../internals/an-object"),
  31888. a = e("../internals/require-object-coercible"),
  31889. s = e("../internals/species-constructor"),
  31890. l = e("../internals/advance-string-index"),
  31891. c = e("../internals/to-length"),
  31892. u = e("../internals/regexp-exec-abstract"),
  31893. f = e("../internals/regexp-exec"),
  31894. p = e("../internals/fails"),
  31895. d = [].push,
  31896. h = Math.min,
  31897. m = 4294967295,
  31898. g = !p(function () {
  31899. return !RegExp(m, "y")
  31900. })
  31901. n(
  31902. "split",
  31903. 2,
  31904. function (e, t, r) {
  31905. var n
  31906. return (
  31907. (n =
  31908. "c" == "abbc".split(/(b)*/)[1] ||
  31909. 4 != "test".split(/(?:)/, -1).length ||
  31910. 2 != "ab".split(/(?:ab)*/).length ||
  31911. 4 != ".".split(/(.?)(.?)/).length ||
  31912. ".".split(/()()/).length > 1 ||
  31913. "".split(/.?/).length
  31914. ? function (e, r) {
  31915. var n = String(a(this)),
  31916. o = void 0 === r ? m : r >>> 0
  31917. if (0 === o) return []
  31918. if (void 0 === e) return [n]
  31919. if (!i(e)) return t.call(n, e, o)
  31920. var s,
  31921. l,
  31922. c,
  31923. u = [],
  31924. p =
  31925. (e.ignoreCase ? "i" : "") +
  31926. (e.multiline ? "m" : "") +
  31927. (e.unicode ? "u" : "") +
  31928. (e.sticky ? "y" : ""),
  31929. h = 0,
  31930. g = new RegExp(e.source, p + "g")
  31931. while ((s = f.call(g, n))) {
  31932. if (
  31933. ((l = g.lastIndex),
  31934. l > h &&
  31935. (u.push(n.slice(h, s.index)),
  31936. s.length > 1 && s.index < n.length && d.apply(u, s.slice(1)),
  31937. (c = s[0].length),
  31938. (h = l),
  31939. u.length >= o))
  31940. )
  31941. break
  31942. g.lastIndex === s.index && g.lastIndex++
  31943. }
  31944. return (
  31945. h === n.length ? (!c && g.test("")) || u.push("") : u.push(n.slice(h)),
  31946. u.length > o ? u.slice(0, o) : u
  31947. )
  31948. }
  31949. : "0".split(void 0, 0).length
  31950. ? function (e, r) {
  31951. return void 0 === e && 0 === r ? [] : t.call(this, e, r)
  31952. }
  31953. : t),
  31954. [
  31955. function (t, r) {
  31956. var i = a(this),
  31957. o = void 0 == t ? void 0 : t[e]
  31958. return void 0 !== o ? o.call(t, i, r) : n.call(String(i), t, r)
  31959. },
  31960. function (e, i) {
  31961. var a = r(n, e, this, i, n !== t)
  31962. if (a.done) return a.value
  31963. var f = o(e),
  31964. p = String(this),
  31965. d = s(f, RegExp),
  31966. y = f.unicode,
  31967. v = (f.ignoreCase ? "i" : "") + (f.multiline ? "m" : "") + (f.unicode ? "u" : "") + (g ? "y" : "g"),
  31968. b = new d(g ? f : "^(?:" + f.source + ")", v),
  31969. w = void 0 === i ? m : i >>> 0
  31970. if (0 === w) return []
  31971. if (0 === p.length) return null === u(b, p) ? [p] : []
  31972. var x = 0,
  31973. A = 0,
  31974. _ = []
  31975. while (A < p.length) {
  31976. b.lastIndex = g ? A : 0
  31977. var T,
  31978. E = u(b, g ? p : p.slice(A))
  31979. if (null === E || (T = h(c(b.lastIndex + (g ? 0 : A)), p.length)) === x) A = l(p, A, y)
  31980. else {
  31981. if ((_.push(p.slice(x, A)), _.length === w)) return _
  31982. for (var S = 1; S <= E.length - 1; S++) if ((_.push(E[S]), _.length === w)) return _
  31983. A = x = T
  31984. }
  31985. }
  31986. return _.push(p.slice(x)), _
  31987. }
  31988. ]
  31989. )
  31990. },
  31991. !g
  31992. )
  31993. },
  31994. {
  31995. "../internals/advance-string-index": 105,
  31996. "../internals/an-object": 107,
  31997. "../internals/fails": 145,
  31998. "../internals/fix-regexp-well-known-symbol-logic": 146,
  31999. "../internals/is-regexp": 166,
  32000. "../internals/regexp-exec": 199,
  32001. "../internals/regexp-exec-abstract": 198,
  32002. "../internals/require-object-coercible": 202,
  32003. "../internals/species-constructor": 210,
  32004. "../internals/to-length": 219
  32005. }
  32006. ],
  32007. 264: [
  32008. function (e, t, r) {
  32009. "use strict"
  32010. var n = e("../internals/export"),
  32011. i = e("../internals/string-trim").trim,
  32012. o = e("../internals/string-trim-forced")
  32013. n(
  32014. {
  32015. target: "String",
  32016. proto: !0,
  32017. forced: o("trim")
  32018. },
  32019. {
  32020. trim: function () {
  32021. return i(this)
  32022. }
  32023. }
  32024. )
  32025. },
  32026. {
  32027. "../internals/export": 144,
  32028. "../internals/string-trim": 213,
  32029. "../internals/string-trim-forced": 212
  32030. }
  32031. ],
  32032. 265: [
  32033. function (e, t, r) {
  32034. "use strict"
  32035. var n = e("../internals/export"),
  32036. i = e("../internals/descriptors"),
  32037. o = e("../internals/global"),
  32038. a = e("../internals/has"),
  32039. s = e("../internals/is-object"),
  32040. l = e("../internals/object-define-property").f,
  32041. c = e("../internals/copy-constructor-properties"),
  32042. u = o.Symbol
  32043. if (i && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) {
  32044. var f = {},
  32045. p = function () {
  32046. var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]),
  32047. t = this instanceof p ? new u(e) : void 0 === e ? u() : u(e)
  32048. return "" === e && (f[t] = !0), t
  32049. }
  32050. c(p, u)
  32051. var d = (p.prototype = u.prototype)
  32052. d.constructor = p
  32053. var h = d.toString,
  32054. m = "Symbol(test)" == String(u("test")),
  32055. g = /^Symbol\((.*)\)[^)]+$/
  32056. l(d, "description", {
  32057. configurable: !0,
  32058. get: function () {
  32059. var e = s(this) ? this.valueOf() : this,
  32060. t = h.call(e)
  32061. if (a(f, e)) return ""
  32062. var r = m ? t.slice(7, -1) : t.replace(g, "$1")
  32063. return "" === r ? void 0 : r
  32064. }
  32065. }),
  32066. n(
  32067. {
  32068. global: !0,
  32069. forced: !0
  32070. },
  32071. {
  32072. Symbol: p
  32073. }
  32074. )
  32075. }
  32076. },
  32077. {
  32078. "../internals/copy-constructor-properties": 127,
  32079. "../internals/descriptors": 136,
  32080. "../internals/export": 144,
  32081. "../internals/global": 150,
  32082. "../internals/has": 151,
  32083. "../internals/is-object": 164,
  32084. "../internals/object-define-property": 180
  32085. }
  32086. ],
  32087. 266: [
  32088. function (e, t, r) {
  32089. "use strict"
  32090. var n = e("../internals/export"),
  32091. i = e("../internals/global"),
  32092. o = e("../internals/get-built-in"),
  32093. a = e("../internals/is-pure"),
  32094. s = e("../internals/descriptors"),
  32095. l = e("../internals/native-symbol"),
  32096. c = e("../internals/use-symbol-as-uid"),
  32097. u = e("../internals/fails"),
  32098. f = e("../internals/has"),
  32099. p = e("../internals/is-array"),
  32100. d = e("../internals/is-object"),
  32101. h = e("../internals/an-object"),
  32102. m = e("../internals/to-object"),
  32103. g = e("../internals/to-indexed-object"),
  32104. y = e("../internals/to-primitive"),
  32105. v = e("../internals/create-property-descriptor"),
  32106. b = e("../internals/object-create"),
  32107. w = e("../internals/object-keys"),
  32108. x = e("../internals/object-get-own-property-names"),
  32109. A = e("../internals/object-get-own-property-names-external"),
  32110. _ = e("../internals/object-get-own-property-symbols"),
  32111. T = e("../internals/object-get-own-property-descriptor"),
  32112. E = e("../internals/object-define-property"),
  32113. S = e("../internals/object-property-is-enumerable"),
  32114. C = e("../internals/create-non-enumerable-property"),
  32115. k = e("../internals/redefine"),
  32116. L = e("../internals/shared"),
  32117. P = e("../internals/shared-key"),
  32118. O = e("../internals/hidden-keys"),
  32119. j = e("../internals/uid"),
  32120. R = e("../internals/well-known-symbol"),
  32121. I = e("../internals/well-known-symbol-wrapped"),
  32122. N = e("../internals/define-well-known-symbol"),
  32123. M = e("../internals/set-to-string-tag"),
  32124. D = e("../internals/internal-state"),
  32125. B = e("../internals/array-iteration").forEach,
  32126. F = P("hidden"),
  32127. U = "Symbol",
  32128. z = "prototype",
  32129. q = R("toPrimitive"),
  32130. G = D.set,
  32131. W = D.getterFor(U),
  32132. V = Object[z],
  32133. H = i.Symbol,
  32134. X = o("JSON", "stringify"),
  32135. Y = T.f,
  32136. K = E.f,
  32137. Z = A.f,
  32138. Q = S.f,
  32139. J = L("symbols"),
  32140. $ = L("op-symbols"),
  32141. ee = L("string-to-symbol-registry"),
  32142. te = L("symbol-to-string-registry"),
  32143. re = L("wks"),
  32144. ne = i.QObject,
  32145. ie = !ne || !ne[z] || !ne[z].findChild,
  32146. oe =
  32147. s &&
  32148. u(function () {
  32149. return (
  32150. 7 !=
  32151. b(
  32152. K({}, "a", {
  32153. get: function () {
  32154. return K(this, "a", {
  32155. value: 7
  32156. }).a
  32157. }
  32158. })
  32159. ).a
  32160. )
  32161. })
  32162. ? function (e, t, r) {
  32163. var n = Y(V, t)
  32164. n && delete V[t], K(e, t, r), n && e !== V && K(V, t, n)
  32165. }
  32166. : K,
  32167. ae = function (e, t) {
  32168. var r = (J[e] = b(H[z]))
  32169. return (
  32170. G(r, {
  32171. type: U,
  32172. tag: e,
  32173. description: t
  32174. }),
  32175. s || (r.description = t),
  32176. r
  32177. )
  32178. },
  32179. se = c
  32180. ? function (e) {
  32181. return "symbol" == typeof e
  32182. }
  32183. : function (e) {
  32184. return Object(e) instanceof H
  32185. },
  32186. le = function (e, t, r) {
  32187. e === V && le($, t, r), h(e)
  32188. var n = y(t, !0)
  32189. return (
  32190. h(r),
  32191. f(J, n)
  32192. ? (r.enumerable
  32193. ? (f(e, F) && e[F][n] && (e[F][n] = !1),
  32194. (r = b(r, {
  32195. enumerable: v(0, !1)
  32196. })))
  32197. : (f(e, F) || K(e, F, v(1, {})), (e[F][n] = !0)),
  32198. oe(e, n, r))
  32199. : K(e, n, r)
  32200. )
  32201. },
  32202. ce = function (e, t) {
  32203. h(e)
  32204. var r = g(t),
  32205. n = w(r).concat(he(r))
  32206. return (
  32207. B(n, function (t) {
  32208. ;(s && !fe.call(r, t)) || le(e, t, r[t])
  32209. }),
  32210. e
  32211. )
  32212. },
  32213. ue = function (e, t) {
  32214. return void 0 === t ? b(e) : ce(b(e), t)
  32215. },
  32216. fe = function (e) {
  32217. var t = y(e, !0),
  32218. r = Q.call(this, t)
  32219. return !(this === V && f(J, t) && !f($, t)) && (!(r || !f(this, t) || !f(J, t) || (f(this, F) && this[F][t])) || r)
  32220. },
  32221. pe = function (e, t) {
  32222. var r = g(e),
  32223. n = y(t, !0)
  32224. if (r !== V || !f(J, n) || f($, n)) {
  32225. var i = Y(r, n)
  32226. return !i || !f(J, n) || (f(r, F) && r[F][n]) || (i.enumerable = !0), i
  32227. }
  32228. },
  32229. de = function (e) {
  32230. var t = Z(g(e)),
  32231. r = []
  32232. return (
  32233. B(t, function (e) {
  32234. f(J, e) || f(O, e) || r.push(e)
  32235. }),
  32236. r
  32237. )
  32238. },
  32239. he = function (e) {
  32240. var t = e === V,
  32241. r = Z(t ? $ : g(e)),
  32242. n = []
  32243. return (
  32244. B(r, function (e) {
  32245. !f(J, e) || (t && !f(V, e)) || n.push(J[e])
  32246. }),
  32247. n
  32248. )
  32249. }
  32250. if (
  32251. (l ||
  32252. ((H = function () {
  32253. if (this instanceof H) throw TypeError("Symbol is not a constructor")
  32254. var e = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0,
  32255. t = j(e),
  32256. r = function (e) {
  32257. this === V && r.call($, e), f(this, F) && f(this[F], t) && (this[F][t] = !1), oe(this, t, v(1, e))
  32258. }
  32259. return (
  32260. s &&
  32261. ie &&
  32262. oe(V, t, {
  32263. configurable: !0,
  32264. set: r
  32265. }),
  32266. ae(t, e)
  32267. )
  32268. }),
  32269. k(H[z], "toString", function () {
  32270. return W(this).tag
  32271. }),
  32272. k(H, "withoutSetter", function (e) {
  32273. return ae(j(e), e)
  32274. }),
  32275. (S.f = fe),
  32276. (E.f = le),
  32277. (T.f = pe),
  32278. (x.f = A.f = de),
  32279. (_.f = he),
  32280. (I.f = function (e) {
  32281. return ae(R(e), e)
  32282. }),
  32283. s &&
  32284. (K(H[z], "description", {
  32285. configurable: !0,
  32286. get: function () {
  32287. return W(this).description
  32288. }
  32289. }),
  32290. a ||
  32291. k(V, "propertyIsEnumerable", fe, {
  32292. unsafe: !0
  32293. }))),
  32294. n(
  32295. {
  32296. global: !0,
  32297. wrap: !0,
  32298. forced: !l,
  32299. sham: !l
  32300. },
  32301. {
  32302. Symbol: H
  32303. }
  32304. ),
  32305. B(w(re), function (e) {
  32306. N(e)
  32307. }),
  32308. n(
  32309. {
  32310. target: U,
  32311. stat: !0,
  32312. forced: !l
  32313. },
  32314. {
  32315. for: function (e) {
  32316. var t = String(e)
  32317. if (f(ee, t)) return ee[t]
  32318. var r = H(t)
  32319. return (ee[t] = r), (te[r] = t), r
  32320. },
  32321. keyFor: function (e) {
  32322. if (!se(e)) throw TypeError(e + " is not a symbol")
  32323. if (f(te, e)) return te[e]
  32324. },
  32325. useSetter: function () {
  32326. ie = !0
  32327. },
  32328. useSimple: function () {
  32329. ie = !1
  32330. }
  32331. }
  32332. ),
  32333. n(
  32334. {
  32335. target: "Object",
  32336. stat: !0,
  32337. forced: !l,
  32338. sham: !s
  32339. },
  32340. {
  32341. create: ue,
  32342. defineProperty: le,
  32343. defineProperties: ce,
  32344. getOwnPropertyDescriptor: pe
  32345. }
  32346. ),
  32347. n(
  32348. {
  32349. target: "Object",
  32350. stat: !0,
  32351. forced: !l
  32352. },
  32353. {
  32354. getOwnPropertyNames: de,
  32355. getOwnPropertySymbols: he
  32356. }
  32357. ),
  32358. n(
  32359. {
  32360. target: "Object",
  32361. stat: !0,
  32362. forced: u(function () {
  32363. _.f(1)
  32364. })
  32365. },
  32366. {
  32367. getOwnPropertySymbols: function (e) {
  32368. return _.f(m(e))
  32369. }
  32370. }
  32371. ),
  32372. X)
  32373. ) {
  32374. var me =
  32375. !l ||
  32376. u(function () {
  32377. var e = H()
  32378. return (
  32379. "[null]" != X([e]) ||
  32380. "{}" !=
  32381. X({
  32382. a: e
  32383. }) ||
  32384. "{}" != X(Object(e))
  32385. )
  32386. })
  32387. n(
  32388. {
  32389. target: "JSON",
  32390. stat: !0,
  32391. forced: me
  32392. },
  32393. {
  32394. stringify: function (e, t, r) {
  32395. var n,
  32396. i = [e],
  32397. o = 1
  32398. while (arguments.length > o) i.push(arguments[o++])
  32399. if (((n = t), (d(t) || void 0 !== e) && !se(e)))
  32400. return (
  32401. p(t) ||
  32402. (t = function (e, t) {
  32403. if (("function" == typeof n && (t = n.call(this, e, t)), !se(t))) return t
  32404. }),
  32405. (i[1] = t),
  32406. X.apply(null, i)
  32407. )
  32408. }
  32409. }
  32410. )
  32411. }
  32412. H[z][q] || C(H[z], q, H[z].valueOf), M(H, U), (O[F] = !0)
  32413. },
  32414. {
  32415. "../internals/an-object": 107,
  32416. "../internals/array-iteration": 116,
  32417. "../internals/create-non-enumerable-property": 131,
  32418. "../internals/create-property-descriptor": 132,
  32419. "../internals/define-well-known-symbol": 135,
  32420. "../internals/descriptors": 136,
  32421. "../internals/export": 144,
  32422. "../internals/fails": 145,
  32423. "../internals/get-built-in": 148,
  32424. "../internals/global": 150,
  32425. "../internals/has": 151,
  32426. "../internals/hidden-keys": 152,
  32427. "../internals/internal-state": 160,
  32428. "../internals/is-array": 162,
  32429. "../internals/is-object": 164,
  32430. "../internals/is-pure": 165,
  32431. "../internals/native-symbol": 173,
  32432. "../internals/object-create": 178,
  32433. "../internals/object-define-property": 180,
  32434. "../internals/object-get-own-property-descriptor": 181,
  32435. "../internals/object-get-own-property-names": 183,
  32436. "../internals/object-get-own-property-names-external": 182,
  32437. "../internals/object-get-own-property-symbols": 184,
  32438. "../internals/object-keys": 187,
  32439. "../internals/object-property-is-enumerable": 188,
  32440. "../internals/redefine": 197,
  32441. "../internals/set-to-string-tag": 206,
  32442. "../internals/shared": 209,
  32443. "../internals/shared-key": 207,
  32444. "../internals/to-indexed-object": 217,
  32445. "../internals/to-object": 220,
  32446. "../internals/to-primitive": 223,
  32447. "../internals/uid": 228,
  32448. "../internals/use-symbol-as-uid": 229,
  32449. "../internals/well-known-symbol": 231,
  32450. "../internals/well-known-symbol-wrapped": 230
  32451. }
  32452. ],
  32453. 267: [
  32454. function (e, t, r) {
  32455. "use strict"
  32456. var n = e("../internals/array-buffer-view-core"),
  32457. i = e("../internals/array-copy-within"),
  32458. o = n.aTypedArray,
  32459. a = n.exportTypedArrayMethod
  32460. a("copyWithin", function (e, t) {
  32461. return i.call(o(this), e, t, arguments.length > 2 ? arguments[2] : void 0)
  32462. })
  32463. },
  32464. {
  32465. "../internals/array-buffer-view-core": 109,
  32466. "../internals/array-copy-within": 111
  32467. }
  32468. ],
  32469. 268: [
  32470. function (e, t, r) {
  32471. "use strict"
  32472. var n = e("../internals/array-buffer-view-core"),
  32473. i = e("../internals/array-iteration").every,
  32474. o = n.aTypedArray,
  32475. a = n.exportTypedArrayMethod
  32476. a("every", function (e) {
  32477. return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32478. })
  32479. },
  32480. {
  32481. "../internals/array-buffer-view-core": 109,
  32482. "../internals/array-iteration": 116
  32483. }
  32484. ],
  32485. 269: [
  32486. function (e, t, r) {
  32487. "use strict"
  32488. var n = e("../internals/array-buffer-view-core"),
  32489. i = e("../internals/array-fill"),
  32490. o = n.aTypedArray,
  32491. a = n.exportTypedArrayMethod
  32492. a("fill", function (e) {
  32493. return i.apply(o(this), arguments)
  32494. })
  32495. },
  32496. {
  32497. "../internals/array-buffer-view-core": 109,
  32498. "../internals/array-fill": 112
  32499. }
  32500. ],
  32501. 270: [
  32502. function (e, t, r) {
  32503. "use strict"
  32504. var n = e("../internals/array-buffer-view-core"),
  32505. i = e("../internals/array-iteration").filter,
  32506. o = e("../internals/species-constructor"),
  32507. a = n.aTypedArray,
  32508. s = n.aTypedArrayConstructor,
  32509. l = n.exportTypedArrayMethod
  32510. l("filter", function (e) {
  32511. var t = i(a(this), e, arguments.length > 1 ? arguments[1] : void 0),
  32512. r = o(this, this.constructor),
  32513. n = 0,
  32514. l = t.length,
  32515. c = new (s(r))(l)
  32516. while (l > n) c[n] = t[n++]
  32517. return c
  32518. })
  32519. },
  32520. {
  32521. "../internals/array-buffer-view-core": 109,
  32522. "../internals/array-iteration": 116,
  32523. "../internals/species-constructor": 210
  32524. }
  32525. ],
  32526. 271: [
  32527. function (e, t, r) {
  32528. "use strict"
  32529. var n = e("../internals/array-buffer-view-core"),
  32530. i = e("../internals/array-iteration").findIndex,
  32531. o = n.aTypedArray,
  32532. a = n.exportTypedArrayMethod
  32533. a("findIndex", function (e) {
  32534. return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32535. })
  32536. },
  32537. {
  32538. "../internals/array-buffer-view-core": 109,
  32539. "../internals/array-iteration": 116
  32540. }
  32541. ],
  32542. 272: [
  32543. function (e, t, r) {
  32544. "use strict"
  32545. var n = e("../internals/array-buffer-view-core"),
  32546. i = e("../internals/array-iteration").find,
  32547. o = n.aTypedArray,
  32548. a = n.exportTypedArrayMethod
  32549. a("find", function (e) {
  32550. return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32551. })
  32552. },
  32553. {
  32554. "../internals/array-buffer-view-core": 109,
  32555. "../internals/array-iteration": 116
  32556. }
  32557. ],
  32558. 273: [
  32559. function (e, t, r) {
  32560. "use strict"
  32561. var n = e("../internals/array-buffer-view-core"),
  32562. i = e("../internals/array-iteration").forEach,
  32563. o = n.aTypedArray,
  32564. a = n.exportTypedArrayMethod
  32565. a("forEach", function (e) {
  32566. i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32567. })
  32568. },
  32569. {
  32570. "../internals/array-buffer-view-core": 109,
  32571. "../internals/array-iteration": 116
  32572. }
  32573. ],
  32574. 274: [
  32575. function (e, t, r) {
  32576. "use strict"
  32577. var n = e("../internals/array-buffer-view-core"),
  32578. i = e("../internals/array-includes").includes,
  32579. o = n.aTypedArray,
  32580. a = n.exportTypedArrayMethod
  32581. a("includes", function (e) {
  32582. return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32583. })
  32584. },
  32585. {
  32586. "../internals/array-buffer-view-core": 109,
  32587. "../internals/array-includes": 115
  32588. }
  32589. ],
  32590. 275: [
  32591. function (e, t, r) {
  32592. "use strict"
  32593. var n = e("../internals/array-buffer-view-core"),
  32594. i = e("../internals/array-includes").indexOf,
  32595. o = n.aTypedArray,
  32596. a = n.exportTypedArrayMethod
  32597. a("indexOf", function (e) {
  32598. return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32599. })
  32600. },
  32601. {
  32602. "../internals/array-buffer-view-core": 109,
  32603. "../internals/array-includes": 115
  32604. }
  32605. ],
  32606. 276: [
  32607. function (e, t, r) {
  32608. "use strict"
  32609. var n = e("../internals/global"),
  32610. i = e("../internals/array-buffer-view-core"),
  32611. o = e("../modules/es.array.iterator"),
  32612. a = e("../internals/well-known-symbol"),
  32613. s = a("iterator"),
  32614. l = n.Uint8Array,
  32615. c = o.values,
  32616. u = o.keys,
  32617. f = o.entries,
  32618. p = i.aTypedArray,
  32619. d = i.exportTypedArrayMethod,
  32620. h = l && l.prototype[s],
  32621. m = !!h && ("values" == h.name || void 0 == h.name),
  32622. g = function () {
  32623. return c.call(p(this))
  32624. }
  32625. d("entries", function () {
  32626. return f.call(p(this))
  32627. }),
  32628. d("keys", function () {
  32629. return u.call(p(this))
  32630. }),
  32631. d("values", g, !m),
  32632. d(s, g, !m)
  32633. },
  32634. {
  32635. "../internals/array-buffer-view-core": 109,
  32636. "../internals/global": 150,
  32637. "../internals/well-known-symbol": 231,
  32638. "../modules/es.array.iterator": 242
  32639. }
  32640. ],
  32641. 277: [
  32642. function (e, t, r) {
  32643. "use strict"
  32644. var n = e("../internals/array-buffer-view-core"),
  32645. i = n.aTypedArray,
  32646. o = n.exportTypedArrayMethod,
  32647. a = [].join
  32648. o("join", function (e) {
  32649. return a.apply(i(this), arguments)
  32650. })
  32651. },
  32652. {
  32653. "../internals/array-buffer-view-core": 109
  32654. }
  32655. ],
  32656. 278: [
  32657. function (e, t, r) {
  32658. "use strict"
  32659. var n = e("../internals/array-buffer-view-core"),
  32660. i = e("../internals/array-last-index-of"),
  32661. o = n.aTypedArray,
  32662. a = n.exportTypedArrayMethod
  32663. a("lastIndexOf", function (e) {
  32664. return i.apply(o(this), arguments)
  32665. })
  32666. },
  32667. {
  32668. "../internals/array-buffer-view-core": 109,
  32669. "../internals/array-last-index-of": 117
  32670. }
  32671. ],
  32672. 279: [
  32673. function (e, t, r) {
  32674. "use strict"
  32675. var n = e("../internals/array-buffer-view-core"),
  32676. i = e("../internals/array-iteration").map,
  32677. o = e("../internals/species-constructor"),
  32678. a = n.aTypedArray,
  32679. s = n.aTypedArrayConstructor,
  32680. l = n.exportTypedArrayMethod
  32681. l("map", function (e) {
  32682. return i(a(this), e, arguments.length > 1 ? arguments[1] : void 0, function (e, t) {
  32683. return new (s(o(e, e.constructor)))(t)
  32684. })
  32685. })
  32686. },
  32687. {
  32688. "../internals/array-buffer-view-core": 109,
  32689. "../internals/array-iteration": 116,
  32690. "../internals/species-constructor": 210
  32691. }
  32692. ],
  32693. 280: [
  32694. function (e, t, r) {
  32695. "use strict"
  32696. var n = e("../internals/array-buffer-view-core"),
  32697. i = e("../internals/array-reduce").right,
  32698. o = n.aTypedArray,
  32699. a = n.exportTypedArrayMethod
  32700. a("reduceRight", function (e) {
  32701. return i(o(this), e, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
  32702. })
  32703. },
  32704. {
  32705. "../internals/array-buffer-view-core": 109,
  32706. "../internals/array-reduce": 121
  32707. }
  32708. ],
  32709. 281: [
  32710. function (e, t, r) {
  32711. "use strict"
  32712. var n = e("../internals/array-buffer-view-core"),
  32713. i = e("../internals/array-reduce").left,
  32714. o = n.aTypedArray,
  32715. a = n.exportTypedArrayMethod
  32716. a("reduce", function (e) {
  32717. return i(o(this), e, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
  32718. })
  32719. },
  32720. {
  32721. "../internals/array-buffer-view-core": 109,
  32722. "../internals/array-reduce": 121
  32723. }
  32724. ],
  32725. 282: [
  32726. function (e, t, r) {
  32727. "use strict"
  32728. var n = e("../internals/array-buffer-view-core"),
  32729. i = n.aTypedArray,
  32730. o = n.exportTypedArrayMethod,
  32731. a = Math.floor
  32732. o("reverse", function () {
  32733. var e,
  32734. t = this,
  32735. r = i(t).length,
  32736. n = a(r / 2),
  32737. o = 0
  32738. while (o < n) (e = t[o]), (t[o++] = t[--r]), (t[r] = e)
  32739. return t
  32740. })
  32741. },
  32742. {
  32743. "../internals/array-buffer-view-core": 109
  32744. }
  32745. ],
  32746. 283: [
  32747. function (e, t, r) {
  32748. "use strict"
  32749. var n = e("../internals/array-buffer-view-core"),
  32750. i = e("../internals/to-length"),
  32751. o = e("../internals/to-offset"),
  32752. a = e("../internals/to-object"),
  32753. s = e("../internals/fails"),
  32754. l = n.aTypedArray,
  32755. c = n.exportTypedArrayMethod,
  32756. u = s(function () {
  32757. new Int8Array(1).set({})
  32758. })
  32759. c(
  32760. "set",
  32761. function (e) {
  32762. l(this)
  32763. var t = o(arguments.length > 1 ? arguments[1] : void 0, 1),
  32764. r = this.length,
  32765. n = a(e),
  32766. s = i(n.length),
  32767. c = 0
  32768. if (s + t > r) throw RangeError("Wrong length")
  32769. while (c < s) this[t + c] = n[c++]
  32770. },
  32771. u
  32772. )
  32773. },
  32774. {
  32775. "../internals/array-buffer-view-core": 109,
  32776. "../internals/fails": 145,
  32777. "../internals/to-length": 219,
  32778. "../internals/to-object": 220,
  32779. "../internals/to-offset": 221
  32780. }
  32781. ],
  32782. 284: [
  32783. function (e, t, r) {
  32784. "use strict"
  32785. var n = e("../internals/array-buffer-view-core"),
  32786. i = e("../internals/species-constructor"),
  32787. o = e("../internals/fails"),
  32788. a = n.aTypedArray,
  32789. s = n.aTypedArrayConstructor,
  32790. l = n.exportTypedArrayMethod,
  32791. c = [].slice,
  32792. u = o(function () {
  32793. new Int8Array(1).slice()
  32794. })
  32795. l(
  32796. "slice",
  32797. function (e, t) {
  32798. var r = c.call(a(this), e, t),
  32799. n = i(this, this.constructor),
  32800. o = 0,
  32801. l = r.length,
  32802. u = new (s(n))(l)
  32803. while (l > o) u[o] = r[o++]
  32804. return u
  32805. },
  32806. u
  32807. )
  32808. },
  32809. {
  32810. "../internals/array-buffer-view-core": 109,
  32811. "../internals/fails": 145,
  32812. "../internals/species-constructor": 210
  32813. }
  32814. ],
  32815. 285: [
  32816. function (e, t, r) {
  32817. "use strict"
  32818. var n = e("../internals/array-buffer-view-core"),
  32819. i = e("../internals/array-iteration").some,
  32820. o = n.aTypedArray,
  32821. a = n.exportTypedArrayMethod
  32822. a("some", function (e) {
  32823. return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
  32824. })
  32825. },
  32826. {
  32827. "../internals/array-buffer-view-core": 109,
  32828. "../internals/array-iteration": 116
  32829. }
  32830. ],
  32831. 286: [
  32832. function (e, t, r) {
  32833. "use strict"
  32834. var n = e("../internals/array-buffer-view-core"),
  32835. i = n.aTypedArray,
  32836. o = n.exportTypedArrayMethod,
  32837. a = [].sort
  32838. o("sort", function (e) {
  32839. return a.call(i(this), e)
  32840. })
  32841. },
  32842. {
  32843. "../internals/array-buffer-view-core": 109
  32844. }
  32845. ],
  32846. 287: [
  32847. function (e, t, r) {
  32848. "use strict"
  32849. var n = e("../internals/array-buffer-view-core"),
  32850. i = e("../internals/to-length"),
  32851. o = e("../internals/to-absolute-index"),
  32852. a = e("../internals/species-constructor"),
  32853. s = n.aTypedArray,
  32854. l = n.exportTypedArrayMethod
  32855. l("subarray", function (e, t) {
  32856. var r = s(this),
  32857. n = r.length,
  32858. l = o(e, n)
  32859. return new (a(r, r.constructor))(r.buffer, r.byteOffset + l * r.BYTES_PER_ELEMENT, i((void 0 === t ? n : o(t, n)) - l))
  32860. })
  32861. },
  32862. {
  32863. "../internals/array-buffer-view-core": 109,
  32864. "../internals/species-constructor": 210,
  32865. "../internals/to-absolute-index": 215,
  32866. "../internals/to-length": 219
  32867. }
  32868. ],
  32869. 288: [
  32870. function (e, t, r) {
  32871. "use strict"
  32872. var n = e("../internals/global"),
  32873. i = e("../internals/array-buffer-view-core"),
  32874. o = e("../internals/fails"),
  32875. a = n.Int8Array,
  32876. s = i.aTypedArray,
  32877. l = i.exportTypedArrayMethod,
  32878. c = [].toLocaleString,
  32879. u = [].slice,
  32880. f =
  32881. !!a &&
  32882. o(function () {
  32883. c.call(new a(1))
  32884. }),
  32885. p =
  32886. o(function () {
  32887. return [1, 2].toLocaleString() != new a([1, 2]).toLocaleString()
  32888. }) ||
  32889. !o(function () {
  32890. a.prototype.toLocaleString.call([1, 2])
  32891. })
  32892. l(
  32893. "toLocaleString",
  32894. function () {
  32895. return c.apply(f ? u.call(s(this)) : s(this), arguments)
  32896. },
  32897. p
  32898. )
  32899. },
  32900. {
  32901. "../internals/array-buffer-view-core": 109,
  32902. "../internals/fails": 145,
  32903. "../internals/global": 150
  32904. }
  32905. ],
  32906. 289: [
  32907. function (e, t, r) {
  32908. "use strict"
  32909. var n = e("../internals/array-buffer-view-core").exportTypedArrayMethod,
  32910. i = e("../internals/fails"),
  32911. o = e("../internals/global"),
  32912. a = o.Uint8Array,
  32913. s = (a && a.prototype) || {},
  32914. l = [].toString,
  32915. c = [].join
  32916. i(function () {
  32917. l.call({})
  32918. }) &&
  32919. (l = function () {
  32920. return c.call(this)
  32921. })
  32922. var u = s.toString != l
  32923. n("toString", l, u)
  32924. },
  32925. {
  32926. "../internals/array-buffer-view-core": 109,
  32927. "../internals/fails": 145,
  32928. "../internals/global": 150
  32929. }
  32930. ],
  32931. 290: [
  32932. function (e, t, r) {
  32933. var n = e("../internals/typed-array-constructor")
  32934. n("Uint8", function (e) {
  32935. return function (t, r, n) {
  32936. return e(this, t, r, n)
  32937. }
  32938. })
  32939. },
  32940. {
  32941. "../internals/typed-array-constructor": 225
  32942. }
  32943. ],
  32944. 291: [
  32945. function (e, t, r) {
  32946. var n = e("../internals/global"),
  32947. i = e("../internals/dom-iterables"),
  32948. o = e("../internals/array-for-each"),
  32949. a = e("../internals/create-non-enumerable-property")
  32950. for (var s in i) {
  32951. var l = n[s],
  32952. c = l && l.prototype
  32953. if (c && c.forEach !== o)
  32954. try {
  32955. a(c, "forEach", o)
  32956. } catch (u) {
  32957. c.forEach = o
  32958. }
  32959. }
  32960. },
  32961. {
  32962. "../internals/array-for-each": 113,
  32963. "../internals/create-non-enumerable-property": 131,
  32964. "../internals/dom-iterables": 138,
  32965. "../internals/global": 150
  32966. }
  32967. ],
  32968. 292: [
  32969. function (e, t, r) {
  32970. var n = e("../internals/global"),
  32971. i = e("../internals/dom-iterables"),
  32972. o = e("../modules/es.array.iterator"),
  32973. a = e("../internals/create-non-enumerable-property"),
  32974. s = e("../internals/well-known-symbol"),
  32975. l = s("iterator"),
  32976. c = s("toStringTag"),
  32977. u = o.values
  32978. for (var f in i) {
  32979. var p = n[f],
  32980. d = p && p.prototype
  32981. if (d) {
  32982. if (d[l] !== u)
  32983. try {
  32984. a(d, l, u)
  32985. } catch (m) {
  32986. d[l] = u
  32987. }
  32988. if ((d[c] || a(d, c, f), i[f]))
  32989. for (var h in o)
  32990. if (d[h] !== o[h])
  32991. try {
  32992. a(d, h, o[h])
  32993. } catch (m) {
  32994. d[h] = o[h]
  32995. }
  32996. }
  32997. }
  32998. },
  32999. {
  33000. "../internals/create-non-enumerable-property": 131,
  33001. "../internals/dom-iterables": 138,
  33002. "../internals/global": 150,
  33003. "../internals/well-known-symbol": 231,
  33004. "../modules/es.array.iterator": 242
  33005. }
  33006. ],
  33007. 293: [
  33008. function (e, t, r) {
  33009. ;(function (e) {
  33010. function t(e) {
  33011. return Array.isArray ? Array.isArray(e) : "[object Array]" === g(e)
  33012. }
  33013. function n(e) {
  33014. return "boolean" === typeof e
  33015. }
  33016. function i(e) {
  33017. return null === e
  33018. }
  33019. function o(e) {
  33020. return null == e
  33021. }
  33022. function a(e) {
  33023. return "number" === typeof e
  33024. }
  33025. function s(e) {
  33026. return "string" === typeof e
  33027. }
  33028. function l(e) {
  33029. return "symbol" === typeof e
  33030. }
  33031. function c(e) {
  33032. return void 0 === e
  33033. }
  33034. function u(e) {
  33035. return "[object RegExp]" === g(e)
  33036. }
  33037. function f(e) {
  33038. return "object" === typeof e && null !== e
  33039. }
  33040. function p(e) {
  33041. return "[object Date]" === g(e)
  33042. }
  33043. function d(e) {
  33044. return "[object Error]" === g(e) || e instanceof Error
  33045. }
  33046. function h(e) {
  33047. return "function" === typeof e
  33048. }
  33049. function m(e) {
  33050. return (
  33051. null === e ||
  33052. "boolean" === typeof e ||
  33053. "number" === typeof e ||
  33054. "string" === typeof e ||
  33055. "symbol" === typeof e ||
  33056. "undefined" === typeof e
  33057. )
  33058. }
  33059. function g(e) {
  33060. return Object.prototype.toString.call(e)
  33061. }
  33062. ;(r.isArray = t),
  33063. (r.isBoolean = n),
  33064. (r.isNull = i),
  33065. (r.isNullOrUndefined = o),
  33066. (r.isNumber = a),
  33067. (r.isString = s),
  33068. (r.isSymbol = l),
  33069. (r.isUndefined = c),
  33070. (r.isRegExp = u),
  33071. (r.isObject = f),
  33072. (r.isDate = p),
  33073. (r.isError = d),
  33074. (r.isFunction = h),
  33075. (r.isPrimitive = m),
  33076. (r.isBuffer = e.isBuffer)
  33077. }).call(this, {
  33078. isBuffer: e("../../is-buffer/index.js")
  33079. })
  33080. },
  33081. {
  33082. "../../is-buffer/index.js": 307
  33083. }
  33084. ],
  33085. 294: [
  33086. function (e, t, r) {
  33087. ;(function (e) {
  33088. "use strict"
  33089. var n = (function () {
  33090. var e = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,
  33091. t =
  33092. /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,
  33093. r = /[^-+\dA-Z]/g
  33094. return function (l, c, u, f) {
  33095. if (
  33096. (1 !== arguments.length || "string" !== s(l) || /\d/.test(l) || ((c = l), (l = void 0)),
  33097. (l = l || new Date()),
  33098. l instanceof Date || (l = new Date(l)),
  33099. isNaN(l))
  33100. )
  33101. throw TypeError("Invalid date")
  33102. c = String(n.masks[c] || c || n.masks["default"])
  33103. var p = c.slice(0, 4)
  33104. ;("UTC:" !== p && "GMT:" !== p) || ((c = c.slice(4)), (u = !0), "GMT:" === p && (f = !0))
  33105. var d = u ? "getUTC" : "get",
  33106. h = l[d + "Date"](),
  33107. m = l[d + "Day"](),
  33108. g = l[d + "Month"](),
  33109. y = l[d + "FullYear"](),
  33110. v = l[d + "Hours"](),
  33111. b = l[d + "Minutes"](),
  33112. w = l[d + "Seconds"](),
  33113. x = l[d + "Milliseconds"](),
  33114. A = u ? 0 : l.getTimezoneOffset(),
  33115. _ = o(l),
  33116. T = a(l),
  33117. E = {
  33118. d: h,
  33119. dd: i(h),
  33120. ddd: n.i18n.dayNames[m],
  33121. dddd: n.i18n.dayNames[m + 7],
  33122. m: g + 1,
  33123. mm: i(g + 1),
  33124. mmm: n.i18n.monthNames[g],
  33125. mmmm: n.i18n.monthNames[g + 12],
  33126. yy: String(y).slice(2),
  33127. yyyy: y,
  33128. h: v % 12 || 12,
  33129. hh: i(v % 12 || 12),
  33130. H: v,
  33131. HH: i(v),
  33132. M: b,
  33133. MM: i(b),
  33134. s: w,
  33135. ss: i(w),
  33136. l: i(x, 3),
  33137. L: i(Math.round(x / 10)),
  33138. t: v < 12 ? "a" : "p",
  33139. tt: v < 12 ? "am" : "pm",
  33140. T: v < 12 ? "A" : "P",
  33141. TT: v < 12 ? "AM" : "PM",
  33142. Z: f ? "GMT" : u ? "UTC" : (String(l).match(t) || [""]).pop().replace(r, ""),
  33143. o: (A > 0 ? "-" : "+") + i(100 * Math.floor(Math.abs(A) / 60) + (Math.abs(A) % 60), 4),
  33144. S: ["th", "st", "nd", "rd"][h % 10 > 3 ? 0 : (((h % 100) - (h % 10) != 10) * h) % 10],
  33145. W: _,
  33146. N: T
  33147. }
  33148. return c.replace(e, function (e) {
  33149. return e in E ? E[e] : e.slice(1, e.length - 1)
  33150. })
  33151. }
  33152. })()
  33153. function i(e, t) {
  33154. ;(e = String(e)), (t = t || 2)
  33155. while (e.length < t) e = "0" + e
  33156. return e
  33157. }
  33158. function o(e) {
  33159. var t = new Date(e.getFullYear(), e.getMonth(), e.getDate())
  33160. t.setDate(t.getDate() - ((t.getDay() + 6) % 7) + 3)
  33161. var r = new Date(t.getFullYear(), 0, 4)
  33162. r.setDate(r.getDate() - ((r.getDay() + 6) % 7) + 3)
  33163. var n = t.getTimezoneOffset() - r.getTimezoneOffset()
  33164. t.setHours(t.getHours() - n)
  33165. var i = (t - r) / 6048e5
  33166. return 1 + Math.floor(i)
  33167. }
  33168. function a(e) {
  33169. var t = e.getDay()
  33170. return 0 === t && (t = 7), t
  33171. }
  33172. function s(e) {
  33173. return null === e
  33174. ? "null"
  33175. : void 0 === e
  33176. ? "undefined"
  33177. : "object" !== typeof e
  33178. ? typeof e
  33179. : Array.isArray(e)
  33180. ? "array"
  33181. : {}.toString.call(e).slice(8, -1).toLowerCase()
  33182. }
  33183. ;(n.masks = {
  33184. default: "ddd mmm dd yyyy HH:MM:ss",
  33185. shortDate: "m/d/yy",
  33186. mediumDate: "mmm d, yyyy",
  33187. longDate: "mmmm d, yyyy",
  33188. fullDate: "dddd, mmmm d, yyyy",
  33189. shortTime: "h:MM TT",
  33190. mediumTime: "h:MM:ss TT",
  33191. longTime: "h:MM:ss TT Z",
  33192. isoDate: "yyyy-mm-dd",
  33193. isoTime: "HH:MM:ss",
  33194. isoDateTime: "yyyy-mm-dd'T'HH:MM:sso",
  33195. isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",
  33196. expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z"
  33197. }),
  33198. (n.i18n = {
  33199. dayNames: [
  33200. "Sun",
  33201. "Mon",
  33202. "Tue",
  33203. "Wed",
  33204. "Thu",
  33205. "Fri",
  33206. "Sat",
  33207. "Sunday",
  33208. "Monday",
  33209. "Tuesday",
  33210. "Wednesday",
  33211. "Thursday",
  33212. "Friday",
  33213. "Saturday"
  33214. ],
  33215. monthNames: [
  33216. "Jan",
  33217. "Feb",
  33218. "Mar",
  33219. "Apr",
  33220. "May",
  33221. "Jun",
  33222. "Jul",
  33223. "Aug",
  33224. "Sep",
  33225. "Oct",
  33226. "Nov",
  33227. "Dec",
  33228. "January",
  33229. "February",
  33230. "March",
  33231. "April",
  33232. "May",
  33233. "June",
  33234. "July",
  33235. "August",
  33236. "September",
  33237. "October",
  33238. "November",
  33239. "December"
  33240. ]
  33241. }),
  33242. "function" === typeof define && define.amd
  33243. ? define(function () {
  33244. return n
  33245. })
  33246. : "object" === typeof r
  33247. ? (t.exports = n)
  33248. : (e.dateFormat = n)
  33249. })(this)
  33250. },
  33251. {}
  33252. ],
  33253. 295: [
  33254. function (e, t, r) {
  33255. /*!
  33256. * escape-html
  33257. * Copyright(c) 2012-2013 TJ Holowaychuk
  33258. * Copyright(c) 2015 Andreas Lubbe
  33259. * Copyright(c) 2015 Tiancheng "Timothy" Gu
  33260. * MIT Licensed
  33261. */
  33262. "use strict"
  33263. var n = /["'&<>]/
  33264. function i(e) {
  33265. var t,
  33266. r = "" + e,
  33267. i = n.exec(r)
  33268. if (!i) return r
  33269. var o = "",
  33270. a = 0,
  33271. s = 0
  33272. for (a = i.index; a < r.length; a++) {
  33273. switch (r.charCodeAt(a)) {
  33274. case 34:
  33275. t = "&quot;"
  33276. break
  33277. case 38:
  33278. t = "&amp;"
  33279. break
  33280. case 39:
  33281. t = "&#39;"
  33282. break
  33283. case 60:
  33284. t = "&lt;"
  33285. break
  33286. case 62:
  33287. t = "&gt;"
  33288. break
  33289. default:
  33290. continue
  33291. }
  33292. s !== a && (o += r.substring(s, a)), (s = a + 1), (o += t)
  33293. }
  33294. return s !== a ? o + r.substring(s, a) : o
  33295. }
  33296. t.exports = i
  33297. },
  33298. {}
  33299. ],
  33300. 296: [
  33301. function (e, t, r) {
  33302. var n = Object.create || T,
  33303. i = Object.keys || E,
  33304. o = Function.prototype.bind || S
  33305. function a() {
  33306. ;(this._events && Object.prototype.hasOwnProperty.call(this, "_events")) ||
  33307. ((this._events = n(null)), (this._eventsCount = 0)),
  33308. (this._maxListeners = this._maxListeners || void 0)
  33309. }
  33310. ;(t.exports = a), (a.EventEmitter = a), (a.prototype._events = void 0), (a.prototype._maxListeners = void 0)
  33311. var s,
  33312. l = 10
  33313. try {
  33314. var c = {}
  33315. Object.defineProperty &&
  33316. Object.defineProperty(c, "x", {
  33317. value: 0
  33318. }),
  33319. (s = 0 === c.x)
  33320. } catch (C) {
  33321. s = !1
  33322. }
  33323. function u(e) {
  33324. return void 0 === e._maxListeners ? a.defaultMaxListeners : e._maxListeners
  33325. }
  33326. function f(e, t, r) {
  33327. if (t) e.call(r)
  33328. else for (var n = e.length, i = A(e, n), o = 0; o < n; ++o) i[o].call(r)
  33329. }
  33330. function p(e, t, r, n) {
  33331. if (t) e.call(r, n)
  33332. else for (var i = e.length, o = A(e, i), a = 0; a < i; ++a) o[a].call(r, n)
  33333. }
  33334. function d(e, t, r, n, i) {
  33335. if (t) e.call(r, n, i)
  33336. else for (var o = e.length, a = A(e, o), s = 0; s < o; ++s) a[s].call(r, n, i)
  33337. }
  33338. function h(e, t, r, n, i, o) {
  33339. if (t) e.call(r, n, i, o)
  33340. else for (var a = e.length, s = A(e, a), l = 0; l < a; ++l) s[l].call(r, n, i, o)
  33341. }
  33342. function m(e, t, r, n) {
  33343. if (t) e.apply(r, n)
  33344. else for (var i = e.length, o = A(e, i), a = 0; a < i; ++a) o[a].apply(r, n)
  33345. }
  33346. function g(e, t, r, i) {
  33347. var o, a, s
  33348. if ("function" !== typeof r) throw new TypeError('"listener" argument must be a function')
  33349. if (
  33350. ((a = e._events),
  33351. a
  33352. ? (a.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), (a = e._events)), (s = a[t]))
  33353. : ((a = e._events = n(null)), (e._eventsCount = 0)),
  33354. s)
  33355. ) {
  33356. if (
  33357. ("function" === typeof s ? (s = a[t] = i ? [r, s] : [s, r]) : i ? s.unshift(r) : s.push(r),
  33358. !s.warned && ((o = u(e)), o && o > 0 && s.length > o))
  33359. ) {
  33360. s.warned = !0
  33361. var l = new Error(
  33362. "Possible EventEmitter memory leak detected. " +
  33363. s.length +
  33364. ' "' +
  33365. String(t) +
  33366. '" listeners added. Use emitter.setMaxListeners() to increase limit.'
  33367. )
  33368. ;(l.name = "MaxListenersExceededWarning"),
  33369. (l.emitter = e),
  33370. (l.type = t),
  33371. (l.count = s.length),
  33372. "object" === typeof console && console.warn && console.warn("%s: %s", l.name, l.message)
  33373. }
  33374. } else (s = a[t] = r), ++e._eventsCount
  33375. return e
  33376. }
  33377. function y() {
  33378. if (!this.fired)
  33379. switch ((this.target.removeListener(this.type, this.wrapFn), (this.fired = !0), arguments.length)) {
  33380. case 0:
  33381. return this.listener.call(this.target)
  33382. case 1:
  33383. return this.listener.call(this.target, arguments[0])
  33384. case 2:
  33385. return this.listener.call(this.target, arguments[0], arguments[1])
  33386. case 3:
  33387. return this.listener.call(this.target, arguments[0], arguments[1], arguments[2])
  33388. default:
  33389. for (var e = new Array(arguments.length), t = 0; t < e.length; ++t) e[t] = arguments[t]
  33390. this.listener.apply(this.target, e)
  33391. }
  33392. }
  33393. function v(e, t, r) {
  33394. var n = {
  33395. fired: !1,
  33396. wrapFn: void 0,
  33397. target: e,
  33398. type: t,
  33399. listener: r
  33400. },
  33401. i = o.call(y, n)
  33402. return (i.listener = r), (n.wrapFn = i), i
  33403. }
  33404. function b(e, t, r) {
  33405. var n = e._events
  33406. if (!n) return []
  33407. var i = n[t]
  33408. return i ? ("function" === typeof i ? (r ? [i.listener || i] : [i]) : r ? _(i) : A(i, i.length)) : []
  33409. }
  33410. function w(e) {
  33411. var t = this._events
  33412. if (t) {
  33413. var r = t[e]
  33414. if ("function" === typeof r) return 1
  33415. if (r) return r.length
  33416. }
  33417. return 0
  33418. }
  33419. function x(e, t) {
  33420. for (var r = t, n = r + 1, i = e.length; n < i; r += 1, n += 1) e[r] = e[n]
  33421. e.pop()
  33422. }
  33423. function A(e, t) {
  33424. for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n]
  33425. return r
  33426. }
  33427. function _(e) {
  33428. for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r]
  33429. return t
  33430. }
  33431. function T(e) {
  33432. var t = function () {}
  33433. return (t.prototype = e), new t()
  33434. }
  33435. function E(e) {
  33436. var t = []
  33437. for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r)
  33438. return r
  33439. }
  33440. function S(e) {
  33441. var t = this
  33442. return function () {
  33443. return t.apply(e, arguments)
  33444. }
  33445. }
  33446. s
  33447. ? Object.defineProperty(a, "defaultMaxListeners", {
  33448. enumerable: !0,
  33449. get: function () {
  33450. return l
  33451. },
  33452. set: function (e) {
  33453. if ("number" !== typeof e || e < 0 || e !== e)
  33454. throw new TypeError('"defaultMaxListeners" must be a positive number')
  33455. l = e
  33456. }
  33457. })
  33458. : (a.defaultMaxListeners = l),
  33459. (a.prototype.setMaxListeners = function (e) {
  33460. if ("number" !== typeof e || e < 0 || isNaN(e)) throw new TypeError('"n" argument must be a positive number')
  33461. return (this._maxListeners = e), this
  33462. }),
  33463. (a.prototype.getMaxListeners = function () {
  33464. return u(this)
  33465. }),
  33466. (a.prototype.emit = function (e) {
  33467. var t,
  33468. r,
  33469. n,
  33470. i,
  33471. o,
  33472. a,
  33473. s = "error" === e
  33474. if (((a = this._events), a)) s = s && null == a.error
  33475. else if (!s) return !1
  33476. if (s) {
  33477. if ((arguments.length > 1 && (t = arguments[1]), t instanceof Error)) throw t
  33478. var l = new Error('Unhandled "error" event. (' + t + ")")
  33479. throw ((l.context = t), l)
  33480. }
  33481. if (((r = a[e]), !r)) return !1
  33482. var c = "function" === typeof r
  33483. switch (((n = arguments.length), n)) {
  33484. case 1:
  33485. f(r, c, this)
  33486. break
  33487. case 2:
  33488. p(r, c, this, arguments[1])
  33489. break
  33490. case 3:
  33491. d(r, c, this, arguments[1], arguments[2])
  33492. break
  33493. case 4:
  33494. h(r, c, this, arguments[1], arguments[2], arguments[3])
  33495. break
  33496. default:
  33497. for (i = new Array(n - 1), o = 1; o < n; o++) i[o - 1] = arguments[o]
  33498. m(r, c, this, i)
  33499. }
  33500. return !0
  33501. }),
  33502. (a.prototype.addListener = function (e, t) {
  33503. return g(this, e, t, !1)
  33504. }),
  33505. (a.prototype.on = a.prototype.addListener),
  33506. (a.prototype.prependListener = function (e, t) {
  33507. return g(this, e, t, !0)
  33508. }),
  33509. (a.prototype.once = function (e, t) {
  33510. if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function')
  33511. return this.on(e, v(this, e, t)), this
  33512. }),
  33513. (a.prototype.prependOnceListener = function (e, t) {
  33514. if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function')
  33515. return this.prependListener(e, v(this, e, t)), this
  33516. }),
  33517. (a.prototype.removeListener = function (e, t) {
  33518. var r, i, o, a, s
  33519. if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function')
  33520. if (((i = this._events), !i)) return this
  33521. if (((r = i[e]), !r)) return this
  33522. if (r === t || r.listener === t)
  33523. 0 === --this._eventsCount
  33524. ? (this._events = n(null))
  33525. : (delete i[e], i.removeListener && this.emit("removeListener", e, r.listener || t))
  33526. else if ("function" !== typeof r) {
  33527. for (o = -1, a = r.length - 1; a >= 0; a--)
  33528. if (r[a] === t || r[a].listener === t) {
  33529. ;(s = r[a].listener), (o = a)
  33530. break
  33531. }
  33532. if (o < 0) return this
  33533. 0 === o ? r.shift() : x(r, o),
  33534. 1 === r.length && (i[e] = r[0]),
  33535. i.removeListener && this.emit("removeListener", e, s || t)
  33536. }
  33537. return this
  33538. }),
  33539. (a.prototype.removeAllListeners = function (e) {
  33540. var t, r, o
  33541. if (((r = this._events), !r)) return this
  33542. if (!r.removeListener)
  33543. return (
  33544. 0 === arguments.length
  33545. ? ((this._events = n(null)), (this._eventsCount = 0))
  33546. : r[e] && (0 === --this._eventsCount ? (this._events = n(null)) : delete r[e]),
  33547. this
  33548. )
  33549. if (0 === arguments.length) {
  33550. var a,
  33551. s = i(r)
  33552. for (o = 0; o < s.length; ++o) (a = s[o]), "removeListener" !== a && this.removeAllListeners(a)
  33553. return this.removeAllListeners("removeListener"), (this._events = n(null)), (this._eventsCount = 0), this
  33554. }
  33555. if (((t = r[e]), "function" === typeof t)) this.removeListener(e, t)
  33556. else if (t) for (o = t.length - 1; o >= 0; o--) this.removeListener(e, t[o])
  33557. return this
  33558. }),
  33559. (a.prototype.listeners = function (e) {
  33560. return b(this, e, !0)
  33561. }),
  33562. (a.prototype.rawListeners = function (e) {
  33563. return b(this, e, !1)
  33564. }),
  33565. (a.listenerCount = function (e, t) {
  33566. return "function" === typeof e.listenerCount ? e.listenerCount(t) : w.call(e, t)
  33567. }),
  33568. (a.prototype.listenerCount = w),
  33569. (a.prototype.eventNames = function () {
  33570. return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : []
  33571. })
  33572. },
  33573. {}
  33574. ],
  33575. 297: [
  33576. function (e, t, r) {
  33577. var n = e("http"),
  33578. i = e("url"),
  33579. o = t.exports
  33580. for (var a in n) n.hasOwnProperty(a) && (o[a] = n[a])
  33581. function s(e) {
  33582. if (("string" === typeof e && (e = i.parse(e)), e.protocol || (e.protocol = "https:"), "https:" !== e.protocol))
  33583. throw new Error('Protocol "' + e.protocol + '" not supported. Expected "https:"')
  33584. return e
  33585. }
  33586. ;(o.request = function (e, t) {
  33587. return (e = s(e)), n.request.call(this, e, t)
  33588. }),
  33589. (o.get = function (e, t) {
  33590. return (e = s(e)), n.get.call(this, e, t)
  33591. })
  33592. },
  33593. {
  33594. http: 80,
  33595. url: 393
  33596. }
  33597. ],
  33598. 298: [
  33599. function (e, t, r) {
  33600. /*!
  33601. * humanize-ms - index.js
  33602. * Copyright(c) 2014 dead_horse <dead_horse@qq.com>
  33603. * MIT Licensed
  33604. */
  33605. "use strict"
  33606. var n = e("util"),
  33607. i = e("ms")
  33608. t.exports = function (e) {
  33609. if ("number" === typeof e) return e
  33610. var t = i(e)
  33611. if (void 0 === t) {
  33612. var r = new Error(n.format("humanize-ms(%j) result undefined", e))
  33613. console.warn(r.stack)
  33614. }
  33615. return t
  33616. }
  33617. },
  33618. {
  33619. ms: 314,
  33620. util: 345
  33621. }
  33622. ],
  33623. 299: [
  33624. function (e, t, r) {
  33625. ;(r.read = function (e, t, r, n, i) {
  33626. var o,
  33627. a,
  33628. s = 8 * i - n - 1,
  33629. l = (1 << s) - 1,
  33630. c = l >> 1,
  33631. u = -7,
  33632. f = r ? i - 1 : 0,
  33633. p = r ? -1 : 1,
  33634. d = e[t + f]
  33635. for (f += p, o = d & ((1 << -u) - 1), d >>= -u, u += s; u > 0; o = 256 * o + e[t + f], f += p, u -= 8);
  33636. for (a = o & ((1 << -u) - 1), o >>= -u, u += n; u > 0; a = 256 * a + e[t + f], f += p, u -= 8);
  33637. if (0 === o) o = 1 - c
  33638. else {
  33639. if (o === l) return a ? NaN : (1 / 0) * (d ? -1 : 1)
  33640. ;(a += Math.pow(2, n)), (o -= c)
  33641. }
  33642. return (d ? -1 : 1) * a * Math.pow(2, o - n)
  33643. }),
  33644. (r.write = function (e, t, r, n, i, o) {
  33645. var a,
  33646. s,
  33647. l,
  33648. c = 8 * o - i - 1,
  33649. u = (1 << c) - 1,
  33650. f = u >> 1,
  33651. p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
  33652. d = n ? 0 : o - 1,
  33653. h = n ? 1 : -1,
  33654. m = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0
  33655. for (
  33656. t = Math.abs(t),
  33657. isNaN(t) || t === 1 / 0
  33658. ? ((s = isNaN(t) ? 1 : 0), (a = u))
  33659. : ((a = Math.floor(Math.log(t) / Math.LN2)),
  33660. t * (l = Math.pow(2, -a)) < 1 && (a--, (l *= 2)),
  33661. (t += a + f >= 1 ? p / l : p * Math.pow(2, 1 - f)),
  33662. t * l >= 2 && (a++, (l /= 2)),
  33663. a + f >= u
  33664. ? ((s = 0), (a = u))
  33665. : a + f >= 1
  33666. ? ((s = (t * l - 1) * Math.pow(2, i)), (a += f))
  33667. : ((s = t * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0)));
  33668. i >= 8;
  33669. e[r + d] = 255 & s, d += h, s /= 256, i -= 8
  33670. );
  33671. for (a = (a << i) | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8);
  33672. e[r + d - h] |= 128 * m
  33673. })
  33674. },
  33675. {}
  33676. ],
  33677. 300: [
  33678. function (e, t, r) {
  33679. "use strict"
  33680. var n,
  33681. i,
  33682. o,
  33683. a = [
  33684. e("./nextTick"),
  33685. e("./queueMicrotask"),
  33686. e("./mutation.js"),
  33687. e("./messageChannel"),
  33688. e("./stateChange"),
  33689. e("./timeout")
  33690. ],
  33691. s = -1,
  33692. l = [],
  33693. c = !1
  33694. function u() {
  33695. n && i && ((n = !1), i.length ? (l = i.concat(l)) : (s = -1), l.length && f())
  33696. }
  33697. function f() {
  33698. if (!n) {
  33699. ;(c = !1), (n = !0)
  33700. var e = l.length,
  33701. t = setTimeout(u)
  33702. while (e) {
  33703. ;(i = l), (l = [])
  33704. while (i && ++s < e) i[s].run()
  33705. ;(s = -1), (e = l.length)
  33706. }
  33707. ;(i = null), (s = -1), (n = !1), clearTimeout(t)
  33708. }
  33709. }
  33710. var p = -1,
  33711. d = a.length
  33712. while (++p < d)
  33713. if (a[p] && a[p].test && a[p].test()) {
  33714. o = a[p].install(f)
  33715. break
  33716. }
  33717. function h(e, t) {
  33718. ;(this.fun = e), (this.array = t)
  33719. }
  33720. function m(e) {
  33721. var t = new Array(arguments.length - 1)
  33722. if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]
  33723. l.push(new h(e, t)), c || n || ((c = !0), o())
  33724. }
  33725. ;(h.prototype.run = function () {
  33726. var e = this.fun,
  33727. t = this.array
  33728. switch (t.length) {
  33729. case 0:
  33730. return e()
  33731. case 1:
  33732. return e(t[0])
  33733. case 2:
  33734. return e(t[0], t[1])
  33735. case 3:
  33736. return e(t[0], t[1], t[2])
  33737. default:
  33738. return e.apply(null, t)
  33739. }
  33740. }),
  33741. (t.exports = m)
  33742. },
  33743. {
  33744. "./messageChannel": 301,
  33745. "./mutation.js": 302,
  33746. "./nextTick": 79,
  33747. "./queueMicrotask": 303,
  33748. "./stateChange": 304,
  33749. "./timeout": 305
  33750. }
  33751. ],
  33752. 301: [
  33753. function (e, t, r) {
  33754. ;(function (e) {
  33755. "use strict"
  33756. ;(r.test = function () {
  33757. return !e.setImmediate && "undefined" !== typeof e.MessageChannel
  33758. }),
  33759. (r.install = function (t) {
  33760. var r = new e.MessageChannel()
  33761. return (
  33762. (r.port1.onmessage = t),
  33763. function () {
  33764. r.port2.postMessage(0)
  33765. }
  33766. )
  33767. })
  33768. }).call(
  33769. this,
  33770. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  33771. )
  33772. },
  33773. {}
  33774. ],
  33775. 302: [
  33776. function (e, t, r) {
  33777. ;(function (e) {
  33778. "use strict"
  33779. var t = e.MutationObserver || e.WebKitMutationObserver
  33780. ;(r.test = function () {
  33781. return t
  33782. }),
  33783. (r.install = function (r) {
  33784. var n = 0,
  33785. i = new t(r),
  33786. o = e.document.createTextNode("")
  33787. return (
  33788. i.observe(o, {
  33789. characterData: !0
  33790. }),
  33791. function () {
  33792. o.data = n = ++n % 2
  33793. }
  33794. )
  33795. })
  33796. }).call(
  33797. this,
  33798. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  33799. )
  33800. },
  33801. {}
  33802. ],
  33803. 303: [
  33804. function (e, t, r) {
  33805. ;(function (e) {
  33806. "use strict"
  33807. ;(r.test = function () {
  33808. return "function" === typeof e.queueMicrotask
  33809. }),
  33810. (r.install = function (t) {
  33811. return function () {
  33812. e.queueMicrotask(t)
  33813. }
  33814. })
  33815. }).call(
  33816. this,
  33817. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  33818. )
  33819. },
  33820. {}
  33821. ],
  33822. 304: [
  33823. function (e, t, r) {
  33824. ;(function (e) {
  33825. "use strict"
  33826. ;(r.test = function () {
  33827. return "document" in e && "onreadystatechange" in e.document.createElement("script")
  33828. }),
  33829. (r.install = function (t) {
  33830. return function () {
  33831. var r = e.document.createElement("script")
  33832. return (
  33833. (r.onreadystatechange = function () {
  33834. t(), (r.onreadystatechange = null), r.parentNode.removeChild(r), (r = null)
  33835. }),
  33836. e.document.documentElement.appendChild(r),
  33837. t
  33838. )
  33839. }
  33840. })
  33841. }).call(
  33842. this,
  33843. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  33844. )
  33845. },
  33846. {}
  33847. ],
  33848. 305: [
  33849. function (e, t, r) {
  33850. "use strict"
  33851. ;(r.test = function () {
  33852. return !0
  33853. }),
  33854. (r.install = function (e) {
  33855. return function () {
  33856. setTimeout(e, 0)
  33857. }
  33858. })
  33859. },
  33860. {}
  33861. ],
  33862. 306: [
  33863. function (e, t, r) {
  33864. "function" === typeof Object.create
  33865. ? (t.exports = function (e, t) {
  33866. t &&
  33867. ((e.super_ = t),
  33868. (e.prototype = Object.create(t.prototype, {
  33869. constructor: {
  33870. value: e,
  33871. enumerable: !1,
  33872. writable: !0,
  33873. configurable: !0
  33874. }
  33875. })))
  33876. })
  33877. : (t.exports = function (e, t) {
  33878. if (t) {
  33879. e.super_ = t
  33880. var r = function () {}
  33881. ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e)
  33882. }
  33883. })
  33884. },
  33885. {}
  33886. ],
  33887. 307: [
  33888. function (e, t, r) {
  33889. function n(e) {
  33890. return !!e.constructor && "function" === typeof e.constructor.isBuffer && e.constructor.isBuffer(e)
  33891. }
  33892. function i(e) {
  33893. return "function" === typeof e.readFloatLE && "function" === typeof e.slice && n(e.slice(0, 0))
  33894. }
  33895. /*!
  33896. * Determine if an object is a Buffer
  33897. *
  33898. * @author Feross Aboukhadijeh <https://feross.org>
  33899. * @license MIT
  33900. */
  33901. t.exports = function (e) {
  33902. return null != e && (n(e) || i(e) || !!e._isBuffer)
  33903. }
  33904. },
  33905. {}
  33906. ],
  33907. 308: [
  33908. function (e, t, r) {
  33909. var n = {}.toString
  33910. t.exports =
  33911. Array.isArray ||
  33912. function (e) {
  33913. return "[object Array]" == n.call(e)
  33914. }
  33915. },
  33916. {}
  33917. ],
  33918. 309: [
  33919. function (require, module, exports) {
  33920. ;(function (global) {
  33921. ;(function (e, t) {
  33922. "object" === typeof exports && "undefined" !== typeof module
  33923. ? (module.exports = t(e))
  33924. : "function" === typeof define && define.amd
  33925. ? define(t)
  33926. : t(e)
  33927. })(
  33928. "undefined" !== typeof self
  33929. ? self
  33930. : "undefined" !== typeof window
  33931. ? window
  33932. : "undefined" !== typeof global
  33933. ? global
  33934. : this,
  33935. function (global) {
  33936. "use strict"
  33937. global = global || {}
  33938. var _Base64 = global.Base64,
  33939. version = "2.5.2",
  33940. buffer
  33941. if ("undefined" !== typeof module && module.exports)
  33942. try {
  33943. buffer = eval("require('buffer').Buffer")
  33944. } catch (err) {
  33945. buffer = void 0
  33946. }
  33947. var b64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  33948. b64tab = (function (e) {
  33949. for (var t = {}, r = 0, n = e.length; r < n; r++) t[e.charAt(r)] = r
  33950. return t
  33951. })(b64chars),
  33952. fromCharCode = String.fromCharCode,
  33953. cb_utob = function (e) {
  33954. if (e.length < 2) {
  33955. var t = e.charCodeAt(0)
  33956. return t < 128
  33957. ? e
  33958. : t < 2048
  33959. ? fromCharCode(192 | (t >>> 6)) + fromCharCode(128 | (63 & t))
  33960. : fromCharCode(224 | ((t >>> 12) & 15)) +
  33961. fromCharCode(128 | ((t >>> 6) & 63)) +
  33962. fromCharCode(128 | (63 & t))
  33963. }
  33964. t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320)
  33965. return (
  33966. fromCharCode(240 | ((t >>> 18) & 7)) +
  33967. fromCharCode(128 | ((t >>> 12) & 63)) +
  33968. fromCharCode(128 | ((t >>> 6) & 63)) +
  33969. fromCharCode(128 | (63 & t))
  33970. )
  33971. },
  33972. re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
  33973. utob = function (e) {
  33974. return e.replace(re_utob, cb_utob)
  33975. },
  33976. cb_encode = function (e) {
  33977. var t = [0, 2, 1][e.length % 3],
  33978. r =
  33979. (e.charCodeAt(0) << 16) |
  33980. ((e.length > 1 ? e.charCodeAt(1) : 0) << 8) |
  33981. (e.length > 2 ? e.charCodeAt(2) : 0),
  33982. n = [
  33983. b64chars.charAt(r >>> 18),
  33984. b64chars.charAt((r >>> 12) & 63),
  33985. t >= 2 ? "=" : b64chars.charAt((r >>> 6) & 63),
  33986. t >= 1 ? "=" : b64chars.charAt(63 & r)
  33987. ]
  33988. return n.join("")
  33989. },
  33990. btoa = global.btoa
  33991. ? function (e) {
  33992. return global.btoa(e)
  33993. }
  33994. : function (e) {
  33995. return e.replace(/[\s\S]{1,3}/g, cb_encode)
  33996. },
  33997. _encode = function (e) {
  33998. var t = "[object Uint8Array]" === Object.prototype.toString.call(e)
  33999. return t ? e.toString("base64") : btoa(utob(String(e)))
  34000. },
  34001. encode = function (e, t) {
  34002. return t
  34003. ? _encode(String(e))
  34004. .replace(/[+\/]/g, function (e) {
  34005. return "+" == e ? "-" : "_"
  34006. })
  34007. .replace(/=/g, "")
  34008. : _encode(e)
  34009. },
  34010. encodeURI = function (e) {
  34011. return encode(e, !0)
  34012. },
  34013. re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,
  34014. cb_btou = function (e) {
  34015. switch (e.length) {
  34016. case 4:
  34017. var t =
  34018. ((7 & e.charCodeAt(0)) << 18) |
  34019. ((63 & e.charCodeAt(1)) << 12) |
  34020. ((63 & e.charCodeAt(2)) << 6) |
  34021. (63 & e.charCodeAt(3)),
  34022. r = t - 65536
  34023. return fromCharCode(55296 + (r >>> 10)) + fromCharCode(56320 + (1023 & r))
  34024. case 3:
  34025. return fromCharCode(
  34026. ((15 & e.charCodeAt(0)) << 12) | ((63 & e.charCodeAt(1)) << 6) | (63 & e.charCodeAt(2))
  34027. )
  34028. default:
  34029. return fromCharCode(((31 & e.charCodeAt(0)) << 6) | (63 & e.charCodeAt(1)))
  34030. }
  34031. },
  34032. btou = function (e) {
  34033. return e.replace(re_btou, cb_btou)
  34034. },
  34035. cb_decode = function (e) {
  34036. var t = e.length,
  34037. r = t % 4,
  34038. n =
  34039. (t > 0 ? b64tab[e.charAt(0)] << 18 : 0) |
  34040. (t > 1 ? b64tab[e.charAt(1)] << 12 : 0) |
  34041. (t > 2 ? b64tab[e.charAt(2)] << 6 : 0) |
  34042. (t > 3 ? b64tab[e.charAt(3)] : 0),
  34043. i = [fromCharCode(n >>> 16), fromCharCode((n >>> 8) & 255), fromCharCode(255 & n)]
  34044. return (i.length -= [0, 0, 2, 1][r]), i.join("")
  34045. },
  34046. _atob = global.atob
  34047. ? function (e) {
  34048. return global.atob(e)
  34049. }
  34050. : function (e) {
  34051. return e.replace(/\S{1,4}/g, cb_decode)
  34052. },
  34053. atob = function (e) {
  34054. return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g, ""))
  34055. },
  34056. _decode = buffer
  34057. ? buffer.from && Uint8Array && buffer.from !== Uint8Array.from
  34058. ? function (e) {
  34059. return (e.constructor === buffer.constructor ? e : buffer.from(e, "base64")).toString()
  34060. }
  34061. : function (e) {
  34062. return (e.constructor === buffer.constructor ? e : new buffer(e, "base64")).toString()
  34063. }
  34064. : function (e) {
  34065. return btou(_atob(e))
  34066. },
  34067. decode = function (e) {
  34068. return _decode(
  34069. String(e)
  34070. .replace(/[-_]/g, function (e) {
  34071. return "-" == e ? "+" : "/"
  34072. })
  34073. .replace(/[^A-Za-z0-9\+\/]/g, "")
  34074. )
  34075. },
  34076. noConflict = function () {
  34077. var e = global.Base64
  34078. return (global.Base64 = _Base64), e
  34079. }
  34080. if (
  34081. ((global.Base64 = {
  34082. VERSION: version,
  34083. atob: atob,
  34084. btoa: btoa,
  34085. fromBase64: decode,
  34086. toBase64: encode,
  34087. utob: utob,
  34088. encode: encode,
  34089. encodeURI: encodeURI,
  34090. btou: btou,
  34091. decode: decode,
  34092. noConflict: noConflict,
  34093. __buffer__: buffer
  34094. }),
  34095. "function" === typeof Object.defineProperty)
  34096. ) {
  34097. var noEnum = function (e) {
  34098. return {
  34099. value: e,
  34100. enumerable: !1,
  34101. writable: !0,
  34102. configurable: !0
  34103. }
  34104. }
  34105. global.Base64.extendString = function () {
  34106. Object.defineProperty(
  34107. String.prototype,
  34108. "fromBase64",
  34109. noEnum(function () {
  34110. return decode(this)
  34111. })
  34112. ),
  34113. Object.defineProperty(
  34114. String.prototype,
  34115. "toBase64",
  34116. noEnum(function (e) {
  34117. return encode(this, e)
  34118. })
  34119. ),
  34120. Object.defineProperty(
  34121. String.prototype,
  34122. "toBase64URI",
  34123. noEnum(function () {
  34124. return encode(this, !0)
  34125. })
  34126. )
  34127. }
  34128. }
  34129. return (
  34130. global["Meteor"] && (Base64 = global.Base64),
  34131. "undefined" !== typeof module && module.exports
  34132. ? (module.exports.Base64 = global.Base64)
  34133. : "function" === typeof define &&
  34134. define.amd &&
  34135. define([], function () {
  34136. return global.Base64
  34137. }),
  34138. {
  34139. Base64: global.Base64
  34140. }
  34141. )
  34142. }
  34143. )
  34144. }).call(
  34145. this,
  34146. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  34147. )
  34148. },
  34149. {}
  34150. ],
  34151. 310: [
  34152. function (e, t, r) {
  34153. /*!
  34154. * merge-descriptors
  34155. * Copyright(c) 2014 Jonathan Ong
  34156. * Copyright(c) 2015 Douglas Christopher Wilson
  34157. * MIT Licensed
  34158. */
  34159. "use strict"
  34160. t.exports = i
  34161. var n = Object.prototype.hasOwnProperty
  34162. function i(e, t, r) {
  34163. if (!e) throw new TypeError("argument dest is required")
  34164. if (!t) throw new TypeError("argument src is required")
  34165. return (
  34166. void 0 === r && (r = !0),
  34167. Object.getOwnPropertyNames(t).forEach(function (i) {
  34168. if (r || !n.call(e, i)) {
  34169. var o = Object.getOwnPropertyDescriptor(t, i)
  34170. Object.defineProperty(e, i, o)
  34171. }
  34172. }),
  34173. e
  34174. )
  34175. }
  34176. },
  34177. {}
  34178. ],
  34179. 311: [
  34180. function (e, t, r) {
  34181. "use strict"
  34182. function n() {
  34183. ;(this._types = Object.create(null)), (this._extensions = Object.create(null))
  34184. for (var e = 0; e < arguments.length; e++) this.define(arguments[e])
  34185. ;(this.define = this.define.bind(this)),
  34186. (this.getType = this.getType.bind(this)),
  34187. (this.getExtension = this.getExtension.bind(this))
  34188. }
  34189. ;(n.prototype.define = function (e, t) {
  34190. for (var r in e) {
  34191. var n = e[r].map(function (e) {
  34192. return e.toLowerCase()
  34193. })
  34194. r = r.toLowerCase()
  34195. for (var i = 0; i < n.length; i++) {
  34196. var o = n[i]
  34197. if ("*" != o[0]) {
  34198. if (!t && o in this._types)
  34199. throw new Error(
  34200. 'Attempt to change mapping for "' +
  34201. o +
  34202. '" extension from "' +
  34203. this._types[o] +
  34204. '" to "' +
  34205. r +
  34206. '". Pass `force=true` to allow this, otherwise remove "' +
  34207. o +
  34208. '" from the list of extensions for "' +
  34209. r +
  34210. '".'
  34211. )
  34212. this._types[o] = r
  34213. }
  34214. }
  34215. if (t || !this._extensions[r]) {
  34216. o = n[0]
  34217. this._extensions[r] = "*" != o[0] ? o : o.substr(1)
  34218. }
  34219. }
  34220. }),
  34221. (n.prototype.getType = function (e) {
  34222. e = String(e)
  34223. var t = e.replace(/^.*[/\\]/, "").toLowerCase(),
  34224. r = t.replace(/^.*\./, "").toLowerCase(),
  34225. n = t.length < e.length,
  34226. i = r.length < t.length - 1
  34227. return ((i || !n) && this._types[r]) || null
  34228. }),
  34229. (n.prototype.getExtension = function (e) {
  34230. return (e = /^\s*([^;\s]*)/.test(e) && RegExp.$1), (e && this._extensions[e.toLowerCase()]) || null
  34231. }),
  34232. (t.exports = n)
  34233. },
  34234. {}
  34235. ],
  34236. 312: [
  34237. function (e, t, r) {
  34238. "use strict"
  34239. var n = e("./Mime")
  34240. t.exports = new n(e("./types/standard"))
  34241. },
  34242. {
  34243. "./Mime": 311,
  34244. "./types/standard": 313
  34245. }
  34246. ],
  34247. 313: [
  34248. function (e, t, r) {
  34249. t.exports = {
  34250. "application/andrew-inset": ["ez"],
  34251. "application/applixware": ["aw"],
  34252. "application/atom+xml": ["atom"],
  34253. "application/atomcat+xml": ["atomcat"],
  34254. "application/atomdeleted+xml": ["atomdeleted"],
  34255. "application/atomsvc+xml": ["atomsvc"],
  34256. "application/atsc-dwd+xml": ["dwd"],
  34257. "application/atsc-held+xml": ["held"],
  34258. "application/atsc-rsat+xml": ["rsat"],
  34259. "application/bdoc": ["bdoc"],
  34260. "application/calendar+xml": ["xcs"],
  34261. "application/ccxml+xml": ["ccxml"],
  34262. "application/cdfx+xml": ["cdfx"],
  34263. "application/cdmi-capability": ["cdmia"],
  34264. "application/cdmi-container": ["cdmic"],
  34265. "application/cdmi-domain": ["cdmid"],
  34266. "application/cdmi-object": ["cdmio"],
  34267. "application/cdmi-queue": ["cdmiq"],
  34268. "application/cu-seeme": ["cu"],
  34269. "application/dash+xml": ["mpd"],
  34270. "application/davmount+xml": ["davmount"],
  34271. "application/docbook+xml": ["dbk"],
  34272. "application/dssc+der": ["dssc"],
  34273. "application/dssc+xml": ["xdssc"],
  34274. "application/ecmascript": ["ecma", "es"],
  34275. "application/emma+xml": ["emma"],
  34276. "application/emotionml+xml": ["emotionml"],
  34277. "application/epub+zip": ["epub"],
  34278. "application/exi": ["exi"],
  34279. "application/fdt+xml": ["fdt"],
  34280. "application/font-tdpfr": ["pfr"],
  34281. "application/geo+json": ["geojson"],
  34282. "application/gml+xml": ["gml"],
  34283. "application/gpx+xml": ["gpx"],
  34284. "application/gxf": ["gxf"],
  34285. "application/gzip": ["gz"],
  34286. "application/hjson": ["hjson"],
  34287. "application/hyperstudio": ["stk"],
  34288. "application/inkml+xml": ["ink", "inkml"],
  34289. "application/ipfix": ["ipfix"],
  34290. "application/its+xml": ["its"],
  34291. "application/java-archive": ["jar", "war", "ear"],
  34292. "application/java-serialized-object": ["ser"],
  34293. "application/java-vm": ["class"],
  34294. "application/javascript": ["js", "mjs"],
  34295. "application/json": ["json", "map"],
  34296. "application/json5": ["json5"],
  34297. "application/jsonml+json": ["jsonml"],
  34298. "application/ld+json": ["jsonld"],
  34299. "application/lgr+xml": ["lgr"],
  34300. "application/lost+xml": ["lostxml"],
  34301. "application/mac-binhex40": ["hqx"],
  34302. "application/mac-compactpro": ["cpt"],
  34303. "application/mads+xml": ["mads"],
  34304. "application/manifest+json": ["webmanifest"],
  34305. "application/marc": ["mrc"],
  34306. "application/marcxml+xml": ["mrcx"],
  34307. "application/mathematica": ["ma", "nb", "mb"],
  34308. "application/mathml+xml": ["mathml"],
  34309. "application/mbox": ["mbox"],
  34310. "application/mediaservercontrol+xml": ["mscml"],
  34311. "application/metalink+xml": ["metalink"],
  34312. "application/metalink4+xml": ["meta4"],
  34313. "application/mets+xml": ["mets"],
  34314. "application/mmt-aei+xml": ["maei"],
  34315. "application/mmt-usd+xml": ["musd"],
  34316. "application/mods+xml": ["mods"],
  34317. "application/mp21": ["m21", "mp21"],
  34318. "application/mp4": ["mp4s", "m4p"],
  34319. "application/mrb-consumer+xml": ["*xdf"],
  34320. "application/mrb-publish+xml": ["*xdf"],
  34321. "application/msword": ["doc", "dot"],
  34322. "application/mxf": ["mxf"],
  34323. "application/n-quads": ["nq"],
  34324. "application/n-triples": ["nt"],
  34325. "application/node": ["cjs"],
  34326. "application/octet-stream": [
  34327. "bin",
  34328. "dms",
  34329. "lrf",
  34330. "mar",
  34331. "so",
  34332. "dist",
  34333. "distz",
  34334. "pkg",
  34335. "bpk",
  34336. "dump",
  34337. "elc",
  34338. "deploy",
  34339. "exe",
  34340. "dll",
  34341. "deb",
  34342. "dmg",
  34343. "iso",
  34344. "img",
  34345. "msi",
  34346. "msp",
  34347. "msm",
  34348. "buffer"
  34349. ],
  34350. "application/oda": ["oda"],
  34351. "application/oebps-package+xml": ["opf"],
  34352. "application/ogg": ["ogx"],
  34353. "application/omdoc+xml": ["omdoc"],
  34354. "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
  34355. "application/oxps": ["oxps"],
  34356. "application/p2p-overlay+xml": ["relo"],
  34357. "application/patch-ops-error+xml": ["*xer"],
  34358. "application/pdf": ["pdf"],
  34359. "application/pgp-encrypted": ["pgp"],
  34360. "application/pgp-signature": ["asc", "sig"],
  34361. "application/pics-rules": ["prf"],
  34362. "application/pkcs10": ["p10"],
  34363. "application/pkcs7-mime": ["p7m", "p7c"],
  34364. "application/pkcs7-signature": ["p7s"],
  34365. "application/pkcs8": ["p8"],
  34366. "application/pkix-attr-cert": ["ac"],
  34367. "application/pkix-cert": ["cer"],
  34368. "application/pkix-crl": ["crl"],
  34369. "application/pkix-pkipath": ["pkipath"],
  34370. "application/pkixcmp": ["pki"],
  34371. "application/pls+xml": ["pls"],
  34372. "application/postscript": ["ai", "eps", "ps"],
  34373. "application/provenance+xml": ["provx"],
  34374. "application/pskc+xml": ["pskcxml"],
  34375. "application/raml+yaml": ["raml"],
  34376. "application/rdf+xml": ["rdf", "owl"],
  34377. "application/reginfo+xml": ["rif"],
  34378. "application/relax-ng-compact-syntax": ["rnc"],
  34379. "application/resource-lists+xml": ["rl"],
  34380. "application/resource-lists-diff+xml": ["rld"],
  34381. "application/rls-services+xml": ["rs"],
  34382. "application/route-apd+xml": ["rapd"],
  34383. "application/route-s-tsid+xml": ["sls"],
  34384. "application/route-usd+xml": ["rusd"],
  34385. "application/rpki-ghostbusters": ["gbr"],
  34386. "application/rpki-manifest": ["mft"],
  34387. "application/rpki-roa": ["roa"],
  34388. "application/rsd+xml": ["rsd"],
  34389. "application/rss+xml": ["rss"],
  34390. "application/rtf": ["rtf"],
  34391. "application/sbml+xml": ["sbml"],
  34392. "application/scvp-cv-request": ["scq"],
  34393. "application/scvp-cv-response": ["scs"],
  34394. "application/scvp-vp-request": ["spq"],
  34395. "application/scvp-vp-response": ["spp"],
  34396. "application/sdp": ["sdp"],
  34397. "application/senml+xml": ["senmlx"],
  34398. "application/sensml+xml": ["sensmlx"],
  34399. "application/set-payment-initiation": ["setpay"],
  34400. "application/set-registration-initiation": ["setreg"],
  34401. "application/shf+xml": ["shf"],
  34402. "application/sieve": ["siv", "sieve"],
  34403. "application/smil+xml": ["smi", "smil"],
  34404. "application/sparql-query": ["rq"],
  34405. "application/sparql-results+xml": ["srx"],
  34406. "application/srgs": ["gram"],
  34407. "application/srgs+xml": ["grxml"],
  34408. "application/sru+xml": ["sru"],
  34409. "application/ssdl+xml": ["ssdl"],
  34410. "application/ssml+xml": ["ssml"],
  34411. "application/swid+xml": ["swidtag"],
  34412. "application/tei+xml": ["tei", "teicorpus"],
  34413. "application/thraud+xml": ["tfi"],
  34414. "application/timestamped-data": ["tsd"],
  34415. "application/toml": ["toml"],
  34416. "application/ttml+xml": ["ttml"],
  34417. "application/urc-ressheet+xml": ["rsheet"],
  34418. "application/voicexml+xml": ["vxml"],
  34419. "application/wasm": ["wasm"],
  34420. "application/widget": ["wgt"],
  34421. "application/winhlp": ["hlp"],
  34422. "application/wsdl+xml": ["wsdl"],
  34423. "application/wspolicy+xml": ["wspolicy"],
  34424. "application/xaml+xml": ["xaml"],
  34425. "application/xcap-att+xml": ["xav"],
  34426. "application/xcap-caps+xml": ["xca"],
  34427. "application/xcap-diff+xml": ["xdf"],
  34428. "application/xcap-el+xml": ["xel"],
  34429. "application/xcap-error+xml": ["xer"],
  34430. "application/xcap-ns+xml": ["xns"],
  34431. "application/xenc+xml": ["xenc"],
  34432. "application/xhtml+xml": ["xhtml", "xht"],
  34433. "application/xliff+xml": ["xlf"],
  34434. "application/xml": ["xml", "xsl", "xsd", "rng"],
  34435. "application/xml-dtd": ["dtd"],
  34436. "application/xop+xml": ["xop"],
  34437. "application/xproc+xml": ["xpl"],
  34438. "application/xslt+xml": ["xslt"],
  34439. "application/xspf+xml": ["xspf"],
  34440. "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
  34441. "application/yang": ["yang"],
  34442. "application/yin+xml": ["yin"],
  34443. "application/zip": ["zip"],
  34444. "audio/3gpp": ["*3gpp"],
  34445. "audio/adpcm": ["adp"],
  34446. "audio/basic": ["au", "snd"],
  34447. "audio/midi": ["mid", "midi", "kar", "rmi"],
  34448. "audio/mobile-xmf": ["mxmf"],
  34449. "audio/mp3": ["*mp3"],
  34450. "audio/mp4": ["m4a", "mp4a"],
  34451. "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
  34452. "audio/ogg": ["oga", "ogg", "spx"],
  34453. "audio/s3m": ["s3m"],
  34454. "audio/silk": ["sil"],
  34455. "audio/wav": ["wav"],
  34456. "audio/wave": ["*wav"],
  34457. "audio/webm": ["weba"],
  34458. "audio/xm": ["xm"],
  34459. "font/collection": ["ttc"],
  34460. "font/otf": ["otf"],
  34461. "font/ttf": ["ttf"],
  34462. "font/woff": ["woff"],
  34463. "font/woff2": ["woff2"],
  34464. "image/aces": ["exr"],
  34465. "image/apng": ["apng"],
  34466. "image/bmp": ["bmp"],
  34467. "image/cgm": ["cgm"],
  34468. "image/dicom-rle": ["drle"],
  34469. "image/emf": ["emf"],
  34470. "image/fits": ["fits"],
  34471. "image/g3fax": ["g3"],
  34472. "image/gif": ["gif"],
  34473. "image/heic": ["heic"],
  34474. "image/heic-sequence": ["heics"],
  34475. "image/heif": ["heif"],
  34476. "image/heif-sequence": ["heifs"],
  34477. "image/hej2k": ["hej2"],
  34478. "image/hsj2": ["hsj2"],
  34479. "image/ief": ["ief"],
  34480. "image/jls": ["jls"],
  34481. "image/jp2": ["jp2", "jpg2"],
  34482. "image/jpeg": ["jpeg", "jpg", "jpe"],
  34483. "image/jph": ["jph"],
  34484. "image/jphc": ["jhc"],
  34485. "image/jpm": ["jpm"],
  34486. "image/jpx": ["jpx", "jpf"],
  34487. "image/jxr": ["jxr"],
  34488. "image/jxra": ["jxra"],
  34489. "image/jxrs": ["jxrs"],
  34490. "image/jxs": ["jxs"],
  34491. "image/jxsc": ["jxsc"],
  34492. "image/jxsi": ["jxsi"],
  34493. "image/jxss": ["jxss"],
  34494. "image/ktx": ["ktx"],
  34495. "image/png": ["png"],
  34496. "image/sgi": ["sgi"],
  34497. "image/svg+xml": ["svg", "svgz"],
  34498. "image/t38": ["t38"],
  34499. "image/tiff": ["tif", "tiff"],
  34500. "image/tiff-fx": ["tfx"],
  34501. "image/webp": ["webp"],
  34502. "image/wmf": ["wmf"],
  34503. "message/disposition-notification": ["disposition-notification"],
  34504. "message/global": ["u8msg"],
  34505. "message/global-delivery-status": ["u8dsn"],
  34506. "message/global-disposition-notification": ["u8mdn"],
  34507. "message/global-headers": ["u8hdr"],
  34508. "message/rfc822": ["eml", "mime"],
  34509. "model/3mf": ["3mf"],
  34510. "model/gltf+json": ["gltf"],
  34511. "model/gltf-binary": ["glb"],
  34512. "model/iges": ["igs", "iges"],
  34513. "model/mesh": ["msh", "mesh", "silo"],
  34514. "model/mtl": ["mtl"],
  34515. "model/obj": ["obj"],
  34516. "model/stl": ["stl"],
  34517. "model/vrml": ["wrl", "vrml"],
  34518. "model/x3d+binary": ["*x3db", "x3dbz"],
  34519. "model/x3d+fastinfoset": ["x3db"],
  34520. "model/x3d+vrml": ["*x3dv", "x3dvz"],
  34521. "model/x3d+xml": ["x3d", "x3dz"],
  34522. "model/x3d-vrml": ["x3dv"],
  34523. "text/cache-manifest": ["appcache", "manifest"],
  34524. "text/calendar": ["ics", "ifb"],
  34525. "text/coffeescript": ["coffee", "litcoffee"],
  34526. "text/css": ["css"],
  34527. "text/csv": ["csv"],
  34528. "text/html": ["html", "htm", "shtml"],
  34529. "text/jade": ["jade"],
  34530. "text/jsx": ["jsx"],
  34531. "text/less": ["less"],
  34532. "text/markdown": ["markdown", "md"],
  34533. "text/mathml": ["mml"],
  34534. "text/mdx": ["mdx"],
  34535. "text/n3": ["n3"],
  34536. "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
  34537. "text/richtext": ["rtx"],
  34538. "text/rtf": ["*rtf"],
  34539. "text/sgml": ["sgml", "sgm"],
  34540. "text/shex": ["shex"],
  34541. "text/slim": ["slim", "slm"],
  34542. "text/stylus": ["stylus", "styl"],
  34543. "text/tab-separated-values": ["tsv"],
  34544. "text/troff": ["t", "tr", "roff", "man", "me", "ms"],
  34545. "text/turtle": ["ttl"],
  34546. "text/uri-list": ["uri", "uris", "urls"],
  34547. "text/vcard": ["vcard"],
  34548. "text/vtt": ["vtt"],
  34549. "text/xml": ["*xml"],
  34550. "text/yaml": ["yaml", "yml"],
  34551. "video/3gpp": ["3gp", "3gpp"],
  34552. "video/3gpp2": ["3g2"],
  34553. "video/h261": ["h261"],
  34554. "video/h263": ["h263"],
  34555. "video/h264": ["h264"],
  34556. "video/jpeg": ["jpgv"],
  34557. "video/jpm": ["*jpm", "jpgm"],
  34558. "video/mj2": ["mj2", "mjp2"],
  34559. "video/mp2t": ["ts"],
  34560. "video/mp4": ["mp4", "mp4v", "mpg4"],
  34561. "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
  34562. "video/ogg": ["ogv"],
  34563. "video/quicktime": ["qt", "mov"],
  34564. "video/webm": ["webm"]
  34565. }
  34566. },
  34567. {}
  34568. ],
  34569. 314: [
  34570. function (e, t, r) {
  34571. var n = 1e3,
  34572. i = 60 * n,
  34573. o = 60 * i,
  34574. a = 24 * o,
  34575. s = 7 * a,
  34576. l = 365.25 * a
  34577. function c(e) {
  34578. if (((e = String(e)), !(e.length > 100))) {
  34579. var t =
  34580. /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
  34581. e
  34582. )
  34583. if (t) {
  34584. var r = parseFloat(t[1]),
  34585. c = (t[2] || "ms").toLowerCase()
  34586. switch (c) {
  34587. case "years":
  34588. case "year":
  34589. case "yrs":
  34590. case "yr":
  34591. case "y":
  34592. return r * l
  34593. case "weeks":
  34594. case "week":
  34595. case "w":
  34596. return r * s
  34597. case "days":
  34598. case "day":
  34599. case "d":
  34600. return r * a
  34601. case "hours":
  34602. case "hour":
  34603. case "hrs":
  34604. case "hr":
  34605. case "h":
  34606. return r * o
  34607. case "minutes":
  34608. case "minute":
  34609. case "mins":
  34610. case "min":
  34611. case "m":
  34612. return r * i
  34613. case "seconds":
  34614. case "second":
  34615. case "secs":
  34616. case "sec":
  34617. case "s":
  34618. return r * n
  34619. case "milliseconds":
  34620. case "millisecond":
  34621. case "msecs":
  34622. case "msec":
  34623. case "ms":
  34624. return r
  34625. default:
  34626. return
  34627. }
  34628. }
  34629. }
  34630. }
  34631. function u(e) {
  34632. var t = Math.abs(e)
  34633. return t >= a
  34634. ? Math.round(e / a) + "d"
  34635. : t >= o
  34636. ? Math.round(e / o) + "h"
  34637. : t >= i
  34638. ? Math.round(e / i) + "m"
  34639. : t >= n
  34640. ? Math.round(e / n) + "s"
  34641. : e + "ms"
  34642. }
  34643. function f(e) {
  34644. var t = Math.abs(e)
  34645. return t >= a
  34646. ? p(e, t, a, "day")
  34647. : t >= o
  34648. ? p(e, t, o, "hour")
  34649. : t >= i
  34650. ? p(e, t, i, "minute")
  34651. : t >= n
  34652. ? p(e, t, n, "second")
  34653. : e + " ms"
  34654. }
  34655. function p(e, t, r, n) {
  34656. var i = t >= 1.5 * r
  34657. return Math.round(e / r) + " " + n + (i ? "s" : "")
  34658. }
  34659. t.exports = function (e, t) {
  34660. t = t || {}
  34661. var r = typeof e
  34662. if ("string" === r && e.length > 0) return c(e)
  34663. if ("number" === r && isFinite(e)) return t.long ? f(e) : u(e)
  34664. throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e))
  34665. }
  34666. },
  34667. {}
  34668. ],
  34669. 315: [
  34670. function (e, t, r) {
  34671. ;(function (e) {
  34672. function t(e, t) {
  34673. for (var r = 0, n = e.length - 1; n >= 0; n--) {
  34674. var i = e[n]
  34675. "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--)
  34676. }
  34677. if (t) for (; r--; r) e.unshift("..")
  34678. return e
  34679. }
  34680. function n(e) {
  34681. "string" !== typeof e && (e += "")
  34682. var t,
  34683. r = 0,
  34684. n = -1,
  34685. i = !0
  34686. for (t = e.length - 1; t >= 0; --t)
  34687. if (47 === e.charCodeAt(t)) {
  34688. if (!i) {
  34689. r = t + 1
  34690. break
  34691. }
  34692. } else -1 === n && ((i = !1), (n = t + 1))
  34693. return -1 === n ? "" : e.slice(r, n)
  34694. }
  34695. function i(e, t) {
  34696. if (e.filter) return e.filter(t)
  34697. for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n])
  34698. return r
  34699. }
  34700. ;(r.resolve = function () {
  34701. for (var r = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) {
  34702. var a = o >= 0 ? arguments[o] : e.cwd()
  34703. if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings")
  34704. a && ((r = a + "/" + r), (n = "/" === a.charAt(0)))
  34705. }
  34706. return (
  34707. (r = t(
  34708. i(r.split("/"), function (e) {
  34709. return !!e
  34710. }),
  34711. !n
  34712. ).join("/")),
  34713. (n ? "/" : "") + r || "."
  34714. )
  34715. }),
  34716. (r.normalize = function (e) {
  34717. var n = r.isAbsolute(e),
  34718. a = "/" === o(e, -1)
  34719. return (
  34720. (e = t(
  34721. i(e.split("/"), function (e) {
  34722. return !!e
  34723. }),
  34724. !n
  34725. ).join("/")),
  34726. e || n || (e = "."),
  34727. e && a && (e += "/"),
  34728. (n ? "/" : "") + e
  34729. )
  34730. }),
  34731. (r.isAbsolute = function (e) {
  34732. return "/" === e.charAt(0)
  34733. }),
  34734. (r.join = function () {
  34735. var e = Array.prototype.slice.call(arguments, 0)
  34736. return r.normalize(
  34737. i(e, function (e, t) {
  34738. if ("string" !== typeof e) throw new TypeError("Arguments to path.join must be strings")
  34739. return e
  34740. }).join("/")
  34741. )
  34742. }),
  34743. (r.relative = function (e, t) {
  34744. function n(e) {
  34745. for (var t = 0; t < e.length; t++) if ("" !== e[t]) break
  34746. for (var r = e.length - 1; r >= 0; r--) if ("" !== e[r]) break
  34747. return t > r ? [] : e.slice(t, r - t + 1)
  34748. }
  34749. ;(e = r.resolve(e).substr(1)), (t = r.resolve(t).substr(1))
  34750. for (var i = n(e.split("/")), o = n(t.split("/")), a = Math.min(i.length, o.length), s = a, l = 0; l < a; l++)
  34751. if (i[l] !== o[l]) {
  34752. s = l
  34753. break
  34754. }
  34755. var c = []
  34756. for (l = s; l < i.length; l++) c.push("..")
  34757. return (c = c.concat(o.slice(s))), c.join("/")
  34758. }),
  34759. (r.sep = "/"),
  34760. (r.delimiter = ":"),
  34761. (r.dirname = function (e) {
  34762. if (("string" !== typeof e && (e += ""), 0 === e.length)) return "."
  34763. for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o)
  34764. if (((t = e.charCodeAt(o)), 47 === t)) {
  34765. if (!i) {
  34766. n = o
  34767. break
  34768. }
  34769. } else i = !1
  34770. return -1 === n ? (r ? "/" : ".") : r && 1 === n ? "/" : e.slice(0, n)
  34771. }),
  34772. (r.basename = function (e, t) {
  34773. var r = n(e)
  34774. return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r
  34775. }),
  34776. (r.extname = function (e) {
  34777. "string" !== typeof e && (e += "")
  34778. for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) {
  34779. var s = e.charCodeAt(a)
  34780. if (47 !== s)
  34781. -1 === n && ((i = !1), (n = a + 1)),
  34782. 46 === s ? (-1 === t ? (t = a) : 1 !== o && (o = 1)) : -1 !== t && (o = -1)
  34783. else if (!i) {
  34784. r = a + 1
  34785. break
  34786. }
  34787. }
  34788. return -1 === t || -1 === n || 0 === o || (1 === o && t === n - 1 && t === r + 1) ? "" : e.slice(t, n)
  34789. })
  34790. var o =
  34791. "b" === "ab".substr(-1)
  34792. ? function (e, t, r) {
  34793. return e.substr(t, r)
  34794. }
  34795. : function (e, t, r) {
  34796. return t < 0 && (t = e.length + t), e.substr(t, r)
  34797. }
  34798. }).call(this, e("_process"))
  34799. },
  34800. {
  34801. _process: 392
  34802. }
  34803. ],
  34804. 316: [
  34805. function (e, t, r) {
  34806. ;(function (e) {
  34807. ;(function () {
  34808. "use strict"
  34809. var n = {
  34810. function: !0,
  34811. object: !0
  34812. },
  34813. i = (n[typeof window] && window) || this,
  34814. o = n[typeof r] && r,
  34815. a = n[typeof t] && t && !t.nodeType && t,
  34816. s = o && a && "object" == typeof e && e
  34817. !s || (s.global !== s && s.window !== s && s.self !== s) || (i = s)
  34818. var l = Math.pow(2, 53) - 1,
  34819. c = /\bOpera/,
  34820. u = Object.prototype,
  34821. f = u.hasOwnProperty,
  34822. p = u.toString
  34823. function d(e) {
  34824. return (e = String(e)), e.charAt(0).toUpperCase() + e.slice(1)
  34825. }
  34826. function h(e, t, r) {
  34827. var n = {
  34828. "10.0": "10",
  34829. 6.4: "10 Technical Preview",
  34830. 6.3: "8.1",
  34831. 6.2: "8",
  34832. 6.1: "Server 2008 R2 / 7",
  34833. "6.0": "Server 2008 / Vista",
  34834. 5.2: "Server 2003 / XP 64-bit",
  34835. 5.1: "XP",
  34836. 5.01: "2000 SP1",
  34837. "5.0": "2000",
  34838. "4.0": "NT",
  34839. "4.90": "ME"
  34840. }
  34841. return (
  34842. t && r && /^Win/i.test(e) && !/^Windows Phone /i.test(e) && (n = n[/[\d.]+$/.exec(e)]) && (e = "Windows " + n),
  34843. (e = String(e)),
  34844. t && r && (e = e.replace(RegExp(t, "i"), r)),
  34845. (e = g(
  34846. e
  34847. .replace(/ ce$/i, " CE")
  34848. .replace(/\bhpw/i, "web")
  34849. .replace(/\bMacintosh\b/, "Mac OS")
  34850. .replace(/_PowerPC\b/i, " OS")
  34851. .replace(/\b(OS X) [^ \d]+/i, "$1")
  34852. .replace(/\bMac (OS X)\b/, "$1")
  34853. .replace(/\/(\d)/, " $1")
  34854. .replace(/_/g, ".")
  34855. .replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, "")
  34856. .replace(/\bx86\.64\b/gi, "x86_64")
  34857. .replace(/\b(Windows Phone) OS\b/, "$1")
  34858. .replace(/\b(Chrome OS \w+) [\d.]+\b/, "$1")
  34859. .split(" on ")[0]
  34860. )),
  34861. e
  34862. )
  34863. }
  34864. function m(e, t) {
  34865. var r = -1,
  34866. n = e ? e.length : 0
  34867. if ("number" == typeof n && n > -1 && n <= l) while (++r < n) t(e[r], r, e)
  34868. else y(e, t)
  34869. }
  34870. function g(e) {
  34871. return (e = A(e)), /^(?:webOS|i(?:OS|P))/.test(e) ? e : d(e)
  34872. }
  34873. function y(e, t) {
  34874. for (var r in e) f.call(e, r) && t(e[r], r, e)
  34875. }
  34876. function v(e) {
  34877. return null == e ? d(e) : p.call(e).slice(8, -1)
  34878. }
  34879. function b(e, t) {
  34880. var r = null != e ? typeof e[t] : "number"
  34881. return !/^(?:boolean|number|string|undefined)$/.test(r) && ("object" != r || !!e[t])
  34882. }
  34883. function w(e) {
  34884. return String(e).replace(/([ -])(?!$)/g, "$1?")
  34885. }
  34886. function x(e, t) {
  34887. var r = null
  34888. return (
  34889. m(e, function (n, i) {
  34890. r = t(r, n, i, e)
  34891. }),
  34892. r
  34893. )
  34894. }
  34895. function A(e) {
  34896. return String(e).replace(/^ +| +$/g, "")
  34897. }
  34898. function _(e) {
  34899. var t = i,
  34900. r = e && "object" == typeof e && "String" != v(e)
  34901. r && ((t = e), (e = null))
  34902. var n = t.navigator || {},
  34903. o = n.userAgent || ""
  34904. e || (e = o)
  34905. var a,
  34906. s,
  34907. l = r ? !!n.likeChrome : /\bChrome\b/.test(e) && !/internal|\n/i.test(p.toString()),
  34908. u = "Object",
  34909. f = r ? u : "ScriptBridgingProxyObject",
  34910. d = r ? u : "Environment",
  34911. m = r && t.java ? "JavaPackage" : v(t.java),
  34912. T = r ? u : "RuntimeObject",
  34913. E = /\bJava/.test(m) && t.java,
  34914. S = E && v(t.environment) == d,
  34915. C = E ? "a" : "α",
  34916. k = E ? "b" : "β",
  34917. L = t.document || {},
  34918. P = t.operamini || t.opera,
  34919. O = c.test((O = r && P ? P["[[Class]]"] : v(P))) ? O : (P = null),
  34920. j = e,
  34921. R = [],
  34922. I = null,
  34923. N = e == o,
  34924. M = N && P && "function" == typeof P.version && P.version(),
  34925. D = q([
  34926. {
  34927. label: "EdgeHTML",
  34928. pattern: "Edge"
  34929. },
  34930. "Trident",
  34931. {
  34932. label: "WebKit",
  34933. pattern: "AppleWebKit"
  34934. },
  34935. "iCab",
  34936. "Presto",
  34937. "NetFront",
  34938. "Tasman",
  34939. "KHTML",
  34940. "Gecko"
  34941. ]),
  34942. B = W([
  34943. "Adobe AIR",
  34944. "Arora",
  34945. "Avant Browser",
  34946. "Breach",
  34947. "Camino",
  34948. "Electron",
  34949. "Epiphany",
  34950. "Fennec",
  34951. "Flock",
  34952. "Galeon",
  34953. "GreenBrowser",
  34954. "iCab",
  34955. "Iceweasel",
  34956. "K-Meleon",
  34957. "Konqueror",
  34958. "Lunascape",
  34959. "Maxthon",
  34960. {
  34961. label: "Microsoft Edge",
  34962. pattern: "Edge"
  34963. },
  34964. "Midori",
  34965. "Nook Browser",
  34966. "PaleMoon",
  34967. "PhantomJS",
  34968. "Raven",
  34969. "Rekonq",
  34970. "RockMelt",
  34971. {
  34972. label: "Samsung Internet",
  34973. pattern: "SamsungBrowser"
  34974. },
  34975. "SeaMonkey",
  34976. {
  34977. label: "Silk",
  34978. pattern: "(?:Cloud9|Silk-Accelerated)"
  34979. },
  34980. "Sleipnir",
  34981. "SlimBrowser",
  34982. {
  34983. label: "SRWare Iron",
  34984. pattern: "Iron"
  34985. },
  34986. "Sunrise",
  34987. "Swiftfox",
  34988. "Waterfox",
  34989. "WebPositive",
  34990. "Opera Mini",
  34991. {
  34992. label: "Opera Mini",
  34993. pattern: "OPiOS"
  34994. },
  34995. "Opera",
  34996. {
  34997. label: "Opera",
  34998. pattern: "OPR"
  34999. },
  35000. "Chrome",
  35001. {
  35002. label: "Chrome Mobile",
  35003. pattern: "(?:CriOS|CrMo)"
  35004. },
  35005. {
  35006. label: "Firefox",
  35007. pattern: "(?:Firefox|Minefield)"
  35008. },
  35009. {
  35010. label: "Firefox for iOS",
  35011. pattern: "FxiOS"
  35012. },
  35013. {
  35014. label: "IE",
  35015. pattern: "IEMobile"
  35016. },
  35017. {
  35018. label: "IE",
  35019. pattern: "MSIE"
  35020. },
  35021. "Safari"
  35022. ]),
  35023. F = H([
  35024. {
  35025. label: "BlackBerry",
  35026. pattern: "BB10"
  35027. },
  35028. "BlackBerry",
  35029. {
  35030. label: "Galaxy S",
  35031. pattern: "GT-I9000"
  35032. },
  35033. {
  35034. label: "Galaxy S2",
  35035. pattern: "GT-I9100"
  35036. },
  35037. {
  35038. label: "Galaxy S3",
  35039. pattern: "GT-I9300"
  35040. },
  35041. {
  35042. label: "Galaxy S4",
  35043. pattern: "GT-I9500"
  35044. },
  35045. {
  35046. label: "Galaxy S5",
  35047. pattern: "SM-G900"
  35048. },
  35049. {
  35050. label: "Galaxy S6",
  35051. pattern: "SM-G920"
  35052. },
  35053. {
  35054. label: "Galaxy S6 Edge",
  35055. pattern: "SM-G925"
  35056. },
  35057. {
  35058. label: "Galaxy S7",
  35059. pattern: "SM-G930"
  35060. },
  35061. {
  35062. label: "Galaxy S7 Edge",
  35063. pattern: "SM-G935"
  35064. },
  35065. "Google TV",
  35066. "Lumia",
  35067. "iPad",
  35068. "iPod",
  35069. "iPhone",
  35070. "Kindle",
  35071. {
  35072. label: "Kindle Fire",
  35073. pattern: "(?:Cloud9|Silk-Accelerated)"
  35074. },
  35075. "Nexus",
  35076. "Nook",
  35077. "PlayBook",
  35078. "PlayStation Vita",
  35079. "PlayStation",
  35080. "TouchPad",
  35081. "Transformer",
  35082. {
  35083. label: "Wii U",
  35084. pattern: "WiiU"
  35085. },
  35086. "Wii",
  35087. "Xbox One",
  35088. {
  35089. label: "Xbox 360",
  35090. pattern: "Xbox"
  35091. },
  35092. "Xoom"
  35093. ]),
  35094. U = G({
  35095. Apple: {
  35096. iPad: 1,
  35097. iPhone: 1,
  35098. iPod: 1
  35099. },
  35100. Archos: {},
  35101. Amazon: {
  35102. Kindle: 1,
  35103. "Kindle Fire": 1
  35104. },
  35105. Asus: {
  35106. Transformer: 1
  35107. },
  35108. "Barnes & Noble": {
  35109. Nook: 1
  35110. },
  35111. BlackBerry: {
  35112. PlayBook: 1
  35113. },
  35114. Google: {
  35115. "Google TV": 1,
  35116. Nexus: 1
  35117. },
  35118. HP: {
  35119. TouchPad: 1
  35120. },
  35121. HTC: {},
  35122. LG: {},
  35123. Microsoft: {
  35124. Xbox: 1,
  35125. "Xbox One": 1
  35126. },
  35127. Motorola: {
  35128. Xoom: 1
  35129. },
  35130. Nintendo: {
  35131. "Wii U": 1,
  35132. Wii: 1
  35133. },
  35134. Nokia: {
  35135. Lumia: 1
  35136. },
  35137. Samsung: {
  35138. "Galaxy S": 1,
  35139. "Galaxy S2": 1,
  35140. "Galaxy S3": 1,
  35141. "Galaxy S4": 1
  35142. },
  35143. Sony: {
  35144. PlayStation: 1,
  35145. "PlayStation Vita": 1
  35146. }
  35147. }),
  35148. z = V([
  35149. "Windows Phone",
  35150. "Android",
  35151. "CentOS",
  35152. {
  35153. label: "Chrome OS",
  35154. pattern: "CrOS"
  35155. },
  35156. "Debian",
  35157. "Fedora",
  35158. "FreeBSD",
  35159. "Gentoo",
  35160. "Haiku",
  35161. "Kubuntu",
  35162. "Linux Mint",
  35163. "OpenBSD",
  35164. "Red Hat",
  35165. "SuSE",
  35166. "Ubuntu",
  35167. "Xubuntu",
  35168. "Cygwin",
  35169. "Symbian OS",
  35170. "hpwOS",
  35171. "webOS ",
  35172. "webOS",
  35173. "Tablet OS",
  35174. "Tizen",
  35175. "Linux",
  35176. "Mac OS X",
  35177. "Macintosh",
  35178. "Mac",
  35179. "Windows 98;",
  35180. "Windows "
  35181. ])
  35182. function q(t) {
  35183. return x(t, function (t, r) {
  35184. return t || (RegExp("\\b" + (r.pattern || w(r)) + "\\b", "i").exec(e) && (r.label || r))
  35185. })
  35186. }
  35187. function G(t) {
  35188. return x(t, function (t, r, n) {
  35189. return (
  35190. t ||
  35191. ((r[F] || r[/^[a-z]+(?: +[a-z]+\b)*/i.exec(F)] || RegExp("\\b" + w(n) + "(?:\\b|\\w*\\d)", "i").exec(e)) &&
  35192. n)
  35193. )
  35194. })
  35195. }
  35196. function W(t) {
  35197. return x(t, function (t, r) {
  35198. return t || (RegExp("\\b" + (r.pattern || w(r)) + "\\b", "i").exec(e) && (r.label || r))
  35199. })
  35200. }
  35201. function V(t) {
  35202. return x(t, function (t, r) {
  35203. var n = r.pattern || w(r)
  35204. return !t && (t = RegExp("\\b" + n + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(e)) && (t = h(t, n, r.label || r)), t
  35205. })
  35206. }
  35207. function H(t) {
  35208. return x(t, function (t, r) {
  35209. var n = r.pattern || w(r)
  35210. return (
  35211. !t &&
  35212. (t =
  35213. RegExp("\\b" + n + " *\\d+[.\\w_]*", "i").exec(e) ||
  35214. RegExp("\\b" + n + " *\\w+-[\\w]*", "i").exec(e) ||
  35215. RegExp("\\b" + n + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(e)) &&
  35216. ((t = String(r.label && !RegExp(n, "i").test(r.label) ? r.label : t).split("/"))[1] &&
  35217. !/[\d.]+/.test(t[0]) &&
  35218. (t[0] += " " + t[1]),
  35219. (r = r.label || r),
  35220. (t = g(
  35221. t[0]
  35222. .replace(RegExp(n, "i"), r)
  35223. .replace(RegExp("; *(?:" + r + "[_-])?", "i"), " ")
  35224. .replace(RegExp("(" + r + ")[-_.]?(\\w)", "i"), "$1 $2")
  35225. ))),
  35226. t
  35227. )
  35228. })
  35229. }
  35230. function X(t) {
  35231. return x(t, function (t, r) {
  35232. return (
  35233. t || (RegExp(r + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(e) || 0)[1] || null
  35234. )
  35235. })
  35236. }
  35237. function Y() {
  35238. return this.description || ""
  35239. }
  35240. if (
  35241. (D && (D = [D]),
  35242. U && !F && (F = H([U])),
  35243. (a = /\bGoogle TV\b/.exec(F)) && (F = a[0]),
  35244. /\bSimulator\b/i.test(e) && (F = (F ? F + " " : "") + "Simulator"),
  35245. "Opera Mini" == B && /\bOPiOS\b/.test(e) && R.push("running in Turbo/Uncompressed mode"),
  35246. "IE" == B && /\blike iPhone OS\b/.test(e)
  35247. ? ((a = _(e.replace(/like iPhone OS/, ""))), (U = a.manufacturer), (F = a.product))
  35248. : /^iP/.test(F)
  35249. ? (B || (B = "Safari"), (z = "iOS" + ((a = / OS ([\d_]+)/i.exec(e)) ? " " + a[1].replace(/_/g, ".") : "")))
  35250. : "Konqueror" != B || /buntu/i.test(z)
  35251. ? (U && "Google" != U && ((/Chrome/.test(B) && !/\bMobile Safari\b/i.test(e)) || /\bVita\b/.test(F))) ||
  35252. (/\bAndroid\b/.test(z) && /^Chrome/.test(B) && /\bVersion\//i.test(e))
  35253. ? ((B = "Android Browser"), (z = /\bAndroid\b/.test(z) ? z : "Android"))
  35254. : "Silk" == B
  35255. ? (/\bMobi/i.test(e) || ((z = "Android"), R.unshift("desktop mode")),
  35256. /Accelerated *= *true/i.test(e) && R.unshift("accelerated"))
  35257. : "PaleMoon" == B && (a = /\bFirefox\/([\d.]+)\b/.exec(e))
  35258. ? R.push("identifying as Firefox " + a[1])
  35259. : "Firefox" == B && (a = /\b(Mobile|Tablet|TV)\b/i.exec(e))
  35260. ? (z || (z = "Firefox OS"), F || (F = a[1]))
  35261. : !B || (a = !/\bMinefield\b/i.test(e) && /\b(?:Firefox|Safari)\b/.exec(B))
  35262. ? (B && !F && /[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(a + "/") + 8)) && (B = null),
  35263. (a = F || U || z) &&
  35264. (F || U || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(z)) &&
  35265. (B = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(z) ? z : a) + " Browser"))
  35266. : "Electron" == B && (a = (/\bChrome\/([\d.]+)\b/.exec(e) || 0)[1]) && R.push("Chromium " + a)
  35267. : (z = "Kubuntu"),
  35268. M ||
  35269. (M = X([
  35270. "(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))",
  35271. "Version",
  35272. w(B),
  35273. "(?:Firefox|Minefield|NetFront)"
  35274. ])),
  35275. (a =
  35276. ("iCab" == D && parseFloat(M) > 3
  35277. ? "WebKit"
  35278. : /\bOpera\b/.test(B) && (/\bOPR\b/.test(e) ? "Blink" : "Presto")) ||
  35279. (/\b(?:Midori|Nook|Safari)\b/i.test(e) && !/^(?:Trident|EdgeHTML)$/.test(D) && "WebKit") ||
  35280. (!D && /\bMSIE\b/i.test(e) && ("Mac OS" == z ? "Tasman" : "Trident")) ||
  35281. ("WebKit" == D && /\bPlayStation\b(?! Vita\b)/i.test(B) && "NetFront")) && (D = [a]),
  35282. "IE" == B && (a = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e) || 0)[1])
  35283. ? ((B += " Mobile"), (z = "Windows Phone " + (/\+$/.test(a) ? a : a + ".x")), R.unshift("desktop mode"))
  35284. : /\bWPDesktop\b/i.test(e)
  35285. ? ((B = "IE Mobile"),
  35286. (z = "Windows Phone 8.x"),
  35287. R.unshift("desktop mode"),
  35288. M || (M = (/\brv:([\d.]+)/.exec(e) || 0)[1]))
  35289. : "IE" != B &&
  35290. "Trident" == D &&
  35291. (a = /\brv:([\d.]+)/.exec(e)) &&
  35292. (B && R.push("identifying as " + B + (M ? " " + M : "")), (B = "IE"), (M = a[1])),
  35293. N)
  35294. ) {
  35295. if (b(t, "global"))
  35296. if (
  35297. (E &&
  35298. ((a = E.lang.System),
  35299. (j = a.getProperty("os.arch")),
  35300. (z = z || a.getProperty("os.name") + " " + a.getProperty("os.version"))),
  35301. S)
  35302. ) {
  35303. try {
  35304. ;(M = t.require("ringo/engine").version.join(".")), (B = "RingoJS")
  35305. } catch (Z) {
  35306. ;(a = t.system) && a.global.system == t.system && ((B = "Narwhal"), z || (z = a[0].os || null))
  35307. }
  35308. B || (B = "Rhino")
  35309. } else
  35310. "object" == typeof t.process &&
  35311. !t.process.browser &&
  35312. (a = t.process) &&
  35313. ("object" == typeof a.versions &&
  35314. ("string" == typeof a.versions.electron
  35315. ? (R.push("Node " + a.versions.node), (B = "Electron"), (M = a.versions.electron))
  35316. : "string" == typeof a.versions.nw &&
  35317. (R.push("Chromium " + M, "Node " + a.versions.node), (B = "NW.js"), (M = a.versions.nw))),
  35318. B ||
  35319. ((B = "Node.js"),
  35320. (j = a.arch),
  35321. (z = a.platform),
  35322. (M = /[\d.]+/.exec(a.version)),
  35323. (M = M ? M[0] : null)))
  35324. else
  35325. v((a = t.runtime)) == f
  35326. ? ((B = "Adobe AIR"), (z = a.flash.system.Capabilities.os))
  35327. : v((a = t.phantom)) == T
  35328. ? ((B = "PhantomJS"), (M = (a = a.version || null) && a.major + "." + a.minor + "." + a.patch))
  35329. : "number" == typeof L.documentMode && (a = /\bTrident\/(\d+)/i.exec(e))
  35330. ? ((M = [M, L.documentMode]),
  35331. (a = +a[1] + 4) != M[1] && (R.push("IE " + M[1] + " mode"), D && (D[1] = ""), (M[1] = a)),
  35332. (M = "IE" == B ? String(M[1].toFixed(1)) : M[0]))
  35333. : "number" == typeof L.documentMode &&
  35334. /^(?:Chrome|Firefox)\b/.test(B) &&
  35335. (R.push("masking as " + B + " " + M), (B = "IE"), (M = "11.0"), (D = ["Trident"]), (z = "Windows"))
  35336. z = z && g(z)
  35337. }
  35338. if (
  35339. (M &&
  35340. (a =
  35341. /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(M) ||
  35342. /(?:alpha|beta)(?: ?\d)?/i.exec(e + ";" + (N && n.appMinorVersion)) ||
  35343. (/\bMinefield\b/i.test(e) && "a")) &&
  35344. ((I = /b/i.test(a) ? "beta" : "alpha"),
  35345. (M = M.replace(RegExp(a + "\\+?$"), "") + ("beta" == I ? k : C) + (/\d+\+?/.exec(a) || ""))),
  35346. "Fennec" == B || ("Firefox" == B && /\b(?:Android|Firefox OS)\b/.test(z)))
  35347. )
  35348. B = "Firefox Mobile"
  35349. else if ("Maxthon" == B && M) M = M.replace(/\.[\d.]+/, ".x")
  35350. else if (/\bXbox\b/i.test(F))
  35351. "Xbox 360" == F && (z = null), "Xbox 360" == F && /\bIEMobile\b/.test(e) && R.unshift("mobile mode")
  35352. else if (
  35353. (!/^(?:Chrome|IE|Opera)$/.test(B) && (!B || F || /Browser|Mobi/.test(B))) ||
  35354. ("Windows CE" != z && !/Mobi/i.test(e))
  35355. )
  35356. if ("IE" == B && N)
  35357. try {
  35358. null === t.external && R.unshift("platform preview")
  35359. } catch (Z) {
  35360. R.unshift("embedded")
  35361. }
  35362. else
  35363. (/\bBlackBerry\b/.test(F) || /\bBB10\b/.test(e)) &&
  35364. (a = (RegExp(F.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(e) || 0)[1] || M)
  35365. ? ((a = [a, /BB10/.test(e)]),
  35366. (z = (a[1] ? ((F = null), (U = "BlackBerry")) : "Device Software") + " " + a[0]),
  35367. (M = null))
  35368. : this != y &&
  35369. "Wii" != F &&
  35370. ((N && P) ||
  35371. (/Opera/.test(B) && /\b(?:MSIE|Firefox)\b/i.test(e)) ||
  35372. ("Firefox" == B && /\bOS X (?:\d+\.){2,}/.test(z)) ||
  35373. ("IE" == B &&
  35374. ((z && !/^Win/.test(z) && M > 5.5) ||
  35375. (/\bWindows XP\b/.test(z) && M > 8) ||
  35376. (8 == M && !/\bTrident\b/.test(e))))) &&
  35377. !c.test((a = _.call(y, e.replace(c, "") + ";"))) &&
  35378. a.name &&
  35379. ((a = "ing as " + a.name + ((a = a.version) ? " " + a : "")),
  35380. c.test(B)
  35381. ? (/\bIE\b/.test(a) && "Mac OS" == z && (z = null), (a = "identify" + a))
  35382. : ((a = "mask" + a),
  35383. (B = O ? g(O.replace(/([a-z])([A-Z])/g, "$1 $2")) : "Opera"),
  35384. /\bIE\b/.test(a) && (z = null),
  35385. N || (M = null)),
  35386. (D = ["Presto"]),
  35387. R.push(a))
  35388. else B += " Mobile"
  35389. ;(a = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(e) || 0)[1]) &&
  35390. ((a = [parseFloat(a.replace(/\.(\d)$/, ".0$1")), a]),
  35391. "Safari" == B && "+" == a[1].slice(-1)
  35392. ? ((B = "WebKit Nightly"), (I = "alpha"), (M = a[1].slice(0, -1)))
  35393. : (M != a[1] && M != (a[2] = (/\bSafari\/([\d.]+\+?)/i.exec(e) || 0)[1])) || (M = null),
  35394. (a[1] = (/\bChrome\/([\d.]+)/i.exec(e) || 0)[1]),
  35395. 537.36 == a[0] && 537.36 == a[2] && parseFloat(a[1]) >= 28 && "WebKit" == D && (D = ["Blink"]),
  35396. N && (l || a[1])
  35397. ? (D && (D[1] = "like Chrome"),
  35398. (a =
  35399. a[1] ||
  35400. ((a = a[0]),
  35401. a < 530
  35402. ? 1
  35403. : a < 532
  35404. ? 2
  35405. : a < 532.05
  35406. ? 3
  35407. : a < 533
  35408. ? 4
  35409. : a < 534.03
  35410. ? 5
  35411. : a < 534.07
  35412. ? 6
  35413. : a < 534.1
  35414. ? 7
  35415. : a < 534.13
  35416. ? 8
  35417. : a < 534.16
  35418. ? 9
  35419. : a < 534.24
  35420. ? 10
  35421. : a < 534.3
  35422. ? 11
  35423. : a < 535.01
  35424. ? 12
  35425. : a < 535.02
  35426. ? "13+"
  35427. : a < 535.07
  35428. ? 15
  35429. : a < 535.11
  35430. ? 16
  35431. : a < 535.19
  35432. ? 17
  35433. : a < 536.05
  35434. ? 18
  35435. : a < 536.1
  35436. ? 19
  35437. : a < 537.01
  35438. ? 20
  35439. : a < 537.11
  35440. ? "21+"
  35441. : a < 537.13
  35442. ? 23
  35443. : a < 537.18
  35444. ? 24
  35445. : a < 537.24
  35446. ? 25
  35447. : a < 537.36
  35448. ? 26
  35449. : "Blink" != D
  35450. ? "27"
  35451. : "28")))
  35452. : (D && (D[1] = "like Safari"),
  35453. (a = a[0]),
  35454. (a =
  35455. a < 400
  35456. ? 1
  35457. : a < 500
  35458. ? 2
  35459. : a < 526
  35460. ? 3
  35461. : a < 533
  35462. ? 4
  35463. : a < 534
  35464. ? "4+"
  35465. : a < 535
  35466. ? 5
  35467. : a < 537
  35468. ? 6
  35469. : a < 538
  35470. ? 7
  35471. : a < 601
  35472. ? 8
  35473. : "8")),
  35474. D && (D[1] += " " + (a += "number" == typeof a ? ".x" : /[.+]/.test(a) ? "" : "+")),
  35475. "Safari" == B && (!M || parseInt(M) > 45) && (M = a)),
  35476. "Opera" == B && (a = /\bzbov|zvav$/.exec(z))
  35477. ? ((B += " "),
  35478. R.unshift("desktop mode"),
  35479. "zvav" == a ? ((B += "Mini"), (M = null)) : (B += "Mobile"),
  35480. (z = z.replace(RegExp(" *" + a + "$"), "")))
  35481. : "Safari" == B &&
  35482. /\bChrome\b/.exec(D && D[1]) &&
  35483. (R.unshift("desktop mode"),
  35484. (B = "Chrome Mobile"),
  35485. (M = null),
  35486. /\bOS X\b/.test(z) ? ((U = "Apple"), (z = "iOS 4.3+")) : (z = null)),
  35487. M && 0 == M.indexOf((a = /[\d.]+$/.exec(z))) && e.indexOf("/" + a + "-") > -1 && (z = A(z.replace(a, ""))),
  35488. D &&
  35489. !/\b(?:Avant|Nook)\b/.test(B) &&
  35490. (/Browser|Lunascape|Maxthon/.test(B) ||
  35491. ("Safari" != B && /^iOS/.test(z) && /\bSafari\b/.test(D[1])) ||
  35492. (/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(B) &&
  35493. D[1])) &&
  35494. (a = D[D.length - 1]) &&
  35495. R.push(a),
  35496. R.length && (R = ["(" + R.join("; ") + ")"]),
  35497. U && F && F.indexOf(U) < 0 && R.push("on " + U),
  35498. F && R.push((/^on /.test(R[R.length - 1]) ? "" : "on ") + F),
  35499. z &&
  35500. ((a = / ([\d.+]+)$/.exec(z)),
  35501. (s = a && "/" == z.charAt(z.length - a[0].length - 1)),
  35502. (z = {
  35503. architecture: 32,
  35504. family: a && !s ? z.replace(a[0], "") : z,
  35505. version: a ? a[1] : null,
  35506. toString: function () {
  35507. var e = this.version
  35508. return this.family + (e && !s ? " " + e : "") + (64 == this.architecture ? " 64-bit" : "")
  35509. }
  35510. })),
  35511. (a = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(j)) && !/\bi686\b/i.test(j)
  35512. ? (z && ((z.architecture = 64), (z.family = z.family.replace(RegExp(" *" + a), ""))),
  35513. B &&
  35514. (/\bWOW64\b/i.test(e) ||
  35515. (N && /\w(?:86|32)$/.test(n.cpuClass || n.platform) && !/\bWin64; x64\b/i.test(e))) &&
  35516. R.unshift("32-bit"))
  35517. : z && /^OS X/.test(z.family) && "Chrome" == B && parseFloat(M) >= 39 && (z.architecture = 64),
  35518. e || (e = null)
  35519. var K = {}
  35520. return (
  35521. (K.description = e),
  35522. (K.layout = D && D[0]),
  35523. (K.manufacturer = U),
  35524. (K.name = B),
  35525. (K.prerelease = I),
  35526. (K.product = F),
  35527. (K.ua = e),
  35528. (K.version = B && M),
  35529. (K.os = z || {
  35530. architecture: null,
  35531. family: null,
  35532. version: null,
  35533. toString: function () {
  35534. return "null"
  35535. }
  35536. }),
  35537. (K.parse = _),
  35538. (K.toString = Y),
  35539. K.version && R.unshift(M),
  35540. K.name && R.unshift(B),
  35541. z && B && (z != String(z).split(" ")[0] || (z != B.split(" ")[0] && !F)) && R.push(F ? "(" + z + ")" : "on " + z),
  35542. R.length && (K.description = R.join(" ")),
  35543. K
  35544. )
  35545. }
  35546. var T = _()
  35547. "function" == typeof define && "object" == typeof define.amd && define.amd
  35548. ? ((i.platform = T),
  35549. define(function () {
  35550. return T
  35551. }))
  35552. : o && a
  35553. ? y(T, function (e, t) {
  35554. o[t] = e
  35555. })
  35556. : (i.platform = T)
  35557. }).call(this)
  35558. }).call(
  35559. this,
  35560. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  35561. )
  35562. },
  35563. {}
  35564. ],
  35565. 317: [
  35566. function (e, t, r) {
  35567. ;(function (e) {
  35568. "use strict"
  35569. function r(t, r, n, i) {
  35570. if ("function" !== typeof t) throw new TypeError('"callback" argument must be a function')
  35571. var o,
  35572. a,
  35573. s = arguments.length
  35574. switch (s) {
  35575. case 0:
  35576. case 1:
  35577. return e.nextTick(t)
  35578. case 2:
  35579. return e.nextTick(function () {
  35580. t.call(null, r)
  35581. })
  35582. case 3:
  35583. return e.nextTick(function () {
  35584. t.call(null, r, n)
  35585. })
  35586. case 4:
  35587. return e.nextTick(function () {
  35588. t.call(null, r, n, i)
  35589. })
  35590. default:
  35591. ;(o = new Array(s - 1)), (a = 0)
  35592. while (a < o.length) o[a++] = arguments[a]
  35593. return e.nextTick(function () {
  35594. t.apply(null, o)
  35595. })
  35596. }
  35597. }
  35598. "undefined" === typeof e ||
  35599. !e.version ||
  35600. 0 === e.version.indexOf("v0.") ||
  35601. (0 === e.version.indexOf("v1.") && 0 !== e.version.indexOf("v1.8."))
  35602. ? (t.exports = {
  35603. nextTick: r
  35604. })
  35605. : (t.exports = e)
  35606. }).call(this, e("_process"))
  35607. },
  35608. {
  35609. _process: 392
  35610. }
  35611. ],
  35612. 318: [
  35613. function (e, t, r) {
  35614. var n,
  35615. i,
  35616. o = (t.exports = {})
  35617. function a() {
  35618. throw new Error("setTimeout has not been defined")
  35619. }
  35620. function s() {
  35621. throw new Error("clearTimeout has not been defined")
  35622. }
  35623. function l(e) {
  35624. if (n === setTimeout) return setTimeout(e, 0)
  35625. if ((n === a || !n) && setTimeout) return (n = setTimeout), setTimeout(e, 0)
  35626. try {
  35627. return n(e, 0)
  35628. } catch (t) {
  35629. try {
  35630. return n.call(null, e, 0)
  35631. } catch (t) {
  35632. return n.call(this, e, 0)
  35633. }
  35634. }
  35635. }
  35636. function c(e) {
  35637. if (i === clearTimeout) return clearTimeout(e)
  35638. if ((i === s || !i) && clearTimeout) return (i = clearTimeout), clearTimeout(e)
  35639. try {
  35640. return i(e)
  35641. } catch (t) {
  35642. try {
  35643. return i.call(null, e)
  35644. } catch (t) {
  35645. return i.call(this, e)
  35646. }
  35647. }
  35648. }
  35649. ;(function () {
  35650. try {
  35651. n = "function" === typeof setTimeout ? setTimeout : a
  35652. } catch (e) {
  35653. n = a
  35654. }
  35655. try {
  35656. i = "function" === typeof clearTimeout ? clearTimeout : s
  35657. } catch (e) {
  35658. i = s
  35659. }
  35660. })()
  35661. var u,
  35662. f = [],
  35663. p = !1,
  35664. d = -1
  35665. function h() {
  35666. p && u && ((p = !1), u.length ? (f = u.concat(f)) : (d = -1), f.length && m())
  35667. }
  35668. function m() {
  35669. if (!p) {
  35670. var e = l(h)
  35671. p = !0
  35672. var t = f.length
  35673. while (t) {
  35674. ;(u = f), (f = [])
  35675. while (++d < t) u && u[d].run()
  35676. ;(d = -1), (t = f.length)
  35677. }
  35678. ;(u = null), (p = !1), c(e)
  35679. }
  35680. }
  35681. function g(e, t) {
  35682. ;(this.fun = e), (this.array = t)
  35683. }
  35684. function y() {}
  35685. ;(o.nextTick = function (e) {
  35686. var t = new Array(arguments.length - 1)
  35687. if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]
  35688. f.push(new g(e, t)), 1 !== f.length || p || l(m)
  35689. }),
  35690. (g.prototype.run = function () {
  35691. this.fun.apply(null, this.array)
  35692. }),
  35693. (o.title = "browser"),
  35694. (o.browser = !0),
  35695. (o.env = {}),
  35696. (o.argv = []),
  35697. (o.version = ""),
  35698. (o.versions = {}),
  35699. (o.on = y),
  35700. (o.addListener = y),
  35701. (o.once = y),
  35702. (o.off = y),
  35703. (o.removeListener = y),
  35704. (o.removeAllListeners = y),
  35705. (o.emit = y),
  35706. (o.prependListener = y),
  35707. (o.prependOnceListener = y),
  35708. (o.listeners = function (e) {
  35709. return []
  35710. }),
  35711. (o.binding = function (e) {
  35712. throw new Error("process.binding is not supported")
  35713. }),
  35714. (o.cwd = function () {
  35715. return "/"
  35716. }),
  35717. (o.chdir = function (e) {
  35718. throw new Error("process.chdir is not supported")
  35719. }),
  35720. (o.umask = function () {
  35721. return 0
  35722. })
  35723. },
  35724. {}
  35725. ],
  35726. 319: [
  35727. function (e, t, r) {
  35728. ;(function (e) {
  35729. ;(function (n) {
  35730. var i = "object" == typeof r && r && !r.nodeType && r,
  35731. o = "object" == typeof t && t && !t.nodeType && t,
  35732. a = "object" == typeof e && e
  35733. ;(a.global !== a && a.window !== a && a.self !== a) || (n = a)
  35734. var s,
  35735. l,
  35736. c = 2147483647,
  35737. u = 36,
  35738. f = 1,
  35739. p = 26,
  35740. d = 38,
  35741. h = 700,
  35742. m = 72,
  35743. g = 128,
  35744. y = "-",
  35745. v = /^xn--/,
  35746. b = /[^\x20-\x7E]/,
  35747. w = /[\x2E\u3002\uFF0E\uFF61]/g,
  35748. x = {
  35749. overflow: "Overflow: input needs wider integers to process",
  35750. "not-basic": "Illegal input >= 0x80 (not a basic code point)",
  35751. "invalid-input": "Invalid input"
  35752. },
  35753. A = u - f,
  35754. _ = Math.floor,
  35755. T = String.fromCharCode
  35756. function E(e) {
  35757. throw new RangeError(x[e])
  35758. }
  35759. function S(e, t) {
  35760. var r = e.length,
  35761. n = []
  35762. while (r--) n[r] = t(e[r])
  35763. return n
  35764. }
  35765. function C(e, t) {
  35766. var r = e.split("@"),
  35767. n = ""
  35768. r.length > 1 && ((n = r[0] + "@"), (e = r[1])), (e = e.replace(w, "."))
  35769. var i = e.split("."),
  35770. o = S(i, t).join(".")
  35771. return n + o
  35772. }
  35773. function k(e) {
  35774. var t,
  35775. r,
  35776. n = [],
  35777. i = 0,
  35778. o = e.length
  35779. while (i < o)
  35780. (t = e.charCodeAt(i++)),
  35781. t >= 55296 && t <= 56319 && i < o
  35782. ? ((r = e.charCodeAt(i++)),
  35783. 56320 == (64512 & r) ? n.push(((1023 & t) << 10) + (1023 & r) + 65536) : (n.push(t), i--))
  35784. : n.push(t)
  35785. return n
  35786. }
  35787. function L(e) {
  35788. return S(e, function (e) {
  35789. var t = ""
  35790. return (
  35791. e > 65535 && ((e -= 65536), (t += T(((e >>> 10) & 1023) | 55296)), (e = 56320 | (1023 & e))), (t += T(e)), t
  35792. )
  35793. }).join("")
  35794. }
  35795. function P(e) {
  35796. return e - 48 < 10 ? e - 22 : e - 65 < 26 ? e - 65 : e - 97 < 26 ? e - 97 : u
  35797. }
  35798. function O(e, t) {
  35799. return e + 22 + 75 * (e < 26) - ((0 != t) << 5)
  35800. }
  35801. function j(e, t, r) {
  35802. var n = 0
  35803. for (e = r ? _(e / h) : e >> 1, e += _(e / t); e > (A * p) >> 1; n += u) e = _(e / A)
  35804. return _(n + ((A + 1) * e) / (e + d))
  35805. }
  35806. function R(e) {
  35807. var t,
  35808. r,
  35809. n,
  35810. i,
  35811. o,
  35812. a,
  35813. s,
  35814. l,
  35815. d,
  35816. h,
  35817. v = [],
  35818. b = e.length,
  35819. w = 0,
  35820. x = g,
  35821. A = m
  35822. for (r = e.lastIndexOf(y), r < 0 && (r = 0), n = 0; n < r; ++n)
  35823. e.charCodeAt(n) >= 128 && E("not-basic"), v.push(e.charCodeAt(n))
  35824. for (i = r > 0 ? r + 1 : 0; i < b; ) {
  35825. for (o = w, a = 1, s = u; ; s += u) {
  35826. if (
  35827. (i >= b && E("invalid-input"),
  35828. (l = P(e.charCodeAt(i++))),
  35829. (l >= u || l > _((c - w) / a)) && E("overflow"),
  35830. (w += l * a),
  35831. (d = s <= A ? f : s >= A + p ? p : s - A),
  35832. l < d)
  35833. )
  35834. break
  35835. ;(h = u - d), a > _(c / h) && E("overflow"), (a *= h)
  35836. }
  35837. ;(t = v.length + 1),
  35838. (A = j(w - o, t, 0 == o)),
  35839. _(w / t) > c - x && E("overflow"),
  35840. (x += _(w / t)),
  35841. (w %= t),
  35842. v.splice(w++, 0, x)
  35843. }
  35844. return L(v)
  35845. }
  35846. function I(e) {
  35847. var t,
  35848. r,
  35849. n,
  35850. i,
  35851. o,
  35852. a,
  35853. s,
  35854. l,
  35855. d,
  35856. h,
  35857. v,
  35858. b,
  35859. w,
  35860. x,
  35861. A,
  35862. S = []
  35863. for (e = k(e), b = e.length, t = g, r = 0, o = m, a = 0; a < b; ++a) (v = e[a]), v < 128 && S.push(T(v))
  35864. ;(n = i = S.length), i && S.push(y)
  35865. while (n < b) {
  35866. for (s = c, a = 0; a < b; ++a) (v = e[a]), v >= t && v < s && (s = v)
  35867. for (w = n + 1, s - t > _((c - r) / w) && E("overflow"), r += (s - t) * w, t = s, a = 0; a < b; ++a)
  35868. if (((v = e[a]), v < t && ++r > c && E("overflow"), v == t)) {
  35869. for (l = r, d = u; ; d += u) {
  35870. if (((h = d <= o ? f : d >= o + p ? p : d - o), l < h)) break
  35871. ;(A = l - h), (x = u - h), S.push(T(O(h + (A % x), 0))), (l = _(A / x))
  35872. }
  35873. S.push(T(O(l, 0))), (o = j(r, w, n == i)), (r = 0), ++n
  35874. }
  35875. ++r, ++t
  35876. }
  35877. return S.join("")
  35878. }
  35879. function N(e) {
  35880. return C(e, function (e) {
  35881. return v.test(e) ? R(e.slice(4).toLowerCase()) : e
  35882. })
  35883. }
  35884. function M(e) {
  35885. return C(e, function (e) {
  35886. return b.test(e) ? "xn--" + I(e) : e
  35887. })
  35888. }
  35889. if (
  35890. ((s = {
  35891. version: "1.4.1",
  35892. ucs2: {
  35893. decode: k,
  35894. encode: L
  35895. },
  35896. decode: R,
  35897. encode: I,
  35898. toASCII: M,
  35899. toUnicode: N
  35900. }),
  35901. "function" == typeof define && "object" == typeof define.amd && define.amd)
  35902. )
  35903. define("punycode", function () {
  35904. return s
  35905. })
  35906. else if (i && o)
  35907. if (t.exports == i) o.exports = s
  35908. else for (l in s) s.hasOwnProperty(l) && (i[l] = s[l])
  35909. else n.punycode = s
  35910. })(this)
  35911. }).call(
  35912. this,
  35913. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  35914. )
  35915. },
  35916. {}
  35917. ],
  35918. 320: [
  35919. function (e, t, r) {
  35920. "use strict"
  35921. function n(e, t) {
  35922. return Object.prototype.hasOwnProperty.call(e, t)
  35923. }
  35924. t.exports = function (e, t, r, o) {
  35925. ;(t = t || "&"), (r = r || "=")
  35926. var a = {}
  35927. if ("string" !== typeof e || 0 === e.length) return a
  35928. var s = /\+/g
  35929. e = e.split(t)
  35930. var l = 1e3
  35931. o && "number" === typeof o.maxKeys && (l = o.maxKeys)
  35932. var c = e.length
  35933. l > 0 && c > l && (c = l)
  35934. for (var u = 0; u < c; ++u) {
  35935. var f,
  35936. p,
  35937. d,
  35938. h,
  35939. m = e[u].replace(s, "%20"),
  35940. g = m.indexOf(r)
  35941. g >= 0 ? ((f = m.substr(0, g)), (p = m.substr(g + 1))) : ((f = m), (p = "")),
  35942. (d = decodeURIComponent(f)),
  35943. (h = decodeURIComponent(p)),
  35944. n(a, d) ? (i(a[d]) ? a[d].push(h) : (a[d] = [a[d], h])) : (a[d] = h)
  35945. }
  35946. return a
  35947. }
  35948. var i =
  35949. Array.isArray ||
  35950. function (e) {
  35951. return "[object Array]" === Object.prototype.toString.call(e)
  35952. }
  35953. },
  35954. {}
  35955. ],
  35956. 321: [
  35957. function (e, t, r) {
  35958. "use strict"
  35959. var n = function (e) {
  35960. switch (typeof e) {
  35961. case "string":
  35962. return e
  35963. case "boolean":
  35964. return e ? "true" : "false"
  35965. case "number":
  35966. return isFinite(e) ? e : ""
  35967. default:
  35968. return ""
  35969. }
  35970. }
  35971. t.exports = function (e, t, r, s) {
  35972. return (
  35973. (t = t || "&"),
  35974. (r = r || "="),
  35975. null === e && (e = void 0),
  35976. "object" === typeof e
  35977. ? o(a(e), function (a) {
  35978. var s = encodeURIComponent(n(a)) + r
  35979. return i(e[a])
  35980. ? o(e[a], function (e) {
  35981. return s + encodeURIComponent(n(e))
  35982. }).join(t)
  35983. : s + encodeURIComponent(n(e[a]))
  35984. }).join(t)
  35985. : s
  35986. ? encodeURIComponent(n(s)) + r + encodeURIComponent(n(e))
  35987. : ""
  35988. )
  35989. }
  35990. var i =
  35991. Array.isArray ||
  35992. function (e) {
  35993. return "[object Array]" === Object.prototype.toString.call(e)
  35994. }
  35995. function o(e, t) {
  35996. if (e.map) return e.map(t)
  35997. for (var r = [], n = 0; n < e.length; n++) r.push(t(e[n], n))
  35998. return r
  35999. }
  36000. var a =
  36001. Object.keys ||
  36002. function (e) {
  36003. var t = []
  36004. for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r)
  36005. return t
  36006. }
  36007. },
  36008. {}
  36009. ],
  36010. 322: [
  36011. function (e, t, r) {
  36012. "use strict"
  36013. ;(r.decode = r.parse = e("./decode")), (r.encode = r.stringify = e("./encode"))
  36014. },
  36015. {
  36016. "./decode": 320,
  36017. "./encode": 321
  36018. }
  36019. ],
  36020. 323: [
  36021. function (e, t, r) {
  36022. t.exports = e("./lib/_stream_duplex.js")
  36023. },
  36024. {
  36025. "./lib/_stream_duplex.js": 324
  36026. }
  36027. ],
  36028. 324: [
  36029. function (e, t, r) {
  36030. "use strict"
  36031. var n = e("process-nextick-args"),
  36032. i =
  36033. Object.keys ||
  36034. function (e) {
  36035. var t = []
  36036. for (var r in e) t.push(r)
  36037. return t
  36038. }
  36039. t.exports = f
  36040. var o = Object.create(e("core-util-is"))
  36041. o.inherits = e("inherits")
  36042. var a = e("./_stream_readable"),
  36043. s = e("./_stream_writable")
  36044. o.inherits(f, a)
  36045. for (var l = i(s.prototype), c = 0; c < l.length; c++) {
  36046. var u = l[c]
  36047. f.prototype[u] || (f.prototype[u] = s.prototype[u])
  36048. }
  36049. function f(e) {
  36050. if (!(this instanceof f)) return new f(e)
  36051. a.call(this, e),
  36052. s.call(this, e),
  36053. e && !1 === e.readable && (this.readable = !1),
  36054. e && !1 === e.writable && (this.writable = !1),
  36055. (this.allowHalfOpen = !0),
  36056. e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1),
  36057. this.once("end", p)
  36058. }
  36059. function p() {
  36060. this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this)
  36061. }
  36062. function d(e) {
  36063. e.end()
  36064. }
  36065. Object.defineProperty(f.prototype, "writableHighWaterMark", {
  36066. enumerable: !1,
  36067. get: function () {
  36068. return this._writableState.highWaterMark
  36069. }
  36070. }),
  36071. Object.defineProperty(f.prototype, "destroyed", {
  36072. get: function () {
  36073. return (
  36074. void 0 !== this._readableState &&
  36075. void 0 !== this._writableState &&
  36076. this._readableState.destroyed &&
  36077. this._writableState.destroyed
  36078. )
  36079. },
  36080. set: function (e) {
  36081. void 0 !== this._readableState &&
  36082. void 0 !== this._writableState &&
  36083. ((this._readableState.destroyed = e), (this._writableState.destroyed = e))
  36084. }
  36085. }),
  36086. (f.prototype._destroy = function (e, t) {
  36087. this.push(null), this.end(), n.nextTick(t, e)
  36088. })
  36089. },
  36090. {
  36091. "./_stream_readable": 326,
  36092. "./_stream_writable": 328,
  36093. "core-util-is": 293,
  36094. inherits: 306,
  36095. "process-nextick-args": 317
  36096. }
  36097. ],
  36098. 325: [
  36099. function (e, t, r) {
  36100. "use strict"
  36101. t.exports = o
  36102. var n = e("./_stream_transform"),
  36103. i = Object.create(e("core-util-is"))
  36104. function o(e) {
  36105. if (!(this instanceof o)) return new o(e)
  36106. n.call(this, e)
  36107. }
  36108. ;(i.inherits = e("inherits")),
  36109. i.inherits(o, n),
  36110. (o.prototype._transform = function (e, t, r) {
  36111. r(null, e)
  36112. })
  36113. },
  36114. {
  36115. "./_stream_transform": 327,
  36116. "core-util-is": 293,
  36117. inherits: 306
  36118. }
  36119. ],
  36120. 326: [
  36121. function (e, t, r) {
  36122. ;(function (r, n) {
  36123. "use strict"
  36124. var i = e("process-nextick-args")
  36125. t.exports = A
  36126. var o,
  36127. a = e("isarray")
  36128. A.ReadableState = x
  36129. e("events").EventEmitter
  36130. var s = function (e, t) {
  36131. return e.listeners(t).length
  36132. },
  36133. l = e("./internal/streams/stream"),
  36134. c = e("safe-buffer").Buffer,
  36135. u = n.Uint8Array || function () {}
  36136. function f(e) {
  36137. return c.from(e)
  36138. }
  36139. function p(e) {
  36140. return c.isBuffer(e) || e instanceof u
  36141. }
  36142. var d = Object.create(e("core-util-is"))
  36143. d.inherits = e("inherits")
  36144. var h = e("util"),
  36145. m = void 0
  36146. m = h && h.debuglog ? h.debuglog("stream") : function () {}
  36147. var g,
  36148. y = e("./internal/streams/BufferList"),
  36149. v = e("./internal/streams/destroy")
  36150. d.inherits(A, l)
  36151. var b = ["error", "close", "destroy", "pause", "resume"]
  36152. function w(e, t, r) {
  36153. if ("function" === typeof e.prependListener) return e.prependListener(t, r)
  36154. e._events && e._events[t]
  36155. ? a(e._events[t])
  36156. ? e._events[t].unshift(r)
  36157. : (e._events[t] = [r, e._events[t]])
  36158. : e.on(t, r)
  36159. }
  36160. function x(t, r) {
  36161. ;(o = o || e("./_stream_duplex")), (t = t || {})
  36162. var n = r instanceof o
  36163. ;(this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.readableObjectMode)
  36164. var i = t.highWaterMark,
  36165. a = t.readableHighWaterMark,
  36166. s = this.objectMode ? 16 : 16384
  36167. ;(this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s),
  36168. (this.highWaterMark = Math.floor(this.highWaterMark)),
  36169. (this.buffer = new y()),
  36170. (this.length = 0),
  36171. (this.pipes = null),
  36172. (this.pipesCount = 0),
  36173. (this.flowing = null),
  36174. (this.ended = !1),
  36175. (this.endEmitted = !1),
  36176. (this.reading = !1),
  36177. (this.sync = !0),
  36178. (this.needReadable = !1),
  36179. (this.emittedReadable = !1),
  36180. (this.readableListening = !1),
  36181. (this.resumeScheduled = !1),
  36182. (this.destroyed = !1),
  36183. (this.defaultEncoding = t.defaultEncoding || "utf8"),
  36184. (this.awaitDrain = 0),
  36185. (this.readingMore = !1),
  36186. (this.decoder = null),
  36187. (this.encoding = null),
  36188. t.encoding &&
  36189. (g || (g = e("string_decoder/").StringDecoder), (this.decoder = new g(t.encoding)), (this.encoding = t.encoding))
  36190. }
  36191. function A(t) {
  36192. if (((o = o || e("./_stream_duplex")), !(this instanceof A))) return new A(t)
  36193. ;(this._readableState = new x(t, this)),
  36194. (this.readable = !0),
  36195. t &&
  36196. ("function" === typeof t.read && (this._read = t.read),
  36197. "function" === typeof t.destroy && (this._destroy = t.destroy)),
  36198. l.call(this)
  36199. }
  36200. function _(e, t, r, n, i) {
  36201. var o,
  36202. a = e._readableState
  36203. null === t
  36204. ? ((a.reading = !1), P(e, a))
  36205. : (i || (o = E(a, t)),
  36206. o
  36207. ? e.emit("error", o)
  36208. : a.objectMode || (t && t.length > 0)
  36209. ? ("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = f(t)),
  36210. n
  36211. ? a.endEmitted
  36212. ? e.emit("error", new Error("stream.unshift() after end event"))
  36213. : T(e, a, t, !0)
  36214. : a.ended
  36215. ? e.emit("error", new Error("stream.push() after EOF"))
  36216. : ((a.reading = !1),
  36217. a.decoder && !r
  36218. ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : R(e, a))
  36219. : T(e, a, t, !1)))
  36220. : n || (a.reading = !1))
  36221. return S(a)
  36222. }
  36223. function T(e, t, r, n) {
  36224. t.flowing && 0 === t.length && !t.sync
  36225. ? (e.emit("data", r), e.read(0))
  36226. : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && O(e)),
  36227. R(e, t)
  36228. }
  36229. function E(e, t) {
  36230. var r
  36231. return (
  36232. p(t) ||
  36233. "string" === typeof t ||
  36234. void 0 === t ||
  36235. e.objectMode ||
  36236. (r = new TypeError("Invalid non-string/buffer chunk")),
  36237. r
  36238. )
  36239. }
  36240. function S(e) {
  36241. return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length)
  36242. }
  36243. Object.defineProperty(A.prototype, "destroyed", {
  36244. get: function () {
  36245. return void 0 !== this._readableState && this._readableState.destroyed
  36246. },
  36247. set: function (e) {
  36248. this._readableState && (this._readableState.destroyed = e)
  36249. }
  36250. }),
  36251. (A.prototype.destroy = v.destroy),
  36252. (A.prototype._undestroy = v.undestroy),
  36253. (A.prototype._destroy = function (e, t) {
  36254. this.push(null), t(e)
  36255. }),
  36256. (A.prototype.push = function (e, t) {
  36257. var r,
  36258. n = this._readableState
  36259. return (
  36260. n.objectMode
  36261. ? (r = !0)
  36262. : "string" === typeof e &&
  36263. ((t = t || n.defaultEncoding), t !== n.encoding && ((e = c.from(e, t)), (t = "")), (r = !0)),
  36264. _(this, e, t, !1, r)
  36265. )
  36266. }),
  36267. (A.prototype.unshift = function (e) {
  36268. return _(this, e, null, !0, !1)
  36269. }),
  36270. (A.prototype.isPaused = function () {
  36271. return !1 === this._readableState.flowing
  36272. }),
  36273. (A.prototype.setEncoding = function (t) {
  36274. return (
  36275. g || (g = e("string_decoder/").StringDecoder),
  36276. (this._readableState.decoder = new g(t)),
  36277. (this._readableState.encoding = t),
  36278. this
  36279. )
  36280. })
  36281. var C = 8388608
  36282. function k(e) {
  36283. return e >= C ? (e = C) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e
  36284. }
  36285. function L(e, t) {
  36286. return e <= 0 || (0 === t.length && t.ended)
  36287. ? 0
  36288. : t.objectMode
  36289. ? 1
  36290. : e !== e
  36291. ? t.flowing && t.length
  36292. ? t.buffer.head.data.length
  36293. : t.length
  36294. : (e > t.highWaterMark && (t.highWaterMark = k(e)),
  36295. e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0))
  36296. }
  36297. function P(e, t) {
  36298. if (!t.ended) {
  36299. if (t.decoder) {
  36300. var r = t.decoder.end()
  36301. r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length))
  36302. }
  36303. ;(t.ended = !0), O(e)
  36304. }
  36305. }
  36306. function O(e) {
  36307. var t = e._readableState
  36308. ;(t.needReadable = !1),
  36309. t.emittedReadable || (m("emitReadable", t.flowing), (t.emittedReadable = !0), t.sync ? i.nextTick(j, e) : j(e))
  36310. }
  36311. function j(e) {
  36312. m("emit readable"), e.emit("readable"), F(e)
  36313. }
  36314. function R(e, t) {
  36315. t.readingMore || ((t.readingMore = !0), i.nextTick(I, e, t))
  36316. }
  36317. function I(e, t) {
  36318. var r = t.length
  36319. while (!t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark) {
  36320. if ((m("maybeReadMore read 0"), e.read(0), r === t.length)) break
  36321. r = t.length
  36322. }
  36323. t.readingMore = !1
  36324. }
  36325. function N(e) {
  36326. return function () {
  36327. var t = e._readableState
  36328. m("pipeOnDrain", t.awaitDrain),
  36329. t.awaitDrain && t.awaitDrain--,
  36330. 0 === t.awaitDrain && s(e, "data") && ((t.flowing = !0), F(e))
  36331. }
  36332. }
  36333. function M(e) {
  36334. m("readable nexttick read 0"), e.read(0)
  36335. }
  36336. function D(e, t) {
  36337. t.resumeScheduled || ((t.resumeScheduled = !0), i.nextTick(B, e, t))
  36338. }
  36339. function B(e, t) {
  36340. t.reading || (m("resume read 0"), e.read(0)),
  36341. (t.resumeScheduled = !1),
  36342. (t.awaitDrain = 0),
  36343. e.emit("resume"),
  36344. F(e),
  36345. t.flowing && !t.reading && e.read(0)
  36346. }
  36347. function F(e) {
  36348. var t = e._readableState
  36349. m("flow", t.flowing)
  36350. while (t.flowing && null !== e.read());
  36351. }
  36352. function U(e, t) {
  36353. return 0 === t.length
  36354. ? null
  36355. : (t.objectMode
  36356. ? (r = t.buffer.shift())
  36357. : !e || e >= t.length
  36358. ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length)),
  36359. t.buffer.clear())
  36360. : (r = z(e, t.buffer, t.decoder)),
  36361. r)
  36362. var r
  36363. }
  36364. function z(e, t, r) {
  36365. var n
  36366. return (
  36367. e < t.head.data.length
  36368. ? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e)))
  36369. : (n = e === t.head.data.length ? t.shift() : r ? q(e, t) : G(e, t)),
  36370. n
  36371. )
  36372. }
  36373. function q(e, t) {
  36374. var r = t.head,
  36375. n = 1,
  36376. i = r.data
  36377. e -= i.length
  36378. while ((r = r.next)) {
  36379. var o = r.data,
  36380. a = e > o.length ? o.length : e
  36381. if ((a === o.length ? (i += o) : (i += o.slice(0, e)), (e -= a), 0 === e)) {
  36382. a === o.length
  36383. ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null))
  36384. : ((t.head = r), (r.data = o.slice(a)))
  36385. break
  36386. }
  36387. ++n
  36388. }
  36389. return (t.length -= n), i
  36390. }
  36391. function G(e, t) {
  36392. var r = c.allocUnsafe(e),
  36393. n = t.head,
  36394. i = 1
  36395. n.data.copy(r), (e -= n.data.length)
  36396. while ((n = n.next)) {
  36397. var o = n.data,
  36398. a = e > o.length ? o.length : e
  36399. if ((o.copy(r, r.length - e, 0, a), (e -= a), 0 === e)) {
  36400. a === o.length
  36401. ? (++i, n.next ? (t.head = n.next) : (t.head = t.tail = null))
  36402. : ((t.head = n), (n.data = o.slice(a)))
  36403. break
  36404. }
  36405. ++i
  36406. }
  36407. return (t.length -= i), r
  36408. }
  36409. function W(e) {
  36410. var t = e._readableState
  36411. if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream')
  36412. t.endEmitted || ((t.ended = !0), i.nextTick(V, t, e))
  36413. }
  36414. function V(e, t) {
  36415. e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit("end"))
  36416. }
  36417. function H(e, t) {
  36418. for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r
  36419. return -1
  36420. }
  36421. ;(A.prototype.read = function (e) {
  36422. m("read", e), (e = parseInt(e, 10))
  36423. var t = this._readableState,
  36424. r = e
  36425. if ((0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)))
  36426. return m("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? W(this) : O(this), null
  36427. if (((e = L(e, t)), 0 === e && t.ended)) return 0 === t.length && W(this), null
  36428. var n,
  36429. i = t.needReadable
  36430. return (
  36431. m("need readable", i),
  36432. (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), m("length less than watermark", i)),
  36433. t.ended || t.reading
  36434. ? ((i = !1), m("reading or ended", i))
  36435. : i &&
  36436. (m("do read"),
  36437. (t.reading = !0),
  36438. (t.sync = !0),
  36439. 0 === t.length && (t.needReadable = !0),
  36440. this._read(t.highWaterMark),
  36441. (t.sync = !1),
  36442. t.reading || (e = L(r, t))),
  36443. (n = e > 0 ? U(e, t) : null),
  36444. null === n ? ((t.needReadable = !0), (e = 0)) : (t.length -= e),
  36445. 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && W(this)),
  36446. null !== n && this.emit("data", n),
  36447. n
  36448. )
  36449. }),
  36450. (A.prototype._read = function (e) {
  36451. this.emit("error", new Error("_read() is not implemented"))
  36452. }),
  36453. (A.prototype.pipe = function (e, t) {
  36454. var n = this,
  36455. o = this._readableState
  36456. switch (o.pipesCount) {
  36457. case 0:
  36458. o.pipes = e
  36459. break
  36460. case 1:
  36461. o.pipes = [o.pipes, e]
  36462. break
  36463. default:
  36464. o.pipes.push(e)
  36465. break
  36466. }
  36467. ;(o.pipesCount += 1), m("pipe count=%d opts=%j", o.pipesCount, t)
  36468. var a = (!t || !1 !== t.end) && e !== r.stdout && e !== r.stderr,
  36469. l = a ? u : x
  36470. function c(e, t) {
  36471. m("onunpipe"), e === n && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d())
  36472. }
  36473. function u() {
  36474. m("onend"), e.end()
  36475. }
  36476. o.endEmitted ? i.nextTick(l) : n.once("end", l), e.on("unpipe", c)
  36477. var f = N(n)
  36478. e.on("drain", f)
  36479. var p = !1
  36480. function d() {
  36481. m("cleanup"),
  36482. e.removeListener("close", v),
  36483. e.removeListener("finish", b),
  36484. e.removeListener("drain", f),
  36485. e.removeListener("error", y),
  36486. e.removeListener("unpipe", c),
  36487. n.removeListener("end", u),
  36488. n.removeListener("end", x),
  36489. n.removeListener("data", g),
  36490. (p = !0),
  36491. !o.awaitDrain || (e._writableState && !e._writableState.needDrain) || f()
  36492. }
  36493. var h = !1
  36494. function g(t) {
  36495. m("ondata"), (h = !1)
  36496. var r = e.write(t)
  36497. !1 !== r ||
  36498. h ||
  36499. (((1 === o.pipesCount && o.pipes === e) || (o.pipesCount > 1 && -1 !== H(o.pipes, e))) &&
  36500. !p &&
  36501. (m("false write response, pause", n._readableState.awaitDrain), n._readableState.awaitDrain++, (h = !0)),
  36502. n.pause())
  36503. }
  36504. function y(t) {
  36505. m("onerror", t), x(), e.removeListener("error", y), 0 === s(e, "error") && e.emit("error", t)
  36506. }
  36507. function v() {
  36508. e.removeListener("finish", b), x()
  36509. }
  36510. function b() {
  36511. m("onfinish"), e.removeListener("close", v), x()
  36512. }
  36513. function x() {
  36514. m("unpipe"), n.unpipe(e)
  36515. }
  36516. return (
  36517. n.on("data", g),
  36518. w(e, "error", y),
  36519. e.once("close", v),
  36520. e.once("finish", b),
  36521. e.emit("pipe", n),
  36522. o.flowing || (m("pipe resume"), n.resume()),
  36523. e
  36524. )
  36525. }),
  36526. (A.prototype.unpipe = function (e) {
  36527. var t = this._readableState,
  36528. r = {
  36529. hasUnpiped: !1
  36530. }
  36531. if (0 === t.pipesCount) return this
  36532. if (1 === t.pipesCount)
  36533. return (
  36534. (e && e !== t.pipes) ||
  36535. (e || (e = t.pipes),
  36536. (t.pipes = null),
  36537. (t.pipesCount = 0),
  36538. (t.flowing = !1),
  36539. e && e.emit("unpipe", this, r)),
  36540. this
  36541. )
  36542. if (!e) {
  36543. var n = t.pipes,
  36544. i = t.pipesCount
  36545. ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1)
  36546. for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r)
  36547. return this
  36548. }
  36549. var a = H(t.pipes, e)
  36550. return (
  36551. -1 === a ||
  36552. (t.pipes.splice(a, 1),
  36553. (t.pipesCount -= 1),
  36554. 1 === t.pipesCount && (t.pipes = t.pipes[0]),
  36555. e.emit("unpipe", this, r)),
  36556. this
  36557. )
  36558. }),
  36559. (A.prototype.on = function (e, t) {
  36560. var r = l.prototype.on.call(this, e, t)
  36561. if ("data" === e) !1 !== this._readableState.flowing && this.resume()
  36562. else if ("readable" === e) {
  36563. var n = this._readableState
  36564. n.endEmitted ||
  36565. n.readableListening ||
  36566. ((n.readableListening = n.needReadable = !0),
  36567. (n.emittedReadable = !1),
  36568. n.reading ? n.length && O(this) : i.nextTick(M, this))
  36569. }
  36570. return r
  36571. }),
  36572. (A.prototype.addListener = A.prototype.on),
  36573. (A.prototype.resume = function () {
  36574. var e = this._readableState
  36575. return e.flowing || (m("resume"), (e.flowing = !0), D(this, e)), this
  36576. }),
  36577. (A.prototype.pause = function () {
  36578. return (
  36579. m("call pause flowing=%j", this._readableState.flowing),
  36580. !1 !== this._readableState.flowing && (m("pause"), (this._readableState.flowing = !1), this.emit("pause")),
  36581. this
  36582. )
  36583. }),
  36584. (A.prototype.wrap = function (e) {
  36585. var t = this,
  36586. r = this._readableState,
  36587. n = !1
  36588. for (var i in (e.on("end", function () {
  36589. if ((m("wrapped end"), r.decoder && !r.ended)) {
  36590. var e = r.decoder.end()
  36591. e && e.length && t.push(e)
  36592. }
  36593. t.push(null)
  36594. }),
  36595. e.on("data", function (i) {
  36596. if (
  36597. (m("wrapped data"),
  36598. r.decoder && (i = r.decoder.write(i)),
  36599. (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length)))
  36600. ) {
  36601. var o = t.push(i)
  36602. o || ((n = !0), e.pause())
  36603. }
  36604. }),
  36605. e))
  36606. void 0 === this[i] &&
  36607. "function" === typeof e[i] &&
  36608. (this[i] = (function (t) {
  36609. return function () {
  36610. return e[t].apply(e, arguments)
  36611. }
  36612. })(i))
  36613. for (var o = 0; o < b.length; o++) e.on(b[o], this.emit.bind(this, b[o]))
  36614. return (
  36615. (this._read = function (t) {
  36616. m("wrapped _read", t), n && ((n = !1), e.resume())
  36617. }),
  36618. this
  36619. )
  36620. }),
  36621. Object.defineProperty(A.prototype, "readableHighWaterMark", {
  36622. enumerable: !1,
  36623. get: function () {
  36624. return this._readableState.highWaterMark
  36625. }
  36626. }),
  36627. (A._fromList = U)
  36628. }).call(
  36629. this,
  36630. e("_process"),
  36631. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  36632. )
  36633. },
  36634. {
  36635. "./_stream_duplex": 324,
  36636. "./internal/streams/BufferList": 329,
  36637. "./internal/streams/destroy": 330,
  36638. "./internal/streams/stream": 331,
  36639. _process: 392,
  36640. "core-util-is": 293,
  36641. events: 296,
  36642. inherits: 306,
  36643. isarray: 308,
  36644. "process-nextick-args": 317,
  36645. "safe-buffer": 337,
  36646. "string_decoder/": 340,
  36647. util: 79
  36648. }
  36649. ],
  36650. 327: [
  36651. function (e, t, r) {
  36652. "use strict"
  36653. t.exports = a
  36654. var n = e("./_stream_duplex"),
  36655. i = Object.create(e("core-util-is"))
  36656. function o(e, t) {
  36657. var r = this._transformState
  36658. r.transforming = !1
  36659. var n = r.writecb
  36660. if (!n) return this.emit("error", new Error("write callback called multiple times"))
  36661. ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e)
  36662. var i = this._readableState
  36663. ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
  36664. }
  36665. function a(e) {
  36666. if (!(this instanceof a)) return new a(e)
  36667. n.call(this, e),
  36668. (this._transformState = {
  36669. afterTransform: o.bind(this),
  36670. needTransform: !1,
  36671. transforming: !1,
  36672. writecb: null,
  36673. writechunk: null,
  36674. writeencoding: null
  36675. }),
  36676. (this._readableState.needReadable = !0),
  36677. (this._readableState.sync = !1),
  36678. e &&
  36679. ("function" === typeof e.transform && (this._transform = e.transform),
  36680. "function" === typeof e.flush && (this._flush = e.flush)),
  36681. this.on("prefinish", s)
  36682. }
  36683. function s() {
  36684. var e = this
  36685. "function" === typeof this._flush
  36686. ? this._flush(function (t, r) {
  36687. l(e, t, r)
  36688. })
  36689. : l(this, null, null)
  36690. }
  36691. function l(e, t, r) {
  36692. if (t) return e.emit("error", t)
  36693. if ((null != r && e.push(r), e._writableState.length)) throw new Error("Calling transform done when ws.length != 0")
  36694. if (e._transformState.transforming) throw new Error("Calling transform done when still transforming")
  36695. return e.push(null)
  36696. }
  36697. ;(i.inherits = e("inherits")),
  36698. i.inherits(a, n),
  36699. (a.prototype.push = function (e, t) {
  36700. return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t)
  36701. }),
  36702. (a.prototype._transform = function (e, t, r) {
  36703. throw new Error("_transform() is not implemented")
  36704. }),
  36705. (a.prototype._write = function (e, t, r) {
  36706. var n = this._transformState
  36707. if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) {
  36708. var i = this._readableState
  36709. ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
  36710. }
  36711. }),
  36712. (a.prototype._read = function (e) {
  36713. var t = this._transformState
  36714. null !== t.writechunk && t.writecb && !t.transforming
  36715. ? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
  36716. : (t.needTransform = !0)
  36717. }),
  36718. (a.prototype._destroy = function (e, t) {
  36719. var r = this
  36720. n.prototype._destroy.call(this, e, function (e) {
  36721. t(e), r.emit("close")
  36722. })
  36723. })
  36724. },
  36725. {
  36726. "./_stream_duplex": 324,
  36727. "core-util-is": 293,
  36728. inherits: 306
  36729. }
  36730. ],
  36731. 328: [
  36732. function (e, t, r) {
  36733. ;(function (r, n, i) {
  36734. "use strict"
  36735. var o = e("process-nextick-args")
  36736. function a(e) {
  36737. var t = this
  36738. ;(this.next = null),
  36739. (this.entry = null),
  36740. (this.finish = function () {
  36741. D(t, e)
  36742. })
  36743. }
  36744. t.exports = w
  36745. var s,
  36746. l = !r.browser && ["v0.10", "v0.9."].indexOf(r.version.slice(0, 5)) > -1 ? i : o.nextTick
  36747. w.WritableState = b
  36748. var c = Object.create(e("core-util-is"))
  36749. c.inherits = e("inherits")
  36750. var u = {
  36751. deprecate: e("util-deprecate")
  36752. },
  36753. f = e("./internal/streams/stream"),
  36754. p = e("safe-buffer").Buffer,
  36755. d = n.Uint8Array || function () {}
  36756. function h(e) {
  36757. return p.from(e)
  36758. }
  36759. function m(e) {
  36760. return p.isBuffer(e) || e instanceof d
  36761. }
  36762. var g,
  36763. y = e("./internal/streams/destroy")
  36764. function v() {}
  36765. function b(t, r) {
  36766. ;(s = s || e("./_stream_duplex")), (t = t || {})
  36767. var n = r instanceof s
  36768. ;(this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.writableObjectMode)
  36769. var i = t.highWaterMark,
  36770. o = t.writableHighWaterMark,
  36771. l = this.objectMode ? 16 : 16384
  36772. ;(this.highWaterMark = i || 0 === i ? i : n && (o || 0 === o) ? o : l),
  36773. (this.highWaterMark = Math.floor(this.highWaterMark)),
  36774. (this.finalCalled = !1),
  36775. (this.needDrain = !1),
  36776. (this.ending = !1),
  36777. (this.ended = !1),
  36778. (this.finished = !1),
  36779. (this.destroyed = !1)
  36780. var c = !1 === t.decodeStrings
  36781. ;(this.decodeStrings = !c),
  36782. (this.defaultEncoding = t.defaultEncoding || "utf8"),
  36783. (this.length = 0),
  36784. (this.writing = !1),
  36785. (this.corked = 0),
  36786. (this.sync = !0),
  36787. (this.bufferProcessing = !1),
  36788. (this.onwrite = function (e) {
  36789. k(r, e)
  36790. }),
  36791. (this.writecb = null),
  36792. (this.writelen = 0),
  36793. (this.bufferedRequest = null),
  36794. (this.lastBufferedRequest = null),
  36795. (this.pendingcb = 0),
  36796. (this.prefinished = !1),
  36797. (this.errorEmitted = !1),
  36798. (this.bufferedRequestCount = 0),
  36799. (this.corkedRequestsFree = new a(this))
  36800. }
  36801. function w(t) {
  36802. if (((s = s || e("./_stream_duplex")), !g.call(w, this) && !(this instanceof s))) return new w(t)
  36803. ;(this._writableState = new b(t, this)),
  36804. (this.writable = !0),
  36805. t &&
  36806. ("function" === typeof t.write && (this._write = t.write),
  36807. "function" === typeof t.writev && (this._writev = t.writev),
  36808. "function" === typeof t.destroy && (this._destroy = t.destroy),
  36809. "function" === typeof t.final && (this._final = t.final)),
  36810. f.call(this)
  36811. }
  36812. function x(e, t) {
  36813. var r = new Error("write after end")
  36814. e.emit("error", r), o.nextTick(t, r)
  36815. }
  36816. function A(e, t, r, n) {
  36817. var i = !0,
  36818. a = !1
  36819. return (
  36820. null === r
  36821. ? (a = new TypeError("May not write null values to stream"))
  36822. : "string" === typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")),
  36823. a && (e.emit("error", a), o.nextTick(n, a), (i = !1)),
  36824. i
  36825. )
  36826. }
  36827. function _(e, t, r) {
  36828. return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = p.from(t, r)), t
  36829. }
  36830. function T(e, t, r, n, i, o) {
  36831. if (!r) {
  36832. var a = _(t, n, i)
  36833. n !== a && ((r = !0), (i = "buffer"), (n = a))
  36834. }
  36835. var s = t.objectMode ? 1 : n.length
  36836. t.length += s
  36837. var l = t.length < t.highWaterMark
  36838. if ((l || (t.needDrain = !0), t.writing || t.corked)) {
  36839. var c = t.lastBufferedRequest
  36840. ;(t.lastBufferedRequest = {
  36841. chunk: n,
  36842. encoding: i,
  36843. isBuf: r,
  36844. callback: o,
  36845. next: null
  36846. }),
  36847. c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
  36848. (t.bufferedRequestCount += 1)
  36849. } else E(e, t, !1, s, n, i, o)
  36850. return l
  36851. }
  36852. function E(e, t, r, n, i, o, a) {
  36853. ;(t.writelen = n),
  36854. (t.writecb = a),
  36855. (t.writing = !0),
  36856. (t.sync = !0),
  36857. r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite),
  36858. (t.sync = !1)
  36859. }
  36860. function S(e, t, r, n, i) {
  36861. --t.pendingcb,
  36862. r
  36863. ? (o.nextTick(i, n), o.nextTick(N, e, t), (e._writableState.errorEmitted = !0), e.emit("error", n))
  36864. : (i(n), (e._writableState.errorEmitted = !0), e.emit("error", n), N(e, t))
  36865. }
  36866. function C(e) {
  36867. ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0)
  36868. }
  36869. function k(e, t) {
  36870. var r = e._writableState,
  36871. n = r.sync,
  36872. i = r.writecb
  36873. if ((C(r), t)) S(e, r, n, t, i)
  36874. else {
  36875. var o = j(r)
  36876. o || r.corked || r.bufferProcessing || !r.bufferedRequest || O(e, r), n ? l(L, e, r, o, i) : L(e, r, o, i)
  36877. }
  36878. }
  36879. function L(e, t, r, n) {
  36880. r || P(e, t), t.pendingcb--, n(), N(e, t)
  36881. }
  36882. function P(e, t) {
  36883. 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain"))
  36884. }
  36885. function O(e, t) {
  36886. t.bufferProcessing = !0
  36887. var r = t.bufferedRequest
  36888. if (e._writev && r && r.next) {
  36889. var n = t.bufferedRequestCount,
  36890. i = new Array(n),
  36891. o = t.corkedRequestsFree
  36892. o.entry = r
  36893. var s = 0,
  36894. l = !0
  36895. while (r) (i[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1)
  36896. ;(i.allBuffers = l),
  36897. E(e, t, !0, t.length, i, "", o.finish),
  36898. t.pendingcb++,
  36899. (t.lastBufferedRequest = null),
  36900. o.next ? ((t.corkedRequestsFree = o.next), (o.next = null)) : (t.corkedRequestsFree = new a(t)),
  36901. (t.bufferedRequestCount = 0)
  36902. } else {
  36903. while (r) {
  36904. var c = r.chunk,
  36905. u = r.encoding,
  36906. f = r.callback,
  36907. p = t.objectMode ? 1 : c.length
  36908. if ((E(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break
  36909. }
  36910. null === r && (t.lastBufferedRequest = null)
  36911. }
  36912. ;(t.bufferedRequest = r), (t.bufferProcessing = !1)
  36913. }
  36914. function j(e) {
  36915. return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing
  36916. }
  36917. function R(e, t) {
  36918. e._final(function (r) {
  36919. t.pendingcb--, r && e.emit("error", r), (t.prefinished = !0), e.emit("prefinish"), N(e, t)
  36920. })
  36921. }
  36922. function I(e, t) {
  36923. t.prefinished ||
  36924. t.finalCalled ||
  36925. ("function" === typeof e._final
  36926. ? (t.pendingcb++, (t.finalCalled = !0), o.nextTick(R, e, t))
  36927. : ((t.prefinished = !0), e.emit("prefinish")))
  36928. }
  36929. function N(e, t) {
  36930. var r = j(t)
  36931. return r && (I(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"))), r
  36932. }
  36933. function M(e, t, r) {
  36934. ;(t.ending = !0), N(e, t), r && (t.finished ? o.nextTick(r) : e.once("finish", r)), (t.ended = !0), (e.writable = !1)
  36935. }
  36936. function D(e, t, r) {
  36937. var n = e.entry
  36938. e.entry = null
  36939. while (n) {
  36940. var i = n.callback
  36941. t.pendingcb--, i(r), (n = n.next)
  36942. }
  36943. t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e)
  36944. }
  36945. c.inherits(w, f),
  36946. (b.prototype.getBuffer = function () {
  36947. var e = this.bufferedRequest,
  36948. t = []
  36949. while (e) t.push(e), (e = e.next)
  36950. return t
  36951. }),
  36952. (function () {
  36953. try {
  36954. Object.defineProperty(b.prototype, "buffer", {
  36955. get: u.deprecate(
  36956. function () {
  36957. return this.getBuffer()
  36958. },
  36959. "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
  36960. "DEP0003"
  36961. )
  36962. })
  36963. } catch (e) {}
  36964. })(),
  36965. "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance]
  36966. ? ((g = Function.prototype[Symbol.hasInstance]),
  36967. Object.defineProperty(w, Symbol.hasInstance, {
  36968. value: function (e) {
  36969. return !!g.call(this, e) || (this === w && e && e._writableState instanceof b)
  36970. }
  36971. }))
  36972. : (g = function (e) {
  36973. return e instanceof this
  36974. }),
  36975. (w.prototype.pipe = function () {
  36976. this.emit("error", new Error("Cannot pipe, not readable"))
  36977. }),
  36978. (w.prototype.write = function (e, t, r) {
  36979. var n = this._writableState,
  36980. i = !1,
  36981. o = !n.objectMode && m(e)
  36982. return (
  36983. o && !p.isBuffer(e) && (e = h(e)),
  36984. "function" === typeof t && ((r = t), (t = null)),
  36985. o ? (t = "buffer") : t || (t = n.defaultEncoding),
  36986. "function" !== typeof r && (r = v),
  36987. n.ended ? x(this, r) : (o || A(this, n, e, r)) && (n.pendingcb++, (i = T(this, n, o, e, t, r))),
  36988. i
  36989. )
  36990. }),
  36991. (w.prototype.cork = function () {
  36992. var e = this._writableState
  36993. e.corked++
  36994. }),
  36995. (w.prototype.uncork = function () {
  36996. var e = this._writableState
  36997. e.corked &&
  36998. (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || O(this, e))
  36999. }),
  37000. (w.prototype.setDefaultEncoding = function (e) {
  37001. if (
  37002. ("string" === typeof e && (e = e.toLowerCase()),
  37003. !(
  37004. ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf(
  37005. (e + "").toLowerCase()
  37006. ) > -1
  37007. ))
  37008. )
  37009. throw new TypeError("Unknown encoding: " + e)
  37010. return (this._writableState.defaultEncoding = e), this
  37011. }),
  37012. Object.defineProperty(w.prototype, "writableHighWaterMark", {
  37013. enumerable: !1,
  37014. get: function () {
  37015. return this._writableState.highWaterMark
  37016. }
  37017. }),
  37018. (w.prototype._write = function (e, t, r) {
  37019. r(new Error("_write() is not implemented"))
  37020. }),
  37021. (w.prototype._writev = null),
  37022. (w.prototype.end = function (e, t, r) {
  37023. var n = this._writableState
  37024. "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)),
  37025. null !== e && void 0 !== e && this.write(e, t),
  37026. n.corked && ((n.corked = 1), this.uncork()),
  37027. n.ending || n.finished || M(this, n, r)
  37028. }),
  37029. Object.defineProperty(w.prototype, "destroyed", {
  37030. get: function () {
  37031. return void 0 !== this._writableState && this._writableState.destroyed
  37032. },
  37033. set: function (e) {
  37034. this._writableState && (this._writableState.destroyed = e)
  37035. }
  37036. }),
  37037. (w.prototype.destroy = y.destroy),
  37038. (w.prototype._undestroy = y.undestroy),
  37039. (w.prototype._destroy = function (e, t) {
  37040. this.end(), t(e)
  37041. })
  37042. }).call(
  37043. this,
  37044. e("_process"),
  37045. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {},
  37046. e("timers").setImmediate
  37047. )
  37048. },
  37049. {
  37050. "./_stream_duplex": 324,
  37051. "./internal/streams/destroy": 330,
  37052. "./internal/streams/stream": 331,
  37053. _process: 392,
  37054. "core-util-is": 293,
  37055. inherits: 306,
  37056. "process-nextick-args": 317,
  37057. "safe-buffer": 337,
  37058. timers: 341,
  37059. "util-deprecate": 342
  37060. }
  37061. ],
  37062. 329: [
  37063. function (e, t, r) {
  37064. "use strict"
  37065. function n(e, t) {
  37066. if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  37067. }
  37068. var i = e("safe-buffer").Buffer,
  37069. o = e("util")
  37070. function a(e, t, r) {
  37071. e.copy(t, r)
  37072. }
  37073. ;(t.exports = (function () {
  37074. function e() {
  37075. n(this, e), (this.head = null), (this.tail = null), (this.length = 0)
  37076. }
  37077. return (
  37078. (e.prototype.push = function (e) {
  37079. var t = {
  37080. data: e,
  37081. next: null
  37082. }
  37083. this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length
  37084. }),
  37085. (e.prototype.unshift = function (e) {
  37086. var t = {
  37087. data: e,
  37088. next: this.head
  37089. }
  37090. 0 === this.length && (this.tail = t), (this.head = t), ++this.length
  37091. }),
  37092. (e.prototype.shift = function () {
  37093. if (0 !== this.length) {
  37094. var e = this.head.data
  37095. return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e
  37096. }
  37097. }),
  37098. (e.prototype.clear = function () {
  37099. ;(this.head = this.tail = null), (this.length = 0)
  37100. }),
  37101. (e.prototype.join = function (e) {
  37102. if (0 === this.length) return ""
  37103. var t = this.head,
  37104. r = "" + t.data
  37105. while ((t = t.next)) r += e + t.data
  37106. return r
  37107. }),
  37108. (e.prototype.concat = function (e) {
  37109. if (0 === this.length) return i.alloc(0)
  37110. if (1 === this.length) return this.head.data
  37111. var t = i.allocUnsafe(e >>> 0),
  37112. r = this.head,
  37113. n = 0
  37114. while (r) a(r.data, t, n), (n += r.data.length), (r = r.next)
  37115. return t
  37116. }),
  37117. e
  37118. )
  37119. })()),
  37120. o &&
  37121. o.inspect &&
  37122. o.inspect.custom &&
  37123. (t.exports.prototype[o.inspect.custom] = function () {
  37124. var e = o.inspect({
  37125. length: this.length
  37126. })
  37127. return this.constructor.name + " " + e
  37128. })
  37129. },
  37130. {
  37131. "safe-buffer": 337,
  37132. util: 79
  37133. }
  37134. ],
  37135. 330: [
  37136. function (e, t, r) {
  37137. "use strict"
  37138. var n = e("process-nextick-args")
  37139. function i(e, t) {
  37140. var r = this,
  37141. i = this._readableState && this._readableState.destroyed,
  37142. o = this._writableState && this._writableState.destroyed
  37143. return i || o
  37144. ? (t ? t(e) : !e || (this._writableState && this._writableState.errorEmitted) || n.nextTick(a, this, e), this)
  37145. : (this._readableState && (this._readableState.destroyed = !0),
  37146. this._writableState && (this._writableState.destroyed = !0),
  37147. this._destroy(e || null, function (e) {
  37148. !t && e ? (n.nextTick(a, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e)
  37149. }),
  37150. this)
  37151. }
  37152. function o() {
  37153. this._readableState &&
  37154. ((this._readableState.destroyed = !1),
  37155. (this._readableState.reading = !1),
  37156. (this._readableState.ended = !1),
  37157. (this._readableState.endEmitted = !1)),
  37158. this._writableState &&
  37159. ((this._writableState.destroyed = !1),
  37160. (this._writableState.ended = !1),
  37161. (this._writableState.ending = !1),
  37162. (this._writableState.finished = !1),
  37163. (this._writableState.errorEmitted = !1))
  37164. }
  37165. function a(e, t) {
  37166. e.emit("error", t)
  37167. }
  37168. t.exports = {
  37169. destroy: i,
  37170. undestroy: o
  37171. }
  37172. },
  37173. {
  37174. "process-nextick-args": 317
  37175. }
  37176. ],
  37177. 331: [
  37178. function (e, t, r) {
  37179. arguments[4][97][0].apply(r, arguments)
  37180. },
  37181. {
  37182. dup: 97,
  37183. events: 296
  37184. }
  37185. ],
  37186. 332: [
  37187. function (e, t, r) {
  37188. t.exports = e("./readable").PassThrough
  37189. },
  37190. {
  37191. "./readable": 333
  37192. }
  37193. ],
  37194. 333: [
  37195. function (e, t, r) {
  37196. ;(r = t.exports = e("./lib/_stream_readable.js")),
  37197. (r.Stream = r),
  37198. (r.Readable = r),
  37199. (r.Writable = e("./lib/_stream_writable.js")),
  37200. (r.Duplex = e("./lib/_stream_duplex.js")),
  37201. (r.Transform = e("./lib/_stream_transform.js")),
  37202. (r.PassThrough = e("./lib/_stream_passthrough.js"))
  37203. },
  37204. {
  37205. "./lib/_stream_duplex.js": 324,
  37206. "./lib/_stream_passthrough.js": 325,
  37207. "./lib/_stream_readable.js": 326,
  37208. "./lib/_stream_transform.js": 327,
  37209. "./lib/_stream_writable.js": 328
  37210. }
  37211. ],
  37212. 334: [
  37213. function (e, t, r) {
  37214. t.exports = e("./readable").Transform
  37215. },
  37216. {
  37217. "./readable": 333
  37218. }
  37219. ],
  37220. 335: [
  37221. function (e, t, r) {
  37222. t.exports = e("./lib/_stream_writable.js")
  37223. },
  37224. {
  37225. "./lib/_stream_writable.js": 328
  37226. }
  37227. ],
  37228. 336: [
  37229. function (e, t, r) {
  37230. !(function (e) {
  37231. "use strict"
  37232. var r,
  37233. n = Object.prototype,
  37234. i = n.hasOwnProperty,
  37235. o = "function" === typeof Symbol ? Symbol : {},
  37236. a = o.iterator || "@@iterator",
  37237. s = o.asyncIterator || "@@asyncIterator",
  37238. l = o.toStringTag || "@@toStringTag",
  37239. c = "object" === typeof t,
  37240. u = e.regeneratorRuntime
  37241. if (u) c && (t.exports = u)
  37242. else {
  37243. ;(u = e.regeneratorRuntime = c ? t.exports : {}), (u.wrap = w)
  37244. var f = "suspendedStart",
  37245. p = "suspendedYield",
  37246. d = "executing",
  37247. h = "completed",
  37248. m = {},
  37249. g = {}
  37250. g[a] = function () {
  37251. return this
  37252. }
  37253. var y = Object.getPrototypeOf,
  37254. v = y && y(y(j([])))
  37255. v && v !== n && i.call(v, a) && (g = v)
  37256. var b = (T.prototype = A.prototype = Object.create(g))
  37257. ;(_.prototype = b.constructor = T),
  37258. (T.constructor = _),
  37259. (T[l] = _.displayName = "GeneratorFunction"),
  37260. (u.isGeneratorFunction = function (e) {
  37261. var t = "function" === typeof e && e.constructor
  37262. return !!t && (t === _ || "GeneratorFunction" === (t.displayName || t.name))
  37263. }),
  37264. (u.mark = function (e) {
  37265. return (
  37266. Object.setPrototypeOf
  37267. ? Object.setPrototypeOf(e, T)
  37268. : ((e.__proto__ = T), l in e || (e[l] = "GeneratorFunction")),
  37269. (e.prototype = Object.create(b)),
  37270. e
  37271. )
  37272. }),
  37273. (u.awrap = function (e) {
  37274. return {
  37275. __await: e
  37276. }
  37277. }),
  37278. E(S.prototype),
  37279. (S.prototype[s] = function () {
  37280. return this
  37281. }),
  37282. (u.AsyncIterator = S),
  37283. (u.async = function (e, t, r, n) {
  37284. var i = new S(w(e, t, r, n))
  37285. return u.isGeneratorFunction(t)
  37286. ? i
  37287. : i.next().then(function (e) {
  37288. return e.done ? e.value : i.next()
  37289. })
  37290. }),
  37291. E(b),
  37292. (b[l] = "Generator"),
  37293. (b[a] = function () {
  37294. return this
  37295. }),
  37296. (b.toString = function () {
  37297. return "[object Generator]"
  37298. }),
  37299. (u.keys = function (e) {
  37300. var t = []
  37301. for (var r in e) t.push(r)
  37302. return (
  37303. t.reverse(),
  37304. function r() {
  37305. while (t.length) {
  37306. var n = t.pop()
  37307. if (n in e) return (r.value = n), (r.done = !1), r
  37308. }
  37309. return (r.done = !0), r
  37310. }
  37311. )
  37312. }),
  37313. (u.values = j),
  37314. (O.prototype = {
  37315. constructor: O,
  37316. reset: function (e) {
  37317. if (
  37318. ((this.prev = 0),
  37319. (this.next = 0),
  37320. (this.sent = this._sent = r),
  37321. (this.done = !1),
  37322. (this.delegate = null),
  37323. (this.method = "next"),
  37324. (this.arg = r),
  37325. this.tryEntries.forEach(P),
  37326. !e)
  37327. )
  37328. for (var t in this) "t" === t.charAt(0) && i.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = r)
  37329. },
  37330. stop: function () {
  37331. this.done = !0
  37332. var e = this.tryEntries[0],
  37333. t = e.completion
  37334. if ("throw" === t.type) throw t.arg
  37335. return this.rval
  37336. },
  37337. dispatchException: function (e) {
  37338. if (this.done) throw e
  37339. var t = this
  37340. function n(n, i) {
  37341. return (s.type = "throw"), (s.arg = e), (t.next = n), i && ((t.method = "next"), (t.arg = r)), !!i
  37342. }
  37343. for (var o = this.tryEntries.length - 1; o >= 0; --o) {
  37344. var a = this.tryEntries[o],
  37345. s = a.completion
  37346. if ("root" === a.tryLoc) return n("end")
  37347. if (a.tryLoc <= this.prev) {
  37348. var l = i.call(a, "catchLoc"),
  37349. c = i.call(a, "finallyLoc")
  37350. if (l && c) {
  37351. if (this.prev < a.catchLoc) return n(a.catchLoc, !0)
  37352. if (this.prev < a.finallyLoc) return n(a.finallyLoc)
  37353. } else if (l) {
  37354. if (this.prev < a.catchLoc) return n(a.catchLoc, !0)
  37355. } else {
  37356. if (!c) throw new Error("try statement without catch or finally")
  37357. if (this.prev < a.finallyLoc) return n(a.finallyLoc)
  37358. }
  37359. }
  37360. }
  37361. },
  37362. abrupt: function (e, t) {
  37363. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  37364. var n = this.tryEntries[r]
  37365. if (n.tryLoc <= this.prev && i.call(n, "finallyLoc") && this.prev < n.finallyLoc) {
  37366. var o = n
  37367. break
  37368. }
  37369. }
  37370. o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
  37371. var a = o ? o.completion : {}
  37372. return (
  37373. (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a)
  37374. )
  37375. },
  37376. complete: function (e, t) {
  37377. if ("throw" === e.type) throw e.arg
  37378. return (
  37379. "break" === e.type || "continue" === e.type
  37380. ? (this.next = e.arg)
  37381. : "return" === e.type
  37382. ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
  37383. : "normal" === e.type && t && (this.next = t),
  37384. m
  37385. )
  37386. },
  37387. finish: function (e) {
  37388. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  37389. var r = this.tryEntries[t]
  37390. if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), P(r), m
  37391. }
  37392. },
  37393. catch: function (e) {
  37394. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  37395. var r = this.tryEntries[t]
  37396. if (r.tryLoc === e) {
  37397. var n = r.completion
  37398. if ("throw" === n.type) {
  37399. var i = n.arg
  37400. P(r)
  37401. }
  37402. return i
  37403. }
  37404. }
  37405. throw new Error("illegal catch attempt")
  37406. },
  37407. delegateYield: function (e, t, n) {
  37408. return (
  37409. (this.delegate = {
  37410. iterator: j(e),
  37411. resultName: t,
  37412. nextLoc: n
  37413. }),
  37414. "next" === this.method && (this.arg = r),
  37415. m
  37416. )
  37417. }
  37418. })
  37419. }
  37420. function w(e, t, r, n) {
  37421. var i = t && t.prototype instanceof A ? t : A,
  37422. o = Object.create(i.prototype),
  37423. a = new O(n || [])
  37424. return (o._invoke = C(e, r, a)), o
  37425. }
  37426. function x(e, t, r) {
  37427. try {
  37428. return {
  37429. type: "normal",
  37430. arg: e.call(t, r)
  37431. }
  37432. } catch (n) {
  37433. return {
  37434. type: "throw",
  37435. arg: n
  37436. }
  37437. }
  37438. }
  37439. function A() {}
  37440. function _() {}
  37441. function T() {}
  37442. function E(e) {
  37443. ;["next", "throw", "return"].forEach(function (t) {
  37444. e[t] = function (e) {
  37445. return this._invoke(t, e)
  37446. }
  37447. })
  37448. }
  37449. function S(e) {
  37450. function t(r, n, o, a) {
  37451. var s = x(e[r], e, n)
  37452. if ("throw" !== s.type) {
  37453. var l = s.arg,
  37454. c = l.value
  37455. return c && "object" === typeof c && i.call(c, "__await")
  37456. ? Promise.resolve(c.__await).then(
  37457. function (e) {
  37458. t("next", e, o, a)
  37459. },
  37460. function (e) {
  37461. t("throw", e, o, a)
  37462. }
  37463. )
  37464. : Promise.resolve(c).then(function (e) {
  37465. ;(l.value = e), o(l)
  37466. }, a)
  37467. }
  37468. a(s.arg)
  37469. }
  37470. var r
  37471. function n(e, n) {
  37472. function i() {
  37473. return new Promise(function (r, i) {
  37474. t(e, n, r, i)
  37475. })
  37476. }
  37477. return (r = r ? r.then(i, i) : i())
  37478. }
  37479. this._invoke = n
  37480. }
  37481. function C(e, t, r) {
  37482. var n = f
  37483. return function (i, o) {
  37484. if (n === d) throw new Error("Generator is already running")
  37485. if (n === h) {
  37486. if ("throw" === i) throw o
  37487. return R()
  37488. }
  37489. ;(r.method = i), (r.arg = o)
  37490. while (1) {
  37491. var a = r.delegate
  37492. if (a) {
  37493. var s = k(a, r)
  37494. if (s) {
  37495. if (s === m) continue
  37496. return s
  37497. }
  37498. }
  37499. if ("next" === r.method) r.sent = r._sent = r.arg
  37500. else if ("throw" === r.method) {
  37501. if (n === f) throw ((n = h), r.arg)
  37502. r.dispatchException(r.arg)
  37503. } else "return" === r.method && r.abrupt("return", r.arg)
  37504. n = d
  37505. var l = x(e, t, r)
  37506. if ("normal" === l.type) {
  37507. if (((n = r.done ? h : p), l.arg === m)) continue
  37508. return {
  37509. value: l.arg,
  37510. done: r.done
  37511. }
  37512. }
  37513. "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg))
  37514. }
  37515. }
  37516. }
  37517. function k(e, t) {
  37518. var n = e.iterator[t.method]
  37519. if (n === r) {
  37520. if (((t.delegate = null), "throw" === t.method)) {
  37521. if (e.iterator.return && ((t.method = "return"), (t.arg = r), k(e, t), "throw" === t.method)) return m
  37522. ;(t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a 'throw' method"))
  37523. }
  37524. return m
  37525. }
  37526. var i = x(n, e.iterator, t.arg)
  37527. if ("throw" === i.type) return (t.method = "throw"), (t.arg = i.arg), (t.delegate = null), m
  37528. var o = i.arg
  37529. return o
  37530. ? o.done
  37531. ? ((t[e.resultName] = o.value),
  37532. (t.next = e.nextLoc),
  37533. "return" !== t.method && ((t.method = "next"), (t.arg = r)),
  37534. (t.delegate = null),
  37535. m)
  37536. : o
  37537. : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), m)
  37538. }
  37539. function L(e) {
  37540. var t = {
  37541. tryLoc: e[0]
  37542. }
  37543. 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
  37544. }
  37545. function P(e) {
  37546. var t = e.completion || {}
  37547. ;(t.type = "normal"), delete t.arg, (e.completion = t)
  37548. }
  37549. function O(e) {
  37550. ;(this.tryEntries = [
  37551. {
  37552. tryLoc: "root"
  37553. }
  37554. ]),
  37555. e.forEach(L, this),
  37556. this.reset(!0)
  37557. }
  37558. function j(e) {
  37559. if (e) {
  37560. var t = e[a]
  37561. if (t) return t.call(e)
  37562. if ("function" === typeof e.next) return e
  37563. if (!isNaN(e.length)) {
  37564. var n = -1,
  37565. o = function t() {
  37566. while (++n < e.length) if (i.call(e, n)) return (t.value = e[n]), (t.done = !1), t
  37567. return (t.value = r), (t.done = !0), t
  37568. }
  37569. return (o.next = o)
  37570. }
  37571. }
  37572. return {
  37573. next: R
  37574. }
  37575. }
  37576. function R() {
  37577. return {
  37578. value: r,
  37579. done: !0
  37580. }
  37581. }
  37582. })(
  37583. (function () {
  37584. return this
  37585. })() || Function("return this")()
  37586. )
  37587. },
  37588. {}
  37589. ],
  37590. 337: [
  37591. function (e, t, r) {
  37592. var n = e("buffer"),
  37593. i = n.Buffer
  37594. function o(e, t) {
  37595. for (var r in e) t[r] = e[r]
  37596. }
  37597. function a(e, t, r) {
  37598. return i(e, t, r)
  37599. }
  37600. i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (t.exports = n) : (o(n, r), (r.Buffer = a)),
  37601. o(i, a),
  37602. (a.from = function (e, t, r) {
  37603. if ("number" === typeof e) throw new TypeError("Argument must not be a number")
  37604. return i(e, t, r)
  37605. }),
  37606. (a.alloc = function (e, t, r) {
  37607. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  37608. var n = i(e)
  37609. return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n
  37610. }),
  37611. (a.allocUnsafe = function (e) {
  37612. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  37613. return i(e)
  37614. }),
  37615. (a.allocUnsafeSlow = function (e) {
  37616. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  37617. return n.SlowBuffer(e)
  37618. })
  37619. },
  37620. {
  37621. buffer: 99
  37622. }
  37623. ],
  37624. 338: [
  37625. function (e, t, r) {
  37626. ;(function (t) {
  37627. ;(function (r) {
  37628. ;(r.parser = function (e, t) {
  37629. return new o(e, t)
  37630. }),
  37631. (r.SAXParser = o),
  37632. (r.SAXStream = f),
  37633. (r.createStream = u),
  37634. (r.MAX_BUFFER_LENGTH = 65536)
  37635. var n,
  37636. i = [
  37637. "comment",
  37638. "sgmlDecl",
  37639. "textNode",
  37640. "tagName",
  37641. "doctype",
  37642. "procInstName",
  37643. "procInstBody",
  37644. "entity",
  37645. "attribName",
  37646. "attribValue",
  37647. "cdata",
  37648. "script"
  37649. ]
  37650. function o(e, t) {
  37651. if (!(this instanceof o)) return new o(e, t)
  37652. var n = this
  37653. s(n),
  37654. (n.q = n.c = ""),
  37655. (n.bufferCheckPosition = r.MAX_BUFFER_LENGTH),
  37656. (n.opt = t || {}),
  37657. (n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags),
  37658. (n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase"),
  37659. (n.tags = []),
  37660. (n.closed = n.closedRoot = n.sawRoot = !1),
  37661. (n.tag = n.error = null),
  37662. (n.strict = !!e),
  37663. (n.noscript = !(!e && !n.opt.noscript)),
  37664. (n.state = S.BEGIN),
  37665. (n.strictEntities = n.opt.strictEntities),
  37666. (n.ENTITIES = n.strictEntities ? Object.create(r.XML_ENTITIES) : Object.create(r.ENTITIES)),
  37667. (n.attribList = []),
  37668. n.opt.xmlns && (n.ns = Object.create(g)),
  37669. (n.trackPosition = !1 !== n.opt.position),
  37670. n.trackPosition && (n.position = n.line = n.column = 0),
  37671. k(n, "onready")
  37672. }
  37673. function a(e) {
  37674. for (var t = Math.max(r.MAX_BUFFER_LENGTH, 10), n = 0, o = 0, a = i.length; o < a; o++) {
  37675. var s = e[i[o]].length
  37676. if (s > t)
  37677. switch (i[o]) {
  37678. case "textNode":
  37679. P(e)
  37680. break
  37681. case "cdata":
  37682. L(e, "oncdata", e.cdata), (e.cdata = "")
  37683. break
  37684. case "script":
  37685. L(e, "onscript", e.script), (e.script = "")
  37686. break
  37687. default:
  37688. j(e, "Max buffer length exceeded: " + i[o])
  37689. }
  37690. n = Math.max(n, s)
  37691. }
  37692. var l = r.MAX_BUFFER_LENGTH - n
  37693. e.bufferCheckPosition = l + e.position
  37694. }
  37695. function s(e) {
  37696. for (var t = 0, r = i.length; t < r; t++) e[i[t]] = ""
  37697. }
  37698. function l(e) {
  37699. P(e),
  37700. "" !== e.cdata && (L(e, "oncdata", e.cdata), (e.cdata = "")),
  37701. "" !== e.script && (L(e, "onscript", e.script), (e.script = ""))
  37702. }
  37703. ;(r.EVENTS = [
  37704. "text",
  37705. "processinginstruction",
  37706. "sgmldeclaration",
  37707. "doctype",
  37708. "comment",
  37709. "opentagstart",
  37710. "attribute",
  37711. "opentag",
  37712. "closetag",
  37713. "opencdata",
  37714. "cdata",
  37715. "closecdata",
  37716. "error",
  37717. "end",
  37718. "ready",
  37719. "script",
  37720. "opennamespace",
  37721. "closenamespace"
  37722. ]),
  37723. Object.create ||
  37724. (Object.create = function (e) {
  37725. function t() {}
  37726. t.prototype = e
  37727. var r = new t()
  37728. return r
  37729. }),
  37730. Object.keys ||
  37731. (Object.keys = function (e) {
  37732. var t = []
  37733. for (var r in e) e.hasOwnProperty(r) && t.push(r)
  37734. return t
  37735. }),
  37736. (o.prototype = {
  37737. end: function () {
  37738. R(this)
  37739. },
  37740. write: G,
  37741. resume: function () {
  37742. return (this.error = null), this
  37743. },
  37744. close: function () {
  37745. return this.write(null)
  37746. },
  37747. flush: function () {
  37748. l(this)
  37749. }
  37750. })
  37751. try {
  37752. n = e("stream").Stream
  37753. } catch (W) {
  37754. n = function () {}
  37755. }
  37756. var c = r.EVENTS.filter(function (e) {
  37757. return "error" !== e && "end" !== e
  37758. })
  37759. function u(e, t) {
  37760. return new f(e, t)
  37761. }
  37762. function f(e, t) {
  37763. if (!(this instanceof f)) return new f(e, t)
  37764. n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0)
  37765. var r = this
  37766. ;(this._parser.onend = function () {
  37767. r.emit("end")
  37768. }),
  37769. (this._parser.onerror = function (e) {
  37770. r.emit("error", e), (r._parser.error = null)
  37771. }),
  37772. (this._decoder = null),
  37773. c.forEach(function (e) {
  37774. Object.defineProperty(r, "on" + e, {
  37775. get: function () {
  37776. return r._parser["on" + e]
  37777. },
  37778. set: function (t) {
  37779. if (!t) return r.removeAllListeners(e), (r._parser["on" + e] = t), t
  37780. r.on(e, t)
  37781. },
  37782. enumerable: !0,
  37783. configurable: !1
  37784. })
  37785. })
  37786. }
  37787. ;(f.prototype = Object.create(n.prototype, {
  37788. constructor: {
  37789. value: f
  37790. }
  37791. })),
  37792. (f.prototype.write = function (r) {
  37793. if ("function" === typeof t && "function" === typeof t.isBuffer && t.isBuffer(r)) {
  37794. if (!this._decoder) {
  37795. var n = e("string_decoder").StringDecoder
  37796. this._decoder = new n("utf8")
  37797. }
  37798. r = this._decoder.write(r)
  37799. }
  37800. return this._parser.write(r.toString()), this.emit("data", r), !0
  37801. }),
  37802. (f.prototype.end = function (e) {
  37803. return e && e.length && this.write(e), this._parser.end(), !0
  37804. }),
  37805. (f.prototype.on = function (e, t) {
  37806. var r = this
  37807. return (
  37808. r._parser["on" + e] ||
  37809. -1 === c.indexOf(e) ||
  37810. (r._parser["on" + e] = function () {
  37811. var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments)
  37812. t.splice(0, 0, e), r.emit.apply(r, t)
  37813. }),
  37814. n.prototype.on.call(r, e, t)
  37815. )
  37816. })
  37817. var p = "[CDATA[",
  37818. d = "DOCTYPE",
  37819. h = "http://www.w3.org/XML/1998/namespace",
  37820. m = "http://www.w3.org/2000/xmlns/",
  37821. g = {
  37822. xml: h,
  37823. xmlns: m
  37824. },
  37825. y =
  37826. /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
  37827. v =
  37828. /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,
  37829. b =
  37830. /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
  37831. w =
  37832. /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/
  37833. function x(e) {
  37834. return " " === e || "\n" === e || "\r" === e || "\t" === e
  37835. }
  37836. function A(e) {
  37837. return '"' === e || "'" === e
  37838. }
  37839. function _(e) {
  37840. return ">" === e || x(e)
  37841. }
  37842. function T(e, t) {
  37843. return e.test(t)
  37844. }
  37845. function E(e, t) {
  37846. return !T(e, t)
  37847. }
  37848. var S = 0
  37849. for (var C in ((r.STATE = {
  37850. BEGIN: S++,
  37851. BEGIN_WHITESPACE: S++,
  37852. TEXT: S++,
  37853. TEXT_ENTITY: S++,
  37854. OPEN_WAKA: S++,
  37855. SGML_DECL: S++,
  37856. SGML_DECL_QUOTED: S++,
  37857. DOCTYPE: S++,
  37858. DOCTYPE_QUOTED: S++,
  37859. DOCTYPE_DTD: S++,
  37860. DOCTYPE_DTD_QUOTED: S++,
  37861. COMMENT_STARTING: S++,
  37862. COMMENT: S++,
  37863. COMMENT_ENDING: S++,
  37864. COMMENT_ENDED: S++,
  37865. CDATA: S++,
  37866. CDATA_ENDING: S++,
  37867. CDATA_ENDING_2: S++,
  37868. PROC_INST: S++,
  37869. PROC_INST_BODY: S++,
  37870. PROC_INST_ENDING: S++,
  37871. OPEN_TAG: S++,
  37872. OPEN_TAG_SLASH: S++,
  37873. ATTRIB: S++,
  37874. ATTRIB_NAME: S++,
  37875. ATTRIB_NAME_SAW_WHITE: S++,
  37876. ATTRIB_VALUE: S++,
  37877. ATTRIB_VALUE_QUOTED: S++,
  37878. ATTRIB_VALUE_CLOSED: S++,
  37879. ATTRIB_VALUE_UNQUOTED: S++,
  37880. ATTRIB_VALUE_ENTITY_Q: S++,
  37881. ATTRIB_VALUE_ENTITY_U: S++,
  37882. CLOSE_TAG: S++,
  37883. CLOSE_TAG_SAW_WHITE: S++,
  37884. SCRIPT: S++,
  37885. SCRIPT_ENDING: S++
  37886. }),
  37887. (r.XML_ENTITIES = {
  37888. amp: "&",
  37889. gt: ">",
  37890. lt: "<",
  37891. quot: '"',
  37892. apos: "'"
  37893. }),
  37894. (r.ENTITIES = {
  37895. amp: "&",
  37896. gt: ">",
  37897. lt: "<",
  37898. quot: '"',
  37899. apos: "'",
  37900. AElig: 198,
  37901. Aacute: 193,
  37902. Acirc: 194,
  37903. Agrave: 192,
  37904. Aring: 197,
  37905. Atilde: 195,
  37906. Auml: 196,
  37907. Ccedil: 199,
  37908. ETH: 208,
  37909. Eacute: 201,
  37910. Ecirc: 202,
  37911. Egrave: 200,
  37912. Euml: 203,
  37913. Iacute: 205,
  37914. Icirc: 206,
  37915. Igrave: 204,
  37916. Iuml: 207,
  37917. Ntilde: 209,
  37918. Oacute: 211,
  37919. Ocirc: 212,
  37920. Ograve: 210,
  37921. Oslash: 216,
  37922. Otilde: 213,
  37923. Ouml: 214,
  37924. THORN: 222,
  37925. Uacute: 218,
  37926. Ucirc: 219,
  37927. Ugrave: 217,
  37928. Uuml: 220,
  37929. Yacute: 221,
  37930. aacute: 225,
  37931. acirc: 226,
  37932. aelig: 230,
  37933. agrave: 224,
  37934. aring: 229,
  37935. atilde: 227,
  37936. auml: 228,
  37937. ccedil: 231,
  37938. eacute: 233,
  37939. ecirc: 234,
  37940. egrave: 232,
  37941. eth: 240,
  37942. euml: 235,
  37943. iacute: 237,
  37944. icirc: 238,
  37945. igrave: 236,
  37946. iuml: 239,
  37947. ntilde: 241,
  37948. oacute: 243,
  37949. ocirc: 244,
  37950. ograve: 242,
  37951. oslash: 248,
  37952. otilde: 245,
  37953. ouml: 246,
  37954. szlig: 223,
  37955. thorn: 254,
  37956. uacute: 250,
  37957. ucirc: 251,
  37958. ugrave: 249,
  37959. uuml: 252,
  37960. yacute: 253,
  37961. yuml: 255,
  37962. copy: 169,
  37963. reg: 174,
  37964. nbsp: 160,
  37965. iexcl: 161,
  37966. cent: 162,
  37967. pound: 163,
  37968. curren: 164,
  37969. yen: 165,
  37970. brvbar: 166,
  37971. sect: 167,
  37972. uml: 168,
  37973. ordf: 170,
  37974. laquo: 171,
  37975. not: 172,
  37976. shy: 173,
  37977. macr: 175,
  37978. deg: 176,
  37979. plusmn: 177,
  37980. sup1: 185,
  37981. sup2: 178,
  37982. sup3: 179,
  37983. acute: 180,
  37984. micro: 181,
  37985. para: 182,
  37986. middot: 183,
  37987. cedil: 184,
  37988. ordm: 186,
  37989. raquo: 187,
  37990. frac14: 188,
  37991. frac12: 189,
  37992. frac34: 190,
  37993. iquest: 191,
  37994. times: 215,
  37995. divide: 247,
  37996. OElig: 338,
  37997. oelig: 339,
  37998. Scaron: 352,
  37999. scaron: 353,
  38000. Yuml: 376,
  38001. fnof: 402,
  38002. circ: 710,
  38003. tilde: 732,
  38004. Alpha: 913,
  38005. Beta: 914,
  38006. Gamma: 915,
  38007. Delta: 916,
  38008. Epsilon: 917,
  38009. Zeta: 918,
  38010. Eta: 919,
  38011. Theta: 920,
  38012. Iota: 921,
  38013. Kappa: 922,
  38014. Lambda: 923,
  38015. Mu: 924,
  38016. Nu: 925,
  38017. Xi: 926,
  38018. Omicron: 927,
  38019. Pi: 928,
  38020. Rho: 929,
  38021. Sigma: 931,
  38022. Tau: 932,
  38023. Upsilon: 933,
  38024. Phi: 934,
  38025. Chi: 935,
  38026. Psi: 936,
  38027. Omega: 937,
  38028. alpha: 945,
  38029. beta: 946,
  38030. gamma: 947,
  38031. delta: 948,
  38032. epsilon: 949,
  38033. zeta: 950,
  38034. eta: 951,
  38035. theta: 952,
  38036. iota: 953,
  38037. kappa: 954,
  38038. lambda: 955,
  38039. mu: 956,
  38040. nu: 957,
  38041. xi: 958,
  38042. omicron: 959,
  38043. pi: 960,
  38044. rho: 961,
  38045. sigmaf: 962,
  38046. sigma: 963,
  38047. tau: 964,
  38048. upsilon: 965,
  38049. phi: 966,
  38050. chi: 967,
  38051. psi: 968,
  38052. omega: 969,
  38053. thetasym: 977,
  38054. upsih: 978,
  38055. piv: 982,
  38056. ensp: 8194,
  38057. emsp: 8195,
  38058. thinsp: 8201,
  38059. zwnj: 8204,
  38060. zwj: 8205,
  38061. lrm: 8206,
  38062. rlm: 8207,
  38063. ndash: 8211,
  38064. mdash: 8212,
  38065. lsquo: 8216,
  38066. rsquo: 8217,
  38067. sbquo: 8218,
  38068. ldquo: 8220,
  38069. rdquo: 8221,
  38070. bdquo: 8222,
  38071. dagger: 8224,
  38072. Dagger: 8225,
  38073. bull: 8226,
  38074. hellip: 8230,
  38075. permil: 8240,
  38076. prime: 8242,
  38077. Prime: 8243,
  38078. lsaquo: 8249,
  38079. rsaquo: 8250,
  38080. oline: 8254,
  38081. frasl: 8260,
  38082. euro: 8364,
  38083. image: 8465,
  38084. weierp: 8472,
  38085. real: 8476,
  38086. trade: 8482,
  38087. alefsym: 8501,
  38088. larr: 8592,
  38089. uarr: 8593,
  38090. rarr: 8594,
  38091. darr: 8595,
  38092. harr: 8596,
  38093. crarr: 8629,
  38094. lArr: 8656,
  38095. uArr: 8657,
  38096. rArr: 8658,
  38097. dArr: 8659,
  38098. hArr: 8660,
  38099. forall: 8704,
  38100. part: 8706,
  38101. exist: 8707,
  38102. empty: 8709,
  38103. nabla: 8711,
  38104. isin: 8712,
  38105. notin: 8713,
  38106. ni: 8715,
  38107. prod: 8719,
  38108. sum: 8721,
  38109. minus: 8722,
  38110. lowast: 8727,
  38111. radic: 8730,
  38112. prop: 8733,
  38113. infin: 8734,
  38114. ang: 8736,
  38115. and: 8743,
  38116. or: 8744,
  38117. cap: 8745,
  38118. cup: 8746,
  38119. int: 8747,
  38120. there4: 8756,
  38121. sim: 8764,
  38122. cong: 8773,
  38123. asymp: 8776,
  38124. ne: 8800,
  38125. equiv: 8801,
  38126. le: 8804,
  38127. ge: 8805,
  38128. sub: 8834,
  38129. sup: 8835,
  38130. nsub: 8836,
  38131. sube: 8838,
  38132. supe: 8839,
  38133. oplus: 8853,
  38134. otimes: 8855,
  38135. perp: 8869,
  38136. sdot: 8901,
  38137. lceil: 8968,
  38138. rceil: 8969,
  38139. lfloor: 8970,
  38140. rfloor: 8971,
  38141. lang: 9001,
  38142. rang: 9002,
  38143. loz: 9674,
  38144. spades: 9824,
  38145. clubs: 9827,
  38146. hearts: 9829,
  38147. diams: 9830
  38148. }),
  38149. Object.keys(r.ENTITIES).forEach(function (e) {
  38150. var t = r.ENTITIES[e],
  38151. n = "number" === typeof t ? String.fromCharCode(t) : t
  38152. r.ENTITIES[e] = n
  38153. }),
  38154. r.STATE))
  38155. r.STATE[r.STATE[C]] = C
  38156. function k(e, t, r) {
  38157. e[t] && e[t](r)
  38158. }
  38159. function L(e, t, r) {
  38160. e.textNode && P(e), k(e, t, r)
  38161. }
  38162. function P(e) {
  38163. ;(e.textNode = O(e.opt, e.textNode)), e.textNode && k(e, "ontext", e.textNode), (e.textNode = "")
  38164. }
  38165. function O(e, t) {
  38166. return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t
  38167. }
  38168. function j(e, t) {
  38169. return (
  38170. P(e),
  38171. e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c),
  38172. (t = new Error(t)),
  38173. (e.error = t),
  38174. k(e, "onerror", t),
  38175. e
  38176. )
  38177. }
  38178. function R(e) {
  38179. return (
  38180. e.sawRoot && !e.closedRoot && I(e, "Unclosed root tag"),
  38181. e.state !== S.BEGIN && e.state !== S.BEGIN_WHITESPACE && e.state !== S.TEXT && j(e, "Unexpected end"),
  38182. P(e),
  38183. (e.c = ""),
  38184. (e.closed = !0),
  38185. k(e, "onend"),
  38186. o.call(e, e.strict, e.opt),
  38187. e
  38188. )
  38189. }
  38190. function I(e, t) {
  38191. if ("object" !== typeof e || !(e instanceof o)) throw new Error("bad call to strictFail")
  38192. e.strict && j(e, t)
  38193. }
  38194. function N(e) {
  38195. e.strict || (e.tagName = e.tagName[e.looseCase]())
  38196. var t = e.tags[e.tags.length - 1] || e,
  38197. r = (e.tag = {
  38198. name: e.tagName,
  38199. attributes: {}
  38200. })
  38201. e.opt.xmlns && (r.ns = t.ns), (e.attribList.length = 0), L(e, "onopentagstart", r)
  38202. }
  38203. function M(e, t) {
  38204. var r = e.indexOf(":"),
  38205. n = r < 0 ? ["", e] : e.split(":"),
  38206. i = n[0],
  38207. o = n[1]
  38208. return (
  38209. t && "xmlns" === e && ((i = "xmlns"), (o = "")),
  38210. {
  38211. prefix: i,
  38212. local: o
  38213. }
  38214. )
  38215. }
  38216. function D(e) {
  38217. if (
  38218. (e.strict || (e.attribName = e.attribName[e.looseCase]()),
  38219. -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName))
  38220. )
  38221. e.attribName = e.attribValue = ""
  38222. else {
  38223. if (e.opt.xmlns) {
  38224. var t = M(e.attribName, !0),
  38225. r = t.prefix,
  38226. n = t.local
  38227. if ("xmlns" === r)
  38228. if ("xml" === n && e.attribValue !== h)
  38229. I(e, "xml: prefix must be bound to " + h + "\nActual: " + e.attribValue)
  38230. else if ("xmlns" === n && e.attribValue !== m)
  38231. I(e, "xmlns: prefix must be bound to " + m + "\nActual: " + e.attribValue)
  38232. else {
  38233. var i = e.tag,
  38234. o = e.tags[e.tags.length - 1] || e
  38235. i.ns === o.ns && (i.ns = Object.create(o.ns)), (i.ns[n] = e.attribValue)
  38236. }
  38237. e.attribList.push([e.attribName, e.attribValue])
  38238. } else
  38239. (e.tag.attributes[e.attribName] = e.attribValue),
  38240. L(e, "onattribute", {
  38241. name: e.attribName,
  38242. value: e.attribValue
  38243. })
  38244. e.attribName = e.attribValue = ""
  38245. }
  38246. }
  38247. function B(e, t) {
  38248. if (e.opt.xmlns) {
  38249. var r = e.tag,
  38250. n = M(e.tagName)
  38251. ;(r.prefix = n.prefix),
  38252. (r.local = n.local),
  38253. (r.uri = r.ns[n.prefix] || ""),
  38254. r.prefix && !r.uri && (I(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), (r.uri = n.prefix))
  38255. var i = e.tags[e.tags.length - 1] || e
  38256. r.ns &&
  38257. i.ns !== r.ns &&
  38258. Object.keys(r.ns).forEach(function (t) {
  38259. L(e, "onopennamespace", {
  38260. prefix: t,
  38261. uri: r.ns[t]
  38262. })
  38263. })
  38264. for (var o = 0, a = e.attribList.length; o < a; o++) {
  38265. var s = e.attribList[o],
  38266. l = s[0],
  38267. c = s[1],
  38268. u = M(l, !0),
  38269. f = u.prefix,
  38270. p = u.local,
  38271. d = "" === f ? "" : r.ns[f] || "",
  38272. h = {
  38273. name: l,
  38274. value: c,
  38275. prefix: f,
  38276. local: p,
  38277. uri: d
  38278. }
  38279. f && "xmlns" !== f && !d && (I(e, "Unbound namespace prefix: " + JSON.stringify(f)), (h.uri = f)),
  38280. (e.tag.attributes[l] = h),
  38281. L(e, "onattribute", h)
  38282. }
  38283. e.attribList.length = 0
  38284. }
  38285. ;(e.tag.isSelfClosing = !!t),
  38286. (e.sawRoot = !0),
  38287. e.tags.push(e.tag),
  38288. L(e, "onopentag", e.tag),
  38289. t ||
  38290. (e.noscript || "script" !== e.tagName.toLowerCase() ? (e.state = S.TEXT) : (e.state = S.SCRIPT),
  38291. (e.tag = null),
  38292. (e.tagName = "")),
  38293. (e.attribName = e.attribValue = ""),
  38294. (e.attribList.length = 0)
  38295. }
  38296. function F(e) {
  38297. if (!e.tagName) return I(e, "Weird empty close tag."), (e.textNode += "</>"), void (e.state = S.TEXT)
  38298. if (e.script) {
  38299. if ("script" !== e.tagName)
  38300. return (e.script += "</" + e.tagName + ">"), (e.tagName = ""), void (e.state = S.SCRIPT)
  38301. L(e, "onscript", e.script), (e.script = "")
  38302. }
  38303. var t = e.tags.length,
  38304. r = e.tagName
  38305. e.strict || (r = r[e.looseCase]())
  38306. var n = r
  38307. while (t--) {
  38308. var i = e.tags[t]
  38309. if (i.name === n) break
  38310. I(e, "Unexpected close tag")
  38311. }
  38312. if (t < 0)
  38313. return (
  38314. I(e, "Unmatched closing tag: " + e.tagName), (e.textNode += "</" + e.tagName + ">"), void (e.state = S.TEXT)
  38315. )
  38316. e.tagName = r
  38317. var o = e.tags.length
  38318. while (o-- > t) {
  38319. var a = (e.tag = e.tags.pop())
  38320. ;(e.tagName = e.tag.name), L(e, "onclosetag", e.tagName)
  38321. var s = {}
  38322. for (var l in a.ns) s[l] = a.ns[l]
  38323. var c = e.tags[e.tags.length - 1] || e
  38324. e.opt.xmlns &&
  38325. a.ns !== c.ns &&
  38326. Object.keys(a.ns).forEach(function (t) {
  38327. var r = a.ns[t]
  38328. L(e, "onclosenamespace", {
  38329. prefix: t,
  38330. uri: r
  38331. })
  38332. })
  38333. }
  38334. 0 === t && (e.closedRoot = !0),
  38335. (e.tagName = e.attribValue = e.attribName = ""),
  38336. (e.attribList.length = 0),
  38337. (e.state = S.TEXT)
  38338. }
  38339. function U(e) {
  38340. var t,
  38341. r = e.entity,
  38342. n = r.toLowerCase(),
  38343. i = ""
  38344. return e.ENTITIES[r]
  38345. ? e.ENTITIES[r]
  38346. : e.ENTITIES[n]
  38347. ? e.ENTITIES[n]
  38348. : ((r = n),
  38349. "#" === r.charAt(0) &&
  38350. ("x" === r.charAt(1)
  38351. ? ((r = r.slice(2)), (t = parseInt(r, 16)), (i = t.toString(16)))
  38352. : ((r = r.slice(1)), (t = parseInt(r, 10)), (i = t.toString(10)))),
  38353. (r = r.replace(/^0+/, "")),
  38354. isNaN(t) || i.toLowerCase() !== r
  38355. ? (I(e, "Invalid character entity"), "&" + e.entity + ";")
  38356. : String.fromCodePoint(t))
  38357. }
  38358. function z(e, t) {
  38359. "<" === t
  38360. ? ((e.state = S.OPEN_WAKA), (e.startTagPosition = e.position))
  38361. : x(t) || (I(e, "Non-whitespace before first tag."), (e.textNode = t), (e.state = S.TEXT))
  38362. }
  38363. function q(e, t) {
  38364. var r = ""
  38365. return t < e.length && (r = e.charAt(t)), r
  38366. }
  38367. function G(e) {
  38368. var t = this
  38369. if (this.error) throw this.error
  38370. if (t.closed) return j(t, "Cannot write after close. Assign an onready handler.")
  38371. if (null === e) return R(t)
  38372. "object" === typeof e && (e = e.toString())
  38373. var r = 0,
  38374. n = ""
  38375. while (1) {
  38376. if (((n = q(e, r++)), (t.c = n), !n)) break
  38377. switch ((t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++), t.state)) {
  38378. case S.BEGIN:
  38379. if (((t.state = S.BEGIN_WHITESPACE), "\ufeff" === n)) continue
  38380. z(t, n)
  38381. continue
  38382. case S.BEGIN_WHITESPACE:
  38383. z(t, n)
  38384. continue
  38385. case S.TEXT:
  38386. if (t.sawRoot && !t.closedRoot) {
  38387. var i = r - 1
  38388. while (n && "<" !== n && "&" !== n)
  38389. (n = q(e, r++)),
  38390. n && t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++)
  38391. t.textNode += e.substring(i, r - 1)
  38392. }
  38393. "<" !== n || (t.sawRoot && t.closedRoot && !t.strict)
  38394. ? (x(n) || (t.sawRoot && !t.closedRoot) || I(t, "Text data outside of root node."),
  38395. "&" === n ? (t.state = S.TEXT_ENTITY) : (t.textNode += n))
  38396. : ((t.state = S.OPEN_WAKA), (t.startTagPosition = t.position))
  38397. continue
  38398. case S.SCRIPT:
  38399. "<" === n ? (t.state = S.SCRIPT_ENDING) : (t.script += n)
  38400. continue
  38401. case S.SCRIPT_ENDING:
  38402. "/" === n ? (t.state = S.CLOSE_TAG) : ((t.script += "<" + n), (t.state = S.SCRIPT))
  38403. continue
  38404. case S.OPEN_WAKA:
  38405. if ("!" === n) (t.state = S.SGML_DECL), (t.sgmlDecl = "")
  38406. else if (x(n));
  38407. else if (T(y, n)) (t.state = S.OPEN_TAG), (t.tagName = n)
  38408. else if ("/" === n) (t.state = S.CLOSE_TAG), (t.tagName = "")
  38409. else if ("?" === n) (t.state = S.PROC_INST), (t.procInstName = t.procInstBody = "")
  38410. else {
  38411. if ((I(t, "Unencoded <"), t.startTagPosition + 1 < t.position)) {
  38412. var o = t.position - t.startTagPosition
  38413. n = new Array(o).join(" ") + n
  38414. }
  38415. ;(t.textNode += "<" + n), (t.state = S.TEXT)
  38416. }
  38417. continue
  38418. case S.SGML_DECL:
  38419. ;(t.sgmlDecl + n).toUpperCase() === p
  38420. ? (L(t, "onopencdata"), (t.state = S.CDATA), (t.sgmlDecl = ""), (t.cdata = ""))
  38421. : t.sgmlDecl + n === "--"
  38422. ? ((t.state = S.COMMENT), (t.comment = ""), (t.sgmlDecl = ""))
  38423. : (t.sgmlDecl + n).toUpperCase() === d
  38424. ? ((t.state = S.DOCTYPE),
  38425. (t.doctype || t.sawRoot) && I(t, "Inappropriately located doctype declaration"),
  38426. (t.doctype = ""),
  38427. (t.sgmlDecl = ""))
  38428. : ">" === n
  38429. ? (L(t, "onsgmldeclaration", t.sgmlDecl), (t.sgmlDecl = ""), (t.state = S.TEXT))
  38430. : A(n)
  38431. ? ((t.state = S.SGML_DECL_QUOTED), (t.sgmlDecl += n))
  38432. : (t.sgmlDecl += n)
  38433. continue
  38434. case S.SGML_DECL_QUOTED:
  38435. n === t.q && ((t.state = S.SGML_DECL), (t.q = "")), (t.sgmlDecl += n)
  38436. continue
  38437. case S.DOCTYPE:
  38438. ">" === n
  38439. ? ((t.state = S.TEXT), L(t, "ondoctype", t.doctype), (t.doctype = !0))
  38440. : ((t.doctype += n),
  38441. "[" === n ? (t.state = S.DOCTYPE_DTD) : A(n) && ((t.state = S.DOCTYPE_QUOTED), (t.q = n)))
  38442. continue
  38443. case S.DOCTYPE_QUOTED:
  38444. ;(t.doctype += n), n === t.q && ((t.q = ""), (t.state = S.DOCTYPE))
  38445. continue
  38446. case S.DOCTYPE_DTD:
  38447. ;(t.doctype += n), "]" === n ? (t.state = S.DOCTYPE) : A(n) && ((t.state = S.DOCTYPE_DTD_QUOTED), (t.q = n))
  38448. continue
  38449. case S.DOCTYPE_DTD_QUOTED:
  38450. ;(t.doctype += n), n === t.q && ((t.state = S.DOCTYPE_DTD), (t.q = ""))
  38451. continue
  38452. case S.COMMENT:
  38453. "-" === n ? (t.state = S.COMMENT_ENDING) : (t.comment += n)
  38454. continue
  38455. case S.COMMENT_ENDING:
  38456. "-" === n
  38457. ? ((t.state = S.COMMENT_ENDED),
  38458. (t.comment = O(t.opt, t.comment)),
  38459. t.comment && L(t, "oncomment", t.comment),
  38460. (t.comment = ""))
  38461. : ((t.comment += "-" + n), (t.state = S.COMMENT))
  38462. continue
  38463. case S.COMMENT_ENDED:
  38464. ">" !== n ? (I(t, "Malformed comment"), (t.comment += "--" + n), (t.state = S.COMMENT)) : (t.state = S.TEXT)
  38465. continue
  38466. case S.CDATA:
  38467. "]" === n ? (t.state = S.CDATA_ENDING) : (t.cdata += n)
  38468. continue
  38469. case S.CDATA_ENDING:
  38470. "]" === n ? (t.state = S.CDATA_ENDING_2) : ((t.cdata += "]" + n), (t.state = S.CDATA))
  38471. continue
  38472. case S.CDATA_ENDING_2:
  38473. ">" === n
  38474. ? (t.cdata && L(t, "oncdata", t.cdata), L(t, "onclosecdata"), (t.cdata = ""), (t.state = S.TEXT))
  38475. : "]" === n
  38476. ? (t.cdata += "]")
  38477. : ((t.cdata += "]]" + n), (t.state = S.CDATA))
  38478. continue
  38479. case S.PROC_INST:
  38480. "?" === n ? (t.state = S.PROC_INST_ENDING) : x(n) ? (t.state = S.PROC_INST_BODY) : (t.procInstName += n)
  38481. continue
  38482. case S.PROC_INST_BODY:
  38483. if (!t.procInstBody && x(n)) continue
  38484. "?" === n ? (t.state = S.PROC_INST_ENDING) : (t.procInstBody += n)
  38485. continue
  38486. case S.PROC_INST_ENDING:
  38487. ">" === n
  38488. ? (L(t, "onprocessinginstruction", {
  38489. name: t.procInstName,
  38490. body: t.procInstBody
  38491. }),
  38492. (t.procInstName = t.procInstBody = ""),
  38493. (t.state = S.TEXT))
  38494. : ((t.procInstBody += "?" + n), (t.state = S.PROC_INST_BODY))
  38495. continue
  38496. case S.OPEN_TAG:
  38497. T(v, n)
  38498. ? (t.tagName += n)
  38499. : (N(t),
  38500. ">" === n
  38501. ? B(t)
  38502. : "/" === n
  38503. ? (t.state = S.OPEN_TAG_SLASH)
  38504. : (x(n) || I(t, "Invalid character in tag name"), (t.state = S.ATTRIB)))
  38505. continue
  38506. case S.OPEN_TAG_SLASH:
  38507. ">" === n
  38508. ? (B(t, !0), F(t))
  38509. : (I(t, "Forward-slash in opening tag not followed by >"), (t.state = S.ATTRIB))
  38510. continue
  38511. case S.ATTRIB:
  38512. if (x(n)) continue
  38513. ">" === n
  38514. ? B(t)
  38515. : "/" === n
  38516. ? (t.state = S.OPEN_TAG_SLASH)
  38517. : T(y, n)
  38518. ? ((t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME))
  38519. : I(t, "Invalid attribute name")
  38520. continue
  38521. case S.ATTRIB_NAME:
  38522. "=" === n
  38523. ? (t.state = S.ATTRIB_VALUE)
  38524. : ">" === n
  38525. ? (I(t, "Attribute without value"), (t.attribValue = t.attribName), D(t), B(t))
  38526. : x(n)
  38527. ? (t.state = S.ATTRIB_NAME_SAW_WHITE)
  38528. : T(v, n)
  38529. ? (t.attribName += n)
  38530. : I(t, "Invalid attribute name")
  38531. continue
  38532. case S.ATTRIB_NAME_SAW_WHITE:
  38533. if ("=" === n) t.state = S.ATTRIB_VALUE
  38534. else {
  38535. if (x(n)) continue
  38536. I(t, "Attribute without value"),
  38537. (t.tag.attributes[t.attribName] = ""),
  38538. (t.attribValue = ""),
  38539. L(t, "onattribute", {
  38540. name: t.attribName,
  38541. value: ""
  38542. }),
  38543. (t.attribName = ""),
  38544. ">" === n
  38545. ? B(t)
  38546. : T(y, n)
  38547. ? ((t.attribName = n), (t.state = S.ATTRIB_NAME))
  38548. : (I(t, "Invalid attribute name"), (t.state = S.ATTRIB))
  38549. }
  38550. continue
  38551. case S.ATTRIB_VALUE:
  38552. if (x(n)) continue
  38553. A(n)
  38554. ? ((t.q = n), (t.state = S.ATTRIB_VALUE_QUOTED))
  38555. : (I(t, "Unquoted attribute value"), (t.state = S.ATTRIB_VALUE_UNQUOTED), (t.attribValue = n))
  38556. continue
  38557. case S.ATTRIB_VALUE_QUOTED:
  38558. if (n !== t.q) {
  38559. "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += n)
  38560. continue
  38561. }
  38562. D(t), (t.q = ""), (t.state = S.ATTRIB_VALUE_CLOSED)
  38563. continue
  38564. case S.ATTRIB_VALUE_CLOSED:
  38565. x(n)
  38566. ? (t.state = S.ATTRIB)
  38567. : ">" === n
  38568. ? B(t)
  38569. : "/" === n
  38570. ? (t.state = S.OPEN_TAG_SLASH)
  38571. : T(y, n)
  38572. ? (I(t, "No whitespace between attributes"),
  38573. (t.attribName = n),
  38574. (t.attribValue = ""),
  38575. (t.state = S.ATTRIB_NAME))
  38576. : I(t, "Invalid attribute name")
  38577. continue
  38578. case S.ATTRIB_VALUE_UNQUOTED:
  38579. if (!_(n)) {
  38580. "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += n)
  38581. continue
  38582. }
  38583. D(t), ">" === n ? B(t) : (t.state = S.ATTRIB)
  38584. continue
  38585. case S.CLOSE_TAG:
  38586. if (t.tagName)
  38587. ">" === n
  38588. ? F(t)
  38589. : T(v, n)
  38590. ? (t.tagName += n)
  38591. : t.script
  38592. ? ((t.script += "</" + t.tagName), (t.tagName = ""), (t.state = S.SCRIPT))
  38593. : (x(n) || I(t, "Invalid tagname in closing tag"), (t.state = S.CLOSE_TAG_SAW_WHITE))
  38594. else {
  38595. if (x(n)) continue
  38596. E(y, n)
  38597. ? t.script
  38598. ? ((t.script += "</" + n), (t.state = S.SCRIPT))
  38599. : I(t, "Invalid tagname in closing tag.")
  38600. : (t.tagName = n)
  38601. }
  38602. continue
  38603. case S.CLOSE_TAG_SAW_WHITE:
  38604. if (x(n)) continue
  38605. ">" === n ? F(t) : I(t, "Invalid characters in closing tag")
  38606. continue
  38607. case S.TEXT_ENTITY:
  38608. case S.ATTRIB_VALUE_ENTITY_Q:
  38609. case S.ATTRIB_VALUE_ENTITY_U:
  38610. var s, l
  38611. switch (t.state) {
  38612. case S.TEXT_ENTITY:
  38613. ;(s = S.TEXT), (l = "textNode")
  38614. break
  38615. case S.ATTRIB_VALUE_ENTITY_Q:
  38616. ;(s = S.ATTRIB_VALUE_QUOTED), (l = "attribValue")
  38617. break
  38618. case S.ATTRIB_VALUE_ENTITY_U:
  38619. ;(s = S.ATTRIB_VALUE_UNQUOTED), (l = "attribValue")
  38620. break
  38621. }
  38622. ";" === n
  38623. ? ((t[l] += U(t)), (t.entity = ""), (t.state = s))
  38624. : T(t.entity.length ? w : b, n)
  38625. ? (t.entity += n)
  38626. : (I(t, "Invalid character in entity name"),
  38627. (t[l] += "&" + t.entity + n),
  38628. (t.entity = ""),
  38629. (t.state = s))
  38630. continue
  38631. default:
  38632. throw new Error(t, "Unknown state: " + t.state)
  38633. }
  38634. }
  38635. return t.position >= t.bufferCheckPosition && a(t), t
  38636. }
  38637. /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
  38638. ;(S = r.STATE),
  38639. String.fromCodePoint ||
  38640. (function () {
  38641. var e = String.fromCharCode,
  38642. t = Math.floor,
  38643. r = function () {
  38644. var r,
  38645. n,
  38646. i = 16384,
  38647. o = [],
  38648. a = -1,
  38649. s = arguments.length
  38650. if (!s) return ""
  38651. var l = ""
  38652. while (++a < s) {
  38653. var c = Number(arguments[a])
  38654. if (!isFinite(c) || c < 0 || c > 1114111 || t(c) !== c) throw RangeError("Invalid code point: " + c)
  38655. c <= 65535
  38656. ? o.push(c)
  38657. : ((c -= 65536), (r = 55296 + (c >> 10)), (n = (c % 1024) + 56320), o.push(r, n)),
  38658. (a + 1 === s || o.length > i) && ((l += e.apply(null, o)), (o.length = 0))
  38659. }
  38660. return l
  38661. }
  38662. Object.defineProperty
  38663. ? Object.defineProperty(String, "fromCodePoint", {
  38664. value: r,
  38665. configurable: !0,
  38666. writable: !0
  38667. })
  38668. : (String.fromCodePoint = r)
  38669. })()
  38670. })("undefined" === typeof r ? (this.sax = {}) : r)
  38671. }).call(this, e("buffer").Buffer)
  38672. },
  38673. {
  38674. buffer: 99,
  38675. stream: 339,
  38676. string_decoder: 340
  38677. }
  38678. ],
  38679. 339: [
  38680. function (e, t, r) {
  38681. t.exports = o
  38682. var n = e("events").EventEmitter,
  38683. i = e("inherits")
  38684. function o() {
  38685. n.call(this)
  38686. }
  38687. i(o, n),
  38688. (o.Readable = e("readable-stream/readable.js")),
  38689. (o.Writable = e("readable-stream/writable.js")),
  38690. (o.Duplex = e("readable-stream/duplex.js")),
  38691. (o.Transform = e("readable-stream/transform.js")),
  38692. (o.PassThrough = e("readable-stream/passthrough.js")),
  38693. (o.Stream = o),
  38694. (o.prototype.pipe = function (e, t) {
  38695. var r = this
  38696. function i(t) {
  38697. e.writable && !1 === e.write(t) && r.pause && r.pause()
  38698. }
  38699. function o() {
  38700. r.readable && r.resume && r.resume()
  38701. }
  38702. r.on("data", i), e.on("drain", o), e._isStdio || (t && !1 === t.end) || (r.on("end", s), r.on("close", l))
  38703. var a = !1
  38704. function s() {
  38705. a || ((a = !0), e.end())
  38706. }
  38707. function l() {
  38708. a || ((a = !0), "function" === typeof e.destroy && e.destroy())
  38709. }
  38710. function c(e) {
  38711. if ((u(), 0 === n.listenerCount(this, "error"))) throw e
  38712. }
  38713. function u() {
  38714. r.removeListener("data", i),
  38715. e.removeListener("drain", o),
  38716. r.removeListener("end", s),
  38717. r.removeListener("close", l),
  38718. r.removeListener("error", c),
  38719. e.removeListener("error", c),
  38720. r.removeListener("end", u),
  38721. r.removeListener("close", u),
  38722. e.removeListener("close", u)
  38723. }
  38724. return r.on("error", c), e.on("error", c), r.on("end", u), r.on("close", u), e.on("close", u), e.emit("pipe", r), e
  38725. })
  38726. },
  38727. {
  38728. events: 296,
  38729. inherits: 306,
  38730. "readable-stream/duplex.js": 323,
  38731. "readable-stream/passthrough.js": 332,
  38732. "readable-stream/readable.js": 333,
  38733. "readable-stream/transform.js": 334,
  38734. "readable-stream/writable.js": 335
  38735. }
  38736. ],
  38737. 340: [
  38738. function (e, t, r) {
  38739. "use strict"
  38740. var n = e("safe-buffer").Buffer,
  38741. i =
  38742. n.isEncoding ||
  38743. function (e) {
  38744. switch (((e = "" + e), e && e.toLowerCase())) {
  38745. case "hex":
  38746. case "utf8":
  38747. case "utf-8":
  38748. case "ascii":
  38749. case "binary":
  38750. case "base64":
  38751. case "ucs2":
  38752. case "ucs-2":
  38753. case "utf16le":
  38754. case "utf-16le":
  38755. case "raw":
  38756. return !0
  38757. default:
  38758. return !1
  38759. }
  38760. }
  38761. function o(e) {
  38762. if (!e) return "utf8"
  38763. var t
  38764. while (1)
  38765. switch (e) {
  38766. case "utf8":
  38767. case "utf-8":
  38768. return "utf8"
  38769. case "ucs2":
  38770. case "ucs-2":
  38771. case "utf16le":
  38772. case "utf-16le":
  38773. return "utf16le"
  38774. case "latin1":
  38775. case "binary":
  38776. return "latin1"
  38777. case "base64":
  38778. case "ascii":
  38779. case "hex":
  38780. return e
  38781. default:
  38782. if (t) return
  38783. ;(e = ("" + e).toLowerCase()), (t = !0)
  38784. }
  38785. }
  38786. function a(e) {
  38787. var t = o(e)
  38788. if ("string" !== typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e)
  38789. return t || e
  38790. }
  38791. function s(e) {
  38792. var t
  38793. switch (((this.encoding = a(e)), this.encoding)) {
  38794. case "utf16le":
  38795. ;(this.text = h), (this.end = m), (t = 4)
  38796. break
  38797. case "utf8":
  38798. ;(this.fillLast = f), (t = 4)
  38799. break
  38800. case "base64":
  38801. ;(this.text = g), (this.end = y), (t = 3)
  38802. break
  38803. default:
  38804. return (this.write = v), void (this.end = b)
  38805. }
  38806. ;(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t))
  38807. }
  38808. function l(e) {
  38809. return e <= 127 ? 0 : e >> 5 === 6 ? 2 : e >> 4 === 14 ? 3 : e >> 3 === 30 ? 4 : e >> 6 === 2 ? -1 : -2
  38810. }
  38811. function c(e, t, r) {
  38812. var n = t.length - 1
  38813. if (n < r) return 0
  38814. var i = l(t[n])
  38815. return i >= 0
  38816. ? (i > 0 && (e.lastNeed = i - 1), i)
  38817. : --n < r || -2 === i
  38818. ? 0
  38819. : ((i = l(t[n])),
  38820. i >= 0
  38821. ? (i > 0 && (e.lastNeed = i - 2), i)
  38822. : --n < r || -2 === i
  38823. ? 0
  38824. : ((i = l(t[n])), i >= 0 ? (i > 0 && (2 === i ? (i = 0) : (e.lastNeed = i - 3)), i) : 0))
  38825. }
  38826. function u(e, t, r) {
  38827. if (128 !== (192 & t[0])) return (e.lastNeed = 0), "�"
  38828. if (e.lastNeed > 1 && t.length > 1) {
  38829. if (128 !== (192 & t[1])) return (e.lastNeed = 1), "�"
  38830. if (e.lastNeed > 2 && t.length > 2 && 128 !== (192 & t[2])) return (e.lastNeed = 2), "�"
  38831. }
  38832. }
  38833. function f(e) {
  38834. var t = this.lastTotal - this.lastNeed,
  38835. r = u(this, e, t)
  38836. return void 0 !== r
  38837. ? r
  38838. : this.lastNeed <= e.length
  38839. ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal))
  38840. : (e.copy(this.lastChar, t, 0, e.length), void (this.lastNeed -= e.length))
  38841. }
  38842. function p(e, t) {
  38843. var r = c(this, e, t)
  38844. if (!this.lastNeed) return e.toString("utf8", t)
  38845. this.lastTotal = r
  38846. var n = e.length - (r - this.lastNeed)
  38847. return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n)
  38848. }
  38849. function d(e) {
  38850. var t = e && e.length ? this.write(e) : ""
  38851. return this.lastNeed ? t + "�" : t
  38852. }
  38853. function h(e, t) {
  38854. if ((e.length - t) % 2 === 0) {
  38855. var r = e.toString("utf16le", t)
  38856. if (r) {
  38857. var n = r.charCodeAt(r.length - 1)
  38858. if (n >= 55296 && n <= 56319)
  38859. return (
  38860. (this.lastNeed = 2),
  38861. (this.lastTotal = 4),
  38862. (this.lastChar[0] = e[e.length - 2]),
  38863. (this.lastChar[1] = e[e.length - 1]),
  38864. r.slice(0, -1)
  38865. )
  38866. }
  38867. return r
  38868. }
  38869. return (
  38870. (this.lastNeed = 1), (this.lastTotal = 2), (this.lastChar[0] = e[e.length - 1]), e.toString("utf16le", t, e.length - 1)
  38871. )
  38872. }
  38873. function m(e) {
  38874. var t = e && e.length ? this.write(e) : ""
  38875. if (this.lastNeed) {
  38876. var r = this.lastTotal - this.lastNeed
  38877. return t + this.lastChar.toString("utf16le", 0, r)
  38878. }
  38879. return t
  38880. }
  38881. function g(e, t) {
  38882. var r = (e.length - t) % 3
  38883. return 0 === r
  38884. ? e.toString("base64", t)
  38885. : ((this.lastNeed = 3 - r),
  38886. (this.lastTotal = 3),
  38887. 1 === r
  38888. ? (this.lastChar[0] = e[e.length - 1])
  38889. : ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])),
  38890. e.toString("base64", t, e.length - r))
  38891. }
  38892. function y(e) {
  38893. var t = e && e.length ? this.write(e) : ""
  38894. return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t
  38895. }
  38896. function v(e) {
  38897. return e.toString(this.encoding)
  38898. }
  38899. function b(e) {
  38900. return e && e.length ? this.write(e) : ""
  38901. }
  38902. ;(r.StringDecoder = s),
  38903. (s.prototype.write = function (e) {
  38904. if (0 === e.length) return ""
  38905. var t, r
  38906. if (this.lastNeed) {
  38907. if (((t = this.fillLast(e)), void 0 === t)) return ""
  38908. ;(r = this.lastNeed), (this.lastNeed = 0)
  38909. } else r = 0
  38910. return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || ""
  38911. }),
  38912. (s.prototype.end = d),
  38913. (s.prototype.text = p),
  38914. (s.prototype.fillLast = function (e) {
  38915. if (this.lastNeed <= e.length)
  38916. return (
  38917. e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed),
  38918. this.lastChar.toString(this.encoding, 0, this.lastTotal)
  38919. )
  38920. e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length)
  38921. })
  38922. },
  38923. {
  38924. "safe-buffer": 337
  38925. }
  38926. ],
  38927. 341: [
  38928. function (e, t, r) {
  38929. ;(function (t, n) {
  38930. var i = e("process/browser.js").nextTick,
  38931. o = Function.prototype.apply,
  38932. a = Array.prototype.slice,
  38933. s = {},
  38934. l = 0
  38935. function c(e, t) {
  38936. ;(this._id = e), (this._clearFn = t)
  38937. }
  38938. ;(r.setTimeout = function () {
  38939. return new c(o.call(setTimeout, window, arguments), clearTimeout)
  38940. }),
  38941. (r.setInterval = function () {
  38942. return new c(o.call(setInterval, window, arguments), clearInterval)
  38943. }),
  38944. (r.clearTimeout = r.clearInterval =
  38945. function (e) {
  38946. e.close()
  38947. }),
  38948. (c.prototype.unref = c.prototype.ref = function () {}),
  38949. (c.prototype.close = function () {
  38950. this._clearFn.call(window, this._id)
  38951. }),
  38952. (r.enroll = function (e, t) {
  38953. clearTimeout(e._idleTimeoutId), (e._idleTimeout = t)
  38954. }),
  38955. (r.unenroll = function (e) {
  38956. clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1)
  38957. }),
  38958. (r._unrefActive = r.active =
  38959. function (e) {
  38960. clearTimeout(e._idleTimeoutId)
  38961. var t = e._idleTimeout
  38962. t >= 0 &&
  38963. (e._idleTimeoutId = setTimeout(function () {
  38964. e._onTimeout && e._onTimeout()
  38965. }, t))
  38966. }),
  38967. (r.setImmediate =
  38968. "function" === typeof t
  38969. ? t
  38970. : function (e) {
  38971. var t = l++,
  38972. n = !(arguments.length < 2) && a.call(arguments, 1)
  38973. return (
  38974. (s[t] = !0),
  38975. i(function () {
  38976. s[t] && (n ? e.apply(null, n) : e.call(null), r.clearImmediate(t))
  38977. }),
  38978. t
  38979. )
  38980. }),
  38981. (r.clearImmediate =
  38982. "function" === typeof n
  38983. ? n
  38984. : function (e) {
  38985. delete s[e]
  38986. })
  38987. }).call(this, e("timers").setImmediate, e("timers").clearImmediate)
  38988. },
  38989. {
  38990. "process/browser.js": 318,
  38991. timers: 341
  38992. }
  38993. ],
  38994. 342: [
  38995. function (e, t, r) {
  38996. ;(function (e) {
  38997. function r(e, t) {
  38998. if (n("noDeprecation")) return e
  38999. var r = !1
  39000. function i() {
  39001. if (!r) {
  39002. if (n("throwDeprecation")) throw new Error(t)
  39003. n("traceDeprecation") ? console.trace(t) : console.warn(t), (r = !0)
  39004. }
  39005. return e.apply(this, arguments)
  39006. }
  39007. return i
  39008. }
  39009. function n(t) {
  39010. try {
  39011. if (!e.localStorage) return !1
  39012. } catch (n) {
  39013. return !1
  39014. }
  39015. var r = e.localStorage[t]
  39016. return null != r && "true" === String(r).toLowerCase()
  39017. }
  39018. t.exports = r
  39019. }).call(
  39020. this,
  39021. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  39022. )
  39023. },
  39024. {}
  39025. ],
  39026. 343: [
  39027. function (e, t, r) {
  39028. "function" === typeof Object.create
  39029. ? (t.exports = function (e, t) {
  39030. ;(e.super_ = t),
  39031. (e.prototype = Object.create(t.prototype, {
  39032. constructor: {
  39033. value: e,
  39034. enumerable: !1,
  39035. writable: !0,
  39036. configurable: !0
  39037. }
  39038. }))
  39039. })
  39040. : (t.exports = function (e, t) {
  39041. e.super_ = t
  39042. var r = function () {}
  39043. ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e)
  39044. })
  39045. },
  39046. {}
  39047. ],
  39048. 344: [
  39049. function (e, t, r) {
  39050. t.exports = function (e) {
  39051. return (
  39052. e &&
  39053. "object" === typeof e &&
  39054. "function" === typeof e.copy &&
  39055. "function" === typeof e.fill &&
  39056. "function" === typeof e.readUInt8
  39057. )
  39058. }
  39059. },
  39060. {}
  39061. ],
  39062. 345: [
  39063. function (e, t, r) {
  39064. ;(function (t, n) {
  39065. var i = /%[sdj%]/g
  39066. ;(r.format = function (e) {
  39067. if (!A(e)) {
  39068. for (var t = [], r = 0; r < arguments.length; r++) t.push(s(arguments[r]))
  39069. return t.join(" ")
  39070. }
  39071. r = 1
  39072. for (
  39073. var n = arguments,
  39074. o = n.length,
  39075. a = String(e).replace(i, function (e) {
  39076. if ("%%" === e) return "%"
  39077. if (r >= o) return e
  39078. switch (e) {
  39079. case "%s":
  39080. return String(n[r++])
  39081. case "%d":
  39082. return Number(n[r++])
  39083. case "%j":
  39084. try {
  39085. return JSON.stringify(n[r++])
  39086. } catch (t) {
  39087. return "[Circular]"
  39088. }
  39089. default:
  39090. return e
  39091. }
  39092. }),
  39093. l = n[r];
  39094. r < o;
  39095. l = n[++r]
  39096. )
  39097. b(l) || !S(l) ? (a += " " + l) : (a += " " + s(l))
  39098. return a
  39099. }),
  39100. (r.deprecate = function (e, i) {
  39101. if (T(n.process))
  39102. return function () {
  39103. return r.deprecate(e, i).apply(this, arguments)
  39104. }
  39105. if (!0 === t.noDeprecation) return e
  39106. var o = !1
  39107. function a() {
  39108. if (!o) {
  39109. if (t.throwDeprecation) throw new Error(i)
  39110. t.traceDeprecation ? console.trace(i) : console.error(i), (o = !0)
  39111. }
  39112. return e.apply(this, arguments)
  39113. }
  39114. return a
  39115. })
  39116. var o,
  39117. a = {}
  39118. function s(e, t) {
  39119. var n = {
  39120. seen: [],
  39121. stylize: c
  39122. }
  39123. return (
  39124. arguments.length >= 3 && (n.depth = arguments[2]),
  39125. arguments.length >= 4 && (n.colors = arguments[3]),
  39126. v(t) ? (n.showHidden = t) : t && r._extend(n, t),
  39127. T(n.showHidden) && (n.showHidden = !1),
  39128. T(n.depth) && (n.depth = 2),
  39129. T(n.colors) && (n.colors = !1),
  39130. T(n.customInspect) && (n.customInspect = !0),
  39131. n.colors && (n.stylize = l),
  39132. f(n, e, n.depth)
  39133. )
  39134. }
  39135. function l(e, t) {
  39136. var r = s.styles[t]
  39137. return r ? "[" + s.colors[r][0] + "m" + e + "[" + s.colors[r][1] + "m" : e
  39138. }
  39139. function c(e, t) {
  39140. return e
  39141. }
  39142. function u(e) {
  39143. var t = {}
  39144. return (
  39145. e.forEach(function (e, r) {
  39146. t[e] = !0
  39147. }),
  39148. t
  39149. )
  39150. }
  39151. function f(e, t, n) {
  39152. if (
  39153. e.customInspect &&
  39154. t &&
  39155. L(t.inspect) &&
  39156. t.inspect !== r.inspect &&
  39157. (!t.constructor || t.constructor.prototype !== t)
  39158. ) {
  39159. var i = t.inspect(n, e)
  39160. return A(i) || (i = f(e, i, n)), i
  39161. }
  39162. var o = p(e, t)
  39163. if (o) return o
  39164. var a = Object.keys(t),
  39165. s = u(a)
  39166. if (
  39167. (e.showHidden && (a = Object.getOwnPropertyNames(t)),
  39168. k(t) && (a.indexOf("message") >= 0 || a.indexOf("description") >= 0))
  39169. )
  39170. return d(t)
  39171. if (0 === a.length) {
  39172. if (L(t)) {
  39173. var l = t.name ? ": " + t.name : ""
  39174. return e.stylize("[Function" + l + "]", "special")
  39175. }
  39176. if (E(t)) return e.stylize(RegExp.prototype.toString.call(t), "regexp")
  39177. if (C(t)) return e.stylize(Date.prototype.toString.call(t), "date")
  39178. if (k(t)) return d(t)
  39179. }
  39180. var c,
  39181. v = "",
  39182. b = !1,
  39183. w = ["{", "}"]
  39184. if ((y(t) && ((b = !0), (w = ["[", "]"])), L(t))) {
  39185. var x = t.name ? ": " + t.name : ""
  39186. v = " [Function" + x + "]"
  39187. }
  39188. return (
  39189. E(t) && (v = " " + RegExp.prototype.toString.call(t)),
  39190. C(t) && (v = " " + Date.prototype.toUTCString.call(t)),
  39191. k(t) && (v = " " + d(t)),
  39192. 0 !== a.length || (b && 0 != t.length)
  39193. ? n < 0
  39194. ? E(t)
  39195. ? e.stylize(RegExp.prototype.toString.call(t), "regexp")
  39196. : e.stylize("[Object]", "special")
  39197. : (e.seen.push(t),
  39198. (c = b
  39199. ? h(e, t, n, s, a)
  39200. : a.map(function (r) {
  39201. return m(e, t, n, s, r, b)
  39202. })),
  39203. e.seen.pop(),
  39204. g(c, v, w))
  39205. : w[0] + v + w[1]
  39206. )
  39207. }
  39208. function p(e, t) {
  39209. if (T(t)) return e.stylize("undefined", "undefined")
  39210. if (A(t)) {
  39211. var r = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"
  39212. return e.stylize(r, "string")
  39213. }
  39214. return x(t)
  39215. ? e.stylize("" + t, "number")
  39216. : v(t)
  39217. ? e.stylize("" + t, "boolean")
  39218. : b(t)
  39219. ? e.stylize("null", "null")
  39220. : void 0
  39221. }
  39222. function d(e) {
  39223. return "[" + Error.prototype.toString.call(e) + "]"
  39224. }
  39225. function h(e, t, r, n, i) {
  39226. for (var o = [], a = 0, s = t.length; a < s; ++a) N(t, String(a)) ? o.push(m(e, t, r, n, String(a), !0)) : o.push("")
  39227. return (
  39228. i.forEach(function (i) {
  39229. i.match(/^\d+$/) || o.push(m(e, t, r, n, i, !0))
  39230. }),
  39231. o
  39232. )
  39233. }
  39234. function m(e, t, r, n, i, o) {
  39235. var a, s, l
  39236. if (
  39237. ((l = Object.getOwnPropertyDescriptor(t, i) || {
  39238. value: t[i]
  39239. }),
  39240. l.get
  39241. ? (s = l.set ? e.stylize("[Getter/Setter]", "special") : e.stylize("[Getter]", "special"))
  39242. : l.set && (s = e.stylize("[Setter]", "special")),
  39243. N(n, i) || (a = "[" + i + "]"),
  39244. s ||
  39245. (e.seen.indexOf(l.value) < 0
  39246. ? ((s = b(r) ? f(e, l.value, null) : f(e, l.value, r - 1)),
  39247. s.indexOf("\n") > -1 &&
  39248. (s = o
  39249. ? s
  39250. .split("\n")
  39251. .map(function (e) {
  39252. return " " + e
  39253. })
  39254. .join("\n")
  39255. .substr(2)
  39256. : "\n" +
  39257. s
  39258. .split("\n")
  39259. .map(function (e) {
  39260. return " " + e
  39261. })
  39262. .join("\n")))
  39263. : (s = e.stylize("[Circular]", "special"))),
  39264. T(a))
  39265. ) {
  39266. if (o && i.match(/^\d+$/)) return s
  39267. ;(a = JSON.stringify("" + i)),
  39268. a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)
  39269. ? ((a = a.substr(1, a.length - 2)), (a = e.stylize(a, "name")))
  39270. : ((a = a
  39271. .replace(/'/g, "\\'")
  39272. .replace(/\\"/g, '"')
  39273. .replace(/(^"|"$)/g, "'")),
  39274. (a = e.stylize(a, "string")))
  39275. }
  39276. return a + ": " + s
  39277. }
  39278. function g(e, t, r) {
  39279. var n = e.reduce(function (e, t) {
  39280. return t.indexOf("\n") >= 0 && 0, e + t.replace(/\u001b\[\d\d?m/g, "").length + 1
  39281. }, 0)
  39282. return n > 60
  39283. ? r[0] + ("" === t ? "" : t + "\n ") + " " + e.join(",\n ") + " " + r[1]
  39284. : r[0] + t + " " + e.join(", ") + " " + r[1]
  39285. }
  39286. function y(e) {
  39287. return Array.isArray(e)
  39288. }
  39289. function v(e) {
  39290. return "boolean" === typeof e
  39291. }
  39292. function b(e) {
  39293. return null === e
  39294. }
  39295. function w(e) {
  39296. return null == e
  39297. }
  39298. function x(e) {
  39299. return "number" === typeof e
  39300. }
  39301. function A(e) {
  39302. return "string" === typeof e
  39303. }
  39304. function _(e) {
  39305. return "symbol" === typeof e
  39306. }
  39307. function T(e) {
  39308. return void 0 === e
  39309. }
  39310. function E(e) {
  39311. return S(e) && "[object RegExp]" === O(e)
  39312. }
  39313. function S(e) {
  39314. return "object" === typeof e && null !== e
  39315. }
  39316. function C(e) {
  39317. return S(e) && "[object Date]" === O(e)
  39318. }
  39319. function k(e) {
  39320. return S(e) && ("[object Error]" === O(e) || e instanceof Error)
  39321. }
  39322. function L(e) {
  39323. return "function" === typeof e
  39324. }
  39325. function P(e) {
  39326. return (
  39327. null === e ||
  39328. "boolean" === typeof e ||
  39329. "number" === typeof e ||
  39330. "string" === typeof e ||
  39331. "symbol" === typeof e ||
  39332. "undefined" === typeof e
  39333. )
  39334. }
  39335. function O(e) {
  39336. return Object.prototype.toString.call(e)
  39337. }
  39338. function j(e) {
  39339. return e < 10 ? "0" + e.toString(10) : e.toString(10)
  39340. }
  39341. ;(r.debuglog = function (e) {
  39342. if ((T(o) && (o = t.env.NODE_DEBUG || ""), (e = e.toUpperCase()), !a[e]))
  39343. if (new RegExp("\\b" + e + "\\b", "i").test(o)) {
  39344. var n = t.pid
  39345. a[e] = function () {
  39346. var t = r.format.apply(r, arguments)
  39347. console.error("%s %d: %s", e, n, t)
  39348. }
  39349. } else a[e] = function () {}
  39350. return a[e]
  39351. }),
  39352. (r.inspect = s),
  39353. (s.colors = {
  39354. bold: [1, 22],
  39355. italic: [3, 23],
  39356. underline: [4, 24],
  39357. inverse: [7, 27],
  39358. white: [37, 39],
  39359. grey: [90, 39],
  39360. black: [30, 39],
  39361. blue: [34, 39],
  39362. cyan: [36, 39],
  39363. green: [32, 39],
  39364. magenta: [35, 39],
  39365. red: [31, 39],
  39366. yellow: [33, 39]
  39367. }),
  39368. (s.styles = {
  39369. special: "cyan",
  39370. number: "yellow",
  39371. boolean: "yellow",
  39372. undefined: "grey",
  39373. null: "bold",
  39374. string: "green",
  39375. date: "magenta",
  39376. regexp: "red"
  39377. }),
  39378. (r.isArray = y),
  39379. (r.isBoolean = v),
  39380. (r.isNull = b),
  39381. (r.isNullOrUndefined = w),
  39382. (r.isNumber = x),
  39383. (r.isString = A),
  39384. (r.isSymbol = _),
  39385. (r.isUndefined = T),
  39386. (r.isRegExp = E),
  39387. (r.isObject = S),
  39388. (r.isDate = C),
  39389. (r.isError = k),
  39390. (r.isFunction = L),
  39391. (r.isPrimitive = P),
  39392. (r.isBuffer = e("./support/isBuffer"))
  39393. var R = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
  39394. function I() {
  39395. var e = new Date(),
  39396. t = [j(e.getHours()), j(e.getMinutes()), j(e.getSeconds())].join(":")
  39397. return [e.getDate(), R[e.getMonth()], t].join(" ")
  39398. }
  39399. function N(e, t) {
  39400. return Object.prototype.hasOwnProperty.call(e, t)
  39401. }
  39402. ;(r.log = function () {
  39403. console.log("%s - %s", I(), r.format.apply(r, arguments))
  39404. }),
  39405. (r.inherits = e("inherits")),
  39406. (r._extend = function (e, t) {
  39407. if (!t || !S(t)) return e
  39408. var r = Object.keys(t),
  39409. n = r.length
  39410. while (n--) e[r[n]] = t[r[n]]
  39411. return e
  39412. })
  39413. }).call(
  39414. this,
  39415. e("_process"),
  39416. "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
  39417. )
  39418. },
  39419. {
  39420. "./support/isBuffer": 344,
  39421. _process: 392,
  39422. inherits: 343
  39423. }
  39424. ],
  39425. 346: [
  39426. function (e, t, r) {
  39427. ;(function () {
  39428. "use strict"
  39429. r.stripBOM = function (e) {
  39430. return "\ufeff" === e[0] ? e.substring(1) : e
  39431. }
  39432. }).call(this)
  39433. },
  39434. {}
  39435. ],
  39436. 347: [
  39437. function (e, t, r) {
  39438. ;(function () {
  39439. "use strict"
  39440. var t,
  39441. n,
  39442. i,
  39443. o,
  39444. a,
  39445. s = {}.hasOwnProperty
  39446. ;(t = e("xmlbuilder")),
  39447. (n = e("./defaults").defaults),
  39448. (o = function (e) {
  39449. return "string" === typeof e && (e.indexOf("&") >= 0 || e.indexOf(">") >= 0 || e.indexOf("<") >= 0)
  39450. }),
  39451. (a = function (e) {
  39452. return "<![CDATA[" + i(e) + "]]>"
  39453. }),
  39454. (i = function (e) {
  39455. return e.replace("]]>", "]]]]><![CDATA[>")
  39456. }),
  39457. (r.Builder = (function () {
  39458. function e(e) {
  39459. var t, r, i
  39460. for (t in ((this.options = {}), (r = n["0.2"]), r)) s.call(r, t) && ((i = r[t]), (this.options[t] = i))
  39461. for (t in e) s.call(e, t) && ((i = e[t]), (this.options[t] = i))
  39462. }
  39463. return (
  39464. (e.prototype.buildObject = function (e) {
  39465. var r, i, l, c, u
  39466. return (
  39467. (r = this.options.attrkey),
  39468. (i = this.options.charkey),
  39469. 1 === Object.keys(e).length && this.options.rootName === n["0.2"].rootName
  39470. ? ((u = Object.keys(e)[0]), (e = e[u]))
  39471. : (u = this.options.rootName),
  39472. (l = (function (e) {
  39473. return function (t, n) {
  39474. var c, u, f, p, d, h
  39475. if ("object" !== typeof n) e.options.cdata && o(n) ? t.raw(a(n)) : t.txt(n)
  39476. else if (Array.isArray(n)) {
  39477. for (p in n) if (s.call(n, p)) for (d in ((u = n[p]), u)) (f = u[d]), (t = l(t.ele(d), f).up())
  39478. } else
  39479. for (d in n)
  39480. if (s.call(n, d))
  39481. if (((u = n[d]), d === r)) {
  39482. if ("object" === typeof u) for (c in u) (h = u[c]), (t = t.att(c, h))
  39483. } else if (d === i) t = e.options.cdata && o(u) ? t.raw(a(u)) : t.txt(u)
  39484. else if (Array.isArray(u))
  39485. for (p in u)
  39486. s.call(u, p) &&
  39487. ((f = u[p]),
  39488. (t =
  39489. "string" === typeof f
  39490. ? e.options.cdata && o(f)
  39491. ? t.ele(d).raw(a(f)).up()
  39492. : t.ele(d, f).up()
  39493. : l(t.ele(d), f).up()))
  39494. else
  39495. "object" === typeof u
  39496. ? (t = l(t.ele(d), u).up())
  39497. : "string" === typeof u && e.options.cdata && o(u)
  39498. ? (t = t.ele(d).raw(a(u)).up())
  39499. : (null == u && (u = ""), (t = t.ele(d, u.toString()).up()))
  39500. return t
  39501. }
  39502. })(this)),
  39503. (c = t.create(u, this.options.xmldec, this.options.doctype, {
  39504. headless: this.options.headless,
  39505. allowSurrogateChars: this.options.allowSurrogateChars
  39506. })),
  39507. l(c, e).end(this.options.renderOpts)
  39508. )
  39509. }),
  39510. e
  39511. )
  39512. })())
  39513. }).call(this)
  39514. },
  39515. {
  39516. "./defaults": 348,
  39517. xmlbuilder: 384
  39518. }
  39519. ],
  39520. 348: [
  39521. function (e, t, r) {
  39522. ;(function () {
  39523. r.defaults = {
  39524. 0.1: {
  39525. explicitCharkey: !1,
  39526. trim: !0,
  39527. normalize: !0,
  39528. normalizeTags: !1,
  39529. attrkey: "@",
  39530. charkey: "#",
  39531. explicitArray: !1,
  39532. ignoreAttrs: !1,
  39533. mergeAttrs: !1,
  39534. explicitRoot: !1,
  39535. validator: null,
  39536. xmlns: !1,
  39537. explicitChildren: !1,
  39538. childkey: "@@",
  39539. charsAsChildren: !1,
  39540. includeWhiteChars: !1,
  39541. async: !1,
  39542. strict: !0,
  39543. attrNameProcessors: null,
  39544. attrValueProcessors: null,
  39545. tagNameProcessors: null,
  39546. valueProcessors: null,
  39547. emptyTag: ""
  39548. },
  39549. 0.2: {
  39550. explicitCharkey: !1,
  39551. trim: !1,
  39552. normalize: !1,
  39553. normalizeTags: !1,
  39554. attrkey: "$",
  39555. charkey: "_",
  39556. explicitArray: !0,
  39557. ignoreAttrs: !1,
  39558. mergeAttrs: !1,
  39559. explicitRoot: !0,
  39560. validator: null,
  39561. xmlns: !1,
  39562. explicitChildren: !1,
  39563. preserveChildrenOrder: !1,
  39564. childkey: "$$",
  39565. charsAsChildren: !1,
  39566. includeWhiteChars: !1,
  39567. async: !1,
  39568. strict: !0,
  39569. attrNameProcessors: null,
  39570. attrValueProcessors: null,
  39571. tagNameProcessors: null,
  39572. valueProcessors: null,
  39573. rootName: "root",
  39574. xmldec: {
  39575. version: "1.0",
  39576. encoding: "UTF-8",
  39577. standalone: !0
  39578. },
  39579. doctype: null,
  39580. renderOpts: {
  39581. pretty: !0,
  39582. indent: " ",
  39583. newline: "\n"
  39584. },
  39585. headless: !1,
  39586. chunkSize: 1e4,
  39587. emptyTag: "",
  39588. cdata: !1
  39589. }
  39590. }
  39591. }).call(this)
  39592. },
  39593. {}
  39594. ],
  39595. 349: [
  39596. function (e, t, r) {
  39597. ;(function () {
  39598. "use strict"
  39599. var t,
  39600. n,
  39601. i,
  39602. o,
  39603. a,
  39604. s,
  39605. l,
  39606. c,
  39607. u = function (e, t) {
  39608. return function () {
  39609. return e.apply(t, arguments)
  39610. }
  39611. },
  39612. f = function (e, t) {
  39613. for (var r in t) p.call(t, r) && (e[r] = t[r])
  39614. function n() {
  39615. this.constructor = e
  39616. }
  39617. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  39618. },
  39619. p = {}.hasOwnProperty
  39620. ;(l = e("sax")),
  39621. (i = e("events")),
  39622. (t = e("./bom")),
  39623. (s = e("./processors")),
  39624. (c = e("timers").setImmediate),
  39625. (n = e("./defaults").defaults),
  39626. (o = function (e) {
  39627. return "object" === typeof e && null != e && 0 === Object.keys(e).length
  39628. }),
  39629. (a = function (e, t, r) {
  39630. var n, i, o
  39631. for (n = 0, i = e.length; n < i; n++) (o = e[n]), (t = o(t, r))
  39632. return t
  39633. }),
  39634. (r.Parser = (function (e) {
  39635. function i(e) {
  39636. var t, i, o
  39637. if (
  39638. ((this.parseStringPromise = u(this.parseStringPromise, this)),
  39639. (this.parseString = u(this.parseString, this)),
  39640. (this.reset = u(this.reset, this)),
  39641. (this.assignOrPush = u(this.assignOrPush, this)),
  39642. (this.processAsync = u(this.processAsync, this)),
  39643. !(this instanceof r.Parser))
  39644. )
  39645. return new r.Parser(e)
  39646. for (t in ((this.options = {}), (i = n["0.2"]), i)) p.call(i, t) && ((o = i[t]), (this.options[t] = o))
  39647. for (t in e) p.call(e, t) && ((o = e[t]), (this.options[t] = o))
  39648. this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + "ns"),
  39649. this.options.normalizeTags &&
  39650. (this.options.tagNameProcessors || (this.options.tagNameProcessors = []),
  39651. this.options.tagNameProcessors.unshift(s.normalize)),
  39652. this.reset()
  39653. }
  39654. return (
  39655. f(i, e),
  39656. (i.prototype.processAsync = function () {
  39657. var e, t
  39658. try {
  39659. return this.remaining.length <= this.options.chunkSize
  39660. ? ((e = this.remaining),
  39661. (this.remaining = ""),
  39662. (this.saxParser = this.saxParser.write(e)),
  39663. this.saxParser.close())
  39664. : ((e = this.remaining.substr(0, this.options.chunkSize)),
  39665. (this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length)),
  39666. (this.saxParser = this.saxParser.write(e)),
  39667. c(this.processAsync))
  39668. } catch (r) {
  39669. if (((t = r), !this.saxParser.errThrown)) return (this.saxParser.errThrown = !0), this.emit(t)
  39670. }
  39671. }),
  39672. (i.prototype.assignOrPush = function (e, t, r) {
  39673. return t in e
  39674. ? (e[t] instanceof Array || (e[t] = [e[t]]), e[t].push(r))
  39675. : this.options.explicitArray
  39676. ? (e[t] = [r])
  39677. : (e[t] = r)
  39678. }),
  39679. (i.prototype.reset = function () {
  39680. var e, t, r, n
  39681. return (
  39682. this.removeAllListeners(),
  39683. (this.saxParser = l.parser(this.options.strict, {
  39684. trim: !1,
  39685. normalize: !1,
  39686. xmlns: this.options.xmlns
  39687. })),
  39688. (this.saxParser.errThrown = !1),
  39689. (this.saxParser.onerror = (function (e) {
  39690. return function (t) {
  39691. if ((e.saxParser.resume(), !e.saxParser.errThrown))
  39692. return (e.saxParser.errThrown = !0), e.emit("error", t)
  39693. }
  39694. })(this)),
  39695. (this.saxParser.onend = (function (e) {
  39696. return function () {
  39697. if (!e.saxParser.ended) return (e.saxParser.ended = !0), e.emit("end", e.resultObject)
  39698. }
  39699. })(this)),
  39700. (this.saxParser.ended = !1),
  39701. (this.EXPLICIT_CHARKEY = this.options.explicitCharkey),
  39702. (this.resultObject = null),
  39703. (n = []),
  39704. (e = this.options.attrkey),
  39705. (t = this.options.charkey),
  39706. (this.saxParser.onopentag = (function (r) {
  39707. return function (i) {
  39708. var o, s, l, c, u
  39709. if (((l = {}), (l[t] = ""), !r.options.ignoreAttrs))
  39710. for (o in ((u = i.attributes), u))
  39711. p.call(u, o) &&
  39712. (e in l || r.options.mergeAttrs || (l[e] = {}),
  39713. (s = r.options.attrValueProcessors
  39714. ? a(r.options.attrValueProcessors, i.attributes[o], o)
  39715. : i.attributes[o]),
  39716. (c = r.options.attrNameProcessors ? a(r.options.attrNameProcessors, o) : o),
  39717. r.options.mergeAttrs ? r.assignOrPush(l, c, s) : (l[e][c] = s))
  39718. return (
  39719. (l["#name"] = r.options.tagNameProcessors ? a(r.options.tagNameProcessors, i.name) : i.name),
  39720. r.options.xmlns &&
  39721. (l[r.options.xmlnskey] = {
  39722. uri: i.uri,
  39723. local: i.local
  39724. }),
  39725. n.push(l)
  39726. )
  39727. }
  39728. })(this)),
  39729. (this.saxParser.onclosetag = (function (e) {
  39730. return function () {
  39731. var r, i, s, l, c, u, f, d, h, m
  39732. if (
  39733. ((u = n.pop()),
  39734. (c = u["#name"]),
  39735. (e.options.explicitChildren && e.options.preserveChildrenOrder) || delete u["#name"],
  39736. !0 === u.cdata && ((r = u.cdata), delete u.cdata),
  39737. (h = n[n.length - 1]),
  39738. u[t].match(/^\s*$/) && !r
  39739. ? ((i = u[t]), delete u[t])
  39740. : (e.options.trim && (u[t] = u[t].trim()),
  39741. e.options.normalize && (u[t] = u[t].replace(/\s{2,}/g, " ").trim()),
  39742. (u[t] = e.options.valueProcessors ? a(e.options.valueProcessors, u[t], c) : u[t]),
  39743. 1 === Object.keys(u).length && t in u && !e.EXPLICIT_CHARKEY && (u = u[t])),
  39744. o(u) && (u = "" !== e.options.emptyTag ? e.options.emptyTag : i),
  39745. null != e.options.validator &&
  39746. ((m =
  39747. "/" +
  39748. (function () {
  39749. var e, t, r
  39750. for (r = [], e = 0, t = n.length; e < t; e++) (l = n[e]), r.push(l["#name"])
  39751. return r
  39752. })()
  39753. .concat(c)
  39754. .join("/")),
  39755. (function () {
  39756. var t
  39757. try {
  39758. u = e.options.validator(m, h && h[c], u)
  39759. } catch (r) {
  39760. return (t = r), e.emit("error", t)
  39761. }
  39762. })()),
  39763. e.options.explicitChildren && !e.options.mergeAttrs && "object" === typeof u)
  39764. )
  39765. if (e.options.preserveChildrenOrder) {
  39766. if (h) {
  39767. for (s in ((h[e.options.childkey] = h[e.options.childkey] || []), (f = {}), u))
  39768. p.call(u, s) && (f[s] = u[s])
  39769. h[e.options.childkey].push(f),
  39770. delete u["#name"],
  39771. 1 === Object.keys(u).length && t in u && !e.EXPLICIT_CHARKEY && (u = u[t])
  39772. }
  39773. } else
  39774. (l = {}),
  39775. e.options.attrkey in u &&
  39776. ((l[e.options.attrkey] = u[e.options.attrkey]), delete u[e.options.attrkey]),
  39777. !e.options.charsAsChildren &&
  39778. e.options.charkey in u &&
  39779. ((l[e.options.charkey] = u[e.options.charkey]), delete u[e.options.charkey]),
  39780. Object.getOwnPropertyNames(u).length > 0 && (l[e.options.childkey] = u),
  39781. (u = l)
  39782. return n.length > 0
  39783. ? e.assignOrPush(h, c, u)
  39784. : (e.options.explicitRoot && ((d = u), (u = {}), (u[c] = d)),
  39785. (e.resultObject = u),
  39786. (e.saxParser.ended = !0),
  39787. e.emit("end", e.resultObject))
  39788. }
  39789. })(this)),
  39790. (r = (function (e) {
  39791. return function (r) {
  39792. var i, o
  39793. if (((o = n[n.length - 1]), o))
  39794. return (
  39795. (o[t] += r),
  39796. e.options.explicitChildren &&
  39797. e.options.preserveChildrenOrder &&
  39798. e.options.charsAsChildren &&
  39799. (e.options.includeWhiteChars || "" !== r.replace(/\\n/g, "").trim()) &&
  39800. ((o[e.options.childkey] = o[e.options.childkey] || []),
  39801. (i = {
  39802. "#name": "__text__"
  39803. }),
  39804. (i[t] = r),
  39805. e.options.normalize && (i[t] = i[t].replace(/\s{2,}/g, " ").trim()),
  39806. o[e.options.childkey].push(i)),
  39807. o
  39808. )
  39809. }
  39810. })(this)),
  39811. (this.saxParser.ontext = r),
  39812. (this.saxParser.oncdata = (function (e) {
  39813. return function (e) {
  39814. var t
  39815. if (((t = r(e)), t)) return (t.cdata = !0)
  39816. }
  39817. })())
  39818. )
  39819. }),
  39820. (i.prototype.parseString = function (e, r) {
  39821. var n
  39822. null != r &&
  39823. "function" === typeof r &&
  39824. (this.on("end", function (e) {
  39825. return this.reset(), r(null, e)
  39826. }),
  39827. this.on("error", function (e) {
  39828. return this.reset(), r(e)
  39829. }))
  39830. try {
  39831. return (
  39832. (e = e.toString()),
  39833. "" === e.trim()
  39834. ? (this.emit("end", null), !0)
  39835. : ((e = t.stripBOM(e)),
  39836. this.options.async
  39837. ? ((this.remaining = e), c(this.processAsync), this.saxParser)
  39838. : this.saxParser.write(e).close())
  39839. )
  39840. } catch (i) {
  39841. if (((n = i), !this.saxParser.errThrown && !this.saxParser.ended))
  39842. return this.emit("error", n), (this.saxParser.errThrown = !0)
  39843. if (this.saxParser.ended) throw n
  39844. }
  39845. }),
  39846. (i.prototype.parseStringPromise = function (e) {
  39847. return new Promise(
  39848. (function (t) {
  39849. return function (r, n) {
  39850. return t.parseString(e, function (e, t) {
  39851. return e ? n(e) : r(t)
  39852. })
  39853. }
  39854. })(this)
  39855. )
  39856. }),
  39857. i
  39858. )
  39859. })(i)),
  39860. (r.parseString = function (e, t, n) {
  39861. var i, o, a
  39862. return (
  39863. null != n
  39864. ? ("function" === typeof n && (i = n), "object" === typeof t && (o = t))
  39865. : ("function" === typeof t && (i = t), (o = {})),
  39866. (a = new r.Parser(o)),
  39867. a.parseString(e, i)
  39868. )
  39869. }),
  39870. (r.parseStringPromise = function (e, t) {
  39871. var n, i
  39872. return "object" === typeof t && (n = t), (i = new r.Parser(n)), i.parseStringPromise(e)
  39873. })
  39874. }).call(this)
  39875. },
  39876. {
  39877. "./bom": 346,
  39878. "./defaults": 348,
  39879. "./processors": 350,
  39880. events: 296,
  39881. sax: 338,
  39882. timers: 341
  39883. }
  39884. ],
  39885. 350: [
  39886. function (e, t, r) {
  39887. ;(function () {
  39888. "use strict"
  39889. var e
  39890. ;(e = new RegExp(/(?!xmlns)^.*:/)),
  39891. (r.normalize = function (e) {
  39892. return e.toLowerCase()
  39893. }),
  39894. (r.firstCharLowerCase = function (e) {
  39895. return e.charAt(0).toLowerCase() + e.slice(1)
  39896. }),
  39897. (r.stripPrefix = function (t) {
  39898. return t.replace(e, "")
  39899. }),
  39900. (r.parseNumbers = function (e) {
  39901. return isNaN(e) || (e = e % 1 === 0 ? parseInt(e, 10) : parseFloat(e)), e
  39902. }),
  39903. (r.parseBooleans = function (e) {
  39904. return /^(?:true|false)$/i.test(e) && (e = "true" === e.toLowerCase()), e
  39905. })
  39906. }).call(this)
  39907. },
  39908. {}
  39909. ],
  39910. 351: [
  39911. function (e, t, r) {
  39912. ;(function () {
  39913. "use strict"
  39914. var t,
  39915. n,
  39916. i,
  39917. o,
  39918. a = function (e, t) {
  39919. for (var r in t) s.call(t, r) && (e[r] = t[r])
  39920. function n() {
  39921. this.constructor = e
  39922. }
  39923. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  39924. },
  39925. s = {}.hasOwnProperty
  39926. ;(n = e("./defaults")),
  39927. (t = e("./builder")),
  39928. (i = e("./parser")),
  39929. (o = e("./processors")),
  39930. (r.defaults = n.defaults),
  39931. (r.processors = o),
  39932. (r.ValidationError = (function (e) {
  39933. function t(e) {
  39934. this.message = e
  39935. }
  39936. return a(t, e), t
  39937. })(Error)),
  39938. (r.Builder = t.Builder),
  39939. (r.Parser = i.Parser),
  39940. (r.parseString = i.parseString),
  39941. (r.parseStringPromise = i.parseStringPromise)
  39942. }).call(this)
  39943. },
  39944. {
  39945. "./builder": 347,
  39946. "./defaults": 348,
  39947. "./parser": 349,
  39948. "./processors": 350
  39949. }
  39950. ],
  39951. 352: [
  39952. function (e, t, r) {
  39953. ;(function () {
  39954. t.exports = {
  39955. Disconnected: 1,
  39956. Preceding: 2,
  39957. Following: 4,
  39958. Contains: 8,
  39959. ContainedBy: 16,
  39960. ImplementationSpecific: 32
  39961. }
  39962. }).call(this)
  39963. },
  39964. {}
  39965. ],
  39966. 353: [
  39967. function (e, t, r) {
  39968. ;(function () {
  39969. t.exports = {
  39970. Element: 1,
  39971. Attribute: 2,
  39972. Text: 3,
  39973. CData: 4,
  39974. EntityReference: 5,
  39975. EntityDeclaration: 6,
  39976. ProcessingInstruction: 7,
  39977. Comment: 8,
  39978. Document: 9,
  39979. DocType: 10,
  39980. DocumentFragment: 11,
  39981. NotationDeclaration: 12,
  39982. Declaration: 201,
  39983. Raw: 202,
  39984. AttributeDeclaration: 203,
  39985. ElementDeclaration: 204,
  39986. Dummy: 205
  39987. }
  39988. }).call(this)
  39989. },
  39990. {}
  39991. ],
  39992. 354: [
  39993. function (e, t, r) {
  39994. ;(function () {
  39995. var e,
  39996. r,
  39997. n,
  39998. i,
  39999. o,
  40000. a,
  40001. s,
  40002. l = [].slice,
  40003. c = {}.hasOwnProperty
  40004. ;(e = function () {
  40005. var e, t, r, n, i, a
  40006. if (((a = arguments[0]), (i = 2 <= arguments.length ? l.call(arguments, 1) : []), o(Object.assign)))
  40007. Object.assign.apply(null, arguments)
  40008. else for (e = 0, r = i.length; e < r; e++) if (((n = i[e]), null != n)) for (t in n) c.call(n, t) && (a[t] = n[t])
  40009. return a
  40010. }),
  40011. (o = function (e) {
  40012. return !!e && "[object Function]" === Object.prototype.toString.call(e)
  40013. }),
  40014. (a = function (e) {
  40015. var t
  40016. return !!e && ("function" === (t = typeof e) || "object" === t)
  40017. }),
  40018. (n = function (e) {
  40019. return o(Array.isArray) ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e)
  40020. }),
  40021. (i = function (e) {
  40022. var t
  40023. if (n(e)) return !e.length
  40024. for (t in e) if (c.call(e, t)) return !1
  40025. return !0
  40026. }),
  40027. (s = function (e) {
  40028. var t, r
  40029. return (
  40030. a(e) &&
  40031. (r = Object.getPrototypeOf(e)) &&
  40032. (t = r.constructor) &&
  40033. "function" === typeof t &&
  40034. t instanceof t &&
  40035. Function.prototype.toString.call(t) === Function.prototype.toString.call(Object)
  40036. )
  40037. }),
  40038. (r = function (e) {
  40039. return o(e.valueOf) ? e.valueOf() : e
  40040. }),
  40041. (t.exports.assign = e),
  40042. (t.exports.isFunction = o),
  40043. (t.exports.isObject = a),
  40044. (t.exports.isArray = n),
  40045. (t.exports.isEmpty = i),
  40046. (t.exports.isPlainObject = s),
  40047. (t.exports.getValue = r)
  40048. }).call(this)
  40049. },
  40050. {}
  40051. ],
  40052. 355: [
  40053. function (e, t, r) {
  40054. ;(function () {
  40055. t.exports = {
  40056. None: 0,
  40057. OpenTag: 1,
  40058. InsideTag: 2,
  40059. CloseTag: 3
  40060. }
  40061. }).call(this)
  40062. },
  40063. {}
  40064. ],
  40065. 356: [
  40066. function (e, t, r) {
  40067. ;(function () {
  40068. var r
  40069. ;(r = e("./NodeType")),
  40070. e("./XMLNode"),
  40071. (t.exports = (function () {
  40072. function e(e, t, n) {
  40073. if (
  40074. ((this.parent = e),
  40075. this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
  40076. null == t)
  40077. )
  40078. throw new Error("Missing attribute name. " + this.debugInfo(t))
  40079. ;(this.name = this.stringify.name(t)),
  40080. (this.value = this.stringify.attValue(n)),
  40081. (this.type = r.Attribute),
  40082. (this.isId = !1),
  40083. (this.schemaTypeInfo = null)
  40084. }
  40085. return (
  40086. Object.defineProperty(e.prototype, "nodeType", {
  40087. get: function () {
  40088. return this.type
  40089. }
  40090. }),
  40091. Object.defineProperty(e.prototype, "ownerElement", {
  40092. get: function () {
  40093. return this.parent
  40094. }
  40095. }),
  40096. Object.defineProperty(e.prototype, "textContent", {
  40097. get: function () {
  40098. return this.value
  40099. },
  40100. set: function (e) {
  40101. return (this.value = e || "")
  40102. }
  40103. }),
  40104. Object.defineProperty(e.prototype, "namespaceURI", {
  40105. get: function () {
  40106. return ""
  40107. }
  40108. }),
  40109. Object.defineProperty(e.prototype, "prefix", {
  40110. get: function () {
  40111. return ""
  40112. }
  40113. }),
  40114. Object.defineProperty(e.prototype, "localName", {
  40115. get: function () {
  40116. return this.name
  40117. }
  40118. }),
  40119. Object.defineProperty(e.prototype, "specified", {
  40120. get: function () {
  40121. return !0
  40122. }
  40123. }),
  40124. (e.prototype.clone = function () {
  40125. return Object.create(this)
  40126. }),
  40127. (e.prototype.toString = function (e) {
  40128. return this.options.writer.attribute(this, this.options.writer.filterOptions(e))
  40129. }),
  40130. (e.prototype.debugInfo = function (e) {
  40131. return (
  40132. (e = e || this.name),
  40133. null == e
  40134. ? "parent: <" + this.parent.name + ">"
  40135. : "attribute: {" + e + "}, parent: <" + this.parent.name + ">"
  40136. )
  40137. }),
  40138. (e.prototype.isEqualNode = function (e) {
  40139. return (
  40140. e.namespaceURI === this.namespaceURI &&
  40141. e.prefix === this.prefix &&
  40142. e.localName === this.localName &&
  40143. e.value === this.value
  40144. )
  40145. }),
  40146. e
  40147. )
  40148. })())
  40149. }).call(this)
  40150. },
  40151. {
  40152. "./NodeType": 353,
  40153. "./XMLNode": 375
  40154. }
  40155. ],
  40156. 357: [
  40157. function (e, t, r) {
  40158. ;(function () {
  40159. var r,
  40160. n,
  40161. i = function (e, t) {
  40162. for (var r in t) o.call(t, r) && (e[r] = t[r])
  40163. function n() {
  40164. this.constructor = e
  40165. }
  40166. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40167. },
  40168. o = {}.hasOwnProperty
  40169. ;(r = e("./NodeType")),
  40170. (n = e("./XMLCharacterData")),
  40171. (t.exports = (function (e) {
  40172. function t(e, n) {
  40173. if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing CDATA text. " + this.debugInfo())
  40174. ;(this.name = "#cdata-section"), (this.type = r.CData), (this.value = this.stringify.cdata(n))
  40175. }
  40176. return (
  40177. i(t, e),
  40178. (t.prototype.clone = function () {
  40179. return Object.create(this)
  40180. }),
  40181. (t.prototype.toString = function (e) {
  40182. return this.options.writer.cdata(this, this.options.writer.filterOptions(e))
  40183. }),
  40184. t
  40185. )
  40186. })(n))
  40187. }).call(this)
  40188. },
  40189. {
  40190. "./NodeType": 353,
  40191. "./XMLCharacterData": 358
  40192. }
  40193. ],
  40194. 358: [
  40195. function (e, t, r) {
  40196. ;(function () {
  40197. var r,
  40198. n = function (e, t) {
  40199. for (var r in t) i.call(t, r) && (e[r] = t[r])
  40200. function n() {
  40201. this.constructor = e
  40202. }
  40203. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40204. },
  40205. i = {}.hasOwnProperty
  40206. ;(r = e("./XMLNode")),
  40207. (t.exports = (function (e) {
  40208. function t(e) {
  40209. t.__super__.constructor.call(this, e), (this.value = "")
  40210. }
  40211. return (
  40212. n(t, e),
  40213. Object.defineProperty(t.prototype, "data", {
  40214. get: function () {
  40215. return this.value
  40216. },
  40217. set: function (e) {
  40218. return (this.value = e || "")
  40219. }
  40220. }),
  40221. Object.defineProperty(t.prototype, "length", {
  40222. get: function () {
  40223. return this.value.length
  40224. }
  40225. }),
  40226. Object.defineProperty(t.prototype, "textContent", {
  40227. get: function () {
  40228. return this.value
  40229. },
  40230. set: function (e) {
  40231. return (this.value = e || "")
  40232. }
  40233. }),
  40234. (t.prototype.clone = function () {
  40235. return Object.create(this)
  40236. }),
  40237. (t.prototype.substringData = function (e, t) {
  40238. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40239. }),
  40240. (t.prototype.appendData = function (e) {
  40241. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40242. }),
  40243. (t.prototype.insertData = function (e, t) {
  40244. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40245. }),
  40246. (t.prototype.deleteData = function (e, t) {
  40247. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40248. }),
  40249. (t.prototype.replaceData = function (e, t, r) {
  40250. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40251. }),
  40252. (t.prototype.isEqualNode = function (e) {
  40253. return !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.data === this.data
  40254. }),
  40255. t
  40256. )
  40257. })(r))
  40258. }).call(this)
  40259. },
  40260. {
  40261. "./XMLNode": 375
  40262. }
  40263. ],
  40264. 359: [
  40265. function (e, t, r) {
  40266. ;(function () {
  40267. var r,
  40268. n,
  40269. i = function (e, t) {
  40270. for (var r in t) o.call(t, r) && (e[r] = t[r])
  40271. function n() {
  40272. this.constructor = e
  40273. }
  40274. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40275. },
  40276. o = {}.hasOwnProperty
  40277. ;(r = e("./NodeType")),
  40278. (n = e("./XMLCharacterData")),
  40279. (t.exports = (function (e) {
  40280. function t(e, n) {
  40281. if ((t.__super__.constructor.call(this, e), null == n))
  40282. throw new Error("Missing comment text. " + this.debugInfo())
  40283. ;(this.name = "#comment"), (this.type = r.Comment), (this.value = this.stringify.comment(n))
  40284. }
  40285. return (
  40286. i(t, e),
  40287. (t.prototype.clone = function () {
  40288. return Object.create(this)
  40289. }),
  40290. (t.prototype.toString = function (e) {
  40291. return this.options.writer.comment(this, this.options.writer.filterOptions(e))
  40292. }),
  40293. t
  40294. )
  40295. })(n))
  40296. }).call(this)
  40297. },
  40298. {
  40299. "./NodeType": 353,
  40300. "./XMLCharacterData": 358
  40301. }
  40302. ],
  40303. 360: [
  40304. function (e, t, r) {
  40305. ;(function () {
  40306. var r, n
  40307. ;(r = e("./XMLDOMErrorHandler")),
  40308. (n = e("./XMLDOMStringList")),
  40309. (t.exports = (function () {
  40310. function e() {
  40311. ;(this.defaultParams = {
  40312. "canonical-form": !1,
  40313. "cdata-sections": !1,
  40314. comments: !1,
  40315. "datatype-normalization": !1,
  40316. "element-content-whitespace": !0,
  40317. entities: !0,
  40318. "error-handler": new r(),
  40319. infoset: !0,
  40320. "validate-if-schema": !1,
  40321. namespaces: !0,
  40322. "namespace-declarations": !0,
  40323. "normalize-characters": !1,
  40324. "schema-location": "",
  40325. "schema-type": "",
  40326. "split-cdata-sections": !0,
  40327. validate: !1,
  40328. "well-formed": !0
  40329. }),
  40330. (this.params = Object.create(this.defaultParams))
  40331. }
  40332. return (
  40333. Object.defineProperty(e.prototype, "parameterNames", {
  40334. get: function () {
  40335. return new n(Object.keys(this.defaultParams))
  40336. }
  40337. }),
  40338. (e.prototype.getParameter = function (e) {
  40339. return this.params.hasOwnProperty(e) ? this.params[e] : null
  40340. }),
  40341. (e.prototype.canSetParameter = function (e, t) {
  40342. return !0
  40343. }),
  40344. (e.prototype.setParameter = function (e, t) {
  40345. return null != t ? (this.params[e] = t) : delete this.params[e]
  40346. }),
  40347. e
  40348. )
  40349. })())
  40350. }).call(this)
  40351. },
  40352. {
  40353. "./XMLDOMErrorHandler": 361,
  40354. "./XMLDOMStringList": 363
  40355. }
  40356. ],
  40357. 361: [
  40358. function (e, t, r) {
  40359. ;(function () {
  40360. t.exports = (function () {
  40361. function e() {}
  40362. return (
  40363. (e.prototype.handleError = function (e) {
  40364. throw new Error(e)
  40365. }),
  40366. e
  40367. )
  40368. })()
  40369. }).call(this)
  40370. },
  40371. {}
  40372. ],
  40373. 362: [
  40374. function (e, t, r) {
  40375. ;(function () {
  40376. t.exports = (function () {
  40377. function e() {}
  40378. return (
  40379. (e.prototype.hasFeature = function (e, t) {
  40380. return !0
  40381. }),
  40382. (e.prototype.createDocumentType = function (e, t, r) {
  40383. throw new Error("This DOM method is not implemented.")
  40384. }),
  40385. (e.prototype.createDocument = function (e, t, r) {
  40386. throw new Error("This DOM method is not implemented.")
  40387. }),
  40388. (e.prototype.createHTMLDocument = function (e) {
  40389. throw new Error("This DOM method is not implemented.")
  40390. }),
  40391. (e.prototype.getFeature = function (e, t) {
  40392. throw new Error("This DOM method is not implemented.")
  40393. }),
  40394. e
  40395. )
  40396. })()
  40397. }).call(this)
  40398. },
  40399. {}
  40400. ],
  40401. 363: [
  40402. function (e, t, r) {
  40403. ;(function () {
  40404. t.exports = (function () {
  40405. function e(e) {
  40406. this.arr = e || []
  40407. }
  40408. return (
  40409. Object.defineProperty(e.prototype, "length", {
  40410. get: function () {
  40411. return this.arr.length
  40412. }
  40413. }),
  40414. (e.prototype.item = function (e) {
  40415. return this.arr[e] || null
  40416. }),
  40417. (e.prototype.contains = function (e) {
  40418. return -1 !== this.arr.indexOf(e)
  40419. }),
  40420. e
  40421. )
  40422. })()
  40423. }).call(this)
  40424. },
  40425. {}
  40426. ],
  40427. 364: [
  40428. function (e, t, r) {
  40429. ;(function () {
  40430. var r,
  40431. n,
  40432. i = function (e, t) {
  40433. for (var r in t) o.call(t, r) && (e[r] = t[r])
  40434. function n() {
  40435. this.constructor = e
  40436. }
  40437. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40438. },
  40439. o = {}.hasOwnProperty
  40440. ;(n = e("./XMLNode")),
  40441. (r = e("./NodeType")),
  40442. (t.exports = (function (e) {
  40443. function t(e, n, i, o, a, s) {
  40444. if ((t.__super__.constructor.call(this, e), null == n))
  40445. throw new Error("Missing DTD element name. " + this.debugInfo())
  40446. if (null == i) throw new Error("Missing DTD attribute name. " + this.debugInfo(n))
  40447. if (!o) throw new Error("Missing DTD attribute type. " + this.debugInfo(n))
  40448. if (!a) throw new Error("Missing DTD attribute default. " + this.debugInfo(n))
  40449. if ((0 !== a.indexOf("#") && (a = "#" + a), !a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)))
  40450. throw new Error(
  40451. "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. " + this.debugInfo(n)
  40452. )
  40453. if (s && !a.match(/^(#FIXED|#DEFAULT)$/))
  40454. throw new Error("Default value only applies to #FIXED or #DEFAULT. " + this.debugInfo(n))
  40455. ;(this.elementName = this.stringify.name(n)),
  40456. (this.type = r.AttributeDeclaration),
  40457. (this.attributeName = this.stringify.name(i)),
  40458. (this.attributeType = this.stringify.dtdAttType(o)),
  40459. s && (this.defaultValue = this.stringify.dtdAttDefault(s)),
  40460. (this.defaultValueType = a)
  40461. }
  40462. return (
  40463. i(t, e),
  40464. (t.prototype.toString = function (e) {
  40465. return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(e))
  40466. }),
  40467. t
  40468. )
  40469. })(n))
  40470. }).call(this)
  40471. },
  40472. {
  40473. "./NodeType": 353,
  40474. "./XMLNode": 375
  40475. }
  40476. ],
  40477. 365: [
  40478. function (e, t, r) {
  40479. ;(function () {
  40480. var r,
  40481. n,
  40482. i = function (e, t) {
  40483. for (var r in t) o.call(t, r) && (e[r] = t[r])
  40484. function n() {
  40485. this.constructor = e
  40486. }
  40487. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40488. },
  40489. o = {}.hasOwnProperty
  40490. ;(n = e("./XMLNode")),
  40491. (r = e("./NodeType")),
  40492. (t.exports = (function (e) {
  40493. function t(e, n, i) {
  40494. if ((t.__super__.constructor.call(this, e), null == n))
  40495. throw new Error("Missing DTD element name. " + this.debugInfo())
  40496. i || (i = "(#PCDATA)"),
  40497. Array.isArray(i) && (i = "(" + i.join(",") + ")"),
  40498. (this.name = this.stringify.name(n)),
  40499. (this.type = r.ElementDeclaration),
  40500. (this.value = this.stringify.dtdElementValue(i))
  40501. }
  40502. return (
  40503. i(t, e),
  40504. (t.prototype.toString = function (e) {
  40505. return this.options.writer.dtdElement(this, this.options.writer.filterOptions(e))
  40506. }),
  40507. t
  40508. )
  40509. })(n))
  40510. }).call(this)
  40511. },
  40512. {
  40513. "./NodeType": 353,
  40514. "./XMLNode": 375
  40515. }
  40516. ],
  40517. 366: [
  40518. function (e, t, r) {
  40519. ;(function () {
  40520. var r,
  40521. n,
  40522. i,
  40523. o = function (e, t) {
  40524. for (var r in t) a.call(t, r) && (e[r] = t[r])
  40525. function n() {
  40526. this.constructor = e
  40527. }
  40528. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40529. },
  40530. a = {}.hasOwnProperty
  40531. ;(i = e("./Utility").isObject),
  40532. (n = e("./XMLNode")),
  40533. (r = e("./NodeType")),
  40534. (t.exports = (function (e) {
  40535. function t(e, n, o, a) {
  40536. if ((t.__super__.constructor.call(this, e), null == o))
  40537. throw new Error("Missing DTD entity name. " + this.debugInfo(o))
  40538. if (null == a) throw new Error("Missing DTD entity value. " + this.debugInfo(o))
  40539. if (((this.pe = !!n), (this.name = this.stringify.name(o)), (this.type = r.EntityDeclaration), i(a))) {
  40540. if (!a.pubID && !a.sysID)
  40541. throw new Error(
  40542. "Public and/or system identifiers are required for an external entity. " + this.debugInfo(o)
  40543. )
  40544. if (a.pubID && !a.sysID)
  40545. throw new Error("System identifier is required for a public external entity. " + this.debugInfo(o))
  40546. if (
  40547. ((this.internal = !1),
  40548. null != a.pubID && (this.pubID = this.stringify.dtdPubID(a.pubID)),
  40549. null != a.sysID && (this.sysID = this.stringify.dtdSysID(a.sysID)),
  40550. null != a.nData && (this.nData = this.stringify.dtdNData(a.nData)),
  40551. this.pe && this.nData)
  40552. )
  40553. throw new Error("Notation declaration is not allowed in a parameter entity. " + this.debugInfo(o))
  40554. } else (this.value = this.stringify.dtdEntityValue(a)), (this.internal = !0)
  40555. }
  40556. return (
  40557. o(t, e),
  40558. Object.defineProperty(t.prototype, "publicId", {
  40559. get: function () {
  40560. return this.pubID
  40561. }
  40562. }),
  40563. Object.defineProperty(t.prototype, "systemId", {
  40564. get: function () {
  40565. return this.sysID
  40566. }
  40567. }),
  40568. Object.defineProperty(t.prototype, "notationName", {
  40569. get: function () {
  40570. return this.nData || null
  40571. }
  40572. }),
  40573. Object.defineProperty(t.prototype, "inputEncoding", {
  40574. get: function () {
  40575. return null
  40576. }
  40577. }),
  40578. Object.defineProperty(t.prototype, "xmlEncoding", {
  40579. get: function () {
  40580. return null
  40581. }
  40582. }),
  40583. Object.defineProperty(t.prototype, "xmlVersion", {
  40584. get: function () {
  40585. return null
  40586. }
  40587. }),
  40588. (t.prototype.toString = function (e) {
  40589. return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(e))
  40590. }),
  40591. t
  40592. )
  40593. })(n))
  40594. }).call(this)
  40595. },
  40596. {
  40597. "./NodeType": 353,
  40598. "./Utility": 354,
  40599. "./XMLNode": 375
  40600. }
  40601. ],
  40602. 367: [
  40603. function (e, t, r) {
  40604. ;(function () {
  40605. var r,
  40606. n,
  40607. i = function (e, t) {
  40608. for (var r in t) o.call(t, r) && (e[r] = t[r])
  40609. function n() {
  40610. this.constructor = e
  40611. }
  40612. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40613. },
  40614. o = {}.hasOwnProperty
  40615. ;(n = e("./XMLNode")),
  40616. (r = e("./NodeType")),
  40617. (t.exports = (function (e) {
  40618. function t(e, n, i) {
  40619. if ((t.__super__.constructor.call(this, e), null == n))
  40620. throw new Error("Missing DTD notation name. " + this.debugInfo(n))
  40621. if (!i.pubID && !i.sysID)
  40622. throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(n))
  40623. ;(this.name = this.stringify.name(n)),
  40624. (this.type = r.NotationDeclaration),
  40625. null != i.pubID && (this.pubID = this.stringify.dtdPubID(i.pubID)),
  40626. null != i.sysID && (this.sysID = this.stringify.dtdSysID(i.sysID))
  40627. }
  40628. return (
  40629. i(t, e),
  40630. Object.defineProperty(t.prototype, "publicId", {
  40631. get: function () {
  40632. return this.pubID
  40633. }
  40634. }),
  40635. Object.defineProperty(t.prototype, "systemId", {
  40636. get: function () {
  40637. return this.sysID
  40638. }
  40639. }),
  40640. (t.prototype.toString = function (e) {
  40641. return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(e))
  40642. }),
  40643. t
  40644. )
  40645. })(n))
  40646. }).call(this)
  40647. },
  40648. {
  40649. "./NodeType": 353,
  40650. "./XMLNode": 375
  40651. }
  40652. ],
  40653. 368: [
  40654. function (e, t, r) {
  40655. ;(function () {
  40656. var r,
  40657. n,
  40658. i,
  40659. o = function (e, t) {
  40660. for (var r in t) a.call(t, r) && (e[r] = t[r])
  40661. function n() {
  40662. this.constructor = e
  40663. }
  40664. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40665. },
  40666. a = {}.hasOwnProperty
  40667. ;(i = e("./Utility").isObject),
  40668. (n = e("./XMLNode")),
  40669. (r = e("./NodeType")),
  40670. (t.exports = (function (e) {
  40671. function t(e, n, o, a) {
  40672. var s
  40673. t.__super__.constructor.call(this, e),
  40674. i(n) && ((s = n), (n = s.version), (o = s.encoding), (a = s.standalone)),
  40675. n || (n = "1.0"),
  40676. (this.type = r.Declaration),
  40677. (this.version = this.stringify.xmlVersion(n)),
  40678. null != o && (this.encoding = this.stringify.xmlEncoding(o)),
  40679. null != a && (this.standalone = this.stringify.xmlStandalone(a))
  40680. }
  40681. return (
  40682. o(t, e),
  40683. (t.prototype.toString = function (e) {
  40684. return this.options.writer.declaration(this, this.options.writer.filterOptions(e))
  40685. }),
  40686. t
  40687. )
  40688. })(n))
  40689. }).call(this)
  40690. },
  40691. {
  40692. "./NodeType": 353,
  40693. "./Utility": 354,
  40694. "./XMLNode": 375
  40695. }
  40696. ],
  40697. 369: [
  40698. function (e, t, r) {
  40699. ;(function () {
  40700. var r,
  40701. n,
  40702. i,
  40703. o,
  40704. a,
  40705. s,
  40706. l,
  40707. c,
  40708. u = function (e, t) {
  40709. for (var r in t) f.call(t, r) && (e[r] = t[r])
  40710. function n() {
  40711. this.constructor = e
  40712. }
  40713. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40714. },
  40715. f = {}.hasOwnProperty
  40716. ;(c = e("./Utility").isObject),
  40717. (l = e("./XMLNode")),
  40718. (r = e("./NodeType")),
  40719. (n = e("./XMLDTDAttList")),
  40720. (o = e("./XMLDTDEntity")),
  40721. (i = e("./XMLDTDElement")),
  40722. (a = e("./XMLDTDNotation")),
  40723. (s = e("./XMLNamedNodeMap")),
  40724. (t.exports = (function (e) {
  40725. function t(e, n, i) {
  40726. var o, a, s, l, u, f
  40727. if ((t.__super__.constructor.call(this, e), (this.type = r.DocType), e.children))
  40728. for (l = e.children, a = 0, s = l.length; a < s; a++)
  40729. if (((o = l[a]), o.type === r.Element)) {
  40730. this.name = o.name
  40731. break
  40732. }
  40733. ;(this.documentObject = e),
  40734. c(n) && ((u = n), (n = u.pubID), (i = u.sysID)),
  40735. null == i && ((f = [n, i]), (i = f[0]), (n = f[1])),
  40736. null != n && (this.pubID = this.stringify.dtdPubID(n)),
  40737. null != i && (this.sysID = this.stringify.dtdSysID(i))
  40738. }
  40739. return (
  40740. u(t, e),
  40741. Object.defineProperty(t.prototype, "entities", {
  40742. get: function () {
  40743. var e, t, n, i, o
  40744. for (i = {}, o = this.children, t = 0, n = o.length; t < n; t++)
  40745. (e = o[t]), e.type !== r.EntityDeclaration || e.pe || (i[e.name] = e)
  40746. return new s(i)
  40747. }
  40748. }),
  40749. Object.defineProperty(t.prototype, "notations", {
  40750. get: function () {
  40751. var e, t, n, i, o
  40752. for (i = {}, o = this.children, t = 0, n = o.length; t < n; t++)
  40753. (e = o[t]), e.type === r.NotationDeclaration && (i[e.name] = e)
  40754. return new s(i)
  40755. }
  40756. }),
  40757. Object.defineProperty(t.prototype, "publicId", {
  40758. get: function () {
  40759. return this.pubID
  40760. }
  40761. }),
  40762. Object.defineProperty(t.prototype, "systemId", {
  40763. get: function () {
  40764. return this.sysID
  40765. }
  40766. }),
  40767. Object.defineProperty(t.prototype, "internalSubset", {
  40768. get: function () {
  40769. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40770. }
  40771. }),
  40772. (t.prototype.element = function (e, t) {
  40773. var r
  40774. return (r = new i(this, e, t)), this.children.push(r), this
  40775. }),
  40776. (t.prototype.attList = function (e, t, r, i, o) {
  40777. var a
  40778. return (a = new n(this, e, t, r, i, o)), this.children.push(a), this
  40779. }),
  40780. (t.prototype.entity = function (e, t) {
  40781. var r
  40782. return (r = new o(this, !1, e, t)), this.children.push(r), this
  40783. }),
  40784. (t.prototype.pEntity = function (e, t) {
  40785. var r
  40786. return (r = new o(this, !0, e, t)), this.children.push(r), this
  40787. }),
  40788. (t.prototype.notation = function (e, t) {
  40789. var r
  40790. return (r = new a(this, e, t)), this.children.push(r), this
  40791. }),
  40792. (t.prototype.toString = function (e) {
  40793. return this.options.writer.docType(this, this.options.writer.filterOptions(e))
  40794. }),
  40795. (t.prototype.ele = function (e, t) {
  40796. return this.element(e, t)
  40797. }),
  40798. (t.prototype.att = function (e, t, r, n, i) {
  40799. return this.attList(e, t, r, n, i)
  40800. }),
  40801. (t.prototype.ent = function (e, t) {
  40802. return this.entity(e, t)
  40803. }),
  40804. (t.prototype.pent = function (e, t) {
  40805. return this.pEntity(e, t)
  40806. }),
  40807. (t.prototype.not = function (e, t) {
  40808. return this.notation(e, t)
  40809. }),
  40810. (t.prototype.up = function () {
  40811. return this.root() || this.documentObject
  40812. }),
  40813. (t.prototype.isEqualNode = function (e) {
  40814. return (
  40815. !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) &&
  40816. e.name === this.name &&
  40817. e.publicId === this.publicId &&
  40818. e.systemId === this.systemId
  40819. )
  40820. }),
  40821. t
  40822. )
  40823. })(l))
  40824. }).call(this)
  40825. },
  40826. {
  40827. "./NodeType": 353,
  40828. "./Utility": 354,
  40829. "./XMLDTDAttList": 364,
  40830. "./XMLDTDElement": 365,
  40831. "./XMLDTDEntity": 366,
  40832. "./XMLDTDNotation": 367,
  40833. "./XMLNamedNodeMap": 374,
  40834. "./XMLNode": 375
  40835. }
  40836. ],
  40837. 370: [
  40838. function (e, t, r) {
  40839. ;(function () {
  40840. var r,
  40841. n,
  40842. i,
  40843. o,
  40844. a,
  40845. s,
  40846. l,
  40847. c = function (e, t) {
  40848. for (var r in t) u.call(t, r) && (e[r] = t[r])
  40849. function n() {
  40850. this.constructor = e
  40851. }
  40852. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  40853. },
  40854. u = {}.hasOwnProperty
  40855. ;(l = e("./Utility").isPlainObject),
  40856. (i = e("./XMLDOMImplementation")),
  40857. (n = e("./XMLDOMConfiguration")),
  40858. (o = e("./XMLNode")),
  40859. (r = e("./NodeType")),
  40860. (s = e("./XMLStringifier")),
  40861. (a = e("./XMLStringWriter")),
  40862. (t.exports = (function (e) {
  40863. function t(e) {
  40864. t.__super__.constructor.call(this, null),
  40865. (this.name = "#document"),
  40866. (this.type = r.Document),
  40867. (this.documentURI = null),
  40868. (this.domConfig = new n()),
  40869. e || (e = {}),
  40870. e.writer || (e.writer = new a()),
  40871. (this.options = e),
  40872. (this.stringify = new s(e))
  40873. }
  40874. return (
  40875. c(t, e),
  40876. Object.defineProperty(t.prototype, "implementation", {
  40877. value: new i()
  40878. }),
  40879. Object.defineProperty(t.prototype, "doctype", {
  40880. get: function () {
  40881. var e, t, n, i
  40882. for (i = this.children, t = 0, n = i.length; t < n; t++) if (((e = i[t]), e.type === r.DocType)) return e
  40883. return null
  40884. }
  40885. }),
  40886. Object.defineProperty(t.prototype, "documentElement", {
  40887. get: function () {
  40888. return this.rootObject || null
  40889. }
  40890. }),
  40891. Object.defineProperty(t.prototype, "inputEncoding", {
  40892. get: function () {
  40893. return null
  40894. }
  40895. }),
  40896. Object.defineProperty(t.prototype, "strictErrorChecking", {
  40897. get: function () {
  40898. return !1
  40899. }
  40900. }),
  40901. Object.defineProperty(t.prototype, "xmlEncoding", {
  40902. get: function () {
  40903. return 0 !== this.children.length && this.children[0].type === r.Declaration
  40904. ? this.children[0].encoding
  40905. : null
  40906. }
  40907. }),
  40908. Object.defineProperty(t.prototype, "xmlStandalone", {
  40909. get: function () {
  40910. return (
  40911. 0 !== this.children.length &&
  40912. this.children[0].type === r.Declaration &&
  40913. "yes" === this.children[0].standalone
  40914. )
  40915. }
  40916. }),
  40917. Object.defineProperty(t.prototype, "xmlVersion", {
  40918. get: function () {
  40919. return 0 !== this.children.length && this.children[0].type === r.Declaration
  40920. ? this.children[0].version
  40921. : "1.0"
  40922. }
  40923. }),
  40924. Object.defineProperty(t.prototype, "URL", {
  40925. get: function () {
  40926. return this.documentURI
  40927. }
  40928. }),
  40929. Object.defineProperty(t.prototype, "origin", {
  40930. get: function () {
  40931. return null
  40932. }
  40933. }),
  40934. Object.defineProperty(t.prototype, "compatMode", {
  40935. get: function () {
  40936. return null
  40937. }
  40938. }),
  40939. Object.defineProperty(t.prototype, "characterSet", {
  40940. get: function () {
  40941. return null
  40942. }
  40943. }),
  40944. Object.defineProperty(t.prototype, "contentType", {
  40945. get: function () {
  40946. return null
  40947. }
  40948. }),
  40949. (t.prototype.end = function (e) {
  40950. var t
  40951. return (
  40952. (t = {}),
  40953. e ? l(e) && ((t = e), (e = this.options.writer)) : (e = this.options.writer),
  40954. e.document(this, e.filterOptions(t))
  40955. )
  40956. }),
  40957. (t.prototype.toString = function (e) {
  40958. return this.options.writer.document(this, this.options.writer.filterOptions(e))
  40959. }),
  40960. (t.prototype.createElement = function (e) {
  40961. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40962. }),
  40963. (t.prototype.createDocumentFragment = function () {
  40964. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40965. }),
  40966. (t.prototype.createTextNode = function (e) {
  40967. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40968. }),
  40969. (t.prototype.createComment = function (e) {
  40970. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40971. }),
  40972. (t.prototype.createCDATASection = function (e) {
  40973. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40974. }),
  40975. (t.prototype.createProcessingInstruction = function (e, t) {
  40976. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40977. }),
  40978. (t.prototype.createAttribute = function (e) {
  40979. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40980. }),
  40981. (t.prototype.createEntityReference = function (e) {
  40982. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40983. }),
  40984. (t.prototype.getElementsByTagName = function (e) {
  40985. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40986. }),
  40987. (t.prototype.importNode = function (e, t) {
  40988. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40989. }),
  40990. (t.prototype.createElementNS = function (e, t) {
  40991. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40992. }),
  40993. (t.prototype.createAttributeNS = function (e, t) {
  40994. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40995. }),
  40996. (t.prototype.getElementsByTagNameNS = function (e, t) {
  40997. throw new Error("This DOM method is not implemented." + this.debugInfo())
  40998. }),
  40999. (t.prototype.getElementById = function (e) {
  41000. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41001. }),
  41002. (t.prototype.adoptNode = function (e) {
  41003. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41004. }),
  41005. (t.prototype.normalizeDocument = function () {
  41006. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41007. }),
  41008. (t.prototype.renameNode = function (e, t, r) {
  41009. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41010. }),
  41011. (t.prototype.getElementsByClassName = function (e) {
  41012. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41013. }),
  41014. (t.prototype.createEvent = function (e) {
  41015. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41016. }),
  41017. (t.prototype.createRange = function () {
  41018. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41019. }),
  41020. (t.prototype.createNodeIterator = function (e, t, r) {
  41021. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41022. }),
  41023. (t.prototype.createTreeWalker = function (e, t, r) {
  41024. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41025. }),
  41026. t
  41027. )
  41028. })(o))
  41029. }).call(this)
  41030. },
  41031. {
  41032. "./NodeType": 353,
  41033. "./Utility": 354,
  41034. "./XMLDOMConfiguration": 360,
  41035. "./XMLDOMImplementation": 362,
  41036. "./XMLNode": 375,
  41037. "./XMLStringWriter": 380,
  41038. "./XMLStringifier": 381
  41039. }
  41040. ],
  41041. 371: [
  41042. function (e, t, r) {
  41043. ;(function () {
  41044. var r,
  41045. n,
  41046. i,
  41047. o,
  41048. a,
  41049. s,
  41050. l,
  41051. c,
  41052. u,
  41053. f,
  41054. p,
  41055. d,
  41056. h,
  41057. m,
  41058. g,
  41059. y,
  41060. v,
  41061. b,
  41062. w,
  41063. x,
  41064. A,
  41065. _,
  41066. T,
  41067. E = {}.hasOwnProperty
  41068. ;(T = e("./Utility")),
  41069. (A = T.isObject),
  41070. (x = T.isFunction),
  41071. (_ = T.isPlainObject),
  41072. (w = T.getValue),
  41073. (r = e("./NodeType")),
  41074. (d = e("./XMLDocument")),
  41075. (h = e("./XMLElement")),
  41076. (o = e("./XMLCData")),
  41077. (a = e("./XMLComment")),
  41078. (g = e("./XMLRaw")),
  41079. (b = e("./XMLText")),
  41080. (m = e("./XMLProcessingInstruction")),
  41081. (f = e("./XMLDeclaration")),
  41082. (p = e("./XMLDocType")),
  41083. (s = e("./XMLDTDAttList")),
  41084. (c = e("./XMLDTDEntity")),
  41085. (l = e("./XMLDTDElement")),
  41086. (u = e("./XMLDTDNotation")),
  41087. (i = e("./XMLAttribute")),
  41088. (v = e("./XMLStringifier")),
  41089. (y = e("./XMLStringWriter")),
  41090. (n = e("./WriterState")),
  41091. (t.exports = (function () {
  41092. function e(e, t, n) {
  41093. var i
  41094. ;(this.name = "?xml"),
  41095. (this.type = r.Document),
  41096. e || (e = {}),
  41097. (i = {}),
  41098. e.writer ? _(e.writer) && ((i = e.writer), (e.writer = new y())) : (e.writer = new y()),
  41099. (this.options = e),
  41100. (this.writer = e.writer),
  41101. (this.writerOptions = this.writer.filterOptions(i)),
  41102. (this.stringify = new v(e)),
  41103. (this.onDataCallback = t || function () {}),
  41104. (this.onEndCallback = n || function () {}),
  41105. (this.currentNode = null),
  41106. (this.currentLevel = -1),
  41107. (this.openTags = {}),
  41108. (this.documentStarted = !1),
  41109. (this.documentCompleted = !1),
  41110. (this.root = null)
  41111. }
  41112. return (
  41113. (e.prototype.createChildNode = function (e) {
  41114. var t, n, i, o, a, s, l, c
  41115. switch (e.type) {
  41116. case r.CData:
  41117. this.cdata(e.value)
  41118. break
  41119. case r.Comment:
  41120. this.comment(e.value)
  41121. break
  41122. case r.Element:
  41123. for (n in ((i = {}), (l = e.attribs), l)) E.call(l, n) && ((t = l[n]), (i[n] = t.value))
  41124. this.node(e.name, i)
  41125. break
  41126. case r.Dummy:
  41127. this.dummy()
  41128. break
  41129. case r.Raw:
  41130. this.raw(e.value)
  41131. break
  41132. case r.Text:
  41133. this.text(e.value)
  41134. break
  41135. case r.ProcessingInstruction:
  41136. this.instruction(e.target, e.value)
  41137. break
  41138. default:
  41139. throw new Error("This XML node type is not supported in a JS object: " + e.constructor.name)
  41140. }
  41141. for (c = e.children, a = 0, s = c.length; a < s; a++)
  41142. (o = c[a]), this.createChildNode(o), o.type === r.Element && this.up()
  41143. return this
  41144. }),
  41145. (e.prototype.dummy = function () {
  41146. return this
  41147. }),
  41148. (e.prototype.node = function (e, t, r) {
  41149. var n
  41150. if (null == e) throw new Error("Missing node name.")
  41151. if (this.root && -1 === this.currentLevel)
  41152. throw new Error("Document can only have one root node. " + this.debugInfo(e))
  41153. return (
  41154. this.openCurrent(),
  41155. (e = w(e)),
  41156. null == t && (t = {}),
  41157. (t = w(t)),
  41158. A(t) || ((n = [t, r]), (r = n[0]), (t = n[1])),
  41159. (this.currentNode = new h(this, e, t)),
  41160. (this.currentNode.children = !1),
  41161. this.currentLevel++,
  41162. (this.openTags[this.currentLevel] = this.currentNode),
  41163. null != r && this.text(r),
  41164. this
  41165. )
  41166. }),
  41167. (e.prototype.element = function (e, t, n) {
  41168. var i, o, a, s, l, c
  41169. if (this.currentNode && this.currentNode.type === r.DocType) this.dtdElement.apply(this, arguments)
  41170. else if (Array.isArray(e) || A(e) || x(e))
  41171. for (
  41172. s = this.options.noValidation,
  41173. this.options.noValidation = !0,
  41174. c = new d(this.options).element("TEMP_ROOT"),
  41175. c.element(e),
  41176. this.options.noValidation = s,
  41177. l = c.children,
  41178. o = 0,
  41179. a = l.length;
  41180. o < a;
  41181. o++
  41182. )
  41183. (i = l[o]), this.createChildNode(i), i.type === r.Element && this.up()
  41184. else this.node(e, t, n)
  41185. return this
  41186. }),
  41187. (e.prototype.attribute = function (e, t) {
  41188. var r, n
  41189. if (!this.currentNode || this.currentNode.children)
  41190. throw new Error(
  41191. "att() can only be used immediately after an ele() call in callback mode. " + this.debugInfo(e)
  41192. )
  41193. if ((null != e && (e = w(e)), A(e))) for (r in e) E.call(e, r) && ((n = e[r]), this.attribute(r, n))
  41194. else
  41195. x(t) && (t = t.apply()),
  41196. this.options.keepNullAttributes && null == t
  41197. ? (this.currentNode.attribs[e] = new i(this, e, ""))
  41198. : null != t && (this.currentNode.attribs[e] = new i(this, e, t))
  41199. return this
  41200. }),
  41201. (e.prototype.text = function (e) {
  41202. var t
  41203. return (
  41204. this.openCurrent(),
  41205. (t = new b(this, e)),
  41206. this.onData(this.writer.text(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41207. this
  41208. )
  41209. }),
  41210. (e.prototype.cdata = function (e) {
  41211. var t
  41212. return (
  41213. this.openCurrent(),
  41214. (t = new o(this, e)),
  41215. this.onData(this.writer.cdata(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41216. this
  41217. )
  41218. }),
  41219. (e.prototype.comment = function (e) {
  41220. var t
  41221. return (
  41222. this.openCurrent(),
  41223. (t = new a(this, e)),
  41224. this.onData(this.writer.comment(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41225. this
  41226. )
  41227. }),
  41228. (e.prototype.raw = function (e) {
  41229. var t
  41230. return (
  41231. this.openCurrent(),
  41232. (t = new g(this, e)),
  41233. this.onData(this.writer.raw(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41234. this
  41235. )
  41236. }),
  41237. (e.prototype.instruction = function (e, t) {
  41238. var r, n, i, o, a
  41239. if ((this.openCurrent(), null != e && (e = w(e)), null != t && (t = w(t)), Array.isArray(e)))
  41240. for (r = 0, o = e.length; r < o; r++) (n = e[r]), this.instruction(n)
  41241. else if (A(e)) for (n in e) E.call(e, n) && ((i = e[n]), this.instruction(n, i))
  41242. else
  41243. x(t) && (t = t.apply()),
  41244. (a = new m(this, e, t)),
  41245. this.onData(
  41246. this.writer.processingInstruction(a, this.writerOptions, this.currentLevel + 1),
  41247. this.currentLevel + 1
  41248. )
  41249. return this
  41250. }),
  41251. (e.prototype.declaration = function (e, t, r) {
  41252. var n
  41253. if ((this.openCurrent(), this.documentStarted)) throw new Error("declaration() must be the first node.")
  41254. return (
  41255. (n = new f(this, e, t, r)),
  41256. this.onData(this.writer.declaration(n, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41257. this
  41258. )
  41259. }),
  41260. (e.prototype.doctype = function (e, t, r) {
  41261. if ((this.openCurrent(), null == e)) throw new Error("Missing root node name.")
  41262. if (this.root) throw new Error("dtd() must come before the root node.")
  41263. return (
  41264. (this.currentNode = new p(this, t, r)),
  41265. (this.currentNode.rootNodeName = e),
  41266. (this.currentNode.children = !1),
  41267. this.currentLevel++,
  41268. (this.openTags[this.currentLevel] = this.currentNode),
  41269. this
  41270. )
  41271. }),
  41272. (e.prototype.dtdElement = function (e, t) {
  41273. var r
  41274. return (
  41275. this.openCurrent(),
  41276. (r = new l(this, e, t)),
  41277. this.onData(this.writer.dtdElement(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41278. this
  41279. )
  41280. }),
  41281. (e.prototype.attList = function (e, t, r, n, i) {
  41282. var o
  41283. return (
  41284. this.openCurrent(),
  41285. (o = new s(this, e, t, r, n, i)),
  41286. this.onData(this.writer.dtdAttList(o, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41287. this
  41288. )
  41289. }),
  41290. (e.prototype.entity = function (e, t) {
  41291. var r
  41292. return (
  41293. this.openCurrent(),
  41294. (r = new c(this, !1, e, t)),
  41295. this.onData(this.writer.dtdEntity(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41296. this
  41297. )
  41298. }),
  41299. (e.prototype.pEntity = function (e, t) {
  41300. var r
  41301. return (
  41302. this.openCurrent(),
  41303. (r = new c(this, !0, e, t)),
  41304. this.onData(this.writer.dtdEntity(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41305. this
  41306. )
  41307. }),
  41308. (e.prototype.notation = function (e, t) {
  41309. var r
  41310. return (
  41311. this.openCurrent(),
  41312. (r = new u(this, e, t)),
  41313. this.onData(this.writer.dtdNotation(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
  41314. this
  41315. )
  41316. }),
  41317. (e.prototype.up = function () {
  41318. if (this.currentLevel < 0) throw new Error("The document node has no parent.")
  41319. return (
  41320. this.currentNode
  41321. ? (this.currentNode.children ? this.closeNode(this.currentNode) : this.openNode(this.currentNode),
  41322. (this.currentNode = null))
  41323. : this.closeNode(this.openTags[this.currentLevel]),
  41324. delete this.openTags[this.currentLevel],
  41325. this.currentLevel--,
  41326. this
  41327. )
  41328. }),
  41329. (e.prototype.end = function () {
  41330. while (this.currentLevel >= 0) this.up()
  41331. return this.onEnd()
  41332. }),
  41333. (e.prototype.openCurrent = function () {
  41334. if (this.currentNode) return (this.currentNode.children = !0), this.openNode(this.currentNode)
  41335. }),
  41336. (e.prototype.openNode = function (e) {
  41337. var t, i, o, a
  41338. if (!e.isOpen) {
  41339. if (
  41340. (this.root || 0 !== this.currentLevel || e.type !== r.Element || (this.root = e),
  41341. (i = ""),
  41342. e.type === r.Element)
  41343. ) {
  41344. for (o in ((this.writerOptions.state = n.OpenTag),
  41345. (i = this.writer.indent(e, this.writerOptions, this.currentLevel) + "<" + e.name),
  41346. (a = e.attribs),
  41347. a))
  41348. E.call(a, o) && ((t = a[o]), (i += this.writer.attribute(t, this.writerOptions, this.currentLevel)))
  41349. ;(i += (e.children ? ">" : "/>") + this.writer.endline(e, this.writerOptions, this.currentLevel)),
  41350. (this.writerOptions.state = n.InsideTag)
  41351. } else
  41352. (this.writerOptions.state = n.OpenTag),
  41353. (i = this.writer.indent(e, this.writerOptions, this.currentLevel) + "<!DOCTYPE " + e.rootNodeName),
  41354. e.pubID && e.sysID
  41355. ? (i += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
  41356. : e.sysID && (i += ' SYSTEM "' + e.sysID + '"'),
  41357. e.children
  41358. ? ((i += " ["), (this.writerOptions.state = n.InsideTag))
  41359. : ((this.writerOptions.state = n.CloseTag), (i += ">")),
  41360. (i += this.writer.endline(e, this.writerOptions, this.currentLevel))
  41361. return this.onData(i, this.currentLevel), (e.isOpen = !0)
  41362. }
  41363. }),
  41364. (e.prototype.closeNode = function (e) {
  41365. var t
  41366. if (!e.isClosed)
  41367. return (
  41368. (t = ""),
  41369. (this.writerOptions.state = n.CloseTag),
  41370. (t =
  41371. e.type === r.Element
  41372. ? this.writer.indent(e, this.writerOptions, this.currentLevel) +
  41373. "</" +
  41374. e.name +
  41375. ">" +
  41376. this.writer.endline(e, this.writerOptions, this.currentLevel)
  41377. : this.writer.indent(e, this.writerOptions, this.currentLevel) +
  41378. "]>" +
  41379. this.writer.endline(e, this.writerOptions, this.currentLevel)),
  41380. (this.writerOptions.state = n.None),
  41381. this.onData(t, this.currentLevel),
  41382. (e.isClosed = !0)
  41383. )
  41384. }),
  41385. (e.prototype.onData = function (e, t) {
  41386. return (this.documentStarted = !0), this.onDataCallback(e, t + 1)
  41387. }),
  41388. (e.prototype.onEnd = function () {
  41389. return (this.documentCompleted = !0), this.onEndCallback()
  41390. }),
  41391. (e.prototype.debugInfo = function (e) {
  41392. return null == e ? "" : "node: <" + e + ">"
  41393. }),
  41394. (e.prototype.ele = function () {
  41395. return this.element.apply(this, arguments)
  41396. }),
  41397. (e.prototype.nod = function (e, t, r) {
  41398. return this.node(e, t, r)
  41399. }),
  41400. (e.prototype.txt = function (e) {
  41401. return this.text(e)
  41402. }),
  41403. (e.prototype.dat = function (e) {
  41404. return this.cdata(e)
  41405. }),
  41406. (e.prototype.com = function (e) {
  41407. return this.comment(e)
  41408. }),
  41409. (e.prototype.ins = function (e, t) {
  41410. return this.instruction(e, t)
  41411. }),
  41412. (e.prototype.dec = function (e, t, r) {
  41413. return this.declaration(e, t, r)
  41414. }),
  41415. (e.prototype.dtd = function (e, t, r) {
  41416. return this.doctype(e, t, r)
  41417. }),
  41418. (e.prototype.e = function (e, t, r) {
  41419. return this.element(e, t, r)
  41420. }),
  41421. (e.prototype.n = function (e, t, r) {
  41422. return this.node(e, t, r)
  41423. }),
  41424. (e.prototype.t = function (e) {
  41425. return this.text(e)
  41426. }),
  41427. (e.prototype.d = function (e) {
  41428. return this.cdata(e)
  41429. }),
  41430. (e.prototype.c = function (e) {
  41431. return this.comment(e)
  41432. }),
  41433. (e.prototype.r = function (e) {
  41434. return this.raw(e)
  41435. }),
  41436. (e.prototype.i = function (e, t) {
  41437. return this.instruction(e, t)
  41438. }),
  41439. (e.prototype.att = function () {
  41440. return this.currentNode && this.currentNode.type === r.DocType
  41441. ? this.attList.apply(this, arguments)
  41442. : this.attribute.apply(this, arguments)
  41443. }),
  41444. (e.prototype.a = function () {
  41445. return this.currentNode && this.currentNode.type === r.DocType
  41446. ? this.attList.apply(this, arguments)
  41447. : this.attribute.apply(this, arguments)
  41448. }),
  41449. (e.prototype.ent = function (e, t) {
  41450. return this.entity(e, t)
  41451. }),
  41452. (e.prototype.pent = function (e, t) {
  41453. return this.pEntity(e, t)
  41454. }),
  41455. (e.prototype.not = function (e, t) {
  41456. return this.notation(e, t)
  41457. }),
  41458. e
  41459. )
  41460. })())
  41461. }).call(this)
  41462. },
  41463. {
  41464. "./NodeType": 353,
  41465. "./Utility": 354,
  41466. "./WriterState": 355,
  41467. "./XMLAttribute": 356,
  41468. "./XMLCData": 357,
  41469. "./XMLComment": 359,
  41470. "./XMLDTDAttList": 364,
  41471. "./XMLDTDElement": 365,
  41472. "./XMLDTDEntity": 366,
  41473. "./XMLDTDNotation": 367,
  41474. "./XMLDeclaration": 368,
  41475. "./XMLDocType": 369,
  41476. "./XMLDocument": 370,
  41477. "./XMLElement": 373,
  41478. "./XMLProcessingInstruction": 377,
  41479. "./XMLRaw": 378,
  41480. "./XMLStringWriter": 380,
  41481. "./XMLStringifier": 381,
  41482. "./XMLText": 382
  41483. }
  41484. ],
  41485. 372: [
  41486. function (e, t, r) {
  41487. ;(function () {
  41488. var r,
  41489. n,
  41490. i = function (e, t) {
  41491. for (var r in t) o.call(t, r) && (e[r] = t[r])
  41492. function n() {
  41493. this.constructor = e
  41494. }
  41495. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  41496. },
  41497. o = {}.hasOwnProperty
  41498. ;(n = e("./XMLNode")),
  41499. (r = e("./NodeType")),
  41500. (t.exports = (function (e) {
  41501. function t(e) {
  41502. t.__super__.constructor.call(this, e), (this.type = r.Dummy)
  41503. }
  41504. return (
  41505. i(t, e),
  41506. (t.prototype.clone = function () {
  41507. return Object.create(this)
  41508. }),
  41509. (t.prototype.toString = function (e) {
  41510. return ""
  41511. }),
  41512. t
  41513. )
  41514. })(n))
  41515. }).call(this)
  41516. },
  41517. {
  41518. "./NodeType": 353,
  41519. "./XMLNode": 375
  41520. }
  41521. ],
  41522. 373: [
  41523. function (e, t, r) {
  41524. ;(function () {
  41525. var r,
  41526. n,
  41527. i,
  41528. o,
  41529. a,
  41530. s,
  41531. l,
  41532. c,
  41533. u = function (e, t) {
  41534. for (var r in t) f.call(t, r) && (e[r] = t[r])
  41535. function n() {
  41536. this.constructor = e
  41537. }
  41538. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  41539. },
  41540. f = {}.hasOwnProperty
  41541. ;(c = e("./Utility")),
  41542. (l = c.isObject),
  41543. (s = c.isFunction),
  41544. (a = c.getValue),
  41545. (o = e("./XMLNode")),
  41546. (r = e("./NodeType")),
  41547. (n = e("./XMLAttribute")),
  41548. (i = e("./XMLNamedNodeMap")),
  41549. (t.exports = (function (e) {
  41550. function t(e, n, i) {
  41551. var o, a, s, l
  41552. if ((t.__super__.constructor.call(this, e), null == n))
  41553. throw new Error("Missing element name. " + this.debugInfo())
  41554. if (
  41555. ((this.name = this.stringify.name(n)),
  41556. (this.type = r.Element),
  41557. (this.attribs = {}),
  41558. (this.schemaTypeInfo = null),
  41559. null != i && this.attribute(i),
  41560. e.type === r.Document && ((this.isRoot = !0), (this.documentObject = e), (e.rootObject = this), e.children))
  41561. )
  41562. for (l = e.children, a = 0, s = l.length; a < s; a++)
  41563. if (((o = l[a]), o.type === r.DocType)) {
  41564. o.name = this.name
  41565. break
  41566. }
  41567. }
  41568. return (
  41569. u(t, e),
  41570. Object.defineProperty(t.prototype, "tagName", {
  41571. get: function () {
  41572. return this.name
  41573. }
  41574. }),
  41575. Object.defineProperty(t.prototype, "namespaceURI", {
  41576. get: function () {
  41577. return ""
  41578. }
  41579. }),
  41580. Object.defineProperty(t.prototype, "prefix", {
  41581. get: function () {
  41582. return ""
  41583. }
  41584. }),
  41585. Object.defineProperty(t.prototype, "localName", {
  41586. get: function () {
  41587. return this.name
  41588. }
  41589. }),
  41590. Object.defineProperty(t.prototype, "id", {
  41591. get: function () {
  41592. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41593. }
  41594. }),
  41595. Object.defineProperty(t.prototype, "className", {
  41596. get: function () {
  41597. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41598. }
  41599. }),
  41600. Object.defineProperty(t.prototype, "classList", {
  41601. get: function () {
  41602. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41603. }
  41604. }),
  41605. Object.defineProperty(t.prototype, "attributes", {
  41606. get: function () {
  41607. return (
  41608. (this.attributeMap && this.attributeMap.nodes) || (this.attributeMap = new i(this.attribs)),
  41609. this.attributeMap
  41610. )
  41611. }
  41612. }),
  41613. (t.prototype.clone = function () {
  41614. var e, t, r, n
  41615. for (t in ((r = Object.create(this)),
  41616. r.isRoot && (r.documentObject = null),
  41617. (r.attribs = {}),
  41618. (n = this.attribs),
  41619. n))
  41620. f.call(n, t) && ((e = n[t]), (r.attribs[t] = e.clone()))
  41621. return (
  41622. (r.children = []),
  41623. this.children.forEach(function (e) {
  41624. var t
  41625. return (t = e.clone()), (t.parent = r), r.children.push(t)
  41626. }),
  41627. r
  41628. )
  41629. }),
  41630. (t.prototype.attribute = function (e, t) {
  41631. var r, i
  41632. if ((null != e && (e = a(e)), l(e))) for (r in e) f.call(e, r) && ((i = e[r]), this.attribute(r, i))
  41633. else
  41634. s(t) && (t = t.apply()),
  41635. this.options.keepNullAttributes && null == t
  41636. ? (this.attribs[e] = new n(this, e, ""))
  41637. : null != t && (this.attribs[e] = new n(this, e, t))
  41638. return this
  41639. }),
  41640. (t.prototype.removeAttribute = function (e) {
  41641. var t, r, n
  41642. if (null == e) throw new Error("Missing attribute name. " + this.debugInfo())
  41643. if (((e = a(e)), Array.isArray(e))) for (r = 0, n = e.length; r < n; r++) (t = e[r]), delete this.attribs[t]
  41644. else delete this.attribs[e]
  41645. return this
  41646. }),
  41647. (t.prototype.toString = function (e) {
  41648. return this.options.writer.element(this, this.options.writer.filterOptions(e))
  41649. }),
  41650. (t.prototype.att = function (e, t) {
  41651. return this.attribute(e, t)
  41652. }),
  41653. (t.prototype.a = function (e, t) {
  41654. return this.attribute(e, t)
  41655. }),
  41656. (t.prototype.getAttribute = function (e) {
  41657. return this.attribs.hasOwnProperty(e) ? this.attribs[e].value : null
  41658. }),
  41659. (t.prototype.setAttribute = function (e, t) {
  41660. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41661. }),
  41662. (t.prototype.getAttributeNode = function (e) {
  41663. return this.attribs.hasOwnProperty(e) ? this.attribs[e] : null
  41664. }),
  41665. (t.prototype.setAttributeNode = function (e) {
  41666. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41667. }),
  41668. (t.prototype.removeAttributeNode = function (e) {
  41669. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41670. }),
  41671. (t.prototype.getElementsByTagName = function (e) {
  41672. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41673. }),
  41674. (t.prototype.getAttributeNS = function (e, t) {
  41675. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41676. }),
  41677. (t.prototype.setAttributeNS = function (e, t, r) {
  41678. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41679. }),
  41680. (t.prototype.removeAttributeNS = function (e, t) {
  41681. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41682. }),
  41683. (t.prototype.getAttributeNodeNS = function (e, t) {
  41684. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41685. }),
  41686. (t.prototype.setAttributeNodeNS = function (e) {
  41687. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41688. }),
  41689. (t.prototype.getElementsByTagNameNS = function (e, t) {
  41690. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41691. }),
  41692. (t.prototype.hasAttribute = function (e) {
  41693. return this.attribs.hasOwnProperty(e)
  41694. }),
  41695. (t.prototype.hasAttributeNS = function (e, t) {
  41696. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41697. }),
  41698. (t.prototype.setIdAttribute = function (e, t) {
  41699. return this.attribs.hasOwnProperty(e) ? this.attribs[e].isId : t
  41700. }),
  41701. (t.prototype.setIdAttributeNS = function (e, t, r) {
  41702. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41703. }),
  41704. (t.prototype.setIdAttributeNode = function (e, t) {
  41705. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41706. }),
  41707. (t.prototype.getElementsByTagName = function (e) {
  41708. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41709. }),
  41710. (t.prototype.getElementsByTagNameNS = function (e, t) {
  41711. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41712. }),
  41713. (t.prototype.getElementsByClassName = function (e) {
  41714. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41715. }),
  41716. (t.prototype.isEqualNode = function (e) {
  41717. var r, n, i
  41718. if (!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e)) return !1
  41719. if (e.namespaceURI !== this.namespaceURI) return !1
  41720. if (e.prefix !== this.prefix) return !1
  41721. if (e.localName !== this.localName) return !1
  41722. if (e.attribs.length !== this.attribs.length) return !1
  41723. for (r = n = 0, i = this.attribs.length - 1; 0 <= i ? n <= i : n >= i; r = 0 <= i ? ++n : --n)
  41724. if (!this.attribs[r].isEqualNode(e.attribs[r])) return !1
  41725. return !0
  41726. }),
  41727. t
  41728. )
  41729. })(o))
  41730. }).call(this)
  41731. },
  41732. {
  41733. "./NodeType": 353,
  41734. "./Utility": 354,
  41735. "./XMLAttribute": 356,
  41736. "./XMLNamedNodeMap": 374,
  41737. "./XMLNode": 375
  41738. }
  41739. ],
  41740. 374: [
  41741. function (e, t, r) {
  41742. ;(function () {
  41743. t.exports = (function () {
  41744. function e(e) {
  41745. this.nodes = e
  41746. }
  41747. return (
  41748. Object.defineProperty(e.prototype, "length", {
  41749. get: function () {
  41750. return Object.keys(this.nodes).length || 0
  41751. }
  41752. }),
  41753. (e.prototype.clone = function () {
  41754. return (this.nodes = null)
  41755. }),
  41756. (e.prototype.getNamedItem = function (e) {
  41757. return this.nodes[e]
  41758. }),
  41759. (e.prototype.setNamedItem = function (e) {
  41760. var t
  41761. return (t = this.nodes[e.nodeName]), (this.nodes[e.nodeName] = e), t || null
  41762. }),
  41763. (e.prototype.removeNamedItem = function (e) {
  41764. var t
  41765. return (t = this.nodes[e]), delete this.nodes[e], t || null
  41766. }),
  41767. (e.prototype.item = function (e) {
  41768. return this.nodes[Object.keys(this.nodes)[e]] || null
  41769. }),
  41770. (e.prototype.getNamedItemNS = function (e, t) {
  41771. throw new Error("This DOM method is not implemented.")
  41772. }),
  41773. (e.prototype.setNamedItemNS = function (e) {
  41774. throw new Error("This DOM method is not implemented.")
  41775. }),
  41776. (e.prototype.removeNamedItemNS = function (e, t) {
  41777. throw new Error("This DOM method is not implemented.")
  41778. }),
  41779. e
  41780. )
  41781. })()
  41782. }).call(this)
  41783. },
  41784. {}
  41785. ],
  41786. 375: [
  41787. function (e, t, r) {
  41788. ;(function () {
  41789. var r,
  41790. n,
  41791. i,
  41792. o,
  41793. a,
  41794. s,
  41795. l,
  41796. c,
  41797. u,
  41798. f,
  41799. p,
  41800. d,
  41801. h,
  41802. m,
  41803. g,
  41804. y,
  41805. v,
  41806. b = {}.hasOwnProperty
  41807. ;(v = e("./Utility")),
  41808. (y = v.isObject),
  41809. (g = v.isFunction),
  41810. (m = v.isEmpty),
  41811. (h = v.getValue),
  41812. (c = null),
  41813. (i = null),
  41814. (o = null),
  41815. (a = null),
  41816. (s = null),
  41817. (p = null),
  41818. (d = null),
  41819. (f = null),
  41820. (l = null),
  41821. (n = null),
  41822. (u = null),
  41823. (r = null),
  41824. (t.exports = (function () {
  41825. function t(t) {
  41826. ;(this.parent = t),
  41827. this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
  41828. (this.value = null),
  41829. (this.children = []),
  41830. (this.baseURI = null),
  41831. c ||
  41832. ((c = e("./XMLElement")),
  41833. (i = e("./XMLCData")),
  41834. (o = e("./XMLComment")),
  41835. (a = e("./XMLDeclaration")),
  41836. (s = e("./XMLDocType")),
  41837. (p = e("./XMLRaw")),
  41838. (d = e("./XMLText")),
  41839. (f = e("./XMLProcessingInstruction")),
  41840. (l = e("./XMLDummy")),
  41841. (n = e("./NodeType")),
  41842. (u = e("./XMLNodeList")),
  41843. e("./XMLNamedNodeMap"),
  41844. (r = e("./DocumentPosition")))
  41845. }
  41846. return (
  41847. Object.defineProperty(t.prototype, "nodeName", {
  41848. get: function () {
  41849. return this.name
  41850. }
  41851. }),
  41852. Object.defineProperty(t.prototype, "nodeType", {
  41853. get: function () {
  41854. return this.type
  41855. }
  41856. }),
  41857. Object.defineProperty(t.prototype, "nodeValue", {
  41858. get: function () {
  41859. return this.value
  41860. }
  41861. }),
  41862. Object.defineProperty(t.prototype, "parentNode", {
  41863. get: function () {
  41864. return this.parent
  41865. }
  41866. }),
  41867. Object.defineProperty(t.prototype, "childNodes", {
  41868. get: function () {
  41869. return (
  41870. (this.childNodeList && this.childNodeList.nodes) || (this.childNodeList = new u(this.children)),
  41871. this.childNodeList
  41872. )
  41873. }
  41874. }),
  41875. Object.defineProperty(t.prototype, "firstChild", {
  41876. get: function () {
  41877. return this.children[0] || null
  41878. }
  41879. }),
  41880. Object.defineProperty(t.prototype, "lastChild", {
  41881. get: function () {
  41882. return this.children[this.children.length - 1] || null
  41883. }
  41884. }),
  41885. Object.defineProperty(t.prototype, "previousSibling", {
  41886. get: function () {
  41887. var e
  41888. return (e = this.parent.children.indexOf(this)), this.parent.children[e - 1] || null
  41889. }
  41890. }),
  41891. Object.defineProperty(t.prototype, "nextSibling", {
  41892. get: function () {
  41893. var e
  41894. return (e = this.parent.children.indexOf(this)), this.parent.children[e + 1] || null
  41895. }
  41896. }),
  41897. Object.defineProperty(t.prototype, "ownerDocument", {
  41898. get: function () {
  41899. return this.document() || null
  41900. }
  41901. }),
  41902. Object.defineProperty(t.prototype, "textContent", {
  41903. get: function () {
  41904. var e, t, r, i, o
  41905. if (this.nodeType === n.Element || this.nodeType === n.DocumentFragment) {
  41906. for (o = "", i = this.children, t = 0, r = i.length; t < r; t++)
  41907. (e = i[t]), e.textContent && (o += e.textContent)
  41908. return o
  41909. }
  41910. return null
  41911. },
  41912. set: function (e) {
  41913. throw new Error("This DOM method is not implemented." + this.debugInfo())
  41914. }
  41915. }),
  41916. (t.prototype.setParent = function (e) {
  41917. var t, r, n, i, o
  41918. for (
  41919. this.parent = e,
  41920. e && ((this.options = e.options), (this.stringify = e.stringify)),
  41921. i = this.children,
  41922. o = [],
  41923. r = 0,
  41924. n = i.length;
  41925. r < n;
  41926. r++
  41927. )
  41928. (t = i[r]), o.push(t.setParent(this))
  41929. return o
  41930. }),
  41931. (t.prototype.element = function (e, t, r) {
  41932. var n, i, o, a, s, l, c, u, f, p, d
  41933. if (
  41934. ((l = null),
  41935. null === t && null == r && ((f = [{}, null]), (t = f[0]), (r = f[1])),
  41936. null == t && (t = {}),
  41937. (t = h(t)),
  41938. y(t) || ((p = [t, r]), (r = p[0]), (t = p[1])),
  41939. null != e && (e = h(e)),
  41940. Array.isArray(e))
  41941. )
  41942. for (o = 0, c = e.length; o < c; o++) (i = e[o]), (l = this.element(i))
  41943. else if (g(e)) l = this.element(e.apply())
  41944. else if (y(e)) {
  41945. for (s in e)
  41946. if (b.call(e, s))
  41947. if (
  41948. ((d = e[s]),
  41949. g(d) && (d = d.apply()),
  41950. !this.options.ignoreDecorators &&
  41951. this.stringify.convertAttKey &&
  41952. 0 === s.indexOf(this.stringify.convertAttKey))
  41953. )
  41954. l = this.attribute(s.substr(this.stringify.convertAttKey.length), d)
  41955. else if (!this.options.separateArrayItems && Array.isArray(d) && m(d)) l = this.dummy()
  41956. else if (y(d) && m(d)) l = this.element(s)
  41957. else if (this.options.keepNullNodes || null != d)
  41958. if (!this.options.separateArrayItems && Array.isArray(d))
  41959. for (a = 0, u = d.length; a < u; a++) (i = d[a]), (n = {}), (n[s] = i), (l = this.element(n))
  41960. else
  41961. y(d)
  41962. ? !this.options.ignoreDecorators &&
  41963. this.stringify.convertTextKey &&
  41964. 0 === s.indexOf(this.stringify.convertTextKey)
  41965. ? (l = this.element(d))
  41966. : ((l = this.element(s)), l.element(d))
  41967. : (l = this.element(s, d))
  41968. else l = this.dummy()
  41969. } else
  41970. l =
  41971. this.options.keepNullNodes || null !== r
  41972. ? !this.options.ignoreDecorators &&
  41973. this.stringify.convertTextKey &&
  41974. 0 === e.indexOf(this.stringify.convertTextKey)
  41975. ? this.text(r)
  41976. : !this.options.ignoreDecorators &&
  41977. this.stringify.convertCDataKey &&
  41978. 0 === e.indexOf(this.stringify.convertCDataKey)
  41979. ? this.cdata(r)
  41980. : !this.options.ignoreDecorators &&
  41981. this.stringify.convertCommentKey &&
  41982. 0 === e.indexOf(this.stringify.convertCommentKey)
  41983. ? this.comment(r)
  41984. : !this.options.ignoreDecorators &&
  41985. this.stringify.convertRawKey &&
  41986. 0 === e.indexOf(this.stringify.convertRawKey)
  41987. ? this.raw(r)
  41988. : !this.options.ignoreDecorators &&
  41989. this.stringify.convertPIKey &&
  41990. 0 === e.indexOf(this.stringify.convertPIKey)
  41991. ? this.instruction(e.substr(this.stringify.convertPIKey.length), r)
  41992. : this.node(e, t, r)
  41993. : this.dummy()
  41994. if (null == l) throw new Error("Could not create any elements with: " + e + ". " + this.debugInfo())
  41995. return l
  41996. }),
  41997. (t.prototype.insertBefore = function (e, t, r) {
  41998. var n, i, o, a, s
  41999. if (null != e ? e.type : void 0)
  42000. return (
  42001. (o = e),
  42002. (a = t),
  42003. o.setParent(this),
  42004. a
  42005. ? ((i = children.indexOf(a)),
  42006. (s = children.splice(i)),
  42007. children.push(o),
  42008. Array.prototype.push.apply(children, s))
  42009. : children.push(o),
  42010. o
  42011. )
  42012. if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(e))
  42013. return (
  42014. (i = this.parent.children.indexOf(this)),
  42015. (s = this.parent.children.splice(i)),
  42016. (n = this.parent.element(e, t, r)),
  42017. Array.prototype.push.apply(this.parent.children, s),
  42018. n
  42019. )
  42020. }),
  42021. (t.prototype.insertAfter = function (e, t, r) {
  42022. var n, i, o
  42023. if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(e))
  42024. return (
  42025. (i = this.parent.children.indexOf(this)),
  42026. (o = this.parent.children.splice(i + 1)),
  42027. (n = this.parent.element(e, t, r)),
  42028. Array.prototype.push.apply(this.parent.children, o),
  42029. n
  42030. )
  42031. }),
  42032. (t.prototype.remove = function () {
  42033. var e
  42034. if (this.isRoot) throw new Error("Cannot remove the root element. " + this.debugInfo())
  42035. return (
  42036. (e = this.parent.children.indexOf(this)),
  42037. [].splice.apply(this.parent.children, [e, e - e + 1].concat([])),
  42038. this.parent
  42039. )
  42040. }),
  42041. (t.prototype.node = function (e, t, r) {
  42042. var n, i
  42043. return (
  42044. null != e && (e = h(e)),
  42045. t || (t = {}),
  42046. (t = h(t)),
  42047. y(t) || ((i = [t, r]), (r = i[0]), (t = i[1])),
  42048. (n = new c(this, e, t)),
  42049. null != r && n.text(r),
  42050. this.children.push(n),
  42051. n
  42052. )
  42053. }),
  42054. (t.prototype.text = function (e) {
  42055. var t
  42056. return y(e) && this.element(e), (t = new d(this, e)), this.children.push(t), this
  42057. }),
  42058. (t.prototype.cdata = function (e) {
  42059. var t
  42060. return (t = new i(this, e)), this.children.push(t), this
  42061. }),
  42062. (t.prototype.comment = function (e) {
  42063. var t
  42064. return (t = new o(this, e)), this.children.push(t), this
  42065. }),
  42066. (t.prototype.commentBefore = function (e) {
  42067. var t, r
  42068. return (
  42069. (t = this.parent.children.indexOf(this)),
  42070. (r = this.parent.children.splice(t)),
  42071. this.parent.comment(e),
  42072. Array.prototype.push.apply(this.parent.children, r),
  42073. this
  42074. )
  42075. }),
  42076. (t.prototype.commentAfter = function (e) {
  42077. var t, r
  42078. return (
  42079. (t = this.parent.children.indexOf(this)),
  42080. (r = this.parent.children.splice(t + 1)),
  42081. this.parent.comment(e),
  42082. Array.prototype.push.apply(this.parent.children, r),
  42083. this
  42084. )
  42085. }),
  42086. (t.prototype.raw = function (e) {
  42087. var t
  42088. return (t = new p(this, e)), this.children.push(t), this
  42089. }),
  42090. (t.prototype.dummy = function () {
  42091. var e
  42092. return (e = new l(this)), e
  42093. }),
  42094. (t.prototype.instruction = function (e, t) {
  42095. var r, n, i, o, a
  42096. if ((null != e && (e = h(e)), null != t && (t = h(t)), Array.isArray(e)))
  42097. for (o = 0, a = e.length; o < a; o++) (r = e[o]), this.instruction(r)
  42098. else if (y(e)) for (r in e) b.call(e, r) && ((n = e[r]), this.instruction(r, n))
  42099. else g(t) && (t = t.apply()), (i = new f(this, e, t)), this.children.push(i)
  42100. return this
  42101. }),
  42102. (t.prototype.instructionBefore = function (e, t) {
  42103. var r, n
  42104. return (
  42105. (r = this.parent.children.indexOf(this)),
  42106. (n = this.parent.children.splice(r)),
  42107. this.parent.instruction(e, t),
  42108. Array.prototype.push.apply(this.parent.children, n),
  42109. this
  42110. )
  42111. }),
  42112. (t.prototype.instructionAfter = function (e, t) {
  42113. var r, n
  42114. return (
  42115. (r = this.parent.children.indexOf(this)),
  42116. (n = this.parent.children.splice(r + 1)),
  42117. this.parent.instruction(e, t),
  42118. Array.prototype.push.apply(this.parent.children, n),
  42119. this
  42120. )
  42121. }),
  42122. (t.prototype.declaration = function (e, t, r) {
  42123. var i, o
  42124. return (
  42125. (i = this.document()),
  42126. (o = new a(i, e, t, r)),
  42127. 0 === i.children.length
  42128. ? i.children.unshift(o)
  42129. : i.children[0].type === n.Declaration
  42130. ? (i.children[0] = o)
  42131. : i.children.unshift(o),
  42132. i.root() || i
  42133. )
  42134. }),
  42135. (t.prototype.dtd = function (e, t) {
  42136. var r, i, o, a, l, c, u, f, p, d
  42137. for (i = this.document(), o = new s(i, e, t), p = i.children, a = l = 0, u = p.length; l < u; a = ++l)
  42138. if (((r = p[a]), r.type === n.DocType)) return (i.children[a] = o), o
  42139. for (d = i.children, a = c = 0, f = d.length; c < f; a = ++c)
  42140. if (((r = d[a]), r.isRoot)) return i.children.splice(a, 0, o), o
  42141. return i.children.push(o), o
  42142. }),
  42143. (t.prototype.up = function () {
  42144. if (this.isRoot)
  42145. throw new Error("The root node has no parent. Use doc() if you need to get the document object.")
  42146. return this.parent
  42147. }),
  42148. (t.prototype.root = function () {
  42149. var e
  42150. e = this
  42151. while (e) {
  42152. if (e.type === n.Document) return e.rootObject
  42153. if (e.isRoot) return e
  42154. e = e.parent
  42155. }
  42156. }),
  42157. (t.prototype.document = function () {
  42158. var e
  42159. e = this
  42160. while (e) {
  42161. if (e.type === n.Document) return e
  42162. e = e.parent
  42163. }
  42164. }),
  42165. (t.prototype.end = function (e) {
  42166. return this.document().end(e)
  42167. }),
  42168. (t.prototype.prev = function () {
  42169. var e
  42170. if (((e = this.parent.children.indexOf(this)), e < 1))
  42171. throw new Error("Already at the first node. " + this.debugInfo())
  42172. return this.parent.children[e - 1]
  42173. }),
  42174. (t.prototype.next = function () {
  42175. var e
  42176. if (((e = this.parent.children.indexOf(this)), -1 === e || e === this.parent.children.length - 1))
  42177. throw new Error("Already at the last node. " + this.debugInfo())
  42178. return this.parent.children[e + 1]
  42179. }),
  42180. (t.prototype.importDocument = function (e) {
  42181. var t
  42182. return (t = e.root().clone()), (t.parent = this), (t.isRoot = !1), this.children.push(t), this
  42183. }),
  42184. (t.prototype.debugInfo = function (e) {
  42185. var t, r
  42186. return (
  42187. (e = e || this.name),
  42188. null != e || (null != (t = this.parent) ? t.name : void 0)
  42189. ? null == e
  42190. ? "parent: <" + this.parent.name + ">"
  42191. : (null != (r = this.parent) ? r.name : void 0)
  42192. ? "node: <" + e + ">, parent: <" + this.parent.name + ">"
  42193. : "node: <" + e + ">"
  42194. : ""
  42195. )
  42196. }),
  42197. (t.prototype.ele = function (e, t, r) {
  42198. return this.element(e, t, r)
  42199. }),
  42200. (t.prototype.nod = function (e, t, r) {
  42201. return this.node(e, t, r)
  42202. }),
  42203. (t.prototype.txt = function (e) {
  42204. return this.text(e)
  42205. }),
  42206. (t.prototype.dat = function (e) {
  42207. return this.cdata(e)
  42208. }),
  42209. (t.prototype.com = function (e) {
  42210. return this.comment(e)
  42211. }),
  42212. (t.prototype.ins = function (e, t) {
  42213. return this.instruction(e, t)
  42214. }),
  42215. (t.prototype.doc = function () {
  42216. return this.document()
  42217. }),
  42218. (t.prototype.dec = function (e, t, r) {
  42219. return this.declaration(e, t, r)
  42220. }),
  42221. (t.prototype.e = function (e, t, r) {
  42222. return this.element(e, t, r)
  42223. }),
  42224. (t.prototype.n = function (e, t, r) {
  42225. return this.node(e, t, r)
  42226. }),
  42227. (t.prototype.t = function (e) {
  42228. return this.text(e)
  42229. }),
  42230. (t.prototype.d = function (e) {
  42231. return this.cdata(e)
  42232. }),
  42233. (t.prototype.c = function (e) {
  42234. return this.comment(e)
  42235. }),
  42236. (t.prototype.r = function (e) {
  42237. return this.raw(e)
  42238. }),
  42239. (t.prototype.i = function (e, t) {
  42240. return this.instruction(e, t)
  42241. }),
  42242. (t.prototype.u = function () {
  42243. return this.up()
  42244. }),
  42245. (t.prototype.importXMLBuilder = function (e) {
  42246. return this.importDocument(e)
  42247. }),
  42248. (t.prototype.replaceChild = function (e, t) {
  42249. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42250. }),
  42251. (t.prototype.removeChild = function (e) {
  42252. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42253. }),
  42254. (t.prototype.appendChild = function (e) {
  42255. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42256. }),
  42257. (t.prototype.hasChildNodes = function () {
  42258. return 0 !== this.children.length
  42259. }),
  42260. (t.prototype.cloneNode = function (e) {
  42261. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42262. }),
  42263. (t.prototype.normalize = function () {
  42264. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42265. }),
  42266. (t.prototype.isSupported = function (e, t) {
  42267. return !0
  42268. }),
  42269. (t.prototype.hasAttributes = function () {
  42270. return 0 !== this.attribs.length
  42271. }),
  42272. (t.prototype.compareDocumentPosition = function (e) {
  42273. var t, n
  42274. return (
  42275. (t = this),
  42276. t === e
  42277. ? 0
  42278. : this.document() !== e.document()
  42279. ? ((n = r.Disconnected | r.ImplementationSpecific),
  42280. Math.random() < 0.5 ? (n |= r.Preceding) : (n |= r.Following),
  42281. n)
  42282. : t.isAncestor(e)
  42283. ? r.Contains | r.Preceding
  42284. : t.isDescendant(e)
  42285. ? r.Contains | r.Following
  42286. : t.isPreceding(e)
  42287. ? r.Preceding
  42288. : r.Following
  42289. )
  42290. }),
  42291. (t.prototype.isSameNode = function (e) {
  42292. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42293. }),
  42294. (t.prototype.lookupPrefix = function (e) {
  42295. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42296. }),
  42297. (t.prototype.isDefaultNamespace = function (e) {
  42298. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42299. }),
  42300. (t.prototype.lookupNamespaceURI = function (e) {
  42301. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42302. }),
  42303. (t.prototype.isEqualNode = function (e) {
  42304. var t, r, n
  42305. if (e.nodeType !== this.nodeType) return !1
  42306. if (e.children.length !== this.children.length) return !1
  42307. for (t = r = 0, n = this.children.length - 1; 0 <= n ? r <= n : r >= n; t = 0 <= n ? ++r : --r)
  42308. if (!this.children[t].isEqualNode(e.children[t])) return !1
  42309. return !0
  42310. }),
  42311. (t.prototype.getFeature = function (e, t) {
  42312. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42313. }),
  42314. (t.prototype.setUserData = function (e, t, r) {
  42315. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42316. }),
  42317. (t.prototype.getUserData = function (e) {
  42318. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42319. }),
  42320. (t.prototype.contains = function (e) {
  42321. return !!e && (e === this || this.isDescendant(e))
  42322. }),
  42323. (t.prototype.isDescendant = function (e) {
  42324. var t, r, n, i, o
  42325. for (o = this.children, n = 0, i = o.length; n < i; n++) {
  42326. if (((t = o[n]), e === t)) return !0
  42327. if (((r = t.isDescendant(e)), r)) return !0
  42328. }
  42329. return !1
  42330. }),
  42331. (t.prototype.isAncestor = function (e) {
  42332. return e.isDescendant(this)
  42333. }),
  42334. (t.prototype.isPreceding = function (e) {
  42335. var t, r
  42336. return (t = this.treePosition(e)), (r = this.treePosition(this)), -1 !== t && -1 !== r && t < r
  42337. }),
  42338. (t.prototype.isFollowing = function (e) {
  42339. var t, r
  42340. return (t = this.treePosition(e)), (r = this.treePosition(this)), -1 !== t && -1 !== r && t > r
  42341. }),
  42342. (t.prototype.treePosition = function (e) {
  42343. var t, r
  42344. return (
  42345. (r = 0),
  42346. (t = !1),
  42347. this.foreachTreeNode(this.document(), function (n) {
  42348. if ((r++, !t && n === e)) return (t = !0)
  42349. }),
  42350. t ? r : -1
  42351. )
  42352. }),
  42353. (t.prototype.foreachTreeNode = function (e, t) {
  42354. var r, n, i, o, a
  42355. for (e || (e = this.document()), o = e.children, n = 0, i = o.length; n < i; n++) {
  42356. if (((r = o[n]), (a = t(r)))) return a
  42357. if (((a = this.foreachTreeNode(r, t)), a)) return a
  42358. }
  42359. }),
  42360. t
  42361. )
  42362. })())
  42363. }).call(this)
  42364. },
  42365. {
  42366. "./DocumentPosition": 352,
  42367. "./NodeType": 353,
  42368. "./Utility": 354,
  42369. "./XMLCData": 357,
  42370. "./XMLComment": 359,
  42371. "./XMLDeclaration": 368,
  42372. "./XMLDocType": 369,
  42373. "./XMLDummy": 372,
  42374. "./XMLElement": 373,
  42375. "./XMLNamedNodeMap": 374,
  42376. "./XMLNodeList": 376,
  42377. "./XMLProcessingInstruction": 377,
  42378. "./XMLRaw": 378,
  42379. "./XMLText": 382
  42380. }
  42381. ],
  42382. 376: [
  42383. function (e, t, r) {
  42384. ;(function () {
  42385. t.exports = (function () {
  42386. function e(e) {
  42387. this.nodes = e
  42388. }
  42389. return (
  42390. Object.defineProperty(e.prototype, "length", {
  42391. get: function () {
  42392. return this.nodes.length || 0
  42393. }
  42394. }),
  42395. (e.prototype.clone = function () {
  42396. return (this.nodes = null)
  42397. }),
  42398. (e.prototype.item = function (e) {
  42399. return this.nodes[e] || null
  42400. }),
  42401. e
  42402. )
  42403. })()
  42404. }).call(this)
  42405. },
  42406. {}
  42407. ],
  42408. 377: [
  42409. function (e, t, r) {
  42410. ;(function () {
  42411. var r,
  42412. n,
  42413. i = function (e, t) {
  42414. for (var r in t) o.call(t, r) && (e[r] = t[r])
  42415. function n() {
  42416. this.constructor = e
  42417. }
  42418. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  42419. },
  42420. o = {}.hasOwnProperty
  42421. ;(r = e("./NodeType")),
  42422. (n = e("./XMLCharacterData")),
  42423. (t.exports = (function (e) {
  42424. function t(e, n, i) {
  42425. if ((t.__super__.constructor.call(this, e), null == n))
  42426. throw new Error("Missing instruction target. " + this.debugInfo())
  42427. ;(this.type = r.ProcessingInstruction),
  42428. (this.target = this.stringify.insTarget(n)),
  42429. (this.name = this.target),
  42430. i && (this.value = this.stringify.insValue(i))
  42431. }
  42432. return (
  42433. i(t, e),
  42434. (t.prototype.clone = function () {
  42435. return Object.create(this)
  42436. }),
  42437. (t.prototype.toString = function (e) {
  42438. return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(e))
  42439. }),
  42440. (t.prototype.isEqualNode = function (e) {
  42441. return !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.target === this.target
  42442. }),
  42443. t
  42444. )
  42445. })(n))
  42446. }).call(this)
  42447. },
  42448. {
  42449. "./NodeType": 353,
  42450. "./XMLCharacterData": 358
  42451. }
  42452. ],
  42453. 378: [
  42454. function (e, t, r) {
  42455. ;(function () {
  42456. var r,
  42457. n,
  42458. i = function (e, t) {
  42459. for (var r in t) o.call(t, r) && (e[r] = t[r])
  42460. function n() {
  42461. this.constructor = e
  42462. }
  42463. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  42464. },
  42465. o = {}.hasOwnProperty
  42466. ;(r = e("./NodeType")),
  42467. (n = e("./XMLNode")),
  42468. (t.exports = (function (e) {
  42469. function t(e, n) {
  42470. if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing raw text. " + this.debugInfo())
  42471. ;(this.type = r.Raw), (this.value = this.stringify.raw(n))
  42472. }
  42473. return (
  42474. i(t, e),
  42475. (t.prototype.clone = function () {
  42476. return Object.create(this)
  42477. }),
  42478. (t.prototype.toString = function (e) {
  42479. return this.options.writer.raw(this, this.options.writer.filterOptions(e))
  42480. }),
  42481. t
  42482. )
  42483. })(n))
  42484. }).call(this)
  42485. },
  42486. {
  42487. "./NodeType": 353,
  42488. "./XMLNode": 375
  42489. }
  42490. ],
  42491. 379: [
  42492. function (e, t, r) {
  42493. ;(function () {
  42494. var r,
  42495. n,
  42496. i,
  42497. o = function (e, t) {
  42498. for (var r in t) a.call(t, r) && (e[r] = t[r])
  42499. function n() {
  42500. this.constructor = e
  42501. }
  42502. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  42503. },
  42504. a = {}.hasOwnProperty
  42505. ;(r = e("./NodeType")),
  42506. (i = e("./XMLWriterBase")),
  42507. (n = e("./WriterState")),
  42508. (t.exports = (function (e) {
  42509. function t(e, r) {
  42510. ;(this.stream = e), t.__super__.constructor.call(this, r)
  42511. }
  42512. return (
  42513. o(t, e),
  42514. (t.prototype.endline = function (e, r, i) {
  42515. return e.isLastRootNode && r.state === n.CloseTag ? "" : t.__super__.endline.call(this, e, r, i)
  42516. }),
  42517. (t.prototype.document = function (e, t) {
  42518. var r, n, i, o, a, s, l, c, u
  42519. for (l = e.children, n = i = 0, a = l.length; i < a; n = ++i)
  42520. (r = l[n]), (r.isLastRootNode = n === e.children.length - 1)
  42521. for (t = this.filterOptions(t), c = e.children, u = [], o = 0, s = c.length; o < s; o++)
  42522. (r = c[o]), u.push(this.writeChildNode(r, t, 0))
  42523. return u
  42524. }),
  42525. (t.prototype.attribute = function (e, r, n) {
  42526. return this.stream.write(t.__super__.attribute.call(this, e, r, n))
  42527. }),
  42528. (t.prototype.cdata = function (e, r, n) {
  42529. return this.stream.write(t.__super__.cdata.call(this, e, r, n))
  42530. }),
  42531. (t.prototype.comment = function (e, r, n) {
  42532. return this.stream.write(t.__super__.comment.call(this, e, r, n))
  42533. }),
  42534. (t.prototype.declaration = function (e, r, n) {
  42535. return this.stream.write(t.__super__.declaration.call(this, e, r, n))
  42536. }),
  42537. (t.prototype.docType = function (e, t, r) {
  42538. var i, o, a, s
  42539. if (
  42540. (r || (r = 0),
  42541. this.openNode(e, t, r),
  42542. (t.state = n.OpenTag),
  42543. this.stream.write(this.indent(e, t, r)),
  42544. this.stream.write("<!DOCTYPE " + e.root().name),
  42545. e.pubID && e.sysID
  42546. ? this.stream.write(' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
  42547. : e.sysID && this.stream.write(' SYSTEM "' + e.sysID + '"'),
  42548. e.children.length > 0)
  42549. ) {
  42550. for (
  42551. this.stream.write(" ["),
  42552. this.stream.write(this.endline(e, t, r)),
  42553. t.state = n.InsideTag,
  42554. s = e.children,
  42555. o = 0,
  42556. a = s.length;
  42557. o < a;
  42558. o++
  42559. )
  42560. (i = s[o]), this.writeChildNode(i, t, r + 1)
  42561. ;(t.state = n.CloseTag), this.stream.write("]")
  42562. }
  42563. return (
  42564. (t.state = n.CloseTag),
  42565. this.stream.write(t.spaceBeforeSlash + ">"),
  42566. this.stream.write(this.endline(e, t, r)),
  42567. (t.state = n.None),
  42568. this.closeNode(e, t, r)
  42569. )
  42570. }),
  42571. (t.prototype.element = function (e, t, i) {
  42572. var o, s, l, c, u, f, p, d, h
  42573. for (p in (i || (i = 0),
  42574. this.openNode(e, t, i),
  42575. (t.state = n.OpenTag),
  42576. this.stream.write(this.indent(e, t, i) + "<" + e.name),
  42577. (d = e.attribs),
  42578. d))
  42579. a.call(d, p) && ((o = d[p]), this.attribute(o, t, i))
  42580. if (
  42581. ((l = e.children.length),
  42582. (c = 0 === l ? null : e.children[0]),
  42583. 0 === l ||
  42584. e.children.every(function (e) {
  42585. return (e.type === r.Text || e.type === r.Raw) && "" === e.value
  42586. }))
  42587. )
  42588. t.allowEmpty
  42589. ? (this.stream.write(">"), (t.state = n.CloseTag), this.stream.write("</" + e.name + ">"))
  42590. : ((t.state = n.CloseTag), this.stream.write(t.spaceBeforeSlash + "/>"))
  42591. else if (!t.pretty || 1 !== l || (c.type !== r.Text && c.type !== r.Raw) || null == c.value) {
  42592. for (
  42593. this.stream.write(">" + this.endline(e, t, i)),
  42594. t.state = n.InsideTag,
  42595. h = e.children,
  42596. u = 0,
  42597. f = h.length;
  42598. u < f;
  42599. u++
  42600. )
  42601. (s = h[u]), this.writeChildNode(s, t, i + 1)
  42602. ;(t.state = n.CloseTag), this.stream.write(this.indent(e, t, i) + "</" + e.name + ">")
  42603. } else
  42604. this.stream.write(">"),
  42605. (t.state = n.InsideTag),
  42606. t.suppressPrettyCount++,
  42607. !0,
  42608. this.writeChildNode(c, t, i + 1),
  42609. t.suppressPrettyCount--,
  42610. !1,
  42611. (t.state = n.CloseTag),
  42612. this.stream.write("</" + e.name + ">")
  42613. return this.stream.write(this.endline(e, t, i)), (t.state = n.None), this.closeNode(e, t, i)
  42614. }),
  42615. (t.prototype.processingInstruction = function (e, r, n) {
  42616. return this.stream.write(t.__super__.processingInstruction.call(this, e, r, n))
  42617. }),
  42618. (t.prototype.raw = function (e, r, n) {
  42619. return this.stream.write(t.__super__.raw.call(this, e, r, n))
  42620. }),
  42621. (t.prototype.text = function (e, r, n) {
  42622. return this.stream.write(t.__super__.text.call(this, e, r, n))
  42623. }),
  42624. (t.prototype.dtdAttList = function (e, r, n) {
  42625. return this.stream.write(t.__super__.dtdAttList.call(this, e, r, n))
  42626. }),
  42627. (t.prototype.dtdElement = function (e, r, n) {
  42628. return this.stream.write(t.__super__.dtdElement.call(this, e, r, n))
  42629. }),
  42630. (t.prototype.dtdEntity = function (e, r, n) {
  42631. return this.stream.write(t.__super__.dtdEntity.call(this, e, r, n))
  42632. }),
  42633. (t.prototype.dtdNotation = function (e, r, n) {
  42634. return this.stream.write(t.__super__.dtdNotation.call(this, e, r, n))
  42635. }),
  42636. t
  42637. )
  42638. })(i))
  42639. }).call(this)
  42640. },
  42641. {
  42642. "./NodeType": 353,
  42643. "./WriterState": 355,
  42644. "./XMLWriterBase": 383
  42645. }
  42646. ],
  42647. 380: [
  42648. function (e, t, r) {
  42649. ;(function () {
  42650. var r,
  42651. n = function (e, t) {
  42652. for (var r in t) i.call(t, r) && (e[r] = t[r])
  42653. function n() {
  42654. this.constructor = e
  42655. }
  42656. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  42657. },
  42658. i = {}.hasOwnProperty
  42659. ;(r = e("./XMLWriterBase")),
  42660. (t.exports = (function (e) {
  42661. function t(e) {
  42662. t.__super__.constructor.call(this, e)
  42663. }
  42664. return (
  42665. n(t, e),
  42666. (t.prototype.document = function (e, t) {
  42667. var r, n, i, o, a
  42668. for (t = this.filterOptions(t), o = "", a = e.children, n = 0, i = a.length; n < i; n++)
  42669. (r = a[n]), (o += this.writeChildNode(r, t, 0))
  42670. return t.pretty && o.slice(-t.newline.length) === t.newline && (o = o.slice(0, -t.newline.length)), o
  42671. }),
  42672. t
  42673. )
  42674. })(r))
  42675. }).call(this)
  42676. },
  42677. {
  42678. "./XMLWriterBase": 383
  42679. }
  42680. ],
  42681. 381: [
  42682. function (e, t, r) {
  42683. ;(function () {
  42684. var e = function (e, t) {
  42685. return function () {
  42686. return e.apply(t, arguments)
  42687. }
  42688. },
  42689. r = {}.hasOwnProperty
  42690. t.exports = (function () {
  42691. function t(t) {
  42692. var n, i, o
  42693. for (n in ((this.assertLegalName = e(this.assertLegalName, this)),
  42694. (this.assertLegalChar = e(this.assertLegalChar, this)),
  42695. t || (t = {}),
  42696. (this.options = t),
  42697. this.options.version || (this.options.version = "1.0"),
  42698. (i = t.stringify || {}),
  42699. i))
  42700. r.call(i, n) && ((o = i[n]), (this[n] = o))
  42701. }
  42702. return (
  42703. (t.prototype.name = function (e) {
  42704. return this.options.noValidation ? e : this.assertLegalName("" + e || "")
  42705. }),
  42706. (t.prototype.text = function (e) {
  42707. return this.options.noValidation ? e : this.assertLegalChar(this.textEscape("" + e || ""))
  42708. }),
  42709. (t.prototype.cdata = function (e) {
  42710. return this.options.noValidation
  42711. ? e
  42712. : ((e = "" + e || ""), (e = e.replace("]]>", "]]]]><![CDATA[>")), this.assertLegalChar(e))
  42713. }),
  42714. (t.prototype.comment = function (e) {
  42715. if (this.options.noValidation) return e
  42716. if (((e = "" + e || ""), e.match(/--/))) throw new Error("Comment text cannot contain double-hypen: " + e)
  42717. return this.assertLegalChar(e)
  42718. }),
  42719. (t.prototype.raw = function (e) {
  42720. return this.options.noValidation ? e : "" + e || ""
  42721. }),
  42722. (t.prototype.attValue = function (e) {
  42723. return this.options.noValidation ? e : this.assertLegalChar(this.attEscape((e = "" + e || "")))
  42724. }),
  42725. (t.prototype.insTarget = function (e) {
  42726. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42727. }),
  42728. (t.prototype.insValue = function (e) {
  42729. if (this.options.noValidation) return e
  42730. if (((e = "" + e || ""), e.match(/\?>/))) throw new Error("Invalid processing instruction value: " + e)
  42731. return this.assertLegalChar(e)
  42732. }),
  42733. (t.prototype.xmlVersion = function (e) {
  42734. if (this.options.noValidation) return e
  42735. if (((e = "" + e || ""), !e.match(/1\.[0-9]+/))) throw new Error("Invalid version number: " + e)
  42736. return e
  42737. }),
  42738. (t.prototype.xmlEncoding = function (e) {
  42739. if (this.options.noValidation) return e
  42740. if (((e = "" + e || ""), !e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))) throw new Error("Invalid encoding: " + e)
  42741. return this.assertLegalChar(e)
  42742. }),
  42743. (t.prototype.xmlStandalone = function (e) {
  42744. return this.options.noValidation ? e : e ? "yes" : "no"
  42745. }),
  42746. (t.prototype.dtdPubID = function (e) {
  42747. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42748. }),
  42749. (t.prototype.dtdSysID = function (e) {
  42750. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42751. }),
  42752. (t.prototype.dtdElementValue = function (e) {
  42753. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42754. }),
  42755. (t.prototype.dtdAttType = function (e) {
  42756. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42757. }),
  42758. (t.prototype.dtdAttDefault = function (e) {
  42759. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42760. }),
  42761. (t.prototype.dtdEntityValue = function (e) {
  42762. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42763. }),
  42764. (t.prototype.dtdNData = function (e) {
  42765. return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
  42766. }),
  42767. (t.prototype.convertAttKey = "@"),
  42768. (t.prototype.convertPIKey = "?"),
  42769. (t.prototype.convertTextKey = "#text"),
  42770. (t.prototype.convertCDataKey = "#cdata"),
  42771. (t.prototype.convertCommentKey = "#comment"),
  42772. (t.prototype.convertRawKey = "#raw"),
  42773. (t.prototype.assertLegalChar = function (e) {
  42774. var t, r
  42775. if (this.options.noValidation) return e
  42776. if (((t = ""), "1.0" === this.options.version)) {
  42777. if (
  42778. ((t =
  42779. /[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),
  42780. (r = e.match(t)))
  42781. )
  42782. throw new Error("Invalid character in string: " + e + " at index " + r.index)
  42783. } else if (
  42784. "1.1" === this.options.version &&
  42785. ((t = /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),
  42786. (r = e.match(t)))
  42787. )
  42788. throw new Error("Invalid character in string: " + e + " at index " + r.index)
  42789. return e
  42790. }),
  42791. (t.prototype.assertLegalName = function (e) {
  42792. var t
  42793. if (this.options.noValidation) return e
  42794. if (
  42795. (this.assertLegalChar(e),
  42796. (t =
  42797. /^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/),
  42798. !e.match(t))
  42799. )
  42800. throw new Error("Invalid character in name")
  42801. return e
  42802. }),
  42803. (t.prototype.textEscape = function (e) {
  42804. var t
  42805. return this.options.noValidation
  42806. ? e
  42807. : ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g),
  42808. e.replace(t, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\r/g, "&#xD;"))
  42809. }),
  42810. (t.prototype.attEscape = function (e) {
  42811. var t
  42812. return this.options.noValidation
  42813. ? e
  42814. : ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g),
  42815. e
  42816. .replace(t, "&amp;")
  42817. .replace(/</g, "&lt;")
  42818. .replace(/"/g, "&quot;")
  42819. .replace(/\t/g, "&#x9;")
  42820. .replace(/\n/g, "&#xA;")
  42821. .replace(/\r/g, "&#xD;"))
  42822. }),
  42823. t
  42824. )
  42825. })()
  42826. }).call(this)
  42827. },
  42828. {}
  42829. ],
  42830. 382: [
  42831. function (e, t, r) {
  42832. ;(function () {
  42833. var r,
  42834. n,
  42835. i = function (e, t) {
  42836. for (var r in t) o.call(t, r) && (e[r] = t[r])
  42837. function n() {
  42838. this.constructor = e
  42839. }
  42840. return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
  42841. },
  42842. o = {}.hasOwnProperty
  42843. ;(r = e("./NodeType")),
  42844. (n = e("./XMLCharacterData")),
  42845. (t.exports = (function (e) {
  42846. function t(e, n) {
  42847. if ((t.__super__.constructor.call(this, e), null == n))
  42848. throw new Error("Missing element text. " + this.debugInfo())
  42849. ;(this.name = "#text"), (this.type = r.Text), (this.value = this.stringify.text(n))
  42850. }
  42851. return (
  42852. i(t, e),
  42853. Object.defineProperty(t.prototype, "isElementContentWhitespace", {
  42854. get: function () {
  42855. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42856. }
  42857. }),
  42858. Object.defineProperty(t.prototype, "wholeText", {
  42859. get: function () {
  42860. var e, t, r
  42861. ;(r = ""), (t = this.previousSibling)
  42862. while (t) (r = t.data + r), (t = t.previousSibling)
  42863. ;(r += this.data), (e = this.nextSibling)
  42864. while (e) (r += e.data), (e = e.nextSibling)
  42865. return r
  42866. }
  42867. }),
  42868. (t.prototype.clone = function () {
  42869. return Object.create(this)
  42870. }),
  42871. (t.prototype.toString = function (e) {
  42872. return this.options.writer.text(this, this.options.writer.filterOptions(e))
  42873. }),
  42874. (t.prototype.splitText = function (e) {
  42875. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42876. }),
  42877. (t.prototype.replaceWholeText = function (e) {
  42878. throw new Error("This DOM method is not implemented." + this.debugInfo())
  42879. }),
  42880. t
  42881. )
  42882. })(n))
  42883. }).call(this)
  42884. },
  42885. {
  42886. "./NodeType": 353,
  42887. "./XMLCharacterData": 358
  42888. }
  42889. ],
  42890. 383: [
  42891. function (e, t, r) {
  42892. ;(function () {
  42893. var r,
  42894. n,
  42895. i,
  42896. o = {}.hasOwnProperty
  42897. ;(i = e("./Utility").assign),
  42898. (r = e("./NodeType")),
  42899. e("./XMLDeclaration"),
  42900. e("./XMLDocType"),
  42901. e("./XMLCData"),
  42902. e("./XMLComment"),
  42903. e("./XMLElement"),
  42904. e("./XMLRaw"),
  42905. e("./XMLText"),
  42906. e("./XMLProcessingInstruction"),
  42907. e("./XMLDummy"),
  42908. e("./XMLDTDAttList"),
  42909. e("./XMLDTDElement"),
  42910. e("./XMLDTDEntity"),
  42911. e("./XMLDTDNotation"),
  42912. (n = e("./WriterState")),
  42913. (t.exports = (function () {
  42914. function e(e) {
  42915. var t, r, n
  42916. for (t in (e || (e = {}), (this.options = e), (r = e.writer || {}), r))
  42917. o.call(r, t) && ((n = r[t]), (this["_" + t] = this[t]), (this[t] = n))
  42918. }
  42919. return (
  42920. (e.prototype.filterOptions = function (e) {
  42921. var t, r, o, a, s, l, c, u
  42922. return (
  42923. e || (e = {}),
  42924. (e = i({}, this.options, e)),
  42925. (t = {
  42926. writer: this
  42927. }),
  42928. (t.pretty = e.pretty || !1),
  42929. (t.allowEmpty = e.allowEmpty || !1),
  42930. (t.indent = null != (r = e.indent) ? r : " "),
  42931. (t.newline = null != (o = e.newline) ? o : "\n"),
  42932. (t.offset = null != (a = e.offset) ? a : 0),
  42933. (t.dontPrettyTextNodes =
  42934. null != (s = null != (l = e.dontPrettyTextNodes) ? l : e.dontprettytextnodes) ? s : 0),
  42935. (t.spaceBeforeSlash = null != (c = null != (u = e.spaceBeforeSlash) ? u : e.spacebeforeslash) ? c : ""),
  42936. !0 === t.spaceBeforeSlash && (t.spaceBeforeSlash = " "),
  42937. (t.suppressPrettyCount = 0),
  42938. (t.user = {}),
  42939. (t.state = n.None),
  42940. t
  42941. )
  42942. }),
  42943. (e.prototype.indent = function (e, t, r) {
  42944. var n
  42945. return !t.pretty || t.suppressPrettyCount
  42946. ? ""
  42947. : t.pretty && ((n = (r || 0) + t.offset + 1), n > 0)
  42948. ? new Array(n).join(t.indent)
  42949. : ""
  42950. }),
  42951. (e.prototype.endline = function (e, t, r) {
  42952. return !t.pretty || t.suppressPrettyCount ? "" : t.newline
  42953. }),
  42954. (e.prototype.attribute = function (e, t, r) {
  42955. var n
  42956. return this.openAttribute(e, t, r), (n = " " + e.name + '="' + e.value + '"'), this.closeAttribute(e, t, r), n
  42957. }),
  42958. (e.prototype.cdata = function (e, t, r) {
  42959. var i
  42960. return (
  42961. this.openNode(e, t, r),
  42962. (t.state = n.OpenTag),
  42963. (i = this.indent(e, t, r) + "<![CDATA["),
  42964. (t.state = n.InsideTag),
  42965. (i += e.value),
  42966. (t.state = n.CloseTag),
  42967. (i += "]]>" + this.endline(e, t, r)),
  42968. (t.state = n.None),
  42969. this.closeNode(e, t, r),
  42970. i
  42971. )
  42972. }),
  42973. (e.prototype.comment = function (e, t, r) {
  42974. var i
  42975. return (
  42976. this.openNode(e, t, r),
  42977. (t.state = n.OpenTag),
  42978. (i = this.indent(e, t, r) + "\x3c!-- "),
  42979. (t.state = n.InsideTag),
  42980. (i += e.value),
  42981. (t.state = n.CloseTag),
  42982. (i += " --\x3e" + this.endline(e, t, r)),
  42983. (t.state = n.None),
  42984. this.closeNode(e, t, r),
  42985. i
  42986. )
  42987. }),
  42988. (e.prototype.declaration = function (e, t, r) {
  42989. var i
  42990. return (
  42991. this.openNode(e, t, r),
  42992. (t.state = n.OpenTag),
  42993. (i = this.indent(e, t, r) + "<?xml"),
  42994. (t.state = n.InsideTag),
  42995. (i += ' version="' + e.version + '"'),
  42996. null != e.encoding && (i += ' encoding="' + e.encoding + '"'),
  42997. null != e.standalone && (i += ' standalone="' + e.standalone + '"'),
  42998. (t.state = n.CloseTag),
  42999. (i += t.spaceBeforeSlash + "?>"),
  43000. (i += this.endline(e, t, r)),
  43001. (t.state = n.None),
  43002. this.closeNode(e, t, r),
  43003. i
  43004. )
  43005. }),
  43006. (e.prototype.docType = function (e, t, r) {
  43007. var i, o, a, s, l
  43008. if (
  43009. (r || (r = 0),
  43010. this.openNode(e, t, r),
  43011. (t.state = n.OpenTag),
  43012. (s = this.indent(e, t, r)),
  43013. (s += "<!DOCTYPE " + e.root().name),
  43014. e.pubID && e.sysID
  43015. ? (s += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
  43016. : e.sysID && (s += ' SYSTEM "' + e.sysID + '"'),
  43017. e.children.length > 0)
  43018. ) {
  43019. for (
  43020. s += " [", s += this.endline(e, t, r), t.state = n.InsideTag, l = e.children, o = 0, a = l.length;
  43021. o < a;
  43022. o++
  43023. )
  43024. (i = l[o]), (s += this.writeChildNode(i, t, r + 1))
  43025. ;(t.state = n.CloseTag), (s += "]")
  43026. }
  43027. return (
  43028. (t.state = n.CloseTag),
  43029. (s += t.spaceBeforeSlash + ">"),
  43030. (s += this.endline(e, t, r)),
  43031. (t.state = n.None),
  43032. this.closeNode(e, t, r),
  43033. s
  43034. )
  43035. }),
  43036. (e.prototype.element = function (e, t, i) {
  43037. var a, s, l, c, u, f, p, d, h, m, g, y, v, b
  43038. for (h in (i || (i = 0),
  43039. (m = !1),
  43040. (g = ""),
  43041. this.openNode(e, t, i),
  43042. (t.state = n.OpenTag),
  43043. (g += this.indent(e, t, i) + "<" + e.name),
  43044. (y = e.attribs),
  43045. y))
  43046. o.call(y, h) && ((a = y[h]), (g += this.attribute(a, t, i)))
  43047. if (
  43048. ((l = e.children.length),
  43049. (c = 0 === l ? null : e.children[0]),
  43050. 0 === l ||
  43051. e.children.every(function (e) {
  43052. return (e.type === r.Text || e.type === r.Raw) && "" === e.value
  43053. }))
  43054. )
  43055. t.allowEmpty
  43056. ? ((g += ">"), (t.state = n.CloseTag), (g += "</" + e.name + ">" + this.endline(e, t, i)))
  43057. : ((t.state = n.CloseTag), (g += t.spaceBeforeSlash + "/>" + this.endline(e, t, i)))
  43058. else if (!t.pretty || 1 !== l || (c.type !== r.Text && c.type !== r.Raw) || null == c.value) {
  43059. if (t.dontPrettyTextNodes)
  43060. for (v = e.children, u = 0, p = v.length; u < p; u++)
  43061. if (((s = v[u]), (s.type === r.Text || s.type === r.Raw) && null != s.value)) {
  43062. t.suppressPrettyCount++, (m = !0)
  43063. break
  43064. }
  43065. for (
  43066. g += ">" + this.endline(e, t, i), t.state = n.InsideTag, b = e.children, f = 0, d = b.length;
  43067. f < d;
  43068. f++
  43069. )
  43070. (s = b[f]), (g += this.writeChildNode(s, t, i + 1))
  43071. ;(t.state = n.CloseTag),
  43072. (g += this.indent(e, t, i) + "</" + e.name + ">"),
  43073. m && t.suppressPrettyCount--,
  43074. (g += this.endline(e, t, i)),
  43075. (t.state = n.None)
  43076. } else
  43077. (g += ">"),
  43078. (t.state = n.InsideTag),
  43079. t.suppressPrettyCount++,
  43080. (m = !0),
  43081. (g += this.writeChildNode(c, t, i + 1)),
  43082. t.suppressPrettyCount--,
  43083. (m = !1),
  43084. (t.state = n.CloseTag),
  43085. (g += "</" + e.name + ">" + this.endline(e, t, i))
  43086. return this.closeNode(e, t, i), g
  43087. }),
  43088. (e.prototype.writeChildNode = function (e, t, n) {
  43089. switch (e.type) {
  43090. case r.CData:
  43091. return this.cdata(e, t, n)
  43092. case r.Comment:
  43093. return this.comment(e, t, n)
  43094. case r.Element:
  43095. return this.element(e, t, n)
  43096. case r.Raw:
  43097. return this.raw(e, t, n)
  43098. case r.Text:
  43099. return this.text(e, t, n)
  43100. case r.ProcessingInstruction:
  43101. return this.processingInstruction(e, t, n)
  43102. case r.Dummy:
  43103. return ""
  43104. case r.Declaration:
  43105. return this.declaration(e, t, n)
  43106. case r.DocType:
  43107. return this.docType(e, t, n)
  43108. case r.AttributeDeclaration:
  43109. return this.dtdAttList(e, t, n)
  43110. case r.ElementDeclaration:
  43111. return this.dtdElement(e, t, n)
  43112. case r.EntityDeclaration:
  43113. return this.dtdEntity(e, t, n)
  43114. case r.NotationDeclaration:
  43115. return this.dtdNotation(e, t, n)
  43116. default:
  43117. throw new Error("Unknown XML node type: " + e.constructor.name)
  43118. }
  43119. }),
  43120. (e.prototype.processingInstruction = function (e, t, r) {
  43121. var i
  43122. return (
  43123. this.openNode(e, t, r),
  43124. (t.state = n.OpenTag),
  43125. (i = this.indent(e, t, r) + "<?"),
  43126. (t.state = n.InsideTag),
  43127. (i += e.target),
  43128. e.value && (i += " " + e.value),
  43129. (t.state = n.CloseTag),
  43130. (i += t.spaceBeforeSlash + "?>"),
  43131. (i += this.endline(e, t, r)),
  43132. (t.state = n.None),
  43133. this.closeNode(e, t, r),
  43134. i
  43135. )
  43136. }),
  43137. (e.prototype.raw = function (e, t, r) {
  43138. var i
  43139. return (
  43140. this.openNode(e, t, r),
  43141. (t.state = n.OpenTag),
  43142. (i = this.indent(e, t, r)),
  43143. (t.state = n.InsideTag),
  43144. (i += e.value),
  43145. (t.state = n.CloseTag),
  43146. (i += this.endline(e, t, r)),
  43147. (t.state = n.None),
  43148. this.closeNode(e, t, r),
  43149. i
  43150. )
  43151. }),
  43152. (e.prototype.text = function (e, t, r) {
  43153. var i
  43154. return (
  43155. this.openNode(e, t, r),
  43156. (t.state = n.OpenTag),
  43157. (i = this.indent(e, t, r)),
  43158. (t.state = n.InsideTag),
  43159. (i += e.value),
  43160. (t.state = n.CloseTag),
  43161. (i += this.endline(e, t, r)),
  43162. (t.state = n.None),
  43163. this.closeNode(e, t, r),
  43164. i
  43165. )
  43166. }),
  43167. (e.prototype.dtdAttList = function (e, t, r) {
  43168. var i
  43169. return (
  43170. this.openNode(e, t, r),
  43171. (t.state = n.OpenTag),
  43172. (i = this.indent(e, t, r) + "<!ATTLIST"),
  43173. (t.state = n.InsideTag),
  43174. (i += " " + e.elementName + " " + e.attributeName + " " + e.attributeType),
  43175. "#DEFAULT" !== e.defaultValueType && (i += " " + e.defaultValueType),
  43176. e.defaultValue && (i += ' "' + e.defaultValue + '"'),
  43177. (t.state = n.CloseTag),
  43178. (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
  43179. (t.state = n.None),
  43180. this.closeNode(e, t, r),
  43181. i
  43182. )
  43183. }),
  43184. (e.prototype.dtdElement = function (e, t, r) {
  43185. var i
  43186. return (
  43187. this.openNode(e, t, r),
  43188. (t.state = n.OpenTag),
  43189. (i = this.indent(e, t, r) + "<!ELEMENT"),
  43190. (t.state = n.InsideTag),
  43191. (i += " " + e.name + " " + e.value),
  43192. (t.state = n.CloseTag),
  43193. (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
  43194. (t.state = n.None),
  43195. this.closeNode(e, t, r),
  43196. i
  43197. )
  43198. }),
  43199. (e.prototype.dtdEntity = function (e, t, r) {
  43200. var i
  43201. return (
  43202. this.openNode(e, t, r),
  43203. (t.state = n.OpenTag),
  43204. (i = this.indent(e, t, r) + "<!ENTITY"),
  43205. (t.state = n.InsideTag),
  43206. e.pe && (i += " %"),
  43207. (i += " " + e.name),
  43208. e.value
  43209. ? (i += ' "' + e.value + '"')
  43210. : (e.pubID && e.sysID
  43211. ? (i += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
  43212. : e.sysID && (i += ' SYSTEM "' + e.sysID + '"'),
  43213. e.nData && (i += " NDATA " + e.nData)),
  43214. (t.state = n.CloseTag),
  43215. (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
  43216. (t.state = n.None),
  43217. this.closeNode(e, t, r),
  43218. i
  43219. )
  43220. }),
  43221. (e.prototype.dtdNotation = function (e, t, r) {
  43222. var i
  43223. return (
  43224. this.openNode(e, t, r),
  43225. (t.state = n.OpenTag),
  43226. (i = this.indent(e, t, r) + "<!NOTATION"),
  43227. (t.state = n.InsideTag),
  43228. (i += " " + e.name),
  43229. e.pubID && e.sysID
  43230. ? (i += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
  43231. : e.pubID
  43232. ? (i += ' PUBLIC "' + e.pubID + '"')
  43233. : e.sysID && (i += ' SYSTEM "' + e.sysID + '"'),
  43234. (t.state = n.CloseTag),
  43235. (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
  43236. (t.state = n.None),
  43237. this.closeNode(e, t, r),
  43238. i
  43239. )
  43240. }),
  43241. (e.prototype.openNode = function (e, t, r) {}),
  43242. (e.prototype.closeNode = function (e, t, r) {}),
  43243. (e.prototype.openAttribute = function (e, t, r) {}),
  43244. (e.prototype.closeAttribute = function (e, t, r) {}),
  43245. e
  43246. )
  43247. })())
  43248. }).call(this)
  43249. },
  43250. {
  43251. "./NodeType": 353,
  43252. "./Utility": 354,
  43253. "./WriterState": 355,
  43254. "./XMLCData": 357,
  43255. "./XMLComment": 359,
  43256. "./XMLDTDAttList": 364,
  43257. "./XMLDTDElement": 365,
  43258. "./XMLDTDEntity": 366,
  43259. "./XMLDTDNotation": 367,
  43260. "./XMLDeclaration": 368,
  43261. "./XMLDocType": 369,
  43262. "./XMLDummy": 372,
  43263. "./XMLElement": 373,
  43264. "./XMLProcessingInstruction": 377,
  43265. "./XMLRaw": 378,
  43266. "./XMLText": 382
  43267. }
  43268. ],
  43269. 384: [
  43270. function (e, t, r) {
  43271. ;(function () {
  43272. var r, n, i, o, a, s, l, c, u, f
  43273. ;(f = e("./Utility")),
  43274. (c = f.assign),
  43275. (u = f.isFunction),
  43276. (i = e("./XMLDOMImplementation")),
  43277. (o = e("./XMLDocument")),
  43278. (a = e("./XMLDocumentCB")),
  43279. (l = e("./XMLStringWriter")),
  43280. (s = e("./XMLStreamWriter")),
  43281. (r = e("./NodeType")),
  43282. (n = e("./WriterState")),
  43283. (t.exports.create = function (e, t, r, n) {
  43284. var i, a
  43285. if (null == e) throw new Error("Root element needs a name.")
  43286. return (
  43287. (n = c({}, t, r, n)),
  43288. (i = new o(n)),
  43289. (a = i.element(e)),
  43290. n.headless || (i.declaration(n), (null == n.pubID && null == n.sysID) || i.dtd(n)),
  43291. a
  43292. )
  43293. }),
  43294. (t.exports.begin = function (e, t, r) {
  43295. var n
  43296. return u(e) && ((n = [e, t]), (t = n[0]), (r = n[1]), (e = {})), t ? new a(e, t, r) : new o(e)
  43297. }),
  43298. (t.exports.stringWriter = function (e) {
  43299. return new l(e)
  43300. }),
  43301. (t.exports.streamWriter = function (e, t) {
  43302. return new s(e, t)
  43303. }),
  43304. (t.exports.implementation = new i()),
  43305. (t.exports.nodeType = r),
  43306. (t.exports.writerState = n)
  43307. }).call(this)
  43308. },
  43309. {
  43310. "./NodeType": 353,
  43311. "./Utility": 354,
  43312. "./WriterState": 355,
  43313. "./XMLDOMImplementation": 362,
  43314. "./XMLDocument": 370,
  43315. "./XMLDocumentCB": 371,
  43316. "./XMLStreamWriter": 379,
  43317. "./XMLStringWriter": 380
  43318. }
  43319. ],
  43320. 385: [
  43321. function (e, t, r) {
  43322. t.exports = i
  43323. var n = Object.prototype.hasOwnProperty
  43324. function i() {
  43325. for (var e = {}, t = 0; t < arguments.length; t++) {
  43326. var r = arguments[t]
  43327. for (var i in r) n.call(r, i) && (e[i] = r[i])
  43328. }
  43329. return e
  43330. }
  43331. },
  43332. {}
  43333. ],
  43334. 386: [
  43335. function (e, t, r) {
  43336. "use strict"
  43337. e("core-js/modules/es.array.concat"),
  43338. e("core-js/modules/es.array.fill"),
  43339. e("core-js/modules/es.array.join"),
  43340. e("core-js/modules/es.array.slice"),
  43341. e("core-js/modules/es.object.to-string"),
  43342. e("core-js/modules/es.regexp.to-string")
  43343. var n = e("buffer").Buffer,
  43344. i = e("./sha"),
  43345. o = e("./md5"),
  43346. a = {
  43347. sha1: i,
  43348. md5: o
  43349. },
  43350. s = 64,
  43351. l = n.alloc(s)
  43352. function c(e, t, r) {
  43353. n.isBuffer(t) || (t = n.from(t)),
  43354. n.isBuffer(r) || (r = n.from(r)),
  43355. t.length > s ? (t = e(t)) : t.length < s && (t = n.concat([t, l], s))
  43356. for (var i = n.alloc(s), o = n.alloc(s), a = 0; a < s; a++) (i[a] = 54 ^ t[a]), (o[a] = 92 ^ t[a])
  43357. var c = e(n.concat([i, r]))
  43358. return e(n.concat([o, c]))
  43359. }
  43360. function u(e, t) {
  43361. e = e || "sha1"
  43362. var r = a[e],
  43363. i = []
  43364. return (
  43365. r || f("algorithm:", e, "is not yet supported"),
  43366. {
  43367. update: function (e) {
  43368. return n.isBuffer(e) || (e = n.from(e)), i.push(e), e.length, this
  43369. },
  43370. digest: function (e) {
  43371. var o = n.concat(i),
  43372. a = t ? c(r, t, o) : r(o)
  43373. return (i = null), e ? a.toString(e) : a
  43374. }
  43375. }
  43376. )
  43377. }
  43378. function f() {
  43379. var e = [].slice.call(arguments).join(" ")
  43380. throw new Error([e, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join("\n"))
  43381. }
  43382. l.fill(0),
  43383. (r.createHash = function (e) {
  43384. return u(e)
  43385. }),
  43386. (r.createHmac = function (e, t) {
  43387. return u(e, t)
  43388. }),
  43389. (r.createCredentials = function () {
  43390. f("sorry,createCredentials is not implemented yet")
  43391. }),
  43392. (r.createCipher = function () {
  43393. f("sorry,createCipher is not implemented yet")
  43394. }),
  43395. (r.createCipheriv = function () {
  43396. f("sorry,createCipheriv is not implemented yet")
  43397. }),
  43398. (r.createDecipher = function () {
  43399. f("sorry,createDecipher is not implemented yet")
  43400. }),
  43401. (r.createDecipheriv = function () {
  43402. f("sorry,createDecipheriv is not implemented yet")
  43403. }),
  43404. (r.createSign = function () {
  43405. f("sorry,createSign is not implemented yet")
  43406. }),
  43407. (r.createVerify = function () {
  43408. f("sorry,createVerify is not implemented yet")
  43409. }),
  43410. (r.createDiffieHellman = function () {
  43411. f("sorry,createDiffieHellman is not implemented yet")
  43412. }),
  43413. (r.pbkdf2 = function () {
  43414. f("sorry,pbkdf2 is not implemented yet")
  43415. })
  43416. },
  43417. {
  43418. "./md5": 388,
  43419. "./sha": 389,
  43420. buffer: 99,
  43421. "core-js/modules/es.array.concat": 234,
  43422. "core-js/modules/es.array.fill": 235,
  43423. "core-js/modules/es.array.join": 243,
  43424. "core-js/modules/es.array.slice": 246,
  43425. "core-js/modules/es.object.to-string": 254,
  43426. "core-js/modules/es.regexp.to-string": 257
  43427. }
  43428. ],
  43429. 387: [
  43430. function (e, t, r) {
  43431. "use strict"
  43432. e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.fill")
  43433. var n = e("buffer").Buffer,
  43434. i = 4,
  43435. o = n.alloc(i)
  43436. o.fill(0)
  43437. var a = 8
  43438. function s(e, t) {
  43439. if (e.length % i !== 0) {
  43440. var r = e.length + (i - (e.length % i))
  43441. e = n.concat([e, o], r)
  43442. }
  43443. for (var a = [], s = t ? e.readInt32BE : e.readInt32LE, l = 0; l < e.length; l += i) a.push(s.call(e, l))
  43444. return a
  43445. }
  43446. function l(e, t, r) {
  43447. for (var i = n.alloc(t), o = r ? i.writeInt32BE : i.writeInt32LE, a = 0; a < e.length; a++) o.call(i, e[a], 4 * a, !0)
  43448. return i
  43449. }
  43450. function c(e, t, r, i) {
  43451. n.isBuffer(e) || (e = n.from(e))
  43452. var o = t(s(e, i), e.length * a)
  43453. return l(o, r, i)
  43454. }
  43455. t.exports = {
  43456. hash: c
  43457. }
  43458. },
  43459. {
  43460. buffer: 99,
  43461. "core-js/modules/es.array.concat": 234,
  43462. "core-js/modules/es.array.fill": 235
  43463. }
  43464. ],
  43465. 388: [
  43466. function (e, t, r) {
  43467. "use strict"
  43468. var n = e("./helpers")
  43469. function i(e, t) {
  43470. ;(e[t >> 5] |= 128 << t % 32), (e[14 + (((t + 64) >>> 9) << 4)] = t)
  43471. for (var r = 1732584193, n = -271733879, i = -1732584194, o = 271733878, f = 0; f < e.length; f += 16) {
  43472. var p = r,
  43473. d = n,
  43474. h = i,
  43475. m = o
  43476. ;(r = a(r, n, i, o, e[f + 0], 7, -680876936)),
  43477. (o = a(o, r, n, i, e[f + 1], 12, -389564586)),
  43478. (i = a(i, o, r, n, e[f + 2], 17, 606105819)),
  43479. (n = a(n, i, o, r, e[f + 3], 22, -1044525330)),
  43480. (r = a(r, n, i, o, e[f + 4], 7, -176418897)),
  43481. (o = a(o, r, n, i, e[f + 5], 12, 1200080426)),
  43482. (i = a(i, o, r, n, e[f + 6], 17, -1473231341)),
  43483. (n = a(n, i, o, r, e[f + 7], 22, -45705983)),
  43484. (r = a(r, n, i, o, e[f + 8], 7, 1770035416)),
  43485. (o = a(o, r, n, i, e[f + 9], 12, -1958414417)),
  43486. (i = a(i, o, r, n, e[f + 10], 17, -42063)),
  43487. (n = a(n, i, o, r, e[f + 11], 22, -1990404162)),
  43488. (r = a(r, n, i, o, e[f + 12], 7, 1804603682)),
  43489. (o = a(o, r, n, i, e[f + 13], 12, -40341101)),
  43490. (i = a(i, o, r, n, e[f + 14], 17, -1502002290)),
  43491. (n = a(n, i, o, r, e[f + 15], 22, 1236535329)),
  43492. (r = s(r, n, i, o, e[f + 1], 5, -165796510)),
  43493. (o = s(o, r, n, i, e[f + 6], 9, -1069501632)),
  43494. (i = s(i, o, r, n, e[f + 11], 14, 643717713)),
  43495. (n = s(n, i, o, r, e[f + 0], 20, -373897302)),
  43496. (r = s(r, n, i, o, e[f + 5], 5, -701558691)),
  43497. (o = s(o, r, n, i, e[f + 10], 9, 38016083)),
  43498. (i = s(i, o, r, n, e[f + 15], 14, -660478335)),
  43499. (n = s(n, i, o, r, e[f + 4], 20, -405537848)),
  43500. (r = s(r, n, i, o, e[f + 9], 5, 568446438)),
  43501. (o = s(o, r, n, i, e[f + 14], 9, -1019803690)),
  43502. (i = s(i, o, r, n, e[f + 3], 14, -187363961)),
  43503. (n = s(n, i, o, r, e[f + 8], 20, 1163531501)),
  43504. (r = s(r, n, i, o, e[f + 13], 5, -1444681467)),
  43505. (o = s(o, r, n, i, e[f + 2], 9, -51403784)),
  43506. (i = s(i, o, r, n, e[f + 7], 14, 1735328473)),
  43507. (n = s(n, i, o, r, e[f + 12], 20, -1926607734)),
  43508. (r = l(r, n, i, o, e[f + 5], 4, -378558)),
  43509. (o = l(o, r, n, i, e[f + 8], 11, -2022574463)),
  43510. (i = l(i, o, r, n, e[f + 11], 16, 1839030562)),
  43511. (n = l(n, i, o, r, e[f + 14], 23, -35309556)),
  43512. (r = l(r, n, i, o, e[f + 1], 4, -1530992060)),
  43513. (o = l(o, r, n, i, e[f + 4], 11, 1272893353)),
  43514. (i = l(i, o, r, n, e[f + 7], 16, -155497632)),
  43515. (n = l(n, i, o, r, e[f + 10], 23, -1094730640)),
  43516. (r = l(r, n, i, o, e[f + 13], 4, 681279174)),
  43517. (o = l(o, r, n, i, e[f + 0], 11, -358537222)),
  43518. (i = l(i, o, r, n, e[f + 3], 16, -722521979)),
  43519. (n = l(n, i, o, r, e[f + 6], 23, 76029189)),
  43520. (r = l(r, n, i, o, e[f + 9], 4, -640364487)),
  43521. (o = l(o, r, n, i, e[f + 12], 11, -421815835)),
  43522. (i = l(i, o, r, n, e[f + 15], 16, 530742520)),
  43523. (n = l(n, i, o, r, e[f + 2], 23, -995338651)),
  43524. (r = c(r, n, i, o, e[f + 0], 6, -198630844)),
  43525. (o = c(o, r, n, i, e[f + 7], 10, 1126891415)),
  43526. (i = c(i, o, r, n, e[f + 14], 15, -1416354905)),
  43527. (n = c(n, i, o, r, e[f + 5], 21, -57434055)),
  43528. (r = c(r, n, i, o, e[f + 12], 6, 1700485571)),
  43529. (o = c(o, r, n, i, e[f + 3], 10, -1894986606)),
  43530. (i = c(i, o, r, n, e[f + 10], 15, -1051523)),
  43531. (n = c(n, i, o, r, e[f + 1], 21, -2054922799)),
  43532. (r = c(r, n, i, o, e[f + 8], 6, 1873313359)),
  43533. (o = c(o, r, n, i, e[f + 15], 10, -30611744)),
  43534. (i = c(i, o, r, n, e[f + 6], 15, -1560198380)),
  43535. (n = c(n, i, o, r, e[f + 13], 21, 1309151649)),
  43536. (r = c(r, n, i, o, e[f + 4], 6, -145523070)),
  43537. (o = c(o, r, n, i, e[f + 11], 10, -1120210379)),
  43538. (i = c(i, o, r, n, e[f + 2], 15, 718787259)),
  43539. (n = c(n, i, o, r, e[f + 9], 21, -343485551)),
  43540. (r = u(r, p)),
  43541. (n = u(n, d)),
  43542. (i = u(i, h)),
  43543. (o = u(o, m))
  43544. }
  43545. return Array(r, n, i, o)
  43546. }
  43547. function o(e, t, r, n, i, o) {
  43548. return u(f(u(u(t, e), u(n, o)), i), r)
  43549. }
  43550. function a(e, t, r, n, i, a, s) {
  43551. return o((t & r) | (~t & n), e, t, i, a, s)
  43552. }
  43553. function s(e, t, r, n, i, a, s) {
  43554. return o((t & n) | (r & ~n), e, t, i, a, s)
  43555. }
  43556. function l(e, t, r, n, i, a, s) {
  43557. return o(t ^ r ^ n, e, t, i, a, s)
  43558. }
  43559. function c(e, t, r, n, i, a, s) {
  43560. return o(r ^ (t | ~n), e, t, i, a, s)
  43561. }
  43562. function u(e, t) {
  43563. var r = (65535 & e) + (65535 & t),
  43564. n = (e >> 16) + (t >> 16) + (r >> 16)
  43565. return (n << 16) | (65535 & r)
  43566. }
  43567. function f(e, t) {
  43568. return (e << t) | (e >>> (32 - t))
  43569. }
  43570. t.exports = function (e) {
  43571. return n.hash(e, i, 16)
  43572. }
  43573. },
  43574. {
  43575. "./helpers": 387
  43576. }
  43577. ],
  43578. 389: [
  43579. function (e, t, r) {
  43580. "use strict"
  43581. var n = e("./helpers")
  43582. function i(e, t) {
  43583. ;(e[t >> 5] |= 128 << (24 - (t % 32))), (e[15 + (((t + 64) >> 9) << 4)] = t)
  43584. for (
  43585. var r = Array(80), n = 1732584193, i = -271733879, c = -1732584194, u = 271733878, f = -1009589776, p = 0;
  43586. p < e.length;
  43587. p += 16
  43588. ) {
  43589. for (var d = n, h = i, m = c, g = u, y = f, v = 0; v < 80; v++) {
  43590. r[v] = v < 16 ? e[p + v] : l(r[v - 3] ^ r[v - 8] ^ r[v - 14] ^ r[v - 16], 1)
  43591. var b = s(s(l(n, 5), o(v, i, c, u)), s(s(f, r[v]), a(v)))
  43592. ;(f = u), (u = c), (c = l(i, 30)), (i = n), (n = b)
  43593. }
  43594. ;(n = s(n, d)), (i = s(i, h)), (c = s(c, m)), (u = s(u, g)), (f = s(f, y))
  43595. }
  43596. return Array(n, i, c, u, f)
  43597. }
  43598. function o(e, t, r, n) {
  43599. return e < 20 ? (t & r) | (~t & n) : e < 40 ? t ^ r ^ n : e < 60 ? (t & r) | (t & n) | (r & n) : t ^ r ^ n
  43600. }
  43601. function a(e) {
  43602. return e < 20 ? 1518500249 : e < 40 ? 1859775393 : e < 60 ? -1894007588 : -899497514
  43603. }
  43604. function s(e, t) {
  43605. var r = (65535 & e) + (65535 & t),
  43606. n = (e >> 16) + (t >> 16) + (r >> 16)
  43607. return (n << 16) | (65535 & r)
  43608. }
  43609. function l(e, t) {
  43610. return (e << t) | (e >>> (32 - t))
  43611. }
  43612. t.exports = function (e) {
  43613. return n.hash(e, i, 20, !0)
  43614. }
  43615. },
  43616. {
  43617. "./helpers": 387
  43618. }
  43619. ],
  43620. 390: [
  43621. function (e, t, r) {
  43622. "use strict"
  43623. t.exports = function () {
  43624. return function () {}
  43625. }
  43626. },
  43627. {}
  43628. ],
  43629. 391: [
  43630. function (e, t, r) {
  43631. ;(function (r) {
  43632. "use strict"
  43633. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  43634. i = n(e("@babel/runtime/helpers/typeof")),
  43635. o = e("stream"),
  43636. a = o.Stream,
  43637. s = e("../lib/common/utils/isArray"),
  43638. l = s.isArray
  43639. function c(e) {
  43640. return e instanceof a
  43641. }
  43642. ;(t.exports.string = function (e) {
  43643. return "string" === typeof e
  43644. }),
  43645. (t.exports.array = l),
  43646. (t.exports.buffer = r.isBuffer),
  43647. (t.exports.writableStream = function (e) {
  43648. return c(e) && "function" === typeof e._write && "object" === (0, i.default)(e._writableState)
  43649. })
  43650. }).call(this, {
  43651. isBuffer: e("../node_modules/is-buffer/index.js")
  43652. })
  43653. },
  43654. {
  43655. "../lib/common/utils/isArray": 59,
  43656. "../node_modules/is-buffer/index.js": 307,
  43657. "@babel/runtime/helpers/interopRequireDefault": 72,
  43658. "@babel/runtime/helpers/typeof": 73,
  43659. stream: 339
  43660. }
  43661. ],
  43662. 392: [
  43663. function (e, t, r) {
  43664. "use strict"
  43665. var n = e("immediate"),
  43666. i = (t.exports = {})
  43667. function o() {}
  43668. ;(i.nextTick = n),
  43669. (i.title = "browser"),
  43670. (i.browser = !0),
  43671. (i.env = {}),
  43672. (i.argv = []),
  43673. (i.version = ""),
  43674. (i.versions = {}),
  43675. (i.on = o),
  43676. (i.addListener = o),
  43677. (i.once = o),
  43678. (i.off = o),
  43679. (i.removeListener = o),
  43680. (i.removeAllListeners = o),
  43681. (i.emit = o),
  43682. (i.prependListener = o),
  43683. (i.prependOnceListener = o),
  43684. (i.listeners = function (e) {
  43685. return []
  43686. }),
  43687. (i.binding = function (e) {
  43688. throw new Error("process.binding is not supported")
  43689. }),
  43690. (i.cwd = function () {
  43691. return "/"
  43692. }),
  43693. (i.chdir = function (e) {
  43694. throw new Error("process.chdir is not supported")
  43695. }),
  43696. (i.umask = function () {
  43697. return 0
  43698. })
  43699. },
  43700. {
  43701. immediate: 300
  43702. }
  43703. ],
  43704. 393: [
  43705. function (e, t, r) {
  43706. "use strict"
  43707. var n = e("@babel/runtime/helpers/interopRequireDefault")
  43708. e("core-js/modules/es.array.concat"),
  43709. e("core-js/modules/es.array.index-of"),
  43710. e("core-js/modules/es.array.join"),
  43711. e("core-js/modules/es.array.last-index-of"),
  43712. e("core-js/modules/es.array.slice"),
  43713. e("core-js/modules/es.array.splice"),
  43714. e("core-js/modules/es.object.keys"),
  43715. e("core-js/modules/es.regexp.exec"),
  43716. e("core-js/modules/es.string.match"),
  43717. e("core-js/modules/es.string.replace"),
  43718. e("core-js/modules/es.string.search"),
  43719. e("core-js/modules/es.string.split"),
  43720. e("core-js/modules/es.string.trim")
  43721. var i = n(e("@babel/runtime/helpers/typeof")),
  43722. o = e("punycode"),
  43723. a = e("./util")
  43724. function s() {
  43725. ;(this.protocol = null),
  43726. (this.slashes = null),
  43727. (this.auth = null),
  43728. (this.host = null),
  43729. (this.port = null),
  43730. (this.hostname = null),
  43731. (this.hash = null),
  43732. (this.search = null),
  43733. (this.query = null),
  43734. (this.pathname = null),
  43735. (this.path = null),
  43736. (this.href = null)
  43737. }
  43738. ;(r.parse = _), (r.resolve = E), (r.resolveObject = S), (r.format = T), (r.Url = s)
  43739. var l = /^([a-z0-9.+-]+:)/i,
  43740. c = /:[0-9]*$/,
  43741. u = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
  43742. f = ["<", ">", '"', "`", " ", "\r", "\n", "\t"],
  43743. p = ["{", "}", "|", "\\", "^", "`"].concat(f),
  43744. d = ["'"].concat(p),
  43745. h = ["%", "/", "?", ";", "#"].concat(d),
  43746. m = ["/", "?", "#"],
  43747. g = 255,
  43748. y = /^[+a-z0-9A-Z_-]{0,63}$/,
  43749. v = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
  43750. b = {
  43751. javascript: !0,
  43752. "javascript:": !0
  43753. },
  43754. w = {
  43755. javascript: !0,
  43756. "javascript:": !0
  43757. },
  43758. x = {
  43759. http: !0,
  43760. https: !0,
  43761. ftp: !0,
  43762. gopher: !0,
  43763. file: !0,
  43764. "http:": !0,
  43765. "https:": !0,
  43766. "ftp:": !0,
  43767. "gopher:": !0,
  43768. "file:": !0
  43769. },
  43770. A = e("querystring")
  43771. function _(e, t, r) {
  43772. if (e && a.isObject(e) && e instanceof s) return e
  43773. var n = new s()
  43774. return n.parse(e, t, r), n
  43775. }
  43776. function T(e) {
  43777. return a.isString(e) && (e = _(e)), e instanceof s ? e.format() : s.prototype.format.call(e)
  43778. }
  43779. function E(e, t) {
  43780. return _(e, !1, !0).resolve(t)
  43781. }
  43782. function S(e, t) {
  43783. return e ? _(e, !1, !0).resolveObject(t) : t
  43784. }
  43785. ;(s.prototype.parse = function (e, t, r) {
  43786. if (!a.isString(e)) throw new TypeError("Parameter 'url' must be a string, not " + (0, i.default)(e))
  43787. var n = e.indexOf("?"),
  43788. s = -1 !== n && n < e.indexOf("#") ? "?" : "#",
  43789. c = e.split(s),
  43790. f = /\\/g
  43791. ;(c[0] = c[0].replace(f, "/")), (e = c.join(s))
  43792. var p = e
  43793. if (((p = p.trim()), !r && 1 === e.split("#").length)) {
  43794. var _ = u.exec(p)
  43795. if (_)
  43796. return (
  43797. (this.path = p),
  43798. (this.href = p),
  43799. (this.pathname = _[1]),
  43800. _[2]
  43801. ? ((this.search = _[2]), (this.query = t ? A.parse(this.search.substr(1)) : this.search.substr(1)))
  43802. : t && ((this.search = ""), (this.query = {})),
  43803. this
  43804. )
  43805. }
  43806. var T = l.exec(p)
  43807. if (T) {
  43808. T = T[0]
  43809. var E = T.toLowerCase()
  43810. ;(this.protocol = E), (p = p.substr(T.length))
  43811. }
  43812. if (r || T || p.match(/^\/\/[^@\/]+@[^@\/]+/)) {
  43813. var S = "//" === p.substr(0, 2)
  43814. !S || (T && w[T]) || ((p = p.substr(2)), (this.slashes = !0))
  43815. }
  43816. if (!w[T] && (S || (T && !x[T]))) {
  43817. for (var C, k, L = -1, P = 0; P < m.length; P++) {
  43818. var O = p.indexOf(m[P])
  43819. ;-1 !== O && (-1 === L || O < L) && (L = O)
  43820. }
  43821. ;(k = -1 === L ? p.lastIndexOf("@") : p.lastIndexOf("@", L)),
  43822. -1 !== k && ((C = p.slice(0, k)), (p = p.slice(k + 1)), (this.auth = decodeURIComponent(C))),
  43823. (L = -1)
  43824. for (P = 0; P < h.length; P++) {
  43825. O = p.indexOf(h[P])
  43826. ;-1 !== O && (-1 === L || O < L) && (L = O)
  43827. }
  43828. ;-1 === L && (L = p.length),
  43829. (this.host = p.slice(0, L)),
  43830. (p = p.slice(L)),
  43831. this.parseHost(),
  43832. (this.hostname = this.hostname || "")
  43833. var j = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1]
  43834. if (!j)
  43835. for (var R = this.hostname.split("."), I = ((P = 0), R.length); P < I; P++) {
  43836. var N = R[P]
  43837. if (N && !N.match(y)) {
  43838. for (var M = "", D = 0, B = N.length; D < B; D++) N.charCodeAt(D) > 127 ? (M += "x") : (M += N[D])
  43839. if (!M.match(y)) {
  43840. var F = R.slice(0, P),
  43841. U = R.slice(P + 1),
  43842. z = N.match(v)
  43843. z && (F.push(z[1]), U.unshift(z[2])), U.length && (p = "/" + U.join(".") + p), (this.hostname = F.join("."))
  43844. break
  43845. }
  43846. }
  43847. }
  43848. this.hostname.length > g ? (this.hostname = "") : (this.hostname = this.hostname.toLowerCase()),
  43849. j || (this.hostname = o.toASCII(this.hostname))
  43850. var q = this.port ? ":" + this.port : "",
  43851. G = this.hostname || ""
  43852. ;(this.host = G + q),
  43853. (this.href += this.host),
  43854. j && ((this.hostname = this.hostname.substr(1, this.hostname.length - 2)), "/" !== p[0] && (p = "/" + p))
  43855. }
  43856. if (!b[E])
  43857. for (P = 0, I = d.length; P < I; P++) {
  43858. var W = d[P]
  43859. if (-1 !== p.indexOf(W)) {
  43860. var V = encodeURIComponent(W)
  43861. V === W && (V = escape(W)), (p = p.split(W).join(V))
  43862. }
  43863. }
  43864. var H = p.indexOf("#")
  43865. ;-1 !== H && ((this.hash = p.substr(H)), (p = p.slice(0, H)))
  43866. var X = p.indexOf("?")
  43867. if (
  43868. (-1 !== X
  43869. ? ((this.search = p.substr(X)),
  43870. (this.query = p.substr(X + 1)),
  43871. t && (this.query = A.parse(this.query)),
  43872. (p = p.slice(0, X)))
  43873. : t && ((this.search = ""), (this.query = {})),
  43874. p && (this.pathname = p),
  43875. x[E] && this.hostname && !this.pathname && (this.pathname = "/"),
  43876. this.pathname || this.search)
  43877. ) {
  43878. q = this.pathname || ""
  43879. var Y = this.search || ""
  43880. this.path = q + Y
  43881. }
  43882. return (this.href = this.format()), this
  43883. }),
  43884. (s.prototype.format = function () {
  43885. var e = this.auth || ""
  43886. e && ((e = encodeURIComponent(e)), (e = e.replace(/%3A/i, ":")), (e += "@"))
  43887. var t = this.protocol || "",
  43888. r = this.pathname || "",
  43889. n = this.hash || "",
  43890. i = !1,
  43891. o = ""
  43892. this.host
  43893. ? (i = e + this.host)
  43894. : this.hostname &&
  43895. ((i = e + (-1 === this.hostname.indexOf(":") ? this.hostname : "[" + this.hostname + "]")),
  43896. this.port && (i += ":" + this.port)),
  43897. this.query && a.isObject(this.query) && Object.keys(this.query).length && (o = A.stringify(this.query))
  43898. var s = this.search || (o && "?" + o) || ""
  43899. return (
  43900. t && ":" !== t.substr(-1) && (t += ":"),
  43901. this.slashes || ((!t || x[t]) && !1 !== i)
  43902. ? ((i = "//" + (i || "")), r && "/" !== r.charAt(0) && (r = "/" + r))
  43903. : i || (i = ""),
  43904. n && "#" !== n.charAt(0) && (n = "#" + n),
  43905. s && "?" !== s.charAt(0) && (s = "?" + s),
  43906. (r = r.replace(/[?#]/g, function (e) {
  43907. return encodeURIComponent(e)
  43908. })),
  43909. (s = s.replace("#", "%23")),
  43910. t + i + r + s + n
  43911. )
  43912. }),
  43913. (s.prototype.resolve = function (e) {
  43914. return this.resolveObject(_(e, !1, !0)).format()
  43915. }),
  43916. (s.prototype.resolveObject = function (e) {
  43917. if (a.isString(e)) {
  43918. var t = new s()
  43919. t.parse(e, !1, !0), (e = t)
  43920. }
  43921. for (var r = new s(), n = Object.keys(this), i = 0; i < n.length; i++) {
  43922. var o = n[i]
  43923. r[o] = this[o]
  43924. }
  43925. if (((r.hash = e.hash), "" === e.href)) return (r.href = r.format()), r
  43926. if (e.slashes && !e.protocol) {
  43927. for (var l = Object.keys(e), c = 0; c < l.length; c++) {
  43928. var u = l[c]
  43929. "protocol" !== u && (r[u] = e[u])
  43930. }
  43931. return x[r.protocol] && r.hostname && !r.pathname && (r.path = r.pathname = "/"), (r.href = r.format()), r
  43932. }
  43933. if (e.protocol && e.protocol !== r.protocol) {
  43934. if (!x[e.protocol]) {
  43935. for (var f = Object.keys(e), p = 0; p < f.length; p++) {
  43936. var d = f[p]
  43937. r[d] = e[d]
  43938. }
  43939. return (r.href = r.format()), r
  43940. }
  43941. if (((r.protocol = e.protocol), e.host || w[e.protocol])) r.pathname = e.pathname
  43942. else {
  43943. var h = (e.pathname || "").split("/")
  43944. while (h.length && !(e.host = h.shift()));
  43945. e.host || (e.host = ""),
  43946. e.hostname || (e.hostname = ""),
  43947. "" !== h[0] && h.unshift(""),
  43948. h.length < 2 && h.unshift(""),
  43949. (r.pathname = h.join("/"))
  43950. }
  43951. if (
  43952. ((r.search = e.search),
  43953. (r.query = e.query),
  43954. (r.host = e.host || ""),
  43955. (r.auth = e.auth),
  43956. (r.hostname = e.hostname || e.host),
  43957. (r.port = e.port),
  43958. r.pathname || r.search)
  43959. ) {
  43960. var m = r.pathname || "",
  43961. g = r.search || ""
  43962. r.path = m + g
  43963. }
  43964. return (r.slashes = r.slashes || e.slashes), (r.href = r.format()), r
  43965. }
  43966. var y = r.pathname && "/" === r.pathname.charAt(0),
  43967. v = e.host || (e.pathname && "/" === e.pathname.charAt(0)),
  43968. b = v || y || (r.host && e.pathname),
  43969. A = b,
  43970. _ = (r.pathname && r.pathname.split("/")) || [],
  43971. T = ((h = (e.pathname && e.pathname.split("/")) || []), r.protocol && !x[r.protocol])
  43972. if (
  43973. (T &&
  43974. ((r.hostname = ""),
  43975. (r.port = null),
  43976. r.host && ("" === _[0] ? (_[0] = r.host) : _.unshift(r.host)),
  43977. (r.host = ""),
  43978. e.protocol &&
  43979. ((e.hostname = null),
  43980. (e.port = null),
  43981. e.host && ("" === h[0] ? (h[0] = e.host) : h.unshift(e.host)),
  43982. (e.host = null)),
  43983. (b = b && ("" === h[0] || "" === _[0]))),
  43984. v)
  43985. )
  43986. (r.host = e.host || "" === e.host ? e.host : r.host),
  43987. (r.hostname = e.hostname || "" === e.hostname ? e.hostname : r.hostname),
  43988. (r.search = e.search),
  43989. (r.query = e.query),
  43990. (_ = h)
  43991. else if (h.length) _ || (_ = []), _.pop(), (_ = _.concat(h)), (r.search = e.search), (r.query = e.query)
  43992. else if (!a.isNullOrUndefined(e.search)) {
  43993. if (T) {
  43994. r.hostname = r.host = _.shift()
  43995. var E = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@")
  43996. E && ((r.auth = E.shift()), (r.host = r.hostname = E.shift()))
  43997. }
  43998. return (
  43999. (r.search = e.search),
  44000. (r.query = e.query),
  44001. (a.isNull(r.pathname) && a.isNull(r.search)) ||
  44002. (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")),
  44003. (r.href = r.format()),
  44004. r
  44005. )
  44006. }
  44007. if (!_.length)
  44008. return (r.pathname = null), r.search ? (r.path = "/" + r.search) : (r.path = null), (r.href = r.format()), r
  44009. for (
  44010. var S = _.slice(-1)[0],
  44011. C = ((r.host || e.host || _.length > 1) && ("." === S || ".." === S)) || "" === S,
  44012. k = 0,
  44013. L = _.length;
  44014. L >= 0;
  44015. L--
  44016. )
  44017. (S = _[L]), "." === S ? _.splice(L, 1) : ".." === S ? (_.splice(L, 1), k++) : k && (_.splice(L, 1), k--)
  44018. if (!b && !A) for (; k--; k) _.unshift("..")
  44019. !b || "" === _[0] || (_[0] && "/" === _[0].charAt(0)) || _.unshift(""),
  44020. C && "/" !== _.join("/").substr(-1) && _.push("")
  44021. var P = "" === _[0] || (_[0] && "/" === _[0].charAt(0))
  44022. if (T) {
  44023. r.hostname = r.host = P ? "" : _.length ? _.shift() : ""
  44024. E = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@")
  44025. E && ((r.auth = E.shift()), (r.host = r.hostname = E.shift()))
  44026. }
  44027. return (
  44028. (b = b || (r.host && _.length)),
  44029. b && !P && _.unshift(""),
  44030. _.length ? (r.pathname = _.join("/")) : ((r.pathname = null), (r.path = null)),
  44031. (a.isNull(r.pathname) && a.isNull(r.search)) ||
  44032. (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")),
  44033. (r.auth = e.auth || r.auth),
  44034. (r.slashes = r.slashes || e.slashes),
  44035. (r.href = r.format()),
  44036. r
  44037. )
  44038. }),
  44039. (s.prototype.parseHost = function () {
  44040. var e = this.host,
  44041. t = c.exec(e)
  44042. t && ((t = t[0]), ":" !== t && (this.port = t.substr(1)), (e = e.substr(0, e.length - t.length))),
  44043. e && (this.hostname = e)
  44044. })
  44045. },
  44046. {
  44047. "./util": 394,
  44048. "@babel/runtime/helpers/interopRequireDefault": 72,
  44049. "@babel/runtime/helpers/typeof": 73,
  44050. "core-js/modules/es.array.concat": 234,
  44051. "core-js/modules/es.array.index-of": 241,
  44052. "core-js/modules/es.array.join": 243,
  44053. "core-js/modules/es.array.last-index-of": 244,
  44054. "core-js/modules/es.array.slice": 246,
  44055. "core-js/modules/es.array.splice": 248,
  44056. "core-js/modules/es.object.keys": 253,
  44057. "core-js/modules/es.regexp.exec": 256,
  44058. "core-js/modules/es.string.match": 260,
  44059. "core-js/modules/es.string.replace": 261,
  44060. "core-js/modules/es.string.search": 262,
  44061. "core-js/modules/es.string.split": 263,
  44062. "core-js/modules/es.string.trim": 264,
  44063. punycode: 319,
  44064. querystring: 322
  44065. }
  44066. ],
  44067. 394: [
  44068. function (e, t, r) {
  44069. "use strict"
  44070. var n = e("@babel/runtime/helpers/interopRequireDefault"),
  44071. i = n(e("@babel/runtime/helpers/typeof"))
  44072. t.exports = {
  44073. isString: function (e) {
  44074. return "string" === typeof e
  44075. },
  44076. isObject: function (e) {
  44077. return "object" === (0, i.default)(e) && null !== e
  44078. },
  44079. isNull: function (e) {
  44080. return null === e
  44081. },
  44082. isNullOrUndefined: function (e) {
  44083. return null == e
  44084. }
  44085. }
  44086. },
  44087. {
  44088. "@babel/runtime/helpers/interopRequireDefault": 72,
  44089. "@babel/runtime/helpers/typeof": 73
  44090. }
  44091. ],
  44092. 395: [
  44093. function (e, t, r) {
  44094. "use strict"
  44095. e("core-js/modules/es.number.constructor"),
  44096. (r.encodeURIComponent = function (e) {
  44097. try {
  44098. return encodeURIComponent(e)
  44099. } catch (t) {
  44100. return e
  44101. }
  44102. }),
  44103. (r.escape = e("escape-html")),
  44104. (r.timestamp = function (e) {
  44105. if (e) {
  44106. var t = e
  44107. return "string" === typeof t && (t = Number(t)), 10 === String(e).length && (t *= 1e3), new Date(t)
  44108. }
  44109. return Math.round(Date.now() / 1e3)
  44110. })
  44111. },
  44112. {
  44113. "core-js/modules/es.number.constructor": 250,
  44114. "escape-html": 295
  44115. }
  44116. ],
  44117. 396: [
  44118. function (e, t, r) {
  44119. ;(function (t, n) {
  44120. "use strict"
  44121. var i = e("@babel/runtime/helpers/interopRequireDefault")
  44122. e("core-js/modules/es.array.concat"),
  44123. e("core-js/modules/es.array.index-of"),
  44124. e("core-js/modules/es.function.name"),
  44125. e("core-js/modules/es.object.to-string"),
  44126. e("core-js/modules/es.promise"),
  44127. e("core-js/modules/es.regexp.exec"),
  44128. e("core-js/modules/es.string.split"),
  44129. e("core-js/modules/es.string.trim")
  44130. var o = i(e("@babel/runtime/helpers/typeof")),
  44131. a = e("util"),
  44132. s = e("url"),
  44133. l = e("http"),
  44134. c = e("https"),
  44135. u = e("debug")("urllib"),
  44136. f = e("humanize-ms"),
  44137. p = 0,
  44138. d = Math.pow(2, 31) - 10,
  44139. h = /^https?:\/\//i
  44140. function m(e, t) {
  44141. return void 0 === e ? t : e
  44142. }
  44143. function g(e) {
  44144. return e ? e.split(";")[0].trim().toLowerCase() : ""
  44145. }
  44146. function y(e, t) {
  44147. return function (r, n, i) {
  44148. if (r) return t(r)
  44149. e({
  44150. data: n,
  44151. status: i.statusCode,
  44152. headers: i.headers,
  44153. res: i
  44154. })
  44155. }
  44156. }
  44157. r.TIMEOUTS = [f("300s"), f("300s")]
  44158. var v = ["json", "text"]
  44159. ;(r.request = function (e, t, n) {
  44160. return (
  44161. 2 === arguments.length && "function" === typeof t && ((n = t), (t = null)),
  44162. "function" === typeof n
  44163. ? r.requestWithCallback(e, t, n)
  44164. : new Promise(function (n, i) {
  44165. r.requestWithCallback(e, t, y(n, i))
  44166. })
  44167. )
  44168. }),
  44169. (r.requestWithCallback = function (e, i, y) {
  44170. if (!e || ("string" !== typeof e && "object" !== (0, o.default)(e))) {
  44171. var b = a.format("expect request url to be a string or a http request options, but got %j", e)
  44172. throw new Error(b)
  44173. }
  44174. 2 === arguments.length && "function" === typeof i && ((y = i), (i = null)), (i = i || {}), p >= d && (p = 0)
  44175. var w = ++p
  44176. i.requestUrls = i.requestUrls || []
  44177. var x = {
  44178. requestId: w,
  44179. url: e,
  44180. args: i,
  44181. ctx: i.ctx
  44182. }
  44183. i.emitter && i.emitter.emit("request", x),
  44184. (i.timeout = i.timeout || r.TIMEOUTS),
  44185. (i.maxRedirects = i.maxRedirects || 10),
  44186. (i.streaming = i.streaming || i.customResponse)
  44187. var A,
  44188. _ = Date.now()
  44189. "string" === typeof e ? (h.test(e) || (e = "https://" + e), (A = s.parse(e))) : (A = e)
  44190. var T = (i.type || i.method || A.method || "GET").toUpperCase(),
  44191. E = A.port || 80,
  44192. S = l,
  44193. C = m(i.agent, r.agent),
  44194. k = i.fixJSONCtlChars
  44195. "https:" === A.protocol && ((S = c), (C = m(i.httpsAgent, r.httpsAgent)), A.port || (E = 443))
  44196. var L = {
  44197. host: A.hostname || A.host || "localhost",
  44198. path: A.path || "/",
  44199. method: T,
  44200. port: E,
  44201. agent: C,
  44202. headers: i.headers || {},
  44203. lookup: i.lookup
  44204. }
  44205. Array.isArray(i.timeout)
  44206. ? (L.requestTimeout = i.timeout[i.timeout.length - 1])
  44207. : "undefined" !== typeof i.timeout && (L.requestTimeout = i.timeout)
  44208. var P = i.auth || A.auth
  44209. P && (L.auth = P)
  44210. var O = i.content || i.data,
  44211. j = "GET" === T || "HEAD" === T || i.dataAsQueryString
  44212. if (!i.content && O && "string" !== typeof O && !n.isBuffer(O))
  44213. if (j) O = i.nestedQuerystring ? qs.stringify(O) : querystring.stringify(O)
  44214. else {
  44215. var R = L.headers["Content-Type"] || L.headers["content-type"]
  44216. R ||
  44217. ((R = "json" === i.contentType ? "application/json" : "application/x-www-form-urlencoded"),
  44218. (L.headers["Content-Type"] = R)),
  44219. (O =
  44220. "application/json" === g(R)
  44221. ? JSON.stringify(O)
  44222. : i.nestedQuerystring
  44223. ? qs.stringify(O)
  44224. : querystring.stringify(O))
  44225. }
  44226. j && O && ((L.path += (A.query ? "&" : "?") + O), (O = null))
  44227. var I = 0
  44228. if (O) {
  44229. var N = O.length
  44230. n.isBuffer(O) || (N = n.byteLength(O)), (I = L.headers["Content-Length"] = N)
  44231. }
  44232. "json" === i.dataType && (L.headers.Accept = "application/json"),
  44233. "function" === typeof i.beforeRequest && i.beforeRequest(L)
  44234. var M = null,
  44235. D = null,
  44236. B = null,
  44237. F = !1,
  44238. U = !1,
  44239. z = 0,
  44240. q = -1,
  44241. G = !1,
  44242. W = "",
  44243. V = "",
  44244. H = null
  44245. function X() {
  44246. M && (clearTimeout(M), (M = null))
  44247. }
  44248. function Y() {
  44249. D && (clearTimeout(D), (D = null))
  44250. }
  44251. function K(r, n, o) {
  44252. if ((Y(), !y))
  44253. return (
  44254. console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!", Date(), w, t.pid, L.method, e),
  44255. void (
  44256. r &&
  44257. console.warn(
  44258. "[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s",
  44259. Date(),
  44260. w,
  44261. t.pid,
  44262. r.name,
  44263. r.message,
  44264. r.stack
  44265. )
  44266. )
  44267. )
  44268. var a = y
  44269. y = null
  44270. var s = {}
  44271. o && ((q = o.statusCode), (s = o.headers))
  44272. var l = Date.now() - _
  44273. H && (H.contentDownload = l),
  44274. u(
  44275. "[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",
  44276. l,
  44277. z,
  44278. q,
  44279. L.method,
  44280. L.host,
  44281. L.path,
  44282. U,
  44283. H
  44284. )
  44285. var c = {
  44286. status: q,
  44287. statusCode: q,
  44288. headers: s,
  44289. size: z,
  44290. aborted: G,
  44291. rt: l,
  44292. keepAliveSocket: U,
  44293. data: n,
  44294. requestUrls: i.requestUrls,
  44295. timing: H,
  44296. remoteAddress: W,
  44297. remotePort: V
  44298. }
  44299. if (r) {
  44300. var f = ""
  44301. C &&
  44302. "function" === typeof C.getCurrentStatus &&
  44303. (f = ", agent status: " + JSON.stringify(C.getCurrentStatus())),
  44304. (r.message +=
  44305. ", " +
  44306. L.method +
  44307. " " +
  44308. e +
  44309. " " +
  44310. q +
  44311. " (connected: " +
  44312. F +
  44313. ", keepalive socket: " +
  44314. U +
  44315. f +
  44316. ")\nheaders: " +
  44317. JSON.stringify(s)),
  44318. (r.data = n),
  44319. (r.path = L.path),
  44320. (r.status = q),
  44321. (r.headers = s),
  44322. (r.res = c)
  44323. }
  44324. a(r, n, i.streaming ? o : c),
  44325. i.emitter &&
  44326. ((x.url = e),
  44327. (x.socket = ee && ee.connection),
  44328. (x.options = L),
  44329. (x.size = I),
  44330. i.emitter.emit("response", {
  44331. requestId: w,
  44332. error: r,
  44333. ctx: i.ctx,
  44334. req: x,
  44335. res: c
  44336. }))
  44337. }
  44338. function Z(t) {
  44339. var n = null
  44340. if (i.followRedirect && statuses.redirect[t.statusCode]) {
  44341. i._followRedirectCount = (i._followRedirectCount || 0) + 1
  44342. var o = t.headers.location
  44343. if (o) {
  44344. if (!(i._followRedirectCount > i.maxRedirects)) {
  44345. var a = i.formatRedirectUrl ? i.formatRedirectUrl(e, o) : s.resolve(e, o)
  44346. u("Request#%d %s: `redirected` from %s to %s", w, L.path, e, a),
  44347. Y(),
  44348. i.headers && i.headers.Host && h.test(o) && (i.headers.Host = null)
  44349. var l = y
  44350. return (
  44351. (y = null),
  44352. r.requestWithCallback(a, i, l),
  44353. {
  44354. redirect: !0,
  44355. error: null
  44356. }
  44357. )
  44358. }
  44359. ;(n = new Error("Exceeded maxRedirects. Probably stuck in a redirect loop " + e)),
  44360. (n.name = "MaxRedirectError")
  44361. } else
  44362. (n = new Error("Got statusCode " + t.statusCode + " but cannot resolve next location from headers")),
  44363. (n.name = "FollowRedirectError")
  44364. }
  44365. return {
  44366. redirect: !1,
  44367. error: n
  44368. }
  44369. }
  44370. function Q(e, t, r) {
  44371. var n = e.headers["content-encoding"]
  44372. return r(null, t, n)
  44373. }
  44374. i.timing &&
  44375. (H = {
  44376. queuing: 0,
  44377. dnslookup: 0,
  44378. connected: 0,
  44379. requestSent: 0,
  44380. waiting: 0,
  44381. contentDownload: 0
  44382. }),
  44383. i.gzip &&
  44384. (L.headers["Accept-Encoding"] || L.headers["accept-encoding"] || (L.headers["Accept-Encoding"] = "gzip"))
  44385. var J,
  44386. $,
  44387. ee,
  44388. te = i.writeStream
  44389. function re(t) {
  44390. if (
  44391. (H && (H.waiting = Date.now() - _),
  44392. u("Request#%d %s `req response` event emit: status %d, headers: %j", w, e, t.statusCode, t.headers),
  44393. i.streaming)
  44394. ) {
  44395. var r = Z(t)
  44396. return r.redirect ? void t.resume() : r.error ? (t.resume(), K(r.error, null, t)) : K(null, null, t)
  44397. }
  44398. if (
  44399. (t.on("close", function () {
  44400. u("Request#%d %s: `res close` event emit, total size %d", w, e, z)
  44401. }),
  44402. t.on("error", function () {
  44403. u("Request#%d %s: `res error` event emit, total size %d", w, e, z)
  44404. }),
  44405. t.on("aborted", function () {
  44406. ;(G = !0), u("Request#%d %s: `res aborted` event emit, total size %d", w, e, z)
  44407. }),
  44408. te)
  44409. ) {
  44410. var o = Z(t)
  44411. return o.redirect
  44412. ? void t.resume()
  44413. : o.error
  44414. ? (t.resume(), te.end(), K(o.error, null, t))
  44415. : (!1 === i.consumeWriteStream
  44416. ? t.on("end", K.bind(null, null, null, t))
  44417. : te.on("close", function () {
  44418. u("Request#%d %s: writeStream close event emitted", w, e), K(B || null, null, t)
  44419. }),
  44420. t.pipe(te))
  44421. }
  44422. var a = []
  44423. t.on("data", function (t) {
  44424. u("Request#%d %s: `res data` event emit, size %d", w, e, t.length), (z += t.length), a.push(t)
  44425. }),
  44426. t.on("end", function () {
  44427. var r = n.concat(a, z)
  44428. if ((u("Request#%d %s: `res end` event emit, total size %d, _dumped: %s", w, e, z, t._dumped), B))
  44429. return K(B, r, t)
  44430. var o = Z(t)
  44431. if (o.error) return K(o.error, r, t)
  44432. o.redirect ||
  44433. Q(t, r, function (n, o, a) {
  44434. if (n) return K(n, r, t)
  44435. if (!a && v.indexOf(i.dataType) >= 0) {
  44436. try {
  44437. o = decodeBodyByCharset(o, t)
  44438. } catch (l) {
  44439. return u("decodeBodyByCharset error: %s", l), K(null, o, t)
  44440. }
  44441. if ("json" === i.dataType)
  44442. if (0 === z) o = null
  44443. else {
  44444. var s = parseJSON(o, k)
  44445. s.error ? (n = s.error) : (o = s.data)
  44446. }
  44447. }
  44448. G && u("Request#%d %s: Remote socket was terminated before `response.end()` was called", w, e),
  44449. K(n, o, t)
  44450. })
  44451. })
  44452. }
  44453. function ne() {
  44454. u("Connect timer ticking, timeout: %d", J),
  44455. (M = setTimeout(function () {
  44456. ;(M = null), -1 === q && (q = -2)
  44457. var t = "Connect timeout for " + J + "ms",
  44458. r = "ConnectionTimeoutError"
  44459. ee.socket || ((r = "SocketAssignTimeoutError"), (t += ", working sockets is full")),
  44460. (B = new Error(t)),
  44461. (B.name = r),
  44462. (B.requestId = w),
  44463. u("ConnectTimeout: Request#%d %s %s: %s, connected: %s", w, e, B.name, t, F),
  44464. oe()
  44465. }, J))
  44466. }
  44467. function ie() {
  44468. u("Response timer ticking, timeout: %d", $),
  44469. (D = setTimeout(function () {
  44470. D = null
  44471. var t = "Response timeout for " + $ + "ms",
  44472. r = "ResponseTimeoutError"
  44473. ;(B = new Error(t)),
  44474. (B.name = r),
  44475. (B.requestId = w),
  44476. u("ResponseTimeout: Request#%d %s %s: %s, connected: %s", w, e, B.name, t, F),
  44477. oe()
  44478. }, $))
  44479. }
  44480. u("Request#%d %s %s with headers %j, options.path: %s", w, T, e, L.headers, L.path),
  44481. i.requestUrls.push(e),
  44482. Array.isArray(i.timeout) ? ((J = f(i.timeout[0])), ($ = f(i.timeout[1]))) : (J = $ = f(i.timeout)),
  44483. u("ConnectTimeout: %d, ResponseTimeout: %d", J, $),
  44484. (L.mode = i.mode ? i.mode : "")
  44485. try {
  44486. ee = S.request(L, re)
  44487. } catch (ae) {
  44488. return K(ae)
  44489. }
  44490. function oe() {
  44491. u("Request#%d %s abort, connected: %s", w, e, F), ee.socket || ((B.noSocket = !0), K(B)), ee.abort()
  44492. }
  44493. return (
  44494. "undefined" === typeof window
  44495. ? ne()
  44496. : ee.on("requestTimeout", function () {
  44497. ;-1 === q && (q = -2)
  44498. var e = "Connect timeout for " + J + "ms",
  44499. t = "ConnectionTimeoutError"
  44500. ;(B = new Error(e)), (B.name = t), (B.requestId = w), oe()
  44501. }),
  44502. H &&
  44503. ee.on("finish", function () {
  44504. H.requestSent = Date.now() - _
  44505. }),
  44506. ee.once("socket", function (t) {
  44507. H && (H.queuing = Date.now() - _)
  44508. var r = t.readyState
  44509. if ("opening" === r)
  44510. return (
  44511. t.once("lookup", function (t, r, n) {
  44512. u("Request#%d %s lookup: %s, %s, %s", w, e, t, r, n),
  44513. H && (H.dnslookup = Date.now() - _),
  44514. r && (W = r)
  44515. }),
  44516. void t.once("connect", function () {
  44517. H && (H.connected = Date.now() - _),
  44518. X(),
  44519. ie(),
  44520. u("Request#%d %s new socket connected", w, e),
  44521. (F = !0),
  44522. W || (W = t.remoteAddress),
  44523. (V = t.remotePort)
  44524. })
  44525. )
  44526. u("Request#%d %s reuse socket connected, readyState: %s", w, e, r),
  44527. (F = !0),
  44528. (U = !0),
  44529. W || (W = t.remoteAddress),
  44530. (V = t.remotePort),
  44531. X(),
  44532. ie()
  44533. }),
  44534. ee.on("error", function (t) {
  44535. ;("Error" !== t.name && "TypeError" !== t.name) || (t.name = F ? "ResponseError" : "RequestError"),
  44536. (t.message += ' (req "error")'),
  44537. u("Request#%d %s `req error` event emit, %s: %s", w, e, t.name, t.message),
  44538. K(B || t)
  44539. }),
  44540. te &&
  44541. te.once("error", function (t) {
  44542. ;(t.message += ' (writeStream "error")'),
  44543. (B = t),
  44544. u("Request#%d %s `writeStream error` event emit, %s: %s", w, e, t.name, t.message),
  44545. oe()
  44546. }),
  44547. i.stream
  44548. ? (i.stream.pipe(ee),
  44549. i.stream.once("error", function (t) {
  44550. ;(t.message += ' (stream "error")'),
  44551. (B = t),
  44552. u("Request#%d %s `readStream error` event emit, %s: %s", w, e, t.name, t.message),
  44553. oe()
  44554. }))
  44555. : ee.end(O),
  44556. (ee.requestId = w),
  44557. ee
  44558. )
  44559. })
  44560. }).call(this, e("_process"), e("buffer").Buffer)
  44561. },
  44562. {
  44563. "@babel/runtime/helpers/interopRequireDefault": 72,
  44564. "@babel/runtime/helpers/typeof": 73,
  44565. _process: 392,
  44566. buffer: 99,
  44567. "core-js/modules/es.array.concat": 234,
  44568. "core-js/modules/es.array.index-of": 241,
  44569. "core-js/modules/es.function.name": 249,
  44570. "core-js/modules/es.object.to-string": 254,
  44571. "core-js/modules/es.promise": 255,
  44572. "core-js/modules/es.regexp.exec": 256,
  44573. "core-js/modules/es.string.split": 263,
  44574. "core-js/modules/es.string.trim": 264,
  44575. debug: 390,
  44576. http: 80,
  44577. https: 297,
  44578. "humanize-ms": 298,
  44579. url: 393,
  44580. util: 345
  44581. }
  44582. ]
  44583. },
  44584. {},
  44585. [1]
  44586. )(1)
  44587. })
  44588. }).call(this, __webpack_require__("c8ba"))
  44589. },
  44590. "9bdd": function (e, t, r) {
  44591. var n = r("825a"),
  44592. i = r("2a62")
  44593. e.exports = function (e, t, r, o) {
  44594. try {
  44595. return o ? t(n(r)[0], r[1]) : t(r)
  44596. } catch (a) {
  44597. i(e, "throw", a)
  44598. }
  44599. }
  44600. },
  44601. "9bf2": function (e, t, r) {
  44602. var n = r("83ab"),
  44603. i = r("0cfb"),
  44604. o = r("825a"),
  44605. a = r("a04b"),
  44606. s = Object.defineProperty
  44607. t.f = n
  44608. ? s
  44609. : function (e, t, r) {
  44610. if ((o(e), (t = a(t)), o(r), i))
  44611. try {
  44612. return s(e, t, r)
  44613. } catch (n) {}
  44614. if ("get" in r || "set" in r) throw TypeError("Accessors not supported")
  44615. return "value" in r && (e[t] = r.value), e
  44616. }
  44617. },
  44618. "9ed3": function (e, t, r) {
  44619. "use strict"
  44620. var n = r("ae93").IteratorPrototype,
  44621. i = r("7c73"),
  44622. o = r("5c6c"),
  44623. a = r("d44e"),
  44624. s = r("3f8c"),
  44625. l = function () {
  44626. return this
  44627. }
  44628. e.exports = function (e, t, r) {
  44629. var c = t + " Iterator"
  44630. return (
  44631. (e.prototype = i(n, {
  44632. next: o(1, r)
  44633. })),
  44634. a(e, c, !1, !0),
  44635. (s[c] = l),
  44636. e
  44637. )
  44638. }
  44639. },
  44640. "9f7f": function (e, t, r) {
  44641. var n = r("d039"),
  44642. i = r("da84"),
  44643. o = i.RegExp
  44644. ;(t.UNSUPPORTED_Y = n(function () {
  44645. var e = o("a", "y")
  44646. return (e.lastIndex = 2), null != e.exec("abcd")
  44647. })),
  44648. (t.BROKEN_CARET = n(function () {
  44649. var e = o("^r", "gy")
  44650. return (e.lastIndex = 2), null != e.exec("str")
  44651. }))
  44652. },
  44653. a04b: function (e, t, r) {
  44654. var n = r("c04e"),
  44655. i = r("d9b5")
  44656. e.exports = function (e) {
  44657. var t = n(e, "string")
  44658. return i(t) ? t : String(t)
  44659. }
  44660. },
  44661. a4d3: function (e, t, r) {
  44662. "use strict"
  44663. var n = r("23e7"),
  44664. i = r("da84"),
  44665. o = r("d066"),
  44666. a = r("c430"),
  44667. s = r("83ab"),
  44668. l = r("4930"),
  44669. c = r("d039"),
  44670. u = r("5135"),
  44671. f = r("e8b5"),
  44672. p = r("861d"),
  44673. d = r("d9b5"),
  44674. h = r("825a"),
  44675. m = r("7b0b"),
  44676. g = r("fc6a"),
  44677. y = r("a04b"),
  44678. v = r("577e"),
  44679. b = r("5c6c"),
  44680. w = r("7c73"),
  44681. x = r("df75"),
  44682. A = r("241c"),
  44683. _ = r("057f"),
  44684. T = r("7418"),
  44685. E = r("06cf"),
  44686. S = r("9bf2"),
  44687. C = r("d1e7"),
  44688. k = r("9112"),
  44689. L = r("6eeb"),
  44690. P = r("5692"),
  44691. O = r("f772"),
  44692. j = r("d012"),
  44693. R = r("90e3"),
  44694. I = r("b622"),
  44695. N = r("e538"),
  44696. M = r("746f"),
  44697. D = r("d44e"),
  44698. B = r("69f3"),
  44699. F = r("b727").forEach,
  44700. U = O("hidden"),
  44701. z = "Symbol",
  44702. q = "prototype",
  44703. G = I("toPrimitive"),
  44704. W = B.set,
  44705. V = B.getterFor(z),
  44706. H = Object[q],
  44707. X = i.Symbol,
  44708. Y = o("JSON", "stringify"),
  44709. K = E.f,
  44710. Z = S.f,
  44711. Q = _.f,
  44712. J = C.f,
  44713. $ = P("symbols"),
  44714. ee = P("op-symbols"),
  44715. te = P("string-to-symbol-registry"),
  44716. re = P("symbol-to-string-registry"),
  44717. ne = P("wks"),
  44718. ie = i.QObject,
  44719. oe = !ie || !ie[q] || !ie[q].findChild,
  44720. ae =
  44721. s &&
  44722. c(function () {
  44723. return (
  44724. 7 !=
  44725. w(
  44726. Z({}, "a", {
  44727. get: function () {
  44728. return Z(this, "a", {
  44729. value: 7
  44730. }).a
  44731. }
  44732. })
  44733. ).a
  44734. )
  44735. })
  44736. ? function (e, t, r) {
  44737. var n = K(H, t)
  44738. n && delete H[t], Z(e, t, r), n && e !== H && Z(H, t, n)
  44739. }
  44740. : Z,
  44741. se = function (e, t) {
  44742. var r = ($[e] = w(X[q]))
  44743. return (
  44744. W(r, {
  44745. type: z,
  44746. tag: e,
  44747. description: t
  44748. }),
  44749. s || (r.description = t),
  44750. r
  44751. )
  44752. },
  44753. le = function (e, t, r) {
  44754. e === H && le(ee, t, r), h(e)
  44755. var n = y(t)
  44756. return (
  44757. h(r),
  44758. u($, n)
  44759. ? (r.enumerable
  44760. ? (u(e, U) && e[U][n] && (e[U][n] = !1),
  44761. (r = w(r, {
  44762. enumerable: b(0, !1)
  44763. })))
  44764. : (u(e, U) || Z(e, U, b(1, {})), (e[U][n] = !0)),
  44765. ae(e, n, r))
  44766. : Z(e, n, r)
  44767. )
  44768. },
  44769. ce = function (e, t) {
  44770. h(e)
  44771. var r = g(t),
  44772. n = x(r).concat(he(r))
  44773. return (
  44774. F(n, function (t) {
  44775. ;(s && !fe.call(r, t)) || le(e, t, r[t])
  44776. }),
  44777. e
  44778. )
  44779. },
  44780. ue = function (e, t) {
  44781. return void 0 === t ? w(e) : ce(w(e), t)
  44782. },
  44783. fe = function (e) {
  44784. var t = y(e),
  44785. r = J.call(this, t)
  44786. return !(this === H && u($, t) && !u(ee, t)) && (!(r || !u(this, t) || !u($, t) || (u(this, U) && this[U][t])) || r)
  44787. },
  44788. pe = function (e, t) {
  44789. var r = g(e),
  44790. n = y(t)
  44791. if (r !== H || !u($, n) || u(ee, n)) {
  44792. var i = K(r, n)
  44793. return !i || !u($, n) || (u(r, U) && r[U][n]) || (i.enumerable = !0), i
  44794. }
  44795. },
  44796. de = function (e) {
  44797. var t = Q(g(e)),
  44798. r = []
  44799. return (
  44800. F(t, function (e) {
  44801. u($, e) || u(j, e) || r.push(e)
  44802. }),
  44803. r
  44804. )
  44805. },
  44806. he = function (e) {
  44807. var t = e === H,
  44808. r = Q(t ? ee : g(e)),
  44809. n = []
  44810. return (
  44811. F(r, function (e) {
  44812. !u($, e) || (t && !u(H, e)) || n.push($[e])
  44813. }),
  44814. n
  44815. )
  44816. }
  44817. if (
  44818. (l ||
  44819. ((X = function () {
  44820. if (this instanceof X) throw TypeError("Symbol is not a constructor")
  44821. var e = arguments.length && void 0 !== arguments[0] ? v(arguments[0]) : void 0,
  44822. t = R(e),
  44823. r = function (e) {
  44824. this === H && r.call(ee, e), u(this, U) && u(this[U], t) && (this[U][t] = !1), ae(this, t, b(1, e))
  44825. }
  44826. return (
  44827. s &&
  44828. oe &&
  44829. ae(H, t, {
  44830. configurable: !0,
  44831. set: r
  44832. }),
  44833. se(t, e)
  44834. )
  44835. }),
  44836. L(X[q], "toString", function () {
  44837. return V(this).tag
  44838. }),
  44839. L(X, "withoutSetter", function (e) {
  44840. return se(R(e), e)
  44841. }),
  44842. (C.f = fe),
  44843. (S.f = le),
  44844. (E.f = pe),
  44845. (A.f = _.f = de),
  44846. (T.f = he),
  44847. (N.f = function (e) {
  44848. return se(I(e), e)
  44849. }),
  44850. s &&
  44851. (Z(X[q], "description", {
  44852. configurable: !0,
  44853. get: function () {
  44854. return V(this).description
  44855. }
  44856. }),
  44857. a ||
  44858. L(H, "propertyIsEnumerable", fe, {
  44859. unsafe: !0
  44860. }))),
  44861. n(
  44862. {
  44863. global: !0,
  44864. wrap: !0,
  44865. forced: !l,
  44866. sham: !l
  44867. },
  44868. {
  44869. Symbol: X
  44870. }
  44871. ),
  44872. F(x(ne), function (e) {
  44873. M(e)
  44874. }),
  44875. n(
  44876. {
  44877. target: z,
  44878. stat: !0,
  44879. forced: !l
  44880. },
  44881. {
  44882. for: function (e) {
  44883. var t = v(e)
  44884. if (u(te, t)) return te[t]
  44885. var r = X(t)
  44886. return (te[t] = r), (re[r] = t), r
  44887. },
  44888. keyFor: function (e) {
  44889. if (!d(e)) throw TypeError(e + " is not a symbol")
  44890. if (u(re, e)) return re[e]
  44891. },
  44892. useSetter: function () {
  44893. oe = !0
  44894. },
  44895. useSimple: function () {
  44896. oe = !1
  44897. }
  44898. }
  44899. ),
  44900. n(
  44901. {
  44902. target: "Object",
  44903. stat: !0,
  44904. forced: !l,
  44905. sham: !s
  44906. },
  44907. {
  44908. create: ue,
  44909. defineProperty: le,
  44910. defineProperties: ce,
  44911. getOwnPropertyDescriptor: pe
  44912. }
  44913. ),
  44914. n(
  44915. {
  44916. target: "Object",
  44917. stat: !0,
  44918. forced: !l
  44919. },
  44920. {
  44921. getOwnPropertyNames: de,
  44922. getOwnPropertySymbols: he
  44923. }
  44924. ),
  44925. n(
  44926. {
  44927. target: "Object",
  44928. stat: !0,
  44929. forced: c(function () {
  44930. T.f(1)
  44931. })
  44932. },
  44933. {
  44934. getOwnPropertySymbols: function (e) {
  44935. return T.f(m(e))
  44936. }
  44937. }
  44938. ),
  44939. Y)
  44940. ) {
  44941. var me =
  44942. !l ||
  44943. c(function () {
  44944. var e = X()
  44945. return (
  44946. "[null]" != Y([e]) ||
  44947. "{}" !=
  44948. Y({
  44949. a: e
  44950. }) ||
  44951. "{}" != Y(Object(e))
  44952. )
  44953. })
  44954. n(
  44955. {
  44956. target: "JSON",
  44957. stat: !0,
  44958. forced: me
  44959. },
  44960. {
  44961. stringify: function (e, t, r) {
  44962. var n,
  44963. i = [e],
  44964. o = 1
  44965. while (arguments.length > o) i.push(arguments[o++])
  44966. if (((n = t), (p(t) || void 0 !== e) && !d(e)))
  44967. return (
  44968. f(t) ||
  44969. (t = function (e, t) {
  44970. if (("function" == typeof n && (t = n.call(this, e, t)), !d(t))) return t
  44971. }),
  44972. (i[1] = t),
  44973. Y.apply(null, i)
  44974. )
  44975. }
  44976. }
  44977. )
  44978. }
  44979. X[q][G] || k(X[q], G, X[q].valueOf), D(X, z), (j[U] = !0)
  44980. },
  44981. a630: function (e, t, r) {
  44982. var n = r("23e7"),
  44983. i = r("4df4"),
  44984. o = r("1c7e"),
  44985. a = !o(function (e) {
  44986. Array.from(e)
  44987. })
  44988. n(
  44989. {
  44990. target: "Array",
  44991. stat: !0,
  44992. forced: a
  44993. },
  44994. {
  44995. from: i
  44996. }
  44997. )
  44998. },
  44999. a640: function (e, t, r) {
  45000. "use strict"
  45001. var n = r("d039")
  45002. e.exports = function (e, t) {
  45003. var r = [][e]
  45004. return (
  45005. !!r &&
  45006. n(function () {
  45007. r.call(
  45008. null,
  45009. t ||
  45010. function () {
  45011. throw 1
  45012. },
  45013. 1
  45014. )
  45015. })
  45016. )
  45017. }
  45018. },
  45019. a691: function (e, t) {
  45020. var r = Math.ceil,
  45021. n = Math.floor
  45022. e.exports = function (e) {
  45023. return isNaN((e = +e)) ? 0 : (e > 0 ? n : r)(e)
  45024. }
  45025. },
  45026. a8f0: function (e, t, r) {
  45027. var n = r("b639"),
  45028. i = n.Buffer
  45029. function o(e, t) {
  45030. for (var r in e) t[r] = e[r]
  45031. }
  45032. function a(e, t, r) {
  45033. return i(e, t, r)
  45034. }
  45035. i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (e.exports = n) : (o(n, t), (t.Buffer = a)),
  45036. o(i, a),
  45037. (a.from = function (e, t, r) {
  45038. if ("number" === typeof e) throw new TypeError("Argument must not be a number")
  45039. return i(e, t, r)
  45040. }),
  45041. (a.alloc = function (e, t, r) {
  45042. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  45043. var n = i(e)
  45044. return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n
  45045. }),
  45046. (a.allocUnsafe = function (e) {
  45047. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  45048. return i(e)
  45049. }),
  45050. (a.allocUnsafeSlow = function (e) {
  45051. if ("number" !== typeof e) throw new TypeError("Argument must be a number")
  45052. return n.SlowBuffer(e)
  45053. })
  45054. },
  45055. ab13: function (e, t, r) {
  45056. var n = r("b622"),
  45057. i = n("match")
  45058. e.exports = function (e) {
  45059. var t = /./
  45060. try {
  45061. "/./"[e](t)
  45062. } catch (r) {
  45063. try {
  45064. return (t[i] = !1), "/./"[e](t)
  45065. } catch (n) {}
  45066. }
  45067. return !1
  45068. }
  45069. },
  45070. ac1f: function (e, t, r) {
  45071. "use strict"
  45072. var n = r("23e7"),
  45073. i = r("9263")
  45074. n(
  45075. {
  45076. target: "RegExp",
  45077. proto: !0,
  45078. forced: /./.exec !== i
  45079. },
  45080. {
  45081. exec: i
  45082. }
  45083. )
  45084. },
  45085. ad6d: function (e, t, r) {
  45086. "use strict"
  45087. var n = r("825a")
  45088. e.exports = function () {
  45089. var e = n(this),
  45090. t = ""
  45091. return (
  45092. e.global && (t += "g"),
  45093. e.ignoreCase && (t += "i"),
  45094. e.multiline && (t += "m"),
  45095. e.dotAll && (t += "s"),
  45096. e.unicode && (t += "u"),
  45097. e.sticky && (t += "y"),
  45098. t
  45099. )
  45100. }
  45101. },
  45102. ad71: function (e, t, r) {
  45103. "use strict"
  45104. ;(function (t, n) {
  45105. var i = r("966d")
  45106. e.exports = A
  45107. var o,
  45108. a = r("e3db")
  45109. A.ReadableState = x
  45110. r("faa1").EventEmitter
  45111. var s = function (e, t) {
  45112. return e.listeners(t).length
  45113. },
  45114. l = r("429b"),
  45115. c = r("a8f0").Buffer,
  45116. u = t.Uint8Array || function () {}
  45117. function f(e) {
  45118. return c.from(e)
  45119. }
  45120. function p(e) {
  45121. return c.isBuffer(e) || e instanceof u
  45122. }
  45123. var d = Object.create(r("3a7c"))
  45124. d.inherits = r("3fb5")
  45125. var h = r(2),
  45126. m = void 0
  45127. m = h && h.debuglog ? h.debuglog("stream") : function () {}
  45128. var g,
  45129. y = r("5e1a"),
  45130. v = r("4681")
  45131. d.inherits(A, l)
  45132. var b = ["error", "close", "destroy", "pause", "resume"]
  45133. function w(e, t, r) {
  45134. if ("function" === typeof e.prependListener) return e.prependListener(t, r)
  45135. e._events && e._events[t] ? (a(e._events[t]) ? e._events[t].unshift(r) : (e._events[t] = [r, e._events[t]])) : e.on(t, r)
  45136. }
  45137. function x(e, t) {
  45138. ;(o = o || r("b19a")), (e = e || {})
  45139. var n = t instanceof o
  45140. ;(this.objectMode = !!e.objectMode), n && (this.objectMode = this.objectMode || !!e.readableObjectMode)
  45141. var i = e.highWaterMark,
  45142. a = e.readableHighWaterMark,
  45143. s = this.objectMode ? 16 : 16384
  45144. ;(this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s),
  45145. (this.highWaterMark = Math.floor(this.highWaterMark)),
  45146. (this.buffer = new y()),
  45147. (this.length = 0),
  45148. (this.pipes = null),
  45149. (this.pipesCount = 0),
  45150. (this.flowing = null),
  45151. (this.ended = !1),
  45152. (this.endEmitted = !1),
  45153. (this.reading = !1),
  45154. (this.sync = !0),
  45155. (this.needReadable = !1),
  45156. (this.emittedReadable = !1),
  45157. (this.readableListening = !1),
  45158. (this.resumeScheduled = !1),
  45159. (this.destroyed = !1),
  45160. (this.defaultEncoding = e.defaultEncoding || "utf8"),
  45161. (this.awaitDrain = 0),
  45162. (this.readingMore = !1),
  45163. (this.decoder = null),
  45164. (this.encoding = null),
  45165. e.encoding && (g || (g = r("7d72").StringDecoder), (this.decoder = new g(e.encoding)), (this.encoding = e.encoding))
  45166. }
  45167. function A(e) {
  45168. if (((o = o || r("b19a")), !(this instanceof A))) return new A(e)
  45169. ;(this._readableState = new x(e, this)),
  45170. (this.readable = !0),
  45171. e && ("function" === typeof e.read && (this._read = e.read), "function" === typeof e.destroy && (this._destroy = e.destroy)),
  45172. l.call(this)
  45173. }
  45174. function _(e, t, r, n, i) {
  45175. var o,
  45176. a = e._readableState
  45177. null === t
  45178. ? ((a.reading = !1), P(e, a))
  45179. : (i || (o = E(a, t)),
  45180. o
  45181. ? e.emit("error", o)
  45182. : a.objectMode || (t && t.length > 0)
  45183. ? ("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = f(t)),
  45184. n
  45185. ? a.endEmitted
  45186. ? e.emit("error", new Error("stream.unshift() after end event"))
  45187. : T(e, a, t, !0)
  45188. : a.ended
  45189. ? e.emit("error", new Error("stream.push() after EOF"))
  45190. : ((a.reading = !1),
  45191. a.decoder && !r ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : R(e, a)) : T(e, a, t, !1)))
  45192. : n || (a.reading = !1))
  45193. return S(a)
  45194. }
  45195. function T(e, t, r, n) {
  45196. t.flowing && 0 === t.length && !t.sync
  45197. ? (e.emit("data", r), e.read(0))
  45198. : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && O(e)),
  45199. R(e, t)
  45200. }
  45201. function E(e, t) {
  45202. var r
  45203. return p(t) || "string" === typeof t || void 0 === t || e.objectMode || (r = new TypeError("Invalid non-string/buffer chunk")), r
  45204. }
  45205. function S(e) {
  45206. return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length)
  45207. }
  45208. Object.defineProperty(A.prototype, "destroyed", {
  45209. get: function () {
  45210. return void 0 !== this._readableState && this._readableState.destroyed
  45211. },
  45212. set: function (e) {
  45213. this._readableState && (this._readableState.destroyed = e)
  45214. }
  45215. }),
  45216. (A.prototype.destroy = v.destroy),
  45217. (A.prototype._undestroy = v.undestroy),
  45218. (A.prototype._destroy = function (e, t) {
  45219. this.push(null), t(e)
  45220. }),
  45221. (A.prototype.push = function (e, t) {
  45222. var r,
  45223. n = this._readableState
  45224. return (
  45225. n.objectMode
  45226. ? (r = !0)
  45227. : "string" === typeof e && ((t = t || n.defaultEncoding), t !== n.encoding && ((e = c.from(e, t)), (t = "")), (r = !0)),
  45228. _(this, e, t, !1, r)
  45229. )
  45230. }),
  45231. (A.prototype.unshift = function (e) {
  45232. return _(this, e, null, !0, !1)
  45233. }),
  45234. (A.prototype.isPaused = function () {
  45235. return !1 === this._readableState.flowing
  45236. }),
  45237. (A.prototype.setEncoding = function (e) {
  45238. return g || (g = r("7d72").StringDecoder), (this._readableState.decoder = new g(e)), (this._readableState.encoding = e), this
  45239. })
  45240. var C = 8388608
  45241. function k(e) {
  45242. return e >= C ? (e = C) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e
  45243. }
  45244. function L(e, t) {
  45245. return e <= 0 || (0 === t.length && t.ended)
  45246. ? 0
  45247. : t.objectMode
  45248. ? 1
  45249. : e !== e
  45250. ? t.flowing && t.length
  45251. ? t.buffer.head.data.length
  45252. : t.length
  45253. : (e > t.highWaterMark && (t.highWaterMark = k(e)), e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0))
  45254. }
  45255. function P(e, t) {
  45256. if (!t.ended) {
  45257. if (t.decoder) {
  45258. var r = t.decoder.end()
  45259. r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length))
  45260. }
  45261. ;(t.ended = !0), O(e)
  45262. }
  45263. }
  45264. function O(e) {
  45265. var t = e._readableState
  45266. ;(t.needReadable = !1), t.emittedReadable || (m("emitReadable", t.flowing), (t.emittedReadable = !0), t.sync ? i.nextTick(j, e) : j(e))
  45267. }
  45268. function j(e) {
  45269. m("emit readable"), e.emit("readable"), F(e)
  45270. }
  45271. function R(e, t) {
  45272. t.readingMore || ((t.readingMore = !0), i.nextTick(I, e, t))
  45273. }
  45274. function I(e, t) {
  45275. var r = t.length
  45276. while (!t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark) {
  45277. if ((m("maybeReadMore read 0"), e.read(0), r === t.length)) break
  45278. r = t.length
  45279. }
  45280. t.readingMore = !1
  45281. }
  45282. function N(e) {
  45283. return function () {
  45284. var t = e._readableState
  45285. m("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e, "data") && ((t.flowing = !0), F(e))
  45286. }
  45287. }
  45288. function M(e) {
  45289. m("readable nexttick read 0"), e.read(0)
  45290. }
  45291. function D(e, t) {
  45292. t.resumeScheduled || ((t.resumeScheduled = !0), i.nextTick(B, e, t))
  45293. }
  45294. function B(e, t) {
  45295. t.reading || (m("resume read 0"), e.read(0)),
  45296. (t.resumeScheduled = !1),
  45297. (t.awaitDrain = 0),
  45298. e.emit("resume"),
  45299. F(e),
  45300. t.flowing && !t.reading && e.read(0)
  45301. }
  45302. function F(e) {
  45303. var t = e._readableState
  45304. m("flow", t.flowing)
  45305. while (t.flowing && null !== e.read());
  45306. }
  45307. function U(e, t) {
  45308. return 0 === t.length
  45309. ? null
  45310. : (t.objectMode
  45311. ? (r = t.buffer.shift())
  45312. : !e || e >= t.length
  45313. ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length)), t.buffer.clear())
  45314. : (r = z(e, t.buffer, t.decoder)),
  45315. r)
  45316. var r
  45317. }
  45318. function z(e, t, r) {
  45319. var n
  45320. return (
  45321. e < t.head.data.length
  45322. ? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e)))
  45323. : (n = e === t.head.data.length ? t.shift() : r ? q(e, t) : G(e, t)),
  45324. n
  45325. )
  45326. }
  45327. function q(e, t) {
  45328. var r = t.head,
  45329. n = 1,
  45330. i = r.data
  45331. e -= i.length
  45332. while ((r = r.next)) {
  45333. var o = r.data,
  45334. a = e > o.length ? o.length : e
  45335. if ((a === o.length ? (i += o) : (i += o.slice(0, e)), (e -= a), 0 === e)) {
  45336. a === o.length ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null)) : ((t.head = r), (r.data = o.slice(a)))
  45337. break
  45338. }
  45339. ++n
  45340. }
  45341. return (t.length -= n), i
  45342. }
  45343. function G(e, t) {
  45344. var r = c.allocUnsafe(e),
  45345. n = t.head,
  45346. i = 1
  45347. n.data.copy(r), (e -= n.data.length)
  45348. while ((n = n.next)) {
  45349. var o = n.data,
  45350. a = e > o.length ? o.length : e
  45351. if ((o.copy(r, r.length - e, 0, a), (e -= a), 0 === e)) {
  45352. a === o.length ? (++i, n.next ? (t.head = n.next) : (t.head = t.tail = null)) : ((t.head = n), (n.data = o.slice(a)))
  45353. break
  45354. }
  45355. ++i
  45356. }
  45357. return (t.length -= i), r
  45358. }
  45359. function W(e) {
  45360. var t = e._readableState
  45361. if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream')
  45362. t.endEmitted || ((t.ended = !0), i.nextTick(V, t, e))
  45363. }
  45364. function V(e, t) {
  45365. e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit("end"))
  45366. }
  45367. function H(e, t) {
  45368. for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r
  45369. return -1
  45370. }
  45371. ;(A.prototype.read = function (e) {
  45372. m("read", e), (e = parseInt(e, 10))
  45373. var t = this._readableState,
  45374. r = e
  45375. if ((0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)))
  45376. return m("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? W(this) : O(this), null
  45377. if (((e = L(e, t)), 0 === e && t.ended)) return 0 === t.length && W(this), null
  45378. var n,
  45379. i = t.needReadable
  45380. return (
  45381. m("need readable", i),
  45382. (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), m("length less than watermark", i)),
  45383. t.ended || t.reading
  45384. ? ((i = !1), m("reading or ended", i))
  45385. : i &&
  45386. (m("do read"),
  45387. (t.reading = !0),
  45388. (t.sync = !0),
  45389. 0 === t.length && (t.needReadable = !0),
  45390. this._read(t.highWaterMark),
  45391. (t.sync = !1),
  45392. t.reading || (e = L(r, t))),
  45393. (n = e > 0 ? U(e, t) : null),
  45394. null === n ? ((t.needReadable = !0), (e = 0)) : (t.length -= e),
  45395. 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && W(this)),
  45396. null !== n && this.emit("data", n),
  45397. n
  45398. )
  45399. }),
  45400. (A.prototype._read = function (e) {
  45401. this.emit("error", new Error("_read() is not implemented"))
  45402. }),
  45403. (A.prototype.pipe = function (e, t) {
  45404. var r = this,
  45405. o = this._readableState
  45406. switch (o.pipesCount) {
  45407. case 0:
  45408. o.pipes = e
  45409. break
  45410. case 1:
  45411. o.pipes = [o.pipes, e]
  45412. break
  45413. default:
  45414. o.pipes.push(e)
  45415. break
  45416. }
  45417. ;(o.pipesCount += 1), m("pipe count=%d opts=%j", o.pipesCount, t)
  45418. var a = (!t || !1 !== t.end) && e !== n.stdout && e !== n.stderr,
  45419. l = a ? u : x
  45420. function c(e, t) {
  45421. m("onunpipe"), e === r && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d())
  45422. }
  45423. function u() {
  45424. m("onend"), e.end()
  45425. }
  45426. o.endEmitted ? i.nextTick(l) : r.once("end", l), e.on("unpipe", c)
  45427. var f = N(r)
  45428. e.on("drain", f)
  45429. var p = !1
  45430. function d() {
  45431. m("cleanup"),
  45432. e.removeListener("close", v),
  45433. e.removeListener("finish", b),
  45434. e.removeListener("drain", f),
  45435. e.removeListener("error", y),
  45436. e.removeListener("unpipe", c),
  45437. r.removeListener("end", u),
  45438. r.removeListener("end", x),
  45439. r.removeListener("data", g),
  45440. (p = !0),
  45441. !o.awaitDrain || (e._writableState && !e._writableState.needDrain) || f()
  45442. }
  45443. var h = !1
  45444. function g(t) {
  45445. m("ondata"), (h = !1)
  45446. var n = e.write(t)
  45447. !1 !== n ||
  45448. h ||
  45449. (((1 === o.pipesCount && o.pipes === e) || (o.pipesCount > 1 && -1 !== H(o.pipes, e))) &&
  45450. !p &&
  45451. (m("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, (h = !0)),
  45452. r.pause())
  45453. }
  45454. function y(t) {
  45455. m("onerror", t), x(), e.removeListener("error", y), 0 === s(e, "error") && e.emit("error", t)
  45456. }
  45457. function v() {
  45458. e.removeListener("finish", b), x()
  45459. }
  45460. function b() {
  45461. m("onfinish"), e.removeListener("close", v), x()
  45462. }
  45463. function x() {
  45464. m("unpipe"), r.unpipe(e)
  45465. }
  45466. return (
  45467. r.on("data", g),
  45468. w(e, "error", y),
  45469. e.once("close", v),
  45470. e.once("finish", b),
  45471. e.emit("pipe", r),
  45472. o.flowing || (m("pipe resume"), r.resume()),
  45473. e
  45474. )
  45475. }),
  45476. (A.prototype.unpipe = function (e) {
  45477. var t = this._readableState,
  45478. r = {
  45479. hasUnpiped: !1
  45480. }
  45481. if (0 === t.pipesCount) return this
  45482. if (1 === t.pipesCount)
  45483. return (
  45484. (e && e !== t.pipes) ||
  45485. (e || (e = t.pipes), (t.pipes = null), (t.pipesCount = 0), (t.flowing = !1), e && e.emit("unpipe", this, r)),
  45486. this
  45487. )
  45488. if (!e) {
  45489. var n = t.pipes,
  45490. i = t.pipesCount
  45491. ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1)
  45492. for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r)
  45493. return this
  45494. }
  45495. var a = H(t.pipes, e)
  45496. return (
  45497. -1 === a || (t.pipes.splice(a, 1), (t.pipesCount -= 1), 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)),
  45498. this
  45499. )
  45500. }),
  45501. (A.prototype.on = function (e, t) {
  45502. var r = l.prototype.on.call(this, e, t)
  45503. if ("data" === e) !1 !== this._readableState.flowing && this.resume()
  45504. else if ("readable" === e) {
  45505. var n = this._readableState
  45506. n.endEmitted ||
  45507. n.readableListening ||
  45508. ((n.readableListening = n.needReadable = !0), (n.emittedReadable = !1), n.reading ? n.length && O(this) : i.nextTick(M, this))
  45509. }
  45510. return r
  45511. }),
  45512. (A.prototype.addListener = A.prototype.on),
  45513. (A.prototype.resume = function () {
  45514. var e = this._readableState
  45515. return e.flowing || (m("resume"), (e.flowing = !0), D(this, e)), this
  45516. }),
  45517. (A.prototype.pause = function () {
  45518. return (
  45519. m("call pause flowing=%j", this._readableState.flowing),
  45520. !1 !== this._readableState.flowing && (m("pause"), (this._readableState.flowing = !1), this.emit("pause")),
  45521. this
  45522. )
  45523. }),
  45524. (A.prototype.wrap = function (e) {
  45525. var t = this,
  45526. r = this._readableState,
  45527. n = !1
  45528. for (var i in (e.on("end", function () {
  45529. if ((m("wrapped end"), r.decoder && !r.ended)) {
  45530. var e = r.decoder.end()
  45531. e && e.length && t.push(e)
  45532. }
  45533. t.push(null)
  45534. }),
  45535. e.on("data", function (i) {
  45536. if (
  45537. (m("wrapped data"),
  45538. r.decoder && (i = r.decoder.write(i)),
  45539. (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length)))
  45540. ) {
  45541. var o = t.push(i)
  45542. o || ((n = !0), e.pause())
  45543. }
  45544. }),
  45545. e))
  45546. void 0 === this[i] &&
  45547. "function" === typeof e[i] &&
  45548. (this[i] = (function (t) {
  45549. return function () {
  45550. return e[t].apply(e, arguments)
  45551. }
  45552. })(i))
  45553. for (var o = 0; o < b.length; o++) e.on(b[o], this.emit.bind(this, b[o]))
  45554. return (
  45555. (this._read = function (t) {
  45556. m("wrapped _read", t), n && ((n = !1), e.resume())
  45557. }),
  45558. this
  45559. )
  45560. }),
  45561. Object.defineProperty(A.prototype, "readableHighWaterMark", {
  45562. enumerable: !1,
  45563. get: function () {
  45564. return this._readableState.highWaterMark
  45565. }
  45566. }),
  45567. (A._fromList = U)
  45568. }).call(this, r("c8ba"), r("4362"))
  45569. },
  45570. ae93: function (e, t, r) {
  45571. "use strict"
  45572. var n,
  45573. i,
  45574. o,
  45575. a = r("d039"),
  45576. s = r("e163"),
  45577. l = r("9112"),
  45578. c = r("5135"),
  45579. u = r("b622"),
  45580. f = r("c430"),
  45581. p = u("iterator"),
  45582. d = !1,
  45583. h = function () {
  45584. return this
  45585. }
  45586. ;[].keys && ((o = [].keys()), "next" in o ? ((i = s(s(o))), i !== Object.prototype && (n = i)) : (d = !0))
  45587. var m =
  45588. void 0 == n ||
  45589. a(function () {
  45590. var e = {}
  45591. return n[p].call(e) !== e
  45592. })
  45593. m && (n = {}),
  45594. (f && !m) || c(n, p) || l(n, p, h),
  45595. (e.exports = {
  45596. IteratorPrototype: n,
  45597. BUGGY_SAFARI_ITERATORS: d
  45598. })
  45599. },
  45600. b041: function (e, t, r) {
  45601. "use strict"
  45602. var n = r("00ee"),
  45603. i = r("f5df")
  45604. e.exports = n
  45605. ? {}.toString
  45606. : function () {
  45607. return "[object " + i(this) + "]"
  45608. }
  45609. },
  45610. b0c0: function (e, t, r) {
  45611. var n = r("83ab"),
  45612. i = r("9bf2").f,
  45613. o = Function.prototype,
  45614. a = o.toString,
  45615. s = /^\s*function ([^ (]*)/,
  45616. l = "name"
  45617. n &&
  45618. !(l in o) &&
  45619. i(o, l, {
  45620. configurable: !0,
  45621. get: function () {
  45622. try {
  45623. return a.call(this).match(s)[1]
  45624. } catch (e) {
  45625. return ""
  45626. }
  45627. }
  45628. })
  45629. },
  45630. b19a: function (e, t, r) {
  45631. "use strict"
  45632. var n = r("966d"),
  45633. i =
  45634. Object.keys ||
  45635. function (e) {
  45636. var t = []
  45637. for (var r in e) t.push(r)
  45638. return t
  45639. }
  45640. e.exports = f
  45641. var o = Object.create(r("3a7c"))
  45642. o.inherits = r("3fb5")
  45643. var a = r("ad71"),
  45644. s = r("dc14")
  45645. o.inherits(f, a)
  45646. for (var l = i(s.prototype), c = 0; c < l.length; c++) {
  45647. var u = l[c]
  45648. f.prototype[u] || (f.prototype[u] = s.prototype[u])
  45649. }
  45650. function f(e) {
  45651. if (!(this instanceof f)) return new f(e)
  45652. a.call(this, e),
  45653. s.call(this, e),
  45654. e && !1 === e.readable && (this.readable = !1),
  45655. e && !1 === e.writable && (this.writable = !1),
  45656. (this.allowHalfOpen = !0),
  45657. e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1),
  45658. this.once("end", p)
  45659. }
  45660. function p() {
  45661. this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this)
  45662. }
  45663. function d(e) {
  45664. e.end()
  45665. }
  45666. Object.defineProperty(f.prototype, "writableHighWaterMark", {
  45667. enumerable: !1,
  45668. get: function () {
  45669. return this._writableState.highWaterMark
  45670. }
  45671. }),
  45672. Object.defineProperty(f.prototype, "destroyed", {
  45673. get: function () {
  45674. return (
  45675. void 0 !== this._readableState && void 0 !== this._writableState && this._readableState.destroyed && this._writableState.destroyed
  45676. )
  45677. },
  45678. set: function (e) {
  45679. void 0 !== this._readableState &&
  45680. void 0 !== this._writableState &&
  45681. ((this._readableState.destroyed = e), (this._writableState.destroyed = e))
  45682. }
  45683. }),
  45684. (f.prototype._destroy = function (e, t) {
  45685. this.push(null), this.end(), n.nextTick(t, e)
  45686. })
  45687. },
  45688. b622: function (e, t, r) {
  45689. var n = r("da84"),
  45690. i = r("5692"),
  45691. o = r("5135"),
  45692. a = r("90e3"),
  45693. s = r("4930"),
  45694. l = r("fdbf"),
  45695. c = i("wks"),
  45696. u = n.Symbol,
  45697. f = l ? u : (u && u.withoutSetter) || a
  45698. e.exports = function (e) {
  45699. return (o(c, e) && (s || "string" == typeof c[e])) || (s && o(u, e) ? (c[e] = u[e]) : (c[e] = f("Symbol." + e))), c[e]
  45700. }
  45701. },
  45702. b639: function (e, t, r) {
  45703. "use strict"
  45704. ;(function (e) {
  45705. /*!
  45706. * The buffer module from node.js, for the browser.
  45707. *
  45708. * @author Feross Aboukhadijeh <http://feross.org>
  45709. * @license MIT
  45710. */
  45711. var n = r("1fb5"),
  45712. i = r("9152"),
  45713. o = r("e3db")
  45714. function a() {
  45715. try {
  45716. var e = new Uint8Array(1)
  45717. return (
  45718. (e.__proto__ = {
  45719. __proto__: Uint8Array.prototype,
  45720. foo: function () {
  45721. return 42
  45722. }
  45723. }),
  45724. 42 === e.foo() && "function" === typeof e.subarray && 0 === e.subarray(1, 1).byteLength
  45725. )
  45726. } catch (t) {
  45727. return !1
  45728. }
  45729. }
  45730. function s() {
  45731. return c.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823
  45732. }
  45733. function l(e, t) {
  45734. if (s() < t) throw new RangeError("Invalid typed array length")
  45735. return c.TYPED_ARRAY_SUPPORT ? ((e = new Uint8Array(t)), (e.__proto__ = c.prototype)) : (null === e && (e = new c(t)), (e.length = t)), e
  45736. }
  45737. function c(e, t, r) {
  45738. if (!c.TYPED_ARRAY_SUPPORT && !(this instanceof c)) return new c(e, t, r)
  45739. if ("number" === typeof e) {
  45740. if ("string" === typeof t) throw new Error("If encoding is specified then the first argument must be a string")
  45741. return d(this, e)
  45742. }
  45743. return u(this, e, t, r)
  45744. }
  45745. function u(e, t, r, n) {
  45746. if ("number" === typeof t) throw new TypeError('"value" argument must not be a number')
  45747. return "undefined" !== typeof ArrayBuffer && t instanceof ArrayBuffer ? g(e, t, r, n) : "string" === typeof t ? h(e, t, r) : y(e, t)
  45748. }
  45749. function f(e) {
  45750. if ("number" !== typeof e) throw new TypeError('"size" argument must be a number')
  45751. if (e < 0) throw new RangeError('"size" argument must not be negative')
  45752. }
  45753. function p(e, t, r, n) {
  45754. return f(t), t <= 0 ? l(e, t) : void 0 !== r ? ("string" === typeof n ? l(e, t).fill(r, n) : l(e, t).fill(r)) : l(e, t)
  45755. }
  45756. function d(e, t) {
  45757. if ((f(t), (e = l(e, t < 0 ? 0 : 0 | v(t))), !c.TYPED_ARRAY_SUPPORT)) for (var r = 0; r < t; ++r) e[r] = 0
  45758. return e
  45759. }
  45760. function h(e, t, r) {
  45761. if ((("string" === typeof r && "" !== r) || (r = "utf8"), !c.isEncoding(r)))
  45762. throw new TypeError('"encoding" must be a valid string encoding')
  45763. var n = 0 | w(t, r)
  45764. e = l(e, n)
  45765. var i = e.write(t, r)
  45766. return i !== n && (e = e.slice(0, i)), e
  45767. }
  45768. function m(e, t) {
  45769. var r = t.length < 0 ? 0 : 0 | v(t.length)
  45770. e = l(e, r)
  45771. for (var n = 0; n < r; n += 1) e[n] = 255 & t[n]
  45772. return e
  45773. }
  45774. function g(e, t, r, n) {
  45775. if ((t.byteLength, r < 0 || t.byteLength < r)) throw new RangeError("'offset' is out of bounds")
  45776. if (t.byteLength < r + (n || 0)) throw new RangeError("'length' is out of bounds")
  45777. return (
  45778. (t = void 0 === r && void 0 === n ? new Uint8Array(t) : void 0 === n ? new Uint8Array(t, r) : new Uint8Array(t, r, n)),
  45779. c.TYPED_ARRAY_SUPPORT ? ((e = t), (e.__proto__ = c.prototype)) : (e = m(e, t)),
  45780. e
  45781. )
  45782. }
  45783. function y(e, t) {
  45784. if (c.isBuffer(t)) {
  45785. var r = 0 | v(t.length)
  45786. return (e = l(e, r)), 0 === e.length ? e : (t.copy(e, 0, 0, r), e)
  45787. }
  45788. if (t) {
  45789. if (("undefined" !== typeof ArrayBuffer && t.buffer instanceof ArrayBuffer) || "length" in t)
  45790. return "number" !== typeof t.length || te(t.length) ? l(e, 0) : m(e, t)
  45791. if ("Buffer" === t.type && o(t.data)) return m(e, t.data)
  45792. }
  45793. throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")
  45794. }
  45795. function v(e) {
  45796. if (e >= s()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + s().toString(16) + " bytes")
  45797. return 0 | e
  45798. }
  45799. function b(e) {
  45800. return +e != e && (e = 0), c.alloc(+e)
  45801. }
  45802. function w(e, t) {
  45803. if (c.isBuffer(e)) return e.length
  45804. if ("undefined" !== typeof ArrayBuffer && "function" === typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer))
  45805. return e.byteLength
  45806. "string" !== typeof e && (e = "" + e)
  45807. var r = e.length
  45808. if (0 === r) return 0
  45809. for (var n = !1; ; )
  45810. switch (t) {
  45811. case "ascii":
  45812. case "latin1":
  45813. case "binary":
  45814. return r
  45815. case "utf8":
  45816. case "utf-8":
  45817. case void 0:
  45818. return Z(e).length
  45819. case "ucs2":
  45820. case "ucs-2":
  45821. case "utf16le":
  45822. case "utf-16le":
  45823. return 2 * r
  45824. case "hex":
  45825. return r >>> 1
  45826. case "base64":
  45827. return $(e).length
  45828. default:
  45829. if (n) return Z(e).length
  45830. ;(t = ("" + t).toLowerCase()), (n = !0)
  45831. }
  45832. }
  45833. function x(e, t, r) {
  45834. var n = !1
  45835. if (((void 0 === t || t < 0) && (t = 0), t > this.length)) return ""
  45836. if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return ""
  45837. if (((r >>>= 0), (t >>>= 0), r <= t)) return ""
  45838. e || (e = "utf8")
  45839. while (1)
  45840. switch (e) {
  45841. case "hex":
  45842. return D(this, t, r)
  45843. case "utf8":
  45844. case "utf-8":
  45845. return j(this, t, r)
  45846. case "ascii":
  45847. return N(this, t, r)
  45848. case "latin1":
  45849. case "binary":
  45850. return M(this, t, r)
  45851. case "base64":
  45852. return O(this, t, r)
  45853. case "ucs2":
  45854. case "ucs-2":
  45855. case "utf16le":
  45856. case "utf-16le":
  45857. return B(this, t, r)
  45858. default:
  45859. if (n) throw new TypeError("Unknown encoding: " + e)
  45860. ;(e = (e + "").toLowerCase()), (n = !0)
  45861. }
  45862. }
  45863. function A(e, t, r) {
  45864. var n = e[t]
  45865. ;(e[t] = e[r]), (e[r] = n)
  45866. }
  45867. function _(e, t, r, n, i) {
  45868. if (0 === e.length) return -1
  45869. if (
  45870. ("string" === typeof r ? ((n = r), (r = 0)) : r > 2147483647 ? (r = 2147483647) : r < -2147483648 && (r = -2147483648),
  45871. (r = +r),
  45872. isNaN(r) && (r = i ? 0 : e.length - 1),
  45873. r < 0 && (r = e.length + r),
  45874. r >= e.length)
  45875. ) {
  45876. if (i) return -1
  45877. r = e.length - 1
  45878. } else if (r < 0) {
  45879. if (!i) return -1
  45880. r = 0
  45881. }
  45882. if (("string" === typeof t && (t = c.from(t, n)), c.isBuffer(t))) return 0 === t.length ? -1 : T(e, t, r, n, i)
  45883. if ("number" === typeof t)
  45884. return (
  45885. (t &= 255),
  45886. c.TYPED_ARRAY_SUPPORT && "function" === typeof Uint8Array.prototype.indexOf
  45887. ? i
  45888. ? Uint8Array.prototype.indexOf.call(e, t, r)
  45889. : Uint8Array.prototype.lastIndexOf.call(e, t, r)
  45890. : T(e, [t], r, n, i)
  45891. )
  45892. throw new TypeError("val must be string, number or Buffer")
  45893. }
  45894. function T(e, t, r, n, i) {
  45895. var o,
  45896. a = 1,
  45897. s = e.length,
  45898. l = t.length
  45899. if (void 0 !== n && ((n = String(n).toLowerCase()), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
  45900. if (e.length < 2 || t.length < 2) return -1
  45901. ;(a = 2), (s /= 2), (l /= 2), (r /= 2)
  45902. }
  45903. function c(e, t) {
  45904. return 1 === a ? e[t] : e.readUInt16BE(t * a)
  45905. }
  45906. if (i) {
  45907. var u = -1
  45908. for (o = r; o < s; o++)
  45909. if (c(e, o) === c(t, -1 === u ? 0 : o - u)) {
  45910. if ((-1 === u && (u = o), o - u + 1 === l)) return u * a
  45911. } else -1 !== u && (o -= o - u), (u = -1)
  45912. } else
  45913. for (r + l > s && (r = s - l), o = r; o >= 0; o--) {
  45914. for (var f = !0, p = 0; p < l; p++)
  45915. if (c(e, o + p) !== c(t, p)) {
  45916. f = !1
  45917. break
  45918. }
  45919. if (f) return o
  45920. }
  45921. return -1
  45922. }
  45923. function E(e, t, r, n) {
  45924. r = Number(r) || 0
  45925. var i = e.length - r
  45926. n ? ((n = Number(n)), n > i && (n = i)) : (n = i)
  45927. var o = t.length
  45928. if (o % 2 !== 0) throw new TypeError("Invalid hex string")
  45929. n > o / 2 && (n = o / 2)
  45930. for (var a = 0; a < n; ++a) {
  45931. var s = parseInt(t.substr(2 * a, 2), 16)
  45932. if (isNaN(s)) return a
  45933. e[r + a] = s
  45934. }
  45935. return a
  45936. }
  45937. function S(e, t, r, n) {
  45938. return ee(Z(t, e.length - r), e, r, n)
  45939. }
  45940. function C(e, t, r, n) {
  45941. return ee(Q(t), e, r, n)
  45942. }
  45943. function k(e, t, r, n) {
  45944. return C(e, t, r, n)
  45945. }
  45946. function L(e, t, r, n) {
  45947. return ee($(t), e, r, n)
  45948. }
  45949. function P(e, t, r, n) {
  45950. return ee(J(t, e.length - r), e, r, n)
  45951. }
  45952. function O(e, t, r) {
  45953. return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r))
  45954. }
  45955. function j(e, t, r) {
  45956. r = Math.min(e.length, r)
  45957. var n = [],
  45958. i = t
  45959. while (i < r) {
  45960. var o,
  45961. a,
  45962. s,
  45963. l,
  45964. c = e[i],
  45965. u = null,
  45966. f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1
  45967. if (i + f <= r)
  45968. switch (f) {
  45969. case 1:
  45970. c < 128 && (u = c)
  45971. break
  45972. case 2:
  45973. ;(o = e[i + 1]), 128 === (192 & o) && ((l = ((31 & c) << 6) | (63 & o)), l > 127 && (u = l))
  45974. break
  45975. case 3:
  45976. ;(o = e[i + 1]),
  45977. (a = e[i + 2]),
  45978. 128 === (192 & o) &&
  45979. 128 === (192 & a) &&
  45980. ((l = ((15 & c) << 12) | ((63 & o) << 6) | (63 & a)), l > 2047 && (l < 55296 || l > 57343) && (u = l))
  45981. break
  45982. case 4:
  45983. ;(o = e[i + 1]),
  45984. (a = e[i + 2]),
  45985. (s = e[i + 3]),
  45986. 128 === (192 & o) &&
  45987. 128 === (192 & a) &&
  45988. 128 === (192 & s) &&
  45989. ((l = ((15 & c) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)), l > 65535 && l < 1114112 && (u = l))
  45990. }
  45991. null === u ? ((u = 65533), (f = 1)) : u > 65535 && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))),
  45992. n.push(u),
  45993. (i += f)
  45994. }
  45995. return I(n)
  45996. }
  45997. ;(t.Buffer = c),
  45998. (t.SlowBuffer = b),
  45999. (t.INSPECT_MAX_BYTES = 50),
  46000. (c.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : a()),
  46001. (t.kMaxLength = s()),
  46002. (c.poolSize = 8192),
  46003. (c._augment = function (e) {
  46004. return (e.__proto__ = c.prototype), e
  46005. }),
  46006. (c.from = function (e, t, r) {
  46007. return u(null, e, t, r)
  46008. }),
  46009. c.TYPED_ARRAY_SUPPORT &&
  46010. ((c.prototype.__proto__ = Uint8Array.prototype),
  46011. (c.__proto__ = Uint8Array),
  46012. "undefined" !== typeof Symbol &&
  46013. Symbol.species &&
  46014. c[Symbol.species] === c &&
  46015. Object.defineProperty(c, Symbol.species, {
  46016. value: null,
  46017. configurable: !0
  46018. })),
  46019. (c.alloc = function (e, t, r) {
  46020. return p(null, e, t, r)
  46021. }),
  46022. (c.allocUnsafe = function (e) {
  46023. return d(null, e)
  46024. }),
  46025. (c.allocUnsafeSlow = function (e) {
  46026. return d(null, e)
  46027. }),
  46028. (c.isBuffer = function (e) {
  46029. return !(null == e || !e._isBuffer)
  46030. }),
  46031. (c.compare = function (e, t) {
  46032. if (!c.isBuffer(e) || !c.isBuffer(t)) throw new TypeError("Arguments must be Buffers")
  46033. if (e === t) return 0
  46034. for (var r = e.length, n = t.length, i = 0, o = Math.min(r, n); i < o; ++i)
  46035. if (e[i] !== t[i]) {
  46036. ;(r = e[i]), (n = t[i])
  46037. break
  46038. }
  46039. return r < n ? -1 : n < r ? 1 : 0
  46040. }),
  46041. (c.isEncoding = function (e) {
  46042. switch (String(e).toLowerCase()) {
  46043. case "hex":
  46044. case "utf8":
  46045. case "utf-8":
  46046. case "ascii":
  46047. case "latin1":
  46048. case "binary":
  46049. case "base64":
  46050. case "ucs2":
  46051. case "ucs-2":
  46052. case "utf16le":
  46053. case "utf-16le":
  46054. return !0
  46055. default:
  46056. return !1
  46057. }
  46058. }),
  46059. (c.concat = function (e, t) {
  46060. if (!o(e)) throw new TypeError('"list" argument must be an Array of Buffers')
  46061. if (0 === e.length) return c.alloc(0)
  46062. var r
  46063. if (void 0 === t) for (t = 0, r = 0; r < e.length; ++r) t += e[r].length
  46064. var n = c.allocUnsafe(t),
  46065. i = 0
  46066. for (r = 0; r < e.length; ++r) {
  46067. var a = e[r]
  46068. if (!c.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers')
  46069. a.copy(n, i), (i += a.length)
  46070. }
  46071. return n
  46072. }),
  46073. (c.byteLength = w),
  46074. (c.prototype._isBuffer = !0),
  46075. (c.prototype.swap16 = function () {
  46076. var e = this.length
  46077. if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits")
  46078. for (var t = 0; t < e; t += 2) A(this, t, t + 1)
  46079. return this
  46080. }),
  46081. (c.prototype.swap32 = function () {
  46082. var e = this.length
  46083. if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits")
  46084. for (var t = 0; t < e; t += 4) A(this, t, t + 3), A(this, t + 1, t + 2)
  46085. return this
  46086. }),
  46087. (c.prototype.swap64 = function () {
  46088. var e = this.length
  46089. if (e % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits")
  46090. for (var t = 0; t < e; t += 8) A(this, t, t + 7), A(this, t + 1, t + 6), A(this, t + 2, t + 5), A(this, t + 3, t + 4)
  46091. return this
  46092. }),
  46093. (c.prototype.toString = function () {
  46094. var e = 0 | this.length
  46095. return 0 === e ? "" : 0 === arguments.length ? j(this, 0, e) : x.apply(this, arguments)
  46096. }),
  46097. (c.prototype.equals = function (e) {
  46098. if (!c.isBuffer(e)) throw new TypeError("Argument must be a Buffer")
  46099. return this === e || 0 === c.compare(this, e)
  46100. }),
  46101. (c.prototype.inspect = function () {
  46102. var e = "",
  46103. r = t.INSPECT_MAX_BYTES
  46104. return (
  46105. this.length > 0 && ((e = this.toString("hex", 0, r).match(/.{2}/g).join(" ")), this.length > r && (e += " ... ")),
  46106. "<Buffer " + e + ">"
  46107. )
  46108. }),
  46109. (c.prototype.compare = function (e, t, r, n, i) {
  46110. if (!c.isBuffer(e)) throw new TypeError("Argument must be a Buffer")
  46111. if (
  46112. (void 0 === t && (t = 0),
  46113. void 0 === r && (r = e ? e.length : 0),
  46114. void 0 === n && (n = 0),
  46115. void 0 === i && (i = this.length),
  46116. t < 0 || r > e.length || n < 0 || i > this.length)
  46117. )
  46118. throw new RangeError("out of range index")
  46119. if (n >= i && t >= r) return 0
  46120. if (n >= i) return -1
  46121. if (t >= r) return 1
  46122. if (((t >>>= 0), (r >>>= 0), (n >>>= 0), (i >>>= 0), this === e)) return 0
  46123. for (var o = i - n, a = r - t, s = Math.min(o, a), l = this.slice(n, i), u = e.slice(t, r), f = 0; f < s; ++f)
  46124. if (l[f] !== u[f]) {
  46125. ;(o = l[f]), (a = u[f])
  46126. break
  46127. }
  46128. return o < a ? -1 : a < o ? 1 : 0
  46129. }),
  46130. (c.prototype.includes = function (e, t, r) {
  46131. return -1 !== this.indexOf(e, t, r)
  46132. }),
  46133. (c.prototype.indexOf = function (e, t, r) {
  46134. return _(this, e, t, r, !0)
  46135. }),
  46136. (c.prototype.lastIndexOf = function (e, t, r) {
  46137. return _(this, e, t, r, !1)
  46138. }),
  46139. (c.prototype.write = function (e, t, r, n) {
  46140. if (void 0 === t) (n = "utf8"), (r = this.length), (t = 0)
  46141. else if (void 0 === r && "string" === typeof t) (n = t), (r = this.length), (t = 0)
  46142. else {
  46143. if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")
  46144. ;(t |= 0), isFinite(r) ? ((r |= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0))
  46145. }
  46146. var i = this.length - t
  46147. if (((void 0 === r || r > i) && (r = i), (e.length > 0 && (r < 0 || t < 0)) || t > this.length))
  46148. throw new RangeError("Attempt to write outside buffer bounds")
  46149. n || (n = "utf8")
  46150. for (var o = !1; ; )
  46151. switch (n) {
  46152. case "hex":
  46153. return E(this, e, t, r)
  46154. case "utf8":
  46155. case "utf-8":
  46156. return S(this, e, t, r)
  46157. case "ascii":
  46158. return C(this, e, t, r)
  46159. case "latin1":
  46160. case "binary":
  46161. return k(this, e, t, r)
  46162. case "base64":
  46163. return L(this, e, t, r)
  46164. case "ucs2":
  46165. case "ucs-2":
  46166. case "utf16le":
  46167. case "utf-16le":
  46168. return P(this, e, t, r)
  46169. default:
  46170. if (o) throw new TypeError("Unknown encoding: " + n)
  46171. ;(n = ("" + n).toLowerCase()), (o = !0)
  46172. }
  46173. }),
  46174. (c.prototype.toJSON = function () {
  46175. return {
  46176. type: "Buffer",
  46177. data: Array.prototype.slice.call(this._arr || this, 0)
  46178. }
  46179. })
  46180. var R = 4096
  46181. function I(e) {
  46182. var t = e.length
  46183. if (t <= R) return String.fromCharCode.apply(String, e)
  46184. var r = "",
  46185. n = 0
  46186. while (n < t) r += String.fromCharCode.apply(String, e.slice(n, (n += R)))
  46187. return r
  46188. }
  46189. function N(e, t, r) {
  46190. var n = ""
  46191. r = Math.min(e.length, r)
  46192. for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i])
  46193. return n
  46194. }
  46195. function M(e, t, r) {
  46196. var n = ""
  46197. r = Math.min(e.length, r)
  46198. for (var i = t; i < r; ++i) n += String.fromCharCode(e[i])
  46199. return n
  46200. }
  46201. function D(e, t, r) {
  46202. var n = e.length
  46203. ;(!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n)
  46204. for (var i = "", o = t; o < r; ++o) i += K(e[o])
  46205. return i
  46206. }
  46207. function B(e, t, r) {
  46208. for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1])
  46209. return i
  46210. }
  46211. function F(e, t, r) {
  46212. if (e % 1 !== 0 || e < 0) throw new RangeError("offset is not uint")
  46213. if (e + t > r) throw new RangeError("Trying to access beyond buffer length")
  46214. }
  46215. function U(e, t, r, n, i, o) {
  46216. if (!c.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance')
  46217. if (t > i || t < o) throw new RangeError('"value" argument is out of bounds')
  46218. if (r + n > e.length) throw new RangeError("Index out of range")
  46219. }
  46220. function z(e, t, r, n) {
  46221. t < 0 && (t = 65535 + t + 1)
  46222. for (var i = 0, o = Math.min(e.length - r, 2); i < o; ++i) e[r + i] = (t & (255 << (8 * (n ? i : 1 - i)))) >>> (8 * (n ? i : 1 - i))
  46223. }
  46224. function q(e, t, r, n) {
  46225. t < 0 && (t = 4294967295 + t + 1)
  46226. for (var i = 0, o = Math.min(e.length - r, 4); i < o; ++i) e[r + i] = (t >>> (8 * (n ? i : 3 - i))) & 255
  46227. }
  46228. function G(e, t, r, n, i, o) {
  46229. if (r + n > e.length) throw new RangeError("Index out of range")
  46230. if (r < 0) throw new RangeError("Index out of range")
  46231. }
  46232. function W(e, t, r, n, o) {
  46233. return o || G(e, t, r, 4, 34028234663852886e22, -34028234663852886e22), i.write(e, t, r, n, 23, 4), r + 4
  46234. }
  46235. function V(e, t, r, n, o) {
  46236. return o || G(e, t, r, 8, 17976931348623157e292, -17976931348623157e292), i.write(e, t, r, n, 52, 8), r + 8
  46237. }
  46238. ;(c.prototype.slice = function (e, t) {
  46239. var r,
  46240. n = this.length
  46241. if (
  46242. ((e = ~~e),
  46243. (t = void 0 === t ? n : ~~t),
  46244. e < 0 ? ((e += n), e < 0 && (e = 0)) : e > n && (e = n),
  46245. t < 0 ? ((t += n), t < 0 && (t = 0)) : t > n && (t = n),
  46246. t < e && (t = e),
  46247. c.TYPED_ARRAY_SUPPORT)
  46248. )
  46249. (r = this.subarray(e, t)), (r.__proto__ = c.prototype)
  46250. else {
  46251. var i = t - e
  46252. r = new c(i, void 0)
  46253. for (var o = 0; o < i; ++o) r[o] = this[o + e]
  46254. }
  46255. return r
  46256. }),
  46257. (c.prototype.readUIntLE = function (e, t, r) {
  46258. ;(e |= 0), (t |= 0), r || F(e, t, this.length)
  46259. var n = this[e],
  46260. i = 1,
  46261. o = 0
  46262. while (++o < t && (i *= 256)) n += this[e + o] * i
  46263. return n
  46264. }),
  46265. (c.prototype.readUIntBE = function (e, t, r) {
  46266. ;(e |= 0), (t |= 0), r || F(e, t, this.length)
  46267. var n = this[e + --t],
  46268. i = 1
  46269. while (t > 0 && (i *= 256)) n += this[e + --t] * i
  46270. return n
  46271. }),
  46272. (c.prototype.readUInt8 = function (e, t) {
  46273. return t || F(e, 1, this.length), this[e]
  46274. }),
  46275. (c.prototype.readUInt16LE = function (e, t) {
  46276. return t || F(e, 2, this.length), this[e] | (this[e + 1] << 8)
  46277. }),
  46278. (c.prototype.readUInt16BE = function (e, t) {
  46279. return t || F(e, 2, this.length), (this[e] << 8) | this[e + 1]
  46280. }),
  46281. (c.prototype.readUInt32LE = function (e, t) {
  46282. return t || F(e, 4, this.length), (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3]
  46283. }),
  46284. (c.prototype.readUInt32BE = function (e, t) {
  46285. return t || F(e, 4, this.length), 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3])
  46286. }),
  46287. (c.prototype.readIntLE = function (e, t, r) {
  46288. ;(e |= 0), (t |= 0), r || F(e, t, this.length)
  46289. var n = this[e],
  46290. i = 1,
  46291. o = 0
  46292. while (++o < t && (i *= 256)) n += this[e + o] * i
  46293. return (i *= 128), n >= i && (n -= Math.pow(2, 8 * t)), n
  46294. }),
  46295. (c.prototype.readIntBE = function (e, t, r) {
  46296. ;(e |= 0), (t |= 0), r || F(e, t, this.length)
  46297. var n = t,
  46298. i = 1,
  46299. o = this[e + --n]
  46300. while (n > 0 && (i *= 256)) o += this[e + --n] * i
  46301. return (i *= 128), o >= i && (o -= Math.pow(2, 8 * t)), o
  46302. }),
  46303. (c.prototype.readInt8 = function (e, t) {
  46304. return t || F(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e]
  46305. }),
  46306. (c.prototype.readInt16LE = function (e, t) {
  46307. t || F(e, 2, this.length)
  46308. var r = this[e] | (this[e + 1] << 8)
  46309. return 32768 & r ? 4294901760 | r : r
  46310. }),
  46311. (c.prototype.readInt16BE = function (e, t) {
  46312. t || F(e, 2, this.length)
  46313. var r = this[e + 1] | (this[e] << 8)
  46314. return 32768 & r ? 4294901760 | r : r
  46315. }),
  46316. (c.prototype.readInt32LE = function (e, t) {
  46317. return t || F(e, 4, this.length), this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24)
  46318. }),
  46319. (c.prototype.readInt32BE = function (e, t) {
  46320. return t || F(e, 4, this.length), (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]
  46321. }),
  46322. (c.prototype.readFloatLE = function (e, t) {
  46323. return t || F(e, 4, this.length), i.read(this, e, !0, 23, 4)
  46324. }),
  46325. (c.prototype.readFloatBE = function (e, t) {
  46326. return t || F(e, 4, this.length), i.read(this, e, !1, 23, 4)
  46327. }),
  46328. (c.prototype.readDoubleLE = function (e, t) {
  46329. return t || F(e, 8, this.length), i.read(this, e, !0, 52, 8)
  46330. }),
  46331. (c.prototype.readDoubleBE = function (e, t) {
  46332. return t || F(e, 8, this.length), i.read(this, e, !1, 52, 8)
  46333. }),
  46334. (c.prototype.writeUIntLE = function (e, t, r, n) {
  46335. if (((e = +e), (t |= 0), (r |= 0), !n)) {
  46336. var i = Math.pow(2, 8 * r) - 1
  46337. U(this, e, t, r, i, 0)
  46338. }
  46339. var o = 1,
  46340. a = 0
  46341. this[t] = 255 & e
  46342. while (++a < r && (o *= 256)) this[t + a] = (e / o) & 255
  46343. return t + r
  46344. }),
  46345. (c.prototype.writeUIntBE = function (e, t, r, n) {
  46346. if (((e = +e), (t |= 0), (r |= 0), !n)) {
  46347. var i = Math.pow(2, 8 * r) - 1
  46348. U(this, e, t, r, i, 0)
  46349. }
  46350. var o = r - 1,
  46351. a = 1
  46352. this[t + o] = 255 & e
  46353. while (--o >= 0 && (a *= 256)) this[t + o] = (e / a) & 255
  46354. return t + r
  46355. }),
  46356. (c.prototype.writeUInt8 = function (e, t, r) {
  46357. return (e = +e), (t |= 0), r || U(this, e, t, 1, 255, 0), c.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), (this[t] = 255 & e), t + 1
  46358. }),
  46359. (c.prototype.writeUInt16LE = function (e, t, r) {
  46360. return (
  46361. (e = +e),
  46362. (t |= 0),
  46363. r || U(this, e, t, 2, 65535, 0),
  46364. c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : z(this, e, t, !0),
  46365. t + 2
  46366. )
  46367. }),
  46368. (c.prototype.writeUInt16BE = function (e, t, r) {
  46369. return (
  46370. (e = +e),
  46371. (t |= 0),
  46372. r || U(this, e, t, 2, 65535, 0),
  46373. c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : z(this, e, t, !1),
  46374. t + 2
  46375. )
  46376. }),
  46377. (c.prototype.writeUInt32LE = function (e, t, r) {
  46378. return (
  46379. (e = +e),
  46380. (t |= 0),
  46381. r || U(this, e, t, 4, 4294967295, 0),
  46382. c.TYPED_ARRAY_SUPPORT
  46383. ? ((this[t + 3] = e >>> 24), (this[t + 2] = e >>> 16), (this[t + 1] = e >>> 8), (this[t] = 255 & e))
  46384. : q(this, e, t, !0),
  46385. t + 4
  46386. )
  46387. }),
  46388. (c.prototype.writeUInt32BE = function (e, t, r) {
  46389. return (
  46390. (e = +e),
  46391. (t |= 0),
  46392. r || U(this, e, t, 4, 4294967295, 0),
  46393. c.TYPED_ARRAY_SUPPORT
  46394. ? ((this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e))
  46395. : q(this, e, t, !1),
  46396. t + 4
  46397. )
  46398. }),
  46399. (c.prototype.writeIntLE = function (e, t, r, n) {
  46400. if (((e = +e), (t |= 0), !n)) {
  46401. var i = Math.pow(2, 8 * r - 1)
  46402. U(this, e, t, r, i - 1, -i)
  46403. }
  46404. var o = 0,
  46405. a = 1,
  46406. s = 0
  46407. this[t] = 255 & e
  46408. while (++o < r && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
  46409. return t + r
  46410. }),
  46411. (c.prototype.writeIntBE = function (e, t, r, n) {
  46412. if (((e = +e), (t |= 0), !n)) {
  46413. var i = Math.pow(2, 8 * r - 1)
  46414. U(this, e, t, r, i - 1, -i)
  46415. }
  46416. var o = r - 1,
  46417. a = 1,
  46418. s = 0
  46419. this[t + o] = 255 & e
  46420. while (--o >= 0 && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
  46421. return t + r
  46422. }),
  46423. (c.prototype.writeInt8 = function (e, t, r) {
  46424. return (
  46425. (e = +e),
  46426. (t |= 0),
  46427. r || U(this, e, t, 1, 127, -128),
  46428. c.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)),
  46429. e < 0 && (e = 255 + e + 1),
  46430. (this[t] = 255 & e),
  46431. t + 1
  46432. )
  46433. }),
  46434. (c.prototype.writeInt16LE = function (e, t, r) {
  46435. return (
  46436. (e = +e),
  46437. (t |= 0),
  46438. r || U(this, e, t, 2, 32767, -32768),
  46439. c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : z(this, e, t, !0),
  46440. t + 2
  46441. )
  46442. }),
  46443. (c.prototype.writeInt16BE = function (e, t, r) {
  46444. return (
  46445. (e = +e),
  46446. (t |= 0),
  46447. r || U(this, e, t, 2, 32767, -32768),
  46448. c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : z(this, e, t, !1),
  46449. t + 2
  46450. )
  46451. }),
  46452. (c.prototype.writeInt32LE = function (e, t, r) {
  46453. return (
  46454. (e = +e),
  46455. (t |= 0),
  46456. r || U(this, e, t, 4, 2147483647, -2147483648),
  46457. c.TYPED_ARRAY_SUPPORT
  46458. ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8), (this[t + 2] = e >>> 16), (this[t + 3] = e >>> 24))
  46459. : q(this, e, t, !0),
  46460. t + 4
  46461. )
  46462. }),
  46463. (c.prototype.writeInt32BE = function (e, t, r) {
  46464. return (
  46465. (e = +e),
  46466. (t |= 0),
  46467. r || U(this, e, t, 4, 2147483647, -2147483648),
  46468. e < 0 && (e = 4294967295 + e + 1),
  46469. c.TYPED_ARRAY_SUPPORT
  46470. ? ((this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e))
  46471. : q(this, e, t, !1),
  46472. t + 4
  46473. )
  46474. }),
  46475. (c.prototype.writeFloatLE = function (e, t, r) {
  46476. return W(this, e, t, !0, r)
  46477. }),
  46478. (c.prototype.writeFloatBE = function (e, t, r) {
  46479. return W(this, e, t, !1, r)
  46480. }),
  46481. (c.prototype.writeDoubleLE = function (e, t, r) {
  46482. return V(this, e, t, !0, r)
  46483. }),
  46484. (c.prototype.writeDoubleBE = function (e, t, r) {
  46485. return V(this, e, t, !1, r)
  46486. }),
  46487. (c.prototype.copy = function (e, t, r, n) {
  46488. if (
  46489. (r || (r = 0), n || 0 === n || (n = this.length), t >= e.length && (t = e.length), t || (t = 0), n > 0 && n < r && (n = r), n === r)
  46490. )
  46491. return 0
  46492. if (0 === e.length || 0 === this.length) return 0
  46493. if (t < 0) throw new RangeError("targetStart out of bounds")
  46494. if (r < 0 || r >= this.length) throw new RangeError("sourceStart out of bounds")
  46495. if (n < 0) throw new RangeError("sourceEnd out of bounds")
  46496. n > this.length && (n = this.length), e.length - t < n - r && (n = e.length - t + r)
  46497. var i,
  46498. o = n - r
  46499. if (this === e && r < t && t < n) for (i = o - 1; i >= 0; --i) e[i + t] = this[i + r]
  46500. else if (o < 1e3 || !c.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) e[i + t] = this[i + r]
  46501. else Uint8Array.prototype.set.call(e, this.subarray(r, r + o), t)
  46502. return o
  46503. }),
  46504. (c.prototype.fill = function (e, t, r, n) {
  46505. if ("string" === typeof e) {
  46506. if (
  46507. ("string" === typeof t ? ((n = t), (t = 0), (r = this.length)) : "string" === typeof r && ((n = r), (r = this.length)),
  46508. 1 === e.length)
  46509. ) {
  46510. var i = e.charCodeAt(0)
  46511. i < 256 && (e = i)
  46512. }
  46513. if (void 0 !== n && "string" !== typeof n) throw new TypeError("encoding must be a string")
  46514. if ("string" === typeof n && !c.isEncoding(n)) throw new TypeError("Unknown encoding: " + n)
  46515. } else "number" === typeof e && (e &= 255)
  46516. if (t < 0 || this.length < t || this.length < r) throw new RangeError("Out of range index")
  46517. if (r <= t) return this
  46518. var o
  46519. if (((t >>>= 0), (r = void 0 === r ? this.length : r >>> 0), e || (e = 0), "number" === typeof e)) for (o = t; o < r; ++o) this[o] = e
  46520. else {
  46521. var a = c.isBuffer(e) ? e : Z(new c(e, n).toString()),
  46522. s = a.length
  46523. for (o = 0; o < r - t; ++o) this[o + t] = a[o % s]
  46524. }
  46525. return this
  46526. })
  46527. var H = /[^+\/0-9A-Za-z-_]/g
  46528. function X(e) {
  46529. if (((e = Y(e).replace(H, "")), e.length < 2)) return ""
  46530. while (e.length % 4 !== 0) e += "="
  46531. return e
  46532. }
  46533. function Y(e) {
  46534. return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "")
  46535. }
  46536. function K(e) {
  46537. return e < 16 ? "0" + e.toString(16) : e.toString(16)
  46538. }
  46539. function Z(e, t) {
  46540. var r
  46541. t = t || 1 / 0
  46542. for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) {
  46543. if (((r = e.charCodeAt(a)), r > 55295 && r < 57344)) {
  46544. if (!i) {
  46545. if (r > 56319) {
  46546. ;(t -= 3) > -1 && o.push(239, 191, 189)
  46547. continue
  46548. }
  46549. if (a + 1 === n) {
  46550. ;(t -= 3) > -1 && o.push(239, 191, 189)
  46551. continue
  46552. }
  46553. i = r
  46554. continue
  46555. }
  46556. if (r < 56320) {
  46557. ;(t -= 3) > -1 && o.push(239, 191, 189), (i = r)
  46558. continue
  46559. }
  46560. r = 65536 + (((i - 55296) << 10) | (r - 56320))
  46561. } else i && (t -= 3) > -1 && o.push(239, 191, 189)
  46562. if (((i = null), r < 128)) {
  46563. if ((t -= 1) < 0) break
  46564. o.push(r)
  46565. } else if (r < 2048) {
  46566. if ((t -= 2) < 0) break
  46567. o.push((r >> 6) | 192, (63 & r) | 128)
  46568. } else if (r < 65536) {
  46569. if ((t -= 3) < 0) break
  46570. o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128)
  46571. } else {
  46572. if (!(r < 1114112)) throw new Error("Invalid code point")
  46573. if ((t -= 4) < 0) break
  46574. o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128)
  46575. }
  46576. }
  46577. return o
  46578. }
  46579. function Q(e) {
  46580. for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r))
  46581. return t
  46582. }
  46583. function J(e, t) {
  46584. for (var r, n, i, o = [], a = 0; a < e.length; ++a) {
  46585. if ((t -= 2) < 0) break
  46586. ;(r = e.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n)
  46587. }
  46588. return o
  46589. }
  46590. function $(e) {
  46591. return n.toByteArray(X(e))
  46592. }
  46593. function ee(e, t, r, n) {
  46594. for (var i = 0; i < n; ++i) {
  46595. if (i + r >= t.length || i >= e.length) break
  46596. t[i + r] = e[i]
  46597. }
  46598. return i
  46599. }
  46600. function te(e) {
  46601. return e !== e
  46602. }
  46603. }).call(this, r("c8ba"))
  46604. },
  46605. b64b: function (e, t, r) {
  46606. var n = r("23e7"),
  46607. i = r("7b0b"),
  46608. o = r("df75"),
  46609. a = r("d039"),
  46610. s = a(function () {
  46611. o(1)
  46612. })
  46613. n(
  46614. {
  46615. target: "Object",
  46616. stat: !0,
  46617. forced: s
  46618. },
  46619. {
  46620. keys: function (e) {
  46621. return o(i(e))
  46622. }
  46623. }
  46624. )
  46625. },
  46626. b727: function (e, t, r) {
  46627. var n = r("0366"),
  46628. i = r("44ad"),
  46629. o = r("7b0b"),
  46630. a = r("50c4"),
  46631. s = r("65f0"),
  46632. l = [].push,
  46633. c = function (e) {
  46634. var t = 1 == e,
  46635. r = 2 == e,
  46636. c = 3 == e,
  46637. u = 4 == e,
  46638. f = 6 == e,
  46639. p = 7 == e,
  46640. d = 5 == e || f
  46641. return function (h, m, g, y) {
  46642. for (
  46643. var v, b, w = o(h), x = i(w), A = n(m, g, 3), _ = a(x.length), T = 0, E = y || s, S = t ? E(h, _) : r || p ? E(h, 0) : void 0;
  46644. _ > T;
  46645. T++
  46646. )
  46647. if ((d || T in x) && ((v = x[T]), (b = A(v, T, w)), e))
  46648. if (t) S[T] = b
  46649. else if (b)
  46650. switch (e) {
  46651. case 3:
  46652. return !0
  46653. case 5:
  46654. return v
  46655. case 6:
  46656. return T
  46657. case 2:
  46658. l.call(S, v)
  46659. }
  46660. else
  46661. switch (e) {
  46662. case 4:
  46663. return !1
  46664. case 7:
  46665. l.call(S, v)
  46666. }
  46667. return f ? -1 : c || u ? u : S
  46668. }
  46669. }
  46670. e.exports = {
  46671. forEach: c(0),
  46672. map: c(1),
  46673. filter: c(2),
  46674. some: c(3),
  46675. every: c(4),
  46676. find: c(5),
  46677. findIndex: c(6),
  46678. filterReject: c(7)
  46679. }
  46680. },
  46681. b7d1: function (e, t, r) {
  46682. ;(function (t) {
  46683. function r(e, t) {
  46684. if (n("noDeprecation")) return e
  46685. var r = !1
  46686. function i() {
  46687. if (!r) {
  46688. if (n("throwDeprecation")) throw new Error(t)
  46689. n("traceDeprecation") ? console.trace(t) : console.warn(t), (r = !0)
  46690. }
  46691. return e.apply(this, arguments)
  46692. }
  46693. return i
  46694. }
  46695. function n(e) {
  46696. try {
  46697. if (!t.localStorage) return !1
  46698. } catch (n) {
  46699. return !1
  46700. }
  46701. var r = t.localStorage[e]
  46702. return null != r && "true" === String(r).toLowerCase()
  46703. }
  46704. e.exports = r
  46705. }).call(this, r("c8ba"))
  46706. },
  46707. c04e: function (e, t, r) {
  46708. var n = r("861d"),
  46709. i = r("d9b5"),
  46710. o = r("485a"),
  46711. a = r("b622"),
  46712. s = a("toPrimitive")
  46713. e.exports = function (e, t) {
  46714. if (!n(e) || i(e)) return e
  46715. var r,
  46716. a = e[s]
  46717. if (void 0 !== a) {
  46718. if ((void 0 === t && (t = "default"), (r = a.call(e, t)), !n(r) || i(r))) return r
  46719. throw TypeError("Can't convert object to primitive value")
  46720. }
  46721. return void 0 === t && (t = "number"), o(e, t)
  46722. }
  46723. },
  46724. c2ae: function (e, t, r) {
  46725. e.exports = r("e372").PassThrough
  46726. },
  46727. c430: function (e, t) {
  46728. e.exports = !1
  46729. },
  46730. c4e3: function (e, t, r) {
  46731. ;(function (t, r, n) {
  46732. var i
  46733. !(function (t) {
  46734. e.exports = t()
  46735. })(function () {
  46736. return (function e(t, r, n) {
  46737. function o(s, l) {
  46738. if (!r[s]) {
  46739. if (!t[s]) {
  46740. var c = "function" == typeof i && i
  46741. if (!l && c) return i(s, !0)
  46742. if (a) return a(s, !0)
  46743. var u = new Error("Cannot find module '" + s + "'")
  46744. throw ((u.code = "MODULE_NOT_FOUND"), u)
  46745. }
  46746. var f = (r[s] = {
  46747. exports: {}
  46748. })
  46749. t[s][0].call(
  46750. f.exports,
  46751. function (e) {
  46752. var r = t[s][1][e]
  46753. return o(r || e)
  46754. },
  46755. f,
  46756. f.exports,
  46757. e,
  46758. t,
  46759. r,
  46760. n
  46761. )
  46762. }
  46763. return r[s].exports
  46764. }
  46765. for (var a = "function" == typeof i && i, s = 0; s < n.length; s++) o(n[s])
  46766. return o
  46767. })(
  46768. {
  46769. 1: [
  46770. function (e, t, r) {
  46771. "use strict"
  46772. var n = e("./utils"),
  46773. i = e("./support"),
  46774. o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
  46775. ;(r.encode = function (e) {
  46776. for (var t, r, i, a, s, l, c, u = [], f = 0, p = e.length, d = p, h = "string" !== n.getTypeOf(e); f < e.length; )
  46777. (d = p - f),
  46778. (i = h
  46779. ? ((t = e[f++]), (r = f < p ? e[f++] : 0), f < p ? e[f++] : 0)
  46780. : ((t = e.charCodeAt(f++)), (r = f < p ? e.charCodeAt(f++) : 0), f < p ? e.charCodeAt(f++) : 0)),
  46781. (a = t >> 2),
  46782. (s = ((3 & t) << 4) | (r >> 4)),
  46783. (l = 1 < d ? ((15 & r) << 2) | (i >> 6) : 64),
  46784. (c = 2 < d ? 63 & i : 64),
  46785. u.push(o.charAt(a) + o.charAt(s) + o.charAt(l) + o.charAt(c))
  46786. return u.join("")
  46787. }),
  46788. (r.decode = function (e) {
  46789. var t,
  46790. r,
  46791. n,
  46792. a,
  46793. s,
  46794. l,
  46795. c = 0,
  46796. u = 0,
  46797. f = "data:"
  46798. if (e.substr(0, f.length) === f) throw new Error("Invalid base64 input, it looks like a data url.")
  46799. var p,
  46800. d = (3 * (e = e.replace(/[^A-Za-z0-9+/=]/g, "")).length) / 4
  46801. if ((e.charAt(e.length - 1) === o.charAt(64) && d--, e.charAt(e.length - 2) === o.charAt(64) && d--, d % 1 != 0))
  46802. throw new Error("Invalid base64 input, bad content length.")
  46803. for (p = i.uint8array ? new Uint8Array(0 | d) : new Array(0 | d); c < e.length; )
  46804. (t = (o.indexOf(e.charAt(c++)) << 2) | ((a = o.indexOf(e.charAt(c++))) >> 4)),
  46805. (r = ((15 & a) << 4) | ((s = o.indexOf(e.charAt(c++))) >> 2)),
  46806. (n = ((3 & s) << 6) | (l = o.indexOf(e.charAt(c++)))),
  46807. (p[u++] = t),
  46808. 64 !== s && (p[u++] = r),
  46809. 64 !== l && (p[u++] = n)
  46810. return p
  46811. })
  46812. },
  46813. {
  46814. "./support": 30,
  46815. "./utils": 32
  46816. }
  46817. ],
  46818. 2: [
  46819. function (e, t, r) {
  46820. "use strict"
  46821. var n = e("./external"),
  46822. i = e("./stream/DataWorker"),
  46823. o = e("./stream/Crc32Probe"),
  46824. a = e("./stream/DataLengthProbe")
  46825. function s(e, t, r, n, i) {
  46826. ;(this.compressedSize = e),
  46827. (this.uncompressedSize = t),
  46828. (this.crc32 = r),
  46829. (this.compression = n),
  46830. (this.compressedContent = i)
  46831. }
  46832. ;(s.prototype = {
  46833. getContentWorker: function () {
  46834. var e = new i(n.Promise.resolve(this.compressedContent))
  46835. .pipe(this.compression.uncompressWorker())
  46836. .pipe(new a("data_length")),
  46837. t = this
  46838. return (
  46839. e.on("end", function () {
  46840. if (this.streamInfo.data_length !== t.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch")
  46841. }),
  46842. e
  46843. )
  46844. },
  46845. getCompressedWorker: function () {
  46846. return new i(n.Promise.resolve(this.compressedContent))
  46847. .withStreamInfo("compressedSize", this.compressedSize)
  46848. .withStreamInfo("uncompressedSize", this.uncompressedSize)
  46849. .withStreamInfo("crc32", this.crc32)
  46850. .withStreamInfo("compression", this.compression)
  46851. }
  46852. }),
  46853. (s.createWorkerFrom = function (e, t, r) {
  46854. return e
  46855. .pipe(new o())
  46856. .pipe(new a("uncompressedSize"))
  46857. .pipe(t.compressWorker(r))
  46858. .pipe(new a("compressedSize"))
  46859. .withStreamInfo("compression", t)
  46860. }),
  46861. (t.exports = s)
  46862. },
  46863. {
  46864. "./external": 6,
  46865. "./stream/Crc32Probe": 25,
  46866. "./stream/DataLengthProbe": 26,
  46867. "./stream/DataWorker": 27
  46868. }
  46869. ],
  46870. 3: [
  46871. function (e, t, r) {
  46872. "use strict"
  46873. var n = e("./stream/GenericWorker")
  46874. ;(r.STORE = {
  46875. magic: "\0\0",
  46876. compressWorker: function () {
  46877. return new n("STORE compression")
  46878. },
  46879. uncompressWorker: function () {
  46880. return new n("STORE decompression")
  46881. }
  46882. }),
  46883. (r.DEFLATE = e("./flate"))
  46884. },
  46885. {
  46886. "./flate": 7,
  46887. "./stream/GenericWorker": 28
  46888. }
  46889. ],
  46890. 4: [
  46891. function (e, t, r) {
  46892. "use strict"
  46893. var n = e("./utils"),
  46894. i = (function () {
  46895. for (var e, t = [], r = 0; r < 256; r++) {
  46896. e = r
  46897. for (var n = 0; n < 8; n++) e = 1 & e ? 3988292384 ^ (e >>> 1) : e >>> 1
  46898. t[r] = e
  46899. }
  46900. return t
  46901. })()
  46902. t.exports = function (e, t) {
  46903. return void 0 !== e && e.length
  46904. ? "string" !== n.getTypeOf(e)
  46905. ? (function (e, t, r, n) {
  46906. var o = i,
  46907. a = n + r
  46908. e ^= -1
  46909. for (var s = n; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t[s])]
  46910. return -1 ^ e
  46911. })(0 | t, e, e.length, 0)
  46912. : (function (e, t, r, n) {
  46913. var o = i,
  46914. a = n + r
  46915. e ^= -1
  46916. for (var s = n; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t.charCodeAt(s))]
  46917. return -1 ^ e
  46918. })(0 | t, e, e.length, 0)
  46919. : 0
  46920. }
  46921. },
  46922. {
  46923. "./utils": 32
  46924. }
  46925. ],
  46926. 5: [
  46927. function (e, t, r) {
  46928. "use strict"
  46929. ;(r.base64 = !1),
  46930. (r.binary = !1),
  46931. (r.dir = !1),
  46932. (r.createFolders = !0),
  46933. (r.date = null),
  46934. (r.compression = null),
  46935. (r.compressionOptions = null),
  46936. (r.comment = null),
  46937. (r.unixPermissions = null),
  46938. (r.dosPermissions = null)
  46939. },
  46940. {}
  46941. ],
  46942. 6: [
  46943. function (e, t, r) {
  46944. "use strict"
  46945. var n = null
  46946. ;(n = "undefined" != typeof Promise ? Promise : e("lie")),
  46947. (t.exports = {
  46948. Promise: n
  46949. })
  46950. },
  46951. {
  46952. lie: 37
  46953. }
  46954. ],
  46955. 7: [
  46956. function (e, t, r) {
  46957. "use strict"
  46958. var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array,
  46959. i = e("pako"),
  46960. o = e("./utils"),
  46961. a = e("./stream/GenericWorker"),
  46962. s = n ? "uint8array" : "array"
  46963. function l(e, t) {
  46964. a.call(this, "FlateWorker/" + e), (this._pako = null), (this._pakoAction = e), (this._pakoOptions = t), (this.meta = {})
  46965. }
  46966. ;(r.magic = "\b\0"),
  46967. o.inherits(l, a),
  46968. (l.prototype.processChunk = function (e) {
  46969. ;(this.meta = e.meta), null === this._pako && this._createPako(), this._pako.push(o.transformTo(s, e.data), !1)
  46970. }),
  46971. (l.prototype.flush = function () {
  46972. a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], !0)
  46973. }),
  46974. (l.prototype.cleanUp = function () {
  46975. a.prototype.cleanUp.call(this), (this._pako = null)
  46976. }),
  46977. (l.prototype._createPako = function () {
  46978. this._pako = new i[this._pakoAction]({
  46979. raw: !0,
  46980. level: this._pakoOptions.level || -1
  46981. })
  46982. var e = this
  46983. this._pako.onData = function (t) {
  46984. e.push({
  46985. data: t,
  46986. meta: e.meta
  46987. })
  46988. }
  46989. }),
  46990. (r.compressWorker = function (e) {
  46991. return new l("Deflate", e)
  46992. }),
  46993. (r.uncompressWorker = function () {
  46994. return new l("Inflate", {})
  46995. })
  46996. },
  46997. {
  46998. "./stream/GenericWorker": 28,
  46999. "./utils": 32,
  47000. pako: 38
  47001. }
  47002. ],
  47003. 8: [
  47004. function (e, t, r) {
  47005. "use strict"
  47006. function n(e, t) {
  47007. var r,
  47008. n = ""
  47009. for (r = 0; r < t; r++) (n += String.fromCharCode(255 & e)), (e >>>= 8)
  47010. return n
  47011. }
  47012. function i(e, t, r, i, a, u) {
  47013. var f,
  47014. p,
  47015. d = e.file,
  47016. h = e.compression,
  47017. m = u !== s.utf8encode,
  47018. g = o.transformTo("string", u(d.name)),
  47019. y = o.transformTo("string", s.utf8encode(d.name)),
  47020. v = d.comment,
  47021. b = o.transformTo("string", u(v)),
  47022. w = o.transformTo("string", s.utf8encode(v)),
  47023. x = y.length !== d.name.length,
  47024. A = w.length !== v.length,
  47025. _ = "",
  47026. T = "",
  47027. E = "",
  47028. S = d.dir,
  47029. C = d.date,
  47030. k = {
  47031. crc32: 0,
  47032. compressedSize: 0,
  47033. uncompressedSize: 0
  47034. }
  47035. ;(t && !r) || ((k.crc32 = e.crc32), (k.compressedSize = e.compressedSize), (k.uncompressedSize = e.uncompressedSize))
  47036. var L = 0
  47037. t && (L |= 8), m || (!x && !A) || (L |= 2048)
  47038. var P = 0,
  47039. O = 0
  47040. S && (P |= 16),
  47041. "UNIX" === a
  47042. ? ((O = 798),
  47043. (P |= (function (e, t) {
  47044. var r = e
  47045. return e || (r = t ? 16893 : 33204), (65535 & r) << 16
  47046. })(d.unixPermissions, S)))
  47047. : ((O = 20),
  47048. (P |= (function (e) {
  47049. return 63 & (e || 0)
  47050. })(d.dosPermissions))),
  47051. (f = C.getUTCHours()),
  47052. (f <<= 6),
  47053. (f |= C.getUTCMinutes()),
  47054. (f <<= 5),
  47055. (f |= C.getUTCSeconds() / 2),
  47056. (p = C.getUTCFullYear() - 1980),
  47057. (p <<= 4),
  47058. (p |= C.getUTCMonth() + 1),
  47059. (p <<= 5),
  47060. (p |= C.getUTCDate()),
  47061. x && ((T = n(1, 1) + n(l(g), 4) + y), (_ += "up" + n(T.length, 2) + T)),
  47062. A && ((E = n(1, 1) + n(l(b), 4) + w), (_ += "uc" + n(E.length, 2) + E))
  47063. var j = ""
  47064. return (
  47065. (j += "\n\0"),
  47066. (j += n(L, 2)),
  47067. (j += h.magic),
  47068. (j += n(f, 2)),
  47069. (j += n(p, 2)),
  47070. (j += n(k.crc32, 4)),
  47071. (j += n(k.compressedSize, 4)),
  47072. (j += n(k.uncompressedSize, 4)),
  47073. (j += n(g.length, 2)),
  47074. (j += n(_.length, 2)),
  47075. {
  47076. fileRecord: c.LOCAL_FILE_HEADER + j + g + _,
  47077. dirRecord: c.CENTRAL_FILE_HEADER + n(O, 2) + j + n(b.length, 2) + "\0\0\0\0" + n(P, 4) + n(i, 4) + g + _ + b
  47078. }
  47079. )
  47080. }
  47081. var o = e("../utils"),
  47082. a = e("../stream/GenericWorker"),
  47083. s = e("../utf8"),
  47084. l = e("../crc32"),
  47085. c = e("../signature")
  47086. function u(e, t, r, n) {
  47087. a.call(this, "ZipFileWorker"),
  47088. (this.bytesWritten = 0),
  47089. (this.zipComment = t),
  47090. (this.zipPlatform = r),
  47091. (this.encodeFileName = n),
  47092. (this.streamFiles = e),
  47093. (this.accumulate = !1),
  47094. (this.contentBuffer = []),
  47095. (this.dirRecords = []),
  47096. (this.currentSourceOffset = 0),
  47097. (this.entriesCount = 0),
  47098. (this.currentFile = null),
  47099. (this._sources = [])
  47100. }
  47101. o.inherits(u, a),
  47102. (u.prototype.push = function (e) {
  47103. var t = e.meta.percent || 0,
  47104. r = this.entriesCount,
  47105. n = this._sources.length
  47106. this.accumulate
  47107. ? this.contentBuffer.push(e)
  47108. : ((this.bytesWritten += e.data.length),
  47109. a.prototype.push.call(this, {
  47110. data: e.data,
  47111. meta: {
  47112. currentFile: this.currentFile,
  47113. percent: r ? (t + 100 * (r - n - 1)) / r : 100
  47114. }
  47115. }))
  47116. }),
  47117. (u.prototype.openedSource = function (e) {
  47118. ;(this.currentSourceOffset = this.bytesWritten), (this.currentFile = e.file.name)
  47119. var t = this.streamFiles && !e.file.dir
  47120. if (t) {
  47121. var r = i(e, t, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName)
  47122. this.push({
  47123. data: r.fileRecord,
  47124. meta: {
  47125. percent: 0
  47126. }
  47127. })
  47128. } else this.accumulate = !0
  47129. }),
  47130. (u.prototype.closedSource = function (e) {
  47131. this.accumulate = !1
  47132. var t = this.streamFiles && !e.file.dir,
  47133. r = i(e, t, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName)
  47134. if ((this.dirRecords.push(r.dirRecord), t))
  47135. this.push({
  47136. data: (function (e) {
  47137. return c.DATA_DESCRIPTOR + n(e.crc32, 4) + n(e.compressedSize, 4) + n(e.uncompressedSize, 4)
  47138. })(e),
  47139. meta: {
  47140. percent: 100
  47141. }
  47142. })
  47143. else
  47144. for (
  47145. this.push({
  47146. data: r.fileRecord,
  47147. meta: {
  47148. percent: 0
  47149. }
  47150. });
  47151. this.contentBuffer.length;
  47152. )
  47153. this.push(this.contentBuffer.shift())
  47154. this.currentFile = null
  47155. }),
  47156. (u.prototype.flush = function () {
  47157. for (var e = this.bytesWritten, t = 0; t < this.dirRecords.length; t++)
  47158. this.push({
  47159. data: this.dirRecords[t],
  47160. meta: {
  47161. percent: 100
  47162. }
  47163. })
  47164. var r = this.bytesWritten - e,
  47165. i = (function (e, t, r, i, a) {
  47166. var s = o.transformTo("string", a(i))
  47167. return c.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(e, 2) + n(e, 2) + n(t, 4) + n(r, 4) + n(s.length, 2) + s
  47168. })(this.dirRecords.length, r, e, this.zipComment, this.encodeFileName)
  47169. this.push({
  47170. data: i,
  47171. meta: {
  47172. percent: 100
  47173. }
  47174. })
  47175. }),
  47176. (u.prototype.prepareNextSource = function () {
  47177. ;(this.previous = this._sources.shift()),
  47178. this.openedSource(this.previous.streamInfo),
  47179. this.isPaused ? this.previous.pause() : this.previous.resume()
  47180. }),
  47181. (u.prototype.registerPrevious = function (e) {
  47182. this._sources.push(e)
  47183. var t = this
  47184. return (
  47185. e.on("data", function (e) {
  47186. t.processChunk(e)
  47187. }),
  47188. e.on("end", function () {
  47189. t.closedSource(t.previous.streamInfo), t._sources.length ? t.prepareNextSource() : t.end()
  47190. }),
  47191. e.on("error", function (e) {
  47192. t.error(e)
  47193. }),
  47194. this
  47195. )
  47196. }),
  47197. (u.prototype.resume = function () {
  47198. return (
  47199. !!a.prototype.resume.call(this) &&
  47200. (!this.previous && this._sources.length
  47201. ? (this.prepareNextSource(), !0)
  47202. : this.previous || this._sources.length || this.generatedError
  47203. ? void 0
  47204. : (this.end(), !0))
  47205. )
  47206. }),
  47207. (u.prototype.error = function (e) {
  47208. var t = this._sources
  47209. if (!a.prototype.error.call(this, e)) return !1
  47210. for (var r = 0; r < t.length; r++)
  47211. try {
  47212. t[r].error(e)
  47213. } catch (e) {}
  47214. return !0
  47215. }),
  47216. (u.prototype.lock = function () {
  47217. a.prototype.lock.call(this)
  47218. for (var e = this._sources, t = 0; t < e.length; t++) e[t].lock()
  47219. }),
  47220. (t.exports = u)
  47221. },
  47222. {
  47223. "../crc32": 4,
  47224. "../signature": 23,
  47225. "../stream/GenericWorker": 28,
  47226. "../utf8": 31,
  47227. "../utils": 32
  47228. }
  47229. ],
  47230. 9: [
  47231. function (e, t, r) {
  47232. "use strict"
  47233. var n = e("../compressions"),
  47234. i = e("./ZipFileWorker")
  47235. r.generateWorker = function (e, t, r) {
  47236. var o = new i(t.streamFiles, r, t.platform, t.encodeFileName),
  47237. a = 0
  47238. try {
  47239. e.forEach(function (e, r) {
  47240. a++
  47241. var i = (function (e, t) {
  47242. var r = e || t,
  47243. i = n[r]
  47244. if (!i) throw new Error(r + " is not a valid compression method !")
  47245. return i
  47246. })(r.options.compression, t.compression),
  47247. s = r.options.compressionOptions || t.compressionOptions || {},
  47248. l = r.dir,
  47249. c = r.date
  47250. r._compressWorker(i, s)
  47251. .withStreamInfo("file", {
  47252. name: e,
  47253. dir: l,
  47254. date: c,
  47255. comment: r.comment || "",
  47256. unixPermissions: r.unixPermissions,
  47257. dosPermissions: r.dosPermissions
  47258. })
  47259. .pipe(o)
  47260. }),
  47261. (o.entriesCount = a)
  47262. } catch (e) {
  47263. o.error(e)
  47264. }
  47265. return o
  47266. }
  47267. },
  47268. {
  47269. "../compressions": 3,
  47270. "./ZipFileWorker": 8
  47271. }
  47272. ],
  47273. 10: [
  47274. function (e, t, r) {
  47275. "use strict"
  47276. function n() {
  47277. if (!(this instanceof n)) return new n()
  47278. if (arguments.length)
  47279. throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.")
  47280. ;(this.files = Object.create(null)),
  47281. (this.comment = null),
  47282. (this.root = ""),
  47283. (this.clone = function () {
  47284. var e = new n()
  47285. for (var t in this) "function" != typeof this[t] && (e[t] = this[t])
  47286. return e
  47287. })
  47288. }
  47289. ;((n.prototype = e("./object")).loadAsync = e("./load")),
  47290. (n.support = e("./support")),
  47291. (n.defaults = e("./defaults")),
  47292. (n.version = "3.10.1"),
  47293. (n.loadAsync = function (e, t) {
  47294. return new n().loadAsync(e, t)
  47295. }),
  47296. (n.external = e("./external")),
  47297. (t.exports = n)
  47298. },
  47299. {
  47300. "./defaults": 5,
  47301. "./external": 6,
  47302. "./load": 11,
  47303. "./object": 15,
  47304. "./support": 30
  47305. }
  47306. ],
  47307. 11: [
  47308. function (e, t, r) {
  47309. "use strict"
  47310. var n = e("./utils"),
  47311. i = e("./external"),
  47312. o = e("./utf8"),
  47313. a = e("./zipEntries"),
  47314. s = e("./stream/Crc32Probe"),
  47315. l = e("./nodejsUtils")
  47316. function c(e) {
  47317. return new i.Promise(function (t, r) {
  47318. var n = e.decompressed.getContentWorker().pipe(new s())
  47319. n.on("error", function (e) {
  47320. r(e)
  47321. })
  47322. .on("end", function () {
  47323. n.streamInfo.crc32 !== e.decompressed.crc32 ? r(new Error("Corrupted zip : CRC32 mismatch")) : t()
  47324. })
  47325. .resume()
  47326. })
  47327. }
  47328. t.exports = function (e, t) {
  47329. var r = this
  47330. return (
  47331. (t = n.extend(t || {}, {
  47332. base64: !1,
  47333. checkCRC32: !1,
  47334. optimizedBinaryString: !1,
  47335. createFolders: !1,
  47336. decodeFileName: o.utf8decode
  47337. })),
  47338. l.isNode && l.isStream(e)
  47339. ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file."))
  47340. : n
  47341. .prepareContent("the loaded zip file", e, !0, t.optimizedBinaryString, t.base64)
  47342. .then(function (e) {
  47343. var r = new a(t)
  47344. return r.load(e), r
  47345. })
  47346. .then(function (e) {
  47347. var r = [i.Promise.resolve(e)],
  47348. n = e.files
  47349. if (t.checkCRC32) for (var o = 0; o < n.length; o++) r.push(c(n[o]))
  47350. return i.Promise.all(r)
  47351. })
  47352. .then(function (e) {
  47353. for (var i = e.shift(), o = i.files, a = 0; a < o.length; a++) {
  47354. var s = o[a],
  47355. l = s.fileNameStr,
  47356. c = n.resolve(s.fileNameStr)
  47357. r.file(c, s.decompressed, {
  47358. binary: !0,
  47359. optimizedBinaryString: !0,
  47360. date: s.date,
  47361. dir: s.dir,
  47362. comment: s.fileCommentStr.length ? s.fileCommentStr : null,
  47363. unixPermissions: s.unixPermissions,
  47364. dosPermissions: s.dosPermissions,
  47365. createFolders: t.createFolders
  47366. }),
  47367. s.dir || (r.file(c).unsafeOriginalName = l)
  47368. }
  47369. return i.zipComment.length && (r.comment = i.zipComment), r
  47370. })
  47371. )
  47372. }
  47373. },
  47374. {
  47375. "./external": 6,
  47376. "./nodejsUtils": 14,
  47377. "./stream/Crc32Probe": 25,
  47378. "./utf8": 31,
  47379. "./utils": 32,
  47380. "./zipEntries": 33
  47381. }
  47382. ],
  47383. 12: [
  47384. function (e, t, r) {
  47385. "use strict"
  47386. var n = e("../utils"),
  47387. i = e("../stream/GenericWorker")
  47388. function o(e, t) {
  47389. i.call(this, "Nodejs stream input adapter for " + e), (this._upstreamEnded = !1), this._bindStream(t)
  47390. }
  47391. n.inherits(o, i),
  47392. (o.prototype._bindStream = function (e) {
  47393. var t = this
  47394. ;(this._stream = e).pause(),
  47395. e
  47396. .on("data", function (e) {
  47397. t.push({
  47398. data: e,
  47399. meta: {
  47400. percent: 0
  47401. }
  47402. })
  47403. })
  47404. .on("error", function (e) {
  47405. t.isPaused ? (this.generatedError = e) : t.error(e)
  47406. })
  47407. .on("end", function () {
  47408. t.isPaused ? (t._upstreamEnded = !0) : t.end()
  47409. })
  47410. }),
  47411. (o.prototype.pause = function () {
  47412. return !!i.prototype.pause.call(this) && (this._stream.pause(), !0)
  47413. }),
  47414. (o.prototype.resume = function () {
  47415. return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0)
  47416. }),
  47417. (t.exports = o)
  47418. },
  47419. {
  47420. "../stream/GenericWorker": 28,
  47421. "../utils": 32
  47422. }
  47423. ],
  47424. 13: [
  47425. function (e, t, r) {
  47426. "use strict"
  47427. var n = e("readable-stream").Readable
  47428. function i(e, t, r) {
  47429. n.call(this, t), (this._helper = e)
  47430. var i = this
  47431. e.on("data", function (e, t) {
  47432. i.push(e) || i._helper.pause(), r && r(t)
  47433. })
  47434. .on("error", function (e) {
  47435. i.emit("error", e)
  47436. })
  47437. .on("end", function () {
  47438. i.push(null)
  47439. })
  47440. }
  47441. e("../utils").inherits(i, n),
  47442. (i.prototype._read = function () {
  47443. this._helper.resume()
  47444. }),
  47445. (t.exports = i)
  47446. },
  47447. {
  47448. "../utils": 32,
  47449. "readable-stream": 16
  47450. }
  47451. ],
  47452. 14: [
  47453. function (e, r, n) {
  47454. "use strict"
  47455. r.exports = {
  47456. isNode: "undefined" != typeof t,
  47457. newBufferFrom: function (e, r) {
  47458. if (t.from && t.from !== Uint8Array.from) return t.from(e, r)
  47459. if ("number" == typeof e) throw new Error('The "data" argument must not be a number')
  47460. return new t(e, r)
  47461. },
  47462. allocBuffer: function (e) {
  47463. if (t.alloc) return t.alloc(e)
  47464. var r = new t(e)
  47465. return r.fill(0), r
  47466. },
  47467. isBuffer: function (e) {
  47468. return t.isBuffer(e)
  47469. },
  47470. isStream: function (e) {
  47471. return e && "function" == typeof e.on && "function" == typeof e.pause && "function" == typeof e.resume
  47472. }
  47473. }
  47474. },
  47475. {}
  47476. ],
  47477. 15: [
  47478. function (e, t, r) {
  47479. "use strict"
  47480. function n(e, t, r) {
  47481. var n,
  47482. i = o.getTypeOf(t),
  47483. s = o.extend(r || {}, l)
  47484. ;(s.date = s.date || new Date()),
  47485. null !== s.compression && (s.compression = s.compression.toUpperCase()),
  47486. "string" == typeof s.unixPermissions && (s.unixPermissions = parseInt(s.unixPermissions, 8)),
  47487. s.unixPermissions && 16384 & s.unixPermissions && (s.dir = !0),
  47488. s.dosPermissions && 16 & s.dosPermissions && (s.dir = !0),
  47489. s.dir && (e = m(e)),
  47490. s.createFolders && (n = h(e)) && g.call(this, n, !0)
  47491. var f = "string" === i && !1 === s.binary && !1 === s.base64
  47492. ;(r && void 0 !== r.binary) || (s.binary = !f),
  47493. ((t instanceof c && 0 === t.uncompressedSize) || s.dir || !t || 0 === t.length) &&
  47494. ((s.base64 = !1), (s.binary = !0), (t = ""), (s.compression = "STORE"), (i = "string"))
  47495. var y = null
  47496. y =
  47497. t instanceof c || t instanceof a
  47498. ? t
  47499. : p.isNode && p.isStream(t)
  47500. ? new d(e, t)
  47501. : o.prepareContent(e, t, s.binary, s.optimizedBinaryString, s.base64)
  47502. var v = new u(e, y, s)
  47503. this.files[e] = v
  47504. }
  47505. var i = e("./utf8"),
  47506. o = e("./utils"),
  47507. a = e("./stream/GenericWorker"),
  47508. s = e("./stream/StreamHelper"),
  47509. l = e("./defaults"),
  47510. c = e("./compressedObject"),
  47511. u = e("./zipObject"),
  47512. f = e("./generate"),
  47513. p = e("./nodejsUtils"),
  47514. d = e("./nodejs/NodejsStreamInputAdapter"),
  47515. h = function (e) {
  47516. "/" === e.slice(-1) && (e = e.substring(0, e.length - 1))
  47517. var t = e.lastIndexOf("/")
  47518. return 0 < t ? e.substring(0, t) : ""
  47519. },
  47520. m = function (e) {
  47521. return "/" !== e.slice(-1) && (e += "/"), e
  47522. },
  47523. g = function (e, t) {
  47524. return (
  47525. (t = void 0 !== t ? t : l.createFolders),
  47526. (e = m(e)),
  47527. this.files[e] ||
  47528. n.call(this, e, null, {
  47529. dir: !0,
  47530. createFolders: t
  47531. }),
  47532. this.files[e]
  47533. )
  47534. }
  47535. function y(e) {
  47536. return "[object RegExp]" === Object.prototype.toString.call(e)
  47537. }
  47538. var v = {
  47539. load: function () {
  47540. throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")
  47541. },
  47542. forEach: function (e) {
  47543. var t, r, n
  47544. for (t in this.files)
  47545. (n = this.files[t]),
  47546. (r = t.slice(this.root.length, t.length)) && t.slice(0, this.root.length) === this.root && e(r, n)
  47547. },
  47548. filter: function (e) {
  47549. var t = []
  47550. return (
  47551. this.forEach(function (r, n) {
  47552. e(r, n) && t.push(n)
  47553. }),
  47554. t
  47555. )
  47556. },
  47557. file: function (e, t, r) {
  47558. if (1 !== arguments.length) return (e = this.root + e), n.call(this, e, t, r), this
  47559. if (y(e)) {
  47560. var i = e
  47561. return this.filter(function (e, t) {
  47562. return !t.dir && i.test(e)
  47563. })
  47564. }
  47565. var o = this.files[this.root + e]
  47566. return o && !o.dir ? o : null
  47567. },
  47568. folder: function (e) {
  47569. if (!e) return this
  47570. if (y(e))
  47571. return this.filter(function (t, r) {
  47572. return r.dir && e.test(t)
  47573. })
  47574. var t = this.root + e,
  47575. r = g.call(this, t),
  47576. n = this.clone()
  47577. return (n.root = r.name), n
  47578. },
  47579. remove: function (e) {
  47580. e = this.root + e
  47581. var t = this.files[e]
  47582. if ((t || ("/" !== e.slice(-1) && (e += "/"), (t = this.files[e])), t && !t.dir)) delete this.files[e]
  47583. else
  47584. for (
  47585. var r = this.filter(function (t, r) {
  47586. return r.name.slice(0, e.length) === e
  47587. }),
  47588. n = 0;
  47589. n < r.length;
  47590. n++
  47591. )
  47592. delete this.files[r[n].name]
  47593. return this
  47594. },
  47595. generate: function () {
  47596. throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")
  47597. },
  47598. generateInternalStream: function (e) {
  47599. var t,
  47600. r = {}
  47601. try {
  47602. if (
  47603. (((r = o.extend(e || {}, {
  47604. streamFiles: !1,
  47605. compression: "STORE",
  47606. compressionOptions: null,
  47607. type: "",
  47608. platform: "DOS",
  47609. comment: null,
  47610. mimeType: "application/zip",
  47611. encodeFileName: i.utf8encode
  47612. })).type = r.type.toLowerCase()),
  47613. (r.compression = r.compression.toUpperCase()),
  47614. "binarystring" === r.type && (r.type = "string"),
  47615. !r.type)
  47616. )
  47617. throw new Error("No output type specified.")
  47618. o.checkSupport(r.type),
  47619. ("darwin" !== r.platform && "freebsd" !== r.platform && "linux" !== r.platform && "sunos" !== r.platform) ||
  47620. (r.platform = "UNIX"),
  47621. "win32" === r.platform && (r.platform = "DOS")
  47622. var n = r.comment || this.comment || ""
  47623. t = f.generateWorker(this, r, n)
  47624. } catch (e) {
  47625. ;(t = new a("error")).error(e)
  47626. }
  47627. return new s(t, r.type || "string", r.mimeType)
  47628. },
  47629. generateAsync: function (e, t) {
  47630. return this.generateInternalStream(e).accumulate(t)
  47631. },
  47632. generateNodeStream: function (e, t) {
  47633. return (e = e || {}).type || (e.type = "nodebuffer"), this.generateInternalStream(e).toNodejsStream(t)
  47634. }
  47635. }
  47636. t.exports = v
  47637. },
  47638. {
  47639. "./compressedObject": 2,
  47640. "./defaults": 5,
  47641. "./generate": 9,
  47642. "./nodejs/NodejsStreamInputAdapter": 12,
  47643. "./nodejsUtils": 14,
  47644. "./stream/GenericWorker": 28,
  47645. "./stream/StreamHelper": 29,
  47646. "./utf8": 31,
  47647. "./utils": 32,
  47648. "./zipObject": 35
  47649. }
  47650. ],
  47651. 16: [
  47652. function (e, t, r) {
  47653. "use strict"
  47654. t.exports = e("stream")
  47655. },
  47656. {
  47657. stream: void 0
  47658. }
  47659. ],
  47660. 17: [
  47661. function (e, t, r) {
  47662. "use strict"
  47663. var n = e("./DataReader")
  47664. function i(e) {
  47665. n.call(this, e)
  47666. for (var t = 0; t < this.data.length; t++) e[t] = 255 & e[t]
  47667. }
  47668. e("../utils").inherits(i, n),
  47669. (i.prototype.byteAt = function (e) {
  47670. return this.data[this.zero + e]
  47671. }),
  47672. (i.prototype.lastIndexOfSignature = function (e) {
  47673. for (
  47674. var t = e.charCodeAt(0), r = e.charCodeAt(1), n = e.charCodeAt(2), i = e.charCodeAt(3), o = this.length - 4;
  47675. 0 <= o;
  47676. --o
  47677. )
  47678. if (this.data[o] === t && this.data[o + 1] === r && this.data[o + 2] === n && this.data[o + 3] === i)
  47679. return o - this.zero
  47680. return -1
  47681. }),
  47682. (i.prototype.readAndCheckSignature = function (e) {
  47683. var t = e.charCodeAt(0),
  47684. r = e.charCodeAt(1),
  47685. n = e.charCodeAt(2),
  47686. i = e.charCodeAt(3),
  47687. o = this.readData(4)
  47688. return t === o[0] && r === o[1] && n === o[2] && i === o[3]
  47689. }),
  47690. (i.prototype.readData = function (e) {
  47691. if ((this.checkOffset(e), 0 === e)) return []
  47692. var t = this.data.slice(this.zero + this.index, this.zero + this.index + e)
  47693. return (this.index += e), t
  47694. }),
  47695. (t.exports = i)
  47696. },
  47697. {
  47698. "../utils": 32,
  47699. "./DataReader": 18
  47700. }
  47701. ],
  47702. 18: [
  47703. function (e, t, r) {
  47704. "use strict"
  47705. var n = e("../utils")
  47706. function i(e) {
  47707. ;(this.data = e), (this.length = e.length), (this.index = 0), (this.zero = 0)
  47708. }
  47709. ;(i.prototype = {
  47710. checkOffset: function (e) {
  47711. this.checkIndex(this.index + e)
  47712. },
  47713. checkIndex: function (e) {
  47714. if (this.length < this.zero + e || e < 0)
  47715. throw new Error("End of data reached (data length = " + this.length + ", asked index = " + e + "). Corrupted zip ?")
  47716. },
  47717. setIndex: function (e) {
  47718. this.checkIndex(e), (this.index = e)
  47719. },
  47720. skip: function (e) {
  47721. this.setIndex(this.index + e)
  47722. },
  47723. byteAt: function () {},
  47724. readInt: function (e) {
  47725. var t,
  47726. r = 0
  47727. for (this.checkOffset(e), t = this.index + e - 1; t >= this.index; t--) r = (r << 8) + this.byteAt(t)
  47728. return (this.index += e), r
  47729. },
  47730. readString: function (e) {
  47731. return n.transformTo("string", this.readData(e))
  47732. },
  47733. readData: function () {},
  47734. lastIndexOfSignature: function () {},
  47735. readAndCheckSignature: function () {},
  47736. readDate: function () {
  47737. var e = this.readInt(4)
  47738. return new Date(
  47739. Date.UTC(
  47740. 1980 + ((e >> 25) & 127),
  47741. ((e >> 21) & 15) - 1,
  47742. (e >> 16) & 31,
  47743. (e >> 11) & 31,
  47744. (e >> 5) & 63,
  47745. (31 & e) << 1
  47746. )
  47747. )
  47748. }
  47749. }),
  47750. (t.exports = i)
  47751. },
  47752. {
  47753. "../utils": 32
  47754. }
  47755. ],
  47756. 19: [
  47757. function (e, t, r) {
  47758. "use strict"
  47759. var n = e("./Uint8ArrayReader")
  47760. function i(e) {
  47761. n.call(this, e)
  47762. }
  47763. e("../utils").inherits(i, n),
  47764. (i.prototype.readData = function (e) {
  47765. this.checkOffset(e)
  47766. var t = this.data.slice(this.zero + this.index, this.zero + this.index + e)
  47767. return (this.index += e), t
  47768. }),
  47769. (t.exports = i)
  47770. },
  47771. {
  47772. "../utils": 32,
  47773. "./Uint8ArrayReader": 21
  47774. }
  47775. ],
  47776. 20: [
  47777. function (e, t, r) {
  47778. "use strict"
  47779. var n = e("./DataReader")
  47780. function i(e) {
  47781. n.call(this, e)
  47782. }
  47783. e("../utils").inherits(i, n),
  47784. (i.prototype.byteAt = function (e) {
  47785. return this.data.charCodeAt(this.zero + e)
  47786. }),
  47787. (i.prototype.lastIndexOfSignature = function (e) {
  47788. return this.data.lastIndexOf(e) - this.zero
  47789. }),
  47790. (i.prototype.readAndCheckSignature = function (e) {
  47791. return e === this.readData(4)
  47792. }),
  47793. (i.prototype.readData = function (e) {
  47794. this.checkOffset(e)
  47795. var t = this.data.slice(this.zero + this.index, this.zero + this.index + e)
  47796. return (this.index += e), t
  47797. }),
  47798. (t.exports = i)
  47799. },
  47800. {
  47801. "../utils": 32,
  47802. "./DataReader": 18
  47803. }
  47804. ],
  47805. 21: [
  47806. function (e, t, r) {
  47807. "use strict"
  47808. var n = e("./ArrayReader")
  47809. function i(e) {
  47810. n.call(this, e)
  47811. }
  47812. e("../utils").inherits(i, n),
  47813. (i.prototype.readData = function (e) {
  47814. if ((this.checkOffset(e), 0 === e)) return new Uint8Array(0)
  47815. var t = this.data.subarray(this.zero + this.index, this.zero + this.index + e)
  47816. return (this.index += e), t
  47817. }),
  47818. (t.exports = i)
  47819. },
  47820. {
  47821. "../utils": 32,
  47822. "./ArrayReader": 17
  47823. }
  47824. ],
  47825. 22: [
  47826. function (e, t, r) {
  47827. "use strict"
  47828. var n = e("../utils"),
  47829. i = e("../support"),
  47830. o = e("./ArrayReader"),
  47831. a = e("./StringReader"),
  47832. s = e("./NodeBufferReader"),
  47833. l = e("./Uint8ArrayReader")
  47834. t.exports = function (e) {
  47835. var t = n.getTypeOf(e)
  47836. return (
  47837. n.checkSupport(t),
  47838. "string" !== t || i.uint8array
  47839. ? "nodebuffer" === t
  47840. ? new s(e)
  47841. : i.uint8array
  47842. ? new l(n.transformTo("uint8array", e))
  47843. : new o(n.transformTo("array", e))
  47844. : new a(e)
  47845. )
  47846. }
  47847. },
  47848. {
  47849. "../support": 30,
  47850. "../utils": 32,
  47851. "./ArrayReader": 17,
  47852. "./NodeBufferReader": 19,
  47853. "./StringReader": 20,
  47854. "./Uint8ArrayReader": 21
  47855. }
  47856. ],
  47857. 23: [
  47858. function (e, t, r) {
  47859. "use strict"
  47860. ;(r.LOCAL_FILE_HEADER = "PK"),
  47861. (r.CENTRAL_FILE_HEADER = "PK"),
  47862. (r.CENTRAL_DIRECTORY_END = "PK"),
  47863. (r.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK"),
  47864. (r.ZIP64_CENTRAL_DIRECTORY_END = "PK"),
  47865. (r.DATA_DESCRIPTOR = "PK\b")
  47866. },
  47867. {}
  47868. ],
  47869. 24: [
  47870. function (e, t, r) {
  47871. "use strict"
  47872. var n = e("./GenericWorker"),
  47873. i = e("../utils")
  47874. function o(e) {
  47875. n.call(this, "ConvertWorker to " + e), (this.destType = e)
  47876. }
  47877. i.inherits(o, n),
  47878. (o.prototype.processChunk = function (e) {
  47879. this.push({
  47880. data: i.transformTo(this.destType, e.data),
  47881. meta: e.meta
  47882. })
  47883. }),
  47884. (t.exports = o)
  47885. },
  47886. {
  47887. "../utils": 32,
  47888. "./GenericWorker": 28
  47889. }
  47890. ],
  47891. 25: [
  47892. function (e, t, r) {
  47893. "use strict"
  47894. var n = e("./GenericWorker"),
  47895. i = e("../crc32")
  47896. function o() {
  47897. n.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0)
  47898. }
  47899. e("../utils").inherits(o, n),
  47900. (o.prototype.processChunk = function (e) {
  47901. ;(this.streamInfo.crc32 = i(e.data, this.streamInfo.crc32 || 0)), this.push(e)
  47902. }),
  47903. (t.exports = o)
  47904. },
  47905. {
  47906. "../crc32": 4,
  47907. "../utils": 32,
  47908. "./GenericWorker": 28
  47909. }
  47910. ],
  47911. 26: [
  47912. function (e, t, r) {
  47913. "use strict"
  47914. var n = e("../utils"),
  47915. i = e("./GenericWorker")
  47916. function o(e) {
  47917. i.call(this, "DataLengthProbe for " + e), (this.propName = e), this.withStreamInfo(e, 0)
  47918. }
  47919. n.inherits(o, i),
  47920. (o.prototype.processChunk = function (e) {
  47921. if (e) {
  47922. var t = this.streamInfo[this.propName] || 0
  47923. this.streamInfo[this.propName] = t + e.data.length
  47924. }
  47925. i.prototype.processChunk.call(this, e)
  47926. }),
  47927. (t.exports = o)
  47928. },
  47929. {
  47930. "../utils": 32,
  47931. "./GenericWorker": 28
  47932. }
  47933. ],
  47934. 27: [
  47935. function (e, t, r) {
  47936. "use strict"
  47937. var n = e("../utils"),
  47938. i = e("./GenericWorker")
  47939. function o(e) {
  47940. i.call(this, "DataWorker")
  47941. var t = this
  47942. ;(this.dataIsReady = !1),
  47943. (this.index = 0),
  47944. (this.max = 0),
  47945. (this.data = null),
  47946. (this.type = ""),
  47947. (this._tickScheduled = !1),
  47948. e.then(
  47949. function (e) {
  47950. ;(t.dataIsReady = !0),
  47951. (t.data = e),
  47952. (t.max = (e && e.length) || 0),
  47953. (t.type = n.getTypeOf(e)),
  47954. t.isPaused || t._tickAndRepeat()
  47955. },
  47956. function (e) {
  47957. t.error(e)
  47958. }
  47959. )
  47960. }
  47961. n.inherits(o, i),
  47962. (o.prototype.cleanUp = function () {
  47963. i.prototype.cleanUp.call(this), (this.data = null)
  47964. }),
  47965. (o.prototype.resume = function () {
  47966. return (
  47967. !!i.prototype.resume.call(this) &&
  47968. (!this._tickScheduled && this.dataIsReady && ((this._tickScheduled = !0), n.delay(this._tickAndRepeat, [], this)),
  47969. !0)
  47970. )
  47971. }),
  47972. (o.prototype._tickAndRepeat = function () {
  47973. ;(this._tickScheduled = !1),
  47974. this.isPaused ||
  47975. this.isFinished ||
  47976. (this._tick(), this.isFinished || (n.delay(this._tickAndRepeat, [], this), (this._tickScheduled = !0)))
  47977. }),
  47978. (o.prototype._tick = function () {
  47979. if (this.isPaused || this.isFinished) return !1
  47980. var e = null,
  47981. t = Math.min(this.max, this.index + 16384)
  47982. if (this.index >= this.max) return this.end()
  47983. switch (this.type) {
  47984. case "string":
  47985. e = this.data.substring(this.index, t)
  47986. break
  47987. case "uint8array":
  47988. e = this.data.subarray(this.index, t)
  47989. break
  47990. case "array":
  47991. case "nodebuffer":
  47992. e = this.data.slice(this.index, t)
  47993. }
  47994. return (
  47995. (this.index = t),
  47996. this.push({
  47997. data: e,
  47998. meta: {
  47999. percent: this.max ? (this.index / this.max) * 100 : 0
  48000. }
  48001. })
  48002. )
  48003. }),
  48004. (t.exports = o)
  48005. },
  48006. {
  48007. "../utils": 32,
  48008. "./GenericWorker": 28
  48009. }
  48010. ],
  48011. 28: [
  48012. function (e, t, r) {
  48013. "use strict"
  48014. function n(e) {
  48015. ;(this.name = e || "default"),
  48016. (this.streamInfo = {}),
  48017. (this.generatedError = null),
  48018. (this.extraStreamInfo = {}),
  48019. (this.isPaused = !0),
  48020. (this.isFinished = !1),
  48021. (this.isLocked = !1),
  48022. (this._listeners = {
  48023. data: [],
  48024. end: [],
  48025. error: []
  48026. }),
  48027. (this.previous = null)
  48028. }
  48029. ;(n.prototype = {
  48030. push: function (e) {
  48031. this.emit("data", e)
  48032. },
  48033. end: function () {
  48034. if (this.isFinished) return !1
  48035. this.flush()
  48036. try {
  48037. this.emit("end"), this.cleanUp(), (this.isFinished = !0)
  48038. } catch (e) {
  48039. this.emit("error", e)
  48040. }
  48041. return !0
  48042. },
  48043. error: function (e) {
  48044. return (
  48045. !this.isFinished &&
  48046. (this.isPaused
  48047. ? (this.generatedError = e)
  48048. : ((this.isFinished = !0), this.emit("error", e), this.previous && this.previous.error(e), this.cleanUp()),
  48049. !0)
  48050. )
  48051. },
  48052. on: function (e, t) {
  48053. return this._listeners[e].push(t), this
  48054. },
  48055. cleanUp: function () {
  48056. ;(this.streamInfo = this.generatedError = this.extraStreamInfo = null), (this._listeners = [])
  48057. },
  48058. emit: function (e, t) {
  48059. if (this._listeners[e]) for (var r = 0; r < this._listeners[e].length; r++) this._listeners[e][r].call(this, t)
  48060. },
  48061. pipe: function (e) {
  48062. return e.registerPrevious(this)
  48063. },
  48064. registerPrevious: function (e) {
  48065. if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.")
  48066. ;(this.streamInfo = e.streamInfo), this.mergeStreamInfo(), (this.previous = e)
  48067. var t = this
  48068. return (
  48069. e.on("data", function (e) {
  48070. t.processChunk(e)
  48071. }),
  48072. e.on("end", function () {
  48073. t.end()
  48074. }),
  48075. e.on("error", function (e) {
  48076. t.error(e)
  48077. }),
  48078. this
  48079. )
  48080. },
  48081. pause: function () {
  48082. return !this.isPaused && !this.isFinished && ((this.isPaused = !0), this.previous && this.previous.pause(), !0)
  48083. },
  48084. resume: function () {
  48085. if (!this.isPaused || this.isFinished) return !1
  48086. var e = (this.isPaused = !1)
  48087. return this.generatedError && (this.error(this.generatedError), (e = !0)), this.previous && this.previous.resume(), !e
  48088. },
  48089. flush: function () {},
  48090. processChunk: function (e) {
  48091. this.push(e)
  48092. },
  48093. withStreamInfo: function (e, t) {
  48094. return (this.extraStreamInfo[e] = t), this.mergeStreamInfo(), this
  48095. },
  48096. mergeStreamInfo: function () {
  48097. for (var e in this.extraStreamInfo)
  48098. Object.prototype.hasOwnProperty.call(this.extraStreamInfo, e) && (this.streamInfo[e] = this.extraStreamInfo[e])
  48099. },
  48100. lock: function () {
  48101. if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.")
  48102. ;(this.isLocked = !0), this.previous && this.previous.lock()
  48103. },
  48104. toString: function () {
  48105. var e = "Worker " + this.name
  48106. return this.previous ? this.previous + " -> " + e : e
  48107. }
  48108. }),
  48109. (t.exports = n)
  48110. },
  48111. {}
  48112. ],
  48113. 29: [
  48114. function (e, r, n) {
  48115. "use strict"
  48116. var i = e("../utils"),
  48117. o = e("./ConvertWorker"),
  48118. a = e("./GenericWorker"),
  48119. s = e("../base64"),
  48120. l = e("../support"),
  48121. c = e("../external"),
  48122. u = null
  48123. if (l.nodestream)
  48124. try {
  48125. u = e("../nodejs/NodejsStreamOutputAdapter")
  48126. } catch (e) {}
  48127. function f(e, r) {
  48128. return new c.Promise(function (n, o) {
  48129. var a = [],
  48130. l = e._internalType,
  48131. c = e._outputType,
  48132. u = e._mimeType
  48133. e.on("data", function (e, t) {
  48134. a.push(e), r && r(t)
  48135. })
  48136. .on("error", function (e) {
  48137. ;(a = []), o(e)
  48138. })
  48139. .on("end", function () {
  48140. try {
  48141. var e = (function (e, t, r) {
  48142. switch (e) {
  48143. case "blob":
  48144. return i.newBlob(i.transformTo("arraybuffer", t), r)
  48145. case "base64":
  48146. return s.encode(t)
  48147. default:
  48148. return i.transformTo(e, t)
  48149. }
  48150. })(
  48151. c,
  48152. (function (e, r) {
  48153. var n,
  48154. i = 0,
  48155. o = null,
  48156. a = 0
  48157. for (n = 0; n < r.length; n++) a += r[n].length
  48158. switch (e) {
  48159. case "string":
  48160. return r.join("")
  48161. case "array":
  48162. return Array.prototype.concat.apply([], r)
  48163. case "uint8array":
  48164. for (o = new Uint8Array(a), n = 0; n < r.length; n++) o.set(r[n], i), (i += r[n].length)
  48165. return o
  48166. case "nodebuffer":
  48167. return t.concat(r)
  48168. default:
  48169. throw new Error("concat : unsupported type '" + e + "'")
  48170. }
  48171. })(l, a),
  48172. u
  48173. )
  48174. n(e)
  48175. } catch (e) {
  48176. o(e)
  48177. }
  48178. a = []
  48179. })
  48180. .resume()
  48181. })
  48182. }
  48183. function p(e, t, r) {
  48184. var n = t
  48185. switch (t) {
  48186. case "blob":
  48187. case "arraybuffer":
  48188. n = "uint8array"
  48189. break
  48190. case "base64":
  48191. n = "string"
  48192. }
  48193. try {
  48194. ;(this._internalType = n),
  48195. (this._outputType = t),
  48196. (this._mimeType = r),
  48197. i.checkSupport(n),
  48198. (this._worker = e.pipe(new o(n))),
  48199. e.lock()
  48200. } catch (e) {
  48201. ;(this._worker = new a("error")), this._worker.error(e)
  48202. }
  48203. }
  48204. ;(p.prototype = {
  48205. accumulate: function (e) {
  48206. return f(this, e)
  48207. },
  48208. on: function (e, t) {
  48209. var r = this
  48210. return (
  48211. "data" === e
  48212. ? this._worker.on(e, function (e) {
  48213. t.call(r, e.data, e.meta)
  48214. })
  48215. : this._worker.on(e, function () {
  48216. i.delay(t, arguments, r)
  48217. }),
  48218. this
  48219. )
  48220. },
  48221. resume: function () {
  48222. return i.delay(this._worker.resume, [], this._worker), this
  48223. },
  48224. pause: function () {
  48225. return this._worker.pause(), this
  48226. },
  48227. toNodejsStream: function (e) {
  48228. if ((i.checkSupport("nodestream"), "nodebuffer" !== this._outputType))
  48229. throw new Error(this._outputType + " is not supported by this method")
  48230. return new u(
  48231. this,
  48232. {
  48233. objectMode: "nodebuffer" !== this._outputType
  48234. },
  48235. e
  48236. )
  48237. }
  48238. }),
  48239. (r.exports = p)
  48240. },
  48241. {
  48242. "../base64": 1,
  48243. "../external": 6,
  48244. "../nodejs/NodejsStreamOutputAdapter": 13,
  48245. "../support": 30,
  48246. "../utils": 32,
  48247. "./ConvertWorker": 24,
  48248. "./GenericWorker": 28
  48249. }
  48250. ],
  48251. 30: [
  48252. function (e, r, n) {
  48253. "use strict"
  48254. if (
  48255. ((n.base64 = !0),
  48256. (n.array = !0),
  48257. (n.string = !0),
  48258. (n.arraybuffer = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array),
  48259. (n.nodebuffer = "undefined" != typeof t),
  48260. (n.uint8array = "undefined" != typeof Uint8Array),
  48261. "undefined" == typeof ArrayBuffer)
  48262. )
  48263. n.blob = !1
  48264. else {
  48265. var i = new ArrayBuffer(0)
  48266. try {
  48267. n.blob =
  48268. 0 ===
  48269. new Blob([i], {
  48270. type: "application/zip"
  48271. }).size
  48272. } catch (e) {
  48273. try {
  48274. var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)()
  48275. o.append(i), (n.blob = 0 === o.getBlob("application/zip").size)
  48276. } catch (e) {
  48277. n.blob = !1
  48278. }
  48279. }
  48280. }
  48281. try {
  48282. n.nodestream = !!e("readable-stream").Readable
  48283. } catch (e) {
  48284. n.nodestream = !1
  48285. }
  48286. },
  48287. {
  48288. "readable-stream": 16
  48289. }
  48290. ],
  48291. 31: [
  48292. function (e, t, r) {
  48293. "use strict"
  48294. for (
  48295. var n = e("./utils"),
  48296. i = e("./support"),
  48297. o = e("./nodejsUtils"),
  48298. a = e("./stream/GenericWorker"),
  48299. s = new Array(256),
  48300. l = 0;
  48301. l < 256;
  48302. l++
  48303. )
  48304. s[l] = 252 <= l ? 6 : 248 <= l ? 5 : 240 <= l ? 4 : 224 <= l ? 3 : 192 <= l ? 2 : 1
  48305. function c() {
  48306. a.call(this, "utf-8 decode"), (this.leftOver = null)
  48307. }
  48308. function u() {
  48309. a.call(this, "utf-8 encode")
  48310. }
  48311. ;(s[254] = s[254] = 1),
  48312. (r.utf8encode = function (e) {
  48313. return i.nodebuffer
  48314. ? o.newBufferFrom(e, "utf-8")
  48315. : (function (e) {
  48316. var t,
  48317. r,
  48318. n,
  48319. o,
  48320. a,
  48321. s = e.length,
  48322. l = 0
  48323. for (o = 0; o < s; o++)
  48324. 55296 == (64512 & (r = e.charCodeAt(o))) &&
  48325. o + 1 < s &&
  48326. 56320 == (64512 & (n = e.charCodeAt(o + 1))) &&
  48327. ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++),
  48328. (l += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4)
  48329. for (t = i.uint8array ? new Uint8Array(l) : new Array(l), o = a = 0; a < l; o++)
  48330. 55296 == (64512 & (r = e.charCodeAt(o))) &&
  48331. o + 1 < s &&
  48332. 56320 == (64512 & (n = e.charCodeAt(o + 1))) &&
  48333. ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++),
  48334. r < 128
  48335. ? (t[a++] = r)
  48336. : (r < 2048
  48337. ? (t[a++] = 192 | (r >>> 6))
  48338. : (r < 65536
  48339. ? (t[a++] = 224 | (r >>> 12))
  48340. : ((t[a++] = 240 | (r >>> 18)), (t[a++] = 128 | ((r >>> 12) & 63))),
  48341. (t[a++] = 128 | ((r >>> 6) & 63))),
  48342. (t[a++] = 128 | (63 & r)))
  48343. return t
  48344. })(e)
  48345. }),
  48346. (r.utf8decode = function (e) {
  48347. return i.nodebuffer
  48348. ? n.transformTo("nodebuffer", e).toString("utf-8")
  48349. : (function (e) {
  48350. var t,
  48351. r,
  48352. i,
  48353. o,
  48354. a = e.length,
  48355. l = new Array(2 * a)
  48356. for (t = r = 0; t < a; )
  48357. if ((i = e[t++]) < 128) l[r++] = i
  48358. else if (4 < (o = s[i])) (l[r++] = 65533), (t += o - 1)
  48359. else {
  48360. for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && t < a; ) (i = (i << 6) | (63 & e[t++])), o--
  48361. 1 < o
  48362. ? (l[r++] = 65533)
  48363. : i < 65536
  48364. ? (l[r++] = i)
  48365. : ((i -= 65536), (l[r++] = 55296 | ((i >> 10) & 1023)), (l[r++] = 56320 | (1023 & i)))
  48366. }
  48367. return l.length !== r && (l.subarray ? (l = l.subarray(0, r)) : (l.length = r)), n.applyFromCharCode(l)
  48368. })((e = n.transformTo(i.uint8array ? "uint8array" : "array", e)))
  48369. }),
  48370. n.inherits(c, a),
  48371. (c.prototype.processChunk = function (e) {
  48372. var t = n.transformTo(i.uint8array ? "uint8array" : "array", e.data)
  48373. if (this.leftOver && this.leftOver.length) {
  48374. if (i.uint8array) {
  48375. var o = t
  48376. ;(t = new Uint8Array(o.length + this.leftOver.length)).set(this.leftOver, 0), t.set(o, this.leftOver.length)
  48377. } else t = this.leftOver.concat(t)
  48378. this.leftOver = null
  48379. }
  48380. var a = (function (e, t) {
  48381. var r
  48382. for ((t = t || e.length) > e.length && (t = e.length), r = t - 1; 0 <= r && 128 == (192 & e[r]); ) r--
  48383. return r < 0 || 0 === r ? t : r + s[e[r]] > t ? r : t
  48384. })(t),
  48385. l = t
  48386. a !== t.length &&
  48387. (i.uint8array
  48388. ? ((l = t.subarray(0, a)), (this.leftOver = t.subarray(a, t.length)))
  48389. : ((l = t.slice(0, a)), (this.leftOver = t.slice(a, t.length)))),
  48390. this.push({
  48391. data: r.utf8decode(l),
  48392. meta: e.meta
  48393. })
  48394. }),
  48395. (c.prototype.flush = function () {
  48396. this.leftOver &&
  48397. this.leftOver.length &&
  48398. (this.push({
  48399. data: r.utf8decode(this.leftOver),
  48400. meta: {}
  48401. }),
  48402. (this.leftOver = null))
  48403. }),
  48404. (r.Utf8DecodeWorker = c),
  48405. n.inherits(u, a),
  48406. (u.prototype.processChunk = function (e) {
  48407. this.push({
  48408. data: r.utf8encode(e.data),
  48409. meta: e.meta
  48410. })
  48411. }),
  48412. (r.Utf8EncodeWorker = u)
  48413. },
  48414. {
  48415. "./nodejsUtils": 14,
  48416. "./stream/GenericWorker": 28,
  48417. "./support": 30,
  48418. "./utils": 32
  48419. }
  48420. ],
  48421. 32: [
  48422. function (e, t, r) {
  48423. "use strict"
  48424. var n = e("./support"),
  48425. i = e("./base64"),
  48426. o = e("./nodejsUtils"),
  48427. a = e("./external")
  48428. function s(e) {
  48429. return e
  48430. }
  48431. function l(e, t) {
  48432. for (var r = 0; r < e.length; ++r) t[r] = 255 & e.charCodeAt(r)
  48433. return t
  48434. }
  48435. e("setimmediate"),
  48436. (r.newBlob = function (t, n) {
  48437. r.checkSupport("blob")
  48438. try {
  48439. return new Blob([t], {
  48440. type: n
  48441. })
  48442. } catch (e) {
  48443. try {
  48444. var i = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)()
  48445. return i.append(t), i.getBlob(n)
  48446. } catch (e) {
  48447. throw new Error("Bug : can't construct the Blob.")
  48448. }
  48449. }
  48450. })
  48451. var c = {
  48452. stringifyByChunk: function (e, t, r) {
  48453. var n = [],
  48454. i = 0,
  48455. o = e.length
  48456. if (o <= r) return String.fromCharCode.apply(null, e)
  48457. for (; i < o; )
  48458. "array" === t || "nodebuffer" === t
  48459. ? n.push(String.fromCharCode.apply(null, e.slice(i, Math.min(i + r, o))))
  48460. : n.push(String.fromCharCode.apply(null, e.subarray(i, Math.min(i + r, o)))),
  48461. (i += r)
  48462. return n.join("")
  48463. },
  48464. stringifyByChar: function (e) {
  48465. for (var t = "", r = 0; r < e.length; r++) t += String.fromCharCode(e[r])
  48466. return t
  48467. },
  48468. applyCanBeUsed: {
  48469. uint8array: (function () {
  48470. try {
  48471. return n.uint8array && 1 === String.fromCharCode.apply(null, new Uint8Array(1)).length
  48472. } catch (e) {
  48473. return !1
  48474. }
  48475. })(),
  48476. nodebuffer: (function () {
  48477. try {
  48478. return n.nodebuffer && 1 === String.fromCharCode.apply(null, o.allocBuffer(1)).length
  48479. } catch (e) {
  48480. return !1
  48481. }
  48482. })()
  48483. }
  48484. }
  48485. function u(e) {
  48486. var t = 65536,
  48487. n = r.getTypeOf(e),
  48488. i = !0
  48489. if (("uint8array" === n ? (i = c.applyCanBeUsed.uint8array) : "nodebuffer" === n && (i = c.applyCanBeUsed.nodebuffer), i))
  48490. for (; 1 < t; )
  48491. try {
  48492. return c.stringifyByChunk(e, n, t)
  48493. } catch (e) {
  48494. t = Math.floor(t / 2)
  48495. }
  48496. return c.stringifyByChar(e)
  48497. }
  48498. function f(e, t) {
  48499. for (var r = 0; r < e.length; r++) t[r] = e[r]
  48500. return t
  48501. }
  48502. r.applyFromCharCode = u
  48503. var p = {}
  48504. ;(p.string = {
  48505. string: s,
  48506. array: function (e) {
  48507. return l(e, new Array(e.length))
  48508. },
  48509. arraybuffer: function (e) {
  48510. return p.string.uint8array(e).buffer
  48511. },
  48512. uint8array: function (e) {
  48513. return l(e, new Uint8Array(e.length))
  48514. },
  48515. nodebuffer: function (e) {
  48516. return l(e, o.allocBuffer(e.length))
  48517. }
  48518. }),
  48519. (p.array = {
  48520. string: u,
  48521. array: s,
  48522. arraybuffer: function (e) {
  48523. return new Uint8Array(e).buffer
  48524. },
  48525. uint8array: function (e) {
  48526. return new Uint8Array(e)
  48527. },
  48528. nodebuffer: function (e) {
  48529. return o.newBufferFrom(e)
  48530. }
  48531. }),
  48532. (p.arraybuffer = {
  48533. string: function (e) {
  48534. return u(new Uint8Array(e))
  48535. },
  48536. array: function (e) {
  48537. return f(new Uint8Array(e), new Array(e.byteLength))
  48538. },
  48539. arraybuffer: s,
  48540. uint8array: function (e) {
  48541. return new Uint8Array(e)
  48542. },
  48543. nodebuffer: function (e) {
  48544. return o.newBufferFrom(new Uint8Array(e))
  48545. }
  48546. }),
  48547. (p.uint8array = {
  48548. string: u,
  48549. array: function (e) {
  48550. return f(e, new Array(e.length))
  48551. },
  48552. arraybuffer: function (e) {
  48553. return e.buffer
  48554. },
  48555. uint8array: s,
  48556. nodebuffer: function (e) {
  48557. return o.newBufferFrom(e)
  48558. }
  48559. }),
  48560. (p.nodebuffer = {
  48561. string: u,
  48562. array: function (e) {
  48563. return f(e, new Array(e.length))
  48564. },
  48565. arraybuffer: function (e) {
  48566. return p.nodebuffer.uint8array(e).buffer
  48567. },
  48568. uint8array: function (e) {
  48569. return f(e, new Uint8Array(e.length))
  48570. },
  48571. nodebuffer: s
  48572. }),
  48573. (r.transformTo = function (e, t) {
  48574. if (((t = t || ""), !e)) return t
  48575. r.checkSupport(e)
  48576. var n = r.getTypeOf(t)
  48577. return p[n][e](t)
  48578. }),
  48579. (r.resolve = function (e) {
  48580. for (var t = e.split("/"), r = [], n = 0; n < t.length; n++) {
  48581. var i = t[n]
  48582. "." === i || ("" === i && 0 !== n && n !== t.length - 1) || (".." === i ? r.pop() : r.push(i))
  48583. }
  48584. return r.join("/")
  48585. }),
  48586. (r.getTypeOf = function (e) {
  48587. return "string" == typeof e
  48588. ? "string"
  48589. : "[object Array]" === Object.prototype.toString.call(e)
  48590. ? "array"
  48591. : n.nodebuffer && o.isBuffer(e)
  48592. ? "nodebuffer"
  48593. : n.uint8array && e instanceof Uint8Array
  48594. ? "uint8array"
  48595. : n.arraybuffer && e instanceof ArrayBuffer
  48596. ? "arraybuffer"
  48597. : void 0
  48598. }),
  48599. (r.checkSupport = function (e) {
  48600. if (!n[e.toLowerCase()]) throw new Error(e + " is not supported by this platform")
  48601. }),
  48602. (r.MAX_VALUE_16BITS = 65535),
  48603. (r.MAX_VALUE_32BITS = -1),
  48604. (r.pretty = function (e) {
  48605. var t,
  48606. r,
  48607. n = ""
  48608. for (r = 0; r < (e || "").length; r++)
  48609. n += "\\x" + ((t = e.charCodeAt(r)) < 16 ? "0" : "") + t.toString(16).toUpperCase()
  48610. return n
  48611. }),
  48612. (r.delay = function (e, t, r) {
  48613. setImmediate(function () {
  48614. e.apply(r || null, t || [])
  48615. })
  48616. }),
  48617. (r.inherits = function (e, t) {
  48618. function r() {}
  48619. ;(r.prototype = t.prototype), (e.prototype = new r())
  48620. }),
  48621. (r.extend = function () {
  48622. var e,
  48623. t,
  48624. r = {}
  48625. for (e = 0; e < arguments.length; e++)
  48626. for (t in arguments[e])
  48627. Object.prototype.hasOwnProperty.call(arguments[e], t) && void 0 === r[t] && (r[t] = arguments[e][t])
  48628. return r
  48629. }),
  48630. (r.prepareContent = function (e, t, o, s, c) {
  48631. return a.Promise.resolve(t)
  48632. .then(function (e) {
  48633. return n.blob &&
  48634. (e instanceof Blob || -1 !== ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(e))) &&
  48635. "undefined" != typeof FileReader
  48636. ? new a.Promise(function (t, r) {
  48637. var n = new FileReader()
  48638. ;(n.onload = function (e) {
  48639. t(e.target.result)
  48640. }),
  48641. (n.onerror = function (e) {
  48642. r(e.target.error)
  48643. }),
  48644. n.readAsArrayBuffer(e)
  48645. })
  48646. : e
  48647. })
  48648. .then(function (t) {
  48649. var u = r.getTypeOf(t)
  48650. return u
  48651. ? ("arraybuffer" === u
  48652. ? (t = r.transformTo("uint8array", t))
  48653. : "string" === u &&
  48654. (c
  48655. ? (t = i.decode(t))
  48656. : o &&
  48657. !0 !== s &&
  48658. (t = (function (e) {
  48659. return l(e, n.uint8array ? new Uint8Array(e.length) : new Array(e.length))
  48660. })(t))),
  48661. t)
  48662. : a.Promise.reject(
  48663. new Error(
  48664. "Can't read the data of '" +
  48665. e +
  48666. "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"
  48667. )
  48668. )
  48669. })
  48670. })
  48671. },
  48672. {
  48673. "./base64": 1,
  48674. "./external": 6,
  48675. "./nodejsUtils": 14,
  48676. "./support": 30,
  48677. setimmediate: 54
  48678. }
  48679. ],
  48680. 33: [
  48681. function (e, t, r) {
  48682. "use strict"
  48683. var n = e("./reader/readerFor"),
  48684. i = e("./utils"),
  48685. o = e("./signature"),
  48686. a = e("./zipEntry"),
  48687. s = e("./support")
  48688. function l(e) {
  48689. ;(this.files = []), (this.loadOptions = e)
  48690. }
  48691. ;(l.prototype = {
  48692. checkSignature: function (e) {
  48693. if (!this.reader.readAndCheckSignature(e)) {
  48694. this.reader.index -= 4
  48695. var t = this.reader.readString(4)
  48696. throw new Error("Corrupted zip or bug: unexpected signature (" + i.pretty(t) + ", expected " + i.pretty(e) + ")")
  48697. }
  48698. },
  48699. isSignature: function (e, t) {
  48700. var r = this.reader.index
  48701. this.reader.setIndex(e)
  48702. var n = this.reader.readString(4) === t
  48703. return this.reader.setIndex(r), n
  48704. },
  48705. readBlockEndOfCentral: function () {
  48706. ;(this.diskNumber = this.reader.readInt(2)),
  48707. (this.diskWithCentralDirStart = this.reader.readInt(2)),
  48708. (this.centralDirRecordsOnThisDisk = this.reader.readInt(2)),
  48709. (this.centralDirRecords = this.reader.readInt(2)),
  48710. (this.centralDirSize = this.reader.readInt(4)),
  48711. (this.centralDirOffset = this.reader.readInt(4)),
  48712. (this.zipCommentLength = this.reader.readInt(2))
  48713. var e = this.reader.readData(this.zipCommentLength),
  48714. t = s.uint8array ? "uint8array" : "array",
  48715. r = i.transformTo(t, e)
  48716. this.zipComment = this.loadOptions.decodeFileName(r)
  48717. },
  48718. readBlockZip64EndOfCentral: function () {
  48719. ;(this.zip64EndOfCentralSize = this.reader.readInt(8)),
  48720. this.reader.skip(4),
  48721. (this.diskNumber = this.reader.readInt(4)),
  48722. (this.diskWithCentralDirStart = this.reader.readInt(4)),
  48723. (this.centralDirRecordsOnThisDisk = this.reader.readInt(8)),
  48724. (this.centralDirRecords = this.reader.readInt(8)),
  48725. (this.centralDirSize = this.reader.readInt(8)),
  48726. (this.centralDirOffset = this.reader.readInt(8)),
  48727. (this.zip64ExtensibleData = {})
  48728. for (var e, t, r, n = this.zip64EndOfCentralSize - 44; 0 < n; )
  48729. (e = this.reader.readInt(2)),
  48730. (t = this.reader.readInt(4)),
  48731. (r = this.reader.readData(t)),
  48732. (this.zip64ExtensibleData[e] = {
  48733. id: e,
  48734. length: t,
  48735. value: r
  48736. })
  48737. },
  48738. readBlockZip64EndOfCentralLocator: function () {
  48739. if (
  48740. ((this.diskWithZip64CentralDirStart = this.reader.readInt(4)),
  48741. (this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8)),
  48742. (this.disksCount = this.reader.readInt(4)),
  48743. 1 < this.disksCount)
  48744. )
  48745. throw new Error("Multi-volumes zip are not supported")
  48746. },
  48747. readLocalFiles: function () {
  48748. var e, t
  48749. for (e = 0; e < this.files.length; e++)
  48750. (t = this.files[e]),
  48751. this.reader.setIndex(t.localHeaderOffset),
  48752. this.checkSignature(o.LOCAL_FILE_HEADER),
  48753. t.readLocalPart(this.reader),
  48754. t.handleUTF8(),
  48755. t.processAttributes()
  48756. },
  48757. readCentralDir: function () {
  48758. var e
  48759. for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); )
  48760. (e = new a(
  48761. {
  48762. zip64: this.zip64
  48763. },
  48764. this.loadOptions
  48765. )).readCentralPart(this.reader),
  48766. this.files.push(e)
  48767. if (this.centralDirRecords !== this.files.length && 0 !== this.centralDirRecords && 0 === this.files.length)
  48768. throw new Error(
  48769. "Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length
  48770. )
  48771. },
  48772. readEndOfCentral: function () {
  48773. var e = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END)
  48774. if (e < 0)
  48775. throw this.isSignature(0, o.LOCAL_FILE_HEADER)
  48776. ? new Error("Corrupted zip: can't find end of central directory")
  48777. : new Error(
  48778. "Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"
  48779. )
  48780. this.reader.setIndex(e)
  48781. var t = e
  48782. if (
  48783. (this.checkSignature(o.CENTRAL_DIRECTORY_END),
  48784. this.readBlockEndOfCentral(),
  48785. this.diskNumber === i.MAX_VALUE_16BITS ||
  48786. this.diskWithCentralDirStart === i.MAX_VALUE_16BITS ||
  48787. this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS ||
  48788. this.centralDirRecords === i.MAX_VALUE_16BITS ||
  48789. this.centralDirSize === i.MAX_VALUE_32BITS ||
  48790. this.centralDirOffset === i.MAX_VALUE_32BITS)
  48791. ) {
  48792. if (((this.zip64 = !0), (e = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0))
  48793. throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator")
  48794. if (
  48795. (this.reader.setIndex(e),
  48796. this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),
  48797. this.readBlockZip64EndOfCentralLocator(),
  48798. !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, o.ZIP64_CENTRAL_DIRECTORY_END) &&
  48799. ((this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END)),
  48800. this.relativeOffsetEndOfZip64CentralDir < 0))
  48801. )
  48802. throw new Error("Corrupted zip: can't find the ZIP64 end of central directory")
  48803. this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),
  48804. this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),
  48805. this.readBlockZip64EndOfCentral()
  48806. }
  48807. var r = this.centralDirOffset + this.centralDirSize
  48808. this.zip64 && ((r += 20), (r += 12 + this.zip64EndOfCentralSize))
  48809. var n = t - r
  48810. if (0 < n) this.isSignature(t, o.CENTRAL_FILE_HEADER) || (this.reader.zero = n)
  48811. else if (n < 0) throw new Error("Corrupted zip: missing " + Math.abs(n) + " bytes.")
  48812. },
  48813. prepareReader: function (e) {
  48814. this.reader = n(e)
  48815. },
  48816. load: function (e) {
  48817. this.prepareReader(e), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles()
  48818. }
  48819. }),
  48820. (t.exports = l)
  48821. },
  48822. {
  48823. "./reader/readerFor": 22,
  48824. "./signature": 23,
  48825. "./support": 30,
  48826. "./utils": 32,
  48827. "./zipEntry": 34
  48828. }
  48829. ],
  48830. 34: [
  48831. function (e, t, r) {
  48832. "use strict"
  48833. var n = e("./reader/readerFor"),
  48834. i = e("./utils"),
  48835. o = e("./compressedObject"),
  48836. a = e("./crc32"),
  48837. s = e("./utf8"),
  48838. l = e("./compressions"),
  48839. c = e("./support")
  48840. function u(e, t) {
  48841. ;(this.options = e), (this.loadOptions = t)
  48842. }
  48843. ;(u.prototype = {
  48844. isEncrypted: function () {
  48845. return 1 == (1 & this.bitFlag)
  48846. },
  48847. useUTF8: function () {
  48848. return 2048 == (2048 & this.bitFlag)
  48849. },
  48850. readLocalPart: function (e) {
  48851. var t, r
  48852. if (
  48853. (e.skip(22),
  48854. (this.fileNameLength = e.readInt(2)),
  48855. (r = e.readInt(2)),
  48856. (this.fileName = e.readData(this.fileNameLength)),
  48857. e.skip(r),
  48858. -1 === this.compressedSize || -1 === this.uncompressedSize)
  48859. )
  48860. throw new Error(
  48861. "Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)"
  48862. )
  48863. if (
  48864. null ===
  48865. (t = (function (e) {
  48866. for (var t in l) if (Object.prototype.hasOwnProperty.call(l, t) && l[t].magic === e) return l[t]
  48867. return null
  48868. })(this.compressionMethod))
  48869. )
  48870. throw new Error(
  48871. "Corrupted zip : compression " +
  48872. i.pretty(this.compressionMethod) +
  48873. " unknown (inner file : " +
  48874. i.transformTo("string", this.fileName) +
  48875. ")"
  48876. )
  48877. this.decompressed = new o(this.compressedSize, this.uncompressedSize, this.crc32, t, e.readData(this.compressedSize))
  48878. },
  48879. readCentralPart: function (e) {
  48880. ;(this.versionMadeBy = e.readInt(2)),
  48881. e.skip(2),
  48882. (this.bitFlag = e.readInt(2)),
  48883. (this.compressionMethod = e.readString(2)),
  48884. (this.date = e.readDate()),
  48885. (this.crc32 = e.readInt(4)),
  48886. (this.compressedSize = e.readInt(4)),
  48887. (this.uncompressedSize = e.readInt(4))
  48888. var t = e.readInt(2)
  48889. if (
  48890. ((this.extraFieldsLength = e.readInt(2)),
  48891. (this.fileCommentLength = e.readInt(2)),
  48892. (this.diskNumberStart = e.readInt(2)),
  48893. (this.internalFileAttributes = e.readInt(2)),
  48894. (this.externalFileAttributes = e.readInt(4)),
  48895. (this.localHeaderOffset = e.readInt(4)),
  48896. this.isEncrypted())
  48897. )
  48898. throw new Error("Encrypted zip are not supported")
  48899. e.skip(t),
  48900. this.readExtraFields(e),
  48901. this.parseZIP64ExtraField(e),
  48902. (this.fileComment = e.readData(this.fileCommentLength))
  48903. },
  48904. processAttributes: function () {
  48905. ;(this.unixPermissions = null), (this.dosPermissions = null)
  48906. var e = this.versionMadeBy >> 8
  48907. ;(this.dir = !!(16 & this.externalFileAttributes)),
  48908. 0 == e && (this.dosPermissions = 63 & this.externalFileAttributes),
  48909. 3 == e && (this.unixPermissions = (this.externalFileAttributes >> 16) & 65535),
  48910. this.dir || "/" !== this.fileNameStr.slice(-1) || (this.dir = !0)
  48911. },
  48912. parseZIP64ExtraField: function () {
  48913. if (this.extraFields[1]) {
  48914. var e = n(this.extraFields[1].value)
  48915. this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = e.readInt(8)),
  48916. this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = e.readInt(8)),
  48917. this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = e.readInt(8)),
  48918. this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = e.readInt(4))
  48919. }
  48920. },
  48921. readExtraFields: function (e) {
  48922. var t,
  48923. r,
  48924. n,
  48925. i = e.index + this.extraFieldsLength
  48926. for (this.extraFields || (this.extraFields = {}); e.index + 4 < i; )
  48927. (t = e.readInt(2)),
  48928. (r = e.readInt(2)),
  48929. (n = e.readData(r)),
  48930. (this.extraFields[t] = {
  48931. id: t,
  48932. length: r,
  48933. value: n
  48934. })
  48935. e.setIndex(i)
  48936. },
  48937. handleUTF8: function () {
  48938. var e = c.uint8array ? "uint8array" : "array"
  48939. if (this.useUTF8())
  48940. (this.fileNameStr = s.utf8decode(this.fileName)), (this.fileCommentStr = s.utf8decode(this.fileComment))
  48941. else {
  48942. var t = this.findExtraFieldUnicodePath()
  48943. if (null !== t) this.fileNameStr = t
  48944. else {
  48945. var r = i.transformTo(e, this.fileName)
  48946. this.fileNameStr = this.loadOptions.decodeFileName(r)
  48947. }
  48948. var n = this.findExtraFieldUnicodeComment()
  48949. if (null !== n) this.fileCommentStr = n
  48950. else {
  48951. var o = i.transformTo(e, this.fileComment)
  48952. this.fileCommentStr = this.loadOptions.decodeFileName(o)
  48953. }
  48954. }
  48955. },
  48956. findExtraFieldUnicodePath: function () {
  48957. var e = this.extraFields[28789]
  48958. if (e) {
  48959. var t = n(e.value)
  48960. return 1 !== t.readInt(1) || a(this.fileName) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5))
  48961. }
  48962. return null
  48963. },
  48964. findExtraFieldUnicodeComment: function () {
  48965. var e = this.extraFields[25461]
  48966. if (e) {
  48967. var t = n(e.value)
  48968. return 1 !== t.readInt(1) || a(this.fileComment) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5))
  48969. }
  48970. return null
  48971. }
  48972. }),
  48973. (t.exports = u)
  48974. },
  48975. {
  48976. "./compressedObject": 2,
  48977. "./compressions": 3,
  48978. "./crc32": 4,
  48979. "./reader/readerFor": 22,
  48980. "./support": 30,
  48981. "./utf8": 31,
  48982. "./utils": 32
  48983. }
  48984. ],
  48985. 35: [
  48986. function (e, t, r) {
  48987. "use strict"
  48988. function n(e, t, r) {
  48989. ;(this.name = e),
  48990. (this.dir = r.dir),
  48991. (this.date = r.date),
  48992. (this.comment = r.comment),
  48993. (this.unixPermissions = r.unixPermissions),
  48994. (this.dosPermissions = r.dosPermissions),
  48995. (this._data = t),
  48996. (this._dataBinary = r.binary),
  48997. (this.options = {
  48998. compression: r.compression,
  48999. compressionOptions: r.compressionOptions
  49000. })
  49001. }
  49002. var i = e("./stream/StreamHelper"),
  49003. o = e("./stream/DataWorker"),
  49004. a = e("./utf8"),
  49005. s = e("./compressedObject"),
  49006. l = e("./stream/GenericWorker")
  49007. n.prototype = {
  49008. internalStream: function (e) {
  49009. var t = null,
  49010. r = "string"
  49011. try {
  49012. if (!e) throw new Error("No output type specified.")
  49013. var n = "string" === (r = e.toLowerCase()) || "text" === r
  49014. ;("binarystring" !== r && "text" !== r) || (r = "string"), (t = this._decompressWorker())
  49015. var o = !this._dataBinary
  49016. o && !n && (t = t.pipe(new a.Utf8EncodeWorker())), !o && n && (t = t.pipe(new a.Utf8DecodeWorker()))
  49017. } catch (e) {
  49018. ;(t = new l("error")).error(e)
  49019. }
  49020. return new i(t, r, "")
  49021. },
  49022. async: function (e, t) {
  49023. return this.internalStream(e).accumulate(t)
  49024. },
  49025. nodeStream: function (e, t) {
  49026. return this.internalStream(e || "nodebuffer").toNodejsStream(t)
  49027. },
  49028. _compressWorker: function (e, t) {
  49029. if (this._data instanceof s && this._data.compression.magic === e.magic) return this._data.getCompressedWorker()
  49030. var r = this._decompressWorker()
  49031. return this._dataBinary || (r = r.pipe(new a.Utf8EncodeWorker())), s.createWorkerFrom(r, e, t)
  49032. },
  49033. _decompressWorker: function () {
  49034. return this._data instanceof s
  49035. ? this._data.getContentWorker()
  49036. : this._data instanceof l
  49037. ? this._data
  49038. : new o(this._data)
  49039. }
  49040. }
  49041. for (
  49042. var c = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"],
  49043. u = function () {
  49044. throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")
  49045. },
  49046. f = 0;
  49047. f < c.length;
  49048. f++
  49049. )
  49050. n.prototype[c[f]] = u
  49051. t.exports = n
  49052. },
  49053. {
  49054. "./compressedObject": 2,
  49055. "./stream/DataWorker": 27,
  49056. "./stream/GenericWorker": 28,
  49057. "./stream/StreamHelper": 29,
  49058. "./utf8": 31
  49059. }
  49060. ],
  49061. 36: [
  49062. function (e, t, n) {
  49063. ;(function (e) {
  49064. "use strict"
  49065. var r,
  49066. n,
  49067. i = e.MutationObserver || e.WebKitMutationObserver
  49068. if (i) {
  49069. var o = 0,
  49070. a = new i(u),
  49071. s = e.document.createTextNode("")
  49072. a.observe(s, {
  49073. characterData: !0
  49074. }),
  49075. (r = function () {
  49076. s.data = o = ++o % 2
  49077. })
  49078. } else if (e.setImmediate || void 0 === e.MessageChannel)
  49079. r =
  49080. "document" in e && "onreadystatechange" in e.document.createElement("script")
  49081. ? function () {
  49082. var t = e.document.createElement("script")
  49083. ;(t.onreadystatechange = function () {
  49084. u(), (t.onreadystatechange = null), t.parentNode.removeChild(t), (t = null)
  49085. }),
  49086. e.document.documentElement.appendChild(t)
  49087. }
  49088. : function () {
  49089. setTimeout(u, 0)
  49090. }
  49091. else {
  49092. var l = new e.MessageChannel()
  49093. ;(l.port1.onmessage = u),
  49094. (r = function () {
  49095. l.port2.postMessage(0)
  49096. })
  49097. }
  49098. var c = []
  49099. function u() {
  49100. var e, t
  49101. n = !0
  49102. for (var r = c.length; r; ) {
  49103. for (t = c, c = [], e = -1; ++e < r; ) t[e]()
  49104. r = c.length
  49105. }
  49106. n = !1
  49107. }
  49108. t.exports = function (e) {
  49109. 1 !== c.push(e) || n || r()
  49110. }
  49111. }).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {})
  49112. },
  49113. {}
  49114. ],
  49115. 37: [
  49116. function (e, t, r) {
  49117. "use strict"
  49118. var n = e("immediate")
  49119. function i() {}
  49120. var o = {},
  49121. a = ["REJECTED"],
  49122. s = ["FULFILLED"],
  49123. l = ["PENDING"]
  49124. function c(e) {
  49125. if ("function" != typeof e) throw new TypeError("resolver must be a function")
  49126. ;(this.state = l), (this.queue = []), (this.outcome = void 0), e !== i && d(this, e)
  49127. }
  49128. function u(e, t, r) {
  49129. ;(this.promise = e),
  49130. "function" == typeof t && ((this.onFulfilled = t), (this.callFulfilled = this.otherCallFulfilled)),
  49131. "function" == typeof r && ((this.onRejected = r), (this.callRejected = this.otherCallRejected))
  49132. }
  49133. function f(e, t, r) {
  49134. n(function () {
  49135. var n
  49136. try {
  49137. n = t(r)
  49138. } catch (n) {
  49139. return o.reject(e, n)
  49140. }
  49141. n === e ? o.reject(e, new TypeError("Cannot resolve promise with itself")) : o.resolve(e, n)
  49142. })
  49143. }
  49144. function p(e) {
  49145. var t = e && e.then
  49146. if (e && ("object" == typeof e || "function" == typeof e) && "function" == typeof t)
  49147. return function () {
  49148. t.apply(e, arguments)
  49149. }
  49150. }
  49151. function d(e, t) {
  49152. var r = !1
  49153. function n(t) {
  49154. r || ((r = !0), o.reject(e, t))
  49155. }
  49156. function i(t) {
  49157. r || ((r = !0), o.resolve(e, t))
  49158. }
  49159. var a = h(function () {
  49160. t(i, n)
  49161. })
  49162. "error" === a.status && n(a.value)
  49163. }
  49164. function h(e, t) {
  49165. var r = {}
  49166. try {
  49167. ;(r.value = e(t)), (r.status = "success")
  49168. } catch (e) {
  49169. ;(r.status = "error"), (r.value = e)
  49170. }
  49171. return r
  49172. }
  49173. ;((t.exports = c).prototype.finally = function (e) {
  49174. if ("function" != typeof e) return this
  49175. var t = this.constructor
  49176. return this.then(
  49177. function (r) {
  49178. return t.resolve(e()).then(function () {
  49179. return r
  49180. })
  49181. },
  49182. function (r) {
  49183. return t.resolve(e()).then(function () {
  49184. throw r
  49185. })
  49186. }
  49187. )
  49188. }),
  49189. (c.prototype.catch = function (e) {
  49190. return this.then(null, e)
  49191. }),
  49192. (c.prototype.then = function (e, t) {
  49193. if (("function" != typeof e && this.state === s) || ("function" != typeof t && this.state === a)) return this
  49194. var r = new this.constructor(i)
  49195. return this.state !== l ? f(r, this.state === s ? e : t, this.outcome) : this.queue.push(new u(r, e, t)), r
  49196. }),
  49197. (u.prototype.callFulfilled = function (e) {
  49198. o.resolve(this.promise, e)
  49199. }),
  49200. (u.prototype.otherCallFulfilled = function (e) {
  49201. f(this.promise, this.onFulfilled, e)
  49202. }),
  49203. (u.prototype.callRejected = function (e) {
  49204. o.reject(this.promise, e)
  49205. }),
  49206. (u.prototype.otherCallRejected = function (e) {
  49207. f(this.promise, this.onRejected, e)
  49208. }),
  49209. (o.resolve = function (e, t) {
  49210. var r = h(p, t)
  49211. if ("error" === r.status) return o.reject(e, r.value)
  49212. var n = r.value
  49213. if (n) d(e, n)
  49214. else {
  49215. ;(e.state = s), (e.outcome = t)
  49216. for (var i = -1, a = e.queue.length; ++i < a; ) e.queue[i].callFulfilled(t)
  49217. }
  49218. return e
  49219. }),
  49220. (o.reject = function (e, t) {
  49221. ;(e.state = a), (e.outcome = t)
  49222. for (var r = -1, n = e.queue.length; ++r < n; ) e.queue[r].callRejected(t)
  49223. return e
  49224. }),
  49225. (c.resolve = function (e) {
  49226. return e instanceof this ? e : o.resolve(new this(i), e)
  49227. }),
  49228. (c.reject = function (e) {
  49229. var t = new this(i)
  49230. return o.reject(t, e)
  49231. }),
  49232. (c.all = function (e) {
  49233. var t = this
  49234. if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array"))
  49235. var r = e.length,
  49236. n = !1
  49237. if (!r) return this.resolve([])
  49238. for (var a = new Array(r), s = 0, l = -1, c = new this(i); ++l < r; ) u(e[l], l)
  49239. return c
  49240. function u(e, i) {
  49241. t.resolve(e).then(
  49242. function (e) {
  49243. ;(a[i] = e), ++s !== r || n || ((n = !0), o.resolve(c, a))
  49244. },
  49245. function (e) {
  49246. n || ((n = !0), o.reject(c, e))
  49247. }
  49248. )
  49249. }
  49250. }),
  49251. (c.race = function (e) {
  49252. var t = this
  49253. if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array"))
  49254. var r = e.length,
  49255. n = !1
  49256. if (!r) return this.resolve([])
  49257. for (var a, s = -1, l = new this(i); ++s < r; )
  49258. (a = e[s]),
  49259. t.resolve(a).then(
  49260. function (e) {
  49261. n || ((n = !0), o.resolve(l, e))
  49262. },
  49263. function (e) {
  49264. n || ((n = !0), o.reject(l, e))
  49265. }
  49266. )
  49267. return l
  49268. })
  49269. },
  49270. {
  49271. immediate: 36
  49272. }
  49273. ],
  49274. 38: [
  49275. function (e, t, r) {
  49276. "use strict"
  49277. var n = {}
  49278. ;(0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), (t.exports = n)
  49279. },
  49280. {
  49281. "./lib/deflate": 39,
  49282. "./lib/inflate": 40,
  49283. "./lib/utils/common": 41,
  49284. "./lib/zlib/constants": 44
  49285. }
  49286. ],
  49287. 39: [
  49288. function (e, t, r) {
  49289. "use strict"
  49290. var n = e("./zlib/deflate"),
  49291. i = e("./utils/common"),
  49292. o = e("./utils/strings"),
  49293. a = e("./zlib/messages"),
  49294. s = e("./zlib/zstream"),
  49295. l = Object.prototype.toString,
  49296. c = 0,
  49297. u = -1,
  49298. f = 0,
  49299. p = 8
  49300. function d(e) {
  49301. if (!(this instanceof d)) return new d(e)
  49302. this.options = i.assign(
  49303. {
  49304. level: u,
  49305. method: p,
  49306. chunkSize: 16384,
  49307. windowBits: 15,
  49308. memLevel: 8,
  49309. strategy: f,
  49310. to: ""
  49311. },
  49312. e || {}
  49313. )
  49314. var t = this.options
  49315. t.raw && 0 < t.windowBits
  49316. ? (t.windowBits = -t.windowBits)
  49317. : t.gzip && 0 < t.windowBits && t.windowBits < 16 && (t.windowBits += 16),
  49318. (this.err = 0),
  49319. (this.msg = ""),
  49320. (this.ended = !1),
  49321. (this.chunks = []),
  49322. (this.strm = new s()),
  49323. (this.strm.avail_out = 0)
  49324. var r = n.deflateInit2(this.strm, t.level, t.method, t.windowBits, t.memLevel, t.strategy)
  49325. if (r !== c) throw new Error(a[r])
  49326. if ((t.header && n.deflateSetHeader(this.strm, t.header), t.dictionary)) {
  49327. var h
  49328. if (
  49329. ((h =
  49330. "string" == typeof t.dictionary
  49331. ? o.string2buf(t.dictionary)
  49332. : "[object ArrayBuffer]" === l.call(t.dictionary)
  49333. ? new Uint8Array(t.dictionary)
  49334. : t.dictionary),
  49335. (r = n.deflateSetDictionary(this.strm, h)) !== c)
  49336. )
  49337. throw new Error(a[r])
  49338. this._dict_set = !0
  49339. }
  49340. }
  49341. function h(e, t) {
  49342. var r = new d(t)
  49343. if ((r.push(e, !0), r.err)) throw r.msg || a[r.err]
  49344. return r.result
  49345. }
  49346. ;(d.prototype.push = function (e, t) {
  49347. var r,
  49348. a,
  49349. s = this.strm,
  49350. u = this.options.chunkSize
  49351. if (this.ended) return !1
  49352. ;(a = t === ~~t ? t : !0 === t ? 4 : 0),
  49353. "string" == typeof e
  49354. ? (s.input = o.string2buf(e))
  49355. : "[object ArrayBuffer]" === l.call(e)
  49356. ? (s.input = new Uint8Array(e))
  49357. : (s.input = e),
  49358. (s.next_in = 0),
  49359. (s.avail_in = s.input.length)
  49360. do {
  49361. if (
  49362. (0 === s.avail_out && ((s.output = new i.Buf8(u)), (s.next_out = 0), (s.avail_out = u)),
  49363. 1 !== (r = n.deflate(s, a)) && r !== c)
  49364. )
  49365. return this.onEnd(r), !(this.ended = !0)
  49366. ;(0 !== s.avail_out && (0 !== s.avail_in || (4 !== a && 2 !== a))) ||
  49367. ("string" === this.options.to
  49368. ? this.onData(o.buf2binstring(i.shrinkBuf(s.output, s.next_out)))
  49369. : this.onData(i.shrinkBuf(s.output, s.next_out)))
  49370. } while ((0 < s.avail_in || 0 === s.avail_out) && 1 !== r)
  49371. return 4 === a
  49372. ? ((r = n.deflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === c)
  49373. : 2 !== a || (this.onEnd(c), !(s.avail_out = 0))
  49374. }),
  49375. (d.prototype.onData = function (e) {
  49376. this.chunks.push(e)
  49377. }),
  49378. (d.prototype.onEnd = function (e) {
  49379. e === c &&
  49380. ("string" === this.options.to ? (this.result = this.chunks.join("")) : (this.result = i.flattenChunks(this.chunks))),
  49381. (this.chunks = []),
  49382. (this.err = e),
  49383. (this.msg = this.strm.msg)
  49384. }),
  49385. (r.Deflate = d),
  49386. (r.deflate = h),
  49387. (r.deflateRaw = function (e, t) {
  49388. return ((t = t || {}).raw = !0), h(e, t)
  49389. }),
  49390. (r.gzip = function (e, t) {
  49391. return ((t = t || {}).gzip = !0), h(e, t)
  49392. })
  49393. },
  49394. {
  49395. "./utils/common": 41,
  49396. "./utils/strings": 42,
  49397. "./zlib/deflate": 46,
  49398. "./zlib/messages": 51,
  49399. "./zlib/zstream": 53
  49400. }
  49401. ],
  49402. 40: [
  49403. function (e, t, r) {
  49404. "use strict"
  49405. var n = e("./zlib/inflate"),
  49406. i = e("./utils/common"),
  49407. o = e("./utils/strings"),
  49408. a = e("./zlib/constants"),
  49409. s = e("./zlib/messages"),
  49410. l = e("./zlib/zstream"),
  49411. c = e("./zlib/gzheader"),
  49412. u = Object.prototype.toString
  49413. function f(e) {
  49414. if (!(this instanceof f)) return new f(e)
  49415. this.options = i.assign(
  49416. {
  49417. chunkSize: 16384,
  49418. windowBits: 0,
  49419. to: ""
  49420. },
  49421. e || {}
  49422. )
  49423. var t = this.options
  49424. t.raw &&
  49425. 0 <= t.windowBits &&
  49426. t.windowBits < 16 &&
  49427. ((t.windowBits = -t.windowBits), 0 === t.windowBits && (t.windowBits = -15)),
  49428. !(0 <= t.windowBits && t.windowBits < 16) || (e && e.windowBits) || (t.windowBits += 32),
  49429. 15 < t.windowBits && t.windowBits < 48 && 0 == (15 & t.windowBits) && (t.windowBits |= 15),
  49430. (this.err = 0),
  49431. (this.msg = ""),
  49432. (this.ended = !1),
  49433. (this.chunks = []),
  49434. (this.strm = new l()),
  49435. (this.strm.avail_out = 0)
  49436. var r = n.inflateInit2(this.strm, t.windowBits)
  49437. if (r !== a.Z_OK) throw new Error(s[r])
  49438. ;(this.header = new c()), n.inflateGetHeader(this.strm, this.header)
  49439. }
  49440. function p(e, t) {
  49441. var r = new f(t)
  49442. if ((r.push(e, !0), r.err)) throw r.msg || s[r.err]
  49443. return r.result
  49444. }
  49445. ;(f.prototype.push = function (e, t) {
  49446. var r,
  49447. s,
  49448. l,
  49449. c,
  49450. f,
  49451. p,
  49452. d = this.strm,
  49453. h = this.options.chunkSize,
  49454. m = this.options.dictionary,
  49455. g = !1
  49456. if (this.ended) return !1
  49457. ;(s = t === ~~t ? t : !0 === t ? a.Z_FINISH : a.Z_NO_FLUSH),
  49458. "string" == typeof e
  49459. ? (d.input = o.binstring2buf(e))
  49460. : "[object ArrayBuffer]" === u.call(e)
  49461. ? (d.input = new Uint8Array(e))
  49462. : (d.input = e),
  49463. (d.next_in = 0),
  49464. (d.avail_in = d.input.length)
  49465. do {
  49466. if (
  49467. (0 === d.avail_out && ((d.output = new i.Buf8(h)), (d.next_out = 0), (d.avail_out = h)),
  49468. (r = n.inflate(d, a.Z_NO_FLUSH)) === a.Z_NEED_DICT &&
  49469. m &&
  49470. ((p = "string" == typeof m ? o.string2buf(m) : "[object ArrayBuffer]" === u.call(m) ? new Uint8Array(m) : m),
  49471. (r = n.inflateSetDictionary(this.strm, p))),
  49472. r === a.Z_BUF_ERROR && !0 === g && ((r = a.Z_OK), (g = !1)),
  49473. r !== a.Z_STREAM_END && r !== a.Z_OK)
  49474. )
  49475. return this.onEnd(r), !(this.ended = !0)
  49476. d.next_out &&
  49477. ((0 !== d.avail_out && r !== a.Z_STREAM_END && (0 !== d.avail_in || (s !== a.Z_FINISH && s !== a.Z_SYNC_FLUSH))) ||
  49478. ("string" === this.options.to
  49479. ? ((l = o.utf8border(d.output, d.next_out)),
  49480. (c = d.next_out - l),
  49481. (f = o.buf2string(d.output, l)),
  49482. (d.next_out = c),
  49483. (d.avail_out = h - c),
  49484. c && i.arraySet(d.output, d.output, l, c, 0),
  49485. this.onData(f))
  49486. : this.onData(i.shrinkBuf(d.output, d.next_out)))),
  49487. 0 === d.avail_in && 0 === d.avail_out && (g = !0)
  49488. } while ((0 < d.avail_in || 0 === d.avail_out) && r !== a.Z_STREAM_END)
  49489. return (
  49490. r === a.Z_STREAM_END && (s = a.Z_FINISH),
  49491. s === a.Z_FINISH
  49492. ? ((r = n.inflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === a.Z_OK)
  49493. : s !== a.Z_SYNC_FLUSH || (this.onEnd(a.Z_OK), !(d.avail_out = 0))
  49494. )
  49495. }),
  49496. (f.prototype.onData = function (e) {
  49497. this.chunks.push(e)
  49498. }),
  49499. (f.prototype.onEnd = function (e) {
  49500. e === a.Z_OK &&
  49501. ("string" === this.options.to ? (this.result = this.chunks.join("")) : (this.result = i.flattenChunks(this.chunks))),
  49502. (this.chunks = []),
  49503. (this.err = e),
  49504. (this.msg = this.strm.msg)
  49505. }),
  49506. (r.Inflate = f),
  49507. (r.inflate = p),
  49508. (r.inflateRaw = function (e, t) {
  49509. return ((t = t || {}).raw = !0), p(e, t)
  49510. }),
  49511. (r.ungzip = p)
  49512. },
  49513. {
  49514. "./utils/common": 41,
  49515. "./utils/strings": 42,
  49516. "./zlib/constants": 44,
  49517. "./zlib/gzheader": 47,
  49518. "./zlib/inflate": 49,
  49519. "./zlib/messages": 51,
  49520. "./zlib/zstream": 53
  49521. }
  49522. ],
  49523. 41: [
  49524. function (e, t, r) {
  49525. "use strict"
  49526. var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array
  49527. ;(r.assign = function (e) {
  49528. for (var t = Array.prototype.slice.call(arguments, 1); t.length; ) {
  49529. var r = t.shift()
  49530. if (r) {
  49531. if ("object" != typeof r) throw new TypeError(r + "must be non-object")
  49532. for (var n in r) r.hasOwnProperty(n) && (e[n] = r[n])
  49533. }
  49534. }
  49535. return e
  49536. }),
  49537. (r.shrinkBuf = function (e, t) {
  49538. return e.length === t ? e : e.subarray ? e.subarray(0, t) : ((e.length = t), e)
  49539. })
  49540. var i = {
  49541. arraySet: function (e, t, r, n, i) {
  49542. if (t.subarray && e.subarray) e.set(t.subarray(r, r + n), i)
  49543. else for (var o = 0; o < n; o++) e[i + o] = t[r + o]
  49544. },
  49545. flattenChunks: function (e) {
  49546. var t, r, n, i, o, a
  49547. for (t = n = 0, r = e.length; t < r; t++) n += e[t].length
  49548. for (a = new Uint8Array(n), t = i = 0, r = e.length; t < r; t++) (o = e[t]), a.set(o, i), (i += o.length)
  49549. return a
  49550. }
  49551. },
  49552. o = {
  49553. arraySet: function (e, t, r, n, i) {
  49554. for (var o = 0; o < n; o++) e[i + o] = t[r + o]
  49555. },
  49556. flattenChunks: function (e) {
  49557. return [].concat.apply([], e)
  49558. }
  49559. }
  49560. ;(r.setTyped = function (e) {
  49561. e
  49562. ? ((r.Buf8 = Uint8Array), (r.Buf16 = Uint16Array), (r.Buf32 = Int32Array), r.assign(r, i))
  49563. : ((r.Buf8 = Array), (r.Buf16 = Array), (r.Buf32 = Array), r.assign(r, o))
  49564. }),
  49565. r.setTyped(n)
  49566. },
  49567. {}
  49568. ],
  49569. 42: [
  49570. function (e, t, r) {
  49571. "use strict"
  49572. var n = e("./common"),
  49573. i = !0,
  49574. o = !0
  49575. try {
  49576. String.fromCharCode.apply(null, [0])
  49577. } catch (e) {
  49578. i = !1
  49579. }
  49580. try {
  49581. String.fromCharCode.apply(null, new Uint8Array(1))
  49582. } catch (e) {
  49583. o = !1
  49584. }
  49585. for (var a = new n.Buf8(256), s = 0; s < 256; s++)
  49586. a[s] = 252 <= s ? 6 : 248 <= s ? 5 : 240 <= s ? 4 : 224 <= s ? 3 : 192 <= s ? 2 : 1
  49587. function l(e, t) {
  49588. if (t < 65537 && ((e.subarray && o) || (!e.subarray && i))) return String.fromCharCode.apply(null, n.shrinkBuf(e, t))
  49589. for (var r = "", a = 0; a < t; a++) r += String.fromCharCode(e[a])
  49590. return r
  49591. }
  49592. ;(a[254] = a[254] = 1),
  49593. (r.string2buf = function (e) {
  49594. var t,
  49595. r,
  49596. i,
  49597. o,
  49598. a,
  49599. s = e.length,
  49600. l = 0
  49601. for (o = 0; o < s; o++)
  49602. 55296 == (64512 & (r = e.charCodeAt(o))) &&
  49603. o + 1 < s &&
  49604. 56320 == (64512 & (i = e.charCodeAt(o + 1))) &&
  49605. ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++),
  49606. (l += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4)
  49607. for (t = new n.Buf8(l), o = a = 0; a < l; o++)
  49608. 55296 == (64512 & (r = e.charCodeAt(o))) &&
  49609. o + 1 < s &&
  49610. 56320 == (64512 & (i = e.charCodeAt(o + 1))) &&
  49611. ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++),
  49612. r < 128
  49613. ? (t[a++] = r)
  49614. : (r < 2048
  49615. ? (t[a++] = 192 | (r >>> 6))
  49616. : (r < 65536
  49617. ? (t[a++] = 224 | (r >>> 12))
  49618. : ((t[a++] = 240 | (r >>> 18)), (t[a++] = 128 | ((r >>> 12) & 63))),
  49619. (t[a++] = 128 | ((r >>> 6) & 63))),
  49620. (t[a++] = 128 | (63 & r)))
  49621. return t
  49622. }),
  49623. (r.buf2binstring = function (e) {
  49624. return l(e, e.length)
  49625. }),
  49626. (r.binstring2buf = function (e) {
  49627. for (var t = new n.Buf8(e.length), r = 0, i = t.length; r < i; r++) t[r] = e.charCodeAt(r)
  49628. return t
  49629. }),
  49630. (r.buf2string = function (e, t) {
  49631. var r,
  49632. n,
  49633. i,
  49634. o,
  49635. s = t || e.length,
  49636. c = new Array(2 * s)
  49637. for (r = n = 0; r < s; )
  49638. if ((i = e[r++]) < 128) c[n++] = i
  49639. else if (4 < (o = a[i])) (c[n++] = 65533), (r += o - 1)
  49640. else {
  49641. for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && r < s; ) (i = (i << 6) | (63 & e[r++])), o--
  49642. 1 < o
  49643. ? (c[n++] = 65533)
  49644. : i < 65536
  49645. ? (c[n++] = i)
  49646. : ((i -= 65536), (c[n++] = 55296 | ((i >> 10) & 1023)), (c[n++] = 56320 | (1023 & i)))
  49647. }
  49648. return l(c, n)
  49649. }),
  49650. (r.utf8border = function (e, t) {
  49651. var r
  49652. for ((t = t || e.length) > e.length && (t = e.length), r = t - 1; 0 <= r && 128 == (192 & e[r]); ) r--
  49653. return r < 0 || 0 === r ? t : r + a[e[r]] > t ? r : t
  49654. })
  49655. },
  49656. {
  49657. "./common": 41
  49658. }
  49659. ],
  49660. 43: [
  49661. function (e, t, r) {
  49662. "use strict"
  49663. t.exports = function (e, t, r, n) {
  49664. for (var i = (65535 & e) | 0, o = ((e >>> 16) & 65535) | 0, a = 0; 0 !== r; ) {
  49665. for (r -= a = 2e3 < r ? 2e3 : r; (o = (o + (i = (i + t[n++]) | 0)) | 0), --a; );
  49666. ;(i %= 65521), (o %= 65521)
  49667. }
  49668. return i | (o << 16) | 0
  49669. }
  49670. },
  49671. {}
  49672. ],
  49673. 44: [
  49674. function (e, t, r) {
  49675. "use strict"
  49676. t.exports = {
  49677. Z_NO_FLUSH: 0,
  49678. Z_PARTIAL_FLUSH: 1,
  49679. Z_SYNC_FLUSH: 2,
  49680. Z_FULL_FLUSH: 3,
  49681. Z_FINISH: 4,
  49682. Z_BLOCK: 5,
  49683. Z_TREES: 6,
  49684. Z_OK: 0,
  49685. Z_STREAM_END: 1,
  49686. Z_NEED_DICT: 2,
  49687. Z_ERRNO: -1,
  49688. Z_STREAM_ERROR: -2,
  49689. Z_DATA_ERROR: -3,
  49690. Z_BUF_ERROR: -5,
  49691. Z_NO_COMPRESSION: 0,
  49692. Z_BEST_SPEED: 1,
  49693. Z_BEST_COMPRESSION: 9,
  49694. Z_DEFAULT_COMPRESSION: -1,
  49695. Z_FILTERED: 1,
  49696. Z_HUFFMAN_ONLY: 2,
  49697. Z_RLE: 3,
  49698. Z_FIXED: 4,
  49699. Z_DEFAULT_STRATEGY: 0,
  49700. Z_BINARY: 0,
  49701. Z_TEXT: 1,
  49702. Z_UNKNOWN: 2,
  49703. Z_DEFLATED: 8
  49704. }
  49705. },
  49706. {}
  49707. ],
  49708. 45: [
  49709. function (e, t, r) {
  49710. "use strict"
  49711. var n = (function () {
  49712. for (var e, t = [], r = 0; r < 256; r++) {
  49713. e = r
  49714. for (var n = 0; n < 8; n++) e = 1 & e ? 3988292384 ^ (e >>> 1) : e >>> 1
  49715. t[r] = e
  49716. }
  49717. return t
  49718. })()
  49719. t.exports = function (e, t, r, i) {
  49720. var o = n,
  49721. a = i + r
  49722. e ^= -1
  49723. for (var s = i; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t[s])]
  49724. return -1 ^ e
  49725. }
  49726. },
  49727. {}
  49728. ],
  49729. 46: [
  49730. function (e, t, r) {
  49731. "use strict"
  49732. var n,
  49733. i = e("../utils/common"),
  49734. o = e("./trees"),
  49735. a = e("./adler32"),
  49736. s = e("./crc32"),
  49737. l = e("./messages"),
  49738. c = 0,
  49739. u = 4,
  49740. f = 0,
  49741. p = -2,
  49742. d = -1,
  49743. h = 4,
  49744. m = 2,
  49745. g = 8,
  49746. y = 9,
  49747. v = 286,
  49748. b = 30,
  49749. w = 19,
  49750. x = 2 * v + 1,
  49751. A = 15,
  49752. _ = 3,
  49753. T = 258,
  49754. E = T + _ + 1,
  49755. S = 42,
  49756. C = 113,
  49757. k = 1,
  49758. L = 2,
  49759. P = 3,
  49760. O = 4
  49761. function j(e, t) {
  49762. return (e.msg = l[t]), t
  49763. }
  49764. function R(e) {
  49765. return (e << 1) - (4 < e ? 9 : 0)
  49766. }
  49767. function I(e) {
  49768. for (var t = e.length; 0 <= --t; ) e[t] = 0
  49769. }
  49770. function N(e) {
  49771. var t = e.state,
  49772. r = t.pending
  49773. r > e.avail_out && (r = e.avail_out),
  49774. 0 !== r &&
  49775. (i.arraySet(e.output, t.pending_buf, t.pending_out, r, e.next_out),
  49776. (e.next_out += r),
  49777. (t.pending_out += r),
  49778. (e.total_out += r),
  49779. (e.avail_out -= r),
  49780. (t.pending -= r),
  49781. 0 === t.pending && (t.pending_out = 0))
  49782. }
  49783. function M(e, t) {
  49784. o._tr_flush_block(e, 0 <= e.block_start ? e.block_start : -1, e.strstart - e.block_start, t),
  49785. (e.block_start = e.strstart),
  49786. N(e.strm)
  49787. }
  49788. function D(e, t) {
  49789. e.pending_buf[e.pending++] = t
  49790. }
  49791. function B(e, t) {
  49792. ;(e.pending_buf[e.pending++] = (t >>> 8) & 255), (e.pending_buf[e.pending++] = 255 & t)
  49793. }
  49794. function F(e, t) {
  49795. var r,
  49796. n,
  49797. i = e.max_chain_length,
  49798. o = e.strstart,
  49799. a = e.prev_length,
  49800. s = e.nice_match,
  49801. l = e.strstart > e.w_size - E ? e.strstart - (e.w_size - E) : 0,
  49802. c = e.window,
  49803. u = e.w_mask,
  49804. f = e.prev,
  49805. p = e.strstart + T,
  49806. d = c[o + a - 1],
  49807. h = c[o + a]
  49808. e.prev_length >= e.good_match && (i >>= 2), s > e.lookahead && (s = e.lookahead)
  49809. do {
  49810. if (c[(r = t) + a] === h && c[r + a - 1] === d && c[r] === c[o] && c[++r] === c[o + 1]) {
  49811. ;(o += 2), r++
  49812. do {} while (
  49813. c[++o] === c[++r] &&
  49814. c[++o] === c[++r] &&
  49815. c[++o] === c[++r] &&
  49816. c[++o] === c[++r] &&
  49817. c[++o] === c[++r] &&
  49818. c[++o] === c[++r] &&
  49819. c[++o] === c[++r] &&
  49820. c[++o] === c[++r] &&
  49821. o < p
  49822. )
  49823. if (((n = T - (p - o)), (o = p - T), a < n)) {
  49824. if (((e.match_start = t), s <= (a = n))) break
  49825. ;(d = c[o + a - 1]), (h = c[o + a])
  49826. }
  49827. }
  49828. } while ((t = f[t & u]) > l && 0 != --i)
  49829. return a <= e.lookahead ? a : e.lookahead
  49830. }
  49831. function U(e) {
  49832. var t,
  49833. r,
  49834. n,
  49835. o,
  49836. l,
  49837. c,
  49838. u,
  49839. f,
  49840. p,
  49841. d,
  49842. h = e.w_size
  49843. do {
  49844. if (((o = e.window_size - e.lookahead - e.strstart), e.strstart >= h + (h - E))) {
  49845. for (
  49846. i.arraySet(e.window, e.window, h, h, 0),
  49847. e.match_start -= h,
  49848. e.strstart -= h,
  49849. e.block_start -= h,
  49850. t = r = e.hash_size;
  49851. (n = e.head[--t]), (e.head[t] = h <= n ? n - h : 0), --r;
  49852. );
  49853. for (t = r = h; (n = e.prev[--t]), (e.prev[t] = h <= n ? n - h : 0), --r; );
  49854. o += h
  49855. }
  49856. if (0 === e.strm.avail_in) break
  49857. if (
  49858. ((c = e.strm),
  49859. (u = e.window),
  49860. (f = e.strstart + e.lookahead),
  49861. (p = o),
  49862. (d = void 0),
  49863. (d = c.avail_in),
  49864. p < d && (d = p),
  49865. (r =
  49866. 0 === d
  49867. ? 0
  49868. : ((c.avail_in -= d),
  49869. i.arraySet(u, c.input, c.next_in, d, f),
  49870. 1 === c.state.wrap ? (c.adler = a(c.adler, u, d, f)) : 2 === c.state.wrap && (c.adler = s(c.adler, u, d, f)),
  49871. (c.next_in += d),
  49872. (c.total_in += d),
  49873. d)),
  49874. (e.lookahead += r),
  49875. e.lookahead + e.insert >= _)
  49876. )
  49877. for (
  49878. l = e.strstart - e.insert,
  49879. e.ins_h = e.window[l],
  49880. e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[l + 1]) & e.hash_mask;
  49881. e.insert &&
  49882. ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[l + _ - 1]) & e.hash_mask),
  49883. (e.prev[l & e.w_mask] = e.head[e.ins_h]),
  49884. (e.head[e.ins_h] = l),
  49885. l++,
  49886. e.insert--,
  49887. !(e.lookahead + e.insert < _));
  49888. );
  49889. } while (e.lookahead < E && 0 !== e.strm.avail_in)
  49890. }
  49891. function z(e, t) {
  49892. for (var r, n; ; ) {
  49893. if (e.lookahead < E) {
  49894. if ((U(e), e.lookahead < E && t === c)) return k
  49895. if (0 === e.lookahead) break
  49896. }
  49897. if (
  49898. ((r = 0),
  49899. e.lookahead >= _ &&
  49900. ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
  49901. (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
  49902. (e.head[e.ins_h] = e.strstart)),
  49903. 0 !== r && e.strstart - r <= e.w_size - E && (e.match_length = F(e, r)),
  49904. e.match_length >= _)
  49905. )
  49906. if (
  49907. ((n = o._tr_tally(e, e.strstart - e.match_start, e.match_length - _)),
  49908. (e.lookahead -= e.match_length),
  49909. e.match_length <= e.max_lazy_match && e.lookahead >= _)
  49910. ) {
  49911. for (
  49912. e.match_length--;
  49913. e.strstart++,
  49914. (e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
  49915. (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
  49916. (e.head[e.ins_h] = e.strstart),
  49917. 0 != --e.match_length;
  49918. );
  49919. e.strstart++
  49920. } else
  49921. (e.strstart += e.match_length),
  49922. (e.match_length = 0),
  49923. (e.ins_h = e.window[e.strstart]),
  49924. (e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + 1]) & e.hash_mask)
  49925. else (n = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++
  49926. if (n && (M(e, !1), 0 === e.strm.avail_out)) return k
  49927. }
  49928. return (
  49929. (e.insert = e.strstart < _ - 1 ? e.strstart : _ - 1),
  49930. t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L
  49931. )
  49932. }
  49933. function q(e, t) {
  49934. for (var r, n, i; ; ) {
  49935. if (e.lookahead < E) {
  49936. if ((U(e), e.lookahead < E && t === c)) return k
  49937. if (0 === e.lookahead) break
  49938. }
  49939. if (
  49940. ((r = 0),
  49941. e.lookahead >= _ &&
  49942. ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
  49943. (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
  49944. (e.head[e.ins_h] = e.strstart)),
  49945. (e.prev_length = e.match_length),
  49946. (e.prev_match = e.match_start),
  49947. (e.match_length = _ - 1),
  49948. 0 !== r &&
  49949. e.prev_length < e.max_lazy_match &&
  49950. e.strstart - r <= e.w_size - E &&
  49951. ((e.match_length = F(e, r)),
  49952. e.match_length <= 5 &&
  49953. (1 === e.strategy || (e.match_length === _ && 4096 < e.strstart - e.match_start)) &&
  49954. (e.match_length = _ - 1)),
  49955. e.prev_length >= _ && e.match_length <= e.prev_length)
  49956. ) {
  49957. for (
  49958. i = e.strstart + e.lookahead - _,
  49959. n = o._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - _),
  49960. e.lookahead -= e.prev_length - 1,
  49961. e.prev_length -= 2;
  49962. ++e.strstart <= i &&
  49963. ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
  49964. (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
  49965. (e.head[e.ins_h] = e.strstart)),
  49966. 0 != --e.prev_length;
  49967. );
  49968. if (((e.match_available = 0), (e.match_length = _ - 1), e.strstart++, n && (M(e, !1), 0 === e.strm.avail_out)))
  49969. return k
  49970. } else if (e.match_available) {
  49971. if (
  49972. ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])) && M(e, !1),
  49973. e.strstart++,
  49974. e.lookahead--,
  49975. 0 === e.strm.avail_out)
  49976. )
  49977. return k
  49978. } else (e.match_available = 1), e.strstart++, e.lookahead--
  49979. }
  49980. return (
  49981. e.match_available && ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])), (e.match_available = 0)),
  49982. (e.insert = e.strstart < _ - 1 ? e.strstart : _ - 1),
  49983. t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L
  49984. )
  49985. }
  49986. function G(e, t, r, n, i) {
  49987. ;(this.good_length = e), (this.max_lazy = t), (this.nice_length = r), (this.max_chain = n), (this.func = i)
  49988. }
  49989. function W() {
  49990. ;(this.strm = null),
  49991. (this.status = 0),
  49992. (this.pending_buf = null),
  49993. (this.pending_buf_size = 0),
  49994. (this.pending_out = 0),
  49995. (this.pending = 0),
  49996. (this.wrap = 0),
  49997. (this.gzhead = null),
  49998. (this.gzindex = 0),
  49999. (this.method = g),
  50000. (this.last_flush = -1),
  50001. (this.w_size = 0),
  50002. (this.w_bits = 0),
  50003. (this.w_mask = 0),
  50004. (this.window = null),
  50005. (this.window_size = 0),
  50006. (this.prev = null),
  50007. (this.head = null),
  50008. (this.ins_h = 0),
  50009. (this.hash_size = 0),
  50010. (this.hash_bits = 0),
  50011. (this.hash_mask = 0),
  50012. (this.hash_shift = 0),
  50013. (this.block_start = 0),
  50014. (this.match_length = 0),
  50015. (this.prev_match = 0),
  50016. (this.match_available = 0),
  50017. (this.strstart = 0),
  50018. (this.match_start = 0),
  50019. (this.lookahead = 0),
  50020. (this.prev_length = 0),
  50021. (this.max_chain_length = 0),
  50022. (this.max_lazy_match = 0),
  50023. (this.level = 0),
  50024. (this.strategy = 0),
  50025. (this.good_match = 0),
  50026. (this.nice_match = 0),
  50027. (this.dyn_ltree = new i.Buf16(2 * x)),
  50028. (this.dyn_dtree = new i.Buf16(2 * (2 * b + 1))),
  50029. (this.bl_tree = new i.Buf16(2 * (2 * w + 1))),
  50030. I(this.dyn_ltree),
  50031. I(this.dyn_dtree),
  50032. I(this.bl_tree),
  50033. (this.l_desc = null),
  50034. (this.d_desc = null),
  50035. (this.bl_desc = null),
  50036. (this.bl_count = new i.Buf16(A + 1)),
  50037. (this.heap = new i.Buf16(2 * v + 1)),
  50038. I(this.heap),
  50039. (this.heap_len = 0),
  50040. (this.heap_max = 0),
  50041. (this.depth = new i.Buf16(2 * v + 1)),
  50042. I(this.depth),
  50043. (this.l_buf = 0),
  50044. (this.lit_bufsize = 0),
  50045. (this.last_lit = 0),
  50046. (this.d_buf = 0),
  50047. (this.opt_len = 0),
  50048. (this.static_len = 0),
  50049. (this.matches = 0),
  50050. (this.insert = 0),
  50051. (this.bi_buf = 0),
  50052. (this.bi_valid = 0)
  50053. }
  50054. function V(e) {
  50055. var t
  50056. return e && e.state
  50057. ? ((e.total_in = e.total_out = 0),
  50058. (e.data_type = m),
  50059. ((t = e.state).pending = 0),
  50060. (t.pending_out = 0),
  50061. t.wrap < 0 && (t.wrap = -t.wrap),
  50062. (t.status = t.wrap ? S : C),
  50063. (e.adler = 2 === t.wrap ? 0 : 1),
  50064. (t.last_flush = c),
  50065. o._tr_init(t),
  50066. f)
  50067. : j(e, p)
  50068. }
  50069. function H(e) {
  50070. var t = V(e)
  50071. return (
  50072. t === f &&
  50073. (function (e) {
  50074. ;(e.window_size = 2 * e.w_size),
  50075. I(e.head),
  50076. (e.max_lazy_match = n[e.level].max_lazy),
  50077. (e.good_match = n[e.level].good_length),
  50078. (e.nice_match = n[e.level].nice_length),
  50079. (e.max_chain_length = n[e.level].max_chain),
  50080. (e.strstart = 0),
  50081. (e.block_start = 0),
  50082. (e.lookahead = 0),
  50083. (e.insert = 0),
  50084. (e.match_length = e.prev_length = _ - 1),
  50085. (e.match_available = 0),
  50086. (e.ins_h = 0)
  50087. })(e.state),
  50088. t
  50089. )
  50090. }
  50091. function X(e, t, r, n, o, a) {
  50092. if (!e) return p
  50093. var s = 1
  50094. if (
  50095. (t === d && (t = 6),
  50096. n < 0 ? ((s = 0), (n = -n)) : 15 < n && ((s = 2), (n -= 16)),
  50097. o < 1 || y < o || r !== g || n < 8 || 15 < n || t < 0 || 9 < t || a < 0 || h < a)
  50098. )
  50099. return j(e, p)
  50100. 8 === n && (n = 9)
  50101. var l = new W()
  50102. return (
  50103. ((e.state = l).strm = e),
  50104. (l.wrap = s),
  50105. (l.gzhead = null),
  50106. (l.w_bits = n),
  50107. (l.w_size = 1 << l.w_bits),
  50108. (l.w_mask = l.w_size - 1),
  50109. (l.hash_bits = o + 7),
  50110. (l.hash_size = 1 << l.hash_bits),
  50111. (l.hash_mask = l.hash_size - 1),
  50112. (l.hash_shift = ~~((l.hash_bits + _ - 1) / _)),
  50113. (l.window = new i.Buf8(2 * l.w_size)),
  50114. (l.head = new i.Buf16(l.hash_size)),
  50115. (l.prev = new i.Buf16(l.w_size)),
  50116. (l.lit_bufsize = 1 << (o + 6)),
  50117. (l.pending_buf_size = 4 * l.lit_bufsize),
  50118. (l.pending_buf = new i.Buf8(l.pending_buf_size)),
  50119. (l.d_buf = 1 * l.lit_bufsize),
  50120. (l.l_buf = 3 * l.lit_bufsize),
  50121. (l.level = t),
  50122. (l.strategy = a),
  50123. (l.method = r),
  50124. H(e)
  50125. )
  50126. }
  50127. ;(n = [
  50128. new G(0, 0, 0, 0, function (e, t) {
  50129. var r = 65535
  50130. for (r > e.pending_buf_size - 5 && (r = e.pending_buf_size - 5); ; ) {
  50131. if (e.lookahead <= 1) {
  50132. if ((U(e), 0 === e.lookahead && t === c)) return k
  50133. if (0 === e.lookahead) break
  50134. }
  50135. ;(e.strstart += e.lookahead), (e.lookahead = 0)
  50136. var n = e.block_start + r
  50137. if (
  50138. (0 === e.strstart || e.strstart >= n) &&
  50139. ((e.lookahead = e.strstart - n), (e.strstart = n), M(e, !1), 0 === e.strm.avail_out)
  50140. )
  50141. return k
  50142. if (e.strstart - e.block_start >= e.w_size - E && (M(e, !1), 0 === e.strm.avail_out)) return k
  50143. }
  50144. return (
  50145. (e.insert = 0),
  50146. t === u
  50147. ? (M(e, !0), 0 === e.strm.avail_out ? P : O)
  50148. : (e.strstart > e.block_start && (M(e, !1), e.strm.avail_out), k)
  50149. )
  50150. }),
  50151. new G(4, 4, 8, 4, z),
  50152. new G(4, 5, 16, 8, z),
  50153. new G(4, 6, 32, 32, z),
  50154. new G(4, 4, 16, 16, q),
  50155. new G(8, 16, 32, 32, q),
  50156. new G(8, 16, 128, 128, q),
  50157. new G(8, 32, 128, 256, q),
  50158. new G(32, 128, 258, 1024, q),
  50159. new G(32, 258, 258, 4096, q)
  50160. ]),
  50161. (r.deflateInit = function (e, t) {
  50162. return X(e, t, g, 15, 8, 0)
  50163. }),
  50164. (r.deflateInit2 = X),
  50165. (r.deflateReset = H),
  50166. (r.deflateResetKeep = V),
  50167. (r.deflateSetHeader = function (e, t) {
  50168. return e && e.state ? (2 !== e.state.wrap ? p : ((e.state.gzhead = t), f)) : p
  50169. }),
  50170. (r.deflate = function (e, t) {
  50171. var r, i, a, l
  50172. if (!e || !e.state || 5 < t || t < 0) return e ? j(e, p) : p
  50173. if (((i = e.state), !e.output || (!e.input && 0 !== e.avail_in) || (666 === i.status && t !== u)))
  50174. return j(e, 0 === e.avail_out ? -5 : p)
  50175. if (((i.strm = e), (r = i.last_flush), (i.last_flush = t), i.status === S))
  50176. if (2 === i.wrap)
  50177. (e.adler = 0),
  50178. D(i, 31),
  50179. D(i, 139),
  50180. D(i, 8),
  50181. i.gzhead
  50182. ? (D(
  50183. i,
  50184. (i.gzhead.text ? 1 : 0) +
  50185. (i.gzhead.hcrc ? 2 : 0) +
  50186. (i.gzhead.extra ? 4 : 0) +
  50187. (i.gzhead.name ? 8 : 0) +
  50188. (i.gzhead.comment ? 16 : 0)
  50189. ),
  50190. D(i, 255 & i.gzhead.time),
  50191. D(i, (i.gzhead.time >> 8) & 255),
  50192. D(i, (i.gzhead.time >> 16) & 255),
  50193. D(i, (i.gzhead.time >> 24) & 255),
  50194. D(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0),
  50195. D(i, 255 & i.gzhead.os),
  50196. i.gzhead.extra &&
  50197. i.gzhead.extra.length &&
  50198. (D(i, 255 & i.gzhead.extra.length), D(i, (i.gzhead.extra.length >> 8) & 255)),
  50199. i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)),
  50200. (i.gzindex = 0),
  50201. (i.status = 69))
  50202. : (D(i, 0),
  50203. D(i, 0),
  50204. D(i, 0),
  50205. D(i, 0),
  50206. D(i, 0),
  50207. D(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0),
  50208. D(i, 3),
  50209. (i.status = C))
  50210. else {
  50211. var d = (g + ((i.w_bits - 8) << 4)) << 8
  50212. ;(d |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : 6 === i.level ? 2 : 3) << 6),
  50213. 0 !== i.strstart && (d |= 32),
  50214. (d += 31 - (d % 31)),
  50215. (i.status = C),
  50216. B(i, d),
  50217. 0 !== i.strstart && (B(i, e.adler >>> 16), B(i, 65535 & e.adler)),
  50218. (e.adler = 1)
  50219. }
  50220. if (69 === i.status)
  50221. if (i.gzhead.extra) {
  50222. for (
  50223. a = i.pending;
  50224. i.gzindex < (65535 & i.gzhead.extra.length) &&
  50225. (i.pending !== i.pending_buf_size ||
  50226. (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
  50227. N(e),
  50228. (a = i.pending),
  50229. i.pending !== i.pending_buf_size));
  50230. )
  50231. D(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++
  50232. i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
  50233. i.gzindex === i.gzhead.extra.length && ((i.gzindex = 0), (i.status = 73))
  50234. } else i.status = 73
  50235. if (73 === i.status)
  50236. if (i.gzhead.name) {
  50237. a = i.pending
  50238. do {
  50239. if (
  50240. i.pending === i.pending_buf_size &&
  50241. (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
  50242. N(e),
  50243. (a = i.pending),
  50244. i.pending === i.pending_buf_size)
  50245. ) {
  50246. l = 1
  50247. break
  50248. }
  50249. ;(l = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0), D(i, l)
  50250. } while (0 !== l)
  50251. i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
  50252. 0 === l && ((i.gzindex = 0), (i.status = 91))
  50253. } else i.status = 91
  50254. if (91 === i.status)
  50255. if (i.gzhead.comment) {
  50256. a = i.pending
  50257. do {
  50258. if (
  50259. i.pending === i.pending_buf_size &&
  50260. (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
  50261. N(e),
  50262. (a = i.pending),
  50263. i.pending === i.pending_buf_size)
  50264. ) {
  50265. l = 1
  50266. break
  50267. }
  50268. ;(l = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0), D(i, l)
  50269. } while (0 !== l)
  50270. i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
  50271. 0 === l && (i.status = 103)
  50272. } else i.status = 103
  50273. if (
  50274. (103 === i.status &&
  50275. (i.gzhead.hcrc
  50276. ? (i.pending + 2 > i.pending_buf_size && N(e),
  50277. i.pending + 2 <= i.pending_buf_size &&
  50278. (D(i, 255 & e.adler), D(i, (e.adler >> 8) & 255), (e.adler = 0), (i.status = C)))
  50279. : (i.status = C)),
  50280. 0 !== i.pending)
  50281. ) {
  50282. if ((N(e), 0 === e.avail_out)) return (i.last_flush = -1), f
  50283. } else if (0 === e.avail_in && R(t) <= R(r) && t !== u) return j(e, -5)
  50284. if (666 === i.status && 0 !== e.avail_in) return j(e, -5)
  50285. if (0 !== e.avail_in || 0 !== i.lookahead || (t !== c && 666 !== i.status)) {
  50286. var h =
  50287. 2 === i.strategy
  50288. ? (function (e, t) {
  50289. for (var r; ; ) {
  50290. if (0 === e.lookahead && (U(e), 0 === e.lookahead)) {
  50291. if (t === c) return k
  50292. break
  50293. }
  50294. if (
  50295. ((e.match_length = 0),
  50296. (r = o._tr_tally(e, 0, e.window[e.strstart])),
  50297. e.lookahead--,
  50298. e.strstart++,
  50299. r && (M(e, !1), 0 === e.strm.avail_out))
  50300. )
  50301. return k
  50302. }
  50303. return (
  50304. (e.insert = 0),
  50305. t === u
  50306. ? (M(e, !0), 0 === e.strm.avail_out ? P : O)
  50307. : e.last_lit && (M(e, !1), 0 === e.strm.avail_out)
  50308. ? k
  50309. : L
  50310. )
  50311. })(i, t)
  50312. : 3 === i.strategy
  50313. ? (function (e, t) {
  50314. for (var r, n, i, a, s = e.window; ; ) {
  50315. if (e.lookahead <= T) {
  50316. if ((U(e), e.lookahead <= T && t === c)) return k
  50317. if (0 === e.lookahead) break
  50318. }
  50319. if (
  50320. ((e.match_length = 0),
  50321. e.lookahead >= _ &&
  50322. 0 < e.strstart &&
  50323. (n = s[(i = e.strstart - 1)]) === s[++i] &&
  50324. n === s[++i] &&
  50325. n === s[++i])
  50326. ) {
  50327. a = e.strstart + T
  50328. do {} while (
  50329. n === s[++i] &&
  50330. n === s[++i] &&
  50331. n === s[++i] &&
  50332. n === s[++i] &&
  50333. n === s[++i] &&
  50334. n === s[++i] &&
  50335. n === s[++i] &&
  50336. n === s[++i] &&
  50337. i < a
  50338. )
  50339. ;(e.match_length = T - (a - i)), e.match_length > e.lookahead && (e.match_length = e.lookahead)
  50340. }
  50341. if (
  50342. (e.match_length >= _
  50343. ? ((r = o._tr_tally(e, 1, e.match_length - _)),
  50344. (e.lookahead -= e.match_length),
  50345. (e.strstart += e.match_length),
  50346. (e.match_length = 0))
  50347. : ((r = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++),
  50348. r && (M(e, !1), 0 === e.strm.avail_out))
  50349. )
  50350. return k
  50351. }
  50352. return (
  50353. (e.insert = 0),
  50354. t === u
  50355. ? (M(e, !0), 0 === e.strm.avail_out ? P : O)
  50356. : e.last_lit && (M(e, !1), 0 === e.strm.avail_out)
  50357. ? k
  50358. : L
  50359. )
  50360. })(i, t)
  50361. : n[i.level].func(i, t)
  50362. if (((h !== P && h !== O) || (i.status = 666), h === k || h === P))
  50363. return 0 === e.avail_out && (i.last_flush = -1), f
  50364. if (
  50365. h === L &&
  50366. (1 === t
  50367. ? o._tr_align(i)
  50368. : 5 !== t &&
  50369. (o._tr_stored_block(i, 0, 0, !1),
  50370. 3 === t && (I(i.head), 0 === i.lookahead && ((i.strstart = 0), (i.block_start = 0), (i.insert = 0)))),
  50371. N(e),
  50372. 0 === e.avail_out)
  50373. )
  50374. return (i.last_flush = -1), f
  50375. }
  50376. return t !== u
  50377. ? f
  50378. : i.wrap <= 0
  50379. ? 1
  50380. : (2 === i.wrap
  50381. ? (D(i, 255 & e.adler),
  50382. D(i, (e.adler >> 8) & 255),
  50383. D(i, (e.adler >> 16) & 255),
  50384. D(i, (e.adler >> 24) & 255),
  50385. D(i, 255 & e.total_in),
  50386. D(i, (e.total_in >> 8) & 255),
  50387. D(i, (e.total_in >> 16) & 255),
  50388. D(i, (e.total_in >> 24) & 255))
  50389. : (B(i, e.adler >>> 16), B(i, 65535 & e.adler)),
  50390. N(e),
  50391. 0 < i.wrap && (i.wrap = -i.wrap),
  50392. 0 !== i.pending ? f : 1)
  50393. }),
  50394. (r.deflateEnd = function (e) {
  50395. var t
  50396. return e && e.state
  50397. ? (t = e.state.status) !== S && 69 !== t && 73 !== t && 91 !== t && 103 !== t && t !== C && 666 !== t
  50398. ? j(e, p)
  50399. : ((e.state = null), t === C ? j(e, -3) : f)
  50400. : p
  50401. }),
  50402. (r.deflateSetDictionary = function (e, t) {
  50403. var r,
  50404. n,
  50405. o,
  50406. s,
  50407. l,
  50408. c,
  50409. u,
  50410. d,
  50411. h = t.length
  50412. if (!e || !e.state) return p
  50413. if (2 === (s = (r = e.state).wrap) || (1 === s && r.status !== S) || r.lookahead) return p
  50414. for (
  50415. 1 === s && (e.adler = a(e.adler, t, h, 0)),
  50416. r.wrap = 0,
  50417. h >= r.w_size &&
  50418. (0 === s && (I(r.head), (r.strstart = 0), (r.block_start = 0), (r.insert = 0)),
  50419. (d = new i.Buf8(r.w_size)),
  50420. i.arraySet(d, t, h - r.w_size, r.w_size, 0),
  50421. (t = d),
  50422. (h = r.w_size)),
  50423. l = e.avail_in,
  50424. c = e.next_in,
  50425. u = e.input,
  50426. e.avail_in = h,
  50427. e.next_in = 0,
  50428. e.input = t,
  50429. U(r);
  50430. r.lookahead >= _;
  50431. ) {
  50432. for (
  50433. n = r.strstart, o = r.lookahead - (_ - 1);
  50434. (r.ins_h = ((r.ins_h << r.hash_shift) ^ r.window[n + _ - 1]) & r.hash_mask),
  50435. (r.prev[n & r.w_mask] = r.head[r.ins_h]),
  50436. (r.head[r.ins_h] = n),
  50437. n++,
  50438. --o;
  50439. );
  50440. ;(r.strstart = n), (r.lookahead = _ - 1), U(r)
  50441. }
  50442. return (
  50443. (r.strstart += r.lookahead),
  50444. (r.block_start = r.strstart),
  50445. (r.insert = r.lookahead),
  50446. (r.lookahead = 0),
  50447. (r.match_length = r.prev_length = _ - 1),
  50448. (r.match_available = 0),
  50449. (e.next_in = c),
  50450. (e.input = u),
  50451. (e.avail_in = l),
  50452. (r.wrap = s),
  50453. f
  50454. )
  50455. }),
  50456. (r.deflateInfo = "pako deflate (from Nodeca project)")
  50457. },
  50458. {
  50459. "../utils/common": 41,
  50460. "./adler32": 43,
  50461. "./crc32": 45,
  50462. "./messages": 51,
  50463. "./trees": 52
  50464. }
  50465. ],
  50466. 47: [
  50467. function (e, t, r) {
  50468. "use strict"
  50469. t.exports = function () {
  50470. ;(this.text = 0),
  50471. (this.time = 0),
  50472. (this.xflags = 0),
  50473. (this.os = 0),
  50474. (this.extra = null),
  50475. (this.extra_len = 0),
  50476. (this.name = ""),
  50477. (this.comment = ""),
  50478. (this.hcrc = 0),
  50479. (this.done = !1)
  50480. }
  50481. },
  50482. {}
  50483. ],
  50484. 48: [
  50485. function (e, t, r) {
  50486. "use strict"
  50487. t.exports = function (e, t) {
  50488. var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T, E, S
  50489. ;(r = e.state),
  50490. (n = e.next_in),
  50491. (E = e.input),
  50492. (i = n + (e.avail_in - 5)),
  50493. (o = e.next_out),
  50494. (S = e.output),
  50495. (a = o - (t - e.avail_out)),
  50496. (s = o + (e.avail_out - 257)),
  50497. (l = r.dmax),
  50498. (c = r.wsize),
  50499. (u = r.whave),
  50500. (f = r.wnext),
  50501. (p = r.window),
  50502. (d = r.hold),
  50503. (h = r.bits),
  50504. (m = r.lencode),
  50505. (g = r.distcode),
  50506. (y = (1 << r.lenbits) - 1),
  50507. (v = (1 << r.distbits) - 1)
  50508. e: do {
  50509. h < 15 && ((d += E[n++] << h), (h += 8), (d += E[n++] << h), (h += 8)), (b = m[d & y])
  50510. t: for (;;) {
  50511. if (((d >>>= w = b >>> 24), (h -= w), 0 === (w = (b >>> 16) & 255))) S[o++] = 65535 & b
  50512. else {
  50513. if (!(16 & w)) {
  50514. if (0 == (64 & w)) {
  50515. b = m[(65535 & b) + (d & ((1 << w) - 1))]
  50516. continue t
  50517. }
  50518. if (32 & w) {
  50519. r.mode = 12
  50520. break e
  50521. }
  50522. ;(e.msg = "invalid literal/length code"), (r.mode = 30)
  50523. break e
  50524. }
  50525. ;(x = 65535 & b),
  50526. (w &= 15) && (h < w && ((d += E[n++] << h), (h += 8)), (x += d & ((1 << w) - 1)), (d >>>= w), (h -= w)),
  50527. h < 15 && ((d += E[n++] << h), (h += 8), (d += E[n++] << h), (h += 8)),
  50528. (b = g[d & v])
  50529. r: for (;;) {
  50530. if (((d >>>= w = b >>> 24), (h -= w), !(16 & (w = (b >>> 16) & 255)))) {
  50531. if (0 == (64 & w)) {
  50532. b = g[(65535 & b) + (d & ((1 << w) - 1))]
  50533. continue r
  50534. }
  50535. ;(e.msg = "invalid distance code"), (r.mode = 30)
  50536. break e
  50537. }
  50538. if (
  50539. ((A = 65535 & b),
  50540. h < (w &= 15) && ((d += E[n++] << h), (h += 8) < w && ((d += E[n++] << h), (h += 8))),
  50541. l < (A += d & ((1 << w) - 1)))
  50542. ) {
  50543. ;(e.msg = "invalid distance too far back"), (r.mode = 30)
  50544. break e
  50545. }
  50546. if (((d >>>= w), (h -= w), (w = o - a) < A)) {
  50547. if (u < (w = A - w) && r.sane) {
  50548. ;(e.msg = "invalid distance too far back"), (r.mode = 30)
  50549. break e
  50550. }
  50551. if (((T = p), (_ = 0) === f)) {
  50552. if (((_ += c - w), w < x)) {
  50553. for (x -= w; (S[o++] = p[_++]), --w; );
  50554. ;(_ = o - A), (T = S)
  50555. }
  50556. } else if (f < w) {
  50557. if (((_ += c + f - w), (w -= f) < x)) {
  50558. for (x -= w; (S[o++] = p[_++]), --w; );
  50559. if (((_ = 0), f < x)) {
  50560. for (x -= w = f; (S[o++] = p[_++]), --w; );
  50561. ;(_ = o - A), (T = S)
  50562. }
  50563. }
  50564. } else if (((_ += f - w), w < x)) {
  50565. for (x -= w; (S[o++] = p[_++]), --w; );
  50566. ;(_ = o - A), (T = S)
  50567. }
  50568. for (; 2 < x; ) (S[o++] = T[_++]), (S[o++] = T[_++]), (S[o++] = T[_++]), (x -= 3)
  50569. x && ((S[o++] = T[_++]), 1 < x && (S[o++] = T[_++]))
  50570. } else {
  50571. for (_ = o - A; (S[o++] = S[_++]), (S[o++] = S[_++]), (S[o++] = S[_++]), 2 < (x -= 3); );
  50572. x && ((S[o++] = S[_++]), 1 < x && (S[o++] = S[_++]))
  50573. }
  50574. break
  50575. }
  50576. }
  50577. break
  50578. }
  50579. } while (n < i && o < s)
  50580. ;(n -= x = h >> 3),
  50581. (d &= (1 << (h -= x << 3)) - 1),
  50582. (e.next_in = n),
  50583. (e.next_out = o),
  50584. (e.avail_in = n < i ? i - n + 5 : 5 - (n - i)),
  50585. (e.avail_out = o < s ? s - o + 257 : 257 - (o - s)),
  50586. (r.hold = d),
  50587. (r.bits = h)
  50588. }
  50589. },
  50590. {}
  50591. ],
  50592. 49: [
  50593. function (e, t, r) {
  50594. "use strict"
  50595. var n = e("../utils/common"),
  50596. i = e("./adler32"),
  50597. o = e("./crc32"),
  50598. a = e("./inffast"),
  50599. s = e("./inftrees"),
  50600. l = 1,
  50601. c = 2,
  50602. u = 0,
  50603. f = -2,
  50604. p = 1,
  50605. d = 852,
  50606. h = 592
  50607. function m(e) {
  50608. return ((e >>> 24) & 255) + ((e >>> 8) & 65280) + ((65280 & e) << 8) + ((255 & e) << 24)
  50609. }
  50610. function g() {
  50611. ;(this.mode = 0),
  50612. (this.last = !1),
  50613. (this.wrap = 0),
  50614. (this.havedict = !1),
  50615. (this.flags = 0),
  50616. (this.dmax = 0),
  50617. (this.check = 0),
  50618. (this.total = 0),
  50619. (this.head = null),
  50620. (this.wbits = 0),
  50621. (this.wsize = 0),
  50622. (this.whave = 0),
  50623. (this.wnext = 0),
  50624. (this.window = null),
  50625. (this.hold = 0),
  50626. (this.bits = 0),
  50627. (this.length = 0),
  50628. (this.offset = 0),
  50629. (this.extra = 0),
  50630. (this.lencode = null),
  50631. (this.distcode = null),
  50632. (this.lenbits = 0),
  50633. (this.distbits = 0),
  50634. (this.ncode = 0),
  50635. (this.nlen = 0),
  50636. (this.ndist = 0),
  50637. (this.have = 0),
  50638. (this.next = null),
  50639. (this.lens = new n.Buf16(320)),
  50640. (this.work = new n.Buf16(288)),
  50641. (this.lendyn = null),
  50642. (this.distdyn = null),
  50643. (this.sane = 0),
  50644. (this.back = 0),
  50645. (this.was = 0)
  50646. }
  50647. function y(e) {
  50648. var t
  50649. return e && e.state
  50650. ? ((t = e.state),
  50651. (e.total_in = e.total_out = t.total = 0),
  50652. (e.msg = ""),
  50653. t.wrap && (e.adler = 1 & t.wrap),
  50654. (t.mode = p),
  50655. (t.last = 0),
  50656. (t.havedict = 0),
  50657. (t.dmax = 32768),
  50658. (t.head = null),
  50659. (t.hold = 0),
  50660. (t.bits = 0),
  50661. (t.lencode = t.lendyn = new n.Buf32(d)),
  50662. (t.distcode = t.distdyn = new n.Buf32(h)),
  50663. (t.sane = 1),
  50664. (t.back = -1),
  50665. u)
  50666. : f
  50667. }
  50668. function v(e) {
  50669. var t
  50670. return e && e.state ? (((t = e.state).wsize = 0), (t.whave = 0), (t.wnext = 0), y(e)) : f
  50671. }
  50672. function b(e, t) {
  50673. var r, n
  50674. return e && e.state
  50675. ? ((n = e.state),
  50676. t < 0 ? ((r = 0), (t = -t)) : ((r = 1 + (t >> 4)), t < 48 && (t &= 15)),
  50677. t && (t < 8 || 15 < t)
  50678. ? f
  50679. : (null !== n.window && n.wbits !== t && (n.window = null), (n.wrap = r), (n.wbits = t), v(e)))
  50680. : f
  50681. }
  50682. function w(e, t) {
  50683. var r, n
  50684. return e ? ((n = new g()), ((e.state = n).window = null), (r = b(e, t)) !== u && (e.state = null), r) : f
  50685. }
  50686. var x,
  50687. A,
  50688. _ = !0
  50689. function T(e) {
  50690. if (_) {
  50691. var t
  50692. for (x = new n.Buf32(512), A = new n.Buf32(32), t = 0; t < 144; ) e.lens[t++] = 8
  50693. for (; t < 256; ) e.lens[t++] = 9
  50694. for (; t < 280; ) e.lens[t++] = 7
  50695. for (; t < 288; ) e.lens[t++] = 8
  50696. for (
  50697. s(l, e.lens, 0, 288, x, 0, e.work, {
  50698. bits: 9
  50699. }),
  50700. t = 0;
  50701. t < 32;
  50702. )
  50703. e.lens[t++] = 5
  50704. s(c, e.lens, 0, 32, A, 0, e.work, {
  50705. bits: 5
  50706. }),
  50707. (_ = !1)
  50708. }
  50709. ;(e.lencode = x), (e.lenbits = 9), (e.distcode = A), (e.distbits = 5)
  50710. }
  50711. function E(e, t, r, i) {
  50712. var o,
  50713. a = e.state
  50714. return (
  50715. null === a.window && ((a.wsize = 1 << a.wbits), (a.wnext = 0), (a.whave = 0), (a.window = new n.Buf8(a.wsize))),
  50716. i >= a.wsize
  50717. ? (n.arraySet(a.window, t, r - a.wsize, a.wsize, 0), (a.wnext = 0), (a.whave = a.wsize))
  50718. : (i < (o = a.wsize - a.wnext) && (o = i),
  50719. n.arraySet(a.window, t, r - i, o, a.wnext),
  50720. (i -= o)
  50721. ? (n.arraySet(a.window, t, r - i, i, 0), (a.wnext = i), (a.whave = a.wsize))
  50722. : ((a.wnext += o), a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += o))),
  50723. 0
  50724. )
  50725. }
  50726. ;(r.inflateReset = v),
  50727. (r.inflateReset2 = b),
  50728. (r.inflateResetKeep = y),
  50729. (r.inflateInit = function (e) {
  50730. return w(e, 15)
  50731. }),
  50732. (r.inflateInit2 = w),
  50733. (r.inflate = function (e, t) {
  50734. var r,
  50735. d,
  50736. h,
  50737. g,
  50738. y,
  50739. v,
  50740. b,
  50741. w,
  50742. x,
  50743. A,
  50744. _,
  50745. S,
  50746. C,
  50747. k,
  50748. L,
  50749. P,
  50750. O,
  50751. j,
  50752. R,
  50753. I,
  50754. N,
  50755. M,
  50756. D,
  50757. B,
  50758. F = 0,
  50759. U = new n.Buf8(4),
  50760. z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
  50761. if (!e || !e.state || !e.output || (!e.input && 0 !== e.avail_in)) return f
  50762. 12 === (r = e.state).mode && (r.mode = 13),
  50763. (y = e.next_out),
  50764. (h = e.output),
  50765. (b = e.avail_out),
  50766. (g = e.next_in),
  50767. (d = e.input),
  50768. (v = e.avail_in),
  50769. (w = r.hold),
  50770. (x = r.bits),
  50771. (A = v),
  50772. (_ = b),
  50773. (M = u)
  50774. e: for (;;)
  50775. switch (r.mode) {
  50776. case p:
  50777. if (0 === r.wrap) {
  50778. r.mode = 13
  50779. break
  50780. }
  50781. for (; x < 16; ) {
  50782. if (0 === v) break e
  50783. v--, (w += d[g++] << x), (x += 8)
  50784. }
  50785. if (2 & r.wrap && 35615 === w) {
  50786. ;(U[(r.check = 0)] = 255 & w),
  50787. (U[1] = (w >>> 8) & 255),
  50788. (r.check = o(r.check, U, 2, 0)),
  50789. (x = w = 0),
  50790. (r.mode = 2)
  50791. break
  50792. }
  50793. if (((r.flags = 0), r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & w) << 8) + (w >> 8)) % 31)) {
  50794. ;(e.msg = "incorrect header check"), (r.mode = 30)
  50795. break
  50796. }
  50797. if (8 != (15 & w)) {
  50798. ;(e.msg = "unknown compression method"), (r.mode = 30)
  50799. break
  50800. }
  50801. if (((x -= 4), (N = 8 + (15 & (w >>>= 4))), 0 === r.wbits)) r.wbits = N
  50802. else if (N > r.wbits) {
  50803. ;(e.msg = "invalid window size"), (r.mode = 30)
  50804. break
  50805. }
  50806. ;(r.dmax = 1 << N), (e.adler = r.check = 1), (r.mode = 512 & w ? 10 : 12), (x = w = 0)
  50807. break
  50808. case 2:
  50809. for (; x < 16; ) {
  50810. if (0 === v) break e
  50811. v--, (w += d[g++] << x), (x += 8)
  50812. }
  50813. if (((r.flags = w), 8 != (255 & r.flags))) {
  50814. ;(e.msg = "unknown compression method"), (r.mode = 30)
  50815. break
  50816. }
  50817. if (57344 & r.flags) {
  50818. ;(e.msg = "unknown header flags set"), (r.mode = 30)
  50819. break
  50820. }
  50821. r.head && (r.head.text = (w >> 8) & 1),
  50822. 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))),
  50823. (x = w = 0),
  50824. (r.mode = 3)
  50825. case 3:
  50826. for (; x < 32; ) {
  50827. if (0 === v) break e
  50828. v--, (w += d[g++] << x), (x += 8)
  50829. }
  50830. r.head && (r.head.time = w),
  50831. 512 & r.flags &&
  50832. ((U[0] = 255 & w),
  50833. (U[1] = (w >>> 8) & 255),
  50834. (U[2] = (w >>> 16) & 255),
  50835. (U[3] = (w >>> 24) & 255),
  50836. (r.check = o(r.check, U, 4, 0))),
  50837. (x = w = 0),
  50838. (r.mode = 4)
  50839. case 4:
  50840. for (; x < 16; ) {
  50841. if (0 === v) break e
  50842. v--, (w += d[g++] << x), (x += 8)
  50843. }
  50844. r.head && ((r.head.xflags = 255 & w), (r.head.os = w >> 8)),
  50845. 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))),
  50846. (x = w = 0),
  50847. (r.mode = 5)
  50848. case 5:
  50849. if (1024 & r.flags) {
  50850. for (; x < 16; ) {
  50851. if (0 === v) break e
  50852. v--, (w += d[g++] << x), (x += 8)
  50853. }
  50854. ;(r.length = w),
  50855. r.head && (r.head.extra_len = w),
  50856. 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))),
  50857. (x = w = 0)
  50858. } else r.head && (r.head.extra = null)
  50859. r.mode = 6
  50860. case 6:
  50861. if (
  50862. 1024 & r.flags &&
  50863. (v < (S = r.length) && (S = v),
  50864. S &&
  50865. (r.head &&
  50866. ((N = r.head.extra_len - r.length),
  50867. r.head.extra || (r.head.extra = new Array(r.head.extra_len)),
  50868. n.arraySet(r.head.extra, d, g, S, N)),
  50869. 512 & r.flags && (r.check = o(r.check, d, S, g)),
  50870. (v -= S),
  50871. (g += S),
  50872. (r.length -= S)),
  50873. r.length)
  50874. )
  50875. break e
  50876. ;(r.length = 0), (r.mode = 7)
  50877. case 7:
  50878. if (2048 & r.flags) {
  50879. if (0 === v) break e
  50880. for (
  50881. S = 0;
  50882. (N = d[g + S++]), r.head && N && r.length < 65536 && (r.head.name += String.fromCharCode(N)), N && S < v;
  50883. );
  50884. if ((512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), N)) break e
  50885. } else r.head && (r.head.name = null)
  50886. ;(r.length = 0), (r.mode = 8)
  50887. case 8:
  50888. if (4096 & r.flags) {
  50889. if (0 === v) break e
  50890. for (
  50891. S = 0;
  50892. (N = d[g + S++]),
  50893. r.head && N && r.length < 65536 && (r.head.comment += String.fromCharCode(N)),
  50894. N && S < v;
  50895. );
  50896. if ((512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), N)) break e
  50897. } else r.head && (r.head.comment = null)
  50898. r.mode = 9
  50899. case 9:
  50900. if (512 & r.flags) {
  50901. for (; x < 16; ) {
  50902. if (0 === v) break e
  50903. v--, (w += d[g++] << x), (x += 8)
  50904. }
  50905. if (w !== (65535 & r.check)) {
  50906. ;(e.msg = "header crc mismatch"), (r.mode = 30)
  50907. break
  50908. }
  50909. x = w = 0
  50910. }
  50911. r.head && ((r.head.hcrc = (r.flags >> 9) & 1), (r.head.done = !0)), (e.adler = r.check = 0), (r.mode = 12)
  50912. break
  50913. case 10:
  50914. for (; x < 32; ) {
  50915. if (0 === v) break e
  50916. v--, (w += d[g++] << x), (x += 8)
  50917. }
  50918. ;(e.adler = r.check = m(w)), (x = w = 0), (r.mode = 11)
  50919. case 11:
  50920. if (0 === r.havedict)
  50921. return (e.next_out = y), (e.avail_out = b), (e.next_in = g), (e.avail_in = v), (r.hold = w), (r.bits = x), 2
  50922. ;(e.adler = r.check = 1), (r.mode = 12)
  50923. case 12:
  50924. if (5 === t || 6 === t) break e
  50925. case 13:
  50926. if (r.last) {
  50927. ;(w >>>= 7 & x), (x -= 7 & x), (r.mode = 27)
  50928. break
  50929. }
  50930. for (; x < 3; ) {
  50931. if (0 === v) break e
  50932. v--, (w += d[g++] << x), (x += 8)
  50933. }
  50934. switch (((r.last = 1 & w), (x -= 1), 3 & (w >>>= 1))) {
  50935. case 0:
  50936. r.mode = 14
  50937. break
  50938. case 1:
  50939. if ((T(r), (r.mode = 20), 6 !== t)) break
  50940. ;(w >>>= 2), (x -= 2)
  50941. break e
  50942. case 2:
  50943. r.mode = 17
  50944. break
  50945. case 3:
  50946. ;(e.msg = "invalid block type"), (r.mode = 30)
  50947. }
  50948. ;(w >>>= 2), (x -= 2)
  50949. break
  50950. case 14:
  50951. for (w >>>= 7 & x, x -= 7 & x; x < 32; ) {
  50952. if (0 === v) break e
  50953. v--, (w += d[g++] << x), (x += 8)
  50954. }
  50955. if ((65535 & w) != ((w >>> 16) ^ 65535)) {
  50956. ;(e.msg = "invalid stored block lengths"), (r.mode = 30)
  50957. break
  50958. }
  50959. if (((r.length = 65535 & w), (x = w = 0), (r.mode = 15), 6 === t)) break e
  50960. case 15:
  50961. r.mode = 16
  50962. case 16:
  50963. if ((S = r.length)) {
  50964. if ((v < S && (S = v), b < S && (S = b), 0 === S)) break e
  50965. n.arraySet(h, d, g, S, y), (v -= S), (g += S), (b -= S), (y += S), (r.length -= S)
  50966. break
  50967. }
  50968. r.mode = 12
  50969. break
  50970. case 17:
  50971. for (; x < 14; ) {
  50972. if (0 === v) break e
  50973. v--, (w += d[g++] << x), (x += 8)
  50974. }
  50975. if (
  50976. ((r.nlen = 257 + (31 & w)),
  50977. (w >>>= 5),
  50978. (x -= 5),
  50979. (r.ndist = 1 + (31 & w)),
  50980. (w >>>= 5),
  50981. (x -= 5),
  50982. (r.ncode = 4 + (15 & w)),
  50983. (w >>>= 4),
  50984. (x -= 4),
  50985. 286 < r.nlen || 30 < r.ndist)
  50986. ) {
  50987. ;(e.msg = "too many length or distance symbols"), (r.mode = 30)
  50988. break
  50989. }
  50990. ;(r.have = 0), (r.mode = 18)
  50991. case 18:
  50992. for (; r.have < r.ncode; ) {
  50993. for (; x < 3; ) {
  50994. if (0 === v) break e
  50995. v--, (w += d[g++] << x), (x += 8)
  50996. }
  50997. ;(r.lens[z[r.have++]] = 7 & w), (w >>>= 3), (x -= 3)
  50998. }
  50999. for (; r.have < 19; ) r.lens[z[r.have++]] = 0
  51000. if (
  51001. ((r.lencode = r.lendyn),
  51002. (r.lenbits = 7),
  51003. (D = {
  51004. bits: r.lenbits
  51005. }),
  51006. (M = s(0, r.lens, 0, 19, r.lencode, 0, r.work, D)),
  51007. (r.lenbits = D.bits),
  51008. M)
  51009. ) {
  51010. ;(e.msg = "invalid code lengths set"), (r.mode = 30)
  51011. break
  51012. }
  51013. ;(r.have = 0), (r.mode = 19)
  51014. case 19:
  51015. for (; r.have < r.nlen + r.ndist; ) {
  51016. for (
  51017. ;
  51018. (P = ((F = r.lencode[w & ((1 << r.lenbits) - 1)]) >>> 16) & 255),
  51019. (O = 65535 & F),
  51020. !((L = F >>> 24) <= x);
  51021. ) {
  51022. if (0 === v) break e
  51023. v--, (w += d[g++] << x), (x += 8)
  51024. }
  51025. if (O < 16) (w >>>= L), (x -= L), (r.lens[r.have++] = O)
  51026. else {
  51027. if (16 === O) {
  51028. for (B = L + 2; x < B; ) {
  51029. if (0 === v) break e
  51030. v--, (w += d[g++] << x), (x += 8)
  51031. }
  51032. if (((w >>>= L), (x -= L), 0 === r.have)) {
  51033. ;(e.msg = "invalid bit length repeat"), (r.mode = 30)
  51034. break
  51035. }
  51036. ;(N = r.lens[r.have - 1]), (S = 3 + (3 & w)), (w >>>= 2), (x -= 2)
  51037. } else if (17 === O) {
  51038. for (B = L + 3; x < B; ) {
  51039. if (0 === v) break e
  51040. v--, (w += d[g++] << x), (x += 8)
  51041. }
  51042. ;(x -= L), (N = 0), (S = 3 + (7 & (w >>>= L))), (w >>>= 3), (x -= 3)
  51043. } else {
  51044. for (B = L + 7; x < B; ) {
  51045. if (0 === v) break e
  51046. v--, (w += d[g++] << x), (x += 8)
  51047. }
  51048. ;(x -= L), (N = 0), (S = 11 + (127 & (w >>>= L))), (w >>>= 7), (x -= 7)
  51049. }
  51050. if (r.have + S > r.nlen + r.ndist) {
  51051. ;(e.msg = "invalid bit length repeat"), (r.mode = 30)
  51052. break
  51053. }
  51054. for (; S--; ) r.lens[r.have++] = N
  51055. }
  51056. }
  51057. if (30 === r.mode) break
  51058. if (0 === r.lens[256]) {
  51059. ;(e.msg = "invalid code -- missing end-of-block"), (r.mode = 30)
  51060. break
  51061. }
  51062. if (
  51063. ((r.lenbits = 9),
  51064. (D = {
  51065. bits: r.lenbits
  51066. }),
  51067. (M = s(l, r.lens, 0, r.nlen, r.lencode, 0, r.work, D)),
  51068. (r.lenbits = D.bits),
  51069. M)
  51070. ) {
  51071. ;(e.msg = "invalid literal/lengths set"), (r.mode = 30)
  51072. break
  51073. }
  51074. if (
  51075. ((r.distbits = 6),
  51076. (r.distcode = r.distdyn),
  51077. (D = {
  51078. bits: r.distbits
  51079. }),
  51080. (M = s(c, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, D)),
  51081. (r.distbits = D.bits),
  51082. M)
  51083. ) {
  51084. ;(e.msg = "invalid distances set"), (r.mode = 30)
  51085. break
  51086. }
  51087. if (((r.mode = 20), 6 === t)) break e
  51088. case 20:
  51089. r.mode = 21
  51090. case 21:
  51091. if (6 <= v && 258 <= b) {
  51092. ;(e.next_out = y),
  51093. (e.avail_out = b),
  51094. (e.next_in = g),
  51095. (e.avail_in = v),
  51096. (r.hold = w),
  51097. (r.bits = x),
  51098. a(e, _),
  51099. (y = e.next_out),
  51100. (h = e.output),
  51101. (b = e.avail_out),
  51102. (g = e.next_in),
  51103. (d = e.input),
  51104. (v = e.avail_in),
  51105. (w = r.hold),
  51106. (x = r.bits),
  51107. 12 === r.mode && (r.back = -1)
  51108. break
  51109. }
  51110. for (
  51111. r.back = 0;
  51112. (P = ((F = r.lencode[w & ((1 << r.lenbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x);
  51113. ) {
  51114. if (0 === v) break e
  51115. v--, (w += d[g++] << x), (x += 8)
  51116. }
  51117. if (P && 0 == (240 & P)) {
  51118. for (
  51119. j = L, R = P, I = O;
  51120. (P = ((F = r.lencode[I + ((w & ((1 << (j + R)) - 1)) >> j)]) >>> 16) & 255),
  51121. (O = 65535 & F),
  51122. !(j + (L = F >>> 24) <= x);
  51123. ) {
  51124. if (0 === v) break e
  51125. v--, (w += d[g++] << x), (x += 8)
  51126. }
  51127. ;(w >>>= j), (x -= j), (r.back += j)
  51128. }
  51129. if (((w >>>= L), (x -= L), (r.back += L), (r.length = O), 0 === P)) {
  51130. r.mode = 26
  51131. break
  51132. }
  51133. if (32 & P) {
  51134. ;(r.back = -1), (r.mode = 12)
  51135. break
  51136. }
  51137. if (64 & P) {
  51138. ;(e.msg = "invalid literal/length code"), (r.mode = 30)
  51139. break
  51140. }
  51141. ;(r.extra = 15 & P), (r.mode = 22)
  51142. case 22:
  51143. if (r.extra) {
  51144. for (B = r.extra; x < B; ) {
  51145. if (0 === v) break e
  51146. v--, (w += d[g++] << x), (x += 8)
  51147. }
  51148. ;(r.length += w & ((1 << r.extra) - 1)), (w >>>= r.extra), (x -= r.extra), (r.back += r.extra)
  51149. }
  51150. ;(r.was = r.length), (r.mode = 23)
  51151. case 23:
  51152. for (
  51153. ;
  51154. (P = ((F = r.distcode[w & ((1 << r.distbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x);
  51155. ) {
  51156. if (0 === v) break e
  51157. v--, (w += d[g++] << x), (x += 8)
  51158. }
  51159. if (0 == (240 & P)) {
  51160. for (
  51161. j = L, R = P, I = O;
  51162. (P = ((F = r.distcode[I + ((w & ((1 << (j + R)) - 1)) >> j)]) >>> 16) & 255),
  51163. (O = 65535 & F),
  51164. !(j + (L = F >>> 24) <= x);
  51165. ) {
  51166. if (0 === v) break e
  51167. v--, (w += d[g++] << x), (x += 8)
  51168. }
  51169. ;(w >>>= j), (x -= j), (r.back += j)
  51170. }
  51171. if (((w >>>= L), (x -= L), (r.back += L), 64 & P)) {
  51172. ;(e.msg = "invalid distance code"), (r.mode = 30)
  51173. break
  51174. }
  51175. ;(r.offset = O), (r.extra = 15 & P), (r.mode = 24)
  51176. case 24:
  51177. if (r.extra) {
  51178. for (B = r.extra; x < B; ) {
  51179. if (0 === v) break e
  51180. v--, (w += d[g++] << x), (x += 8)
  51181. }
  51182. ;(r.offset += w & ((1 << r.extra) - 1)), (w >>>= r.extra), (x -= r.extra), (r.back += r.extra)
  51183. }
  51184. if (r.offset > r.dmax) {
  51185. ;(e.msg = "invalid distance too far back"), (r.mode = 30)
  51186. break
  51187. }
  51188. r.mode = 25
  51189. case 25:
  51190. if (0 === b) break e
  51191. if (((S = _ - b), r.offset > S)) {
  51192. if ((S = r.offset - S) > r.whave && r.sane) {
  51193. ;(e.msg = "invalid distance too far back"), (r.mode = 30)
  51194. break
  51195. }
  51196. ;(C = S > r.wnext ? ((S -= r.wnext), r.wsize - S) : r.wnext - S),
  51197. S > r.length && (S = r.length),
  51198. (k = r.window)
  51199. } else (k = h), (C = y - r.offset), (S = r.length)
  51200. for (b < S && (S = b), b -= S, r.length -= S; (h[y++] = k[C++]), --S; );
  51201. 0 === r.length && (r.mode = 21)
  51202. break
  51203. case 26:
  51204. if (0 === b) break e
  51205. ;(h[y++] = r.length), b--, (r.mode = 21)
  51206. break
  51207. case 27:
  51208. if (r.wrap) {
  51209. for (; x < 32; ) {
  51210. if (0 === v) break e
  51211. v--, (w |= d[g++] << x), (x += 8)
  51212. }
  51213. if (
  51214. ((_ -= b),
  51215. (e.total_out += _),
  51216. (r.total += _),
  51217. _ && (e.adler = r.check = r.flags ? o(r.check, h, _, y - _) : i(r.check, h, _, y - _)),
  51218. (_ = b),
  51219. (r.flags ? w : m(w)) !== r.check)
  51220. ) {
  51221. ;(e.msg = "incorrect data check"), (r.mode = 30)
  51222. break
  51223. }
  51224. x = w = 0
  51225. }
  51226. r.mode = 28
  51227. case 28:
  51228. if (r.wrap && r.flags) {
  51229. for (; x < 32; ) {
  51230. if (0 === v) break e
  51231. v--, (w += d[g++] << x), (x += 8)
  51232. }
  51233. if (w !== (4294967295 & r.total)) {
  51234. ;(e.msg = "incorrect length check"), (r.mode = 30)
  51235. break
  51236. }
  51237. x = w = 0
  51238. }
  51239. r.mode = 29
  51240. case 29:
  51241. M = 1
  51242. break e
  51243. case 30:
  51244. M = -3
  51245. break e
  51246. case 31:
  51247. return -4
  51248. case 32:
  51249. default:
  51250. return f
  51251. }
  51252. return (
  51253. (e.next_out = y),
  51254. (e.avail_out = b),
  51255. (e.next_in = g),
  51256. (e.avail_in = v),
  51257. (r.hold = w),
  51258. (r.bits = x),
  51259. (r.wsize || (_ !== e.avail_out && r.mode < 30 && (r.mode < 27 || 4 !== t))) &&
  51260. E(e, e.output, e.next_out, _ - e.avail_out)
  51261. ? ((r.mode = 31), -4)
  51262. : ((A -= e.avail_in),
  51263. (_ -= e.avail_out),
  51264. (e.total_in += A),
  51265. (e.total_out += _),
  51266. (r.total += _),
  51267. r.wrap &&
  51268. _ &&
  51269. (e.adler = r.check = r.flags ? o(r.check, h, _, e.next_out - _) : i(r.check, h, _, e.next_out - _)),
  51270. (e.data_type =
  51271. r.bits + (r.last ? 64 : 0) + (12 === r.mode ? 128 : 0) + (20 === r.mode || 15 === r.mode ? 256 : 0)),
  51272. ((0 == A && 0 === _) || 4 === t) && M === u && (M = -5),
  51273. M)
  51274. )
  51275. }),
  51276. (r.inflateEnd = function (e) {
  51277. if (!e || !e.state) return f
  51278. var t = e.state
  51279. return t.window && (t.window = null), (e.state = null), u
  51280. }),
  51281. (r.inflateGetHeader = function (e, t) {
  51282. var r
  51283. return e && e.state ? (0 == (2 & (r = e.state).wrap) ? f : (((r.head = t).done = !1), u)) : f
  51284. }),
  51285. (r.inflateSetDictionary = function (e, t) {
  51286. var r,
  51287. n = t.length
  51288. return e && e.state
  51289. ? 0 !== (r = e.state).wrap && 11 !== r.mode
  51290. ? f
  51291. : 11 === r.mode && i(1, t, n, 0) !== r.check
  51292. ? -3
  51293. : E(e, t, n, n)
  51294. ? ((r.mode = 31), -4)
  51295. : ((r.havedict = 1), u)
  51296. : f
  51297. }),
  51298. (r.inflateInfo = "pako inflate (from Nodeca project)")
  51299. },
  51300. {
  51301. "../utils/common": 41,
  51302. "./adler32": 43,
  51303. "./crc32": 45,
  51304. "./inffast": 48,
  51305. "./inftrees": 50
  51306. }
  51307. ],
  51308. 50: [
  51309. function (e, t, r) {
  51310. "use strict"
  51311. var n = e("../utils/common"),
  51312. i = [
  51313. 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0
  51314. ],
  51315. o = [
  51316. 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72,
  51317. 78
  51318. ],
  51319. a = [
  51320. 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193,
  51321. 12289, 16385, 24577, 0, 0
  51322. ],
  51323. s = [
  51324. 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29,
  51325. 64, 64
  51326. ]
  51327. t.exports = function (e, t, r, l, c, u, f, p) {
  51328. var d,
  51329. h,
  51330. m,
  51331. g,
  51332. y,
  51333. v,
  51334. b,
  51335. w,
  51336. x,
  51337. A = p.bits,
  51338. _ = 0,
  51339. T = 0,
  51340. E = 0,
  51341. S = 0,
  51342. C = 0,
  51343. k = 0,
  51344. L = 0,
  51345. P = 0,
  51346. O = 0,
  51347. j = 0,
  51348. R = null,
  51349. I = 0,
  51350. N = new n.Buf16(16),
  51351. M = new n.Buf16(16),
  51352. D = null,
  51353. B = 0
  51354. for (_ = 0; _ <= 15; _++) N[_] = 0
  51355. for (T = 0; T < l; T++) N[t[r + T]]++
  51356. for (C = A, S = 15; 1 <= S && 0 === N[S]; S--);
  51357. if ((S < C && (C = S), 0 === S)) return (c[u++] = 20971520), (c[u++] = 20971520), (p.bits = 1), 0
  51358. for (E = 1; E < S && 0 === N[E]; E++);
  51359. for (C < E && (C = E), _ = P = 1; _ <= 15; _++) if (((P <<= 1), (P -= N[_]) < 0)) return -1
  51360. if (0 < P && (0 === e || 1 !== S)) return -1
  51361. for (M[1] = 0, _ = 1; _ < 15; _++) M[_ + 1] = M[_] + N[_]
  51362. for (T = 0; T < l; T++) 0 !== t[r + T] && (f[M[t[r + T]]++] = T)
  51363. if (
  51364. ((v = 0 === e ? ((R = D = f), 19) : 1 === e ? ((R = i), (I -= 257), (D = o), (B -= 257), 256) : ((R = a), (D = s), -1)),
  51365. (_ = E),
  51366. (y = u),
  51367. (L = T = j = 0),
  51368. (m = -1),
  51369. (g = (O = 1 << (k = C)) - 1),
  51370. (1 === e && 852 < O) || (2 === e && 592 < O))
  51371. )
  51372. return 1
  51373. for (;;) {
  51374. for (
  51375. b = _ - L,
  51376. x = f[T] < v ? ((w = 0), f[T]) : f[T] > v ? ((w = D[B + f[T]]), R[I + f[T]]) : ((w = 96), 0),
  51377. d = 1 << (_ - L),
  51378. E = h = 1 << k;
  51379. (c[y + (j >> L) + (h -= d)] = (b << 24) | (w << 16) | x | 0), 0 !== h;
  51380. );
  51381. for (d = 1 << (_ - 1); j & d; ) d >>= 1
  51382. if ((0 !== d ? ((j &= d - 1), (j += d)) : (j = 0), T++, 0 == --N[_])) {
  51383. if (_ === S) break
  51384. _ = t[r + f[T]]
  51385. }
  51386. if (C < _ && (j & g) !== m) {
  51387. for (0 === L && (L = C), y += E, P = 1 << (k = _ - L); k + L < S && !((P -= N[k + L]) <= 0); ) k++, (P <<= 1)
  51388. if (((O += 1 << k), (1 === e && 852 < O) || (2 === e && 592 < O))) return 1
  51389. c[(m = j & g)] = (C << 24) | (k << 16) | (y - u) | 0
  51390. }
  51391. }
  51392. return 0 !== j && (c[y + j] = ((_ - L) << 24) | (64 << 16) | 0), (p.bits = C), 0
  51393. }
  51394. },
  51395. {
  51396. "../utils/common": 41
  51397. }
  51398. ],
  51399. 51: [
  51400. function (e, t, r) {
  51401. "use strict"
  51402. t.exports = {
  51403. 2: "need dictionary",
  51404. 1: "stream end",
  51405. 0: "",
  51406. "-1": "file error",
  51407. "-2": "stream error",
  51408. "-3": "data error",
  51409. "-4": "insufficient memory",
  51410. "-5": "buffer error",
  51411. "-6": "incompatible version"
  51412. }
  51413. },
  51414. {}
  51415. ],
  51416. 52: [
  51417. function (e, t, r) {
  51418. "use strict"
  51419. var n = e("../utils/common"),
  51420. i = 0,
  51421. o = 1
  51422. function a(e) {
  51423. for (var t = e.length; 0 <= --t; ) e[t] = 0
  51424. }
  51425. var s = 0,
  51426. l = 29,
  51427. c = 256,
  51428. u = c + 1 + l,
  51429. f = 30,
  51430. p = 19,
  51431. d = 2 * u + 1,
  51432. h = 15,
  51433. m = 16,
  51434. g = 7,
  51435. y = 256,
  51436. v = 16,
  51437. b = 17,
  51438. w = 18,
  51439. x = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0],
  51440. A = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13],
  51441. _ = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7],
  51442. T = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
  51443. E = new Array(2 * (u + 2))
  51444. a(E)
  51445. var S = new Array(2 * f)
  51446. a(S)
  51447. var C = new Array(512)
  51448. a(C)
  51449. var k = new Array(256)
  51450. a(k)
  51451. var L = new Array(l)
  51452. a(L)
  51453. var P,
  51454. O,
  51455. j,
  51456. R = new Array(f)
  51457. function I(e, t, r, n, i) {
  51458. ;(this.static_tree = e),
  51459. (this.extra_bits = t),
  51460. (this.extra_base = r),
  51461. (this.elems = n),
  51462. (this.max_length = i),
  51463. (this.has_stree = e && e.length)
  51464. }
  51465. function N(e, t) {
  51466. ;(this.dyn_tree = e), (this.max_code = 0), (this.stat_desc = t)
  51467. }
  51468. function M(e) {
  51469. return e < 256 ? C[e] : C[256 + (e >>> 7)]
  51470. }
  51471. function D(e, t) {
  51472. ;(e.pending_buf[e.pending++] = 255 & t), (e.pending_buf[e.pending++] = (t >>> 8) & 255)
  51473. }
  51474. function B(e, t, r) {
  51475. e.bi_valid > m - r
  51476. ? ((e.bi_buf |= (t << e.bi_valid) & 65535), D(e, e.bi_buf), (e.bi_buf = t >> (m - e.bi_valid)), (e.bi_valid += r - m))
  51477. : ((e.bi_buf |= (t << e.bi_valid) & 65535), (e.bi_valid += r))
  51478. }
  51479. function F(e, t, r) {
  51480. B(e, r[2 * t], r[2 * t + 1])
  51481. }
  51482. function U(e, t) {
  51483. for (var r = 0; (r |= 1 & e), (e >>>= 1), (r <<= 1), 0 < --t; );
  51484. return r >>> 1
  51485. }
  51486. function z(e, t, r) {
  51487. var n,
  51488. i,
  51489. o = new Array(h + 1),
  51490. a = 0
  51491. for (n = 1; n <= h; n++) o[n] = a = (a + r[n - 1]) << 1
  51492. for (i = 0; i <= t; i++) {
  51493. var s = e[2 * i + 1]
  51494. 0 !== s && (e[2 * i] = U(o[s]++, s))
  51495. }
  51496. }
  51497. function q(e) {
  51498. var t
  51499. for (t = 0; t < u; t++) e.dyn_ltree[2 * t] = 0
  51500. for (t = 0; t < f; t++) e.dyn_dtree[2 * t] = 0
  51501. for (t = 0; t < p; t++) e.bl_tree[2 * t] = 0
  51502. ;(e.dyn_ltree[2 * y] = 1), (e.opt_len = e.static_len = 0), (e.last_lit = e.matches = 0)
  51503. }
  51504. function G(e) {
  51505. 8 < e.bi_valid ? D(e, e.bi_buf) : 0 < e.bi_valid && (e.pending_buf[e.pending++] = e.bi_buf),
  51506. (e.bi_buf = 0),
  51507. (e.bi_valid = 0)
  51508. }
  51509. function W(e, t, r, n) {
  51510. var i = 2 * t,
  51511. o = 2 * r
  51512. return e[i] < e[o] || (e[i] === e[o] && n[t] <= n[r])
  51513. }
  51514. function V(e, t, r) {
  51515. for (
  51516. var n = e.heap[r], i = r << 1;
  51517. i <= e.heap_len && (i < e.heap_len && W(t, e.heap[i + 1], e.heap[i], e.depth) && i++, !W(t, n, e.heap[i], e.depth));
  51518. )
  51519. (e.heap[r] = e.heap[i]), (r = i), (i <<= 1)
  51520. e.heap[r] = n
  51521. }
  51522. function H(e, t, r) {
  51523. var n,
  51524. i,
  51525. o,
  51526. a,
  51527. s = 0
  51528. if (0 !== e.last_lit)
  51529. for (
  51530. ;
  51531. (n = (e.pending_buf[e.d_buf + 2 * s] << 8) | e.pending_buf[e.d_buf + 2 * s + 1]),
  51532. (i = e.pending_buf[e.l_buf + s]),
  51533. s++,
  51534. 0 === n
  51535. ? F(e, i, t)
  51536. : (F(e, (o = k[i]) + c + 1, t),
  51537. 0 !== (a = x[o]) && B(e, (i -= L[o]), a),
  51538. F(e, (o = M(--n)), r),
  51539. 0 !== (a = A[o]) && B(e, (n -= R[o]), a)),
  51540. s < e.last_lit;
  51541. );
  51542. F(e, y, t)
  51543. }
  51544. function X(e, t) {
  51545. var r,
  51546. n,
  51547. i,
  51548. o = t.dyn_tree,
  51549. a = t.stat_desc.static_tree,
  51550. s = t.stat_desc.has_stree,
  51551. l = t.stat_desc.elems,
  51552. c = -1
  51553. for (e.heap_len = 0, e.heap_max = d, r = 0; r < l; r++)
  51554. 0 !== o[2 * r] ? ((e.heap[++e.heap_len] = c = r), (e.depth[r] = 0)) : (o[2 * r + 1] = 0)
  51555. for (; e.heap_len < 2; )
  51556. (o[2 * (i = e.heap[++e.heap_len] = c < 2 ? ++c : 0)] = 1),
  51557. (e.depth[i] = 0),
  51558. e.opt_len--,
  51559. s && (e.static_len -= a[2 * i + 1])
  51560. for (t.max_code = c, r = e.heap_len >> 1; 1 <= r; r--) V(e, o, r)
  51561. for (
  51562. i = l;
  51563. (r = e.heap[1]),
  51564. (e.heap[1] = e.heap[e.heap_len--]),
  51565. V(e, o, 1),
  51566. (n = e.heap[1]),
  51567. (e.heap[--e.heap_max] = r),
  51568. (e.heap[--e.heap_max] = n),
  51569. (o[2 * i] = o[2 * r] + o[2 * n]),
  51570. (e.depth[i] = (e.depth[r] >= e.depth[n] ? e.depth[r] : e.depth[n]) + 1),
  51571. (o[2 * r + 1] = o[2 * n + 1] = i),
  51572. (e.heap[1] = i++),
  51573. V(e, o, 1),
  51574. 2 <= e.heap_len;
  51575. );
  51576. ;(e.heap[--e.heap_max] = e.heap[1]),
  51577. (function (e, t) {
  51578. var r,
  51579. n,
  51580. i,
  51581. o,
  51582. a,
  51583. s,
  51584. l = t.dyn_tree,
  51585. c = t.max_code,
  51586. u = t.stat_desc.static_tree,
  51587. f = t.stat_desc.has_stree,
  51588. p = t.stat_desc.extra_bits,
  51589. m = t.stat_desc.extra_base,
  51590. g = t.stat_desc.max_length,
  51591. y = 0
  51592. for (o = 0; o <= h; o++) e.bl_count[o] = 0
  51593. for (l[2 * e.heap[e.heap_max] + 1] = 0, r = e.heap_max + 1; r < d; r++)
  51594. g < (o = l[2 * l[2 * (n = e.heap[r]) + 1] + 1] + 1) && ((o = g), y++),
  51595. (l[2 * n + 1] = o),
  51596. c < n ||
  51597. (e.bl_count[o]++,
  51598. (a = 0),
  51599. m <= n && (a = p[n - m]),
  51600. (s = l[2 * n]),
  51601. (e.opt_len += s * (o + a)),
  51602. f && (e.static_len += s * (u[2 * n + 1] + a)))
  51603. if (0 !== y) {
  51604. do {
  51605. for (o = g - 1; 0 === e.bl_count[o]; ) o--
  51606. e.bl_count[o]--, (e.bl_count[o + 1] += 2), e.bl_count[g]--, (y -= 2)
  51607. } while (0 < y)
  51608. for (o = g; 0 !== o; o--)
  51609. for (n = e.bl_count[o]; 0 !== n; )
  51610. c < (i = e.heap[--r]) ||
  51611. (l[2 * i + 1] !== o && ((e.opt_len += (o - l[2 * i + 1]) * l[2 * i]), (l[2 * i + 1] = o)), n--)
  51612. }
  51613. })(e, t),
  51614. z(o, c, e.bl_count)
  51615. }
  51616. function Y(e, t, r) {
  51617. var n,
  51618. i,
  51619. o = -1,
  51620. a = t[1],
  51621. s = 0,
  51622. l = 7,
  51623. c = 4
  51624. for (0 === a && ((l = 138), (c = 3)), t[2 * (r + 1) + 1] = 65535, n = 0; n <= r; n++)
  51625. (i = a),
  51626. (a = t[2 * (n + 1) + 1]),
  51627. (++s < l && i === a) ||
  51628. (s < c
  51629. ? (e.bl_tree[2 * i] += s)
  51630. : 0 !== i
  51631. ? (i !== o && e.bl_tree[2 * i]++, e.bl_tree[2 * v]++)
  51632. : s <= 10
  51633. ? e.bl_tree[2 * b]++
  51634. : e.bl_tree[2 * w]++,
  51635. (o = i),
  51636. (c = (s = 0) === a ? ((l = 138), 3) : i === a ? ((l = 6), 3) : ((l = 7), 4)))
  51637. }
  51638. function K(e, t, r) {
  51639. var n,
  51640. i,
  51641. o = -1,
  51642. a = t[1],
  51643. s = 0,
  51644. l = 7,
  51645. c = 4
  51646. for (0 === a && ((l = 138), (c = 3)), n = 0; n <= r; n++)
  51647. if (((i = a), (a = t[2 * (n + 1) + 1]), !(++s < l && i === a))) {
  51648. if (s < c) for (; F(e, i, e.bl_tree), 0 != --s; );
  51649. else
  51650. 0 !== i
  51651. ? (i !== o && (F(e, i, e.bl_tree), s--), F(e, v, e.bl_tree), B(e, s - 3, 2))
  51652. : s <= 10
  51653. ? (F(e, b, e.bl_tree), B(e, s - 3, 3))
  51654. : (F(e, w, e.bl_tree), B(e, s - 11, 7))
  51655. ;(o = i), (c = (s = 0) === a ? ((l = 138), 3) : i === a ? ((l = 6), 3) : ((l = 7), 4))
  51656. }
  51657. }
  51658. a(R)
  51659. var Z = !1
  51660. function Q(e, t, r, i) {
  51661. B(e, (s << 1) + (i ? 1 : 0), 3),
  51662. (function (e, t, r, i) {
  51663. G(e), i && (D(e, r), D(e, ~r)), n.arraySet(e.pending_buf, e.window, t, r, e.pending), (e.pending += r)
  51664. })(e, t, r, !0)
  51665. }
  51666. ;(r._tr_init = function (e) {
  51667. Z ||
  51668. ((function () {
  51669. var e,
  51670. t,
  51671. r,
  51672. n,
  51673. i,
  51674. o = new Array(h + 1)
  51675. for (n = r = 0; n < l - 1; n++) for (L[n] = r, e = 0; e < 1 << x[n]; e++) k[r++] = n
  51676. for (k[r - 1] = n, n = i = 0; n < 16; n++) for (R[n] = i, e = 0; e < 1 << A[n]; e++) C[i++] = n
  51677. for (i >>= 7; n < f; n++) for (R[n] = i << 7, e = 0; e < 1 << (A[n] - 7); e++) C[256 + i++] = n
  51678. for (t = 0; t <= h; t++) o[t] = 0
  51679. for (e = 0; e <= 143; ) (E[2 * e + 1] = 8), e++, o[8]++
  51680. for (; e <= 255; ) (E[2 * e + 1] = 9), e++, o[9]++
  51681. for (; e <= 279; ) (E[2 * e + 1] = 7), e++, o[7]++
  51682. for (; e <= 287; ) (E[2 * e + 1] = 8), e++, o[8]++
  51683. for (z(E, u + 1, o), e = 0; e < f; e++) (S[2 * e + 1] = 5), (S[2 * e] = U(e, 5))
  51684. ;(P = new I(E, x, c + 1, u, h)), (O = new I(S, A, 0, f, h)), (j = new I(new Array(0), _, 0, p, g))
  51685. })(),
  51686. (Z = !0)),
  51687. (e.l_desc = new N(e.dyn_ltree, P)),
  51688. (e.d_desc = new N(e.dyn_dtree, O)),
  51689. (e.bl_desc = new N(e.bl_tree, j)),
  51690. (e.bi_buf = 0),
  51691. (e.bi_valid = 0),
  51692. q(e)
  51693. }),
  51694. (r._tr_stored_block = Q),
  51695. (r._tr_flush_block = function (e, t, r, n) {
  51696. var a,
  51697. s,
  51698. l = 0
  51699. 0 < e.level
  51700. ? (2 === e.strm.data_type &&
  51701. (e.strm.data_type = (function (e) {
  51702. var t,
  51703. r = 4093624447
  51704. for (t = 0; t <= 31; t++, r >>>= 1) if (1 & r && 0 !== e.dyn_ltree[2 * t]) return i
  51705. if (0 !== e.dyn_ltree[18] || 0 !== e.dyn_ltree[20] || 0 !== e.dyn_ltree[26]) return o
  51706. for (t = 32; t < c; t++) if (0 !== e.dyn_ltree[2 * t]) return o
  51707. return i
  51708. })(e)),
  51709. X(e, e.l_desc),
  51710. X(e, e.d_desc),
  51711. (l = (function (e) {
  51712. var t
  51713. for (
  51714. Y(e, e.dyn_ltree, e.l_desc.max_code), Y(e, e.dyn_dtree, e.d_desc.max_code), X(e, e.bl_desc), t = p - 1;
  51715. 3 <= t && 0 === e.bl_tree[2 * T[t] + 1];
  51716. t--
  51717. );
  51718. return (e.opt_len += 3 * (t + 1) + 5 + 5 + 4), t
  51719. })(e)),
  51720. (a = (e.opt_len + 3 + 7) >>> 3),
  51721. (s = (e.static_len + 3 + 7) >>> 3) <= a && (a = s))
  51722. : (a = s = r + 5),
  51723. r + 4 <= a && -1 !== t
  51724. ? Q(e, t, r, n)
  51725. : 4 === e.strategy || s === a
  51726. ? (B(e, 2 + (n ? 1 : 0), 3), H(e, E, S))
  51727. : (B(e, 4 + (n ? 1 : 0), 3),
  51728. (function (e, t, r, n) {
  51729. var i
  51730. for (B(e, t - 257, 5), B(e, r - 1, 5), B(e, n - 4, 4), i = 0; i < n; i++) B(e, e.bl_tree[2 * T[i] + 1], 3)
  51731. K(e, e.dyn_ltree, t - 1), K(e, e.dyn_dtree, r - 1)
  51732. })(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, l + 1),
  51733. H(e, e.dyn_ltree, e.dyn_dtree)),
  51734. q(e),
  51735. n && G(e)
  51736. }),
  51737. (r._tr_tally = function (e, t, r) {
  51738. return (
  51739. (e.pending_buf[e.d_buf + 2 * e.last_lit] = (t >>> 8) & 255),
  51740. (e.pending_buf[e.d_buf + 2 * e.last_lit + 1] = 255 & t),
  51741. (e.pending_buf[e.l_buf + e.last_lit] = 255 & r),
  51742. e.last_lit++,
  51743. 0 === t ? e.dyn_ltree[2 * r]++ : (e.matches++, t--, e.dyn_ltree[2 * (k[r] + c + 1)]++, e.dyn_dtree[2 * M(t)]++),
  51744. e.last_lit === e.lit_bufsize - 1
  51745. )
  51746. }),
  51747. (r._tr_align = function (e) {
  51748. B(e, 2, 3),
  51749. F(e, y, E),
  51750. (function (e) {
  51751. 16 === e.bi_valid
  51752. ? (D(e, e.bi_buf), (e.bi_buf = 0), (e.bi_valid = 0))
  51753. : 8 <= e.bi_valid && ((e.pending_buf[e.pending++] = 255 & e.bi_buf), (e.bi_buf >>= 8), (e.bi_valid -= 8))
  51754. })(e)
  51755. })
  51756. },
  51757. {
  51758. "../utils/common": 41
  51759. }
  51760. ],
  51761. 53: [
  51762. function (e, t, r) {
  51763. "use strict"
  51764. t.exports = function () {
  51765. ;(this.input = null),
  51766. (this.next_in = 0),
  51767. (this.avail_in = 0),
  51768. (this.total_in = 0),
  51769. (this.output = null),
  51770. (this.next_out = 0),
  51771. (this.avail_out = 0),
  51772. (this.total_out = 0),
  51773. (this.msg = ""),
  51774. (this.state = null),
  51775. (this.data_type = 2),
  51776. (this.adler = 0)
  51777. }
  51778. },
  51779. {}
  51780. ],
  51781. 54: [
  51782. function (e, t, i) {
  51783. ;(function (e) {
  51784. !(function (e, t) {
  51785. "use strict"
  51786. if (!e.setImmediate) {
  51787. var r,
  51788. i,
  51789. o,
  51790. a,
  51791. s = 1,
  51792. l = {},
  51793. c = !1,
  51794. u = e.document,
  51795. f = Object.getPrototypeOf && Object.getPrototypeOf(e)
  51796. ;(f = f && f.setTimeout ? f : e),
  51797. (r =
  51798. "[object process]" === {}.toString.call(e.process)
  51799. ? function (e) {
  51800. n.nextTick(function () {
  51801. d(e)
  51802. })
  51803. }
  51804. : (function () {
  51805. if (e.postMessage && !e.importScripts) {
  51806. var t = !0,
  51807. r = e.onmessage
  51808. return (
  51809. (e.onmessage = function () {
  51810. t = !1
  51811. }),
  51812. e.postMessage("", "*"),
  51813. (e.onmessage = r),
  51814. t
  51815. )
  51816. }
  51817. })()
  51818. ? ((a = "setImmediate$" + Math.random() + "$"),
  51819. e.addEventListener ? e.addEventListener("message", h, !1) : e.attachEvent("onmessage", h),
  51820. function (t) {
  51821. e.postMessage(a + t, "*")
  51822. })
  51823. : e.MessageChannel
  51824. ? (((o = new MessageChannel()).port1.onmessage = function (e) {
  51825. d(e.data)
  51826. }),
  51827. function (e) {
  51828. o.port2.postMessage(e)
  51829. })
  51830. : u && "onreadystatechange" in u.createElement("script")
  51831. ? ((i = u.documentElement),
  51832. function (e) {
  51833. var t = u.createElement("script")
  51834. ;(t.onreadystatechange = function () {
  51835. d(e), (t.onreadystatechange = null), i.removeChild(t), (t = null)
  51836. }),
  51837. i.appendChild(t)
  51838. })
  51839. : function (e) {
  51840. setTimeout(d, 0, e)
  51841. }),
  51842. (f.setImmediate = function (e) {
  51843. "function" != typeof e && (e = new Function("" + e))
  51844. for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) t[n] = arguments[n + 1]
  51845. var i = {
  51846. callback: e,
  51847. args: t
  51848. }
  51849. return (l[s] = i), r(s), s++
  51850. }),
  51851. (f.clearImmediate = p)
  51852. }
  51853. function p(e) {
  51854. delete l[e]
  51855. }
  51856. function d(e) {
  51857. if (c) setTimeout(d, 0, e)
  51858. else {
  51859. var r = l[e]
  51860. if (r) {
  51861. c = !0
  51862. try {
  51863. !(function (e) {
  51864. var r = e.callback,
  51865. n = e.args
  51866. switch (n.length) {
  51867. case 0:
  51868. r()
  51869. break
  51870. case 1:
  51871. r(n[0])
  51872. break
  51873. case 2:
  51874. r(n[0], n[1])
  51875. break
  51876. case 3:
  51877. r(n[0], n[1], n[2])
  51878. break
  51879. default:
  51880. r.apply(t, n)
  51881. }
  51882. })(r)
  51883. } finally {
  51884. p(e), (c = !1)
  51885. }
  51886. }
  51887. }
  51888. }
  51889. function h(t) {
  51890. t.source === e && "string" == typeof t.data && 0 === t.data.indexOf(a) && d(+t.data.slice(a.length))
  51891. }
  51892. })("undefined" == typeof self ? (void 0 === e ? this : e) : self)
  51893. }).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {})
  51894. },
  51895. {}
  51896. ]
  51897. },
  51898. {},
  51899. [10]
  51900. )(10)
  51901. })
  51902. }).call(this, r("b639").Buffer, r("c8ba"), r("4362"))
  51903. },
  51904. c51a: function (e, t, r) {
  51905. var n = r("844f"),
  51906. i = r("078a"),
  51907. o = r("cef9"),
  51908. a = r("493b")
  51909. e.exports = {
  51910. xml2js: n,
  51911. xml2json: i,
  51912. js2xml: o,
  51913. json2xml: a
  51914. }
  51915. },
  51916. c6b6: function (e, t) {
  51917. var r = {}.toString
  51918. e.exports = function (e) {
  51919. return r.call(e).slice(8, -1)
  51920. }
  51921. },
  51922. c6cd: function (e, t, r) {
  51923. var n = r("da84"),
  51924. i = r("ce4e"),
  51925. o = "__core-js_shared__",
  51926. a = n[o] || i(o, {})
  51927. e.exports = a
  51928. },
  51929. c8ba: function (e, t) {
  51930. var r
  51931. r = (function () {
  51932. return this
  51933. })()
  51934. try {
  51935. r = r || new Function("return this")()
  51936. } catch (n) {
  51937. "object" === typeof window && (r = window)
  51938. }
  51939. e.exports = r
  51940. },
  51941. c8d2: function (e, t, r) {
  51942. var n = r("d039"),
  51943. i = r("5899"),
  51944. o = "​…᠎"
  51945. e.exports = function (e) {
  51946. return n(function () {
  51947. return !!i[e]() || o[e]() != o || i[e].name !== e
  51948. })
  51949. }
  51950. },
  51951. ca84: function (e, t, r) {
  51952. var n = r("5135"),
  51953. i = r("fc6a"),
  51954. o = r("4d64").indexOf,
  51955. a = r("d012")
  51956. e.exports = function (e, t) {
  51957. var r,
  51958. s = i(e),
  51959. l = 0,
  51960. c = []
  51961. for (r in s) !n(a, r) && n(s, r) && c.push(r)
  51962. while (t.length > l) n(s, (r = t[l++])) && (~o(c, r) || c.push(r))
  51963. return c
  51964. }
  51965. },
  51966. caad: function (e, t, r) {
  51967. "use strict"
  51968. var n = r("23e7"),
  51969. i = r("4d64").includes,
  51970. o = r("44d2")
  51971. n(
  51972. {
  51973. target: "Array",
  51974. proto: !0
  51975. },
  51976. {
  51977. includes: function (e) {
  51978. return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
  51979. }
  51980. }
  51981. ),
  51982. o("includes")
  51983. },
  51984. cc12: function (e, t, r) {
  51985. var n = r("da84"),
  51986. i = r("861d"),
  51987. o = n.document,
  51988. a = i(o) && i(o.createElement)
  51989. e.exports = function (e) {
  51990. return a ? o.createElement(e) : {}
  51991. }
  51992. },
  51993. ce4e: function (e, t, r) {
  51994. var n = r("da84")
  51995. e.exports = function (e, t) {
  51996. try {
  51997. Object.defineProperty(n, e, {
  51998. value: t,
  51999. configurable: !0,
  52000. writable: !0
  52001. })
  52002. } catch (r) {
  52003. n[e] = t
  52004. }
  52005. return t
  52006. }
  52007. },
  52008. cef9: function (e, t, r) {
  52009. var n,
  52010. i,
  52011. o = r("96c1"),
  52012. a = r("9b12").isArray
  52013. function s(e) {
  52014. var t = o.copyOptions(e)
  52015. return (
  52016. o.ensureFlagExists("ignoreDeclaration", t),
  52017. o.ensureFlagExists("ignoreInstruction", t),
  52018. o.ensureFlagExists("ignoreAttributes", t),
  52019. o.ensureFlagExists("ignoreText", t),
  52020. o.ensureFlagExists("ignoreComment", t),
  52021. o.ensureFlagExists("ignoreCdata", t),
  52022. o.ensureFlagExists("ignoreDoctype", t),
  52023. o.ensureFlagExists("compact", t),
  52024. o.ensureFlagExists("indentText", t),
  52025. o.ensureFlagExists("indentCdata", t),
  52026. o.ensureFlagExists("indentAttributes", t),
  52027. o.ensureFlagExists("indentInstruction", t),
  52028. o.ensureFlagExists("fullTagEmptyElement", t),
  52029. o.ensureFlagExists("noQuotesForNativeAttributes", t),
  52030. o.ensureSpacesExists(t),
  52031. "number" === typeof t.spaces && (t.spaces = Array(t.spaces + 1).join(" ")),
  52032. o.ensureKeyExists("declaration", t),
  52033. o.ensureKeyExists("instruction", t),
  52034. o.ensureKeyExists("attributes", t),
  52035. o.ensureKeyExists("text", t),
  52036. o.ensureKeyExists("comment", t),
  52037. o.ensureKeyExists("cdata", t),
  52038. o.ensureKeyExists("doctype", t),
  52039. o.ensureKeyExists("type", t),
  52040. o.ensureKeyExists("name", t),
  52041. o.ensureKeyExists("elements", t),
  52042. o.checkFnExists("doctype", t),
  52043. o.checkFnExists("instruction", t),
  52044. o.checkFnExists("cdata", t),
  52045. o.checkFnExists("comment", t),
  52046. o.checkFnExists("text", t),
  52047. o.checkFnExists("instructionName", t),
  52048. o.checkFnExists("elementName", t),
  52049. o.checkFnExists("attributeName", t),
  52050. o.checkFnExists("attributeValue", t),
  52051. o.checkFnExists("attributes", t),
  52052. o.checkFnExists("fullTagEmptyElement", t),
  52053. t
  52054. )
  52055. }
  52056. function l(e, t, r) {
  52057. return (!r && e.spaces ? "\n" : "") + Array(t + 1).join(e.spaces)
  52058. }
  52059. function c(e, t, r) {
  52060. if (t.ignoreAttributes) return ""
  52061. "attributesFn" in t && (e = t.attributesFn(e, i, n))
  52062. var o,
  52063. a,
  52064. s,
  52065. c,
  52066. u = []
  52067. for (o in e)
  52068. e.hasOwnProperty(o) &&
  52069. null !== e[o] &&
  52070. void 0 !== e[o] &&
  52071. ((c = t.noQuotesForNativeAttributes && "string" !== typeof e[o] ? "" : '"'),
  52072. (a = "" + e[o]),
  52073. (a = a.replace(/"/g, "&quot;")),
  52074. (s = "attributeNameFn" in t ? t.attributeNameFn(o, a, i, n) : o),
  52075. u.push(t.spaces && t.indentAttributes ? l(t, r + 1, !1) : " "),
  52076. u.push(s + "=" + c + ("attributeValueFn" in t ? t.attributeValueFn(a, o, i, n) : a) + c))
  52077. return e && Object.keys(e).length && t.spaces && t.indentAttributes && u.push(l(t, r, !1)), u.join("")
  52078. }
  52079. function u(e, t, r) {
  52080. return (n = e), (i = "xml"), t.ignoreDeclaration ? "" : "<?xml" + c(e[t.attributesKey], t, r) + "?>"
  52081. }
  52082. function f(e, t, r) {
  52083. if (t.ignoreInstruction) return ""
  52084. var o
  52085. for (o in e) if (e.hasOwnProperty(o)) break
  52086. var a = "instructionNameFn" in t ? t.instructionNameFn(o, e[o], i, n) : o
  52087. if ("object" === typeof e[o]) return (n = e), (i = a), "<?" + a + c(e[o][t.attributesKey], t, r) + "?>"
  52088. var s = e[o] ? e[o] : ""
  52089. return "instructionFn" in t && (s = t.instructionFn(s, o, i, n)), "<?" + a + (s ? " " + s : "") + "?>"
  52090. }
  52091. function p(e, t) {
  52092. return t.ignoreComment ? "" : "\x3c!--" + ("commentFn" in t ? t.commentFn(e, i, n) : e) + "--\x3e"
  52093. }
  52094. function d(e, t) {
  52095. return t.ignoreCdata ? "" : "<![CDATA[" + ("cdataFn" in t ? t.cdataFn(e, i, n) : e.replace("]]>", "]]]]><![CDATA[>")) + "]]>"
  52096. }
  52097. function h(e, t) {
  52098. return t.ignoreDoctype ? "" : "<!DOCTYPE " + ("doctypeFn" in t ? t.doctypeFn(e, i, n) : e) + ">"
  52099. }
  52100. function m(e, t) {
  52101. return t.ignoreText
  52102. ? ""
  52103. : ((e = "" + e),
  52104. (e = e.replace(/&amp;/g, "&")),
  52105. (e = e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")),
  52106. "textFn" in t ? t.textFn(e, i, n) : e)
  52107. }
  52108. function g(e, t) {
  52109. var r
  52110. if (e.elements && e.elements.length)
  52111. for (r = 0; r < e.elements.length; ++r)
  52112. switch (e.elements[r][t.typeKey]) {
  52113. case "text":
  52114. if (t.indentText) return !0
  52115. break
  52116. case "cdata":
  52117. if (t.indentCdata) return !0
  52118. break
  52119. case "instruction":
  52120. if (t.indentInstruction) return !0
  52121. break
  52122. case "doctype":
  52123. case "comment":
  52124. case "element":
  52125. return !0
  52126. default:
  52127. return !0
  52128. }
  52129. return !1
  52130. }
  52131. function y(e, t, r) {
  52132. ;(n = e), (i = e.name)
  52133. var o = [],
  52134. a = "elementNameFn" in t ? t.elementNameFn(e.name, e) : e.name
  52135. o.push("<" + a), e[t.attributesKey] && o.push(c(e[t.attributesKey], t, r))
  52136. var s = (e[t.elementsKey] && e[t.elementsKey].length) || (e[t.attributesKey] && "preserve" === e[t.attributesKey]["xml:space"])
  52137. return (
  52138. s || (s = "fullTagEmptyElementFn" in t ? t.fullTagEmptyElementFn(e.name, e) : t.fullTagEmptyElement),
  52139. s
  52140. ? (o.push(">"),
  52141. e[t.elementsKey] && e[t.elementsKey].length && (o.push(v(e[t.elementsKey], t, r + 1)), (n = e), (i = e.name)),
  52142. o.push(t.spaces && g(e, t) ? "\n" + Array(r + 1).join(t.spaces) : ""),
  52143. o.push("</" + a + ">"))
  52144. : o.push("/>"),
  52145. o.join("")
  52146. )
  52147. }
  52148. function v(e, t, r, n) {
  52149. return e.reduce(function (e, i) {
  52150. var o = l(t, r, n && !e)
  52151. switch (i.type) {
  52152. case "element":
  52153. return e + o + y(i, t, r)
  52154. case "comment":
  52155. return e + o + p(i[t.commentKey], t)
  52156. case "doctype":
  52157. return e + o + h(i[t.doctypeKey], t)
  52158. case "cdata":
  52159. return e + (t.indentCdata ? o : "") + d(i[t.cdataKey], t)
  52160. case "text":
  52161. return e + (t.indentText ? o : "") + m(i[t.textKey], t)
  52162. case "instruction":
  52163. var a = {}
  52164. return (a[i[t.nameKey]] = i[t.attributesKey] ? i : i[t.instructionKey]), e + (t.indentInstruction ? o : "") + f(a, t, r)
  52165. }
  52166. }, "")
  52167. }
  52168. function b(e, t, r) {
  52169. var n
  52170. for (n in e)
  52171. if (e.hasOwnProperty(n))
  52172. switch (n) {
  52173. case t.parentKey:
  52174. case t.attributesKey:
  52175. break
  52176. case t.textKey:
  52177. if (t.indentText || r) return !0
  52178. break
  52179. case t.cdataKey:
  52180. if (t.indentCdata || r) return !0
  52181. break
  52182. case t.instructionKey:
  52183. if (t.indentInstruction || r) return !0
  52184. break
  52185. case t.doctypeKey:
  52186. case t.commentKey:
  52187. return !0
  52188. default:
  52189. return !0
  52190. }
  52191. return !1
  52192. }
  52193. function w(e, t, r, o, a) {
  52194. ;(n = e), (i = t)
  52195. var s = "elementNameFn" in r ? r.elementNameFn(t, e) : t
  52196. if ("undefined" === typeof e || null === e || "" === e)
  52197. return ("fullTagEmptyElementFn" in r && r.fullTagEmptyElementFn(t, e)) || r.fullTagEmptyElement
  52198. ? "<" + s + "></" + s + ">"
  52199. : "<" + s + "/>"
  52200. var u = []
  52201. if (t) {
  52202. if ((u.push("<" + s), "object" !== typeof e)) return u.push(">" + m(e, r) + "</" + s + ">"), u.join("")
  52203. e[r.attributesKey] && u.push(c(e[r.attributesKey], r, o))
  52204. var f = b(e, r, !0) || (e[r.attributesKey] && "preserve" === e[r.attributesKey]["xml:space"])
  52205. if ((f || (f = "fullTagEmptyElementFn" in r ? r.fullTagEmptyElementFn(t, e) : r.fullTagEmptyElement), !f)) return u.push("/>"), u.join("")
  52206. u.push(">")
  52207. }
  52208. return u.push(x(e, r, o + 1, !1)), (n = e), (i = t), t && u.push((a ? l(r, o, !1) : "") + "</" + s + ">"), u.join("")
  52209. }
  52210. function x(e, t, r, n) {
  52211. var i,
  52212. o,
  52213. s,
  52214. c = []
  52215. for (o in e)
  52216. if (e.hasOwnProperty(o))
  52217. for (s = a(e[o]) ? e[o] : [e[o]], i = 0; i < s.length; ++i) {
  52218. switch (o) {
  52219. case t.declarationKey:
  52220. c.push(u(s[i], t, r))
  52221. break
  52222. case t.instructionKey:
  52223. c.push((t.indentInstruction ? l(t, r, n) : "") + f(s[i], t, r))
  52224. break
  52225. case t.attributesKey:
  52226. case t.parentKey:
  52227. break
  52228. case t.textKey:
  52229. c.push((t.indentText ? l(t, r, n) : "") + m(s[i], t))
  52230. break
  52231. case t.cdataKey:
  52232. c.push((t.indentCdata ? l(t, r, n) : "") + d(s[i], t))
  52233. break
  52234. case t.doctypeKey:
  52235. c.push(l(t, r, n) + h(s[i], t))
  52236. break
  52237. case t.commentKey:
  52238. c.push(l(t, r, n) + p(s[i], t))
  52239. break
  52240. default:
  52241. c.push(l(t, r, n) + w(s[i], o, t, r, b(s[i], t)))
  52242. }
  52243. n = n && !c.length
  52244. }
  52245. return c.join("")
  52246. }
  52247. e.exports = function (e, t) {
  52248. t = s(t)
  52249. var r = []
  52250. return (
  52251. (n = e),
  52252. (i = "_root_"),
  52253. t.compact
  52254. ? r.push(x(e, t, 0, !0))
  52255. : (e[t.declarationKey] && r.push(u(e[t.declarationKey], t, 0)),
  52256. e[t.elementsKey] && e[t.elementsKey].length && r.push(v(e[t.elementsKey], t, 0, !r.length))),
  52257. r.join("")
  52258. )
  52259. }
  52260. },
  52261. d012: function (e, t) {
  52262. e.exports = {}
  52263. },
  52264. d039: function (e, t) {
  52265. e.exports = function (e) {
  52266. try {
  52267. return !!e()
  52268. } catch (t) {
  52269. return !0
  52270. }
  52271. }
  52272. },
  52273. d066: function (e, t, r) {
  52274. var n = r("da84"),
  52275. i = function (e) {
  52276. return "function" == typeof e ? e : void 0
  52277. }
  52278. e.exports = function (e, t) {
  52279. return arguments.length < 2 ? i(n[e]) : n[e] && n[e][t]
  52280. }
  52281. },
  52282. d17b: function (e, t, r) {
  52283. e.exports = r("e372").Transform
  52284. },
  52285. d1e7: function (e, t, r) {
  52286. "use strict"
  52287. var n = {}.propertyIsEnumerable,
  52288. i = Object.getOwnPropertyDescriptor,
  52289. o =
  52290. i &&
  52291. !n.call(
  52292. {
  52293. 1: 2
  52294. },
  52295. 1
  52296. )
  52297. t.f = o
  52298. ? function (e) {
  52299. var t = i(this, e)
  52300. return !!t && t.enumerable
  52301. }
  52302. : n
  52303. },
  52304. d28b: function (e, t, r) {
  52305. var n = r("746f")
  52306. n("iterator")
  52307. },
  52308. d2bb: function (e, t, r) {
  52309. var n = r("825a"),
  52310. i = r("3bbe")
  52311. e.exports =
  52312. Object.setPrototypeOf ||
  52313. ("__proto__" in {}
  52314. ? (function () {
  52315. var e,
  52316. t = !1,
  52317. r = {}
  52318. try {
  52319. ;(e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set), e.call(r, []), (t = r instanceof Array)
  52320. } catch (o) {}
  52321. return function (r, o) {
  52322. return n(r), i(o), t ? e.call(r, o) : (r.__proto__ = o), r
  52323. }
  52324. })()
  52325. : void 0)
  52326. },
  52327. d3b7: function (e, t, r) {
  52328. var n = r("00ee"),
  52329. i = r("6eeb"),
  52330. o = r("b041")
  52331. n ||
  52332. i(Object.prototype, "toString", o, {
  52333. unsafe: !0
  52334. })
  52335. },
  52336. d44e: function (e, t, r) {
  52337. var n = r("9bf2").f,
  52338. i = r("5135"),
  52339. o = r("b622"),
  52340. a = o("toStringTag")
  52341. e.exports = function (e, t, r) {
  52342. e &&
  52343. !i((e = r ? e : e.prototype), a) &&
  52344. n(e, a, {
  52345. configurable: !0,
  52346. value: t
  52347. })
  52348. }
  52349. },
  52350. d485: function (e, t, r) {
  52351. e.exports = o
  52352. var n = r("faa1").EventEmitter,
  52353. i = r("3fb5")
  52354. function o() {
  52355. n.call(this)
  52356. }
  52357. i(o, n),
  52358. (o.Readable = r("e372")),
  52359. (o.Writable = r("2c63")),
  52360. (o.Duplex = r("0960")),
  52361. (o.Transform = r("d17b")),
  52362. (o.PassThrough = r("c2ae")),
  52363. (o.Stream = o),
  52364. (o.prototype.pipe = function (e, t) {
  52365. var r = this
  52366. function i(t) {
  52367. e.writable && !1 === e.write(t) && r.pause && r.pause()
  52368. }
  52369. function o() {
  52370. r.readable && r.resume && r.resume()
  52371. }
  52372. r.on("data", i), e.on("drain", o), e._isStdio || (t && !1 === t.end) || (r.on("end", s), r.on("close", l))
  52373. var a = !1
  52374. function s() {
  52375. a || ((a = !0), e.end())
  52376. }
  52377. function l() {
  52378. a || ((a = !0), "function" === typeof e.destroy && e.destroy())
  52379. }
  52380. function c(e) {
  52381. if ((u(), 0 === n.listenerCount(this, "error"))) throw e
  52382. }
  52383. function u() {
  52384. r.removeListener("data", i),
  52385. e.removeListener("drain", o),
  52386. r.removeListener("end", s),
  52387. r.removeListener("close", l),
  52388. r.removeListener("error", c),
  52389. e.removeListener("error", c),
  52390. r.removeListener("end", u),
  52391. r.removeListener("close", u),
  52392. e.removeListener("close", u)
  52393. }
  52394. return r.on("error", c), e.on("error", c), r.on("end", u), r.on("close", u), e.on("close", u), e.emit("pipe", r), e
  52395. })
  52396. },
  52397. d784: function (e, t, r) {
  52398. "use strict"
  52399. r("ac1f")
  52400. var n = r("6eeb"),
  52401. i = r("9263"),
  52402. o = r("d039"),
  52403. a = r("b622"),
  52404. s = r("9112"),
  52405. l = a("species"),
  52406. c = RegExp.prototype
  52407. e.exports = function (e, t, r, u) {
  52408. var f = a(e),
  52409. p = !o(function () {
  52410. var t = {}
  52411. return (
  52412. (t[f] = function () {
  52413. return 7
  52414. }),
  52415. 7 != ""[e](t)
  52416. )
  52417. }),
  52418. d =
  52419. p &&
  52420. !o(function () {
  52421. var t = !1,
  52422. r = /a/
  52423. return (
  52424. "split" === e &&
  52425. ((r = {}),
  52426. (r.constructor = {}),
  52427. (r.constructor[l] = function () {
  52428. return r
  52429. }),
  52430. (r.flags = ""),
  52431. (r[f] = /./[f])),
  52432. (r.exec = function () {
  52433. return (t = !0), null
  52434. }),
  52435. r[f](""),
  52436. !t
  52437. )
  52438. })
  52439. if (!p || !d || r) {
  52440. var h = /./[f],
  52441. m = t(f, ""[e], function (e, t, r, n, o) {
  52442. var a = t.exec
  52443. return a === i || a === c.exec
  52444. ? p && !o
  52445. ? {
  52446. done: !0,
  52447. value: h.call(t, r, n)
  52448. }
  52449. : {
  52450. done: !0,
  52451. value: e.call(r, t, n)
  52452. }
  52453. : {
  52454. done: !1
  52455. }
  52456. })
  52457. n(String.prototype, e, m[0]), n(c, f, m[1])
  52458. }
  52459. u && s(c[f], "sham", !0)
  52460. }
  52461. },
  52462. d9b5: function (e, t, r) {
  52463. var n = r("d066"),
  52464. i = r("fdbf")
  52465. e.exports = i
  52466. ? function (e) {
  52467. return "symbol" == typeof e
  52468. }
  52469. : function (e) {
  52470. var t = n("Symbol")
  52471. return "function" == typeof t && Object(e) instanceof t
  52472. }
  52473. },
  52474. da84: function (e, t, r) {
  52475. ;(function (t) {
  52476. var r = function (e) {
  52477. return e && e.Math == Math && e
  52478. }
  52479. e.exports =
  52480. r("object" == typeof globalThis && globalThis) ||
  52481. r("object" == typeof window && window) ||
  52482. r("object" == typeof self && self) ||
  52483. r("object" == typeof t && t) ||
  52484. (function () {
  52485. return this
  52486. })() ||
  52487. Function("return this")()
  52488. }).call(this, r("c8ba"))
  52489. },
  52490. dbb4: function (e, t, r) {
  52491. var n = r("23e7"),
  52492. i = r("83ab"),
  52493. o = r("56ef"),
  52494. a = r("fc6a"),
  52495. s = r("06cf"),
  52496. l = r("8418")
  52497. n(
  52498. {
  52499. target: "Object",
  52500. stat: !0,
  52501. sham: !i
  52502. },
  52503. {
  52504. getOwnPropertyDescriptors: function (e) {
  52505. var t,
  52506. r,
  52507. n = a(e),
  52508. i = s.f,
  52509. c = o(n),
  52510. u = {},
  52511. f = 0
  52512. while (c.length > f) (r = i(n, (t = c[f++]))), void 0 !== r && l(u, t, r)
  52513. return u
  52514. }
  52515. }
  52516. )
  52517. },
  52518. dc14: function (e, t, r) {
  52519. "use strict"
  52520. ;(function (t, n) {
  52521. var i = r("966d")
  52522. function o(e) {
  52523. var t = this
  52524. ;(this.next = null),
  52525. (this.entry = null),
  52526. (this.finish = function () {
  52527. M(t, e)
  52528. })
  52529. }
  52530. e.exports = b
  52531. var a,
  52532. s = !t.browser && ["v0.10", "v0.9."].indexOf(t.version.slice(0, 5)) > -1 ? setImmediate : i.nextTick
  52533. b.WritableState = v
  52534. var l = Object.create(r("3a7c"))
  52535. l.inherits = r("3fb5")
  52536. var c = {
  52537. deprecate: r("b7d1")
  52538. },
  52539. u = r("429b"),
  52540. f = r("a8f0").Buffer,
  52541. p = n.Uint8Array || function () {}
  52542. function d(e) {
  52543. return f.from(e)
  52544. }
  52545. function h(e) {
  52546. return f.isBuffer(e) || e instanceof p
  52547. }
  52548. var m,
  52549. g = r("4681")
  52550. function y() {}
  52551. function v(e, t) {
  52552. ;(a = a || r("b19a")), (e = e || {})
  52553. var n = t instanceof a
  52554. ;(this.objectMode = !!e.objectMode), n && (this.objectMode = this.objectMode || !!e.writableObjectMode)
  52555. var i = e.highWaterMark,
  52556. s = e.writableHighWaterMark,
  52557. l = this.objectMode ? 16 : 16384
  52558. ;(this.highWaterMark = i || 0 === i ? i : n && (s || 0 === s) ? s : l),
  52559. (this.highWaterMark = Math.floor(this.highWaterMark)),
  52560. (this.finalCalled = !1),
  52561. (this.needDrain = !1),
  52562. (this.ending = !1),
  52563. (this.ended = !1),
  52564. (this.finished = !1),
  52565. (this.destroyed = !1)
  52566. var c = !1 === e.decodeStrings
  52567. ;(this.decodeStrings = !c),
  52568. (this.defaultEncoding = e.defaultEncoding || "utf8"),
  52569. (this.length = 0),
  52570. (this.writing = !1),
  52571. (this.corked = 0),
  52572. (this.sync = !0),
  52573. (this.bufferProcessing = !1),
  52574. (this.onwrite = function (e) {
  52575. C(t, e)
  52576. }),
  52577. (this.writecb = null),
  52578. (this.writelen = 0),
  52579. (this.bufferedRequest = null),
  52580. (this.lastBufferedRequest = null),
  52581. (this.pendingcb = 0),
  52582. (this.prefinished = !1),
  52583. (this.errorEmitted = !1),
  52584. (this.bufferedRequestCount = 0),
  52585. (this.corkedRequestsFree = new o(this))
  52586. }
  52587. function b(e) {
  52588. if (((a = a || r("b19a")), !m.call(b, this) && !(this instanceof a))) return new b(e)
  52589. ;(this._writableState = new v(e, this)),
  52590. (this.writable = !0),
  52591. e &&
  52592. ("function" === typeof e.write && (this._write = e.write),
  52593. "function" === typeof e.writev && (this._writev = e.writev),
  52594. "function" === typeof e.destroy && (this._destroy = e.destroy),
  52595. "function" === typeof e.final && (this._final = e.final)),
  52596. u.call(this)
  52597. }
  52598. function w(e, t) {
  52599. var r = new Error("write after end")
  52600. e.emit("error", r), i.nextTick(t, r)
  52601. }
  52602. function x(e, t, r, n) {
  52603. var o = !0,
  52604. a = !1
  52605. return (
  52606. null === r
  52607. ? (a = new TypeError("May not write null values to stream"))
  52608. : "string" === typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")),
  52609. a && (e.emit("error", a), i.nextTick(n, a), (o = !1)),
  52610. o
  52611. )
  52612. }
  52613. function A(e, t, r) {
  52614. return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = f.from(t, r)), t
  52615. }
  52616. function _(e, t, r, n, i, o) {
  52617. if (!r) {
  52618. var a = A(t, n, i)
  52619. n !== a && ((r = !0), (i = "buffer"), (n = a))
  52620. }
  52621. var s = t.objectMode ? 1 : n.length
  52622. t.length += s
  52623. var l = t.length < t.highWaterMark
  52624. if ((l || (t.needDrain = !0), t.writing || t.corked)) {
  52625. var c = t.lastBufferedRequest
  52626. ;(t.lastBufferedRequest = {
  52627. chunk: n,
  52628. encoding: i,
  52629. isBuf: r,
  52630. callback: o,
  52631. next: null
  52632. }),
  52633. c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
  52634. (t.bufferedRequestCount += 1)
  52635. } else T(e, t, !1, s, n, i, o)
  52636. return l
  52637. }
  52638. function T(e, t, r, n, i, o, a) {
  52639. ;(t.writelen = n),
  52640. (t.writecb = a),
  52641. (t.writing = !0),
  52642. (t.sync = !0),
  52643. r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite),
  52644. (t.sync = !1)
  52645. }
  52646. function E(e, t, r, n, o) {
  52647. --t.pendingcb,
  52648. r
  52649. ? (i.nextTick(o, n), i.nextTick(I, e, t), (e._writableState.errorEmitted = !0), e.emit("error", n))
  52650. : (o(n), (e._writableState.errorEmitted = !0), e.emit("error", n), I(e, t))
  52651. }
  52652. function S(e) {
  52653. ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0)
  52654. }
  52655. function C(e, t) {
  52656. var r = e._writableState,
  52657. n = r.sync,
  52658. i = r.writecb
  52659. if ((S(r), t)) E(e, r, n, t, i)
  52660. else {
  52661. var o = O(r)
  52662. o || r.corked || r.bufferProcessing || !r.bufferedRequest || P(e, r), n ? s(k, e, r, o, i) : k(e, r, o, i)
  52663. }
  52664. }
  52665. function k(e, t, r, n) {
  52666. r || L(e, t), t.pendingcb--, n(), I(e, t)
  52667. }
  52668. function L(e, t) {
  52669. 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain"))
  52670. }
  52671. function P(e, t) {
  52672. t.bufferProcessing = !0
  52673. var r = t.bufferedRequest
  52674. if (e._writev && r && r.next) {
  52675. var n = t.bufferedRequestCount,
  52676. i = new Array(n),
  52677. a = t.corkedRequestsFree
  52678. a.entry = r
  52679. var s = 0,
  52680. l = !0
  52681. while (r) (i[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1)
  52682. ;(i.allBuffers = l),
  52683. T(e, t, !0, t.length, i, "", a.finish),
  52684. t.pendingcb++,
  52685. (t.lastBufferedRequest = null),
  52686. a.next ? ((t.corkedRequestsFree = a.next), (a.next = null)) : (t.corkedRequestsFree = new o(t)),
  52687. (t.bufferedRequestCount = 0)
  52688. } else {
  52689. while (r) {
  52690. var c = r.chunk,
  52691. u = r.encoding,
  52692. f = r.callback,
  52693. p = t.objectMode ? 1 : c.length
  52694. if ((T(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break
  52695. }
  52696. null === r && (t.lastBufferedRequest = null)
  52697. }
  52698. ;(t.bufferedRequest = r), (t.bufferProcessing = !1)
  52699. }
  52700. function O(e) {
  52701. return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing
  52702. }
  52703. function j(e, t) {
  52704. e._final(function (r) {
  52705. t.pendingcb--, r && e.emit("error", r), (t.prefinished = !0), e.emit("prefinish"), I(e, t)
  52706. })
  52707. }
  52708. function R(e, t) {
  52709. t.prefinished ||
  52710. t.finalCalled ||
  52711. ("function" === typeof e._final
  52712. ? (t.pendingcb++, (t.finalCalled = !0), i.nextTick(j, e, t))
  52713. : ((t.prefinished = !0), e.emit("prefinish")))
  52714. }
  52715. function I(e, t) {
  52716. var r = O(t)
  52717. return r && (R(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"))), r
  52718. }
  52719. function N(e, t, r) {
  52720. ;(t.ending = !0), I(e, t), r && (t.finished ? i.nextTick(r) : e.once("finish", r)), (t.ended = !0), (e.writable = !1)
  52721. }
  52722. function M(e, t, r) {
  52723. var n = e.entry
  52724. e.entry = null
  52725. while (n) {
  52726. var i = n.callback
  52727. t.pendingcb--, i(r), (n = n.next)
  52728. }
  52729. t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e)
  52730. }
  52731. l.inherits(b, u),
  52732. (v.prototype.getBuffer = function () {
  52733. var e = this.bufferedRequest,
  52734. t = []
  52735. while (e) t.push(e), (e = e.next)
  52736. return t
  52737. }),
  52738. (function () {
  52739. try {
  52740. Object.defineProperty(v.prototype, "buffer", {
  52741. get: c.deprecate(
  52742. function () {
  52743. return this.getBuffer()
  52744. },
  52745. "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
  52746. "DEP0003"
  52747. )
  52748. })
  52749. } catch (e) {}
  52750. })(),
  52751. "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance]
  52752. ? ((m = Function.prototype[Symbol.hasInstance]),
  52753. Object.defineProperty(b, Symbol.hasInstance, {
  52754. value: function (e) {
  52755. return !!m.call(this, e) || (this === b && e && e._writableState instanceof v)
  52756. }
  52757. }))
  52758. : (m = function (e) {
  52759. return e instanceof this
  52760. }),
  52761. (b.prototype.pipe = function () {
  52762. this.emit("error", new Error("Cannot pipe, not readable"))
  52763. }),
  52764. (b.prototype.write = function (e, t, r) {
  52765. var n = this._writableState,
  52766. i = !1,
  52767. o = !n.objectMode && h(e)
  52768. return (
  52769. o && !f.isBuffer(e) && (e = d(e)),
  52770. "function" === typeof t && ((r = t), (t = null)),
  52771. o ? (t = "buffer") : t || (t = n.defaultEncoding),
  52772. "function" !== typeof r && (r = y),
  52773. n.ended ? w(this, r) : (o || x(this, n, e, r)) && (n.pendingcb++, (i = _(this, n, o, e, t, r))),
  52774. i
  52775. )
  52776. }),
  52777. (b.prototype.cork = function () {
  52778. var e = this._writableState
  52779. e.corked++
  52780. }),
  52781. (b.prototype.uncork = function () {
  52782. var e = this._writableState
  52783. e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || P(this, e))
  52784. }),
  52785. (b.prototype.setDefaultEncoding = function (e) {
  52786. if (
  52787. ("string" === typeof e && (e = e.toLowerCase()),
  52788. !(
  52789. ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf(
  52790. (e + "").toLowerCase()
  52791. ) > -1
  52792. ))
  52793. )
  52794. throw new TypeError("Unknown encoding: " + e)
  52795. return (this._writableState.defaultEncoding = e), this
  52796. }),
  52797. Object.defineProperty(b.prototype, "writableHighWaterMark", {
  52798. enumerable: !1,
  52799. get: function () {
  52800. return this._writableState.highWaterMark
  52801. }
  52802. }),
  52803. (b.prototype._write = function (e, t, r) {
  52804. r(new Error("_write() is not implemented"))
  52805. }),
  52806. (b.prototype._writev = null),
  52807. (b.prototype.end = function (e, t, r) {
  52808. var n = this._writableState
  52809. "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)),
  52810. null !== e && void 0 !== e && this.write(e, t),
  52811. n.corked && ((n.corked = 1), this.uncork()),
  52812. n.ending || n.finished || N(this, n, r)
  52813. }),
  52814. Object.defineProperty(b.prototype, "destroyed", {
  52815. get: function () {
  52816. return void 0 !== this._writableState && this._writableState.destroyed
  52817. },
  52818. set: function (e) {
  52819. this._writableState && (this._writableState.destroyed = e)
  52820. }
  52821. }),
  52822. (b.prototype.destroy = g.destroy),
  52823. (b.prototype._undestroy = g.undestroy),
  52824. (b.prototype._destroy = function (e, t) {
  52825. this.end(), t(e)
  52826. })
  52827. }).call(this, r("4362"), r("c8ba"))
  52828. },
  52829. ddb0: function (e, t, r) {
  52830. var n = r("da84"),
  52831. i = r("fdbc"),
  52832. o = r("e260"),
  52833. a = r("9112"),
  52834. s = r("b622"),
  52835. l = s("iterator"),
  52836. c = s("toStringTag"),
  52837. u = o.values
  52838. for (var f in i) {
  52839. var p = n[f],
  52840. d = p && p.prototype
  52841. if (d) {
  52842. if (d[l] !== u)
  52843. try {
  52844. a(d, l, u)
  52845. } catch (m) {
  52846. d[l] = u
  52847. }
  52848. if ((d[c] || a(d, c, f), i[f]))
  52849. for (var h in o)
  52850. if (d[h] !== o[h])
  52851. try {
  52852. a(d, h, o[h])
  52853. } catch (m) {
  52854. d[h] = o[h]
  52855. }
  52856. }
  52857. }
  52858. },
  52859. df75: function (e, t, r) {
  52860. var n = r("ca84"),
  52861. i = r("7839")
  52862. e.exports =
  52863. Object.keys ||
  52864. function (e) {
  52865. return n(e, i)
  52866. }
  52867. },
  52868. df7c: function (e, t, r) {
  52869. ;(function (e) {
  52870. function r(e, t) {
  52871. for (var r = 0, n = e.length - 1; n >= 0; n--) {
  52872. var i = e[n]
  52873. "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--)
  52874. }
  52875. if (t) for (; r--; r) e.unshift("..")
  52876. return e
  52877. }
  52878. function n(e) {
  52879. "string" !== typeof e && (e += "")
  52880. var t,
  52881. r = 0,
  52882. n = -1,
  52883. i = !0
  52884. for (t = e.length - 1; t >= 0; --t)
  52885. if (47 === e.charCodeAt(t)) {
  52886. if (!i) {
  52887. r = t + 1
  52888. break
  52889. }
  52890. } else -1 === n && ((i = !1), (n = t + 1))
  52891. return -1 === n ? "" : e.slice(r, n)
  52892. }
  52893. function i(e, t) {
  52894. if (e.filter) return e.filter(t)
  52895. for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n])
  52896. return r
  52897. }
  52898. ;(t.resolve = function () {
  52899. for (var t = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) {
  52900. var a = o >= 0 ? arguments[o] : e.cwd()
  52901. if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings")
  52902. a && ((t = a + "/" + t), (n = "/" === a.charAt(0)))
  52903. }
  52904. return (
  52905. (t = r(
  52906. i(t.split("/"), function (e) {
  52907. return !!e
  52908. }),
  52909. !n
  52910. ).join("/")),
  52911. (n ? "/" : "") + t || "."
  52912. )
  52913. }),
  52914. (t.normalize = function (e) {
  52915. var n = t.isAbsolute(e),
  52916. a = "/" === o(e, -1)
  52917. return (
  52918. (e = r(
  52919. i(e.split("/"), function (e) {
  52920. return !!e
  52921. }),
  52922. !n
  52923. ).join("/")),
  52924. e || n || (e = "."),
  52925. e && a && (e += "/"),
  52926. (n ? "/" : "") + e
  52927. )
  52928. }),
  52929. (t.isAbsolute = function (e) {
  52930. return "/" === e.charAt(0)
  52931. }),
  52932. (t.join = function () {
  52933. var e = Array.prototype.slice.call(arguments, 0)
  52934. return t.normalize(
  52935. i(e, function (e, t) {
  52936. if ("string" !== typeof e) throw new TypeError("Arguments to path.join must be strings")
  52937. return e
  52938. }).join("/")
  52939. )
  52940. }),
  52941. (t.relative = function (e, r) {
  52942. function n(e) {
  52943. for (var t = 0; t < e.length; t++) if ("" !== e[t]) break
  52944. for (var r = e.length - 1; r >= 0; r--) if ("" !== e[r]) break
  52945. return t > r ? [] : e.slice(t, r - t + 1)
  52946. }
  52947. ;(e = t.resolve(e).substr(1)), (r = t.resolve(r).substr(1))
  52948. for (var i = n(e.split("/")), o = n(r.split("/")), a = Math.min(i.length, o.length), s = a, l = 0; l < a; l++)
  52949. if (i[l] !== o[l]) {
  52950. s = l
  52951. break
  52952. }
  52953. var c = []
  52954. for (l = s; l < i.length; l++) c.push("..")
  52955. return (c = c.concat(o.slice(s))), c.join("/")
  52956. }),
  52957. (t.sep = "/"),
  52958. (t.delimiter = ":"),
  52959. (t.dirname = function (e) {
  52960. if (("string" !== typeof e && (e += ""), 0 === e.length)) return "."
  52961. for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o)
  52962. if (((t = e.charCodeAt(o)), 47 === t)) {
  52963. if (!i) {
  52964. n = o
  52965. break
  52966. }
  52967. } else i = !1
  52968. return -1 === n ? (r ? "/" : ".") : r && 1 === n ? "/" : e.slice(0, n)
  52969. }),
  52970. (t.basename = function (e, t) {
  52971. var r = n(e)
  52972. return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r
  52973. }),
  52974. (t.extname = function (e) {
  52975. "string" !== typeof e && (e += "")
  52976. for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) {
  52977. var s = e.charCodeAt(a)
  52978. if (47 !== s) -1 === n && ((i = !1), (n = a + 1)), 46 === s ? (-1 === t ? (t = a) : 1 !== o && (o = 1)) : -1 !== t && (o = -1)
  52979. else if (!i) {
  52980. r = a + 1
  52981. break
  52982. }
  52983. }
  52984. return -1 === t || -1 === n || 0 === o || (1 === o && t === n - 1 && t === r + 1) ? "" : e.slice(t, n)
  52985. })
  52986. var o =
  52987. "b" === "ab".substr(-1)
  52988. ? function (e, t, r) {
  52989. return e.substr(t, r)
  52990. }
  52991. : function (e, t, r) {
  52992. return t < 0 && (t = e.length + t), e.substr(t, r)
  52993. }
  52994. }).call(this, r("4362"))
  52995. },
  52996. e01a: function (e, t, r) {
  52997. "use strict"
  52998. var n = r("23e7"),
  52999. i = r("83ab"),
  53000. o = r("da84"),
  53001. a = r("5135"),
  53002. s = r("861d"),
  53003. l = r("9bf2").f,
  53004. c = r("e893"),
  53005. u = o.Symbol
  53006. if (i && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) {
  53007. var f = {},
  53008. p = function () {
  53009. var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]),
  53010. t = this instanceof p ? new u(e) : void 0 === e ? u() : u(e)
  53011. return "" === e && (f[t] = !0), t
  53012. }
  53013. c(p, u)
  53014. var d = (p.prototype = u.prototype)
  53015. d.constructor = p
  53016. var h = d.toString,
  53017. m = "Symbol(test)" == String(u("test")),
  53018. g = /^Symbol\((.*)\)[^)]+$/
  53019. l(d, "description", {
  53020. configurable: !0,
  53021. get: function () {
  53022. var e = s(this) ? this.valueOf() : this,
  53023. t = h.call(e)
  53024. if (a(f, e)) return ""
  53025. var r = m ? t.slice(7, -1) : t.replace(g, "$1")
  53026. return "" === r ? void 0 : r
  53027. }
  53028. }),
  53029. n(
  53030. {
  53031. global: !0,
  53032. forced: !0
  53033. },
  53034. {
  53035. Symbol: p
  53036. }
  53037. )
  53038. }
  53039. },
  53040. e163: function (e, t, r) {
  53041. var n = r("5135"),
  53042. i = r("7b0b"),
  53043. o = r("f772"),
  53044. a = r("e177"),
  53045. s = o("IE_PROTO"),
  53046. l = Object.prototype
  53047. e.exports = a
  53048. ? Object.getPrototypeOf
  53049. : function (e) {
  53050. return (
  53051. (e = i(e)),
  53052. n(e, s)
  53053. ? e[s]
  53054. : "function" == typeof e.constructor && e instanceof e.constructor
  53055. ? e.constructor.prototype
  53056. : e instanceof Object
  53057. ? l
  53058. : null
  53059. )
  53060. }
  53061. },
  53062. e177: function (e, t, r) {
  53063. var n = r("d039")
  53064. e.exports = !n(function () {
  53065. function e() {}
  53066. return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype
  53067. })
  53068. },
  53069. e260: function (e, t, r) {
  53070. "use strict"
  53071. var n = r("fc6a"),
  53072. i = r("44d2"),
  53073. o = r("3f8c"),
  53074. a = r("69f3"),
  53075. s = r("7dd0"),
  53076. l = "Array Iterator",
  53077. c = a.set,
  53078. u = a.getterFor(l)
  53079. ;(e.exports = s(
  53080. Array,
  53081. "Array",
  53082. function (e, t) {
  53083. c(this, {
  53084. type: l,
  53085. target: n(e),
  53086. index: 0,
  53087. kind: t
  53088. })
  53089. },
  53090. function () {
  53091. var e = u(this),
  53092. t = e.target,
  53093. r = e.kind,
  53094. n = e.index++
  53095. return !t || n >= t.length
  53096. ? ((e.target = void 0),
  53097. {
  53098. value: void 0,
  53099. done: !0
  53100. })
  53101. : "keys" == r
  53102. ? {
  53103. value: n,
  53104. done: !1
  53105. }
  53106. : "values" == r
  53107. ? {
  53108. value: t[n],
  53109. done: !1
  53110. }
  53111. : {
  53112. value: [n, t[n]],
  53113. done: !1
  53114. }
  53115. },
  53116. "values"
  53117. )),
  53118. (o.Arguments = o.Array),
  53119. i("keys"),
  53120. i("values"),
  53121. i("entries")
  53122. },
  53123. e372: function (e, t, r) {
  53124. ;(t = e.exports = r("ad71")),
  53125. (t.Stream = t),
  53126. (t.Readable = t),
  53127. (t.Writable = r("dc14")),
  53128. (t.Duplex = r("b19a")),
  53129. (t.Transform = r("27bf")),
  53130. (t.PassThrough = r("780f"))
  53131. },
  53132. e3db: function (e, t) {
  53133. var r = {}.toString
  53134. e.exports =
  53135. Array.isArray ||
  53136. function (e) {
  53137. return "[object Array]" == r.call(e)
  53138. }
  53139. },
  53140. e439: function (e, t, r) {
  53141. var n = r("23e7"),
  53142. i = r("d039"),
  53143. o = r("fc6a"),
  53144. a = r("06cf").f,
  53145. s = r("83ab"),
  53146. l = i(function () {
  53147. a(1)
  53148. }),
  53149. c = !s || l
  53150. n(
  53151. {
  53152. target: "Object",
  53153. stat: !0,
  53154. forced: c,
  53155. sham: !s
  53156. },
  53157. {
  53158. getOwnPropertyDescriptor: function (e, t) {
  53159. return a(o(e), t)
  53160. }
  53161. }
  53162. )
  53163. },
  53164. e538: function (e, t, r) {
  53165. var n = r("b622")
  53166. t.f = n
  53167. },
  53168. e893: function (e, t, r) {
  53169. var n = r("5135"),
  53170. i = r("56ef"),
  53171. o = r("06cf"),
  53172. a = r("9bf2")
  53173. e.exports = function (e, t) {
  53174. for (var r = i(t), s = a.f, l = o.f, c = 0; c < r.length; c++) {
  53175. var u = r[c]
  53176. n(e, u) || s(e, u, l(t, u))
  53177. }
  53178. }
  53179. },
  53180. e8b5: function (e, t, r) {
  53181. var n = r("c6b6")
  53182. e.exports =
  53183. Array.isArray ||
  53184. function (e) {
  53185. return "Array" == n(e)
  53186. }
  53187. },
  53188. e95a: function (e, t, r) {
  53189. var n = r("b622"),
  53190. i = r("3f8c"),
  53191. o = n("iterator"),
  53192. a = Array.prototype
  53193. e.exports = function (e) {
  53194. return void 0 !== e && (i.Array === e || a[o] === e)
  53195. }
  53196. },
  53197. f5df: function (e, t, r) {
  53198. var n = r("00ee"),
  53199. i = r("c6b6"),
  53200. o = r("b622"),
  53201. a = o("toStringTag"),
  53202. s =
  53203. "Arguments" ==
  53204. i(
  53205. (function () {
  53206. return arguments
  53207. })()
  53208. ),
  53209. l = function (e, t) {
  53210. try {
  53211. return e[t]
  53212. } catch (r) {}
  53213. }
  53214. e.exports = n
  53215. ? i
  53216. : function (e) {
  53217. var t, r, n
  53218. return void 0 === e
  53219. ? "Undefined"
  53220. : null === e
  53221. ? "Null"
  53222. : "string" == typeof (r = l((t = Object(e)), a))
  53223. ? r
  53224. : s
  53225. ? i(t)
  53226. : "Object" == (n = i(t)) && "function" == typeof t.callee
  53227. ? "Arguments"
  53228. : n
  53229. }
  53230. },
  53231. f5f5: function (e, t, r) {
  53232. "use strict"
  53233. ;(function (e) {
  53234. r.d(t, "a", function () {
  53235. return Ri
  53236. })
  53237. var n,
  53238. i,
  53239. o,
  53240. a = r("8fc1"),
  53241. s = r("2ef0"),
  53242. l = r.n(s),
  53243. c = r("c4e3"),
  53244. u = r.n(c),
  53245. f = r("c51a")
  53246. function p(e, t) {
  53247. for (var r = 0; r < t.length; r++) {
  53248. var n = t[r]
  53249. ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, j(n.key), n)
  53250. }
  53251. }
  53252. function d(e, t, r) {
  53253. return (
  53254. t && p(e.prototype, t),
  53255. r && p(e, r),
  53256. Object.defineProperty(e, "prototype", {
  53257. writable: !1
  53258. }),
  53259. e
  53260. )
  53261. }
  53262. function h(e, t) {
  53263. if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  53264. }
  53265. function m(e, t) {
  53266. if ("function" !== typeof t && null !== t) throw new TypeError("Super expression must either be null or a function")
  53267. ;(e.prototype = Object.create(t && t.prototype, {
  53268. constructor: {
  53269. value: e,
  53270. writable: !0,
  53271. configurable: !0
  53272. }
  53273. })),
  53274. Object.defineProperty(e, "prototype", {
  53275. writable: !1
  53276. }),
  53277. t && g(e, t)
  53278. }
  53279. function g(e, t) {
  53280. return (
  53281. (g = Object.setPrototypeOf
  53282. ? Object.setPrototypeOf.bind()
  53283. : function (e, t) {
  53284. return (e.__proto__ = t), e
  53285. }),
  53286. g(e, t)
  53287. )
  53288. }
  53289. function y(e) {
  53290. var t = w()
  53291. return function () {
  53292. var r,
  53293. n = x(e)
  53294. if (t) {
  53295. var i = x(this).constructor
  53296. r = Reflect.construct(n, arguments, i)
  53297. } else r = n.apply(this, arguments)
  53298. return v(this, r)
  53299. }
  53300. }
  53301. function v(e, t) {
  53302. if (t && ("object" === z(t) || "function" === typeof t)) return t
  53303. if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined")
  53304. return b(e)
  53305. }
  53306. function b(e) {
  53307. if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
  53308. return e
  53309. }
  53310. function w() {
  53311. if ("undefined" === typeof Reflect || !Reflect.construct) return !1
  53312. if (Reflect.construct.sham) return !1
  53313. if ("function" === typeof Proxy) return !0
  53314. try {
  53315. return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
  53316. } catch (Rt) {
  53317. return !1
  53318. }
  53319. }
  53320. function x(e) {
  53321. return (
  53322. (x = Object.setPrototypeOf
  53323. ? Object.getPrototypeOf.bind()
  53324. : function (e) {
  53325. return e.__proto__ || Object.getPrototypeOf(e)
  53326. }),
  53327. x(e)
  53328. )
  53329. }
  53330. function A() {
  53331. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  53332. A = function () {
  53333. return e
  53334. }
  53335. var e = {},
  53336. t = Object.prototype,
  53337. r = t.hasOwnProperty,
  53338. n =
  53339. Object.defineProperty ||
  53340. function (e, t, r) {
  53341. e[t] = r.value
  53342. },
  53343. i = "function" == typeof Symbol ? Symbol : {},
  53344. o = i.iterator || "@@iterator",
  53345. a = i.asyncIterator || "@@asyncIterator",
  53346. s = i.toStringTag || "@@toStringTag"
  53347. function l(e, t, r) {
  53348. return (
  53349. Object.defineProperty(e, t, {
  53350. value: r,
  53351. enumerable: !0,
  53352. configurable: !0,
  53353. writable: !0
  53354. }),
  53355. e[t]
  53356. )
  53357. }
  53358. try {
  53359. l({}, "")
  53360. } catch (L) {
  53361. l = function (e, t, r) {
  53362. return (e[t] = r)
  53363. }
  53364. }
  53365. function c(e, t, r, i) {
  53366. var o = t && t.prototype instanceof p ? t : p,
  53367. a = Object.create(o.prototype),
  53368. s = new S(i || [])
  53369. return (
  53370. n(a, "_invoke", {
  53371. value: x(e, r, s)
  53372. }),
  53373. a
  53374. )
  53375. }
  53376. function u(e, t, r) {
  53377. try {
  53378. return {
  53379. type: "normal",
  53380. arg: e.call(t, r)
  53381. }
  53382. } catch (L) {
  53383. return {
  53384. type: "throw",
  53385. arg: L
  53386. }
  53387. }
  53388. }
  53389. e.wrap = c
  53390. var f = {}
  53391. function p() {}
  53392. function d() {}
  53393. function h() {}
  53394. var m = {}
  53395. l(m, o, function () {
  53396. return this
  53397. })
  53398. var g = Object.getPrototypeOf,
  53399. y = g && g(g(C([])))
  53400. y && y !== t && r.call(y, o) && (m = y)
  53401. var v = (h.prototype = p.prototype = Object.create(m))
  53402. function b(e) {
  53403. ;["next", "throw", "return"].forEach(function (t) {
  53404. l(e, t, function (e) {
  53405. return this._invoke(t, e)
  53406. })
  53407. })
  53408. }
  53409. function w(e, t) {
  53410. function i(n, o, a, s) {
  53411. var l = u(e[n], e, o)
  53412. if ("throw" !== l.type) {
  53413. var c = l.arg,
  53414. f = c.value
  53415. return f && "object" == z(f) && r.call(f, "__await")
  53416. ? t.resolve(f.__await).then(
  53417. function (e) {
  53418. i("next", e, a, s)
  53419. },
  53420. function (e) {
  53421. i("throw", e, a, s)
  53422. }
  53423. )
  53424. : t.resolve(f).then(
  53425. function (e) {
  53426. ;(c.value = e), a(c)
  53427. },
  53428. function (e) {
  53429. return i("throw", e, a, s)
  53430. }
  53431. )
  53432. }
  53433. s(l.arg)
  53434. }
  53435. var o
  53436. n(this, "_invoke", {
  53437. value: function (e, r) {
  53438. function n() {
  53439. return new t(function (t, n) {
  53440. i(e, r, t, n)
  53441. })
  53442. }
  53443. return (o = o ? o.then(n, n) : n())
  53444. }
  53445. })
  53446. }
  53447. function x(e, t, r) {
  53448. var n = "suspendedStart"
  53449. return function (i, o) {
  53450. if ("executing" === n) throw new Error("Generator is already running")
  53451. if ("completed" === n) {
  53452. if ("throw" === i) throw o
  53453. return k()
  53454. }
  53455. for (r.method = i, r.arg = o; ; ) {
  53456. var a = r.delegate
  53457. if (a) {
  53458. var s = _(a, r)
  53459. if (s) {
  53460. if (s === f) continue
  53461. return s
  53462. }
  53463. }
  53464. if ("next" === r.method) r.sent = r._sent = r.arg
  53465. else if ("throw" === r.method) {
  53466. if ("suspendedStart" === n) throw ((n = "completed"), r.arg)
  53467. r.dispatchException(r.arg)
  53468. } else "return" === r.method && r.abrupt("return", r.arg)
  53469. n = "executing"
  53470. var l = u(e, t, r)
  53471. if ("normal" === l.type) {
  53472. if (((n = r.done ? "completed" : "suspendedYield"), l.arg === f)) continue
  53473. return {
  53474. value: l.arg,
  53475. done: r.done
  53476. }
  53477. }
  53478. "throw" === l.type && ((n = "completed"), (r.method = "throw"), (r.arg = l.arg))
  53479. }
  53480. }
  53481. }
  53482. function _(e, t) {
  53483. var r = t.method,
  53484. n = e.iterator[r]
  53485. if (void 0 === n)
  53486. return (
  53487. (t.delegate = null),
  53488. ("throw" === r && e.iterator["return"] && ((t.method = "return"), (t.arg = void 0), _(e, t), "throw" === t.method)) ||
  53489. ("return" !== r && ((t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a '" + r + "' method")))),
  53490. f
  53491. )
  53492. var i = u(n, e.iterator, t.arg)
  53493. if ("throw" === i.type) return (t.method = "throw"), (t.arg = i.arg), (t.delegate = null), f
  53494. var o = i.arg
  53495. return o
  53496. ? o.done
  53497. ? ((t[e.resultName] = o.value),
  53498. (t.next = e.nextLoc),
  53499. "return" !== t.method && ((t.method = "next"), (t.arg = void 0)),
  53500. (t.delegate = null),
  53501. f)
  53502. : o
  53503. : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), f)
  53504. }
  53505. function T(e) {
  53506. var t = {
  53507. tryLoc: e[0]
  53508. }
  53509. 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
  53510. }
  53511. function E(e) {
  53512. var t = e.completion || {}
  53513. ;(t.type = "normal"), delete t.arg, (e.completion = t)
  53514. }
  53515. function S(e) {
  53516. ;(this.tryEntries = [
  53517. {
  53518. tryLoc: "root"
  53519. }
  53520. ]),
  53521. e.forEach(T, this),
  53522. this.reset(!0)
  53523. }
  53524. function C(e) {
  53525. if (e) {
  53526. var t = e[o]
  53527. if (t) return t.call(e)
  53528. if ("function" == typeof e.next) return e
  53529. if (!isNaN(e.length)) {
  53530. var n = -1,
  53531. i = function t() {
  53532. for (; ++n < e.length; ) if (r.call(e, n)) return (t.value = e[n]), (t.done = !1), t
  53533. return (t.value = void 0), (t.done = !0), t
  53534. }
  53535. return (i.next = i)
  53536. }
  53537. }
  53538. return {
  53539. next: k
  53540. }
  53541. }
  53542. function k() {
  53543. return {
  53544. value: void 0,
  53545. done: !0
  53546. }
  53547. }
  53548. return (
  53549. (d.prototype = h),
  53550. n(v, "constructor", {
  53551. value: h,
  53552. configurable: !0
  53553. }),
  53554. n(h, "constructor", {
  53555. value: d,
  53556. configurable: !0
  53557. }),
  53558. (d.displayName = l(h, s, "GeneratorFunction")),
  53559. (e.isGeneratorFunction = function (e) {
  53560. var t = "function" == typeof e && e.constructor
  53561. return !!t && (t === d || "GeneratorFunction" === (t.displayName || t.name))
  53562. }),
  53563. (e.mark = function (e) {
  53564. return (
  53565. Object.setPrototypeOf ? Object.setPrototypeOf(e, h) : ((e.__proto__ = h), l(e, s, "GeneratorFunction")),
  53566. (e.prototype = Object.create(v)),
  53567. e
  53568. )
  53569. }),
  53570. (e.awrap = function (e) {
  53571. return {
  53572. __await: e
  53573. }
  53574. }),
  53575. b(w.prototype),
  53576. l(w.prototype, a, function () {
  53577. return this
  53578. }),
  53579. (e.AsyncIterator = w),
  53580. (e.async = function (t, r, n, i, o) {
  53581. void 0 === o && (o = Promise)
  53582. var a = new w(c(t, r, n, i), o)
  53583. return e.isGeneratorFunction(r)
  53584. ? a
  53585. : a.next().then(function (e) {
  53586. return e.done ? e.value : a.next()
  53587. })
  53588. }),
  53589. b(v),
  53590. l(v, s, "Generator"),
  53591. l(v, o, function () {
  53592. return this
  53593. }),
  53594. l(v, "toString", function () {
  53595. return "[object Generator]"
  53596. }),
  53597. (e.keys = function (e) {
  53598. var t = Object(e),
  53599. r = []
  53600. for (var n in t) r.push(n)
  53601. return (
  53602. r.reverse(),
  53603. function e() {
  53604. for (; r.length; ) {
  53605. var n = r.pop()
  53606. if (n in t) return (e.value = n), (e.done = !1), e
  53607. }
  53608. return (e.done = !0), e
  53609. }
  53610. )
  53611. }),
  53612. (e.values = C),
  53613. (S.prototype = {
  53614. constructor: S,
  53615. reset: function (e) {
  53616. if (
  53617. ((this.prev = 0),
  53618. (this.next = 0),
  53619. (this.sent = this._sent = void 0),
  53620. (this.done = !1),
  53621. (this.delegate = null),
  53622. (this.method = "next"),
  53623. (this.arg = void 0),
  53624. this.tryEntries.forEach(E),
  53625. !e)
  53626. )
  53627. for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0)
  53628. },
  53629. stop: function () {
  53630. this.done = !0
  53631. var e = this.tryEntries[0].completion
  53632. if ("throw" === e.type) throw e.arg
  53633. return this.rval
  53634. },
  53635. dispatchException: function (e) {
  53636. if (this.done) throw e
  53637. var t = this
  53638. function n(r, n) {
  53639. return (a.type = "throw"), (a.arg = e), (t.next = r), n && ((t.method = "next"), (t.arg = void 0)), !!n
  53640. }
  53641. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  53642. var o = this.tryEntries[i],
  53643. a = o.completion
  53644. if ("root" === o.tryLoc) return n("end")
  53645. if (o.tryLoc <= this.prev) {
  53646. var s = r.call(o, "catchLoc"),
  53647. l = r.call(o, "finallyLoc")
  53648. if (s && l) {
  53649. if (this.prev < o.catchLoc) return n(o.catchLoc, !0)
  53650. if (this.prev < o.finallyLoc) return n(o.finallyLoc)
  53651. } else if (s) {
  53652. if (this.prev < o.catchLoc) return n(o.catchLoc, !0)
  53653. } else {
  53654. if (!l) throw new Error("try statement without catch or finally")
  53655. if (this.prev < o.finallyLoc) return n(o.finallyLoc)
  53656. }
  53657. }
  53658. }
  53659. },
  53660. abrupt: function (e, t) {
  53661. for (var n = this.tryEntries.length - 1; n >= 0; --n) {
  53662. var i = this.tryEntries[n]
  53663. if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
  53664. var o = i
  53665. break
  53666. }
  53667. }
  53668. o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
  53669. var a = o ? o.completion : {}
  53670. return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), f) : this.complete(a)
  53671. },
  53672. complete: function (e, t) {
  53673. if ("throw" === e.type) throw e.arg
  53674. return (
  53675. "break" === e.type || "continue" === e.type
  53676. ? (this.next = e.arg)
  53677. : "return" === e.type
  53678. ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
  53679. : "normal" === e.type && t && (this.next = t),
  53680. f
  53681. )
  53682. },
  53683. finish: function (e) {
  53684. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  53685. var r = this.tryEntries[t]
  53686. if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), E(r), f
  53687. }
  53688. },
  53689. catch: function (e) {
  53690. for (var t = this.tryEntries.length - 1; t >= 0; --t) {
  53691. var r = this.tryEntries[t]
  53692. if (r.tryLoc === e) {
  53693. var n = r.completion
  53694. if ("throw" === n.type) {
  53695. var i = n.arg
  53696. E(r)
  53697. }
  53698. return i
  53699. }
  53700. }
  53701. throw new Error("illegal catch attempt")
  53702. },
  53703. delegateYield: function (e, t, r) {
  53704. return (
  53705. (this.delegate = {
  53706. iterator: C(e),
  53707. resultName: t,
  53708. nextLoc: r
  53709. }),
  53710. "next" === this.method && (this.arg = void 0),
  53711. f
  53712. )
  53713. }
  53714. }),
  53715. e
  53716. )
  53717. }
  53718. function _(e, t, r, n, i, o, a) {
  53719. try {
  53720. var s = e[o](a),
  53721. l = s.value
  53722. } catch (c) {
  53723. return void r(c)
  53724. }
  53725. s.done ? t(l) : Promise.resolve(l).then(n, i)
  53726. }
  53727. function T(e) {
  53728. return function () {
  53729. var t = this,
  53730. r = arguments
  53731. return new Promise(function (n, i) {
  53732. var o = e.apply(t, r)
  53733. function a(e) {
  53734. _(o, n, i, a, s, "next", e)
  53735. }
  53736. function s(e) {
  53737. _(o, n, i, a, s, "throw", e)
  53738. }
  53739. a(void 0)
  53740. })
  53741. }
  53742. }
  53743. function E(e, t) {
  53744. return k(e) || C(e, t) || D(e, t) || S()
  53745. }
  53746. function S() {
  53747. throw new TypeError(
  53748. "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  53749. )
  53750. }
  53751. function C(e, t) {
  53752. var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]
  53753. if (null != r) {
  53754. var n,
  53755. i,
  53756. o,
  53757. a,
  53758. s = [],
  53759. l = !0,
  53760. c = !1
  53761. try {
  53762. if (((o = (r = r.call(e)).next), 0 === t)) {
  53763. if (Object(r) !== r) return
  53764. l = !1
  53765. } else for (; !(l = (n = o.call(r)).done) && (s.push(n.value), s.length !== t); l = !0);
  53766. } catch (u) {
  53767. ;(c = !0), (i = u)
  53768. } finally {
  53769. try {
  53770. if (!l && null != r["return"] && ((a = r["return"]()), Object(a) !== a)) return
  53771. } finally {
  53772. if (c) throw i
  53773. }
  53774. }
  53775. return s
  53776. }
  53777. }
  53778. function k(e) {
  53779. if (Array.isArray(e)) return e
  53780. }
  53781. function L(e, t) {
  53782. var r = Object.keys(e)
  53783. if (Object.getOwnPropertySymbols) {
  53784. var n = Object.getOwnPropertySymbols(e)
  53785. t &&
  53786. (n = n.filter(function (t) {
  53787. return Object.getOwnPropertyDescriptor(e, t).enumerable
  53788. })),
  53789. r.push.apply(r, n)
  53790. }
  53791. return r
  53792. }
  53793. function P(e) {
  53794. for (var t = 1; t < arguments.length; t++) {
  53795. var r = null != arguments[t] ? arguments[t] : {}
  53796. t % 2
  53797. ? L(Object(r), !0).forEach(function (t) {
  53798. O(e, t, r[t])
  53799. })
  53800. : Object.getOwnPropertyDescriptors
  53801. ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
  53802. : L(Object(r)).forEach(function (t) {
  53803. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
  53804. })
  53805. }
  53806. return e
  53807. }
  53808. function O(e, t, r) {
  53809. return (
  53810. (t = j(t)),
  53811. t in e
  53812. ? Object.defineProperty(e, t, {
  53813. value: r,
  53814. enumerable: !0,
  53815. configurable: !0,
  53816. writable: !0
  53817. })
  53818. : (e[t] = r),
  53819. e
  53820. )
  53821. }
  53822. function j(e) {
  53823. var t = R(e, "string")
  53824. return "symbol" === z(t) ? t : String(t)
  53825. }
  53826. function R(e, t) {
  53827. if ("object" !== z(e) || null === e) return e
  53828. var r = e[Symbol.toPrimitive]
  53829. if (void 0 !== r) {
  53830. var n = r.call(e, t || "default")
  53831. if ("object" !== z(n)) return n
  53832. throw new TypeError("@@toPrimitive must return a primitive value.")
  53833. }
  53834. return ("string" === t ? String : Number)(e)
  53835. }
  53836. function I(e, t) {
  53837. var r = ("undefined" !== typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]
  53838. if (!r) {
  53839. if (Array.isArray(e) || (r = D(e)) || (t && e && "number" === typeof e.length)) {
  53840. r && (e = r)
  53841. var n = 0,
  53842. i = function () {}
  53843. return {
  53844. s: i,
  53845. n: function () {
  53846. return n >= e.length
  53847. ? {
  53848. done: !0
  53849. }
  53850. : {
  53851. done: !1,
  53852. value: e[n++]
  53853. }
  53854. },
  53855. e: function (e) {
  53856. throw e
  53857. },
  53858. f: i
  53859. }
  53860. }
  53861. throw new TypeError(
  53862. "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  53863. )
  53864. }
  53865. var o,
  53866. a = !0,
  53867. s = !1
  53868. return {
  53869. s: function () {
  53870. r = r.call(e)
  53871. },
  53872. n: function () {
  53873. var e = r.next()
  53874. return (a = e.done), e
  53875. },
  53876. e: function (e) {
  53877. ;(s = !0), (o = e)
  53878. },
  53879. f: function () {
  53880. try {
  53881. a || null == r["return"] || r["return"]()
  53882. } finally {
  53883. if (s) throw o
  53884. }
  53885. }
  53886. }
  53887. }
  53888. function N(e) {
  53889. return F(e) || B(e) || D(e) || M()
  53890. }
  53891. function M() {
  53892. throw new TypeError(
  53893. "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  53894. )
  53895. }
  53896. function D(e, t) {
  53897. if (e) {
  53898. if ("string" === typeof e) return U(e, t)
  53899. var r = Object.prototype.toString.call(e).slice(8, -1)
  53900. return (
  53901. "Object" === r && e.constructor && (r = e.constructor.name),
  53902. "Map" === r || "Set" === r
  53903. ? Array.from(e)
  53904. : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
  53905. ? U(e, t)
  53906. : void 0
  53907. )
  53908. }
  53909. }
  53910. function B(e) {
  53911. if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e)
  53912. }
  53913. function F(e) {
  53914. if (Array.isArray(e)) return U(e)
  53915. }
  53916. function U(e, t) {
  53917. ;(null == t || t > e.length) && (t = e.length)
  53918. for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]
  53919. return n
  53920. }
  53921. function z(e) {
  53922. return (
  53923. (z =
  53924. "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
  53925. ? function (e) {
  53926. return typeof e
  53927. }
  53928. : function (e) {
  53929. return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
  53930. }),
  53931. z(e)
  53932. )
  53933. /*!
  53934. * @evideo/pptist-exchange-pptx v0.0.17
  53935. * (c) 2023 brisky-package-template
  53936. * @license MIT
  53937. */
  53938. }
  53939. function q(e) {
  53940. return H(e) || V(e) || W(e) || G()
  53941. }
  53942. function G() {
  53943. throw new TypeError(
  53944. "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
  53945. )
  53946. }
  53947. function W(e, t) {
  53948. if (e) {
  53949. if ("string" === typeof e) return X(e, t)
  53950. var r = Object.prototype.toString.call(e).slice(8, -1)
  53951. return (
  53952. "Object" === r && e.constructor && (r = e.constructor.name),
  53953. "Map" === r || "Set" === r
  53954. ? Array.from(e)
  53955. : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
  53956. ? X(e, t)
  53957. : void 0
  53958. )
  53959. }
  53960. }
  53961. function V(e) {
  53962. if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e)
  53963. }
  53964. function H(e) {
  53965. if (Array.isArray(e)) return X(e)
  53966. }
  53967. function X(e, t) {
  53968. ;(null == t || t > e.length) && (t = e.length)
  53969. for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]
  53970. return n
  53971. }
  53972. function Y(e, t) {
  53973. if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  53974. }
  53975. function K(e, t) {
  53976. for (var r = 0; r < t.length; r++) {
  53977. var n = t[r]
  53978. ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  53979. }
  53980. }
  53981. function Z(e, t, r) {
  53982. return (
  53983. t && K(e.prototype, t),
  53984. r && K(e, r),
  53985. Object.defineProperty(e, "prototype", {
  53986. writable: !1
  53987. }),
  53988. e
  53989. )
  53990. }
  53991. function Q(e, t, r) {
  53992. return (
  53993. t in e
  53994. ? Object.defineProperty(e, t, {
  53995. value: r,
  53996. enumerable: !0,
  53997. configurable: !0,
  53998. writable: !0
  53999. })
  54000. : (e[t] = r),
  54001. e
  54002. )
  54003. }
  54004. /*!
  54005. * @evideo/logger v1.0.7
  54006. * (c) 2023 evideo-logger
  54007. * @license MIT
  54008. */
  54009. ;(function (e) {
  54010. ;(e["ALL"] = "all"),
  54011. (e["TRACE"] = "trace"),
  54012. (e["DEBUG"] = "debug"),
  54013. (e["INFO"] = "info"),
  54014. (e["WARN"] = "warn"),
  54015. (e["ERROR"] = "error"),
  54016. (e["FETAL"] = "fatal"),
  54017. (e["OFF"] = "off")
  54018. })(o || (o = {}))
  54019. var J =
  54020. ((i = {}),
  54021. Q(i, o.ALL, 0),
  54022. Q(i, o.TRACE, 1),
  54023. Q(i, o.DEBUG, 2),
  54024. Q(i, o.INFO, 3),
  54025. Q(i, o.WARN, 4),
  54026. Q(i, o.ERROR, 5),
  54027. Q(i, o.FETAL, 6),
  54028. Q(i, o.OFF, 7),
  54029. i),
  54030. $ = "1.0.7",
  54031. ee = "FrontEndLogger",
  54032. te = (function () {
  54033. function e() {
  54034. var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "unknown",
  54035. r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
  54036. n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0
  54037. Y(this, e),
  54038. Q(this, "namespace", void 0),
  54039. Q(this, "showLevel", void 0),
  54040. Q(this, "printLevel", void 0),
  54041. Q(this, "beforeFuncs", []),
  54042. Q(this, "afterFuncs", []),
  54043. (this.namespace = t),
  54044. (this.showLevel = r),
  54045. (this.printLevel = n),
  54046. console.log("".concat(ee, " Version: ").concat($))
  54047. }
  54048. return (
  54049. Z(e, [
  54050. {
  54051. key: "_log",
  54052. value: function (e) {
  54053. for (var t, r = this, n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) i[o - 1] = arguments[o]
  54054. var a = this.getPrintLevel()
  54055. if (!(J[a] > J[e])) {
  54056. this.beforeFuncs.forEach(function (t) {
  54057. return t(e, r.namespace, i)
  54058. })
  54059. var s = ""
  54060. if (i.length > 1 && "log-stack" === String(i[i.length - 1])) {
  54061. var l,
  54062. c = (null === (l = new Error().stack) || void 0 === l ? void 0 : l.split("\n")) || []
  54063. s = "\n" + c.slice(2).join("\n")
  54064. }
  54065. var u = s ? i.slice(0, i.length - 1) : i
  54066. ;(t = console).log.apply(
  54067. t,
  54068. ["".concat(this.showLevel ? "[".concat(e.toUpperCase(), "]-") : "", "(").concat(this.namespace, "):")].concat(q(u), [
  54069. s
  54070. ])
  54071. ),
  54072. this.afterFuncs.reverse().forEach(function (t) {
  54073. return t(e, r.namespace, i)
  54074. })
  54075. }
  54076. }
  54077. },
  54078. {
  54079. key: "getPrintLevel",
  54080. value: function () {
  54081. var e = self || {},
  54082. t = self.localStorage || {
  54083. getItem: function () {}
  54084. }
  54085. return (
  54086. this.printLevel ||
  54087. e["".concat(this.namespace, "LoggerLevel")] ||
  54088. t.getItem("logger.".concat(this.namespace, ".level")) ||
  54089. e.FrontEndLoggerLevel ||
  54090. t.getItem("logger.level") ||
  54091. o.INFO
  54092. )
  54093. }
  54094. },
  54095. {
  54096. key: "addInterceptor",
  54097. value: function (e) {
  54098. var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
  54099. if ("function" !== typeof e) throw new Error("interceptor is not a function")
  54100. return t ? (this.beforeFuncs.push(e), this) : (this.afterFuncs.push(e), this)
  54101. }
  54102. },
  54103. {
  54104. key: "addBeforeInterceptor",
  54105. value: function (e) {
  54106. return this.addInterceptor(e), this
  54107. }
  54108. },
  54109. {
  54110. key: "addAfterInterceptor",
  54111. value: function (e) {
  54112. return this.addInterceptor(e, !1), this
  54113. }
  54114. },
  54115. {
  54116. key: "create",
  54117. value: function () {
  54118. var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "unknown",
  54119. r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
  54120. n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0
  54121. return new e(t, r, n)
  54122. }
  54123. },
  54124. {
  54125. key: "setNamespace",
  54126. value: function () {
  54127. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""
  54128. return (this.namespace = e), this
  54129. }
  54130. },
  54131. {
  54132. key: "setPrintLevel",
  54133. value: function (e) {
  54134. return (this.printLevel = e), this
  54135. }
  54136. },
  54137. {
  54138. key: "trace",
  54139. value: function () {
  54140. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  54141. return this._log.apply(this, [o.TRACE].concat(t, ["log-stack"])), this
  54142. }
  54143. },
  54144. {
  54145. key: "debug",
  54146. value: function () {
  54147. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  54148. return this._log.apply(this, [o.DEBUG].concat(t)), this
  54149. }
  54150. },
  54151. {
  54152. key: "info",
  54153. value: function () {
  54154. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  54155. return this._log.apply(this, [o.INFO].concat(t)), this
  54156. }
  54157. },
  54158. {
  54159. key: "warn",
  54160. value: function () {
  54161. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  54162. return this._log.apply(this, [o.WARN].concat(t)), this
  54163. }
  54164. },
  54165. {
  54166. key: "error",
  54167. value: function () {
  54168. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  54169. return this._log.apply(this, [o.ERROR].concat(t)), this
  54170. }
  54171. },
  54172. {
  54173. key: "fetal",
  54174. value: function () {
  54175. for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
  54176. return this._log.apply(this, [o.FETAL].concat(t)), this
  54177. }
  54178. },
  54179. {
  54180. key: "time",
  54181. value: function (e) {
  54182. return console.time("(".concat(this.namespace, "):").concat(e)), this
  54183. }
  54184. },
  54185. {
  54186. key: "timeEnd",
  54187. value: function (e) {
  54188. return console.timeEnd("(".concat(this.namespace, "):").concat(e)), this
  54189. }
  54190. }
  54191. ]),
  54192. e
  54193. )
  54194. })(),
  54195. re = new te(),
  54196. ne = /^\s+/,
  54197. ie = /\s+$/
  54198. function oe(e, t) {
  54199. if (((e = e || ""), (t = t || {}), e instanceof oe)) return e
  54200. if (!(this instanceof oe)) return new oe(e, t)
  54201. var r = ae(e)
  54202. ;(this._originalInput = e),
  54203. (this._r = r.r),
  54204. (this._g = r.g),
  54205. (this._b = r.b),
  54206. (this._a = r.a),
  54207. (this._roundA = Math.round(100 * this._a) / 100),
  54208. (this._format = t.format || r.format),
  54209. (this._gradientType = t.gradientType),
  54210. this._r < 1 && (this._r = Math.round(this._r)),
  54211. this._g < 1 && (this._g = Math.round(this._g)),
  54212. this._b < 1 && (this._b = Math.round(this._b)),
  54213. (this._ok = r.ok)
  54214. }
  54215. function ae(e) {
  54216. var t = {
  54217. r: 0,
  54218. g: 0,
  54219. b: 0
  54220. },
  54221. r = 1,
  54222. n = null,
  54223. i = null,
  54224. o = null,
  54225. a = !1,
  54226. s = !1
  54227. return (
  54228. "string" == typeof e && (e = qe(e)),
  54229. "object" == z(e) &&
  54230. (ze(e.r) && ze(e.g) && ze(e.b)
  54231. ? ((t = se(e.r, e.g, e.b)), (a = !0), (s = "%" === String(e.r).substr(-1) ? "prgb" : "rgb"))
  54232. : ze(e.h) && ze(e.s) && ze(e.v)
  54233. ? ((n = De(e.s)), (i = De(e.v)), (t = fe(e.h, n, i)), (a = !0), (s = "hsv"))
  54234. : ze(e.h) && ze(e.s) && ze(e.l) && ((n = De(e.s)), (o = De(e.l)), (t = ce(e.h, n, o)), (a = !0), (s = "hsl")),
  54235. e.hasOwnProperty("a") && (r = e.a)),
  54236. (r = Pe(r)),
  54237. {
  54238. ok: a,
  54239. format: e.format || s,
  54240. r: Math.min(255, Math.max(t.r, 0)),
  54241. g: Math.min(255, Math.max(t.g, 0)),
  54242. b: Math.min(255, Math.max(t.b, 0)),
  54243. a: r
  54244. }
  54245. )
  54246. }
  54247. function se(e, t, r) {
  54248. return {
  54249. r: 255 * Oe(e, 255),
  54250. g: 255 * Oe(t, 255),
  54251. b: 255 * Oe(r, 255)
  54252. }
  54253. }
  54254. function le(e, t, r) {
  54255. ;(e = Oe(e, 255)), (t = Oe(t, 255)), (r = Oe(r, 255))
  54256. var n,
  54257. i,
  54258. o = Math.max(e, t, r),
  54259. a = Math.min(e, t, r),
  54260. s = (o + a) / 2
  54261. if (o == a) n = i = 0
  54262. else {
  54263. var l = o - a
  54264. switch (((i = s > 0.5 ? l / (2 - o - a) : l / (o + a)), o)) {
  54265. case e:
  54266. n = (t - r) / l + (t < r ? 6 : 0)
  54267. break
  54268. case t:
  54269. n = (r - e) / l + 2
  54270. break
  54271. case r:
  54272. n = (e - t) / l + 4
  54273. break
  54274. }
  54275. n /= 6
  54276. }
  54277. return {
  54278. h: n,
  54279. s: i,
  54280. l: s
  54281. }
  54282. }
  54283. function ce(e, t, r) {
  54284. var n, i, o
  54285. function a(e, t, r) {
  54286. return (
  54287. r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + 6 * (t - e) * r : r < 0.5 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e
  54288. )
  54289. }
  54290. if (((e = Oe(e, 360)), (t = Oe(t, 100)), (r = Oe(r, 100)), 0 === t)) n = i = o = r
  54291. else {
  54292. var s = r < 0.5 ? r * (1 + t) : r + t - r * t,
  54293. l = 2 * r - s
  54294. ;(n = a(l, s, e + 1 / 3)), (i = a(l, s, e)), (o = a(l, s, e - 1 / 3))
  54295. }
  54296. return {
  54297. r: 255 * n,
  54298. g: 255 * i,
  54299. b: 255 * o
  54300. }
  54301. }
  54302. function ue(e, t, r) {
  54303. ;(e = Oe(e, 255)), (t = Oe(t, 255)), (r = Oe(r, 255))
  54304. var n,
  54305. i,
  54306. o = Math.max(e, t, r),
  54307. a = Math.min(e, t, r),
  54308. s = o,
  54309. l = o - a
  54310. if (((i = 0 === o ? 0 : l / o), o == a)) n = 0
  54311. else {
  54312. switch (o) {
  54313. case e:
  54314. n = (t - r) / l + (t < r ? 6 : 0)
  54315. break
  54316. case t:
  54317. n = (r - e) / l + 2
  54318. break
  54319. case r:
  54320. n = (e - t) / l + 4
  54321. break
  54322. }
  54323. n /= 6
  54324. }
  54325. return {
  54326. h: n,
  54327. s: i,
  54328. v: s
  54329. }
  54330. }
  54331. function fe(e, t, r) {
  54332. ;(e = 6 * Oe(e, 360)), (t = Oe(t, 100)), (r = Oe(r, 100))
  54333. var n = Math.floor(e),
  54334. i = e - n,
  54335. o = r * (1 - t),
  54336. a = r * (1 - i * t),
  54337. s = r * (1 - (1 - i) * t),
  54338. l = n % 6,
  54339. c = [r, a, o, o, s, r][l],
  54340. u = [s, r, r, a, o, o][l],
  54341. f = [o, o, s, r, r, a][l]
  54342. return {
  54343. r: 255 * c,
  54344. g: 255 * u,
  54345. b: 255 * f
  54346. }
  54347. }
  54348. function pe(e, t, r, n) {
  54349. var i = [Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16))]
  54350. return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1)
  54351. ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0)
  54352. : i.join("")
  54353. }
  54354. function de(e, t, r, n, i) {
  54355. var o = [Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16)), Me(Be(n))]
  54356. return i &&
  54357. o[0].charAt(0) == o[0].charAt(1) &&
  54358. o[1].charAt(0) == o[1].charAt(1) &&
  54359. o[2].charAt(0) == o[2].charAt(1) &&
  54360. o[3].charAt(0) == o[3].charAt(1)
  54361. ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) + o[3].charAt(0)
  54362. : o.join("")
  54363. }
  54364. function he(e, t, r, n) {
  54365. var i = [Me(Be(n)), Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16))]
  54366. return i.join("")
  54367. }
  54368. function me(e, t) {
  54369. t = 0 === t ? 0 : t || 10
  54370. var r = oe(e).toHsl()
  54371. return (r.s -= t / 100), (r.s = je(r.s)), oe(r)
  54372. }
  54373. function ge(e, t) {
  54374. t = 0 === t ? 0 : t || 10
  54375. var r = oe(e).toHsl()
  54376. return (r.s += t / 100), (r.s = je(r.s)), oe(r)
  54377. }
  54378. function ye(e) {
  54379. return oe(e).desaturate(100)
  54380. }
  54381. function ve(e, t) {
  54382. t = 0 === t ? 0 : t || 10
  54383. var r = oe(e).toHsl()
  54384. return (r.l += t / 100), (r.l = je(r.l)), oe(r)
  54385. }
  54386. function be(e, t) {
  54387. t = 0 === t ? 0 : t || 10
  54388. var r = oe(e).toRgb()
  54389. return (
  54390. (r.r = Math.max(0, Math.min(255, r.r - Math.round((-t / 100) * 255)))),
  54391. (r.g = Math.max(0, Math.min(255, r.g - Math.round((-t / 100) * 255)))),
  54392. (r.b = Math.max(0, Math.min(255, r.b - Math.round((-t / 100) * 255)))),
  54393. oe(r)
  54394. )
  54395. }
  54396. function we(e, t) {
  54397. t = 0 === t ? 0 : t || 10
  54398. var r = oe(e).toHsl()
  54399. return (r.l -= t / 100), (r.l = je(r.l)), oe(r)
  54400. }
  54401. function xe(e, t) {
  54402. var r = oe(e).toHsl(),
  54403. n = (r.h + t) % 360
  54404. return (r.h = n < 0 ? 360 + n : n), oe(r)
  54405. }
  54406. function Ae(e) {
  54407. var t = oe(e).toHsl()
  54408. return (t.h = (t.h + 180) % 360), oe(t)
  54409. }
  54410. function _e(e, t) {
  54411. if (isNaN(t) || t <= 0) throw new Error("Argument to polyad must be a positive number")
  54412. for (var r = oe(e).toHsl(), n = [oe(e)], i = 360 / t, o = 1; o < t; o++)
  54413. n.push(
  54414. oe({
  54415. h: (r.h + o * i) % 360,
  54416. s: r.s,
  54417. l: r.l
  54418. })
  54419. )
  54420. return n
  54421. }
  54422. function Te(e) {
  54423. var t = oe(e).toHsl(),
  54424. r = t.h
  54425. return [
  54426. oe(e),
  54427. oe({
  54428. h: (r + 72) % 360,
  54429. s: t.s,
  54430. l: t.l
  54431. }),
  54432. oe({
  54433. h: (r + 216) % 360,
  54434. s: t.s,
  54435. l: t.l
  54436. })
  54437. ]
  54438. }
  54439. function Ee(e, t, r) {
  54440. ;(t = t || 6), (r = r || 30)
  54441. var n = oe(e).toHsl(),
  54442. i = 360 / r,
  54443. o = [oe(e)]
  54444. for (n.h = (n.h - ((i * t) >> 1) + 720) % 360; --t; ) (n.h = (n.h + i) % 360), o.push(oe(n))
  54445. return o
  54446. }
  54447. function Se(e, t) {
  54448. t = t || 6
  54449. var r = oe(e).toHsv(),
  54450. n = r.h,
  54451. i = r.s,
  54452. o = r.v,
  54453. a = [],
  54454. s = 1 / t
  54455. while (t--)
  54456. a.push(
  54457. oe({
  54458. h: n,
  54459. s: i,
  54460. v: o
  54461. })
  54462. ),
  54463. (o = (o + s) % 1)
  54464. return a
  54465. }
  54466. ;(oe.prototype = {
  54467. isDark: function () {
  54468. return this.getBrightness() < 128
  54469. },
  54470. isLight: function () {
  54471. return !this.isDark()
  54472. },
  54473. isValid: function () {
  54474. return this._ok
  54475. },
  54476. getOriginalInput: function () {
  54477. return this._originalInput
  54478. },
  54479. getFormat: function () {
  54480. return this._format
  54481. },
  54482. getAlpha: function () {
  54483. return this._a
  54484. },
  54485. getBrightness: function () {
  54486. var e = this.toRgb()
  54487. return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3
  54488. },
  54489. getLuminance: function () {
  54490. var e,
  54491. t,
  54492. r,
  54493. n,
  54494. i,
  54495. o,
  54496. a = this.toRgb()
  54497. return (
  54498. (e = a.r / 255),
  54499. (t = a.g / 255),
  54500. (r = a.b / 255),
  54501. (n = e <= 0.03928 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4)),
  54502. (i = t <= 0.03928 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4)),
  54503. (o = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4)),
  54504. 0.2126 * n + 0.7152 * i + 0.0722 * o
  54505. )
  54506. },
  54507. setAlpha: function (e) {
  54508. return (this._a = Pe(e)), (this._roundA = Math.round(100 * this._a) / 100), this
  54509. },
  54510. toHsv: function () {
  54511. var e = ue(this._r, this._g, this._b)
  54512. return {
  54513. h: 360 * e.h,
  54514. s: e.s,
  54515. v: e.v,
  54516. a: this._a
  54517. }
  54518. },
  54519. toHsvString: function () {
  54520. var e = ue(this._r, this._g, this._b),
  54521. t = Math.round(360 * e.h),
  54522. r = Math.round(100 * e.s),
  54523. n = Math.round(100 * e.v)
  54524. return 1 == this._a ? "hsv(" + t + ", " + r + "%, " + n + "%)" : "hsva(" + t + ", " + r + "%, " + n + "%, " + this._roundA + ")"
  54525. },
  54526. toHsl: function () {
  54527. var e = le(this._r, this._g, this._b)
  54528. return {
  54529. h: 360 * e.h,
  54530. s: e.s,
  54531. l: e.l,
  54532. a: this._a
  54533. }
  54534. },
  54535. toHslString: function () {
  54536. var e = le(this._r, this._g, this._b),
  54537. t = Math.round(360 * e.h),
  54538. r = Math.round(100 * e.s),
  54539. n = Math.round(100 * e.l)
  54540. return 1 == this._a ? "hsl(" + t + ", " + r + "%, " + n + "%)" : "hsla(" + t + ", " + r + "%, " + n + "%, " + this._roundA + ")"
  54541. },
  54542. toHex: function (e) {
  54543. return pe(this._r, this._g, this._b, e)
  54544. },
  54545. toHexString: function (e) {
  54546. return "#" + this.toHex(e)
  54547. },
  54548. toHex8: function (e) {
  54549. return de(this._r, this._g, this._b, this._a, e)
  54550. },
  54551. toHex8String: function (e) {
  54552. return "#" + this.toHex8(e)
  54553. },
  54554. toRgb: function () {
  54555. return {
  54556. r: Math.round(this._r),
  54557. g: Math.round(this._g),
  54558. b: Math.round(this._b),
  54559. a: this._a
  54560. }
  54561. },
  54562. toRgbString: function () {
  54563. return 1 == this._a
  54564. ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")"
  54565. : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")"
  54566. },
  54567. toPercentageRgb: function () {
  54568. return {
  54569. r: Math.round(100 * Oe(this._r, 255)) + "%",
  54570. g: Math.round(100 * Oe(this._g, 255)) + "%",
  54571. b: Math.round(100 * Oe(this._b, 255)) + "%",
  54572. a: this._a
  54573. }
  54574. },
  54575. toPercentageRgbString: function () {
  54576. return 1 == this._a
  54577. ? "rgb(" +
  54578. Math.round(100 * Oe(this._r, 255)) +
  54579. "%, " +
  54580. Math.round(100 * Oe(this._g, 255)) +
  54581. "%, " +
  54582. Math.round(100 * Oe(this._b, 255)) +
  54583. "%)"
  54584. : "rgba(" +
  54585. Math.round(100 * Oe(this._r, 255)) +
  54586. "%, " +
  54587. Math.round(100 * Oe(this._g, 255)) +
  54588. "%, " +
  54589. Math.round(100 * Oe(this._b, 255)) +
  54590. "%, " +
  54591. this._roundA +
  54592. ")"
  54593. },
  54594. toName: function () {
  54595. return 0 === this._a ? "transparent" : !(this._a < 1) && (ke[pe(this._r, this._g, this._b, !0)] || !1)
  54596. },
  54597. toFilter: function (e) {
  54598. var t = "#" + he(this._r, this._g, this._b, this._a),
  54599. r = t,
  54600. n = this._gradientType ? "GradientType = 1, " : ""
  54601. if (e) {
  54602. var i = oe(e)
  54603. r = "#" + he(i._r, i._g, i._b, i._a)
  54604. }
  54605. return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + t + ",endColorstr=" + r + ")"
  54606. },
  54607. toString: function (e) {
  54608. var t = !!e
  54609. e = e || this._format
  54610. var r = !1,
  54611. n = this._a < 1 && this._a >= 0,
  54612. i = !t && n && ("hex" === e || "hex6" === e || "hex3" === e || "hex4" === e || "hex8" === e || "name" === e)
  54613. return i
  54614. ? "name" === e && 0 === this._a
  54615. ? this.toName()
  54616. : this.toRgbString()
  54617. : ("rgb" === e && (r = this.toRgbString()),
  54618. "prgb" === e && (r = this.toPercentageRgbString()),
  54619. ("hex" !== e && "hex6" !== e) || (r = this.toHexString()),
  54620. "hex3" === e && (r = this.toHexString(!0)),
  54621. "hex4" === e && (r = this.toHex8String(!0)),
  54622. "hex8" === e && (r = this.toHex8String()),
  54623. "name" === e && (r = this.toName()),
  54624. "hsl" === e && (r = this.toHslString()),
  54625. "hsv" === e && (r = this.toHsvString()),
  54626. r || this.toHexString())
  54627. },
  54628. clone: function () {
  54629. return oe(this.toString())
  54630. },
  54631. _applyModification: function (e, t) {
  54632. var r = e.apply(null, [this].concat([].slice.call(t)))
  54633. return (this._r = r._r), (this._g = r._g), (this._b = r._b), this.setAlpha(r._a), this
  54634. },
  54635. lighten: function () {
  54636. return this._applyModification(ve, arguments)
  54637. },
  54638. brighten: function () {
  54639. return this._applyModification(be, arguments)
  54640. },
  54641. darken: function () {
  54642. return this._applyModification(we, arguments)
  54643. },
  54644. desaturate: function () {
  54645. return this._applyModification(me, arguments)
  54646. },
  54647. saturate: function () {
  54648. return this._applyModification(ge, arguments)
  54649. },
  54650. greyscale: function () {
  54651. return this._applyModification(ye, arguments)
  54652. },
  54653. spin: function () {
  54654. return this._applyModification(xe, arguments)
  54655. },
  54656. _applyCombination: function (e, t) {
  54657. return e.apply(null, [this].concat([].slice.call(t)))
  54658. },
  54659. analogous: function () {
  54660. return this._applyCombination(Ee, arguments)
  54661. },
  54662. complement: function () {
  54663. return this._applyCombination(Ae, arguments)
  54664. },
  54665. monochromatic: function () {
  54666. return this._applyCombination(Se, arguments)
  54667. },
  54668. splitcomplement: function () {
  54669. return this._applyCombination(Te, arguments)
  54670. },
  54671. triad: function () {
  54672. return this._applyCombination(_e, [3])
  54673. },
  54674. tetrad: function () {
  54675. return this._applyCombination(_e, [4])
  54676. }
  54677. }),
  54678. (oe.fromRatio = function (e, t) {
  54679. if ("object" == z(e)) {
  54680. var r = {}
  54681. for (var n in e) e.hasOwnProperty(n) && (r[n] = "a" === n ? e[n] : De(e[n]))
  54682. e = r
  54683. }
  54684. return oe(e, t)
  54685. }),
  54686. (oe.equals = function (e, t) {
  54687. return !(!e || !t) && oe(e).toRgbString() == oe(t).toRgbString()
  54688. }),
  54689. (oe.random = function () {
  54690. return oe.fromRatio({
  54691. r: Math.random(),
  54692. g: Math.random(),
  54693. b: Math.random()
  54694. })
  54695. }),
  54696. (oe.mix = function (e, t, r) {
  54697. r = 0 === r ? 0 : r || 50
  54698. var n = oe(e).toRgb(),
  54699. i = oe(t).toRgb(),
  54700. o = r / 100,
  54701. a = {
  54702. r: (i.r - n.r) * o + n.r,
  54703. g: (i.g - n.g) * o + n.g,
  54704. b: (i.b - n.b) * o + n.b,
  54705. a: (i.a - n.a) * o + n.a
  54706. }
  54707. return oe(a)
  54708. }),
  54709. (oe.readability = function (e, t) {
  54710. var r = oe(e),
  54711. n = oe(t)
  54712. return (Math.max(r.getLuminance(), n.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), n.getLuminance()) + 0.05)
  54713. }),
  54714. (oe.isReadable = function (e, t, r) {
  54715. var n,
  54716. i,
  54717. o = oe.readability(e, t)
  54718. switch (((i = !1), (n = Ge(r)), n.level + n.size)) {
  54719. case "AAsmall":
  54720. case "AAAlarge":
  54721. i = o >= 4.5
  54722. break
  54723. case "AAlarge":
  54724. i = o >= 3
  54725. break
  54726. case "AAAsmall":
  54727. i = o >= 7
  54728. break
  54729. }
  54730. return i
  54731. }),
  54732. (oe.mostReadable = function (e, t, r) {
  54733. var n,
  54734. i,
  54735. o,
  54736. a,
  54737. s = null,
  54738. l = 0
  54739. ;(r = r || {}), (i = r.includeFallbackColors), (o = r.level), (a = r.size)
  54740. for (var c = 0; c < t.length; c++) (n = oe.readability(e, t[c])), n > l && ((l = n), (s = oe(t[c])))
  54741. return oe.isReadable(e, s, {
  54742. level: o,
  54743. size: a
  54744. }) || !i
  54745. ? s
  54746. : ((r.includeFallbackColors = !1), oe.mostReadable(e, ["#fff", "#000"], r))
  54747. })
  54748. var Ce = (oe.names = {
  54749. aliceblue: "f0f8ff",
  54750. antiquewhite: "faebd7",
  54751. aqua: "0ff",
  54752. aquamarine: "7fffd4",
  54753. azure: "f0ffff",
  54754. beige: "f5f5dc",
  54755. bisque: "ffe4c4",
  54756. black: "000",
  54757. blanchedalmond: "ffebcd",
  54758. blue: "00f",
  54759. blueviolet: "8a2be2",
  54760. brown: "a52a2a",
  54761. burlywood: "deb887",
  54762. burntsienna: "ea7e5d",
  54763. cadetblue: "5f9ea0",
  54764. chartreuse: "7fff00",
  54765. chocolate: "d2691e",
  54766. coral: "ff7f50",
  54767. cornflowerblue: "6495ed",
  54768. cornsilk: "fff8dc",
  54769. crimson: "dc143c",
  54770. cyan: "0ff",
  54771. darkblue: "00008b",
  54772. darkcyan: "008b8b",
  54773. darkgoldenrod: "b8860b",
  54774. darkgray: "a9a9a9",
  54775. darkgreen: "006400",
  54776. darkgrey: "a9a9a9",
  54777. darkkhaki: "bdb76b",
  54778. darkmagenta: "8b008b",
  54779. darkolivegreen: "556b2f",
  54780. darkorange: "ff8c00",
  54781. darkorchid: "9932cc",
  54782. darkred: "8b0000",
  54783. darksalmon: "e9967a",
  54784. darkseagreen: "8fbc8f",
  54785. darkslateblue: "483d8b",
  54786. darkslategray: "2f4f4f",
  54787. darkslategrey: "2f4f4f",
  54788. darkturquoise: "00ced1",
  54789. darkviolet: "9400d3",
  54790. deeppink: "ff1493",
  54791. deepskyblue: "00bfff",
  54792. dimgray: "696969",
  54793. dimgrey: "696969",
  54794. dodgerblue: "1e90ff",
  54795. firebrick: "b22222",
  54796. floralwhite: "fffaf0",
  54797. forestgreen: "228b22",
  54798. fuchsia: "f0f",
  54799. gainsboro: "dcdcdc",
  54800. ghostwhite: "f8f8ff",
  54801. gold: "ffd700",
  54802. goldenrod: "daa520",
  54803. gray: "808080",
  54804. green: "008000",
  54805. greenyellow: "adff2f",
  54806. grey: "808080",
  54807. honeydew: "f0fff0",
  54808. hotpink: "ff69b4",
  54809. indianred: "cd5c5c",
  54810. indigo: "4b0082",
  54811. ivory: "fffff0",
  54812. khaki: "f0e68c",
  54813. lavender: "e6e6fa",
  54814. lavenderblush: "fff0f5",
  54815. lawngreen: "7cfc00",
  54816. lemonchiffon: "fffacd",
  54817. lightblue: "add8e6",
  54818. lightcoral: "f08080",
  54819. lightcyan: "e0ffff",
  54820. lightgoldenrodyellow: "fafad2",
  54821. lightgray: "d3d3d3",
  54822. lightgreen: "90ee90",
  54823. lightgrey: "d3d3d3",
  54824. lightpink: "ffb6c1",
  54825. lightsalmon: "ffa07a",
  54826. lightseagreen: "20b2aa",
  54827. lightskyblue: "87cefa",
  54828. lightslategray: "789",
  54829. lightslategrey: "789",
  54830. lightsteelblue: "b0c4de",
  54831. lightyellow: "ffffe0",
  54832. lime: "0f0",
  54833. limegreen: "32cd32",
  54834. linen: "faf0e6",
  54835. magenta: "f0f",
  54836. maroon: "800000",
  54837. mediumaquamarine: "66cdaa",
  54838. mediumblue: "0000cd",
  54839. mediumorchid: "ba55d3",
  54840. mediumpurple: "9370db",
  54841. mediumseagreen: "3cb371",
  54842. mediumslateblue: "7b68ee",
  54843. mediumspringgreen: "00fa9a",
  54844. mediumturquoise: "48d1cc",
  54845. mediumvioletred: "c71585",
  54846. midnightblue: "191970",
  54847. mintcream: "f5fffa",
  54848. mistyrose: "ffe4e1",
  54849. moccasin: "ffe4b5",
  54850. navajowhite: "ffdead",
  54851. navy: "000080",
  54852. oldlace: "fdf5e6",
  54853. olive: "808000",
  54854. olivedrab: "6b8e23",
  54855. orange: "ffa500",
  54856. orangered: "ff4500",
  54857. orchid: "da70d6",
  54858. palegoldenrod: "eee8aa",
  54859. palegreen: "98fb98",
  54860. paleturquoise: "afeeee",
  54861. palevioletred: "db7093",
  54862. papayawhip: "ffefd5",
  54863. peachpuff: "ffdab9",
  54864. peru: "cd853f",
  54865. pink: "ffc0cb",
  54866. plum: "dda0dd",
  54867. powderblue: "b0e0e6",
  54868. purple: "800080",
  54869. rebeccapurple: "663399",
  54870. red: "f00",
  54871. rosybrown: "bc8f8f",
  54872. royalblue: "4169e1",
  54873. saddlebrown: "8b4513",
  54874. salmon: "fa8072",
  54875. sandybrown: "f4a460",
  54876. seagreen: "2e8b57",
  54877. seashell: "fff5ee",
  54878. sienna: "a0522d",
  54879. silver: "c0c0c0",
  54880. skyblue: "87ceeb",
  54881. slateblue: "6a5acd",
  54882. slategray: "708090",
  54883. slategrey: "708090",
  54884. snow: "fffafa",
  54885. springgreen: "00ff7f",
  54886. steelblue: "4682b4",
  54887. tan: "d2b48c",
  54888. teal: "008080",
  54889. thistle: "d8bfd8",
  54890. tomato: "ff6347",
  54891. turquoise: "40e0d0",
  54892. violet: "ee82ee",
  54893. wheat: "f5deb3",
  54894. white: "fff",
  54895. whitesmoke: "f5f5f5",
  54896. yellow: "ff0",
  54897. yellowgreen: "9acd32"
  54898. }),
  54899. ke = (oe.hexNames = Le(Ce))
  54900. function Le(e) {
  54901. var t = {}
  54902. for (var r in e) e.hasOwnProperty(r) && (t[e[r]] = r)
  54903. return t
  54904. }
  54905. function Pe(e) {
  54906. return (e = parseFloat(e)), (isNaN(e) || e < 0 || e > 1) && (e = 1), e
  54907. }
  54908. function Oe(e, t) {
  54909. Ie(e) && (e = "100%")
  54910. var r = Ne(e)
  54911. return (
  54912. (e = Math.min(t, Math.max(0, parseFloat(e)))),
  54913. r && (e = parseInt(e * t, 10) / 100),
  54914. Math.abs(e - t) < 1e-6 ? 1 : (e % t) / parseFloat(t)
  54915. )
  54916. }
  54917. function je(e) {
  54918. return Math.min(1, Math.max(0, e))
  54919. }
  54920. function Re(e) {
  54921. return parseInt(e, 16)
  54922. }
  54923. function Ie(e) {
  54924. return "string" == typeof e && -1 != e.indexOf(".") && 1 === parseFloat(e)
  54925. }
  54926. function Ne(e) {
  54927. return "string" === typeof e && -1 != e.indexOf("%")
  54928. }
  54929. function Me(e) {
  54930. return 1 == e.length ? "0" + e : "" + e
  54931. }
  54932. function De(e) {
  54933. return e <= 1 && (e = 100 * e + "%"), e
  54934. }
  54935. function Be(e) {
  54936. return Math.round(255 * parseFloat(e)).toString(16)
  54937. }
  54938. function Fe(e) {
  54939. return Re(e) / 255
  54940. }
  54941. var Ue = (function () {
  54942. var e = "[-\\+]?\\d+%?",
  54943. t = "[-\\+]?\\d*\\.\\d+%?",
  54944. r = "(?:" + t + ")|(?:" + e + ")",
  54945. n = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?",
  54946. i = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?"
  54947. return {
  54948. CSS_UNIT: new RegExp(r),
  54949. rgb: new RegExp("rgb" + n),
  54950. rgba: new RegExp("rgba" + i),
  54951. hsl: new RegExp("hsl" + n),
  54952. hsla: new RegExp("hsla" + i),
  54953. hsv: new RegExp("hsv" + n),
  54954. hsva: new RegExp("hsva" + i),
  54955. hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
  54956. hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
  54957. hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
  54958. hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
  54959. }
  54960. })()
  54961. function ze(e) {
  54962. return !!Ue.CSS_UNIT.exec(e)
  54963. }
  54964. function qe(e) {
  54965. e = e.replace(ne, "").replace(ie, "").toLowerCase()
  54966. var t,
  54967. r = !1
  54968. if (Ce[e]) (e = Ce[e]), (r = !0)
  54969. else if ("transparent" == e)
  54970. return {
  54971. r: 0,
  54972. g: 0,
  54973. b: 0,
  54974. a: 0,
  54975. format: "name"
  54976. }
  54977. return (t = Ue.rgb.exec(e))
  54978. ? {
  54979. r: t[1],
  54980. g: t[2],
  54981. b: t[3]
  54982. }
  54983. : (t = Ue.rgba.exec(e))
  54984. ? {
  54985. r: t[1],
  54986. g: t[2],
  54987. b: t[3],
  54988. a: t[4]
  54989. }
  54990. : (t = Ue.hsl.exec(e))
  54991. ? {
  54992. h: t[1],
  54993. s: t[2],
  54994. l: t[3]
  54995. }
  54996. : (t = Ue.hsla.exec(e))
  54997. ? {
  54998. h: t[1],
  54999. s: t[2],
  55000. l: t[3],
  55001. a: t[4]
  55002. }
  55003. : (t = Ue.hsv.exec(e))
  55004. ? {
  55005. h: t[1],
  55006. s: t[2],
  55007. v: t[3]
  55008. }
  55009. : (t = Ue.hsva.exec(e))
  55010. ? {
  55011. h: t[1],
  55012. s: t[2],
  55013. v: t[3],
  55014. a: t[4]
  55015. }
  55016. : (t = Ue.hex8.exec(e))
  55017. ? {
  55018. r: Re(t[1]),
  55019. g: Re(t[2]),
  55020. b: Re(t[3]),
  55021. a: Fe(t[4]),
  55022. format: r ? "name" : "hex8"
  55023. }
  55024. : (t = Ue.hex6.exec(e))
  55025. ? {
  55026. r: Re(t[1]),
  55027. g: Re(t[2]),
  55028. b: Re(t[3]),
  55029. format: r ? "name" : "hex"
  55030. }
  55031. : (t = Ue.hex4.exec(e))
  55032. ? {
  55033. r: Re(t[1] + "" + t[1]),
  55034. g: Re(t[2] + "" + t[2]),
  55035. b: Re(t[3] + "" + t[3]),
  55036. a: Fe(t[4] + "" + t[4]),
  55037. format: r ? "name" : "hex8"
  55038. }
  55039. : !!(t = Ue.hex3.exec(e)) && {
  55040. r: Re(t[1] + "" + t[1]),
  55041. g: Re(t[2] + "" + t[2]),
  55042. b: Re(t[3] + "" + t[3]),
  55043. format: r ? "name" : "hex"
  55044. }
  55045. }
  55046. function Ge(e) {
  55047. var t, r
  55048. return (
  55049. (e = e || {
  55050. level: "AA",
  55051. size: "small"
  55052. }),
  55053. (t = (e.level || "AA").toUpperCase()),
  55054. (r = (e.size || "small").toLowerCase()),
  55055. "AA" !== t && "AAA" !== t && (t = "AA"),
  55056. "small" !== r && "large" !== r && (r = "small"),
  55057. {
  55058. level: t,
  55059. size: r
  55060. }
  55061. )
  55062. }
  55063. var We = ["style", "script", "template"],
  55064. Ve = ["html", "head", "body", "p", "dt", "dd", "li", "option", "thead", "th", "tbody", "tr", "td", "tfoot", "colgroup"],
  55065. He = {
  55066. li: ["ul", "ol", "menu"],
  55067. dt: ["dl"],
  55068. dd: ["dl"],
  55069. tbody: ["table"],
  55070. thead: ["table"],
  55071. tfoot: ["table"],
  55072. tr: ["table"],
  55073. td: ["table"]
  55074. },
  55075. Xe = [
  55076. "!doctype",
  55077. "area",
  55078. "base",
  55079. "br",
  55080. "col",
  55081. "command",
  55082. "embed",
  55083. "hr",
  55084. "img",
  55085. "input",
  55086. "keygen",
  55087. "link",
  55088. "meta",
  55089. "param",
  55090. "source",
  55091. "track",
  55092. "wbr"
  55093. ],
  55094. Ye = function (e, t) {
  55095. var r = t - e.position
  55096. Ke(e, r)
  55097. },
  55098. Ke = function (e, t) {
  55099. e.position = e.position + t
  55100. },
  55101. Ze = function (e, t) {
  55102. var r = !1
  55103. while (!r) {
  55104. var n = e.indexOf("<", t)
  55105. if (-1 === n) return n
  55106. var i = e.charAt(n + 1)
  55107. if ("/" === i || "!" === i || /[A-Za-z0-9]/.test(i)) return n
  55108. t = n + 1
  55109. }
  55110. return -1
  55111. },
  55112. Qe = function (e) {
  55113. var t = e.str,
  55114. r = Ze(t, e.position)
  55115. if (r !== e.position) {
  55116. ;-1 === r && (r = t.length)
  55117. var n = t.slice(e.position, r)
  55118. Ye(e, r),
  55119. e.tokens.push({
  55120. type: "text",
  55121. content: n
  55122. })
  55123. }
  55124. },
  55125. Je = function (e) {
  55126. var t = e.str
  55127. Ke(e, 4)
  55128. var r = t.indexOf("--\x3e", e.position),
  55129. n = r + 3
  55130. ;-1 === r && (r = n = t.length)
  55131. var i = t.slice(e.position, r)
  55132. Ye(e, n),
  55133. e.tokens.push({
  55134. type: "comment",
  55135. content: i
  55136. })
  55137. },
  55138. $e = function (e) {
  55139. var t = e.str,
  55140. r = t.length,
  55141. n = e.position
  55142. while (n < r) {
  55143. var i = t.charAt(n),
  55144. o = !(/\s/.test(i) || "/" === i || ">" === i)
  55145. if (o) break
  55146. n++
  55147. }
  55148. var a = n + 1
  55149. while (a < r) {
  55150. var s = t.charAt(a),
  55151. l = !(/\s/.test(s) || "/" === s || ">" === s)
  55152. if (!l) break
  55153. a++
  55154. }
  55155. Ye(e, a)
  55156. var c = t.slice(n, a)
  55157. return (
  55158. e.tokens.push({
  55159. type: "tag",
  55160. content: c
  55161. }),
  55162. c
  55163. )
  55164. },
  55165. et = function (e) {
  55166. var t = e.str,
  55167. r = e.tokens,
  55168. n = e.position,
  55169. i = null,
  55170. o = n,
  55171. a = [],
  55172. l = t.length
  55173. while (n < l) {
  55174. var c = t.charAt(n)
  55175. if (i) {
  55176. var u = c === i
  55177. u && (i = null), n++
  55178. } else {
  55179. var f = "/" === c || ">" === c
  55180. if (f) {
  55181. n !== o && a.push(t.slice(o, n))
  55182. break
  55183. }
  55184. var p = /\s/.test(c)
  55185. if (p) n !== o && a.push(t.slice(o, n)), (o = n + 1), n++
  55186. else {
  55187. var d = "'" === c || '"' === c
  55188. d ? ((i = c), n++) : n++
  55189. }
  55190. }
  55191. }
  55192. Ye(e, n)
  55193. for (var h = "attribute", m = 0; m < a.length; m++) {
  55194. var g = a[m],
  55195. y = -1 === g.indexOf("=")
  55196. if (y) {
  55197. var v = a[m + 1]
  55198. if (v && Object(s["startsWith"])(v, "=")) {
  55199. if (v.length > 1) {
  55200. var b = g + v
  55201. r.push({
  55202. type: h,
  55203. content: b
  55204. }),
  55205. (m += 1)
  55206. continue
  55207. }
  55208. var w = a[m + 2]
  55209. if (((m += 1), w)) {
  55210. var x = g + "=" + w
  55211. r.push({
  55212. type: h,
  55213. content: x
  55214. }),
  55215. (m += 1)
  55216. continue
  55217. }
  55218. }
  55219. }
  55220. if (Object(s["endsWith"])(g, "=")) {
  55221. var A = a[m + 1]
  55222. if (A && -1 === A.indexOf("=")) {
  55223. var _ = g + A
  55224. r.push({
  55225. type: h,
  55226. content: _
  55227. }),
  55228. (m += 1)
  55229. continue
  55230. }
  55231. var T = g.slice(0, -1)
  55232. r.push({
  55233. type: h,
  55234. content: T
  55235. })
  55236. } else
  55237. r.push({
  55238. type: h,
  55239. content: g
  55240. })
  55241. }
  55242. },
  55243. tt = function (e, t) {
  55244. var r = t.str,
  55245. n = t.tokens,
  55246. i = e.toLowerCase(),
  55247. o = r.length,
  55248. a = t.position
  55249. while (a < o) {
  55250. var s = r.indexOf("</", a)
  55251. if (-1 === s) {
  55252. Qe(t)
  55253. break
  55254. }
  55255. var l = {
  55256. str: r,
  55257. position: t.position,
  55258. tokens: []
  55259. }
  55260. Ye(l, s)
  55261. var c = rt(l)
  55262. if (i === c.toLowerCase()) {
  55263. if (s !== t.position) {
  55264. var u = t.position
  55265. Ye(t, s),
  55266. n.push({
  55267. type: "text",
  55268. content: r.slice(u, s)
  55269. })
  55270. }
  55271. n.push.apply(n, N(l.tokens)), Ye(t, l.position)
  55272. break
  55273. }
  55274. a = l.position
  55275. }
  55276. },
  55277. rt = function (e) {
  55278. var t = e.str,
  55279. r = t.charAt(e.position + 1),
  55280. n = "/" === r
  55281. Ke(e, n ? 2 : 1),
  55282. e.tokens.push({
  55283. type: "tag-start",
  55284. close: n
  55285. })
  55286. var i = $e(e)
  55287. et(e)
  55288. var o = t.charAt(e.position),
  55289. a = "/" === o
  55290. return (
  55291. Ke(e, a ? 2 : 1),
  55292. e.tokens.push({
  55293. type: "tag-end",
  55294. close: a
  55295. }),
  55296. i
  55297. )
  55298. },
  55299. nt = function (e) {
  55300. var t = e.str,
  55301. r = t.length
  55302. while (e.position < r) {
  55303. var n = e.position
  55304. if ((Qe(e), e.position === n)) {
  55305. var i = Object(s["startsWith"])(t, "!--", n + 1)
  55306. if (i) Je(e)
  55307. else {
  55308. var o = rt(e),
  55309. a = o.toLowerCase()
  55310. We.includes(a) && tt(o, e)
  55311. }
  55312. }
  55313. }
  55314. },
  55315. it = function (e) {
  55316. var t = {
  55317. str: e,
  55318. position: 0,
  55319. tokens: []
  55320. }
  55321. return nt(t), t.tokens
  55322. },
  55323. ot = function (e) {
  55324. var t = {
  55325. tagName: null,
  55326. children: []
  55327. },
  55328. r = {
  55329. tokens: e,
  55330. cursor: 0,
  55331. stack: [t]
  55332. }
  55333. return lt(r), t.children
  55334. },
  55335. at = function (e, t) {
  55336. var r = He[e]
  55337. if (r) {
  55338. var n = t.length - 1
  55339. while (n >= 0) {
  55340. var i = t[n].tagName
  55341. if (i === e) break
  55342. if (r.includes(i)) return !0
  55343. n--
  55344. }
  55345. }
  55346. return !1
  55347. },
  55348. st = function (e, t) {
  55349. e.splice(t)
  55350. },
  55351. lt = function e(t) {
  55352. var r = t.stack,
  55353. n = t.tokens,
  55354. i = t.cursor,
  55355. o = r[r.length - 1].children,
  55356. a = n.length
  55357. while (i < a) {
  55358. var s = n[i]
  55359. if ("tag-start" === s.type) {
  55360. var l = n[++i]
  55361. i++
  55362. var c = l.content.toLowerCase()
  55363. if (s.close) {
  55364. var u = r.length,
  55365. f = !1
  55366. while (--u > -1)
  55367. if (r[u].tagName === c) {
  55368. f = !0
  55369. break
  55370. }
  55371. while (i < a) {
  55372. if ("tag-end" !== n[i].type) break
  55373. i++
  55374. }
  55375. if (f) {
  55376. st(r, u)
  55377. break
  55378. }
  55379. } else {
  55380. var p = Ve.includes(c),
  55381. d = p
  55382. if ((d && (d = !at(c, r)), d)) {
  55383. var h = r.length - 1
  55384. while (h > 0) {
  55385. if (c === r[h].tagName) {
  55386. st(r, h)
  55387. var m = h - 1
  55388. o = r[m].children
  55389. break
  55390. }
  55391. h -= 1
  55392. }
  55393. }
  55394. var g = [],
  55395. y = void 0
  55396. while (i < a) {
  55397. var v = n[i]
  55398. if ("tag-end" === v.type) {
  55399. y = v
  55400. break
  55401. }
  55402. g.push(v.content), i++
  55403. }
  55404. if (!y) break
  55405. i++
  55406. var b = [],
  55407. w = {
  55408. type: "element",
  55409. tagName: l.content,
  55410. attributes: g,
  55411. children: b
  55412. }
  55413. o.push(w)
  55414. var x = !(y.close || Xe.includes(c))
  55415. if (x) {
  55416. r.push({
  55417. tagName: c,
  55418. children: b
  55419. })
  55420. var A = {
  55421. tokens: n,
  55422. cursor: i,
  55423. stack: r
  55424. }
  55425. e(A), (i = A.cursor)
  55426. }
  55427. }
  55428. } else o.push(s), i++
  55429. }
  55430. t.cursor = i
  55431. },
  55432. ct = function (e, t) {
  55433. var r = e.indexOf(t)
  55434. return -1 === r ? [e] : [e.slice(0, r), e.slice(r + t.length)]
  55435. },
  55436. ut = function (e) {
  55437. var t = e.charAt(0),
  55438. r = e.length - 1,
  55439. n = '"' === t || "'" === t
  55440. return n && t === e.charAt(r) ? e.slice(1, r) : e
  55441. },
  55442. ft = function (e) {
  55443. return e.map(function (e) {
  55444. var t = ct(e.trim(), "="),
  55445. r = t[0],
  55446. n = "string" === typeof t[1] ? ut(t[1]) : null
  55447. return {
  55448. key: r,
  55449. value: n
  55450. }
  55451. })
  55452. },
  55453. pt = function e(t) {
  55454. return t.map(function (t) {
  55455. if ("element" === t.type) {
  55456. var r = e(t.children),
  55457. n = {
  55458. type: "element",
  55459. tagName: t.tagName.toLowerCase(),
  55460. attributes: ft(t.attributes),
  55461. children: r
  55462. }
  55463. return n
  55464. }
  55465. var i = {
  55466. type: t.type,
  55467. content: t.content
  55468. }
  55469. return i
  55470. })
  55471. },
  55472. dt = function (e) {
  55473. var t = it(e),
  55474. r = ot(t)
  55475. return pt(r)
  55476. },
  55477. ht = 96,
  55478. mt = 0.75,
  55479. gt = function (e) {
  55480. var t = oe(e),
  55481. r = t.getAlpha(),
  55482. n = 0 === r ? "#ffffff" : t.setAlpha(1).toHexString()
  55483. return {
  55484. alpha: r,
  55485. color: n
  55486. }
  55487. },
  55488. yt = function (e) {
  55489. var t = dt(e),
  55490. r = !1,
  55491. n = 0,
  55492. i = [],
  55493. o = function e(t) {
  55494. var o,
  55495. a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  55496. s = I(t)
  55497. try {
  55498. for (s.s(); !(o = s.n()).done; ) {
  55499. var c = o.value,
  55500. u = "tagName" in c && ["div", "li", "p"].includes(c.tagName)
  55501. if (u && i.length) {
  55502. var f = i[i.length - 1]
  55503. f.options || (f.options = {}), (f.options.breakLine = !0)
  55504. }
  55505. var p = P({}, a),
  55506. d =
  55507. "attributes" in c
  55508. ? c.attributes.find(function (e) {
  55509. return "style" === e.key
  55510. })
  55511. : null
  55512. if (d && d.value) {
  55513. var h,
  55514. m = d.value.split(";"),
  55515. g = I(m)
  55516. try {
  55517. for (g.s(); !(h = g.n()).done; ) {
  55518. var y = h.value,
  55519. v = y.split(": "),
  55520. b = E(v, 2),
  55521. w = b[0],
  55522. x = b[1],
  55523. A = [l.a.trim(w), l.a.trim(x)],
  55524. _ = A[0],
  55525. T = A[1]
  55526. _ && T && (p[_] = T)
  55527. var S = y.split(":"),
  55528. C = E(S, 2),
  55529. k = C[0],
  55530. L = C[1],
  55531. O = [l.a.trim(k), l.a.trim(L)],
  55532. j = O[0],
  55533. R = O[1]
  55534. j && R && (p[j] = R)
  55535. }
  55536. } catch (F) {
  55537. g.e(F)
  55538. } finally {
  55539. g.f()
  55540. }
  55541. }
  55542. if ("tagName" in c) {
  55543. if (
  55544. ("em" === c.tagName && (p["font-style"] = "italic"),
  55545. "strong" === c.tagName && (p["font-weight"] = "bold"),
  55546. "sup" === c.tagName && (p["vertical-align"] = "super"),
  55547. "sub" === c.tagName && (p["vertical-align"] = "sub"),
  55548. "a" === c.tagName)
  55549. ) {
  55550. var N = c.attributes.find(function (e) {
  55551. return "href" === e.key
  55552. })
  55553. p["href"] = (null === N || void 0 === N ? void 0 : N.value) || ""
  55554. }
  55555. if (
  55556. ("ul" === c.tagName && (p["list-type"] = "ul"),
  55557. "ol" === c.tagName && (p["list-type"] = "ol"),
  55558. "li" === c.tagName && (r = !0),
  55559. "p" === c.tagName && "attributes" in c)
  55560. ) {
  55561. var M = c.attributes.find(function (e) {
  55562. return "data-indent" === e.key
  55563. })
  55564. M && M.value && (n = +M.value)
  55565. }
  55566. }
  55567. if ("tagName" in c && "br" === c.tagName)
  55568. i.push({
  55569. text: "",
  55570. options: {
  55571. breakLine: !0
  55572. }
  55573. })
  55574. else if ("content" in c) {
  55575. var D = c.content
  55576. .replace(/&nbsp;/g, " ")
  55577. .replace(/&gt;/g, ">")
  55578. .replace(/&lt;/g, "<")
  55579. .replace(/&amp;/g, "&")
  55580. .replace(/\n/g, ""),
  55581. B = {}
  55582. p["font-size"] && (B.fontSize = parseInt(p["font-size"]) * mt),
  55583. p["color"] && (B.color = gt(p["color"]).color),
  55584. p["background-color"] && (B.highlight = gt(p["background-color"]).color),
  55585. p["text-decoration-line"] &&
  55586. (-1 !== p["text-decoration-line"].indexOf("underline") &&
  55587. (B.underline = {
  55588. color: B.color || "#000000",
  55589. style: "sng"
  55590. }),
  55591. -1 !== p["text-decoration-line"].indexOf("line-through") && (B.strike = "sngStrike")),
  55592. p["text-decoration"] &&
  55593. (-1 !== p["text-decoration"].indexOf("underline") &&
  55594. (B.underline = {
  55595. color: B.color || "#000000",
  55596. style: "sng"
  55597. }),
  55598. -1 !== p["text-decoration"].indexOf("line-through") && (B.strike = "sngStrike")),
  55599. p["vertical-align"] &&
  55600. ("super" === p["vertical-align"] && (B.superscript = !0), "sub" === p["vertical-align"] && (B.subscript = !0)),
  55601. p["text-align"] && (B.align = p["text-align"]),
  55602. p["font-weight"] && (B.bold = "bold" === p["font-weight"]),
  55603. p["font-style"] && (B.italic = "italic" === p["font-style"]),
  55604. p["font-family"] && (B.fontFace = p["font-family"]),
  55605. p["href"] &&
  55606. (B.hyperlink = {
  55607. url: p["href"]
  55608. }),
  55609. r &&
  55610. "ol" === p["list-type"] &&
  55611. ((B.bullet = {
  55612. type: "number",
  55613. indent: 20 * mt
  55614. }),
  55615. (B.paraSpaceBefore = 0.1),
  55616. (r = !1)),
  55617. r &&
  55618. "ul" === p["list-type"] &&
  55619. ((B.bullet = {
  55620. indent: 20 * mt
  55621. }),
  55622. (B.paraSpaceBefore = 0.1),
  55623. (r = !1)),
  55624. n && ((B.indentLevel = n), (n = 0)),
  55625. i.push({
  55626. text: D,
  55627. options: B
  55628. })
  55629. } else "children" in c && e(c.children, p)
  55630. }
  55631. } catch (F) {
  55632. s.e(F)
  55633. } finally {
  55634. s.f()
  55635. }
  55636. }
  55637. return o(t), i
  55638. },
  55639. vt = function (e) {
  55640. var t =
  55641. arguments.length > 1 && void 0 !== arguments[1]
  55642. ? arguments[1]
  55643. : {
  55644. x: 1,
  55645. y: 1
  55646. }
  55647. return e.map(function (e) {
  55648. if (void 0 !== e.close)
  55649. return {
  55650. close: !0
  55651. }
  55652. if ("M" === e.type)
  55653. return {
  55654. x: (e.x / ht) * t.x,
  55655. y: (e.y / ht) * t.y,
  55656. moveTo: !0
  55657. }
  55658. if (e.curve) {
  55659. if ("cubic" === e.curve.type)
  55660. return {
  55661. x: (e.x / ht) * t.x,
  55662. y: (e.y / ht) * t.y,
  55663. curve: {
  55664. type: "cubic",
  55665. x1: (e.curve.x1 / ht) * t.x,
  55666. y1: (e.curve.y1 / ht) * t.y,
  55667. x2: (e.curve.x2 / ht) * t.x,
  55668. y2: (e.curve.y2 / ht) * t.y
  55669. }
  55670. }
  55671. if ("quadratic" === e.curve.type)
  55672. return {
  55673. x: (e.x / ht) * t.x,
  55674. y: (e.y / ht) * t.y,
  55675. curve: {
  55676. type: "quadratic",
  55677. x1: (e.curve.x1 / ht) * t.x,
  55678. y1: (e.curve.y1 / ht) * t.y
  55679. }
  55680. }
  55681. }
  55682. return {
  55683. x: (e.x / ht) * t.x,
  55684. y: (e.y / ht) * t.y
  55685. }
  55686. })
  55687. },
  55688. bt = function (e) {
  55689. var t = gt(e.color),
  55690. r = e.h,
  55691. n = e.v,
  55692. i = 4,
  55693. o = 45
  55694. return (
  55695. 0 === r && 0 === n
  55696. ? ((i = 4), (o = 45))
  55697. : 0 === r
  55698. ? n > 0
  55699. ? ((i = n), (o = 90))
  55700. : ((i = -n), (o = 270))
  55701. : 0 === n
  55702. ? r > 0
  55703. ? ((i = r), (o = 1))
  55704. : ((i = -r), (o = 180))
  55705. : r > 0 && n > 0
  55706. ? ((i = Math.max(r, n)), (o = 45))
  55707. : r > 0 && n < 0
  55708. ? ((i = Math.max(r, -n)), (o = 315))
  55709. : r < 0 && n > 0
  55710. ? ((i = Math.max(-r, n)), (o = 135))
  55711. : r < 0 && n < 0 && ((i = Math.max(-r, -n)), (o = 225)),
  55712. {
  55713. type: "outer",
  55714. color: t.color.replace("#", ""),
  55715. opacity: t.alpha,
  55716. blur: e.blur * mt,
  55717. offset: i,
  55718. angle: o
  55719. }
  55720. )
  55721. },
  55722. wt = function (e) {
  55723. var t = gt((null === e || void 0 === e ? void 0 : e.color) || "#000000")
  55724. return {
  55725. color: t.color,
  55726. transparency: 100 * (1 - t.alpha),
  55727. width: (e.width || 1) * mt,
  55728. dashType: "solid" === e.style ? "solid" : "dash"
  55729. }
  55730. },
  55731. xt = function (e) {
  55732. var t = e.start.join(","),
  55733. r = e.end.join(",")
  55734. if (e.broken) {
  55735. var n = e.broken.join(",")
  55736. return "M".concat(t, " L").concat(n, " L").concat(r)
  55737. }
  55738. if (e.curve) {
  55739. var i = e.curve.join(",")
  55740. return "M".concat(t, " Q").concat(i, " ").concat(r)
  55741. }
  55742. if (e.cubic) {
  55743. var o = E(e.cubic, 2),
  55744. a = o[0],
  55745. s = o[1],
  55746. l = a.join(","),
  55747. c = s.join(",")
  55748. return "M".concat(t, " C").concat(l, " ").concat(c, " ").concat(r)
  55749. }
  55750. return "M".concat(t, " L").concat(r)
  55751. },
  55752. At = function (e) {
  55753. var t, r, n, i
  55754. if ("line" === e.type)
  55755. (t = e.left), (r = e.left + Math.max(e.start[0], e.end[0])), (n = e.top), (i = e.top + Math.max(e.start[1], e.end[1]))
  55756. else if ("rotate" in e && e.rotate) {
  55757. var o = e.left,
  55758. a = e.top,
  55759. s = e.width,
  55760. l = e.height,
  55761. c = e.rotate,
  55762. u = _t({
  55763. left: o,
  55764. top: a,
  55765. width: s,
  55766. height: l,
  55767. rotate: c
  55768. }),
  55769. f = u.xRange,
  55770. p = u.yRange
  55771. ;(t = f[0]), (r = f[1]), (n = p[0]), (i = p[1])
  55772. } else (t = e.left), (r = e.left + e.width), (n = e.top), (i = e.top + e.height)
  55773. return {
  55774. minX: t,
  55775. maxX: r,
  55776. minY: n,
  55777. maxY: i
  55778. }
  55779. },
  55780. _t = function (e) {
  55781. var t = e.left,
  55782. r = e.top,
  55783. n = e.width,
  55784. i = e.height,
  55785. o = e.rotate,
  55786. a = void 0 === o ? 0 : o,
  55787. s = Math.sqrt(Math.pow(n, 2) + Math.pow(i, 2)) / 2,
  55788. l = (180 * Math.atan(i / n)) / Math.PI,
  55789. c = ((180 - a - l) * Math.PI) / 180,
  55790. u = ((l - a) * Math.PI) / 180,
  55791. f = t + n / 2,
  55792. p = r + i / 2,
  55793. d = [f + s * Math.cos(c), f + s * Math.cos(u), f - s * Math.cos(c), f - s * Math.cos(u)],
  55794. h = [p - s * Math.sin(c), p - s * Math.sin(u), p + s * Math.sin(c), p + s * Math.sin(u)]
  55795. return {
  55796. xRange: [Math.min.apply(Math, d), Math.max.apply(Math, d)],
  55797. yRange: [Math.min.apply(Math, h), Math.max.apply(Math, h)]
  55798. }
  55799. },
  55800. Tt = function (e) {
  55801. var t = oe(e)
  55802. return [t.setAlpha(0.3).toRgbString(), t.setAlpha(0.1).toRgbString()]
  55803. },
  55804. Et = function (e) {
  55805. var t = e.type,
  55806. r = e.target
  55807. if ("web-url" === t)
  55808. return {
  55809. url: r
  55810. }
  55811. if ("slide" === t) {
  55812. var n,
  55813. i = +(null === (n = r.split("-")) || void 0 === n ? void 0 : n[0])
  55814. if (-1 !== i)
  55815. return {
  55816. slide: i + 1
  55817. }
  55818. }
  55819. return null
  55820. },
  55821. St = {
  55822. A3: {
  55823. name: "A3",
  55824. width: 10,
  55825. height: 7.0710678
  55826. },
  55827. LAYOUT_1920x1200: {
  55828. name: "LAYOUT_1920x1200",
  55829. width: 20,
  55830. height: 12.25
  55831. },
  55832. LAYOUT_1920x1080: {
  55833. name: "LAYOUT_1920x1080",
  55834. width: 20,
  55835. height: 11.25
  55836. },
  55837. LAYOUT_1920x1440: {
  55838. name: "LAYOUT_1920x1440",
  55839. width: 20,
  55840. height: 14.5833
  55841. }
  55842. },
  55843. Ct = function (e) {
  55844. Object.entries(St).forEach(function (t) {
  55845. var r = E(t, 2),
  55846. n = (r[0], r[1])
  55847. e.defineLayout(P({}, n || {}))
  55848. })
  55849. },
  55850. kt = function (e, t, r) {
  55851. switch ((Ct(r), t.viewportRatio)) {
  55852. case 0.625:
  55853. r.layout = St.LAYOUT_1920x1200.name
  55854. break
  55855. case 0.75:
  55856. r.layout = St.LAYOUT_1920x1440.name
  55857. break
  55858. case 0.70710678:
  55859. r.layout = St.A3.name
  55860. break
  55861. default:
  55862. r.layout = St.LAYOUT_1920x1080.name
  55863. break
  55864. }
  55865. if (t.masterOverwrite) {
  55866. var n = gt(e.theme.backgroundColor),
  55867. i = n.color,
  55868. o = n.alpha
  55869. r.defineSlideMaster({
  55870. title: "".concat(t.name, "_MASTER"),
  55871. background: {
  55872. color: i,
  55873. transparency: 100 * (1 - o)
  55874. }
  55875. })
  55876. }
  55877. return r
  55878. },
  55879. Lt = function (e, t, r, n, i, o) {
  55880. return new Promise(function (r, i) {
  55881. for (var o = [], a = 0; a < e.data.series.length; a++) {
  55882. var s = e.data.series[a]
  55883. o.push({
  55884. name: "系列".concat(a + 1),
  55885. labels: e.data.labels,
  55886. values: s
  55887. })
  55888. }
  55889. var l = [],
  55890. c = Array.isArray(e.themeColor) ? e.themeColor : [e.themeColor]
  55891. if (10 === c.length)
  55892. l = c.map(function (e) {
  55893. return gt(e).color
  55894. })
  55895. else if (1 === c.length)
  55896. l = oe(c[0])
  55897. .analogous(10)
  55898. .map(function (e) {
  55899. return gt(e.toHexString()).color
  55900. })
  55901. else {
  55902. var u = c.length,
  55903. f = oe(c[u - 1])
  55904. .analogous(11 - u)
  55905. .map(function (e) {
  55906. return e.toHexString()
  55907. })
  55908. l = [].concat(N(c.slice(0, u - 1)), N(f)).map(function (e) {
  55909. return gt(e).color
  55910. })
  55911. }
  55912. var p = {
  55913. x: e.left / ht,
  55914. y: e.top / ht,
  55915. w: e.width / ht,
  55916. h: e.height / ht,
  55917. chartColors: "pie" === e.chartType ? l : l.slice(0, e.data.series.length)
  55918. }
  55919. e.fill &&
  55920. (p.plotArea = {
  55921. fill: {
  55922. color: gt(e.fill).color
  55923. }
  55924. }),
  55925. e.legend &&
  55926. ((p.showLegend = !0),
  55927. (p.legendPos = "top" === e.legend ? "t" : "b"),
  55928. (p.legendColor = gt(e.gridColor || "#000000").color),
  55929. (p.legendFontSize = 14 * mt))
  55930. var d,
  55931. h = n.ChartType.bar
  55932. if ("bar" === e.chartType)
  55933. (h = n.ChartType.bar), (p.barDir = null !== (d = e.options) && void 0 !== d && d.horizontalBars ? "bar" : "col")
  55934. else if ("line" === e.chartType) {
  55935. var m, g, y
  55936. null !== (m = e.options) && void 0 !== m && m.showArea
  55937. ? (h = n.ChartType.area)
  55938. : !1 === (null === (g = e.options) || void 0 === g ? void 0 : g.showLine)
  55939. ? ((h = n.ChartType.scatter),
  55940. o.unshift({
  55941. name: "X-Axis",
  55942. values: Array(e.data.series[0].length)
  55943. .fill(0)
  55944. .map(function (e, t) {
  55945. return t
  55946. })
  55947. }),
  55948. (p.lineSize = 0))
  55949. : (h = n.ChartType.line),
  55950. null !== (y = e.options) && void 0 !== y && y.lineSmooth ? (p.lineSmooth = !0) : (p.lineSmooth = !1)
  55951. } else if ("pie" === e.chartType) {
  55952. var v
  55953. null !== (v = e.options) && void 0 !== v && v.donut ? ((h = n.ChartType.doughnut), (p.holeSize = 75)) : (h = n.ChartType.pie)
  55954. }
  55955. t.addChart(h, o, p), r(t)
  55956. })
  55957. },
  55958. Pt = function (e, t, r, n, i, o) {
  55959. return new Promise(function (r, n) {
  55960. var i,
  55961. o,
  55962. a = e.src.indexOf("data:image") > -1,
  55963. s = {
  55964. path: a ? void 0 : e.src,
  55965. data: a ? e.src : void 0,
  55966. x: e.left / ht,
  55967. y: e.top / ht,
  55968. w: e.width / ht,
  55969. h: e.height / ht
  55970. }
  55971. if ((e.flipH && (s.flipH = e.flipH), e.flipV && (s.flipV = e.flipV), e.rotate && (s.rotate = e.rotate), e.link)) {
  55972. var l = Et(e.link)
  55973. l && (s.hyperlink = l)
  55974. }
  55975. if (
  55976. (null !== (i = e.filters) &&
  55977. void 0 !== i &&
  55978. i.opacity &&
  55979. (s.transparency = 100 - parseInt(null === (o = e.filters) || void 0 === o ? void 0 : o.opacity)),
  55980. e.clip)
  55981. ) {
  55982. "ellipse" === e.clip.shape && (s.rounding = !0)
  55983. var c = E(e.clip.range, 2),
  55984. u = c[0],
  55985. f = c[1],
  55986. p = E(u, 2),
  55987. d = p[0],
  55988. h = p[1],
  55989. m = E(f, 2),
  55990. g = m[0],
  55991. y = m[1],
  55992. v = e.width / ((g - d) / ht),
  55993. b = e.height / ((y - h) / ht)
  55994. ;(s.w = v / ht),
  55995. (s.h = b / ht),
  55996. (s.sizing = {
  55997. type: "crop",
  55998. x: ((d / ht) * v) / ht,
  55999. y: ((h / ht) * b) / ht,
  56000. w: (((g - d) / ht) * v) / ht,
  56001. h: (((y - h) / ht) * b) / ht
  56002. })
  56003. }
  56004. t.addImage(s), r(t)
  56005. })
  56006. },
  56007. Ot = function (e, t) {
  56008. return (Ot =
  56009. Object.setPrototypeOf ||
  56010. ({
  56011. __proto__: []
  56012. } instanceof Array &&
  56013. function (e, t) {
  56014. e.__proto__ = t
  56015. }) ||
  56016. function (e, t) {
  56017. for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r])
  56018. })(e, t)
  56019. }
  56020. function jt(e, t) {
  56021. if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null")
  56022. function r() {
  56023. this.constructor = e
  56024. }
  56025. Ot(e, t), (e.prototype = null === t ? Object.create(t) : ((r.prototype = t.prototype), new r()))
  56026. }
  56027. function Rt(e) {
  56028. var t = ""
  56029. Array.isArray(e) || (e = [e])
  56030. for (var r = 0; r < e.length; r++) {
  56031. var n = e[r]
  56032. if (n.type === Qt.CLOSE_PATH) t += "z"
  56033. else if (n.type === Qt.HORIZ_LINE_TO) t += (n.relative ? "h" : "H") + n.x
  56034. else if (n.type === Qt.VERT_LINE_TO) t += (n.relative ? "v" : "V") + n.y
  56035. else if (n.type === Qt.MOVE_TO) t += (n.relative ? "m" : "M") + n.x + " " + n.y
  56036. else if (n.type === Qt.LINE_TO) t += (n.relative ? "l" : "L") + n.x + " " + n.y
  56037. else if (n.type === Qt.CURVE_TO) t += (n.relative ? "c" : "C") + n.x1 + " " + n.y1 + " " + n.x2 + " " + n.y2 + " " + n.x + " " + n.y
  56038. else if (n.type === Qt.SMOOTH_CURVE_TO) t += (n.relative ? "s" : "S") + n.x2 + " " + n.y2 + " " + n.x + " " + n.y
  56039. else if (n.type === Qt.QUAD_TO) t += (n.relative ? "q" : "Q") + n.x1 + " " + n.y1 + " " + n.x + " " + n.y
  56040. else if (n.type === Qt.SMOOTH_QUAD_TO) t += (n.relative ? "t" : "T") + n.x + " " + n.y
  56041. else {
  56042. if (n.type !== Qt.ARC) throw new Error('Unexpected command type "' + n.type + '" at index ' + r + ".")
  56043. t += (n.relative ? "a" : "A") + n.rX + " " + n.rY + " " + n.xRot + " " + +n.lArcFlag + " " + +n.sweepFlag + " " + n.x + " " + n.y
  56044. }
  56045. }
  56046. return t
  56047. }
  56048. function It(e, t) {
  56049. var r = e[0],
  56050. n = e[1]
  56051. return [r * Math.cos(t) - n * Math.sin(t), r * Math.sin(t) + n * Math.cos(t)]
  56052. }
  56053. function Nt() {
  56054. for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]
  56055. for (var r = 0; r < e.length; r++)
  56056. if ("number" != typeof e[r]) throw new Error("assertNumbers arguments[" + r + "] is not a number. " + z(e[r]) + " == typeof " + e[r])
  56057. return !0
  56058. }
  56059. var Mt = Math.PI
  56060. function Dt(e, t, r) {
  56061. ;(e.lArcFlag = 0 === e.lArcFlag ? 0 : 1), (e.sweepFlag = 0 === e.sweepFlag ? 0 : 1)
  56062. var n = e.rX,
  56063. i = e.rY,
  56064. o = e.x,
  56065. a = e.y
  56066. ;(n = Math.abs(e.rX)), (i = Math.abs(e.rY))
  56067. var s = It([(t - o) / 2, (r - a) / 2], (-e.xRot / 180) * Mt),
  56068. l = s[0],
  56069. c = s[1],
  56070. u = Math.pow(l, 2) / Math.pow(n, 2) + Math.pow(c, 2) / Math.pow(i, 2)
  56071. 1 < u && ((n *= Math.sqrt(u)), (i *= Math.sqrt(u))), (e.rX = n), (e.rY = i)
  56072. var f = Math.pow(n, 2) * Math.pow(c, 2) + Math.pow(i, 2) * Math.pow(l, 2),
  56073. p = (e.lArcFlag !== e.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(n, 2) * Math.pow(i, 2) - f) / f)),
  56074. d = ((n * c) / i) * p,
  56075. h = ((-i * l) / n) * p,
  56076. m = It([d, h], (e.xRot / 180) * Mt)
  56077. ;(e.cX = m[0] + (t + o) / 2),
  56078. (e.cY = m[1] + (r + a) / 2),
  56079. (e.phi1 = Math.atan2((c - h) / i, (l - d) / n)),
  56080. (e.phi2 = Math.atan2((-c - h) / i, (-l - d) / n)),
  56081. 0 === e.sweepFlag && e.phi2 > e.phi1 && (e.phi2 -= 2 * Mt),
  56082. 1 === e.sweepFlag && e.phi2 < e.phi1 && (e.phi2 += 2 * Mt),
  56083. (e.phi1 *= 180 / Mt),
  56084. (e.phi2 *= 180 / Mt)
  56085. }
  56086. function Bt(e, t, r) {
  56087. Nt(e, t, r)
  56088. var n = e * e + t * t - r * r
  56089. if (0 > n) return []
  56090. if (0 === n) return [[(e * r) / (e * e + t * t), (t * r) / (e * e + t * t)]]
  56091. var i = Math.sqrt(n)
  56092. return [
  56093. [(e * r + t * i) / (e * e + t * t), (t * r - e * i) / (e * e + t * t)],
  56094. [(e * r - t * i) / (e * e + t * t), (t * r + e * i) / (e * e + t * t)]
  56095. ]
  56096. }
  56097. var Ft,
  56098. Ut = Math.PI / 180
  56099. function zt(e, t, r) {
  56100. return (1 - r) * e + r * t
  56101. }
  56102. function qt(e, t, r, n) {
  56103. return e + Math.cos((n / 180) * Mt) * t + Math.sin((n / 180) * Mt) * r
  56104. }
  56105. function Gt(e, t, r, n) {
  56106. var i = 1e-6,
  56107. o = t - e,
  56108. a = r - t,
  56109. s = 3 * o + 3 * (n - r) - 6 * a,
  56110. l = 6 * (a - o),
  56111. c = 3 * o
  56112. return Math.abs(s) < i
  56113. ? [-c / l]
  56114. : (function (e, t, r) {
  56115. void 0 === r && (r = 1e-6)
  56116. var n = (e * e) / 4 - t
  56117. if (n < -r) return []
  56118. if (n <= r) return [-e / 2]
  56119. var i = Math.sqrt(n)
  56120. return [-e / 2 - i, -e / 2 + i]
  56121. })(l / s, c / s, i)
  56122. }
  56123. function Wt(e, t, r, n, i) {
  56124. var o = 1 - i
  56125. return e * (o * o * o) + t * (3 * o * o * i) + r * (3 * o * i * i) + n * (i * i * i)
  56126. }
  56127. !(function (e) {
  56128. function t() {
  56129. return i(function (e, t, r) {
  56130. return (
  56131. e.relative &&
  56132. (void 0 !== e.x1 && (e.x1 += t),
  56133. void 0 !== e.y1 && (e.y1 += r),
  56134. void 0 !== e.x2 && (e.x2 += t),
  56135. void 0 !== e.y2 && (e.y2 += r),
  56136. void 0 !== e.x && (e.x += t),
  56137. void 0 !== e.y && (e.y += r),
  56138. (e.relative = !1)),
  56139. e
  56140. )
  56141. })
  56142. }
  56143. function r() {
  56144. var e = NaN,
  56145. t = NaN,
  56146. r = NaN,
  56147. n = NaN
  56148. return i(function (i, o, a) {
  56149. return (
  56150. i.type & Qt.SMOOTH_CURVE_TO &&
  56151. ((i.type = Qt.CURVE_TO),
  56152. (e = isNaN(e) ? o : e),
  56153. (t = isNaN(t) ? a : t),
  56154. (i.x1 = i.relative ? o - e : 2 * o - e),
  56155. (i.y1 = i.relative ? a - t : 2 * a - t)),
  56156. i.type & Qt.CURVE_TO ? ((e = i.relative ? o + i.x2 : i.x2), (t = i.relative ? a + i.y2 : i.y2)) : ((e = NaN), (t = NaN)),
  56157. i.type & Qt.SMOOTH_QUAD_TO &&
  56158. ((i.type = Qt.QUAD_TO),
  56159. (r = isNaN(r) ? o : r),
  56160. (n = isNaN(n) ? a : n),
  56161. (i.x1 = i.relative ? o - r : 2 * o - r),
  56162. (i.y1 = i.relative ? a - n : 2 * a - n)),
  56163. i.type & Qt.QUAD_TO ? ((r = i.relative ? o + i.x1 : i.x1), (n = i.relative ? a + i.y1 : i.y1)) : ((r = NaN), (n = NaN)),
  56164. i
  56165. )
  56166. })
  56167. }
  56168. function n() {
  56169. var e = NaN,
  56170. t = NaN
  56171. return i(function (r, n, i) {
  56172. if (
  56173. (r.type & Qt.SMOOTH_QUAD_TO &&
  56174. ((r.type = Qt.QUAD_TO),
  56175. (e = isNaN(e) ? n : e),
  56176. (t = isNaN(t) ? i : t),
  56177. (r.x1 = r.relative ? n - e : 2 * n - e),
  56178. (r.y1 = r.relative ? i - t : 2 * i - t)),
  56179. r.type & Qt.QUAD_TO)
  56180. ) {
  56181. ;(e = r.relative ? n + r.x1 : r.x1), (t = r.relative ? i + r.y1 : r.y1)
  56182. var o = r.x1,
  56183. a = r.y1
  56184. ;(r.type = Qt.CURVE_TO),
  56185. (r.x1 = ((r.relative ? 0 : n) + 2 * o) / 3),
  56186. (r.y1 = ((r.relative ? 0 : i) + 2 * a) / 3),
  56187. (r.x2 = (r.x + 2 * o) / 3),
  56188. (r.y2 = (r.y + 2 * a) / 3)
  56189. } else (e = NaN), (t = NaN)
  56190. return r
  56191. })
  56192. }
  56193. function i(e) {
  56194. var t = 0,
  56195. r = 0,
  56196. n = NaN,
  56197. i = NaN
  56198. return function (o) {
  56199. if (isNaN(n) && !(o.type & Qt.MOVE_TO)) throw new Error("path must start with moveto")
  56200. var a = e(o, t, r, n, i)
  56201. return (
  56202. o.type & Qt.CLOSE_PATH && ((t = n), (r = i)),
  56203. void 0 !== o.x && (t = o.relative ? t + o.x : o.x),
  56204. void 0 !== o.y && (r = o.relative ? r + o.y : o.y),
  56205. o.type & Qt.MOVE_TO && ((n = t), (i = r)),
  56206. a
  56207. )
  56208. }
  56209. }
  56210. function o(e, t, r, n, o, a) {
  56211. return (
  56212. Nt(e, t, r, n, o, a),
  56213. i(function (i, s, l, c) {
  56214. var u = i.x1,
  56215. f = i.x2,
  56216. p = i.relative && !isNaN(c),
  56217. d = void 0 !== i.x ? i.x : p ? 0 : s,
  56218. h = void 0 !== i.y ? i.y : p ? 0 : l
  56219. function m(e) {
  56220. return e * e
  56221. }
  56222. i.type & Qt.HORIZ_LINE_TO && 0 !== t && ((i.type = Qt.LINE_TO), (i.y = i.relative ? 0 : l)),
  56223. i.type & Qt.VERT_LINE_TO && 0 !== r && ((i.type = Qt.LINE_TO), (i.x = i.relative ? 0 : s)),
  56224. void 0 !== i.x && (i.x = i.x * e + h * r + (p ? 0 : o)),
  56225. void 0 !== i.y && (i.y = d * t + i.y * n + (p ? 0 : a)),
  56226. void 0 !== i.x1 && (i.x1 = i.x1 * e + i.y1 * r + (p ? 0 : o)),
  56227. void 0 !== i.y1 && (i.y1 = u * t + i.y1 * n + (p ? 0 : a)),
  56228. void 0 !== i.x2 && (i.x2 = i.x2 * e + i.y2 * r + (p ? 0 : o)),
  56229. void 0 !== i.y2 && (i.y2 = f * t + i.y2 * n + (p ? 0 : a))
  56230. var g = e * n - t * r
  56231. if (void 0 !== i.xRot && (1 !== e || 0 !== t || 0 !== r || 1 !== n))
  56232. if (0 === g) delete i.rX, delete i.rY, delete i.xRot, delete i.lArcFlag, delete i.sweepFlag, (i.type = Qt.LINE_TO)
  56233. else {
  56234. var y = (i.xRot * Math.PI) / 180,
  56235. v = Math.sin(y),
  56236. b = Math.cos(y),
  56237. w = 1 / m(i.rX),
  56238. x = 1 / m(i.rY),
  56239. A = m(b) * w + m(v) * x,
  56240. _ = 2 * v * b * (w - x),
  56241. T = m(v) * w + m(b) * x,
  56242. E = A * n * n - _ * t * n + T * t * t,
  56243. S = _ * (e * n + t * r) - 2 * (A * r * n + T * e * t),
  56244. C = A * r * r - _ * e * r + T * e * e,
  56245. k = ((Math.atan2(S, E - C) + Math.PI) % Math.PI) / 2,
  56246. L = Math.sin(k),
  56247. P = Math.cos(k)
  56248. ;(i.rX = Math.abs(g) / Math.sqrt(E * m(P) + S * L * P + C * m(L))),
  56249. (i.rY = Math.abs(g) / Math.sqrt(E * m(L) - S * L * P + C * m(P))),
  56250. (i.xRot = (180 * k) / Math.PI)
  56251. }
  56252. return void 0 !== i.sweepFlag && 0 > g && (i.sweepFlag = +!i.sweepFlag), i
  56253. })
  56254. )
  56255. }
  56256. function a() {
  56257. return function (e) {
  56258. var t = {}
  56259. for (var r in e) t[r] = e[r]
  56260. return t
  56261. }
  56262. }
  56263. ;(e.ROUND = function (e) {
  56264. function t(t) {
  56265. return Math.round(t * e) / e
  56266. }
  56267. return (
  56268. void 0 === e && (e = 1e13),
  56269. Nt(e),
  56270. function (e) {
  56271. return (
  56272. void 0 !== e.x1 && (e.x1 = t(e.x1)),
  56273. void 0 !== e.y1 && (e.y1 = t(e.y1)),
  56274. void 0 !== e.x2 && (e.x2 = t(e.x2)),
  56275. void 0 !== e.y2 && (e.y2 = t(e.y2)),
  56276. void 0 !== e.x && (e.x = t(e.x)),
  56277. void 0 !== e.y && (e.y = t(e.y)),
  56278. void 0 !== e.rX && (e.rX = t(e.rX)),
  56279. void 0 !== e.rY && (e.rY = t(e.rY)),
  56280. e
  56281. )
  56282. }
  56283. )
  56284. }),
  56285. (e.TO_ABS = t),
  56286. (e.TO_REL = function () {
  56287. return i(function (e, t, r) {
  56288. return (
  56289. e.relative ||
  56290. (void 0 !== e.x1 && (e.x1 -= t),
  56291. void 0 !== e.y1 && (e.y1 -= r),
  56292. void 0 !== e.x2 && (e.x2 -= t),
  56293. void 0 !== e.y2 && (e.y2 -= r),
  56294. void 0 !== e.x && (e.x -= t),
  56295. void 0 !== e.y && (e.y -= r),
  56296. (e.relative = !0)),
  56297. e
  56298. )
  56299. })
  56300. }),
  56301. (e.NORMALIZE_HVZ = function (e, t, r) {
  56302. return (
  56303. void 0 === e && (e = !0),
  56304. void 0 === t && (t = !0),
  56305. void 0 === r && (r = !0),
  56306. i(function (n, i, o, a, s) {
  56307. if (isNaN(a) && !(n.type & Qt.MOVE_TO)) throw new Error("path must start with moveto")
  56308. return (
  56309. t && n.type & Qt.HORIZ_LINE_TO && ((n.type = Qt.LINE_TO), (n.y = n.relative ? 0 : o)),
  56310. r && n.type & Qt.VERT_LINE_TO && ((n.type = Qt.LINE_TO), (n.x = n.relative ? 0 : i)),
  56311. e && n.type & Qt.CLOSE_PATH && ((n.type = Qt.LINE_TO), (n.x = n.relative ? a - i : a), (n.y = n.relative ? s - o : s)),
  56312. n.type & Qt.ARC &&
  56313. (0 === n.rX || 0 === n.rY) &&
  56314. ((n.type = Qt.LINE_TO), delete n.rX, delete n.rY, delete n.xRot, delete n.lArcFlag, delete n.sweepFlag),
  56315. n
  56316. )
  56317. })
  56318. )
  56319. }),
  56320. (e.NORMALIZE_ST = r),
  56321. (e.QT_TO_C = n),
  56322. (e.INFO = i),
  56323. (e.SANITIZE = function (e) {
  56324. void 0 === e && (e = 0), Nt(e)
  56325. var t = NaN,
  56326. r = NaN,
  56327. n = NaN,
  56328. o = NaN
  56329. return i(function (i, a, s, l, c) {
  56330. var u = Math.abs,
  56331. f = !1,
  56332. p = 0,
  56333. d = 0
  56334. if (
  56335. (i.type & Qt.SMOOTH_CURVE_TO && ((p = isNaN(t) ? 0 : a - t), (d = isNaN(r) ? 0 : s - r)),
  56336. i.type & (Qt.CURVE_TO | Qt.SMOOTH_CURVE_TO)
  56337. ? ((t = i.relative ? a + i.x2 : i.x2), (r = i.relative ? s + i.y2 : i.y2))
  56338. : ((t = NaN), (r = NaN)),
  56339. i.type & Qt.SMOOTH_QUAD_TO
  56340. ? ((n = isNaN(n) ? a : 2 * a - n), (o = isNaN(o) ? s : 2 * s - o))
  56341. : i.type & Qt.QUAD_TO
  56342. ? ((n = i.relative ? a + i.x1 : i.x1), (o = i.relative ? s + i.y1 : i.y2))
  56343. : ((n = NaN), (o = NaN)),
  56344. i.type & Qt.LINE_COMMANDS ||
  56345. (i.type & Qt.ARC && (0 === i.rX || 0 === i.rY || !i.lArcFlag)) ||
  56346. i.type & Qt.CURVE_TO ||
  56347. i.type & Qt.SMOOTH_CURVE_TO ||
  56348. i.type & Qt.QUAD_TO ||
  56349. i.type & Qt.SMOOTH_QUAD_TO)
  56350. ) {
  56351. var h = void 0 === i.x ? 0 : i.relative ? i.x : i.x - a,
  56352. m = void 0 === i.y ? 0 : i.relative ? i.y : i.y - s
  56353. ;(p = isNaN(n) ? (void 0 === i.x1 ? p : i.relative ? i.x : i.x1 - a) : n - a),
  56354. (d = isNaN(o) ? (void 0 === i.y1 ? d : i.relative ? i.y : i.y1 - s) : o - s)
  56355. var g = void 0 === i.x2 ? 0 : i.relative ? i.x : i.x2 - a,
  56356. y = void 0 === i.y2 ? 0 : i.relative ? i.y : i.y2 - s
  56357. u(h) <= e && u(m) <= e && u(p) <= e && u(d) <= e && u(g) <= e && u(y) <= e && (f = !0)
  56358. }
  56359. return i.type & Qt.CLOSE_PATH && u(a - l) <= e && u(s - c) <= e && (f = !0), f ? [] : i
  56360. })
  56361. }),
  56362. (e.MATRIX = o),
  56363. (e.ROTATE = function (e, t, r) {
  56364. void 0 === t && (t = 0), void 0 === r && (r = 0), Nt(e, t, r)
  56365. var n = Math.sin(e),
  56366. i = Math.cos(e)
  56367. return o(i, n, -n, i, t - t * i + r * n, r - t * n - r * i)
  56368. }),
  56369. (e.TRANSLATE = function (e, t) {
  56370. return void 0 === t && (t = 0), Nt(e, t), o(1, 0, 0, 1, e, t)
  56371. }),
  56372. (e.SCALE = function (e, t) {
  56373. return void 0 === t && (t = e), Nt(e, t), o(e, 0, 0, t, 0, 0)
  56374. }),
  56375. (e.SKEW_X = function (e) {
  56376. return Nt(e), o(1, 0, Math.atan(e), 1, 0, 0)
  56377. }),
  56378. (e.SKEW_Y = function (e) {
  56379. return Nt(e), o(1, Math.atan(e), 0, 1, 0, 0)
  56380. }),
  56381. (e.X_AXIS_SYMMETRY = function (e) {
  56382. return void 0 === e && (e = 0), Nt(e), o(-1, 0, 0, 1, e, 0)
  56383. }),
  56384. (e.Y_AXIS_SYMMETRY = function (e) {
  56385. return void 0 === e && (e = 0), Nt(e), o(1, 0, 0, -1, 0, e)
  56386. }),
  56387. (e.A_TO_C = function () {
  56388. return i(function (e, t, r) {
  56389. return Qt.ARC === e.type
  56390. ? (function (e, t, r) {
  56391. var n, i, o, a
  56392. e.cX || Dt(e, t, r)
  56393. for (
  56394. var s = Math.min(e.phi1, e.phi2),
  56395. l = Math.max(e.phi1, e.phi2) - s,
  56396. c = Math.ceil(l / 90),
  56397. u = new Array(c),
  56398. f = t,
  56399. p = r,
  56400. d = 0;
  56401. d < c;
  56402. d++
  56403. ) {
  56404. var h = zt(e.phi1, e.phi2, d / c),
  56405. m = zt(e.phi1, e.phi2, (d + 1) / c),
  56406. g = m - h,
  56407. y = (4 / 3) * Math.tan((g * Ut) / 4),
  56408. v = [Math.cos(h * Ut) - y * Math.sin(h * Ut), Math.sin(h * Ut) + y * Math.cos(h * Ut)],
  56409. b = v[0],
  56410. w = v[1],
  56411. x = [Math.cos(m * Ut), Math.sin(m * Ut)],
  56412. A = x[0],
  56413. _ = x[1],
  56414. T = [A + y * Math.sin(m * Ut), _ - y * Math.cos(m * Ut)],
  56415. E = T[0],
  56416. S = T[1]
  56417. u[d] = {
  56418. relative: e.relative,
  56419. type: Qt.CURVE_TO
  56420. }
  56421. var C = function (t, r) {
  56422. var n = It([t * e.rX, r * e.rY], e.xRot),
  56423. i = n[0],
  56424. o = n[1]
  56425. return [e.cX + i, e.cY + o]
  56426. }
  56427. ;(n = C(b, w)),
  56428. (u[d].x1 = n[0]),
  56429. (u[d].y1 = n[1]),
  56430. (i = C(E, S)),
  56431. (u[d].x2 = i[0]),
  56432. (u[d].y2 = i[1]),
  56433. (o = C(A, _)),
  56434. (u[d].x = o[0]),
  56435. (u[d].y = o[1]),
  56436. e.relative && ((u[d].x1 -= f), (u[d].y1 -= p), (u[d].x2 -= f), (u[d].y2 -= p), (u[d].x -= f), (u[d].y -= p)),
  56437. (f = (a = [u[d].x, u[d].y])[0]),
  56438. (p = a[1])
  56439. }
  56440. return u
  56441. })(e, e.relative ? 0 : t, e.relative ? 0 : r)
  56442. : e
  56443. })
  56444. }),
  56445. (e.ANNOTATE_ARCS = function () {
  56446. return i(function (e, t, r) {
  56447. return e.relative && ((t = 0), (r = 0)), Qt.ARC === e.type && Dt(e, t, r), e
  56448. })
  56449. }),
  56450. (e.CLONE = a),
  56451. (e.CALCULATE_BOUNDS = function () {
  56452. var e = function (e) {
  56453. var t = {}
  56454. for (var r in e) t[r] = e[r]
  56455. return t
  56456. },
  56457. o = t(),
  56458. a = n(),
  56459. s = r(),
  56460. l = i(function (t, r, n) {
  56461. var i = s(a(o(e(t))))
  56462. function c(e) {
  56463. e > l.maxX && (l.maxX = e), e < l.minX && (l.minX = e)
  56464. }
  56465. function u(e) {
  56466. e > l.maxY && (l.maxY = e), e < l.minY && (l.minY = e)
  56467. }
  56468. if (
  56469. (i.type & Qt.DRAWING_COMMANDS && (c(r), u(n)),
  56470. i.type & Qt.HORIZ_LINE_TO && c(i.x),
  56471. i.type & Qt.VERT_LINE_TO && u(i.y),
  56472. i.type & Qt.LINE_TO && (c(i.x), u(i.y)),
  56473. i.type & Qt.CURVE_TO)
  56474. ) {
  56475. c(i.x), u(i.y)
  56476. for (var f = 0, p = Gt(r, i.x1, i.x2, i.x); f < p.length; f++) 0 < (k = p[f]) && 1 > k && c(Wt(r, i.x1, i.x2, i.x, k))
  56477. for (var d = 0, h = Gt(n, i.y1, i.y2, i.y); d < h.length; d++) 0 < (k = h[d]) && 1 > k && u(Wt(n, i.y1, i.y2, i.y, k))
  56478. }
  56479. if (i.type & Qt.ARC) {
  56480. c(i.x), u(i.y), Dt(i, r, n)
  56481. for (
  56482. var m = (i.xRot / 180) * Math.PI,
  56483. g = Math.cos(m) * i.rX,
  56484. y = Math.sin(m) * i.rX,
  56485. v = -Math.sin(m) * i.rY,
  56486. b = Math.cos(m) * i.rY,
  56487. w = i.phi1 < i.phi2 ? [i.phi1, i.phi2] : -180 > i.phi2 ? [i.phi2 + 360, i.phi1 + 360] : [i.phi2, i.phi1],
  56488. x = w[0],
  56489. A = w[1],
  56490. _ = function (e) {
  56491. var t = e[0],
  56492. r = e[1],
  56493. n = (180 * Math.atan2(r, t)) / Math.PI
  56494. return n < x ? n + 360 : n
  56495. },
  56496. T = 0,
  56497. E = Bt(v, -g, 0).map(_);
  56498. T < E.length;
  56499. T++
  56500. )
  56501. (k = E[T]) > x && k < A && c(qt(i.cX, g, v, k))
  56502. for (var S = 0, C = Bt(b, -y, 0).map(_); S < C.length; S++) {
  56503. var k
  56504. ;(k = C[S]) > x && k < A && u(qt(i.cY, y, b, k))
  56505. }
  56506. }
  56507. return t
  56508. })
  56509. return (l.minX = 1 / 0), (l.maxX = -1 / 0), (l.minY = 1 / 0), (l.maxY = -1 / 0), l
  56510. })
  56511. })(Ft || (Ft = {}))
  56512. var Vt,
  56513. Ht,
  56514. Xt = (function () {
  56515. function e() {}
  56516. return (
  56517. (e.prototype.round = function (e) {
  56518. return this.transform(Ft.ROUND(e))
  56519. }),
  56520. (e.prototype.toAbs = function () {
  56521. return this.transform(Ft.TO_ABS())
  56522. }),
  56523. (e.prototype.toRel = function () {
  56524. return this.transform(Ft.TO_REL())
  56525. }),
  56526. (e.prototype.normalizeHVZ = function (e, t, r) {
  56527. return this.transform(Ft.NORMALIZE_HVZ(e, t, r))
  56528. }),
  56529. (e.prototype.normalizeST = function () {
  56530. return this.transform(Ft.NORMALIZE_ST())
  56531. }),
  56532. (e.prototype.qtToC = function () {
  56533. return this.transform(Ft.QT_TO_C())
  56534. }),
  56535. (e.prototype.aToC = function () {
  56536. return this.transform(Ft.A_TO_C())
  56537. }),
  56538. (e.prototype.sanitize = function (e) {
  56539. return this.transform(Ft.SANITIZE(e))
  56540. }),
  56541. (e.prototype.translate = function (e, t) {
  56542. return this.transform(Ft.TRANSLATE(e, t))
  56543. }),
  56544. (e.prototype.scale = function (e, t) {
  56545. return this.transform(Ft.SCALE(e, t))
  56546. }),
  56547. (e.prototype.rotate = function (e, t, r) {
  56548. return this.transform(Ft.ROTATE(e, t, r))
  56549. }),
  56550. (e.prototype.matrix = function (e, t, r, n, i, o) {
  56551. return this.transform(Ft.MATRIX(e, t, r, n, i, o))
  56552. }),
  56553. (e.prototype.skewX = function (e) {
  56554. return this.transform(Ft.SKEW_X(e))
  56555. }),
  56556. (e.prototype.skewY = function (e) {
  56557. return this.transform(Ft.SKEW_Y(e))
  56558. }),
  56559. (e.prototype.xSymmetry = function (e) {
  56560. return this.transform(Ft.X_AXIS_SYMMETRY(e))
  56561. }),
  56562. (e.prototype.ySymmetry = function (e) {
  56563. return this.transform(Ft.Y_AXIS_SYMMETRY(e))
  56564. }),
  56565. (e.prototype.annotateArcs = function () {
  56566. return this.transform(Ft.ANNOTATE_ARCS())
  56567. }),
  56568. e
  56569. )
  56570. })(),
  56571. Yt = function (e) {
  56572. return " " === e || "\t" === e || "\r" === e || "\n" === e
  56573. },
  56574. Kt = function (e) {
  56575. return "0".charCodeAt(0) <= e.charCodeAt(0) && e.charCodeAt(0) <= "9".charCodeAt(0)
  56576. },
  56577. Zt = (function (e) {
  56578. function t() {
  56579. var t = e.call(this) || this
  56580. return (
  56581. (t.curNumber = ""),
  56582. (t.curCommandType = -1),
  56583. (t.curCommandRelative = !1),
  56584. (t.canParseCommandOrComma = !0),
  56585. (t.curNumberHasExp = !1),
  56586. (t.curNumberHasExpDigits = !1),
  56587. (t.curNumberHasDecimal = !1),
  56588. (t.curArgs = []),
  56589. t
  56590. )
  56591. }
  56592. return (
  56593. jt(t, e),
  56594. (t.prototype.finish = function (e) {
  56595. if ((void 0 === e && (e = []), this.parse(" ", e), 0 !== this.curArgs.length || !this.canParseCommandOrComma))
  56596. throw new SyntaxError("Unterminated command at the path end.")
  56597. return e
  56598. }),
  56599. (t.prototype.parse = function (e, t) {
  56600. var r = this
  56601. void 0 === t && (t = [])
  56602. for (
  56603. var n = function (e) {
  56604. t.push(e), (r.curArgs.length = 0), (r.canParseCommandOrComma = !0)
  56605. },
  56606. i = 0;
  56607. i < e.length;
  56608. i++
  56609. ) {
  56610. var o = e[i],
  56611. a = !(
  56612. this.curCommandType !== Qt.ARC ||
  56613. (3 !== this.curArgs.length && 4 !== this.curArgs.length) ||
  56614. 1 !== this.curNumber.length ||
  56615. ("0" !== this.curNumber && "1" !== this.curNumber)
  56616. ),
  56617. s = Kt(o) && (("0" === this.curNumber && "0" === o) || a)
  56618. if (!Kt(o) || s)
  56619. if ("e" !== o && "E" !== o)
  56620. if (("-" !== o && "+" !== o) || !this.curNumberHasExp || this.curNumberHasExpDigits)
  56621. if ("." !== o || this.curNumberHasExp || this.curNumberHasDecimal || a) {
  56622. if (this.curNumber && -1 !== this.curCommandType) {
  56623. var l = Number(this.curNumber)
  56624. if (isNaN(l)) throw new SyntaxError("Invalid number ending at " + i)
  56625. if (this.curCommandType === Qt.ARC)
  56626. if (0 === this.curArgs.length || 1 === this.curArgs.length) {
  56627. if (0 > l) throw new SyntaxError('Expected positive number, got "' + l + '" at index "' + i + '"')
  56628. } else if (
  56629. (3 === this.curArgs.length || 4 === this.curArgs.length) &&
  56630. "0" !== this.curNumber &&
  56631. "1" !== this.curNumber
  56632. )
  56633. throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + i + '"')
  56634. this.curArgs.push(l),
  56635. this.curArgs.length === Jt[this.curCommandType] &&
  56636. (Qt.HORIZ_LINE_TO === this.curCommandType
  56637. ? n({
  56638. type: Qt.HORIZ_LINE_TO,
  56639. relative: this.curCommandRelative,
  56640. x: l
  56641. })
  56642. : Qt.VERT_LINE_TO === this.curCommandType
  56643. ? n({
  56644. type: Qt.VERT_LINE_TO,
  56645. relative: this.curCommandRelative,
  56646. y: l
  56647. })
  56648. : this.curCommandType === Qt.MOVE_TO ||
  56649. this.curCommandType === Qt.LINE_TO ||
  56650. this.curCommandType === Qt.SMOOTH_QUAD_TO
  56651. ? (n({
  56652. type: this.curCommandType,
  56653. relative: this.curCommandRelative,
  56654. x: this.curArgs[0],
  56655. y: this.curArgs[1]
  56656. }),
  56657. Qt.MOVE_TO === this.curCommandType && (this.curCommandType = Qt.LINE_TO))
  56658. : this.curCommandType === Qt.CURVE_TO
  56659. ? n({
  56660. type: Qt.CURVE_TO,
  56661. relative: this.curCommandRelative,
  56662. x1: this.curArgs[0],
  56663. y1: this.curArgs[1],
  56664. x2: this.curArgs[2],
  56665. y2: this.curArgs[3],
  56666. x: this.curArgs[4],
  56667. y: this.curArgs[5]
  56668. })
  56669. : this.curCommandType === Qt.SMOOTH_CURVE_TO
  56670. ? n({
  56671. type: Qt.SMOOTH_CURVE_TO,
  56672. relative: this.curCommandRelative,
  56673. x2: this.curArgs[0],
  56674. y2: this.curArgs[1],
  56675. x: this.curArgs[2],
  56676. y: this.curArgs[3]
  56677. })
  56678. : this.curCommandType === Qt.QUAD_TO
  56679. ? n({
  56680. type: Qt.QUAD_TO,
  56681. relative: this.curCommandRelative,
  56682. x1: this.curArgs[0],
  56683. y1: this.curArgs[1],
  56684. x: this.curArgs[2],
  56685. y: this.curArgs[3]
  56686. })
  56687. : this.curCommandType === Qt.ARC &&
  56688. n({
  56689. type: Qt.ARC,
  56690. relative: this.curCommandRelative,
  56691. rX: this.curArgs[0],
  56692. rY: this.curArgs[1],
  56693. xRot: this.curArgs[2],
  56694. lArcFlag: this.curArgs[3],
  56695. sweepFlag: this.curArgs[4],
  56696. x: this.curArgs[5],
  56697. y: this.curArgs[6]
  56698. })),
  56699. (this.curNumber = ""),
  56700. (this.curNumberHasExpDigits = !1),
  56701. (this.curNumberHasExp = !1),
  56702. (this.curNumberHasDecimal = !1),
  56703. (this.canParseCommandOrComma = !0)
  56704. }
  56705. if (!Yt(o))
  56706. if ("," === o && this.canParseCommandOrComma) this.canParseCommandOrComma = !1
  56707. else if ("+" !== o && "-" !== o && "." !== o)
  56708. if (s) (this.curNumber = o), (this.curNumberHasDecimal = !1)
  56709. else {
  56710. if (0 !== this.curArgs.length) throw new SyntaxError("Unterminated command at index " + i + ".")
  56711. if (!this.canParseCommandOrComma)
  56712. throw new SyntaxError(
  56713. 'Unexpected character "' + o + '" at index ' + i + ". Command cannot follow comma"
  56714. )
  56715. if (((this.canParseCommandOrComma = !1), "z" !== o && "Z" !== o))
  56716. if ("h" === o || "H" === o)
  56717. (this.curCommandType = Qt.HORIZ_LINE_TO), (this.curCommandRelative = "h" === o)
  56718. else if ("v" === o || "V" === o)
  56719. (this.curCommandType = Qt.VERT_LINE_TO), (this.curCommandRelative = "v" === o)
  56720. else if ("m" === o || "M" === o)
  56721. (this.curCommandType = Qt.MOVE_TO), (this.curCommandRelative = "m" === o)
  56722. else if ("l" === o || "L" === o)
  56723. (this.curCommandType = Qt.LINE_TO), (this.curCommandRelative = "l" === o)
  56724. else if ("c" === o || "C" === o)
  56725. (this.curCommandType = Qt.CURVE_TO), (this.curCommandRelative = "c" === o)
  56726. else if ("s" === o || "S" === o)
  56727. (this.curCommandType = Qt.SMOOTH_CURVE_TO), (this.curCommandRelative = "s" === o)
  56728. else if ("q" === o || "Q" === o)
  56729. (this.curCommandType = Qt.QUAD_TO), (this.curCommandRelative = "q" === o)
  56730. else if ("t" === o || "T" === o)
  56731. (this.curCommandType = Qt.SMOOTH_QUAD_TO), (this.curCommandRelative = "t" === o)
  56732. else {
  56733. if ("a" !== o && "A" !== o)
  56734. throw new SyntaxError('Unexpected character "' + o + '" at index ' + i + ".")
  56735. ;(this.curCommandType = Qt.ARC), (this.curCommandRelative = "a" === o)
  56736. }
  56737. else
  56738. t.push({
  56739. type: Qt.CLOSE_PATH
  56740. }),
  56741. (this.canParseCommandOrComma = !0),
  56742. (this.curCommandType = -1)
  56743. }
  56744. else (this.curNumber = o), (this.curNumberHasDecimal = "." === o)
  56745. } else (this.curNumber += o), (this.curNumberHasDecimal = !0)
  56746. else this.curNumber += o
  56747. else (this.curNumber += o), (this.curNumberHasExp = !0)
  56748. else (this.curNumber += o), (this.curNumberHasExpDigits = this.curNumberHasExp)
  56749. }
  56750. return t
  56751. }),
  56752. (t.prototype.transform = function (e) {
  56753. return Object.create(this, {
  56754. parse: {
  56755. value: function (t, r) {
  56756. void 0 === r && (r = [])
  56757. for (var n = 0, i = Object.getPrototypeOf(this).parse.call(this, t); n < i.length; n++) {
  56758. var o = i[n],
  56759. a = e(o)
  56760. Array.isArray(a) ? r.push.apply(r, a) : r.push(a)
  56761. }
  56762. return r
  56763. }
  56764. }
  56765. })
  56766. }),
  56767. t
  56768. )
  56769. })(Xt),
  56770. Qt = (function (e) {
  56771. function t(r) {
  56772. var n = e.call(this) || this
  56773. return (n.commands = "string" == typeof r ? t.parse(r) : r), n
  56774. }
  56775. return (
  56776. jt(t, e),
  56777. (t.prototype.encode = function () {
  56778. return t.encode(this.commands)
  56779. }),
  56780. (t.prototype.getBounds = function () {
  56781. var e = Ft.CALCULATE_BOUNDS()
  56782. return this.transform(e), e
  56783. }),
  56784. (t.prototype.transform = function (e) {
  56785. for (var t = [], r = 0, n = this.commands; r < n.length; r++) {
  56786. var i = e(n[r])
  56787. Array.isArray(i) ? t.push.apply(t, i) : t.push(i)
  56788. }
  56789. return (this.commands = t), this
  56790. }),
  56791. (t.encode = function (e) {
  56792. return Rt(e)
  56793. }),
  56794. (t.parse = function (e) {
  56795. var t = new Zt(),
  56796. r = []
  56797. return t.parse(e, r), t.finish(r), r
  56798. }),
  56799. (t.CLOSE_PATH = 1),
  56800. (t.MOVE_TO = 2),
  56801. (t.HORIZ_LINE_TO = 4),
  56802. (t.VERT_LINE_TO = 8),
  56803. (t.LINE_TO = 16),
  56804. (t.CURVE_TO = 32),
  56805. (t.SMOOTH_CURVE_TO = 64),
  56806. (t.QUAD_TO = 128),
  56807. (t.SMOOTH_QUAD_TO = 256),
  56808. (t.ARC = 512),
  56809. (t.LINE_COMMANDS = t.LINE_TO | t.HORIZ_LINE_TO | t.VERT_LINE_TO),
  56810. (t.DRAWING_COMMANDS =
  56811. t.HORIZ_LINE_TO | t.VERT_LINE_TO | t.LINE_TO | t.CURVE_TO | t.SMOOTH_CURVE_TO | t.QUAD_TO | t.SMOOTH_QUAD_TO | t.ARC),
  56812. t
  56813. )
  56814. })(Xt),
  56815. Jt =
  56816. (((Vt = {})[Qt.MOVE_TO] = 2),
  56817. (Vt[Qt.LINE_TO] = 2),
  56818. (Vt[Qt.HORIZ_LINE_TO] = 1),
  56819. (Vt[Qt.VERT_LINE_TO] = 1),
  56820. (Vt[Qt.CLOSE_PATH] = 0),
  56821. (Vt[Qt.QUAD_TO] = 4),
  56822. (Vt[Qt.SMOOTH_QUAD_TO] = 2),
  56823. (Vt[Qt.CURVE_TO] = 6),
  56824. (Vt[Qt.SMOOTH_CURVE_TO] = 4),
  56825. (Vt[Qt.ARC] = 7),
  56826. Vt),
  56827. $t = (function () {
  56828. function e(e, t) {
  56829. var r = [],
  56830. n = !0,
  56831. i = !1,
  56832. o = void 0
  56833. try {
  56834. for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done); n = !0) if ((r.push(a.value), t && r.length === t)) break
  56835. } catch (l) {
  56836. ;(i = !0), (o = l)
  56837. } finally {
  56838. try {
  56839. !n && s["return"] && s["return"]()
  56840. } finally {
  56841. if (i) throw o
  56842. }
  56843. }
  56844. return r
  56845. }
  56846. return function (t, r) {
  56847. if (Array.isArray(t)) return t
  56848. if (Symbol.iterator in Object(t)) return e(t, r)
  56849. throw new TypeError("Invalid attempt to destructure non-iterable instance")
  56850. }
  56851. })(),
  56852. er = 2 * Math.PI,
  56853. tr = function (e, t, r, n, i, o, a) {
  56854. var s = e.x,
  56855. l = e.y
  56856. ;(s *= t), (l *= r)
  56857. var c = n * s - i * l,
  56858. u = i * s + n * l
  56859. return {
  56860. x: c + o,
  56861. y: u + a
  56862. }
  56863. },
  56864. rr = function (e, t) {
  56865. var r = 1.5707963267948966 === t ? 0.551915024494 : -1.5707963267948966 === t ? -0.551915024494 : (4 / 3) * Math.tan(t / 4),
  56866. n = Math.cos(e),
  56867. i = Math.sin(e),
  56868. o = Math.cos(e + t),
  56869. a = Math.sin(e + t)
  56870. return [
  56871. {
  56872. x: n - i * r,
  56873. y: i + n * r
  56874. },
  56875. {
  56876. x: o + a * r,
  56877. y: a - o * r
  56878. },
  56879. {
  56880. x: o,
  56881. y: a
  56882. }
  56883. ]
  56884. },
  56885. nr = function (e, t, r, n) {
  56886. var i = e * n - t * r < 0 ? -1 : 1,
  56887. o = e * r + t * n
  56888. return o > 1 && (o = 1), o < -1 && (o = -1), i * Math.acos(o)
  56889. },
  56890. ir = function (e, t, r, n, i, o, a, s, l, c, u, f) {
  56891. var p = Math.pow(i, 2),
  56892. d = Math.pow(o, 2),
  56893. h = Math.pow(u, 2),
  56894. m = Math.pow(f, 2),
  56895. g = p * d - p * m - d * h
  56896. g < 0 && (g = 0), (g /= p * m + d * h), (g = Math.sqrt(g) * (a === s ? -1 : 1))
  56897. var y = ((g * i) / o) * f,
  56898. v = ((g * -o) / i) * u,
  56899. b = c * y - l * v + (e + r) / 2,
  56900. w = l * y + c * v + (t + n) / 2,
  56901. x = (u - y) / i,
  56902. A = (f - v) / o,
  56903. _ = (-u - y) / i,
  56904. T = (-f - v) / o,
  56905. E = nr(1, 0, x, A),
  56906. S = nr(x, A, _, T)
  56907. return 0 === s && S > 0 && (S -= er), 1 === s && S < 0 && (S += er), [b, w, E, S]
  56908. },
  56909. or = function (e) {
  56910. var t = e.px,
  56911. r = e.py,
  56912. n = e.cx,
  56913. i = e.cy,
  56914. o = e.rx,
  56915. a = e.ry,
  56916. s = e.xAxisRotation,
  56917. l = void 0 === s ? 0 : s,
  56918. c = e.largeArcFlag,
  56919. u = void 0 === c ? 0 : c,
  56920. f = e.sweepFlag,
  56921. p = void 0 === f ? 0 : f,
  56922. d = []
  56923. if (0 === o || 0 === a) return []
  56924. var h = Math.sin((l * er) / 360),
  56925. m = Math.cos((l * er) / 360),
  56926. g = (m * (t - n)) / 2 + (h * (r - i)) / 2,
  56927. y = (-h * (t - n)) / 2 + (m * (r - i)) / 2
  56928. if (0 === g && 0 === y) return []
  56929. ;(o = Math.abs(o)), (a = Math.abs(a))
  56930. var v = Math.pow(g, 2) / Math.pow(o, 2) + Math.pow(y, 2) / Math.pow(a, 2)
  56931. v > 1 && ((o *= Math.sqrt(v)), (a *= Math.sqrt(v)))
  56932. var b = ir(t, r, n, i, o, a, u, p, h, m, g, y),
  56933. w = $t(b, 4),
  56934. x = w[0],
  56935. A = w[1],
  56936. _ = w[2],
  56937. T = w[3],
  56938. E = Math.abs(T) / (er / 4)
  56939. Math.abs(1 - E) < 1e-7 && (E = 1)
  56940. var S = Math.max(Math.ceil(E), 1)
  56941. T /= S
  56942. for (var C = 0; C < S; C++) d.push(rr(_, T)), (_ += T)
  56943. return d.map(function (e) {
  56944. var t = tr(e[0], o, a, m, h, x, A),
  56945. r = t.x,
  56946. n = t.y,
  56947. i = tr(e[1], o, a, m, h, x, A),
  56948. s = i.x,
  56949. l = i.y,
  56950. c = tr(e[2], o, a, m, h, x, A),
  56951. u = c.x,
  56952. f = c.y
  56953. return {
  56954. x1: r,
  56955. y1: n,
  56956. x2: s,
  56957. y2: l,
  56958. x: u,
  56959. y: f
  56960. }
  56961. })
  56962. },
  56963. ar = {
  56964. 1: "Z",
  56965. 2: "M",
  56966. 4: "H",
  56967. 8: "V",
  56968. 16: "L",
  56969. 32: "C",
  56970. 64: "S",
  56971. 128: "Q",
  56972. 256: "T",
  56973. 512: "A"
  56974. },
  56975. sr = function (e) {
  56976. var t,
  56977. r = new Qt(e),
  56978. n = [],
  56979. i = I(r.commands)
  56980. try {
  56981. for (i.s(); !(t = i.n()).done; ) {
  56982. var o = t.value,
  56983. a = ar[o.type]
  56984. if (
  56985. ((2 !== o.type && 16 !== o.type) ||
  56986. n.push({
  56987. x: o.x,
  56988. y: o.y,
  56989. relative: o.relative,
  56990. type: a
  56991. }),
  56992. 32 === o.type)
  56993. )
  56994. n.push({
  56995. x: o.x,
  56996. y: o.y,
  56997. curve: {
  56998. type: "cubic",
  56999. x1: o.x1,
  57000. y1: o.y1,
  57001. x2: o.x2,
  57002. y2: o.y2
  57003. },
  57004. relative: o.relative,
  57005. type: a
  57006. })
  57007. else if (128 === o.type)
  57008. n.push({
  57009. x: o.x,
  57010. y: o.y,
  57011. curve: {
  57012. type: "quadratic",
  57013. x1: o.x1,
  57014. y1: o.y1
  57015. },
  57016. relative: o.relative,
  57017. type: a
  57018. })
  57019. else if (512 === o.type) {
  57020. var s = n[n.length - 1]
  57021. if (!["M", "L", "Q", "C"].includes(s.type)) continue
  57022. var l,
  57023. c = or({
  57024. px: s.x,
  57025. py: s.y,
  57026. cx: o.x,
  57027. cy: o.y,
  57028. rx: o.rX,
  57029. ry: o.rY,
  57030. xAxisRotation: o.xRot,
  57031. largeArcFlag: o.lArcFlag,
  57032. sweepFlag: o.sweepFlag
  57033. }),
  57034. u = I(c)
  57035. try {
  57036. for (u.s(); !(l = u.n()).done; ) {
  57037. var f = l.value
  57038. n.push({
  57039. x: f.x,
  57040. y: f.y,
  57041. curve: {
  57042. type: "cubic",
  57043. x1: f.x1,
  57044. y1: f.y1,
  57045. x2: f.x2,
  57046. y2: f.y2
  57047. },
  57048. relative: !1,
  57049. type: "C"
  57050. })
  57051. }
  57052. } catch (p) {
  57053. u.e(p)
  57054. } finally {
  57055. u.f()
  57056. }
  57057. } else {
  57058. if (1 !== o.type) continue
  57059. n.push({
  57060. close: !0,
  57061. type: a
  57062. })
  57063. }
  57064. }
  57065. } catch (p) {
  57066. i.e(p)
  57067. } finally {
  57068. i.f()
  57069. }
  57070. return n
  57071. },
  57072. lr = function (e) {
  57073. var t = "none"
  57074. switch (e) {
  57075. case "arrow":
  57076. t = "arrow"
  57077. break
  57078. case "dot":
  57079. t = "oval"
  57080. break
  57081. default:
  57082. t = "none"
  57083. break
  57084. }
  57085. return t
  57086. },
  57087. cr = function (e, t, r, n, i, o) {
  57088. return new Promise(function (r, n) {
  57089. var i = xt(e),
  57090. o = vt(sr(i)),
  57091. a = At(e),
  57092. s = a.minX,
  57093. l = a.maxX,
  57094. c = a.minY,
  57095. u = a.maxY,
  57096. f = gt(e.color),
  57097. p = {
  57098. x: e.left / ht,
  57099. y: e.top / ht,
  57100. w: (l - s) / ht,
  57101. h: (u - c) / ht,
  57102. line: {
  57103. color: f.color,
  57104. transparency: 100 * (1 - f.alpha),
  57105. width: e.width * mt,
  57106. dashType: "solid" === e.style ? "solid" : "dash",
  57107. beginArrowType: lr(e.points[0]),
  57108. endArrowType: lr(e.points[1])
  57109. },
  57110. points: o
  57111. }
  57112. e.shadow && (p.shadow = bt(e.shadow)), t.addShape("custGeom", p), r(t)
  57113. })
  57114. },
  57115. ur = function (e, t, r, n, i, o) {
  57116. return new Promise(function (r, n) {
  57117. var i,
  57118. o = yt(e.content),
  57119. a = {
  57120. x: e.left / ht,
  57121. y: e.top / ht,
  57122. w: e.width / ht,
  57123. h: e.height / ht,
  57124. fontSize: 40 * mt,
  57125. fontFace: "微软雅黑",
  57126. color: "#000000",
  57127. valign: "top",
  57128. margin: 10 * mt,
  57129. paraSpaceBefore: 5 * mt,
  57130. lineSpacingMultiple: 1.2,
  57131. autoFit: !0
  57132. }
  57133. if (
  57134. (e.rotate && (a.rotate = e.rotate),
  57135. e.wordSpace && (a.charSpacing = e.wordSpace * mt),
  57136. e.lineHeight && (a.lineSpacingMultiple = e.lineHeight / 1.25),
  57137. e.fill)
  57138. ) {
  57139. var s = gt(e.fill),
  57140. l = void 0 === e.opacity ? 1 : e.opacity
  57141. a.fill = {
  57142. color: s.color,
  57143. transparency: 100 * (1 - s.alpha * l)
  57144. }
  57145. }
  57146. if (
  57147. (e.defaultColor && (a.color = gt(e.defaultColor).color),
  57148. e.shadow && (a.shadow = bt(e.shadow)),
  57149. null !== (i = e.outline) && void 0 !== i && i.width && (a.line = wt(e.outline)),
  57150. void 0 !== e.opacity && (a.transparency = 100 * (1 - e.opacity)),
  57151. void 0 !== e.paragraphSpace && (a.paraSpaceBefore = e.paragraphSpace * mt),
  57152. e.vertical && (a.vert = "eaVert"),
  57153. e.link)
  57154. ) {
  57155. var c = Et(e.link)
  57156. c && (a.hyperlink = c)
  57157. }
  57158. ;(o = Array.isArray(o) ? o : [o]),
  57159. (o = o.map(function (e) {
  57160. var t = e.text,
  57161. r = e.options,
  57162. n = void 0 === r ? {} : r
  57163. return {
  57164. text: t,
  57165. options: P(
  57166. P({}, n),
  57167. {},
  57168. {
  57169. fontFace: "微软雅黑"
  57170. }
  57171. )
  57172. }
  57173. })),
  57174. t.addText(o, a),
  57175. r(t)
  57176. })
  57177. },
  57178. fr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  57179. pr = "data:image/svg+xml;base64,",
  57180. dr = function (e) {
  57181. e = e.replace(/\r\n/g, "\n")
  57182. for (var t = "", r = 0; r < e.length; r++) {
  57183. var n = e.charCodeAt(r)
  57184. n < 128
  57185. ? (t += String.fromCharCode(n))
  57186. : n > 127 && n < 2048
  57187. ? ((t += String.fromCharCode((n >> 6) | 192)), (t += String.fromCharCode((63 & n) | 128)))
  57188. : ((t += String.fromCharCode((n >> 12) | 224)),
  57189. (t += String.fromCharCode(((n >> 6) & 63) | 128)),
  57190. (t += String.fromCharCode((63 & n) | 128)))
  57191. }
  57192. return t
  57193. },
  57194. hr = function (e) {
  57195. var t,
  57196. r,
  57197. n,
  57198. i,
  57199. o,
  57200. a,
  57201. s,
  57202. l = "",
  57203. c = 0
  57204. e = dr(e)
  57205. while (c < e.length)
  57206. (t = e.charCodeAt(c++)),
  57207. (r = e.charCodeAt(c++)),
  57208. (n = e.charCodeAt(c++)),
  57209. (i = t >> 2),
  57210. (o = ((3 & t) << 4) | (r >> 4)),
  57211. (a = ((15 & r) << 2) | (n >> 6)),
  57212. (s = 63 & n),
  57213. isNaN(r) ? (a = s = 64) : isNaN(n) && (s = 64),
  57214. (l = l + fr.charAt(i) + fr.charAt(o) + fr.charAt(a) + fr.charAt(s))
  57215. return l
  57216. },
  57217. mr = function (e) {
  57218. return pr + hr(e)
  57219. },
  57220. gr = function (e, t, r, n, i, o) {
  57221. return new Promise(function (r, n) {
  57222. if (e.special && e.svgStr) {
  57223. var i = e.svgStr,
  57224. o = mr(i),
  57225. a = {
  57226. data: o,
  57227. x: e.left / 100,
  57228. y: e.top / 100,
  57229. w: e.width / 100,
  57230. h: e.height / 100
  57231. }
  57232. if ((e.rotate && (a.rotate = e.rotate), e.link)) {
  57233. var s = Et(e.link)
  57234. s && (a.hyperlink = s)
  57235. }
  57236. t.addImage(a)
  57237. } else {
  57238. var l,
  57239. c = Array.isArray(e.viewBox) ? e.viewBox : [e.viewBox, e.viewBox],
  57240. u = {
  57241. x: e.width / c[0],
  57242. y: e.height / c[1]
  57243. }
  57244. null !== e && void 0 !== e && e.path && e.path.includes("NaN") && r(t)
  57245. var f = vt(sr(e.path), u),
  57246. p = gt(e.fill),
  57247. d = void 0 === e.opacity ? 1 : e.opacity,
  57248. h = {
  57249. x: e.left / ht,
  57250. y: e.top / ht,
  57251. w: e.width / ht,
  57252. h: e.height / ht,
  57253. fill: {
  57254. color: p.color,
  57255. transparency: 100 * (1 - p.alpha * d)
  57256. },
  57257. points: f
  57258. }
  57259. if (
  57260. (e.flipH && (h.flipH = e.flipH),
  57261. e.flipV && (h.flipV = e.flipV),
  57262. e.shadow && (h.shadow = bt(e.shadow)),
  57263. null !== (l = e.outline) && void 0 !== l && l.width && (h.line = wt(e.outline)),
  57264. e.link)
  57265. ) {
  57266. var m = Et(e.link)
  57267. m && (h.hyperlink = m)
  57268. }
  57269. if ((t.addShape("custGeom", h), e.text)) {
  57270. var g = e.text,
  57271. y = g.content,
  57272. v = g.align,
  57273. b = g.defaultColor,
  57274. w = yt(y),
  57275. x = {
  57276. shape: "custGeom",
  57277. x: e.left / ht,
  57278. y: e.top / ht,
  57279. w: e.width / ht,
  57280. h: e.height / ht,
  57281. valign: v,
  57282. fontSize: 40 * mt,
  57283. fontFace: "微软雅黑",
  57284. color: "#000000"
  57285. }
  57286. b && (x.color = gt(b).color),
  57287. (w = Array.isArray(w) ? w : [w]),
  57288. (w = w.map(function (e) {
  57289. var t = e.text,
  57290. r = e.options,
  57291. n = void 0 === r ? {} : r
  57292. return {
  57293. text: t,
  57294. options: P(
  57295. P({}, n),
  57296. {},
  57297. {
  57298. fontFace: "微软雅黑"
  57299. }
  57300. )
  57301. }
  57302. })),
  57303. t.addText(w, x)
  57304. }
  57305. }
  57306. r(t)
  57307. })
  57308. },
  57309. yr = function (e, t, r, n, i, o) {
  57310. return new Promise(function (r, n) {
  57311. for (var i = [], o = 0; o < e.data.length; o++)
  57312. for (var a = e.data[o], s = 0; s < a.length; s++) {
  57313. var l = a[s]
  57314. if (l.colspan > 1 || l.rowspan > 1)
  57315. for (var c = o; c < o + l.rowspan; c++)
  57316. for (var u = c === o ? s + 1 : s; u < s + l.colspan; u++) i.push("".concat(c, "_").concat(u))
  57317. }
  57318. var f = [],
  57319. p = e.theme,
  57320. d = null,
  57321. h = []
  57322. p &&
  57323. ((d = gt(p.color)),
  57324. (h = Tt(p.color).map(function (e) {
  57325. return gt(e)
  57326. })))
  57327. for (var m = 0; m < e.data.length; m++) {
  57328. for (var g = e.data[m], y = [], v = 0; v < g.length; v++) {
  57329. var b,
  57330. w,
  57331. x,
  57332. A,
  57333. _,
  57334. T,
  57335. E,
  57336. S,
  57337. C = g[v],
  57338. k = {
  57339. colspan: C.colspan,
  57340. rowspan: C.rowspan,
  57341. bold: (null === (b = C.style) || void 0 === b ? void 0 : b.bold) || !1,
  57342. italic: (null === (w = C.style) || void 0 === w ? void 0 : w.em) || !1,
  57343. underline: {
  57344. style: null !== (x = C.style) && void 0 !== x && x.underline ? "sng" : "none"
  57345. },
  57346. align: (null === (A = C.style) || void 0 === A ? void 0 : A.align) || "left",
  57347. valign: "middle",
  57348. fontFace: "微软雅黑",
  57349. fontSize:
  57350. (null !== (_ = C.style) && void 0 !== _ && _.fontsize
  57351. ? parseInt(null === (T = C.style) || void 0 === T ? void 0 : T.fontsize)
  57352. : 14) * mt
  57353. }
  57354. if (p && d) {
  57355. var L = void 0
  57356. ;(L = m % 2 === 0 ? h[1] : h[0]),
  57357. ((p.rowHeader && 0 === m) ||
  57358. (p.rowFooter && m === e.data.length - 1) ||
  57359. (p.colHeader && 0 === v) ||
  57360. (p.colFooter && v === g.length - 1)) &&
  57361. (L = d),
  57362. (k.fill = {
  57363. color: L.color,
  57364. transparency: 100 * (1 - L.alpha)
  57365. })
  57366. }
  57367. if (null !== (E = C.style) && void 0 !== E && E.backcolor) {
  57368. var P = gt(C.style.backcolor)
  57369. k.fill = {
  57370. color: P.color,
  57371. transparency: 100 * (1 - P.alpha)
  57372. }
  57373. }
  57374. null !== (S = C.style) && void 0 !== S && S.color && (k.color = gt(C.style.color).color),
  57375. i.includes("".concat(m, "_").concat(v)) ||
  57376. y.push({
  57377. text: C.text,
  57378. options: k
  57379. })
  57380. }
  57381. y.length && f.push(y)
  57382. }
  57383. var O = {
  57384. x: e.left / ht,
  57385. y: e.top / ht,
  57386. w: e.width / ht,
  57387. h: e.height / ht,
  57388. colW: e.colWidths.map(function (t) {
  57389. return (e.width * t) / ht
  57390. })
  57391. }
  57392. e.theme &&
  57393. (O.fill = {
  57394. color: "#ffffff"
  57395. }),
  57396. e.outline.width &&
  57397. e.outline.color &&
  57398. (O.border = {
  57399. type: "solid" === e.outline.style ? "solid" : "dash",
  57400. pt: e.outline.width * mt,
  57401. color: gt(e.outline.color).color
  57402. }),
  57403. t.addTable(f, O),
  57404. r(t)
  57405. })
  57406. },
  57407. vr = function (e) {
  57408. return new Promise(function (t) {
  57409. fetch(e)
  57410. .then(function (e) {
  57411. return e.blob()
  57412. })
  57413. .then(function (e) {
  57414. var r = new FileReader()
  57415. r.addEventListener("load", function () {
  57416. t(r.result)
  57417. }),
  57418. r.readAsDataURL(e)
  57419. })
  57420. })
  57421. },
  57422. br = function (e) {
  57423. return new Promise(function (t, r) {
  57424. e
  57425. ? vr(e).then(function (e) {
  57426. return t(e)
  57427. })
  57428. : t(null)
  57429. })
  57430. },
  57431. wr = function (e, t, r, n, i, o) {
  57432. return br(e.poster || e.src + "?x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast").then(function (r) {
  57433. var n = {
  57434. type: "online",
  57435. link: e.src,
  57436. x: e.left / ht,
  57437. y: e.top / ht,
  57438. w: e.width / ht,
  57439. h: e.height / ht
  57440. }
  57441. return (
  57442. r &&
  57443. l.a.merge(n, {
  57444. cover: r
  57445. }),
  57446. t.addMedia(n),
  57447. t
  57448. )
  57449. })
  57450. },
  57451. xr = function (e, t, r, n, i, o) {
  57452. return new Promise(function (r, n) {
  57453. var i = {
  57454. type: "audio",
  57455. path: e.src,
  57456. x: e.left / ht,
  57457. y: e.top / ht,
  57458. w: 60 / ht,
  57459. h: 60 / ht,
  57460. cover: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAMAAAC5KTl3AAADdmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMjEgNzkuMTU1NzcyLCAyMDE0LzAxLzEzLTE5OjQ0OjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmVlOTdmZGI5LThjMDQtNGI0YS05NDJlLTcwNDc5NDVmZjVhNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3OUUwNTgzQTU1NzQxMUU2OTI4Q0I3MTI5MEFDNjdEOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3OUUwNTgzOTU1NzQxMUU2OTI4Q0I3MTI5MEFDNjdEOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5NGE5MGE1OC01N2YyLTcxNDItYWJmMi1iOTU0MTQ2Y2Y3MzUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6ZWU5N2ZkYjktOGMwNC00YjRhLTk0MmUtNzA0Nzk0NWZmNWE2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+BmF+rgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACNUExURUdwTOmPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPToF3nRIAAAAudFJOUwC7HEg57eN/gPkZBlTuLU4e1fD+k7r9NizHysnpEvHTspEXucIIIjjy2JKxB9SH738mAAAA30lEQVRYw+3W2Q6CMBAFUFAQEFFUcN/39f7/5ymJLyaXMG31id7HJj1JM9N2HMfGpnbp7f2+Z7B/d8c7a32g4xcARrr7Hxk++VoOIAWWBzAhgFQ4XcEEOTBegAly4LwCE+RAdwAmyIFGC0yQA/EcTJADzhZUkAPNIReqk+YReKSCCxgKkbGAWgjV4v+FutTCvCfN70Xqmt7NqvdBQbpxIZQT8YyfQoEoeatViJL/QoXwLrwWKkTCq6lATFq8HxSI9pR3VChvi2Om25O/m6OKk2wK4Wk2T+aJ0TxpY2OjlRdpOINRgkW3uAAAAABJRU5ErkJggg=="
  57461. }
  57462. t.addMedia(i), r(t)
  57463. })
  57464. },
  57465. Ar = function (e, t, r, n, i, o) {
  57466. return new Promise(function (e, n) {
  57467. var i = 1080
  57468. switch (o.viewportRatio) {
  57469. case 0.625:
  57470. i = 1200
  57471. break
  57472. case 0.75:
  57473. i = 1440
  57474. break
  57475. default:
  57476. i = 1080
  57477. break
  57478. }
  57479. // hqy 这里没有预览图的时候会报错,所以加了判空
  57480. var a = r.preview || "",
  57481. // hqy
  57482. s = a.indexOf("data:image") > -1,
  57483. l = {
  57484. path: s ? void 0 : a,
  57485. data: s ? a : void 0,
  57486. x: 0 / ht,
  57487. y: 0 / ht,
  57488. w: 1920 / ht,
  57489. h: i / ht
  57490. }
  57491. t.addImage(l), e(t)
  57492. })
  57493. },
  57494. _r = function (e, t, r, n, i, o) {
  57495. return new Promise(function (a, s) {
  57496. var l = null
  57497. switch (e.subtype) {
  57498. case "elf-audio":
  57499. l = xr
  57500. break
  57501. case "elf-video":
  57502. l = wr
  57503. break
  57504. case "elf-sing-play":
  57505. case "elf-enjoy":
  57506. case "elf-music-rhythm":
  57507. case "elf-questions-bank":
  57508. case "elf-carouse-image":
  57509. l = Ar
  57510. break
  57511. }
  57512. if (!l) return console.warn(new Error("no found elfelement ".concat(e.subtype, " parse Function"))), void a(t)
  57513. l(e, t, r, n, i, o)
  57514. .then(function () {
  57515. return a(t)
  57516. })
  57517. ["catch"](function (e) {
  57518. return s(e)
  57519. })
  57520. })
  57521. },
  57522. Tr = function (e, t, r, n, i, o, a, s) {
  57523. return new Promise(function (l, c) {
  57524. var u = null
  57525. switch (t.type) {
  57526. case "text":
  57527. u = ur
  57528. break
  57529. case "image":
  57530. u = Pt
  57531. break
  57532. case "shape":
  57533. u = gr
  57534. break
  57535. case "line":
  57536. u = cr
  57537. break
  57538. case "chart":
  57539. u = Lt
  57540. break
  57541. case "table":
  57542. u = yr
  57543. break
  57544. case "elf":
  57545. u = _r
  57546. break
  57547. }
  57548. if (!u) return console.warn(new Error("no found element ".concat(t.type, " parse Function"))), void l(r)
  57549. a.beforeParseElement && a.beforeParseElement(t, void 0, r, e, s),
  57550. u(t, r, n, i, o, a)
  57551. .then(function () {
  57552. a.afterParseElement && a.afterParseElement(t, void 0, r, e, s)
  57553. })
  57554. .then(function () {
  57555. return l(r)
  57556. })
  57557. ["catch"](function (e) {
  57558. return c(e)
  57559. })
  57560. })
  57561. },
  57562. Er = function (e, t, r, n, i, o) {
  57563. return new Promise(function (a, s) {
  57564. var l = r.addSlide()
  57565. if ((i.beforeParseSlide && i.beforeParseSlide(t, l, e, o), t.background)) {
  57566. var c = t.background
  57567. if ("image" === c.type && c.image) {
  57568. var u = c.image.indexOf("data:image") > -1
  57569. l.background = {
  57570. path: u ? void 0 : c.image,
  57571. data: u ? c.image : void 0
  57572. }
  57573. } else if ("solid" === c.type && c.color) {
  57574. var f = gt(c.color)
  57575. l.background = {
  57576. color: f.color,
  57577. transparency: 100 * (1 - f.alpha)
  57578. }
  57579. } else if ("gradient" === c.type && c.gradientColor) {
  57580. var p = E(c.gradientColor, 2),
  57581. d = p[0],
  57582. h = p[1],
  57583. m = oe.mix(d, h).toHexString(),
  57584. g = gt(m)
  57585. l.background = {
  57586. color: g.color,
  57587. transparency: 100 * (1 - g.alpha)
  57588. }
  57589. }
  57590. }
  57591. if ((t.remark && l.addNotes(t.remark), t.elements)) {
  57592. for (var y = [], v = 0; v < t.elements.length; v++) {
  57593. var b = t.elements[v]
  57594. y.push(Tr(v + 1, b, l, t, r, n, i, t.elements.length))
  57595. }
  57596. Promise.all(y)
  57597. .then(function () {
  57598. i.afterParseSlide && i.afterParseSlide(t, l, e, o)
  57599. })
  57600. .then(function () {
  57601. return a(l)
  57602. })
  57603. ["catch"](function (e) {
  57604. return s(e)
  57605. })
  57606. } else a(l)
  57607. })
  57608. },
  57609. Sr = function (e, t) {
  57610. return new Promise(function (r, n) {
  57611. var i = new a["a"](),
  57612. o = []
  57613. t.beforeParse && t.beforeParse(e, i), kt(e, t, i)
  57614. for (var s = 0; s < e.slides.length; s++) {
  57615. var l = e.slides[s]
  57616. o.push(Er(s + 1, l, i, e, t, e.slides.length))
  57617. }
  57618. Promise.all(o)
  57619. .then(function () {
  57620. t.afterParse && t.afterParse(e, i)
  57621. })
  57622. .then(function () {
  57623. return r(i)
  57624. })
  57625. ["catch"](function (e) {
  57626. return n(e)
  57627. })
  57628. ["finally"](function () {
  57629. re.info("fininsh parse json", i)
  57630. })
  57631. })
  57632. },
  57633. Cr = function (e) {
  57634. return fetch(e).then(function (e) {
  57635. return e.json()
  57636. })
  57637. },
  57638. kr = (function () {
  57639. var e = T(
  57640. A().mark(function e(t, r) {
  57641. return A().wrap(function (e) {
  57642. while (1)
  57643. switch ((e.prev = e.next)) {
  57644. case 0:
  57645. return (
  57646. (r.viewportRatio = t.theme.viewportRatio),
  57647. e.abrupt("return", {
  57648. pptJson: t,
  57649. json2PptxOption: r
  57650. })
  57651. )
  57652. case 2:
  57653. case "end":
  57654. return e.stop()
  57655. }
  57656. }, e)
  57657. })
  57658. )
  57659. return function (t, r) {
  57660. return e.apply(this, arguments)
  57661. }
  57662. })(),
  57663. Lr = function (e) {
  57664. var t =
  57665. arguments.length > 1 && void 0 !== arguments[1]
  57666. ? arguments[1]
  57667. : {
  57668. name: "pptist.pptx",
  57669. viewportRatio: 0.5625
  57670. }
  57671. return new Promise(function (r, n) {
  57672. Cr(e)
  57673. .then(function (e) {
  57674. return kr(e, t)
  57675. })
  57676. .then(function (e) {
  57677. var t = e.pptJson,
  57678. r = e.json2PptxOption
  57679. return Sr(t, r)
  57680. })
  57681. .then(function (e) {
  57682. return e.write({
  57683. outputType: "arraybuffer"
  57684. })
  57685. })
  57686. .then(function (e) {
  57687. return r(e)
  57688. })
  57689. ["catch"](function (e) {
  57690. return n(e)
  57691. })
  57692. })
  57693. },
  57694. Pr = function (e) {
  57695. var t = e.toLowerCase()
  57696. "#" !== t[0] && (t = "#" + t)
  57697. var r = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,
  57698. n = []
  57699. if (t && r.test(t)) {
  57700. if (4 === t.length) {
  57701. for (var i = "#", o = 1; o < 4; o += 1) i += t.slice(o, o + 1).concat(t.slice(o, o + 1))
  57702. t = i
  57703. }
  57704. for (var a = 1; a < 7; a += 2) n.push(parseInt("0x" + t.slice(a, a + 2)))
  57705. }
  57706. return n
  57707. },
  57708. Or = function (e) {
  57709. for (var t = "#", r = 0; r < 3; r++) {
  57710. var n = Number(e[r]).toString(16)
  57711. n.length < 2 && (n = "0" + n), (t += n)
  57712. }
  57713. return t
  57714. },
  57715. jr = function (e, t, r) {
  57716. var n,
  57717. i,
  57718. o = e / 255,
  57719. a = t / 255,
  57720. s = r / 255,
  57721. l = Math.max(o, a, s),
  57722. c = Math.min(o, a, s),
  57723. u = (l + c) / 2
  57724. if (l === c) (n = 0), (i = 0)
  57725. else {
  57726. var f = l - c
  57727. switch (((i = u > 0.5 ? f / (2 - l - c) : f / (l + c)), l)) {
  57728. case o:
  57729. n = (a - s) / f + (a < s ? 6 : 0)
  57730. break
  57731. case a:
  57732. n = (s - o) / f + 2
  57733. break
  57734. case s:
  57735. n = (o - a) / f + 4
  57736. break
  57737. default:
  57738. return
  57739. }
  57740. console.log("h:", n), (n *= 0.6)
  57741. }
  57742. return [n, i, u]
  57743. },
  57744. Rr = function () {
  57745. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
  57746. t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
  57747. r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0,
  57748. n = (1 - Math.abs(2 * r - 1)) * t,
  57749. i = n * (1 - Math.abs(((e / 60) % 2) - 1)),
  57750. o = r - n / 2,
  57751. a = []
  57752. e >= 0 && e < 60
  57753. ? a.push(n, i, 0)
  57754. : e >= 60 && e < 120
  57755. ? a.push(i, n, 0)
  57756. : e >= 120 && e < 180
  57757. ? a.push(0, n, i)
  57758. : e >= 180 && e < 240
  57759. ? a.push(0, i, n)
  57760. : e >= 240 && e < 300
  57761. ? a.push(i, 0, n)
  57762. : e >= 300 && e < 360 && a.push(n, 0, i)
  57763. var s = a[0],
  57764. l = a[1],
  57765. c = a[2],
  57766. u = 255 * (s + o),
  57767. f = 255 * (l + o),
  57768. p = 255 * (c + o)
  57769. return [Math.round(u), Math.round(f), Math.round(p)]
  57770. },
  57771. Ir = function (e, t) {
  57772. return Object(f["xml2js"])(e, t)
  57773. },
  57774. Nr = function () {
  57775. for (
  57776. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6,
  57777. t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
  57778. r = t.length,
  57779. n = "",
  57780. i = 0;
  57781. i < e;
  57782. i++
  57783. ) {
  57784. var o = Math.floor(Math.random() * r)
  57785. n += t[o]
  57786. }
  57787. return n
  57788. },
  57789. Mr = function (e) {
  57790. return e ? (Array.isArray(e) ? e : [e]) : []
  57791. },
  57792. Dr = function (e) {
  57793. var t = e / 12700,
  57794. r = (4 * t) / 3
  57795. return r
  57796. },
  57797. Br = function (e) {
  57798. var t, r, n, i
  57799. return (
  57800. !(null !== e && void 0 !== e && null !== (t = e.spPr) && void 0 !== t && t.xfrm) ||
  57801. (null === e ||
  57802. void 0 === e ||
  57803. null === (r = e.nvSpPr) ||
  57804. void 0 === r ||
  57805. null === (n = r.nvPr) ||
  57806. void 0 === n ||
  57807. null === (i = n.ph) ||
  57808. void 0 === i
  57809. ? void 0
  57810. : i.attributes)
  57811. )
  57812. },
  57813. Fr = {
  57814. compact: !0,
  57815. ignoreDeclaration: !0,
  57816. attributesKey: "attributes",
  57817. elementNameFn: function (e) {
  57818. return e.replace("p:", "").replace("a:", "")
  57819. }
  57820. },
  57821. Ur = (function () {
  57822. var e = T(
  57823. A().mark(function e(t, r, n, i) {
  57824. var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S
  57825. return A().wrap(function (e) {
  57826. while (1)
  57827. switch ((e.prev = e.next)) {
  57828. case 0:
  57829. ;(o = {}),
  57830. (a = {}),
  57831. (s = []),
  57832. r.forEach(function (e) {
  57833. s.push(n[e])
  57834. }),
  57835. (l = 0)
  57836. case 5:
  57837. if (!(l < s.length)) {
  57838. e.next = 18
  57839. break
  57840. }
  57841. return (e.next = 8), s[l].async("string")
  57842. case 8:
  57843. for (g in ((p = e.sent),
  57844. (d = Ir(p, Fr)),
  57845. (h =
  57846. null === d ||
  57847. void 0 === d ||
  57848. null === (c = d.theme) ||
  57849. void 0 === c ||
  57850. null === (u = c.themeElements) ||
  57851. void 0 === u
  57852. ? void 0
  57853. : u.clrScheme),
  57854. (m = {}),
  57855. h))
  57856. (y = h[g]),
  57857. null !== y && void 0 !== y && y.srgbClr
  57858. ? (m[g] = null === (v = y.srgbClr.attributes) || void 0 === v ? void 0 : v.val)
  57859. : null !== y &&
  57860. void 0 !== y &&
  57861. y.sysClr &&
  57862. (m[g] =
  57863. null === (b = y.sysClr) || void 0 === b || null === (w = b.attributes) || void 0 === w
  57864. ? void 0
  57865. : w.lastClr)
  57866. ;(x = (null === (f = s[l].name.match(/\d+(.\d+)?/g)) || void 0 === f ? void 0 : f[0]) || l + 1), (o[x] = m)
  57867. case 15:
  57868. l++, (e.next = 5)
  57869. break
  57870. case 18:
  57871. ;(_ = []),
  57872. t.forEach(function (e) {
  57873. _.push(n[e])
  57874. }),
  57875. (T = []),
  57876. i.forEach(function (e) {
  57877. T.push(n[e])
  57878. }),
  57879. (E = A().mark(function e() {
  57880. var t, r, n, i, s, l, c, u, f
  57881. return A().wrap(function (e) {
  57882. while (1)
  57883. switch ((e.prev = e.next)) {
  57884. case 0:
  57885. return (e.next = 2), _[S].async("string")
  57886. case 2:
  57887. if (
  57888. ((i = e.sent),
  57889. (s = Ir(i, Fr)),
  57890. (l = (null === (t = _[S].name.match(/\d+(.\d+)?/g)) || void 0 === t ? void 0 : t[0]) || S + 1),
  57891. (a[l] =
  57892. null === s ||
  57893. void 0 === s ||
  57894. null === (r = s.sldMaster) ||
  57895. void 0 === r ||
  57896. null === (n = r.clrMap) ||
  57897. void 0 === n
  57898. ? void 0
  57899. : n.attributes),
  57900. null === T || void 0 === T || !T[S])
  57901. ) {
  57902. e.next = 13
  57903. break
  57904. }
  57905. return (e.next = 9), T[S].async("string")
  57906. case 9:
  57907. ;(c = e.sent),
  57908. (u = Ir(c, Fr)),
  57909. (f = Array.isArray(u.Relationships.Relationship)
  57910. ? u.Relationships.Relationship
  57911. : [u.Relationships.Relationship]),
  57912. null === f ||
  57913. void 0 === f ||
  57914. f.forEach(function (e) {
  57915. if (e.attributes.Target.includes("theme")) {
  57916. var t = +e.attributes.Target.replace(/[^0-9]/gi, ""),
  57917. r = o[t]
  57918. for (var n in a[l]) {
  57919. var i,
  57920. s = a[l][n]
  57921. r[s] && (a[l][n] = r[s]),
  57922. (null !== a && void 0 !== a && null !== (i = a[l]) && void 0 !== i && i[s]) ||
  57923. !r[s] ||
  57924. (a[l][s] = r[s])
  57925. }
  57926. }
  57927. })
  57928. case 13:
  57929. case "end":
  57930. return e.stop()
  57931. }
  57932. }, e)
  57933. })),
  57934. (S = 0)
  57935. case 24:
  57936. if (!(S < _.length)) {
  57937. e.next = 29
  57938. break
  57939. }
  57940. return e.delegateYield(E(), "t0", 26)
  57941. case 26:
  57942. S++, (e.next = 24)
  57943. break
  57944. case 29:
  57945. return e.abrupt("return", a)
  57946. case 30:
  57947. case "end":
  57948. return e.stop()
  57949. }
  57950. }, e)
  57951. })
  57952. )
  57953. return function (t, r, n, i) {
  57954. return e.apply(this, arguments)
  57955. }
  57956. })(),
  57957. zr = function (e, t, r) {
  57958. return e[t][r] ? "#".concat(e[t][r]) : ""
  57959. },
  57960. qr = (function () {
  57961. var e = T(
  57962. A().mark(function e(t, r) {
  57963. var n, i, o, a
  57964. return A().wrap(function (e) {
  57965. while (1)
  57966. switch ((e.prev = e.next)) {
  57967. case 0:
  57968. return (n = t[r]), (e.next = 3), n.async("string")
  57969. case 3:
  57970. return (i = e.sent), (o = Ir(i, Fr)), (a = o.presentation.defaultTextStyle.lvl1pPr), e.abrupt("return", a)
  57971. case 7:
  57972. case "end":
  57973. return e.stop()
  57974. }
  57975. }, e)
  57976. })
  57977. )
  57978. return function (t, r) {
  57979. return e.apply(this, arguments)
  57980. }
  57981. })(),
  57982. Gr = (function () {
  57983. var e = T(
  57984. A().mark(function e(t, r, n, i) {
  57985. var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N
  57986. return A().wrap(function (e) {
  57987. while (1)
  57988. switch ((e.prev = e.next)) {
  57989. case 0:
  57990. if (
  57991. ((h =
  57992. (null === t ||
  57993. void 0 === t ||
  57994. null === (o = t.nvSpPr) ||
  57995. void 0 === o ||
  57996. null === (a = o.nvPr) ||
  57997. void 0 === a ||
  57998. null === (s = a.ph) ||
  57999. void 0 === s ||
  58000. null === (l = s.attributes) ||
  58001. void 0 === l
  58002. ? void 0
  58003. : l.type) ||
  58004. (null === t ||
  58005. void 0 === t ||
  58006. null === (c = t.nvSpPr) ||
  58007. void 0 === c ||
  58008. null === (u = c.nvPr) ||
  58009. void 0 === u ||
  58010. null === (f = u.ph) ||
  58011. void 0 === f ||
  58012. null === (p = f.attributes) ||
  58013. void 0 === p
  58014. ? void 0
  58015. : p.idx)),
  58016. (m = null === r || void 0 === r || null === (d = r.Relationships) || void 0 === d ? void 0 : d.Relationship),
  58017. Array.isArray(m)
  58018. ? m.forEach(function (e) {
  58019. var t
  58020. e.attributes.Type.includes("slideLayout") &&
  58021. (g = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target)
  58022. })
  58023. : (g =
  58024. null === r ||
  58025. void 0 === r ||
  58026. null === (v = r.Relationships) ||
  58027. void 0 === v ||
  58028. null === (b = v.Relationship) ||
  58029. void 0 === b ||
  58030. null === (w = b.attributes) ||
  58031. void 0 === w
  58032. ? void 0
  58033. : w.Target),
  58034. !g)
  58035. ) {
  58036. e.next = 20
  58037. break
  58038. }
  58039. return (k = n["ppt".concat(g.replace("..", ""))]), (e.next = 7), k.async("string")
  58040. case 7:
  58041. if (
  58042. ((L = e.sent),
  58043. (P = Ir(L, Fr)),
  58044. (O =
  58045. null === P ||
  58046. void 0 === P ||
  58047. null === (x = P.sldLayout) ||
  58048. void 0 === x ||
  58049. null === (_ = x.cSld) ||
  58050. void 0 === _ ||
  58051. null === (T = _.spTree) ||
  58052. void 0 === T
  58053. ? void 0
  58054. : T.sp),
  58055. (y =
  58056. null === (E = Mr(O)) || void 0 === E
  58057. ? void 0
  58058. : E.find(function (e) {
  58059. var t, r, n, i, o, a, s, l
  58060. return (
  58061. (null === e ||
  58062. void 0 === e ||
  58063. null === (t = e.nvSpPr) ||
  58064. void 0 === t ||
  58065. null === (r = t.nvPr) ||
  58066. void 0 === r ||
  58067. null === (n = r.ph) ||
  58068. void 0 === n ||
  58069. null === (i = n.attributes) ||
  58070. void 0 === i
  58071. ? void 0
  58072. : i.type) === h ||
  58073. (null === e ||
  58074. void 0 === e ||
  58075. null === (o = e.nvSpPr) ||
  58076. void 0 === o ||
  58077. null === (a = o.nvPr) ||
  58078. void 0 === a ||
  58079. null === (s = a.ph) ||
  58080. void 0 === s ||
  58081. null === (l = s.attributes) ||
  58082. void 0 === l
  58083. ? void 0
  58084. : l.idx) === h
  58085. )
  58086. })),
  58087. null !== (S = y) && void 0 !== S && null !== (C = S.spPr) && void 0 !== C && C.xfrm)
  58088. ) {
  58089. e.next = 19
  58090. break
  58091. }
  58092. return (R = n["ppt/slideMasters/".concat(i)]), (e.next = 15), R.async("string")
  58093. case 15:
  58094. ;(I = e.sent),
  58095. (N = Ir(I, Fr)),
  58096. "1" === h && (h = "body"),
  58097. null === (j = N.sldMaster.cSld.spTree.sp) ||
  58098. void 0 === j ||
  58099. j.forEach(function (e) {
  58100. var t, r, n
  58101. ;(null === (t = e.nvSpPr.nvPr) ||
  58102. void 0 === t ||
  58103. null === (r = t.ph) ||
  58104. void 0 === r ||
  58105. null === (n = r.attributes) ||
  58106. void 0 === n
  58107. ? void 0
  58108. : n.type) === h && (y = e)
  58109. })
  58110. case 19:
  58111. return e.abrupt("return", y)
  58112. case 20:
  58113. case "end":
  58114. return e.stop()
  58115. }
  58116. }, e)
  58117. })
  58118. )
  58119. return function (t, r, n, i) {
  58120. return e.apply(this, arguments)
  58121. }
  58122. })(),
  58123. Wr = (function () {
  58124. var e = T(
  58125. A().mark(function e(t, r, n, i) {
  58126. var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S
  58127. return A().wrap(function (e) {
  58128. while (1)
  58129. switch ((e.prev = e.next)) {
  58130. case 0:
  58131. if (
  58132. ((v =
  58133. (null === t || void 0 === t || null === (o = t.spPr) || void 0 === o ? void 0 : o.xfrm) ||
  58134. (null === t || void 0 === t ? void 0 : t.xfrm)),
  58135. v)
  58136. ) {
  58137. e.next = 8
  58138. break
  58139. }
  58140. if (((b = Br(t)), !b)) {
  58141. e.next = 8
  58142. break
  58143. }
  58144. return (e.next = 6), Gr(t, r, n, i)
  58145. case 6:
  58146. ;(x = e.sent), (v = null === x || void 0 === x || null === (w = x.spPr) || void 0 === w ? void 0 : w.xfrm)
  58147. case 8:
  58148. return (
  58149. (_ = Dr(
  58150. (null === (a = v) ||
  58151. void 0 === a ||
  58152. null === (s = a.off) ||
  58153. void 0 === s ||
  58154. null === (l = s.attributes) ||
  58155. void 0 === l
  58156. ? void 0
  58157. : l.x) || 0
  58158. )),
  58159. (T = Dr(
  58160. (null === (c = v) ||
  58161. void 0 === c ||
  58162. null === (u = c.off) ||
  58163. void 0 === u ||
  58164. null === (f = u.attributes) ||
  58165. void 0 === f
  58166. ? void 0
  58167. : f.y) || 0
  58168. )),
  58169. (E = Dr(
  58170. (null === (p = v) ||
  58171. void 0 === p ||
  58172. null === (d = p.ext) ||
  58173. void 0 === d ||
  58174. null === (h = d.attributes) ||
  58175. void 0 === h
  58176. ? void 0
  58177. : h.cx) || 9144e3
  58178. )),
  58179. (S = Dr(
  58180. (null === (m = v) ||
  58181. void 0 === m ||
  58182. null === (g = m.ext) ||
  58183. void 0 === g ||
  58184. null === (y = g.attributes) ||
  58185. void 0 === y
  58186. ? void 0
  58187. : y.cy) || 2387600
  58188. )),
  58189. e.abrupt("return", {
  58190. left: _,
  58191. top: T,
  58192. width: E,
  58193. height: S
  58194. })
  58195. )
  58196. case 13:
  58197. case "end":
  58198. return e.stop()
  58199. }
  58200. }, e)
  58201. })
  58202. )
  58203. return function (t, r, n, i) {
  58204. return e.apply(this, arguments)
  58205. }
  58206. })(),
  58207. Vr = function (e, t) {
  58208. var r,
  58209. n,
  58210. i,
  58211. o,
  58212. a = e.xfrm
  58213. ;(t.left = (12700 * t.left * 3) / 4),
  58214. (t.top = (12700 * t.top * 3) / 4),
  58215. (t.width = (12700 * t.width * 3) / 4),
  58216. (t.height = (12700 * t.height * 3) / 4)
  58217. var s = (null === a || void 0 === a || null === (r = a.chExt) || void 0 === r ? void 0 : r.attributes) || {},
  58218. l = s.cx,
  58219. c = s.cy,
  58220. u = (null === a || void 0 === a || null === (n = a.chOff) || void 0 === n ? void 0 : n.attributes) || {},
  58221. f = u.x,
  58222. p = u.y,
  58223. d = (null === a || void 0 === a || null === (i = a.ext) || void 0 === i ? void 0 : i.attributes) || {},
  58224. h = d.cx,
  58225. m = d.cy,
  58226. g = (null === a || void 0 === a || null === (o = a.off) || void 0 === o ? void 0 : o.attributes) || {},
  58227. y = g.x,
  58228. v = g.y,
  58229. b = t.left,
  58230. w = t.top,
  58231. x = t.width,
  58232. A = t.height
  58233. if (l && h) {
  58234. var _ = +l || 1
  58235. x = (x / _) * h
  58236. var T = +f || 0
  58237. b = ((Number(b) - Number(T)) / _) * h + Number(y)
  58238. }
  58239. if (c && m) {
  58240. var E = +c || 1
  58241. A = (A / E) * m
  58242. var S = +p || 0
  58243. w = ((Number(w) - Number(S)) / E) * m + Number(v)
  58244. }
  58245. return {
  58246. left: Dr(b),
  58247. top: Dr(w),
  58248. width: Dr(x),
  58249. height: Dr(A)
  58250. }
  58251. },
  58252. Hr = function (e, t, r) {
  58253. var n = 1,
  58254. i = 0
  58255. t && (n = +t / 1e5), r && (i = +r / 1e5)
  58256. var o = Pr(e),
  58257. a = jr(o[0], o[1], o[2])
  58258. if (null === a || void 0 === a || !a[2]) return e
  58259. a[2] = a[2] * n + i
  58260. var s = Rr(
  58261. Math.round(100 * (null === a || void 0 === a ? void 0 : a[0])),
  58262. null === a || void 0 === a ? void 0 : a[1],
  58263. null === a || void 0 === a ? void 0 : a[2]
  58264. ),
  58265. l = Or(s)
  58266. return l
  58267. },
  58268. Xr = function (e, t, r, n, i, o) {
  58269. var a,
  58270. s,
  58271. l,
  58272. c,
  58273. u,
  58274. f,
  58275. p,
  58276. d,
  58277. h = o.colorMap,
  58278. m = o.textStyleDef,
  58279. g = o.slidePer,
  58280. y = o.defaultTextStyle,
  58281. v = []
  58282. if (r) {
  58283. var b,
  58284. w,
  58285. x,
  58286. A,
  58287. _,
  58288. T,
  58289. E,
  58290. S,
  58291. C,
  58292. k,
  58293. L,
  58294. P,
  58295. O =
  58296. (null === r ||
  58297. void 0 === r ||
  58298. null === (b = r.txBody) ||
  58299. void 0 === b ||
  58300. null === (w = b.lstStyle) ||
  58301. void 0 === w ||
  58302. null === (x = w.lvl1pPr) ||
  58303. void 0 === x ||
  58304. null === (A = x.defRPr) ||
  58305. void 0 === A ||
  58306. null === (_ = A.attributes) ||
  58307. void 0 === _
  58308. ? void 0
  58309. : _.sz) ||
  58310. (null === m ||
  58311. void 0 === m ||
  58312. null === (T = m.txBody.lstStyle.lvl1pPr.defRPr) ||
  58313. void 0 === T ||
  58314. null === (E = T.attributes) ||
  58315. void 0 === E
  58316. ? void 0
  58317. : E.sz)
  58318. if (!O || (null !== (S = t.rPr) && void 0 !== S && null !== (C = S.attributes) && void 0 !== C && C.baseline)) {
  58319. if (
  58320. null !== (k = t.rPr) &&
  58321. void 0 !== k &&
  58322. null !== (L = k.attributes) &&
  58323. void 0 !== L &&
  58324. L.baseline &&
  58325. null !== t &&
  58326. void 0 !== t &&
  58327. null !== (P = t.rPr) &&
  58328. void 0 !== P &&
  58329. P.attributes.sz
  58330. ) {
  58331. var j = ((t.rPr.attributes.sz / 100) * 4) / 3
  58332. 1 !== g && (j = Math.round(j / g)), v.push("font-size:".concat(j, "px;"))
  58333. }
  58334. } else {
  58335. var R = ((O / 100) * 4) / 3
  58336. 1 !== g && (R = Math.round(R / g)), v.push("font-size:".concat(R, "px;"))
  58337. }
  58338. }
  58339. if (
  58340. (e && v.push("text-decoration: underline;"),
  58341. null !== (a = t.rPr) && void 0 !== a && null !== (s = a.attributes) && void 0 !== s && s.sz)
  58342. ) {
  58343. var I = ((t.rPr.attributes.sz / 100) * 4) / 3
  58344. 1 !== g && (I = Math.round(I / g)), v.push("font-size:".concat(I, "px;"))
  58345. } else if (
  58346. i &&
  58347. null !== i &&
  58348. void 0 !== i &&
  58349. null !== (l = i.defRPr) &&
  58350. void 0 !== l &&
  58351. null !== (c = l.attributes) &&
  58352. void 0 !== c &&
  58353. c.sz
  58354. ) {
  58355. var N = ((i.defRPr.attributes.sz / 100) * 4) / 3
  58356. 1 !== g && (N = Math.round(N / g)), v.push("font-size:".concat(N, "px;"))
  58357. } else if (y) {
  58358. var M,
  58359. D = (null === y || void 0 === y || null === (M = y.defRPr) || void 0 === M ? void 0 : M.attributes) || {},
  58360. B = D.sz
  58361. if (B) {
  58362. var F = ((B / 100) * 4) / 3
  58363. 1 !== g && (F = Math.round(F / g)), v.push("font-size:".concat(F, "px;"))
  58364. }
  58365. }
  58366. var U = t || {},
  58367. z = U.rPr,
  58368. q = i || {},
  58369. G = q.defRPr,
  58370. W = G || {},
  58371. V = W.solidFill
  58372. if (null !== z && void 0 !== z && z.solidFill) {
  58373. var H = (null === z || void 0 === z ? void 0 : z.solidFill) || {},
  58374. X = H.schemeClr,
  58375. Y = H.srgbClr,
  58376. K = H.prstClr
  58377. if (Y) {
  58378. var Z,
  58379. Q,
  58380. J = "#" + Y.attributes.val
  58381. if (J && ((null !== Y && void 0 !== Y && Y.lumMod) || (null !== Y && void 0 !== Y && Y.lumOff)))
  58382. J = Hr(
  58383. J,
  58384. (null === Y || void 0 === Y || null === (Z = Y.lumMod) || void 0 === Z ? void 0 : Z.attributes.val) || 0,
  58385. (null === Y || void 0 === Y || null === (Q = Y.lumOff) || void 0 === Q ? void 0 : Q.attributes.val) || 0
  58386. )
  58387. v.push("color:".concat(J, ";"))
  58388. }
  58389. if (X) {
  58390. var $,
  58391. ee,
  58392. te = zr(h, n, X.attributes.val)
  58393. if (te && ((null !== X && void 0 !== X && X.lumMod) || (null !== X && void 0 !== X && X.lumOff)))
  58394. te = Hr(
  58395. te,
  58396. (null === X || void 0 === X || null === ($ = X.lumMod) || void 0 === $ ? void 0 : $.attributes.val) || 0,
  58397. (null === X || void 0 === X || null === (ee = X.lumOff) || void 0 === ee ? void 0 : ee.attributes.val) || 0
  58398. )
  58399. v.push("color:".concat(te, ";"))
  58400. }
  58401. K && "white" === K.attributes.val && v.push("color:#ffffff;")
  58402. } else if (V) {
  58403. var re = V || {},
  58404. ne = re.schemeClr,
  58405. ie = re.srgbClr
  58406. if (ne) {
  58407. var oe,
  58408. ae,
  58409. se = zr(h, n, ne.attributes.val)
  58410. if (se && ((null !== ne && void 0 !== ne && ne.lumMod) || (null !== ne && void 0 !== ne && ne.lumOff)))
  58411. se = Hr(
  58412. se,
  58413. (null === ne || void 0 === ne || null === (oe = ne.lumMod) || void 0 === oe ? void 0 : oe.attributes.val) || 0,
  58414. (null === ne || void 0 === ne || null === (ae = ne.lumOff) || void 0 === ae ? void 0 : ae.attributes.val) || 0
  58415. )
  58416. v.push("color:".concat(se, ";"))
  58417. }
  58418. ie && v.push("color:#".concat(ie.attributes.val, ";"))
  58419. } else if (y) {
  58420. var le,
  58421. ce = null === y || void 0 === y || null === (le = y.defRPr) || void 0 === le ? void 0 : le.solidFill,
  58422. ue = ce.srgbClr,
  58423. fe = ce.schemeClr
  58424. if (ue) {
  58425. var pe,
  58426. de,
  58427. he = "#" + ue.attributes.val
  58428. if (he && ((null !== ue && void 0 !== ue && ue.lumMod) || (null !== ue && void 0 !== ue && ue.lumOff)))
  58429. he = Hr(
  58430. he,
  58431. (null === ue || void 0 === ue || null === (pe = ue.lumMod) || void 0 === pe ? void 0 : pe.attributes.val) || 0,
  58432. (null === ue || void 0 === ue || null === (de = ue.lumOff) || void 0 === de ? void 0 : de.attributes.val) || 0
  58433. )
  58434. v.push("color:".concat(he, ";"))
  58435. }
  58436. if (fe) {
  58437. var me,
  58438. ge,
  58439. ye = zr(h, n, fe.attributes.val)
  58440. if (ye && ((null !== fe && void 0 !== fe && fe.lumMod) || (null !== fe && void 0 !== fe && fe.lumOff)))
  58441. ye = Hr(
  58442. ye,
  58443. (null === fe || void 0 === fe || null === (me = fe.lumMod) || void 0 === me ? void 0 : me.attributes.val) || 0,
  58444. (null === fe || void 0 === fe || null === (ge = fe.lumOff) || void 0 === ge ? void 0 : ge.attributes.val) || 0
  58445. )
  58446. v.push("color:".concat(ye, ";"))
  58447. }
  58448. }
  58449. return (
  58450. null !== (u = t.rPr) &&
  58451. void 0 !== u &&
  58452. null !== (f = u.highlight) &&
  58453. void 0 !== f &&
  58454. null !== (p = f.srgbClr) &&
  58455. void 0 !== p &&
  58456. null !== (d = p.attributes) &&
  58457. void 0 !== d &&
  58458. d.val &&
  58459. v.push("background-color: #".concat(t.rPr.highlight.srgbClr.attributes.val, ";")),
  58460. v.join("")
  58461. )
  58462. },
  58463. Yr = function (e, t, r, n) {
  58464. var i,
  58465. o,
  58466. a = ""
  58467. if (e && null !== e && void 0 !== e && null !== (i = e.attributes) && void 0 !== i && i.algn)
  58468. "ctr" === e.attributes.algn ? (a = "text-align:center;") : "r" === e.attributes.algn && (a = "text-align:right;")
  58469. else if (t && null !== t && void 0 !== t && null !== (o = t.attributes) && void 0 !== o && o.algn)
  58470. "ctr" === t.attributes.algn ? (a = "text-align:center;") : "r" === t.attributes.algn && (a = "text-align:right;")
  58471. else if (r) {
  58472. var s, l
  58473. null !== r && void 0 !== r && null !== (s = r.lvl1pPr) && void 0 !== s && null !== (l = s.attributes) && void 0 !== l && l.algn
  58474. ? "ctr" === r.lvl1pPr.attributes.algn
  58475. ? (a = "text-align:center;")
  58476. : "r" === r.lvl1pPr.attributes.algn && (a = "text-align:right;")
  58477. : null !== r && void 0 !== r && r.type && (r.type.includes("title") || r.type.includes("Title")) && (a = "text-align:center;")
  58478. }
  58479. return a
  58480. },
  58481. Kr = function (e, t, r, n, i) {
  58482. var o = "#ffffff"
  58483. if (((o = "#" + t[e][r]), n || i)) {
  58484. var a = Hr(o, n, i)
  58485. a && (o = a)
  58486. }
  58487. return o
  58488. },
  58489. Zr = (function () {
  58490. var e = T(
  58491. A().mark(function e(t, r, n, i, o, a, s, l) {
  58492. var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G
  58493. return A().wrap(
  58494. function (e) {
  58495. while (1)
  58496. switch ((e.prev = e.next)) {
  58497. case 0:
  58498. if (
  58499. null === n ||
  58500. void 0 === n ||
  58501. null === (c = n.sld) ||
  58502. void 0 === c ||
  58503. null === (u = c.cSld) ||
  58504. void 0 === u ||
  58505. null === (f = u.bg) ||
  58506. void 0 === f ||
  58507. null === (p = f.bgPr) ||
  58508. void 0 === p ||
  58509. null === (d = p.blipFill) ||
  58510. void 0 === d ||
  58511. !d.blip
  58512. ) {
  58513. e.next = 7
  58514. break
  58515. }
  58516. if (((j = n.sld.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), j)) {
  58517. e.next = 4
  58518. break
  58519. }
  58520. return e.abrupt("return")
  58521. case 4:
  58522. ;(O = i.Relationships.Relationship.find(function (e) {
  58523. return e.attributes.Id === j
  58524. })),
  58525. (e.next = 27)
  58526. break
  58527. case 7:
  58528. if (
  58529. null === n ||
  58530. void 0 === n ||
  58531. null === (h = n.sld) ||
  58532. void 0 === h ||
  58533. null === (m = h.cSld) ||
  58534. void 0 === m ||
  58535. null === (g = m.bg) ||
  58536. void 0 === g ||
  58537. null === (y = g.bgPr) ||
  58538. void 0 === y ||
  58539. !y.noFill
  58540. ) {
  58541. e.next = 11
  58542. break
  58543. }
  58544. return e.abrupt("return")
  58545. case 11:
  58546. if (
  58547. null === o ||
  58548. void 0 === o ||
  58549. null === (v = o.sldLayout) ||
  58550. void 0 === v ||
  58551. null === (b = v.cSld) ||
  58552. void 0 === b ||
  58553. null === (w = b.bg) ||
  58554. void 0 === w ||
  58555. null === (x = w.bgPr) ||
  58556. void 0 === x ||
  58557. null === (_ = x.blipFill) ||
  58558. void 0 === _ ||
  58559. !_.blip
  58560. ) {
  58561. e.next = 18
  58562. break
  58563. }
  58564. if (((R = o.sldLayout.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), R)) {
  58565. e.next = 15
  58566. break
  58567. }
  58568. return e.abrupt("return")
  58569. case 15:
  58570. ;(O = a.Relationships.Relationship.find(function (e) {
  58571. return e.attributes.Id === R
  58572. })),
  58573. (e.next = 27)
  58574. break
  58575. case 18:
  58576. if ("0" !== (null === (T = o.sldLayout.attributes) || void 0 === T ? void 0 : T.showMasterSp)) {
  58577. e.next = 22
  58578. break
  58579. }
  58580. return e.abrupt("return")
  58581. case 22:
  58582. if (
  58583. null === s ||
  58584. void 0 === s ||
  58585. null === (E = s.sldMaster) ||
  58586. void 0 === E ||
  58587. null === (S = E.cSld) ||
  58588. void 0 === S ||
  58589. null === (C = S.bg) ||
  58590. void 0 === C ||
  58591. null === (k = C.bgPr) ||
  58592. void 0 === k ||
  58593. null === (L = k.blipFill) ||
  58594. void 0 === L ||
  58595. null === (P = L.blip) ||
  58596. void 0 === P ||
  58597. !P.attributes
  58598. ) {
  58599. e.next = 27
  58600. break
  58601. }
  58602. if (((I = s.sldMaster.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), I)) {
  58603. e.next = 26
  58604. break
  58605. }
  58606. return e.abrupt("return")
  58607. case 26:
  58608. O = l.Relationships.Relationship.find(function (e) {
  58609. return e.attributes.Id === I
  58610. })
  58611. case 27:
  58612. if (O) {
  58613. e.next = 29
  58614. break
  58615. }
  58616. return e.abrupt("return")
  58617. case 29:
  58618. return (
  58619. (N = O.attributes.Target),
  58620. (M = t["ppt".concat(N.replace("..", ""))]),
  58621. (e.prev = 31),
  58622. (e.next = 34),
  58623. M.async("arraybuffer")
  58624. )
  58625. case 34:
  58626. return (
  58627. (D = e.sent),
  58628. (B = M.name.split(".")),
  58629. (F = "image/".concat(B[B.length - 1])),
  58630. (U = new Blob([D], {
  58631. type: F
  58632. })),
  58633. (z = M.name.split("/").reverse()[0]),
  58634. (q = new File([U], z, {
  58635. type: F
  58636. })),
  58637. (e.next = 42),
  58638. r(q)
  58639. )
  58640. case 42:
  58641. return (G = e.sent), e.abrupt("return", G)
  58642. case 46:
  58643. throw (
  58644. ((e.prev = 46),
  58645. (e.t0 = e["catch"](31)),
  58646. re.error("ppt-file parse background image upload failed", e.t0),
  58647. new Error("背景图片上传失败"))
  58648. )
  58649. case 50:
  58650. case "end":
  58651. return e.stop()
  58652. }
  58653. },
  58654. e,
  58655. null,
  58656. [[31, 46]]
  58657. )
  58658. })
  58659. )
  58660. return function (t, r, n, i, o, a, s, l) {
  58661. return e.apply(this, arguments)
  58662. }
  58663. })(),
  58664. Qr = (function () {
  58665. var e = T(
  58666. A().mark(function e(t, r, n, i, o, a, s, l) {
  58667. var c,
  58668. u,
  58669. f,
  58670. p,
  58671. d,
  58672. h,
  58673. m,
  58674. g,
  58675. y,
  58676. v,
  58677. b,
  58678. w,
  58679. x,
  58680. _,
  58681. T,
  58682. E,
  58683. S,
  58684. C,
  58685. k,
  58686. L,
  58687. P,
  58688. O,
  58689. j,
  58690. R,
  58691. I,
  58692. N,
  58693. M,
  58694. D,
  58695. B,
  58696. F,
  58697. U,
  58698. z,
  58699. q,
  58700. G,
  58701. W,
  58702. V,
  58703. H,
  58704. X,
  58705. Y,
  58706. K,
  58707. Z,
  58708. Q,
  58709. J,
  58710. $,
  58711. ee,
  58712. te,
  58713. re,
  58714. ne,
  58715. ie,
  58716. ae,
  58717. se,
  58718. le,
  58719. ce,
  58720. ue,
  58721. fe,
  58722. pe,
  58723. de,
  58724. he,
  58725. me,
  58726. ge,
  58727. ye,
  58728. ve,
  58729. be,
  58730. we,
  58731. xe,
  58732. Ae,
  58733. _e,
  58734. Te,
  58735. Ee,
  58736. Se,
  58737. Ce,
  58738. ke,
  58739. Le,
  58740. Pe,
  58741. Oe,
  58742. je,
  58743. Re,
  58744. Ie,
  58745. Ne,
  58746. Me,
  58747. De,
  58748. Be,
  58749. Fe,
  58750. Ue,
  58751. ze,
  58752. qe,
  58753. Ge,
  58754. We,
  58755. Ve,
  58756. He,
  58757. Xe,
  58758. Ye,
  58759. Ke,
  58760. Ze,
  58761. Qe,
  58762. Je,
  58763. $e,
  58764. et,
  58765. tt,
  58766. rt,
  58767. nt,
  58768. it
  58769. return A().wrap(function (e) {
  58770. while (1)
  58771. switch ((e.prev = e.next)) {
  58772. case 0:
  58773. return (
  58774. (T = {
  58775. type: "solid",
  58776. color: "#fff"
  58777. }),
  58778. (E = +l.replace(/[^0-9]/gi, "")),
  58779. (S = t["ppt/slideMasters/_rels/".concat(l, ".rels")]),
  58780. (e.next = 5),
  58781. S.async("string")
  58782. )
  58783. case 5:
  58784. return (C = e.sent), (k = Ir(C, Fr)), (L = t["ppt/slideMasters/".concat(l)]), (e.next = 10), L.async("string")
  58785. case 10:
  58786. return (P = e.sent), (O = Ir(P, Fr)), (e.next = 14), Zr(t, r.upload, i, o, a, s, O, k)
  58787. case 14:
  58788. if (((j = e.sent), !j)) {
  58789. e.next = 20
  58790. break
  58791. }
  58792. return (T.type = "image"), (T.imageSize = "100% 100%"), (T.image = j.url), e.abrupt("return", T)
  58793. case 20:
  58794. if (((R = ""), !i)) {
  58795. e.next = 37
  58796. break
  58797. }
  58798. if (
  58799. ((D =
  58800. (null === i ||
  58801. void 0 === i ||
  58802. null === (I = i.sld) ||
  58803. void 0 === I ||
  58804. null === (N = I.cSld) ||
  58805. void 0 === N ||
  58806. null === (M = N.bg) ||
  58807. void 0 === M
  58808. ? void 0
  58809. : M.bgPr) || {}),
  58810. (B = D.solidFill),
  58811. (F = B || {}),
  58812. (U = F.schemeClr),
  58813. (z = F.srgbClr),
  58814. (q = U || z || {}),
  58815. (G = q.lumMod),
  58816. (W = q.lumOff),
  58817. !U)
  58818. ) {
  58819. e.next = 33
  58820. break
  58821. }
  58822. if (
  58823. ((Y = null === U || void 0 === U || null === (V = U.attributes) || void 0 === V ? void 0 : V.val),
  58824. (K = null === G || void 0 === G || null === (H = G.attributes) || void 0 === H ? void 0 : H.val),
  58825. (Z = null === W || void 0 === W || null === (X = W.attributes) || void 0 === X ? void 0 : X.val),
  58826. !Y)
  58827. ) {
  58828. e.next = 33
  58829. break
  58830. }
  58831. return (R = Kr(E, n, Y, K, Z)), R && (T.color = R), e.abrupt("return", T)
  58832. case 33:
  58833. if (!z) {
  58834. e.next = 37
  58835. break
  58836. }
  58837. return (
  58838. (R = null === z || void 0 === z || null === (Q = z.attributes) || void 0 === Q ? void 0 : Q.val),
  58839. (T.color = "#" + (null === z || void 0 === z || null === (J = z.attributes) || void 0 === J ? void 0 : J.val)),
  58840. e.abrupt("return", T)
  58841. )
  58842. case 37:
  58843. if (!a) {
  58844. e.next = 53
  58845. break
  58846. }
  58847. if (
  58848. ((re =
  58849. (null === a ||
  58850. void 0 === a ||
  58851. null === ($ = a.sldLayout) ||
  58852. void 0 === $ ||
  58853. null === (ee = $.cSld) ||
  58854. void 0 === ee ||
  58855. null === (te = ee.bg) ||
  58856. void 0 === te
  58857. ? void 0
  58858. : te.bgPr) || {}),
  58859. (ne = re.solidFill),
  58860. (ie = ne || {}),
  58861. (ae = ie.schemeClr),
  58862. (se = ie.srgbClr),
  58863. (le = ae || se || {}),
  58864. (ce = le.lumMod),
  58865. (ue = le.lumOff),
  58866. !ae)
  58867. ) {
  58868. e.next = 49
  58869. break
  58870. }
  58871. if (
  58872. ((he = null === ae || void 0 === ae || null === (fe = ae.attributes) || void 0 === fe ? void 0 : fe.val),
  58873. (me = null === ce || void 0 === ce || null === (pe = ce.attributes) || void 0 === pe ? void 0 : pe.val),
  58874. (ge = null === ue || void 0 === ue || null === (de = ue.attributes) || void 0 === de ? void 0 : de.val),
  58875. !he)
  58876. ) {
  58877. e.next = 49
  58878. break
  58879. }
  58880. return (R = Kr(E, n, he, me, ge)), R && (T.color = R), e.abrupt("return", T)
  58881. case 49:
  58882. if (!se) {
  58883. e.next = 53
  58884. break
  58885. }
  58886. return (
  58887. (R = null === se || void 0 === se || null === (ye = se.attributes) || void 0 === ye ? void 0 : ye.val),
  58888. (T.color =
  58889. "#" + (null === se || void 0 === se || null === (ve = se.attributes) || void 0 === ve ? void 0 : ve.val)),
  58890. e.abrupt("return", T)
  58891. )
  58892. case 53:
  58893. if (!O) {
  58894. e.next = 69
  58895. break
  58896. }
  58897. if (
  58898. ((Ae =
  58899. (null === O ||
  58900. void 0 === O ||
  58901. null === (be = O.sldMaster) ||
  58902. void 0 === be ||
  58903. null === (we = be.cSld) ||
  58904. void 0 === we ||
  58905. null === (xe = we.bg) ||
  58906. void 0 === xe
  58907. ? void 0
  58908. : xe.bgPr) || {}),
  58909. (_e = Ae.solidFill),
  58910. (Te = _e || {}),
  58911. (Ee = Te.schemeClr),
  58912. (Se = Te.srgbClr),
  58913. (Ce = Ee || Se || {}),
  58914. (ke = Ce.lumMod),
  58915. (Le = Ce.lumOff),
  58916. !Ee)
  58917. ) {
  58918. e.next = 65
  58919. break
  58920. }
  58921. if (
  58922. ((Re = null === Ee || void 0 === Ee || null === (Pe = Ee.attributes) || void 0 === Pe ? void 0 : Pe.val),
  58923. (Ie = null === ke || void 0 === ke || null === (Oe = ke.attributes) || void 0 === Oe ? void 0 : Oe.val),
  58924. (Ne = null === Le || void 0 === Le || null === (je = Le.attributes) || void 0 === je ? void 0 : je.val),
  58925. !Re)
  58926. ) {
  58927. e.next = 65
  58928. break
  58929. }
  58930. return (R = Kr(E, n, Re, Ie, Ne)), R && (T.color = R), e.abrupt("return", T)
  58931. case 65:
  58932. if (!Se) {
  58933. e.next = 69
  58934. break
  58935. }
  58936. return (
  58937. (R = null === Se || void 0 === Se || null === (Me = Se.attributes) || void 0 === Me ? void 0 : Me.val),
  58938. (T.color =
  58939. "#" + (null === Se || void 0 === Se || null === (De = Se.attributes) || void 0 === De ? void 0 : De.val)),
  58940. e.abrupt("return", T)
  58941. )
  58942. case 69:
  58943. if (
  58944. ((Be =
  58945. (null === i ||
  58946. void 0 === i ||
  58947. null === (c = i.sld) ||
  58948. void 0 === c ||
  58949. null === (u = c.cSld) ||
  58950. void 0 === u ||
  58951. null === (f = u.bg) ||
  58952. void 0 === f ||
  58953. null === (p = f.bgPr) ||
  58954. void 0 === p
  58955. ? void 0
  58956. : p.gradFill) ||
  58957. (null === a ||
  58958. void 0 === a ||
  58959. null === (d = a.sldLayout) ||
  58960. void 0 === d ||
  58961. null === (h = d.cSld) ||
  58962. void 0 === h ||
  58963. null === (m = h.bg) ||
  58964. void 0 === m ||
  58965. null === (g = m.bgPr) ||
  58966. void 0 === g
  58967. ? void 0
  58968. : g.gradFill) ||
  58969. (null === O ||
  58970. void 0 === O ||
  58971. null === (y = O.sldMaster) ||
  58972. void 0 === y ||
  58973. null === (v = y.cSld) ||
  58974. void 0 === v ||
  58975. null === (b = v.bg) ||
  58976. void 0 === b ||
  58977. null === (w = b.bgPr) ||
  58978. void 0 === w
  58979. ? void 0
  58980. : w.gradFill) ||
  58981. {}),
  58982. (Fe = Be.gsLst),
  58983. !(Fe && null !== (x = Fe.gs) && void 0 !== x && x[0] && null !== (_ = Fe.gs) && void 0 !== _ && _[1]))
  58984. ) {
  58985. e.next = 97
  58986. break
  58987. }
  58988. if (
  58989. ((Ue = Fe.gs[0] || {}),
  58990. (ze = Ue.srgbClr),
  58991. (qe = Ue.schemeClr),
  58992. (Ge = Fe.gs[1] || {}),
  58993. (We = Ge.srgbClr),
  58994. (Ve = Ge.schemeClr),
  58995. (He = +l.replace(/[^0-9]/gi, "")),
  58996. !ze || !We)
  58997. ) {
  58998. e.next = 78
  58999. break
  59000. }
  59001. return (Xe = oe.mix(ze.attributes.val, We.attributes.val).toHexString()), (T.color = Xe), e.abrupt("return", T)
  59002. case 78:
  59003. if (
  59004. ((Ye = ""),
  59005. (Ke = ""),
  59006. qe &&
  59007. ((Ye = zr(n, He, qe.attributes.val)),
  59008. (Ze = qe || {}),
  59009. (Qe = Ze.lumMod),
  59010. (Je = Ze.lumOff),
  59011. Ye &&
  59012. (Qe || Je) &&
  59013. (Ye = Hr(
  59014. Ye,
  59015. (null === Qe || void 0 === Qe ? void 0 : Qe.attributes.val) || 0,
  59016. (null === Je || void 0 === Je ? void 0 : Je.attributes.val) || 0
  59017. ))),
  59018. Ve &&
  59019. ((Ke = zr(n, He, Ve.attributes.val)),
  59020. ($e = Ve || {}),
  59021. (et = $e.lumMod),
  59022. (tt = $e.lumOff),
  59023. Ve &&
  59024. (et || tt) &&
  59025. (Ke = Hr(
  59026. Ke,
  59027. (null === et || void 0 === et ? void 0 : et.attributes.val) || 0,
  59028. (null === tt || void 0 === tt ? void 0 : tt.attributes.val) || 0
  59029. ))),
  59030. !Ye || !We)
  59031. ) {
  59032. e.next = 87
  59033. break
  59034. }
  59035. if (((rt = oe.mix(Ye, We.attributes.val).toHexString()), !rt)) {
  59036. e.next = 87
  59037. break
  59038. }
  59039. return (T.color = rt), e.abrupt("return", T)
  59040. case 87:
  59041. if (!Ke || !ze) {
  59042. e.next = 92
  59043. break
  59044. }
  59045. if (((nt = oe.mix(Ke, ze.attributes.val).toHexString()), !nt)) {
  59046. e.next = 92
  59047. break
  59048. }
  59049. return (T.color = nt), e.abrupt("return", T)
  59050. case 92:
  59051. if (!qe || !Ve) {
  59052. e.next = 97
  59053. break
  59054. }
  59055. if (((it = oe.mix(Ye, Ke).toHexString()), !it)) {
  59056. e.next = 97
  59057. break
  59058. }
  59059. return (T.color = it), e.abrupt("return", T)
  59060. case 97:
  59061. return e.abrupt("return", T)
  59062. case 98:
  59063. case "end":
  59064. return e.stop()
  59065. }
  59066. }, e)
  59067. })
  59068. )
  59069. return function (t, r, n, i, o, a, s, l) {
  59070. return e.apply(this, arguments)
  59071. }
  59072. })(),
  59073. Jr = (function () {
  59074. var e = T(
  59075. A().mark(function e(t, r) {
  59076. var n, i, o, a, s, l
  59077. return A().wrap(function (e) {
  59078. while (1)
  59079. switch ((e.prev = e.next)) {
  59080. case 0:
  59081. return (n = t[r]), (e.next = 3), n.async("string")
  59082. case 3:
  59083. return (
  59084. (i = e.sent),
  59085. (o = Ir(i, Fr)),
  59086. (a = o.presentation.sldSz.attributes),
  59087. (s = Dr(a.cx)),
  59088. (l = Dr(a.cy)),
  59089. e.abrupt("return", {
  59090. width: s,
  59091. height: l
  59092. })
  59093. )
  59094. case 9:
  59095. case "end":
  59096. return e.stop()
  59097. }
  59098. }, e)
  59099. })
  59100. )
  59101. return function (t, r) {
  59102. return e.apply(this, arguments)
  59103. }
  59104. })(),
  59105. $r = function (e, t, r) {
  59106. var n, i, o, a, s, l, c
  59107. if ("title" === t && null !== (n = e.sldMaster.txStyles) && void 0 !== n && null !== (i = n.titleStyle) && void 0 !== i && i.lvl1pPr)
  59108. c = {
  59109. txBody: {
  59110. lstStyle: {
  59111. lvl1pPr: e.sldMaster.txStyles.titleStyle.lvl1pPr
  59112. }
  59113. }
  59114. }
  59115. else if (
  59116. "body" === t &&
  59117. null !== (o = e.sldMaster.txStyles) &&
  59118. void 0 !== o &&
  59119. null !== (a = o.bodyStyle) &&
  59120. void 0 !== a &&
  59121. a.lvl1pPr
  59122. )
  59123. c = {
  59124. txBody: {
  59125. lstStyle: {
  59126. lvl1pPr: e.sldMaster.txStyles.bodyStyle.lvl1pPr
  59127. }
  59128. }
  59129. }
  59130. else if (r || (null !== (s = e.sldMaster.txStyles) && void 0 !== s && null !== (l = s.otherStyle) && void 0 !== l && l.lvl1pPr)) {
  59131. var u
  59132. ;(u = r
  59133. ? {
  59134. defRPr: {
  59135. attributes: {
  59136. sz: r
  59137. }
  59138. }
  59139. }
  59140. : e.sldMaster.txStyles.otherStyle.lvl1pPr),
  59141. (c = {
  59142. txBody: {
  59143. lstStyle: {
  59144. lvl1pPr: u
  59145. }
  59146. }
  59147. })
  59148. }
  59149. return c
  59150. },
  59151. en = (function () {
  59152. var e = T(
  59153. A().mark(function e(t, r) {
  59154. var n, i, o
  59155. return A().wrap(function (e) {
  59156. while (1)
  59157. switch ((e.prev = e.next)) {
  59158. case 0:
  59159. return (e.next = 2), Jr(t, "ppt/presentation.xml")
  59160. case 2:
  59161. return (
  59162. (n = e.sent),
  59163. (i = {
  59164. width: 1920,
  59165. height: 0.5625 === r ? 1080 : 1080 / r
  59166. }),
  59167. (o = Math.max(n.width / i.width, n.height / i.height)),
  59168. e.abrupt("return", o)
  59169. )
  59170. case 6:
  59171. case "end":
  59172. return e.stop()
  59173. }
  59174. }, e)
  59175. })
  59176. )
  59177. return function (t, r) {
  59178. return e.apply(this, arguments)
  59179. }
  59180. })(),
  59181. tn = new Uint8Array(16)
  59182. function rn() {
  59183. if (
  59184. !Ht &&
  59185. ((Ht =
  59186. ("undefined" !== typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
  59187. ("undefined" !== typeof msCrypto && "function" === typeof msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto))),
  59188. !Ht)
  59189. )
  59190. throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")
  59191. return Ht(tn)
  59192. }
  59193. var nn = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i
  59194. function on(e) {
  59195. return "string" === typeof e && nn.test(e)
  59196. }
  59197. for (var an = [], sn = 0; sn < 256; ++sn) an.push((sn + 256).toString(16).substr(1))
  59198. function ln(e) {
  59199. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
  59200. r = (
  59201. an[e[t + 0]] +
  59202. an[e[t + 1]] +
  59203. an[e[t + 2]] +
  59204. an[e[t + 3]] +
  59205. "-" +
  59206. an[e[t + 4]] +
  59207. an[e[t + 5]] +
  59208. "-" +
  59209. an[e[t + 6]] +
  59210. an[e[t + 7]] +
  59211. "-" +
  59212. an[e[t + 8]] +
  59213. an[e[t + 9]] +
  59214. "-" +
  59215. an[e[t + 10]] +
  59216. an[e[t + 11]] +
  59217. an[e[t + 12]] +
  59218. an[e[t + 13]] +
  59219. an[e[t + 14]] +
  59220. an[e[t + 15]]
  59221. ).toLowerCase()
  59222. if (!on(r)) throw TypeError("Stringified UUID is invalid")
  59223. return r
  59224. }
  59225. function cn(e, t, r) {
  59226. e = e || {}
  59227. var n = e.random || (e.rng || rn)()
  59228. if (((n[6] = (15 & n[6]) | 64), (n[8] = (63 & n[8]) | 128), t)) {
  59229. r = r || 0
  59230. for (var i = 0; i < 16; ++i) t[r + i] = n[i]
  59231. return t
  59232. }
  59233. return ln(n)
  59234. }
  59235. function un(e, t, r) {
  59236. return (
  59237. (r = {
  59238. path: t,
  59239. exports: {},
  59240. require: function (e, t) {
  59241. return fn(e, void 0 === t || null === t ? r.path : t)
  59242. }
  59243. }),
  59244. e(r, r.exports),
  59245. r.exports
  59246. )
  59247. }
  59248. function fn() {
  59249. throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")
  59250. }
  59251. var pn = "object" === ("undefined" === typeof e ? "undefined" : z(e)) && e && "win32" === e.platform,
  59252. dn = pn
  59253. ? {
  59254. sep: "\\"
  59255. }
  59256. : {
  59257. sep: "/"
  59258. },
  59259. hn = mn
  59260. function mn(e, t, r) {
  59261. e instanceof RegExp && (e = gn(e, r)), t instanceof RegExp && (t = gn(t, r))
  59262. var n = yn(e, t, r)
  59263. return (
  59264. n && {
  59265. start: n[0],
  59266. end: n[1],
  59267. pre: r.slice(0, n[0]),
  59268. body: r.slice(n[0] + e.length, n[1]),
  59269. post: r.slice(n[1] + t.length)
  59270. }
  59271. )
  59272. }
  59273. function gn(e, t) {
  59274. var r = t.match(e)
  59275. return r ? r[0] : null
  59276. }
  59277. function yn(e, t, r) {
  59278. var n,
  59279. i,
  59280. o,
  59281. a,
  59282. s,
  59283. l = r.indexOf(e),
  59284. c = r.indexOf(t, l + 1),
  59285. u = l
  59286. if (l >= 0 && c > 0) {
  59287. if (e === t) return [l, c]
  59288. ;(n = []), (o = r.length)
  59289. while (u >= 0 && !s)
  59290. u == l
  59291. ? (n.push(u), (l = r.indexOf(e, u + 1)))
  59292. : 1 == n.length
  59293. ? (s = [n.pop(), c])
  59294. : ((i = n.pop()), i < o && ((o = i), (a = c)), (c = r.indexOf(t, u + 1))),
  59295. (u = l < c && l >= 0 ? l : c)
  59296. n.length && (s = [o, a])
  59297. }
  59298. return s
  59299. }
  59300. mn.range = yn
  59301. var vn = kn,
  59302. bn = "\0SLASH" + Math.random() + "\0",
  59303. wn = "\0OPEN" + Math.random() + "\0",
  59304. xn = "\0CLOSE" + Math.random() + "\0",
  59305. An = "\0COMMA" + Math.random() + "\0",
  59306. _n = "\0PERIOD" + Math.random() + "\0"
  59307. function Tn(e) {
  59308. return parseInt(e, 10) == e ? parseInt(e, 10) : e.charCodeAt(0)
  59309. }
  59310. function En(e) {
  59311. return e.split("\\\\").join(bn).split("\\{").join(wn).split("\\}").join(xn).split("\\,").join(An).split("\\.").join(_n)
  59312. }
  59313. function Sn(e) {
  59314. return e.split(bn).join("\\").split(wn).join("{").split(xn).join("}").split(An).join(",").split(_n).join(".")
  59315. }
  59316. function Cn(e) {
  59317. if (!e) return [""]
  59318. var t = [],
  59319. r = hn("{", "}", e)
  59320. if (!r) return e.split(",")
  59321. var n = r.pre,
  59322. i = r.body,
  59323. o = r.post,
  59324. a = n.split(",")
  59325. a[a.length - 1] += "{" + i + "}"
  59326. var s = Cn(o)
  59327. return o.length && ((a[a.length - 1] += s.shift()), a.push.apply(a, s)), t.push.apply(t, a), t
  59328. }
  59329. function kn(e) {
  59330. return e ? ("{}" === e.substr(0, 2) && (e = "\\{\\}" + e.substr(2)), Rn(En(e), !0).map(Sn)) : []
  59331. }
  59332. function Ln(e) {
  59333. return "{" + e + "}"
  59334. }
  59335. function Pn(e) {
  59336. return /^-?0\d/.test(e)
  59337. }
  59338. function On(e, t) {
  59339. return e <= t
  59340. }
  59341. function jn(e, t) {
  59342. return e >= t
  59343. }
  59344. function Rn(e, t) {
  59345. var r = [],
  59346. n = hn("{", "}", e)
  59347. if (!n) return [e]
  59348. var i = n.pre,
  59349. o = n.post.length ? Rn(n.post, !1) : [""]
  59350. if (/\$$/.test(n.pre))
  59351. for (var a = 0; a < o.length; a++) {
  59352. var s = i + "{" + n.body + "}" + o[a]
  59353. r.push(s)
  59354. }
  59355. else {
  59356. var l,
  59357. c,
  59358. u = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),
  59359. f = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),
  59360. p = u || f,
  59361. d = n.body.indexOf(",") >= 0
  59362. if (!p && !d) return n.post.match(/,.*\}/) ? ((e = n.pre + "{" + n.body + xn + n.post), Rn(e)) : [e]
  59363. if (p) l = n.body.split(/\.\./)
  59364. else if (((l = Cn(n.body)), 1 === l.length && ((l = Rn(l[0], !1).map(Ln)), 1 === l.length)))
  59365. return o.map(function (e) {
  59366. return n.pre + l[0] + e
  59367. })
  59368. if (p) {
  59369. var h = Tn(l[0]),
  59370. m = Tn(l[1]),
  59371. g = Math.max(l[0].length, l[1].length),
  59372. y = 3 == l.length ? Math.abs(Tn(l[2])) : 1,
  59373. v = On,
  59374. b = m < h
  59375. b && ((y *= -1), (v = jn))
  59376. var w = l.some(Pn)
  59377. c = []
  59378. for (var x = h; v(x, m); x += y) {
  59379. var A
  59380. if (f) (A = String.fromCharCode(x)), "\\" === A && (A = "")
  59381. else if (((A = String(x)), w)) {
  59382. var _ = g - A.length
  59383. if (_ > 0) {
  59384. var T = new Array(_ + 1).join("0")
  59385. A = x < 0 ? "-" + T + A.slice(1) : T + A
  59386. }
  59387. }
  59388. c.push(A)
  59389. }
  59390. } else {
  59391. c = []
  59392. for (var E = 0; E < l.length; E++) c.push.apply(c, Rn(l[E], !1))
  59393. }
  59394. for (E = 0; E < c.length; E++)
  59395. for (a = 0; a < o.length; a++) {
  59396. s = i + c[E] + o[a]
  59397. ;(!t || p || s) && r.push(s)
  59398. }
  59399. }
  59400. return r
  59401. }
  59402. var In = un(function (e) {
  59403. var t = (e.exports = function (e, t) {
  59404. var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
  59405. return b(t), !(!r.nocomment && "#" === t.charAt(0)) && new E(t, r).match(e)
  59406. })
  59407. ;(e.exports = t), (t.sep = dn.sep)
  59408. var r = Symbol("globstar **")
  59409. t.GLOBSTAR = r
  59410. var n = {
  59411. "!": {
  59412. open: "(?:(?!(?:",
  59413. close: "))[^/]*?)"
  59414. },
  59415. "?": {
  59416. open: "(?:",
  59417. close: ")?"
  59418. },
  59419. "+": {
  59420. open: "(?:",
  59421. close: ")+"
  59422. },
  59423. "*": {
  59424. open: "(?:",
  59425. close: ")*"
  59426. },
  59427. "@": {
  59428. open: "(?:",
  59429. close: ")"
  59430. }
  59431. },
  59432. i = "[^/]",
  59433. o = i + "*?",
  59434. a = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",
  59435. s = "(?:(?!(?:\\/|^)\\.).)*?",
  59436. l = function (e) {
  59437. return e.split("").reduce(function (e, t) {
  59438. return (e[t] = !0), e
  59439. }, {})
  59440. },
  59441. c = l("().*{}+?[]^$\\!"),
  59442. u = l("[.("),
  59443. f = /\/+/
  59444. t.filter = function (e) {
  59445. var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}
  59446. return function (n, i, o) {
  59447. return t(n, e, r)
  59448. }
  59449. }
  59450. var p = function (e) {
  59451. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
  59452. r = {}
  59453. return (
  59454. Object.keys(e).forEach(function (t) {
  59455. return (r[t] = e[t])
  59456. }),
  59457. Object.keys(t).forEach(function (e) {
  59458. return (r[e] = t[e])
  59459. }),
  59460. r
  59461. )
  59462. }
  59463. ;(t.defaults = function (e) {
  59464. if (!e || "object" !== z(e) || !Object.keys(e).length) return t
  59465. var r = t,
  59466. n = function (t, n, i) {
  59467. return r(t, n, p(e, i))
  59468. }
  59469. return (
  59470. (n.Minimatch = (function (t) {
  59471. m(n, t)
  59472. var r = y(n)
  59473. function n(t, i) {
  59474. return h(this, n), r.call(this, t, p(e, i))
  59475. }
  59476. return d(n)
  59477. })(r.Minimatch)),
  59478. (n.Minimatch.defaults = function (t) {
  59479. return r.defaults(p(e, t)).Minimatch
  59480. }),
  59481. (n.filter = function (t, n) {
  59482. return r.filter(t, p(e, n))
  59483. }),
  59484. (n.defaults = function (t) {
  59485. return r.defaults(p(e, t))
  59486. }),
  59487. (n.makeRe = function (t, n) {
  59488. return r.makeRe(t, p(e, n))
  59489. }),
  59490. (n.braceExpand = function (t, n) {
  59491. return r.braceExpand(t, p(e, n))
  59492. }),
  59493. (n.match = function (t, n, i) {
  59494. return r.match(t, n, p(e, i))
  59495. }),
  59496. n
  59497. )
  59498. }),
  59499. (t.braceExpand = function (e, t) {
  59500. return g(e, t)
  59501. })
  59502. var g = function (e) {
  59503. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}
  59504. return b(e), t.nobrace || !/\{(?:(?!\{).)*\}/.test(e) ? [e] : vn(e)
  59505. },
  59506. v = 65536,
  59507. b = function (e) {
  59508. if ("string" !== typeof e) throw new TypeError("invalid pattern")
  59509. if (e.length > v) throw new TypeError("pattern is too long")
  59510. },
  59511. w = Symbol("subparse")
  59512. ;(t.makeRe = function (e, t) {
  59513. return new E(e, t || {}).makeRe()
  59514. }),
  59515. (t.match = function (e, t) {
  59516. var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
  59517. n = new E(t, r)
  59518. return (
  59519. (e = e.filter(function (e) {
  59520. return n.match(e)
  59521. })),
  59522. n.options.nonull && !e.length && e.push(t),
  59523. e
  59524. )
  59525. })
  59526. var x = function (e) {
  59527. return e.replace(/\\(.)/g, "$1")
  59528. },
  59529. A = function (e) {
  59530. return e.replace(/\\([^-\]])/g, "$1")
  59531. },
  59532. _ = function (e) {
  59533. return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")
  59534. },
  59535. T = function (e) {
  59536. return e.replace(/[[\]\\]/g, "\\$&")
  59537. },
  59538. E = (function () {
  59539. function e(t, r) {
  59540. h(this, e),
  59541. b(t),
  59542. r || (r = {}),
  59543. (this.options = r),
  59544. (this.set = []),
  59545. (this.pattern = t),
  59546. (this.windowsPathsNoEscape = !!r.windowsPathsNoEscape || !1 === r.allowWindowsEscape),
  59547. this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")),
  59548. (this.regexp = null),
  59549. (this.negate = !1),
  59550. (this.comment = !1),
  59551. (this.empty = !1),
  59552. (this.partial = !!r.partial),
  59553. this.make()
  59554. }
  59555. return (
  59556. d(
  59557. e,
  59558. [
  59559. {
  59560. key: "debug",
  59561. value: function () {}
  59562. },
  59563. {
  59564. key: "make",
  59565. value: function () {
  59566. var e = this,
  59567. t = this.pattern,
  59568. r = this.options
  59569. if (r.nocomment || "#" !== t.charAt(0))
  59570. if (t) {
  59571. this.parseNegate()
  59572. var n = (this.globSet = this.braceExpand())
  59573. r.debug &&
  59574. (this.debug = function () {
  59575. var e
  59576. return (e = console).error.apply(e, arguments)
  59577. }),
  59578. this.debug(this.pattern, n),
  59579. (n = this.globParts =
  59580. n.map(function (e) {
  59581. return e.split(f)
  59582. })),
  59583. this.debug(this.pattern, n),
  59584. (n = n.map(function (t, r, n) {
  59585. return t.map(e.parse, e)
  59586. })),
  59587. this.debug(this.pattern, n),
  59588. (n = n.filter(function (e) {
  59589. return -1 === e.indexOf(!1)
  59590. })),
  59591. this.debug(this.pattern, n),
  59592. (this.set = n)
  59593. } else this.empty = !0
  59594. else this.comment = !0
  59595. }
  59596. },
  59597. {
  59598. key: "parseNegate",
  59599. value: function () {
  59600. if (!this.options.nonegate) {
  59601. for (var e = this.pattern, t = !1, r = 0, n = 0; n < e.length && "!" === e.charAt(n); n++) (t = !t), r++
  59602. r && (this.pattern = e.slice(r)), (this.negate = t)
  59603. }
  59604. }
  59605. },
  59606. {
  59607. key: "matchOne",
  59608. value: function (e, t, n) {
  59609. var i = this.options
  59610. this.debug("matchOne", {
  59611. this: this,
  59612. file: e,
  59613. pattern: t
  59614. }),
  59615. this.debug("matchOne", e.length, t.length)
  59616. for (var o = 0, a = 0, s = e.length, l = t.length; o < s && a < l; o++, a++) {
  59617. this.debug("matchOne loop")
  59618. var c,
  59619. u = t[a],
  59620. f = e[o]
  59621. if ((this.debug(t, u, f), !1 === u)) return !1
  59622. if (u === r) {
  59623. this.debug("GLOBSTAR", [t, u, f])
  59624. var p = o,
  59625. d = a + 1
  59626. if (d === l) {
  59627. for (this.debug("** at the end"); o < s; o++)
  59628. if ("." === e[o] || ".." === e[o] || (!i.dot && "." === e[o].charAt(0))) return !1
  59629. return !0
  59630. }
  59631. while (p < s) {
  59632. var h = e[p]
  59633. if ((this.debug("\nglobstar while", e, p, t, d, h), this.matchOne(e.slice(p), t.slice(d), n)))
  59634. return this.debug("globstar found match!", p, s, h), !0
  59635. if ("." === h || ".." === h || (!i.dot && "." === h.charAt(0))) {
  59636. this.debug("dot detected!", e, p, t, d)
  59637. break
  59638. }
  59639. this.debug("globstar swallow a segment, and continue"), p++
  59640. }
  59641. return !(!n || (this.debug("\n>>> no match, partial?", e, p, t, d), p !== s))
  59642. }
  59643. if (
  59644. ("string" === typeof u
  59645. ? ((c = f === u), this.debug("string match", u, f, c))
  59646. : ((c = f.match(u)), this.debug("pattern match", u, f, c)),
  59647. !c)
  59648. )
  59649. return !1
  59650. }
  59651. if (o === s && a === l) return !0
  59652. if (o === s) return n
  59653. if (a === l) return o === s - 1 && "" === e[o]
  59654. throw new Error("wtf?")
  59655. }
  59656. },
  59657. {
  59658. key: "braceExpand",
  59659. value: function () {
  59660. return g(this.pattern, this.options)
  59661. }
  59662. },
  59663. {
  59664. key: "parse",
  59665. value: function (e, t) {
  59666. var a = this
  59667. b(e)
  59668. var s = this.options
  59669. if ("**" === e) {
  59670. if (!s.noglobstar) return r
  59671. e = "*"
  59672. }
  59673. if ("" === e) return ""
  59674. for (
  59675. var l,
  59676. f,
  59677. p,
  59678. d,
  59679. h,
  59680. m = "",
  59681. g = !!s.nocase,
  59682. y = !1,
  59683. v = [],
  59684. _ = [],
  59685. E = !1,
  59686. S = -1,
  59687. C = -1,
  59688. k = "." === e.charAt(0) ? "" : s.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)",
  59689. L = function () {
  59690. if (l) {
  59691. switch (l) {
  59692. case "*":
  59693. ;(m += o), (g = !0)
  59694. break
  59695. case "?":
  59696. ;(m += i), (g = !0)
  59697. break
  59698. default:
  59699. m += "\\" + l
  59700. break
  59701. }
  59702. a.debug("clearStateChar %j %j", l, m), (l = !1)
  59703. }
  59704. },
  59705. P = 0;
  59706. P < e.length && (h = e.charAt(P));
  59707. P++
  59708. )
  59709. if ((this.debug("%s\t%s %s %j", e, P, m, h), y)) {
  59710. if ("/" === h) return !1
  59711. c[h] && (m += "\\"), (m += h), (y = !1)
  59712. } else
  59713. switch (h) {
  59714. case "/":
  59715. return !1
  59716. case "\\":
  59717. if (E && "-" === e.charAt(P + 1)) {
  59718. m += h
  59719. continue
  59720. }
  59721. L(), (y = !0)
  59722. continue
  59723. case "?":
  59724. case "*":
  59725. case "+":
  59726. case "@":
  59727. case "!":
  59728. if ((this.debug("%s\t%s %s %j <-- stateChar", e, P, m, h), E)) {
  59729. this.debug(" in class"), "!" === h && P === C + 1 && (h = "^"), (m += h)
  59730. continue
  59731. }
  59732. this.debug("call clearStateChar %j", l), L(), (l = h), s.noext && L()
  59733. continue
  59734. case "(":
  59735. if (E) {
  59736. m += "("
  59737. continue
  59738. }
  59739. if (!l) {
  59740. m += "\\("
  59741. continue
  59742. }
  59743. v.push({
  59744. type: l,
  59745. start: P - 1,
  59746. reStart: m.length,
  59747. open: n[l].open,
  59748. close: n[l].close
  59749. }),
  59750. (m += "!" === l ? "(?:(?!(?:" : "(?:"),
  59751. this.debug("plType %j %j", l, m),
  59752. (l = !1)
  59753. continue
  59754. case ")":
  59755. if (E || !v.length) {
  59756. m += "\\)"
  59757. continue
  59758. }
  59759. L(), (g = !0), (p = v.pop()), (m += p.close), "!" === p.type && _.push(p), (p.reEnd = m.length)
  59760. continue
  59761. case "|":
  59762. if (E || !v.length) {
  59763. m += "\\|"
  59764. continue
  59765. }
  59766. L(), (m += "|")
  59767. continue
  59768. case "[":
  59769. if ((L(), E)) {
  59770. m += "\\" + h
  59771. continue
  59772. }
  59773. ;(E = !0), (C = P), (S = m.length), (m += h)
  59774. continue
  59775. case "]":
  59776. if (P === C + 1 || !E) {
  59777. m += "\\" + h
  59778. continue
  59779. }
  59780. f = e.substring(C + 1, P)
  59781. try {
  59782. RegExp("[" + T(A(f)) + "]"), (m += h)
  59783. } catch (V) {
  59784. m = m.substring(0, S) + "(?:$.)"
  59785. }
  59786. ;(g = !0), (E = !1)
  59787. continue
  59788. default:
  59789. L(), !c[h] || ("^" === h && E) || (m += "\\"), (m += h)
  59790. break
  59791. }
  59792. for (
  59793. E && ((f = e.slice(C + 1)), (d = this.parse(f, w)), (m = m.substring(0, S) + "\\[" + d[0]), (g = g || d[1])),
  59794. p = v.pop();
  59795. p;
  59796. p = v.pop()
  59797. ) {
  59798. var O = void 0
  59799. ;(O = m.slice(p.reStart + p.open.length)),
  59800. this.debug("setting tail", m, p),
  59801. (O = O.replace(/((?:\\{2}){0,64})(\\?)\|/g, function (e, t, r) {
  59802. return r || (r = "\\"), t + t + r + "|"
  59803. })),
  59804. this.debug("tail=%j\n %s", O, O, p, m)
  59805. var j = "*" === p.type ? o : "?" === p.type ? i : "\\" + p.type
  59806. ;(g = !0), (m = m.slice(0, p.reStart) + j + "\\(" + O)
  59807. }
  59808. L(), y && (m += "\\\\")
  59809. for (var R = u[m.charAt(0)], I = _.length - 1; I > -1; I--) {
  59810. for (
  59811. var N = _[I],
  59812. M = m.slice(0, N.reStart),
  59813. D = m.slice(N.reStart, N.reEnd - 8),
  59814. B = m.slice(N.reEnd),
  59815. F = m.slice(N.reEnd - 8, N.reEnd) + B,
  59816. U = M.split("(").length - 1,
  59817. z = B,
  59818. q = 0;
  59819. q < U;
  59820. q++
  59821. )
  59822. z = z.replace(/\)[+*?]?/, "")
  59823. B = z
  59824. var G = "" === B && t !== w ? "$" : ""
  59825. m = M + D + B + G + F
  59826. }
  59827. if (("" !== m && g && (m = "(?=.)" + m), R && (m = k + m), t === w)) return [m, g]
  59828. if (!g) return x(e)
  59829. var W = s.nocase ? "i" : ""
  59830. try {
  59831. return Object.assign(new RegExp("^" + m + "$", W), {
  59832. _glob: e,
  59833. _src: m
  59834. })
  59835. } catch (V) {
  59836. return new RegExp("$.")
  59837. }
  59838. }
  59839. },
  59840. {
  59841. key: "makeRe",
  59842. value: function () {
  59843. if (this.regexp || !1 === this.regexp) return this.regexp
  59844. var e = this.set
  59845. if (!e.length) return (this.regexp = !1), this.regexp
  59846. var t = this.options,
  59847. n = t.noglobstar ? o : t.dot ? a : s,
  59848. i = t.nocase ? "i" : "",
  59849. l = e
  59850. .map(function (e) {
  59851. return (
  59852. (e = e
  59853. .map(function (e) {
  59854. return "string" === typeof e ? _(e) : e === r ? r : e._src
  59855. })
  59856. .reduce(function (e, t) {
  59857. return (e[e.length - 1] === r && t === r) || e.push(t), e
  59858. }, [])),
  59859. e.forEach(function (t, i) {
  59860. t === r &&
  59861. e[i - 1] !== r &&
  59862. (0 === i
  59863. ? e.length > 1
  59864. ? (e[i + 1] = "(?:\\/|" + n + "\\/)?" + e[i + 1])
  59865. : (e[i] = n)
  59866. : i === e.length - 1
  59867. ? (e[i - 1] += "(?:\\/|" + n + ")?")
  59868. : ((e[i - 1] += "(?:\\/|\\/" + n + "\\/)" + e[i + 1]), (e[i + 1] = r)))
  59869. }),
  59870. e
  59871. .filter(function (e) {
  59872. return e !== r
  59873. })
  59874. .join("/")
  59875. )
  59876. })
  59877. .join("|")
  59878. ;(l = "^(?:" + l + ")$"), this.negate && (l = "^(?!" + l + ").*$")
  59879. try {
  59880. this.regexp = new RegExp(l, i)
  59881. } catch (c) {
  59882. this.regexp = !1
  59883. }
  59884. return this.regexp
  59885. }
  59886. },
  59887. {
  59888. key: "match",
  59889. value: function (e) {
  59890. var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.partial
  59891. if ((this.debug("match", e, this.pattern), this.comment)) return !1
  59892. if (this.empty) return "" === e
  59893. if ("/" === e && t) return !0
  59894. var r = this.options
  59895. "/" !== dn.sep && (e = e.split(dn.sep).join("/")), (e = e.split(f)), this.debug(this.pattern, "split", e)
  59896. var n,
  59897. i = this.set
  59898. this.debug(this.pattern, "set", i)
  59899. for (var o = e.length - 1; o >= 0; o--) if (((n = e[o]), n)) break
  59900. for (var a = 0; a < i.length; a++) {
  59901. var s = i[a],
  59902. l = e
  59903. r.matchBase && 1 === s.length && (l = [n])
  59904. var c = this.matchOne(l, s, t)
  59905. if (c) return !!r.flipNegate || !this.negate
  59906. }
  59907. return !r.flipNegate && this.negate
  59908. }
  59909. }
  59910. ],
  59911. [
  59912. {
  59913. key: "defaults",
  59914. value: function (e) {
  59915. return t.defaults(e).Minimatch
  59916. }
  59917. }
  59918. ]
  59919. ),
  59920. e
  59921. )
  59922. })()
  59923. t.Minimatch = E
  59924. }),
  59925. Nn = {
  59926. ContentTypesPath: "[Content_Types].xml",
  59927. PresentationRelsPath: "ppt/_rels/presentation.xml.rels",
  59928. SlidePath: "ppt/slides/slide[0-9]*.xml",
  59929. SlideRelsPath: "ppt/slides/_rels/slide[0-9]*.xml.rels",
  59930. MediaPath: "ppt/media/**/*.**",
  59931. themePath: "ppt/theme/theme[0-9]*.xml",
  59932. PresentationPath: "ppt/presentation.xml",
  59933. SlideLayoutsPath: "ppt/slideLayouts/slideLayout[0-9]*.xml"
  59934. },
  59935. Mn = {
  59936. compact: !0,
  59937. ignoreDeclaration: !0,
  59938. attributesKey: "attributes",
  59939. elementNameFn: function (e) {
  59940. return e.replace("p:", "").replace("a:", "")
  59941. }
  59942. },
  59943. Dn = (function () {
  59944. var e = T(
  59945. A().mark(function e(t) {
  59946. var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w
  59947. return A().wrap(function (e) {
  59948. while (1)
  59949. switch ((e.prev = e.next)) {
  59950. case 0:
  59951. return (
  59952. (l = Object.keys(t)),
  59953. (c =
  59954. In.match(l, Nn.themePath, {
  59955. matchBase: !0
  59956. }) || []),
  59957. (u = t[c[0]]),
  59958. (e.next = 5),
  59959. u.async("string")
  59960. )
  59961. case 5:
  59962. return (
  59963. (f = e.sent),
  59964. (p = Ir(f, Mn)),
  59965. (d = p.theme.themeElements.clrScheme),
  59966. (h = "#".concat(
  59967. (null === (r = d.lt1.sysClr) || void 0 === r ? void 0 : r.attributes.lastClr) ||
  59968. (null === (n = d.lt1.srgbClr) || void 0 === n ? void 0 : n.attributes.val)
  59969. )),
  59970. (m = "#".concat(
  59971. (null === (i = d.dk1.sysClr) || void 0 === i ? void 0 : i.attributes.lastClr) ||
  59972. (null === (o = d.dk1.srgbClr) || void 0 === o ? void 0 : o.attributes.val)
  59973. )),
  59974. (g = "#".concat(
  59975. (null === (a = d.accent1.sysClr) || void 0 === a ? void 0 : a.attributes.lastClr) ||
  59976. (null === (s = d.accent1.srgbClr) || void 0 === s ? void 0 : s.attributes.val)
  59977. )),
  59978. (y = "Sans-serif"),
  59979. (e.next = 14),
  59980. Jr(t, "ppt/presentation.xml")
  59981. )
  59982. case 14:
  59983. return (
  59984. (v = e.sent),
  59985. (b = 0.5625),
  59986. v.height / v.width === 9 / 16
  59987. ? (b = 0.5625)
  59988. : v.height / v.width === 3 / 4
  59989. ? (b = 0.75)
  59990. : 0.626 === +(v.height / v.width).toFixed(3) && (b = 0.625),
  59991. (w = b),
  59992. e.abrupt("return", {
  59993. backgroundColor: h,
  59994. fontColor: m,
  59995. themeColor: g,
  59996. fontName: y,
  59997. fontSize: "40px",
  59998. viewportRatio: b,
  59999. bestViewportRatio: w
  60000. })
  60001. )
  60002. case 19:
  60003. case "end":
  60004. return e.stop()
  60005. }
  60006. }, e)
  60007. })
  60008. )
  60009. return function (t) {
  60010. return e.apply(this, arguments)
  60011. }
  60012. })(),
  60013. Bn = ["emf", "wmf", "tiff", "tif"],
  60014. Fn = (function () {
  60015. var e = T(
  60016. A().mark(function e(t, r, n, i, o) {
  60017. var a, s, l, c, u, f, p, d, h, m, g, y, v, b
  60018. return A().wrap(
  60019. function (e) {
  60020. while (1)
  60021. switch ((e.prev = e.next)) {
  60022. case 0:
  60023. if (
  60024. ((s = null === r || void 0 === r || null === (a = r.blipFill) || void 0 === a ? void 0 : a.blip),
  60025. (l = s.attributes["r:embed"]),
  60026. l)
  60027. ) {
  60028. e.next = 4
  60029. break
  60030. }
  60031. return e.abrupt("return")
  60032. case 4:
  60033. if (
  60034. ((c = n.Relationships.Relationship || []),
  60035. (u = c.find(function (e) {
  60036. return e.attributes.Id === l
  60037. })),
  60038. u)
  60039. ) {
  60040. e.next = 8
  60041. break
  60042. }
  60043. return e.abrupt("return")
  60044. case 8:
  60045. if (((f = u.attributes.Target), (p = i["ppt".concat(f.replace("..", ""))]), p)) {
  60046. e.next = 12
  60047. break
  60048. }
  60049. return e.abrupt("return")
  60050. case 12:
  60051. return (e.prev = 12), (e.next = 15), p.async("arraybuffer")
  60052. case 15:
  60053. if (
  60054. ((d = e.sent),
  60055. (h = p.name.split(".")),
  60056. (m = "image/".concat(h[h.length - 1])),
  60057. -1 === Bn.indexOf(h[h.length - 1]))
  60058. ) {
  60059. e.next = 20
  60060. break
  60061. }
  60062. return e.abrupt("return", "noSupportImageType")
  60063. case 20:
  60064. return (
  60065. (g = new Blob([d], {
  60066. type: m
  60067. })),
  60068. (y = p.name.split("/").reverse()[0]),
  60069. (v = new File([g], y, {
  60070. type: m
  60071. })),
  60072. (e.next = 25),
  60073. o(v)
  60074. )
  60075. case 25:
  60076. return (b = e.sent), e.abrupt("return", b)
  60077. case 29:
  60078. throw (
  60079. ((e.prev = 29),
  60080. (e.t0 = e["catch"](12)),
  60081. re.error("ppt-file parse image upload failed", e.t0),
  60082. new Error("第".concat(t, "页PPT 图片上传失败,请重试")))
  60083. )
  60084. case 33:
  60085. case "end":
  60086. return e.stop()
  60087. }
  60088. },
  60089. e,
  60090. null,
  60091. [[12, 29]]
  60092. )
  60093. })
  60094. )
  60095. return function (t, r, n, i, o) {
  60096. return e.apply(this, arguments)
  60097. }
  60098. })(),
  60099. Un = (function () {
  60100. var e = T(
  60101. A().mark(function e(t, r, n, i, o, a, s) {
  60102. var c,
  60103. u,
  60104. f,
  60105. p,
  60106. d,
  60107. h,
  60108. m,
  60109. g,
  60110. y,
  60111. v,
  60112. b,
  60113. w,
  60114. x,
  60115. _,
  60116. T,
  60117. E,
  60118. S,
  60119. C,
  60120. k,
  60121. L,
  60122. P,
  60123. O,
  60124. j,
  60125. R,
  60126. I,
  60127. N,
  60128. M,
  60129. D,
  60130. B,
  60131. F,
  60132. U,
  60133. z,
  60134. q,
  60135. G,
  60136. W,
  60137. V,
  60138. H,
  60139. X,
  60140. Y,
  60141. K,
  60142. Z,
  60143. Q,
  60144. J,
  60145. $,
  60146. ee,
  60147. te,
  60148. re,
  60149. ne,
  60150. ie,
  60151. oe,
  60152. ae,
  60153. se,
  60154. le,
  60155. ce,
  60156. ue,
  60157. fe,
  60158. pe,
  60159. de,
  60160. he,
  60161. me,
  60162. ge,
  60163. ye,
  60164. ve,
  60165. be,
  60166. we,
  60167. xe,
  60168. Ae,
  60169. _e,
  60170. Te,
  60171. Ee,
  60172. Se,
  60173. Ce,
  60174. ke,
  60175. Le
  60176. return A().wrap(function (e) {
  60177. while (1)
  60178. switch ((e.prev = e.next)) {
  60179. case 0:
  60180. return (
  60181. (_ = {
  60182. type: "image",
  60183. id: Nr(),
  60184. left: 0,
  60185. top: 0,
  60186. width: 0,
  60187. height: 0,
  60188. rotate: 0,
  60189. fixedRatio: !0,
  60190. src: "",
  60191. size: 0,
  60192. md5: ""
  60193. }),
  60194. (e.next = 3),
  60195. Fn(t, r, n, o, a)
  60196. )
  60197. case 3:
  60198. if (((T = e.sent), "noSupportImageType" !== T)) {
  60199. e.next = 6
  60200. break
  60201. }
  60202. return e.abrupt("return", "noSupportImageType")
  60203. case 6:
  60204. if ((T && ((_.src = T.url), (_.size = T.size), (_.md5 = T.md5)), _.src)) {
  60205. e.next = 9
  60206. break
  60207. }
  60208. return e.abrupt("return")
  60209. case 9:
  60210. return (
  60211. null !== r &&
  60212. void 0 !== r &&
  60213. null !== (c = r.spPr) &&
  60214. void 0 !== c &&
  60215. null !== (u = c.xfrm) &&
  60216. void 0 !== u &&
  60217. null !== (f = u.attributes) &&
  60218. void 0 !== f &&
  60219. f.rot &&
  60220. (_.rotate =
  60221. r.spPr.xfrm.attributes.rot / 6e4 > 180
  60222. ? r.spPr.xfrm.attributes.rot / 6e4 - 360
  60223. : r.spPr.xfrm.attributes.rot / 6e4),
  60224. (_.flipH =
  60225. (null === r ||
  60226. void 0 === r ||
  60227. null === (p = r.spPr) ||
  60228. void 0 === p ||
  60229. null === (d = p.xfrm) ||
  60230. void 0 === d ||
  60231. null === (h = d.attributes) ||
  60232. void 0 === h
  60233. ? void 0
  60234. : h.flipH) || !1),
  60235. (_.flipV =
  60236. (null === r ||
  60237. void 0 === r ||
  60238. null === (m = r.spPr) ||
  60239. void 0 === m ||
  60240. null === (g = m.xfrm) ||
  60241. void 0 === g ||
  60242. null === (y = g.attributes) ||
  60243. void 0 === y
  60244. ? void 0
  60245. : y.flipV) || !1),
  60246. null !== r &&
  60247. void 0 !== r &&
  60248. null !== (v = r.spPr) &&
  60249. void 0 !== v &&
  60250. v.ln &&
  60251. ((null !== (E = r.spPr.ln) && void 0 !== E && E.noFill) ||
  60252. (null !== (S = r.spPr.ln) && void 0 !== S && S.miter) ||
  60253. ((U = {
  60254. style:
  60255. -1 ===
  60256. (null === (C = r.spPr.ln) ||
  60257. void 0 === C ||
  60258. null === (k = C.prstDash) ||
  60259. void 0 === k ||
  60260. null === (L = k.attributes) ||
  60261. void 0 === L
  60262. ? void 0
  60263. : L.val.toLowerCase().indexOf("solid"))
  60264. ? "dashed"
  60265. : "solid",
  60266. width:
  60267. ((null === (P = r.spPr.ln) || void 0 === P || null === (O = P.attributes) || void 0 === O
  60268. ? void 0
  60269. : O.w) || 9525) / 12700,
  60270. color: "#000000"
  60271. }),
  60272. null !== (j = r.spPr.ln) &&
  60273. void 0 !== j &&
  60274. null !== (R = j.solidFill) &&
  60275. void 0 !== R &&
  60276. null !== (I = R.srgbClr) &&
  60277. void 0 !== I &&
  60278. null !== (N = I.attributes) &&
  60279. void 0 !== N &&
  60280. N.val
  60281. ? (U.color = "#".concat(
  60282. null === (z = r.spPr.ln) ||
  60283. void 0 === z ||
  60284. null === (q = z.solidFill) ||
  60285. void 0 === q ||
  60286. null === (G = q.srgbClr) ||
  60287. void 0 === G ||
  60288. null === (W = G.attributes) ||
  60289. void 0 === W
  60290. ? void 0
  60291. : W.val
  60292. ))
  60293. : null !== (M = r.spPr.ln) &&
  60294. void 0 !== M &&
  60295. null !== (D = M.solidFill) &&
  60296. void 0 !== D &&
  60297. null !== (B = D.schemeClr) &&
  60298. void 0 !== B &&
  60299. null !== (F = B.attributes) &&
  60300. void 0 !== F &&
  60301. F.val &&
  60302. ((K = +i.replace(/[^0-9]/gi, "")),
  60303. (Z = zr(
  60304. s,
  60305. K,
  60306. null === (V = r.spPr.ln) ||
  60307. void 0 === V ||
  60308. null === (H = V.solidFill) ||
  60309. void 0 === H ||
  60310. null === (X = H.schemeClr) ||
  60311. void 0 === X ||
  60312. null === (Y = X.attributes) ||
  60313. void 0 === Y
  60314. ? void 0
  60315. : Y.val
  60316. )),
  60317. Z && (U.color = Z)),
  60318. (_.outline = U))),
  60319. null !== r &&
  60320. void 0 !== r &&
  60321. null !== (b = r.spPr) &&
  60322. void 0 !== b &&
  60323. null !== (w = b.effectLst) &&
  60324. void 0 !== w &&
  60325. w.outerShdw &&
  60326. ((de = {
  60327. blur: 1,
  60328. color: "#000000",
  60329. h:
  60330. ((null === (Q = r.spPr.effectLst.outerShdw) || void 0 === Q ? void 0 : Q.attributes.sx) || 12700) /
  60331. 12700,
  60332. v: ((null === (J = r.spPr.effectLst.outerShdw) || void 0 === J ? void 0 : J.attributes.sy) || 12700) / 12700
  60333. }),
  60334. null !== ($ = r.spPr) &&
  60335. void 0 !== $ &&
  60336. null !== (ee = $.effectLst) &&
  60337. void 0 !== ee &&
  60338. null !== (te = ee.outerShdw) &&
  60339. void 0 !== te &&
  60340. null !== (re = te.attributes) &&
  60341. void 0 !== re &&
  60342. re.blurRad &&
  60343. (de.blur = (r.spPr.effectLst.outerShdw.attributes.blurRad / 12700 / 100) * 20),
  60344. null !== (ne = r.spPr) &&
  60345. void 0 !== ne &&
  60346. null !== (ie = ne.effectLst) &&
  60347. void 0 !== ie &&
  60348. null !== (oe = ie.outerShdw) &&
  60349. void 0 !== oe &&
  60350. null !== (ae = oe.srgbClr) &&
  60351. void 0 !== ae &&
  60352. null !== (se = ae.attributes) &&
  60353. void 0 !== se &&
  60354. se.val
  60355. ? (de.color = "#".concat(r.spPr.effectLst.outerShdw.srgbClr.attributes.val))
  60356. : null !== (le = r.spPr) &&
  60357. void 0 !== le &&
  60358. null !== (ce = le.effectLst) &&
  60359. void 0 !== ce &&
  60360. null !== (ue = ce.outerShdw) &&
  60361. void 0 !== ue &&
  60362. null !== (fe = ue.schemeClr) &&
  60363. void 0 !== fe &&
  60364. null !== (pe = fe.attributes) &&
  60365. void 0 !== pe &&
  60366. pe.val &&
  60367. ((he = +i.replace(/[^0-9]/gi, "")),
  60368. (me = zr(s, he, r.spPr.effectLst.outerShdw.schemeClr.attributes.val)),
  60369. me && (de.color = me)),
  60370. (_.shadow = de)),
  60371. null !== r &&
  60372. void 0 !== r &&
  60373. null !== (x = r.blipFill) &&
  60374. void 0 !== x &&
  60375. x.srcRect &&
  60376. ((Te =
  60377. ((null === (ge = r.blipFill.srcRect) || void 0 === ge || null === (ye = ge.attributes) || void 0 === ye
  60378. ? void 0
  60379. : ye.t) || 0) / 1e3),
  60380. (Ee =
  60381. 100 -
  60382. (null === (ve = r.blipFill.srcRect) || void 0 === ve || null === (be = ve.attributes) || void 0 === be
  60383. ? void 0
  60384. : be.b) /
  60385. 1e3 || 100),
  60386. (Se =
  60387. ((null === (we = r.blipFill.srcRect) || void 0 === we || null === (xe = we.attributes) || void 0 === xe
  60388. ? void 0
  60389. : xe.l) || 0) / 1e3),
  60390. (Ce =
  60391. 100 -
  60392. (null === (Ae = r.blipFill.srcRect) || void 0 === Ae || null === (_e = Ae.attributes) || void 0 === _e
  60393. ? void 0
  60394. : _e.r) /
  60395. 1e3 || 100),
  60396. (ke = {
  60397. range: [
  60398. [Se, Te],
  60399. [Ce, Ee]
  60400. ],
  60401. shape: "rect"
  60402. }),
  60403. (_.clip = ke)),
  60404. (e.next = 17),
  60405. Wr(r, n, o)
  60406. )
  60407. case 17:
  60408. return (Le = e.sent), l.a.merge(_, Le), e.abrupt("return", _)
  60409. case 20:
  60410. case "end":
  60411. return e.stop()
  60412. }
  60413. }, e)
  60414. })
  60415. )
  60416. return function (t, r, n, i, o, a, s) {
  60417. return e.apply(this, arguments)
  60418. }
  60419. })(),
  60420. zn = function (e) {
  60421. var t = ""
  60422. switch (e) {
  60423. case "arrow":
  60424. case "triangle":
  60425. case "stealth":
  60426. t = "arrow"
  60427. break
  60428. case "oval":
  60429. case "diamond":
  60430. t = "dot"
  60431. break
  60432. default:
  60433. t = ""
  60434. break
  60435. }
  60436. return t
  60437. },
  60438. qn = function (e, t, r, n, i, o, a) {
  60439. var s = {
  60440. type: "line",
  60441. id: Nr(),
  60442. left: 0,
  60443. top: 0,
  60444. width: 2,
  60445. start: [0, 0],
  60446. end: [0, 0],
  60447. points: ["", ""],
  60448. color: "#5b9bd5",
  60449. style: "solid"
  60450. },
  60451. c = 1,
  60452. u = 1
  60453. return Wr(t, r, i)
  60454. .then(function (e) {
  60455. var r = t.spPr,
  60456. n = void 0 === r ? {} : r,
  60457. i = n.xfrm,
  60458. o = (null === i || void 0 === i ? void 0 : i.attributes) || {},
  60459. a = o.flipH,
  60460. f = o.flipV,
  60461. p = {
  60462. left: e.left,
  60463. top: e.top,
  60464. start: [0, 0],
  60465. end: [e.width, e.height]
  60466. }
  60467. l.a.merge(s, p),
  60468. (c = e.width),
  60469. (u = e.height),
  60470. a &&
  60471. !f &&
  60472. l.a.merge(
  60473. s,
  60474. P(
  60475. P({}, p),
  60476. {},
  60477. {
  60478. start: [e.width, 0],
  60479. end: [0, e.height]
  60480. }
  60481. )
  60482. ),
  60483. !a &&
  60484. f &&
  60485. l.a.merge(
  60486. s,
  60487. P(
  60488. P({}, p),
  60489. {},
  60490. {
  60491. start: [0, e.height],
  60492. end: [e.width, 0]
  60493. }
  60494. )
  60495. ),
  60496. a &&
  60497. f &&
  60498. l.a.merge(
  60499. s,
  60500. P(
  60501. P({}, p),
  60502. {},
  60503. {
  60504. start: [e.height, e.width],
  60505. end: [0, 0]
  60506. }
  60507. )
  60508. )
  60509. })
  60510. .then(function () {
  60511. var e,
  60512. r,
  60513. n,
  60514. i,
  60515. o,
  60516. a = t.spPr,
  60517. c = E(s.points, 2),
  60518. u = c[0],
  60519. f = c[1],
  60520. p = s.style
  60521. if (a && null !== a && void 0 !== a && a.ln) {
  60522. var d,
  60523. h,
  60524. m = a.ln,
  60525. g = m.headEnd,
  60526. y = m.tailEnd
  60527. g && (u = zn(null === g || void 0 === g || null === (d = g.attributes) || void 0 === d ? void 0 : d.type)),
  60528. y && (f = zn(null === y || void 0 === y || null === (h = y.attributes) || void 0 === h ? void 0 : h.type))
  60529. }
  60530. a &&
  60531. null !== a &&
  60532. void 0 !== a &&
  60533. a.ln &&
  60534. null !== a &&
  60535. void 0 !== a &&
  60536. null !== (e = a.ln) &&
  60537. void 0 !== e &&
  60538. e.prstDash &&
  60539. "solid" !==
  60540. (null === a || void 0 === a || null === (r = a.ln) || void 0 === r || null === (n = r.prstDash) || void 0 === n
  60541. ? void 0
  60542. : n.attributes.val) &&
  60543. "tx1" !==
  60544. (null === a || void 0 === a || null === (i = a.ln) || void 0 === i || null === (o = i.prstDash) || void 0 === o
  60545. ? void 0
  60546. : o.attributes.val) &&
  60547. (p = "dashed"),
  60548. l.a.merge(s, {
  60549. points: [u, f],
  60550. style: p
  60551. })
  60552. })
  60553. .then(function () {
  60554. var e,
  60555. r,
  60556. i,
  60557. o,
  60558. c,
  60559. u,
  60560. f = t.spPr,
  60561. p = t.style,
  60562. d = +n.replace(/[^0-9]/gi, ""),
  60563. h = s.color,
  60564. m = s.width,
  60565. g = s.shadow
  60566. if (
  60567. f &&
  60568. null !== f &&
  60569. void 0 !== f &&
  60570. f.ln &&
  60571. null !== f &&
  60572. void 0 !== f &&
  60573. null !== (e = f.ln) &&
  60574. void 0 !== e &&
  60575. e.solidFill
  60576. ) {
  60577. var y,
  60578. v,
  60579. b,
  60580. w = null === f || void 0 === f || null === (y = f.ln) || void 0 === y ? void 0 : y.solidFill,
  60581. x = w.schemeClr,
  60582. A = w.srgbClr
  60583. if (
  60584. (x && (h = zr(a, d, x.attributes.val)),
  60585. (null !== x && void 0 !== x && x.lumMod) || (null !== x && void 0 !== x && x.lumOff))
  60586. )
  60587. h = Hr(
  60588. h,
  60589. null === x || void 0 === x || null === (v = x.lumMod) || void 0 === v ? void 0 : v.attributes.val,
  60590. null === x || void 0 === x || null === (b = x.lumOff) || void 0 === b ? void 0 : b.attributes.val
  60591. )
  60592. A && (h = "#".concat(A.attributes.val))
  60593. } else if (p && null !== p && void 0 !== p && p.lnRef) {
  60594. var _ = p.lnRef,
  60595. T = _.schemeClr,
  60596. E = _.srgbClr,
  60597. S = T || E || {},
  60598. C = S.lumMod,
  60599. k = S.lumOff
  60600. T && (h = zr(a, d, T.attributes.val)),
  60601. E && (h = "#".concat(E.attributes.val)),
  60602. (C || k) &&
  60603. (h = Hr(
  60604. h,
  60605. null === C || void 0 === C ? void 0 : C.attributes.val,
  60606. null === k || void 0 === k ? void 0 : k.attributes.val
  60607. ))
  60608. }
  60609. f &&
  60610. null !== f &&
  60611. void 0 !== f &&
  60612. f.ln &&
  60613. null !== f &&
  60614. void 0 !== f &&
  60615. null !== (r = f.ln) &&
  60616. void 0 !== r &&
  60617. null !== (i = r.attributes) &&
  60618. void 0 !== i &&
  60619. i.w &&
  60620. (m = Dr(
  60621. null === f || void 0 === f || null === (c = f.ln) || void 0 === c || null === (u = c.attributes) || void 0 === u
  60622. ? void 0
  60623. : u.w
  60624. ))
  60625. if (
  60626. f &&
  60627. null !== f &&
  60628. void 0 !== f &&
  60629. f.effectLst &&
  60630. null !== f &&
  60631. void 0 !== f &&
  60632. null !== (o = f.effectLst) &&
  60633. void 0 !== o &&
  60634. o.outerShdw
  60635. ) {
  60636. var L,
  60637. P,
  60638. O = (null === f || void 0 === f || null === (L = f.effectLst) || void 0 === L ? void 0 : L.outerShdw.attributes) || {},
  60639. j = O.blurRad,
  60640. R = O.dist,
  60641. I = O.sx
  60642. g = {
  60643. blur: Dr(j || 12700),
  60644. color: "#000000",
  60645. h: Dr(I),
  60646. v: Dr(R)
  60647. }
  60648. var N = null === f || void 0 === f || null === (P = f.effectLst) || void 0 === P ? void 0 : P.outerShdw,
  60649. M = N.schemeClr,
  60650. D = N.srgbClr
  60651. M && (g.color = zr(a, d, M.attributes.val)), D && (g.color = "#".concat(D.attributes.val))
  60652. }
  60653. l.a.merge(s, {
  60654. color: h,
  60655. width: m,
  60656. shadow: g
  60657. })
  60658. })
  60659. .then(function () {
  60660. var e, r, n
  60661. return {
  60662. id:
  60663. null === t ||
  60664. void 0 === t ||
  60665. null === (e = t.nvCxnSpPr) ||
  60666. void 0 === e ||
  60667. null === (r = e.cNvPr) ||
  60668. void 0 === r ||
  60669. null === (n = r.attributes) ||
  60670. void 0 === n
  60671. ? void 0
  60672. : n.id,
  60673. element: s,
  60674. lineWidth: c,
  60675. lineHeight: u
  60676. }
  60677. })
  60678. },
  60679. Gn = function (e, t, r, n, i, o, a) {
  60680. return new Promise(function (s, l) {
  60681. var c,
  60682. u = Array.isArray(t) ? t : [t],
  60683. f = [],
  60684. p = I(u)
  60685. try {
  60686. for (p.s(); !(c = p.n()).done; ) {
  60687. var d = c.value
  60688. f.push(qn(e, d, r, n, i, o, a))
  60689. }
  60690. } catch (h) {
  60691. p.e(h)
  60692. } finally {
  60693. p.f()
  60694. }
  60695. Promise.all(f).then(function () {
  60696. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []
  60697. s(e.filter(Boolean))
  60698. })
  60699. })
  60700. },
  60701. Wn =
  60702. ((n = {}),
  60703. O(n, "roundRect", {
  60704. editable: !0,
  60705. defaultValue: 0.125,
  60706. range: [0, 0.5],
  60707. relative: "left",
  60708. getBaseSize: function (e, t) {
  60709. return Math.min(e, t)
  60710. },
  60711. formula: function (e, t, r) {
  60712. var n = Math.min(e, t) * r
  60713. return "M "
  60714. .concat(n, " 0 L ")
  60715. .concat(e - n, " 0 Q ")
  60716. .concat(e, " 0 ")
  60717. .concat(e, " ")
  60718. .concat(n, " L ")
  60719. .concat(e, " ")
  60720. .concat(t - n, " Q ")
  60721. .concat(e, " ")
  60722. .concat(t, " ")
  60723. .concat(e - n, " ")
  60724. .concat(t, " L ")
  60725. .concat(n, " ")
  60726. .concat(t, " Q 0 ")
  60727. .concat(t, " 0 ")
  60728. .concat(t - n, " L 0 ")
  60729. .concat(n, " Q 0 0 ")
  60730. .concat(n, " 0 Z")
  60731. }
  60732. }),
  60733. O(n, "cutRectDiagonal", {
  60734. editable: !0,
  60735. defaultValue: 0.2,
  60736. range: [0, 0.9],
  60737. relative: "right",
  60738. getBaseSize: function (e, t) {
  60739. return Math.min(e, t)
  60740. },
  60741. formula: function (e, t, r) {
  60742. var n = Math.min(e, t) * r
  60743. return "M 0 "
  60744. .concat(t - n, " L 0 0 L ")
  60745. .concat(e - n, " 0 L ")
  60746. .concat(e, " ")
  60747. .concat(n, " L ")
  60748. .concat(e, " ")
  60749. .concat(t, " L ")
  60750. .concat(n, " ")
  60751. .concat(t, " Z")
  60752. }
  60753. }),
  60754. O(n, "cutRectSingle", {
  60755. editable: !0,
  60756. defaultValue: 0.2,
  60757. range: [0, 0.9],
  60758. relative: "right",
  60759. getBaseSize: function (e, t) {
  60760. return Math.min(e, t)
  60761. },
  60762. formula: function (e, t, r) {
  60763. var n = Math.min(e, t) * r
  60764. return "M 0 "
  60765. .concat(t, " L 0 0 L ")
  60766. .concat(e - n, " 0 L ")
  60767. .concat(e, " ")
  60768. .concat(n, " L ")
  60769. .concat(e, " ")
  60770. .concat(t, " Z")
  60771. }
  60772. }),
  60773. O(n, "cutRectSameSide", {
  60774. editable: !0,
  60775. defaultValue: 0.2,
  60776. range: [0, 0.5],
  60777. relative: "left",
  60778. getBaseSize: function (e, t) {
  60779. return Math.min(e, t)
  60780. },
  60781. formula: function (e, t, r) {
  60782. var n = Math.min(e, t) * r
  60783. return "M 0 "
  60784. .concat(n, " L ")
  60785. .concat(n, " 0 L ")
  60786. .concat(e - n, " 0 L ")
  60787. .concat(e, " ")
  60788. .concat(n, " L ")
  60789. .concat(e, " ")
  60790. .concat(t, " L 0 ")
  60791. .concat(t, " Z")
  60792. }
  60793. }),
  60794. O(n, "roundRectDiagonal", {
  60795. editable: !0,
  60796. defaultValue: 0.125,
  60797. range: [0, 1],
  60798. relative: "right",
  60799. getBaseSize: function (e, t) {
  60800. return Math.min(e, t)
  60801. },
  60802. formula: function (e, t, r) {
  60803. var n = Math.min(e, t) * r
  60804. return "M 0 0 L "
  60805. .concat(e - n, " 0 Q ")
  60806. .concat(e, " 0 ")
  60807. .concat(e, " ")
  60808. .concat(n, " L ")
  60809. .concat(e, " ")
  60810. .concat(t, " L ")
  60811. .concat(n, " ")
  60812. .concat(t, " Q 0 ")
  60813. .concat(t, " 0 ")
  60814. .concat(t - n, " L 0 0 Z")
  60815. }
  60816. }),
  60817. O(n, "roundRectSingle", {
  60818. editable: !0,
  60819. defaultValue: 0.125,
  60820. range: [0, 1],
  60821. relative: "right",
  60822. getBaseSize: function (e, t) {
  60823. return Math.min(e, t)
  60824. },
  60825. formula: function (e, t, r) {
  60826. var n = Math.min(e, t) * r
  60827. return "M 0 0 L "
  60828. .concat(e - n, " 0 Q ")
  60829. .concat(e, " 0 ")
  60830. .concat(e, " ")
  60831. .concat(n, " L ")
  60832. .concat(e, " ")
  60833. .concat(t, " L 0 ")
  60834. .concat(t, " L 0 0 Z")
  60835. }
  60836. }),
  60837. O(n, "roundRectSameSide", {
  60838. editable: !0,
  60839. defaultValue: 0.125,
  60840. range: [0, 0.5],
  60841. relative: "left",
  60842. getBaseSize: function (e, t) {
  60843. return Math.min(e, t)
  60844. },
  60845. formula: function (e, t, r) {
  60846. var n = Math.min(e, t) * r
  60847. return "M 0 "
  60848. .concat(n, " Q 0 0 ")
  60849. .concat(n, " 0 L ")
  60850. .concat(e - n, " 0 Q ")
  60851. .concat(e, " 0 ")
  60852. .concat(e, " ")
  60853. .concat(n, " L ")
  60854. .concat(e, " ")
  60855. .concat(t, " L 0 ")
  60856. .concat(t, " Z")
  60857. }
  60858. }),
  60859. O(n, "message", {
  60860. formula: function (e, t) {
  60861. var r = 0.2 * e,
  60862. n = 0.2 * t
  60863. return "M 0 0 L "
  60864. .concat(e, " 0 L ")
  60865. .concat(e, " ")
  60866. .concat(t - n, " L ")
  60867. .concat(e / 2, " ")
  60868. .concat(t - n, " L ")
  60869. .concat(e / 2 - r, " ")
  60870. .concat(t, " L ")
  60871. .concat(e / 2 - r, " ")
  60872. .concat(t - n, " L 0 ")
  60873. .concat(t - n, " Z")
  60874. }
  60875. }),
  60876. O(n, "roundMessage", {
  60877. formula: function (e, t) {
  60878. var r = 0.125 * Math.min(e, t),
  60879. n = 0.2 * e,
  60880. i = 0.2 * t
  60881. return "M 0 "
  60882. .concat(r, " Q 0 0 ")
  60883. .concat(r, " 0 L ")
  60884. .concat(e - r, " 0 Q ")
  60885. .concat(e, " 0 ")
  60886. .concat(e, " ")
  60887. .concat(r, " L ")
  60888. .concat(e, " ")
  60889. .concat(t - r - i, " Q ")
  60890. .concat(e, " ")
  60891. .concat(t - i, " ")
  60892. .concat(e - r, " ")
  60893. .concat(t - i, " L ")
  60894. .concat(e / 2, " ")
  60895. .concat(t - i, " L ")
  60896. .concat(e / 2 - n, " ")
  60897. .concat(t, " L ")
  60898. .concat(e / 2 - n, " ")
  60899. .concat(t - i, " L ")
  60900. .concat(r, " ")
  60901. .concat(t - i, " Q 0 ")
  60902. .concat(t - i, " 0 ")
  60903. .concat(t - r - i, " L 0 ")
  60904. .concat(r, " Z")
  60905. }
  60906. }),
  60907. O(n, "L", {
  60908. editable: !0,
  60909. defaultValue: 0.25,
  60910. range: [0.1, 0.9],
  60911. relative: "left",
  60912. getBaseSize: function (e, t) {
  60913. return Math.min(e, t)
  60914. },
  60915. formula: function (e, t, r) {
  60916. var n = Math.min(e, t) * r
  60917. return "M 0 0 L 0 "
  60918. .concat(t, " L ")
  60919. .concat(e, " ")
  60920. .concat(t, " L ")
  60921. .concat(e, " ")
  60922. .concat(t - n, " L ")
  60923. .concat(n, " ")
  60924. .concat(t - n, " L ")
  60925. .concat(n, " 0 Z")
  60926. }
  60927. }),
  60928. O(n, "ringRect", {
  60929. editable: !0,
  60930. defaultValue: 0.25,
  60931. range: [0.1, 0.45],
  60932. relative: "left",
  60933. getBaseSize: function (e, t) {
  60934. return Math.min(e, t)
  60935. },
  60936. formula: function (e, t, r) {
  60937. var n = Math.min(e, t) * r
  60938. return "M 0 0 "
  60939. .concat(e, " 0 ")
  60940. .concat(e, " ")
  60941. .concat(t, " L 0 ")
  60942. .concat(t, " L 0 0 Z M ")
  60943. .concat(n, " ")
  60944. .concat(n, " L ")
  60945. .concat(n, " ")
  60946. .concat(t - n, " L ")
  60947. .concat(e - n, " ")
  60948. .concat(t - n, " L ")
  60949. .concat(e - n, " ")
  60950. .concat(n, " Z")
  60951. }
  60952. }),
  60953. O(n, "plus", {
  60954. editable: !0,
  60955. defaultValue: 0.25,
  60956. range: [0.1, 0.9],
  60957. relative: "center",
  60958. getBaseSize: function (e, t) {
  60959. return Math.min(e, t)
  60960. },
  60961. formula: function (e, t, r) {
  60962. var n = Math.min(e, t) * r
  60963. return "M "
  60964. .concat(e / 2 - n / 2, " 0 L ")
  60965. .concat(e / 2 - n / 2, " ")
  60966. .concat(t / 2 - n / 2, " L 0 ")
  60967. .concat(t / 2 - n / 2, " L 0 ")
  60968. .concat(t / 2 + n / 2, " L ")
  60969. .concat(e / 2 - n / 2, " ")
  60970. .concat(t / 2 + n / 2, " L ")
  60971. .concat(e / 2 - n / 2, " ")
  60972. .concat(t, " L ")
  60973. .concat(e / 2 + n / 2, " ")
  60974. .concat(t, " L ")
  60975. .concat(e / 2 + n / 2, " ")
  60976. .concat(t / 2 + n / 2, " L ")
  60977. .concat(e, " ")
  60978. .concat(t / 2 + n / 2, " L ")
  60979. .concat(e, " ")
  60980. .concat(t / 2 - n / 2, " L ")
  60981. .concat(e / 2 + n / 2, " ")
  60982. .concat(t / 2 - n / 2, " L ")
  60983. .concat(e / 2 + n / 2, " 0 Z")
  60984. }
  60985. }),
  60986. O(n, "triangle", {
  60987. editable: !0,
  60988. defaultValue: 0.5,
  60989. range: [0, 1],
  60990. relative: "left",
  60991. getBaseSize: function (e, t) {
  60992. return e
  60993. },
  60994. formula: function (e, t, r) {
  60995. var n = e * r
  60996. return "M ".concat(n, " 0 L 0 ").concat(t, " L ").concat(e, " ").concat(t, " Z")
  60997. }
  60998. }),
  60999. O(n, "parallelogramLeft", {
  61000. editable: !0,
  61001. defaultValue: 0.25,
  61002. range: [0, 0.9],
  61003. relative: "left",
  61004. getBaseSize: function (e, t) {
  61005. return e
  61006. },
  61007. formula: function (e, t, r) {
  61008. var n = e * r
  61009. return "M "
  61010. .concat(n, " 0 L ")
  61011. .concat(e, " 0 L ")
  61012. .concat(e - n, " ")
  61013. .concat(t, " L 0 ")
  61014. .concat(t, " Z")
  61015. }
  61016. }),
  61017. O(n, "parallelogramRight", {
  61018. editable: !0,
  61019. defaultValue: 0.25,
  61020. range: [0, 0.9],
  61021. relative: "right",
  61022. getBaseSize: function (e, t) {
  61023. return e
  61024. },
  61025. formula: function (e, t, r) {
  61026. var n = e * r
  61027. return "M 0 0 L "
  61028. .concat(e - n, " 0 L ")
  61029. .concat(e, " ")
  61030. .concat(t, " L ")
  61031. .concat(n, " ")
  61032. .concat(t, " Z")
  61033. }
  61034. }),
  61035. O(n, "trapezoid", {
  61036. editable: !0,
  61037. defaultValue: 0.25,
  61038. range: [0, 0.5],
  61039. relative: "left",
  61040. getBaseSize: function (e, t) {
  61041. return e
  61042. },
  61043. formula: function (e, t, r) {
  61044. var n = e * r
  61045. return "M "
  61046. .concat(n, " 0 L ")
  61047. .concat(e - n, " 0 L ")
  61048. .concat(e, " ")
  61049. .concat(t, " L 0 ")
  61050. .concat(t, " Z")
  61051. }
  61052. }),
  61053. O(n, "bullet", {
  61054. editable: !0,
  61055. defaultValue: 0.2,
  61056. range: [0, 1],
  61057. relative: "top",
  61058. getBaseSize: function (e, t) {
  61059. return t
  61060. },
  61061. formula: function (e, t, r) {
  61062. var n = t * r
  61063. return "M "
  61064. .concat(e / 2, " 0 L 0 ")
  61065. .concat(n, " L 0 ")
  61066. .concat(t, " L ")
  61067. .concat(e, " ")
  61068. .concat(t, " L ")
  61069. .concat(e, " ")
  61070. .concat(n, " Z")
  61071. }
  61072. }),
  61073. O(n, "indicator", {
  61074. editable: !0,
  61075. defaultValue: 0.2,
  61076. range: [0, 0.9],
  61077. relative: "right",
  61078. getBaseSize: function (e, t) {
  61079. return e
  61080. },
  61081. formula: function (e, t, r) {
  61082. var n = e * r
  61083. return "M "
  61084. .concat(e, " ")
  61085. .concat(t / 2, " L ")
  61086. .concat(e - n, " 0 L 0 0 L ")
  61087. .concat(n, " ")
  61088. .concat(t / 2, " L 0 ")
  61089. .concat(t, " L ")
  61090. .concat(e - n, " ")
  61091. .concat(t, " Z")
  61092. }
  61093. }),
  61094. n),
  61095. Vn = [
  61096. {
  61097. type: "矩形",
  61098. children: [
  61099. {
  61100. viewBox: [200, 200],
  61101. path: "M 0 0 L 200 0 L 200 200 L 0 200 Z",
  61102. name: "rect"
  61103. },
  61104. {
  61105. viewBox: [200, 200],
  61106. path: "M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",
  61107. pathFormula: "roundRect",
  61108. name: "roundRect"
  61109. },
  61110. {
  61111. viewBox: [200, 200],
  61112. path: "M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",
  61113. pathFormula: "cutRectDiagonal",
  61114. name: "cutRectDiaGonal"
  61115. },
  61116. {
  61117. viewBox: [200, 200],
  61118. path: "M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",
  61119. pathFormula: "cutRectSingle",
  61120. name: "cutRectSingle"
  61121. },
  61122. {
  61123. viewBox: [200, 200],
  61124. path: "M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",
  61125. pathFormula: "cutRectSameSide",
  61126. name: "cutRectSameSide"
  61127. },
  61128. {
  61129. viewBox: [200, 200],
  61130. path: "M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 50 200 Q 0 200 0 150 L 0 0 Z",
  61131. pathFormula: "roundRectDiagonal",
  61132. name: "roundRectDiagonal"
  61133. },
  61134. {
  61135. viewBox: [200, 200],
  61136. path: "M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",
  61137. pathFormula: "roundRectSingle",
  61138. name: "roundRectSingle"
  61139. },
  61140. {
  61141. viewBox: [200, 200],
  61142. path: "M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",
  61143. pathFormula: "roundRectSameSide",
  61144. name: "roundRectSameSide"
  61145. }
  61146. ]
  61147. },
  61148. {
  61149. type: "常用形状",
  61150. children: [
  61151. {
  61152. viewBox: [200, 200],
  61153. path: "M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",
  61154. name: "ellipse"
  61155. },
  61156. {
  61157. viewBox: [200, 200],
  61158. path: "M 100 0 L 0 200 L 200 200 L 100 0 Z",
  61159. pathFormula: "triangle",
  61160. name: "triangle"
  61161. },
  61162. {
  61163. viewBox: [200, 200],
  61164. path: "M 0 0 L 0 200 L 200 200 Z",
  61165. name: "rtTriangle"
  61166. },
  61167. {
  61168. viewBox: [200, 200],
  61169. path: "M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",
  61170. pathFormula: "parallelogramLeft",
  61171. name: "parallelogramLeft"
  61172. },
  61173. {
  61174. viewBox: [200, 200],
  61175. path: "M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",
  61176. pathFormula: "parallelogramRight",
  61177. name: "parallelogramRight"
  61178. },
  61179. {
  61180. viewBox: [200, 200],
  61181. path: "M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",
  61182. pathFormula: "trapezoid",
  61183. name: "trapezoid"
  61184. },
  61185. {
  61186. viewBox: [200, 200],
  61187. path: "M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",
  61188. name: "diamond"
  61189. },
  61190. {
  61191. viewBox: [200, 200],
  61192. path: "M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",
  61193. pathFormula: "bullet",
  61194. name: "bullet"
  61195. },
  61196. {
  61197. viewBox: [200, 200],
  61198. path: "M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",
  61199. pathFormula: "indicator",
  61200. name: "indicator"
  61201. },
  61202. {
  61203. viewBox: [200, 200],
  61204. path: "M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z",
  61205. name: "halfUpElliptical"
  61206. },
  61207. {
  61208. viewBox: [200, 200],
  61209. path: "M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z",
  61210. name: "5/8pie"
  61211. },
  61212. {
  61213. viewBox: [200, 200],
  61214. path: "M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",
  61215. name: "pie"
  61216. },
  61217. {
  61218. viewBox: [200, 200],
  61219. path: "M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z",
  61220. name: "7/8pie"
  61221. },
  61222. {
  61223. viewBox: [200, 200],
  61224. path: "M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",
  61225. name: "chord"
  61226. },
  61227. {
  61228. viewBox: [200, 200],
  61229. path: "M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",
  61230. name: "teardrop"
  61231. },
  61232. {
  61233. viewBox: [200, 200],
  61234. path: "M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z",
  61235. name: "1/4pie"
  61236. },
  61237. {
  61238. viewBox: [200, 200],
  61239. path: "M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z",
  61240. name: "pentagon"
  61241. },
  61242. {
  61243. viewBox: [200, 200],
  61244. path: "M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z",
  61245. name: "hexagon"
  61246. },
  61247. {
  61248. viewBox: [200, 200],
  61249. path: "M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",
  61250. name: "octagon"
  61251. },
  61252. {
  61253. viewBox: [200, 200],
  61254. path: "M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z",
  61255. name: "dodecagon"
  61256. },
  61257. {
  61258. viewBox: [200, 200],
  61259. path: "M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z",
  61260. name: "flowChartDelay"
  61261. },
  61262. {
  61263. viewBox: [200, 200],
  61264. path: "M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z",
  61265. name: "flowChartTerminator"
  61266. },
  61267. {
  61268. viewBox: [200, 200],
  61269. path: "M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z",
  61270. name: "flowChartOnlineStorage"
  61271. },
  61272. {
  61273. viewBox: [200, 200],
  61274. path: "M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z",
  61275. name: "flowChartManualInputLeft"
  61276. },
  61277. {
  61278. viewBox: [200, 200],
  61279. path: "M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z",
  61280. name: "flowChartManualInputRight"
  61281. },
  61282. {
  61283. viewBox: [200, 200],
  61284. path: "M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z",
  61285. name: "diagStripe"
  61286. },
  61287. {
  61288. viewBox: [200, 200],
  61289. path: "M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z",
  61290. name: "plusStatic"
  61291. },
  61292. {
  61293. viewBox: [200, 200],
  61294. path: "M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",
  61295. pathFormula: "L",
  61296. name: "L"
  61297. },
  61298. {
  61299. viewBox: [200, 200],
  61300. path: "M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",
  61301. pathFormula: "ringRect",
  61302. name: "ringRect"
  61303. },
  61304. {
  61305. viewBox: [200, 200],
  61306. path: "M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z",
  61307. name: "donut"
  61308. },
  61309. {
  61310. viewBox: [200, 200],
  61311. path: "M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",
  61312. pathFormula: "plus",
  61313. name: "plus"
  61314. },
  61315. {
  61316. viewBox: [200, 200],
  61317. path: "M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z",
  61318. name: "multiply"
  61319. },
  61320. {
  61321. viewBox: [200, 200],
  61322. path: "M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",
  61323. pathFormula: "message",
  61324. name: "message"
  61325. },
  61326. {
  61327. viewBox: [200, 200],
  61328. path: "M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",
  61329. pathFormula: "roundMessage",
  61330. name: "roundMessage"
  61331. },
  61332. {
  61333. viewBox: [200, 200],
  61334. path: "M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z",
  61335. name: "flowChartMagneticTape"
  61336. },
  61337. {
  61338. viewBox: [200, 200],
  61339. path: "M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z",
  61340. name: "flowChartCollate"
  61341. },
  61342. {
  61343. viewBox: [200, 200],
  61344. path: "M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z",
  61345. name: "wave"
  61346. },
  61347. {
  61348. viewBox: [200, 200],
  61349. path: "M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",
  61350. name: "doubleWave"
  61351. },
  61352. {
  61353. viewBox: [200, 200],
  61354. path: "M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z",
  61355. name: "roundTriangle"
  61356. },
  61357. {
  61358. viewBox: [200, 200],
  61359. path: "M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z",
  61360. name: "parachute"
  61361. },
  61362. {
  61363. viewBox: [200, 200],
  61364. path: "M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z",
  61365. name: "star4"
  61366. },
  61367. {
  61368. viewBox: [200, 200],
  61369. path: "M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z",
  61370. name: "star8"
  61371. }
  61372. ]
  61373. },
  61374. {
  61375. type: "箭头",
  61376. children: [
  61377. {
  61378. viewBox: [200, 200],
  61379. path: "M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",
  61380. name: "upArrow"
  61381. },
  61382. {
  61383. viewBox: [200, 200],
  61384. path: "M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",
  61385. name: "downArrow"
  61386. },
  61387. {
  61388. viewBox: [200, 200],
  61389. path: "M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",
  61390. name: "leftArrow"
  61391. },
  61392. {
  61393. viewBox: [200, 200],
  61394. path: "M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",
  61395. name: "rightArrow"
  61396. },
  61397. {
  61398. viewBox: [200, 200],
  61399. path: "M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",
  61400. name: "upDownArrow"
  61401. },
  61402. {
  61403. viewBox: [200, 200],
  61404. path: "M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",
  61405. name: "leftRightArrow"
  61406. },
  61407. {
  61408. viewBox: [200, 200],
  61409. path: "M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z",
  61410. name: "quadArrow"
  61411. },
  61412. {
  61413. viewBox: [200, 200],
  61414. path: "M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z",
  61415. name: "notchedLeftArrow"
  61416. },
  61417. {
  61418. viewBox: [200, 200],
  61419. path: "M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",
  61420. name: "notchedRightArrow"
  61421. },
  61422. {
  61423. viewBox: [200, 200],
  61424. path: "M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z",
  61425. name: "leftArrowCallout"
  61426. },
  61427. {
  61428. viewBox: [200, 200],
  61429. path: "M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z",
  61430. name: "rightArrowCallout"
  61431. },
  61432. {
  61433. viewBox: [200, 200],
  61434. path: "M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",
  61435. name: "chevronRight"
  61436. },
  61437. {
  61438. viewBox: [200, 200],
  61439. path: "M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z",
  61440. name: "chevronLeft"
  61441. },
  61442. {
  61443. viewBox: [200, 200],
  61444. path: "M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",
  61445. name: "homePlateRight"
  61446. },
  61447. {
  61448. viewBox: [200, 200],
  61449. path: "M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z",
  61450. name: "homePlateLeft"
  61451. },
  61452. {
  61453. viewBox: [200, 200],
  61454. path: "M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z",
  61455. name: "triangleArrowRight"
  61456. },
  61457. {
  61458. viewBox: [200, 200],
  61459. path: "M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z",
  61460. name: "triangleArrowLeft"
  61461. },
  61462. {
  61463. viewBox: [200, 200],
  61464. path: "M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z",
  61465. name: "chevronThinRight"
  61466. },
  61467. {
  61468. viewBox: [200, 200],
  61469. path: "M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z",
  61470. name: "chevronThinLeft"
  61471. },
  61472. {
  61473. viewBox: [200, 200],
  61474. path: "M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z",
  61475. name: "bentUpArrow"
  61476. },
  61477. {
  61478. viewBox: [200, 200],
  61479. path: "M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z",
  61480. name: "bentRightArrow"
  61481. },
  61482. {
  61483. viewBox: [200, 200],
  61484. path: "M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z",
  61485. name: "leftUpArrow"
  61486. },
  61487. {
  61488. viewBox: [1024, 1024],
  61489. path: "M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",
  61490. special: !0,
  61491. name: "leftBendArrow"
  61492. },
  61493. {
  61494. viewBox: [1024, 1024],
  61495. path: "M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",
  61496. special: !0,
  61497. name: "rightBendArrow"
  61498. }
  61499. ]
  61500. },
  61501. {
  61502. type: "其他形状",
  61503. children: [
  61504. {
  61505. viewBox: [1024, 1024],
  61506. path: "M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",
  61507. special: !0,
  61508. name: "heart"
  61509. },
  61510. {
  61511. viewBox: [1024, 1024],
  61512. path: "M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",
  61513. special: !0,
  61514. name: "star5"
  61515. },
  61516. {
  61517. viewBox: [1024, 1024],
  61518. path: "M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",
  61519. special: !0,
  61520. name: "cloud"
  61521. },
  61522. {
  61523. viewBox: [1024, 1024],
  61524. path: "M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",
  61525. special: !0,
  61526. name: "lightningBolt"
  61527. },
  61528. {
  61529. viewBox: [1024, 1024],
  61530. path: "M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",
  61531. special: !0,
  61532. name: "fire"
  61533. },
  61534. {
  61535. viewBox: [1024, 1024],
  61536. path: "M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",
  61537. special: !0,
  61538. name: "clothes"
  61539. },
  61540. {
  61541. viewBox: [1024, 1024],
  61542. path: "M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",
  61543. special: !0,
  61544. name: "folder"
  61545. },
  61546. {
  61547. viewBox: [1024, 1024],
  61548. path: "M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",
  61549. special: !0,
  61550. name: "phone"
  61551. },
  61552. {
  61553. viewBox: [1024, 1024],
  61554. path: "M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",
  61555. special: !0,
  61556. name: "penguin"
  61557. },
  61558. {
  61559. viewBox: [1024, 1024],
  61560. path: "M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",
  61561. special: !0,
  61562. name: "bird"
  61563. },
  61564. {
  61565. viewBox: [1024, 1024],
  61566. path: "M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",
  61567. special: !0,
  61568. name: "funnel"
  61569. },
  61570. {
  61571. viewBox: [1024, 1024],
  61572. path: "M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",
  61573. special: !0,
  61574. name: "crown"
  61575. },
  61576. {
  61577. viewBox: [1024, 1024],
  61578. path: "M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",
  61579. special: !0,
  61580. name: "like"
  61581. },
  61582. {
  61583. viewBox: [1024, 1024],
  61584. path: "M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",
  61585. special: !0,
  61586. name: "people"
  61587. },
  61588. {
  61589. viewBox: [1024, 1024],
  61590. path: "M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",
  61591. special: !0,
  61592. name: "fox"
  61593. },
  61594. {
  61595. viewBox: [1024, 1024],
  61596. path: "M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",
  61597. special: !0,
  61598. name: "bird2"
  61599. },
  61600. {
  61601. viewBox: [1024, 1024],
  61602. path: "M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",
  61603. special: !0,
  61604. name: "house"
  61605. },
  61606. {
  61607. viewBox: [1024, 1024],
  61608. path: "M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",
  61609. special: !0,
  61610. name: "nail"
  61611. },
  61612. {
  61613. viewBox: [1024, 1024],
  61614. path: "M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",
  61615. special: !0,
  61616. name: "wrench"
  61617. }
  61618. ]
  61619. },
  61620. {
  61621. type: "线性",
  61622. children: [
  61623. {
  61624. viewBox: [1024, 1024],
  61625. path: "M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",
  61626. special: !0,
  61627. outlined: !0,
  61628. name: "peopleLine"
  61629. },
  61630. {
  61631. viewBox: [1024, 1024],
  61632. path: "M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",
  61633. special: !0,
  61634. outlined: !0,
  61635. name: "envelopLine"
  61636. },
  61637. {
  61638. viewBox: [1024, 1024],
  61639. path: "M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",
  61640. special: !0,
  61641. outlined: !0,
  61642. name: "pcLine"
  61643. },
  61644. {
  61645. viewBox: [1024, 1024],
  61646. path: "M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",
  61647. special: !0,
  61648. outlined: !0,
  61649. name: "forbidLine"
  61650. },
  61651. {
  61652. viewBox: [1024, 1024],
  61653. path: "M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",
  61654. special: !0,
  61655. outlined: !0,
  61656. name: "paperLine"
  61657. },
  61658. {
  61659. viewBox: [1024, 1024],
  61660. path: "M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",
  61661. special: !0,
  61662. outlined: !0,
  61663. name: "bowl"
  61664. },
  61665. {
  61666. viewBox: [1024, 1024],
  61667. path: "M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",
  61668. special: !0,
  61669. outlined: !0,
  61670. name: "manLine"
  61671. },
  61672. {
  61673. viewBox: [1024, 1024],
  61674. path: "M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",
  61675. special: !0,
  61676. outlined: !0,
  61677. name: "wrongLine"
  61678. }
  61679. ]
  61680. }
  61681. ],
  61682. Hn = {
  61683. rect: "rect",
  61684. roundRect: "roundRect",
  61685. snip2DiagRect: "cutRectDiagonal",
  61686. snip1Rect: "cutRectSingle",
  61687. snip2SameRect: "cutRectSameSide",
  61688. round2DiagRect: "roundRectDiagonal",
  61689. round1Rect: "roundRectSingle",
  61690. round2SameRect: "roundRectSameSide",
  61691. mathMinus: "rect",
  61692. flowChartPunchedCard: "cutRectSingle",
  61693. flowChartProcess: "rect",
  61694. flowChartAlternateProcess: "roundRect",
  61695. flowChartPredefinedProcess: "rect",
  61696. flowChartInternalStorage: "rect",
  61697. flowChartDocument: "rect",
  61698. flowChartMultidocument: "rect",
  61699. flowChartDisplay: "rect",
  61700. ribbon2: "rect",
  61701. ribbon: "rect",
  61702. ellipseRibbon2: "rect",
  61703. ellipseRibbon: "rect",
  61704. verticalScroll: "rect",
  61705. horizontalScroll: "rect"
  61706. },
  61707. Xn = {
  61708. ellipse: "ellipse",
  61709. triangle: "triangle",
  61710. rtTriangle: "rtTriangle",
  61711. parallelogram: "parallelogramLeft",
  61712. trapezoid: "trapezoid",
  61713. diamond: "diamond",
  61714. hexagon: "hexagon",
  61715. pentagon: "pentagon",
  61716. octagon: "octagon",
  61717. dodecagon: "dodecagon",
  61718. pie: "pie",
  61719. chord: "chord",
  61720. teardrop: "teardrop",
  61721. frame: "ringRect",
  61722. corner: "L",
  61723. diagStripe: "diagStripe",
  61724. plus: "plus",
  61725. donut: "donut",
  61726. mathPlus: "plus",
  61727. mathMultiply: "multiply",
  61728. flowChartManualInput: "flowChartManualInputLeft",
  61729. flowChartMerge: "triangle",
  61730. flowChartManualOperation: "trapezoid",
  61731. flowChartPunchedTape: "wave",
  61732. flowChartCollate: "flowChartCollate",
  61733. flowChartDecision: "diamond",
  61734. flowChartInputOutput: "parallelogramLeft",
  61735. flowChartTerminator: "flowChartTerminator",
  61736. flowChartConnector: "ellipse",
  61737. flowChartExtract: "triangle",
  61738. flowChartOnlineStorage: "flowChartOnlineStorage",
  61739. flowChartDelay: "flowChartDelay",
  61740. flowChartMagneticTape: "flowChartMagneticTape",
  61741. irregularSeal1: "star8",
  61742. irregularSeal2: "star8",
  61743. star6: "star8",
  61744. star7: "star8",
  61745. star8: "star8",
  61746. star10: "star8",
  61747. star12: "star8",
  61748. star16: "star8",
  61749. star24: "star8",
  61750. star32: "star8",
  61751. star4: "star4",
  61752. wave: "wave",
  61753. doubleWave: "doubleWave",
  61754. wedgeRectCallout: "message",
  61755. wedgeRoundRectCallout: "roundMessage",
  61756. wedgeEllipseCallout: "roundMessage",
  61757. cloudCallout: "roundMessage",
  61758. borderCallout1: "message",
  61759. borderCallout2: "message",
  61760. borderCallout3: "message",
  61761. accentCallout1: "message",
  61762. accentCallout2: "message",
  61763. accentCallout3: "message",
  61764. callout1: "message",
  61765. callout3: "message",
  61766. accentBorderCallout1: "message",
  61767. accentBorderCallout2: "message",
  61768. accentBorderCallout3: "message"
  61769. },
  61770. Yn = {
  61771. rightArrow: "rightArrow",
  61772. leftArrow: "leftArrow",
  61773. upArrow: "upArrow",
  61774. downArrow: "downArrow",
  61775. leftRightArrow: "leftRightArrow",
  61776. upDownArrow: "upDownArrow",
  61777. quadArrow: "quadArrow",
  61778. bentArrow: "rightArrow",
  61779. uturnArrow: "downArrow",
  61780. leftUpArrow: "leftUpArrow",
  61781. bentUpArrow: "bentUpArrow",
  61782. curvedRightArrow: "rightArrow",
  61783. curvedLeftArrow: "leftArrow",
  61784. curvedUpArrow: "upArrow",
  61785. curvedDownArrow: "downArrow",
  61786. stripedRightArrow: "rightArrow",
  61787. homePlate: "homePlateRight",
  61788. notchedRightArrow: "notchedRightArrow",
  61789. chevron: "chevronRight",
  61790. rightArrowCallout: "rightArrowCallout",
  61791. leftArrowCallout: "leftArrowCallout",
  61792. upArrowCallout: "leftArrowCallout",
  61793. downArrowCallout: "leftArrowCallout",
  61794. circularArrow: "downArrow",
  61795. flowChartOffpageConnector: "homePlateRight"
  61796. },
  61797. Kn = {
  61798. heart: "heart",
  61799. lightningBolt: "lightningBolt",
  61800. cloud: "cloud",
  61801. star5: "star5"
  61802. },
  61803. Zn = {
  61804. snip2DiagRect: "adj2",
  61805. snip2SameRect: "adj1",
  61806. round2DiagRect: "adj1",
  61807. round2SameRect: "adj1",
  61808. corner: "adj2"
  61809. },
  61810. Qn = function (e) {
  61811. return void 0 !== Hn[e] ? "rect" : void 0 !== Xn[e] ? "common" : void 0 !== Yn[e] ? "arrow" : void 0 !== Kn[e] ? "other" : void 0
  61812. },
  61813. Jn = function (e, t, r, n, i, o) {
  61814. var a,
  61815. s = e.spPr.prstGeom.avLst.gd,
  61816. l = n.defaultValue
  61817. if (Array.isArray(s)) {
  61818. var c,
  61819. u = e.spPr.prstGeom.avLst.gd,
  61820. f = u.findLast(function (e) {
  61821. var r
  61822. return (
  61823. (null === e || void 0 === e || null === (r = e.attributes) || void 0 === r ? void 0 : r.name) &&
  61824. e.attributes.name === Zn[t]
  61825. )
  61826. })
  61827. f &&
  61828. null !== f &&
  61829. void 0 !== f &&
  61830. null !== (c = f.attributes) &&
  61831. void 0 !== c &&
  61832. c.fmla &&
  61833. (a = f.attributes.fmla.replace(/[^\d]/g, ""))
  61834. } else {
  61835. var p
  61836. ;("adj" !== s.attributes.name && "adj1" !== s.attributes.name) ||
  61837. null === (p = s.attributes) ||
  61838. void 0 === p ||
  61839. !p.fmla ||
  61840. ((a = s.attributes.fmla.replace(/[^\d]/g, "")), "plus" === t && (a = 2 * (5e4 - a)))
  61841. }
  61842. if (void 0 !== a) {
  61843. var d = E(n.range, 2),
  61844. h = d[0],
  61845. m = d[1]
  61846. ;(l = a / 1e5), l < h ? (l = h) : l > m && (l = m)
  61847. }
  61848. return {
  61849. keypoint: l,
  61850. path: n.formula(i / r, o / r, l)
  61851. }
  61852. },
  61853. $n = function (e, t) {
  61854. return Vn[e].children.find(function (e) {
  61855. return e.name === t
  61856. })
  61857. },
  61858. ei = function (e, t, r) {
  61859. var n = {
  61860. path: "M 0 0 L 200 0 L 200 200 L 0 200 Z",
  61861. viewBox: [200, 200]
  61862. },
  61863. i = r.width,
  61864. o = r.height,
  61865. a = r.sp,
  61866. s = Qn(e)
  61867. switch (s) {
  61868. case "rect":
  61869. var c,
  61870. u,
  61871. f = Hn[e],
  61872. p = Wn[f]
  61873. if ("rect" !== f)
  61874. if (((n.viewBox = [i / t, o / t]), (n["pathFormula"] = f), p))
  61875. if (
  61876. ((n.path = p.formula(i / t, o / t, p.defaultValue)),
  61877. (n["keypoint"] = p.defaultValue),
  61878. "editable" in p && null !== (c = a.spPr.prstGeom) && void 0 !== c && null !== (u = c.avLst) && void 0 !== u && u.gd)
  61879. ) {
  61880. var d = Jn(a, e, t, p, i, o)
  61881. l.a.merge(n, d)
  61882. }
  61883. break
  61884. case "common":
  61885. var h = Xn[e]
  61886. if (h) {
  61887. var m = Wn[h]
  61888. if (m) {
  61889. var g, y
  61890. if (
  61891. ((n.viewBox = [i / t, o / t]),
  61892. (n["pathFormula"] = h),
  61893. (n.path = m.formula(i / t, o / t, m.defaultValue)),
  61894. (n["keypoint"] = m.defaultValue),
  61895. "editable" in m && null !== (g = a.spPr.prstGeom) && void 0 !== g && null !== (y = g.avLst) && void 0 !== y && y.gd)
  61896. ) {
  61897. var v = Jn(a, e, t, m, i, o)
  61898. l.a.merge(n, v)
  61899. }
  61900. } else {
  61901. var b = $n(1, h)
  61902. b && (n = b)
  61903. }
  61904. }
  61905. break
  61906. case "arrow":
  61907. var w = Yn[e]
  61908. if (w) {
  61909. var x = $n(2, w)
  61910. x && (n = x)
  61911. }
  61912. break
  61913. case "other":
  61914. var A = Kn[e]
  61915. if (A) {
  61916. var _ = $n(3, A)
  61917. _ && (n = _)
  61918. }
  61919. break
  61920. }
  61921. return n
  61922. },
  61923. ti = function (e, t, r, n) {
  61924. var i = r || {},
  61925. o = i.ext,
  61926. a = e.gdLst,
  61927. s = e.pathLst,
  61928. l = a.gd,
  61929. c = s.path,
  61930. u = Array.isArray(c) ? c[0].attributes : null !== c && void 0 !== c && c.attributes ? c.attributes : {},
  61931. f = u.w,
  61932. p = void 0 === f ? 1 : f,
  61933. d = u.h,
  61934. h = void 0 === d ? 1 : d,
  61935. m = [1, 1]
  61936. if (o) {
  61937. var g = (null === o || void 0 === o ? void 0 : o.attributes) || {},
  61938. y = g.cx,
  61939. v = g.cy
  61940. if (y && v) {
  61941. var b = (y / (+p || 1)).toFixed(1),
  61942. w = (v / (+h || 1)).toFixed(1)
  61943. Array.isArray(c), (m[0] = +b || 1), (m[1] = +w || 1)
  61944. }
  61945. }
  61946. l &&
  61947. Array.isArray(l) &&
  61948. l.forEach(function (e) {
  61949. var t = e.attributes || {},
  61950. r = t.name,
  61951. n = t.fmla
  61952. if (n && r) {
  61953. var i = n.replace("w", p).replace("h", h).split(" "),
  61954. o = void 0
  61955. if (i.length > 0) {
  61956. var a = i[0].split(""),
  61957. s = 0
  61958. a.forEach(function (e) {
  61959. switch (e) {
  61960. case "*":
  61961. 0 === s ? ((o = Math.round(i[1] * i[2])), (s = 3)) : ((o = Math.round(o * i[s])), s++)
  61962. break
  61963. case "/":
  61964. 0 === s ? ((o = Math.round(i[1] / i[2])), (s = 3)) : ((o = Math.round(o / i[s])), s++)
  61965. break
  61966. }
  61967. })
  61968. }
  61969. }
  61970. })
  61971. var x = []
  61972. if (t)
  61973. for (
  61974. var A = function () {
  61975. switch (t[_].name) {
  61976. case "moveTo":
  61977. var e = t[_].elements[0].attributes,
  61978. r = e.x,
  61979. i = e.y,
  61980. o = Dr(r * m[0]) / n,
  61981. a = Dr(i * m[1]) / n,
  61982. s = "M ".concat(o, " ").concat(a)
  61983. x.push(s)
  61984. break
  61985. case "lnTo":
  61986. var l = t[_].elements[0].attributes,
  61987. c = l.x,
  61988. u = l.y,
  61989. f = Dr(c * m[0]) / n,
  61990. p = Dr(u * m[1]) / n,
  61991. d = "L ".concat(f, " ").concat(p)
  61992. x.push(d)
  61993. break
  61994. case "cubicBezTo":
  61995. var h = t[_].elements,
  61996. g = "C"
  61997. h.forEach(function (e) {
  61998. var t = (null === e || void 0 === e ? void 0 : e.attributes) || {},
  61999. r = t.x,
  62000. i = t.y,
  62001. o = Dr(r * m[0]) / n,
  62002. a = Dr(i * m[1]) / n
  62003. g = g + " " + o + " " + a
  62004. }),
  62005. x.push(g)
  62006. break
  62007. case "close":
  62008. x.push("Z")
  62009. break
  62010. }
  62011. },
  62012. _ = 0;
  62013. _ < t.length;
  62014. _++
  62015. )
  62016. A()
  62017. return x.join(" ")
  62018. },
  62019. ri = function (e, t, r, n, i) {
  62020. var o,
  62021. a,
  62022. s,
  62023. l = "",
  62024. c = (null === e || void 0 === e || null === (o = e.br) || void 0 === o ? void 0 : o.length) || 0,
  62025. u = (null === e || void 0 === e || null === (a = e.endParaRPr) || void 0 === a ? void 0 : a.length) || 0,
  62026. f = 0
  62027. t &&
  62028. (t =
  62029. null === (s = t) || void 0 === s
  62030. ? void 0
  62031. : s.filter(function (e) {
  62032. return "r" === e.name || "br" === e.name
  62033. }))
  62034. var p = i.textStyleOtherDef,
  62035. d = i.slidePer,
  62036. h = [],
  62037. m = null === e || void 0 === e ? void 0 : e.lstStyle
  62038. return (
  62039. Object.entries(e).forEach(function (o) {
  62040. var a = E(o, 2),
  62041. s = a[0],
  62042. g = a[1]
  62043. switch (s) {
  62044. case "r":
  62045. var y = Array.isArray(g) ? g : [g]
  62046. y.forEach(function (o) {
  62047. var a,
  62048. s,
  62049. l,
  62050. g,
  62051. y,
  62052. v,
  62053. b,
  62054. w,
  62055. x,
  62056. A,
  62057. _,
  62058. T,
  62059. E,
  62060. S,
  62061. C,
  62062. k,
  62063. L,
  62064. P,
  62065. O,
  62066. j,
  62067. R = [],
  62068. I = o.t._text || "",
  62069. N = {
  62070. bold:
  62071. "1" ===
  62072. (null === o ||
  62073. void 0 === o ||
  62074. null === (a = o.rPr) ||
  62075. void 0 === a ||
  62076. null === (s = a.attributes) ||
  62077. void 0 === s
  62078. ? void 0
  62079. : s.b) ||
  62080. "1" ===
  62081. (null === m ||
  62082. void 0 === m ||
  62083. null === (l = m.defRPr) ||
  62084. void 0 === l ||
  62085. null === (g = l.attributes) ||
  62086. void 0 === g
  62087. ? void 0
  62088. : g.b) ||
  62089. "b" ===
  62090. (null === r ||
  62091. void 0 === r ||
  62092. null === (y = r.txBody) ||
  62093. void 0 === y ||
  62094. null === (v = y.bodyPr) ||
  62095. void 0 === v ||
  62096. null === (b = v.attributes) ||
  62097. void 0 === b
  62098. ? void 0
  62099. : b.anchor)
  62100. ? 1
  62101. : 0,
  62102. em:
  62103. "1" ===
  62104. (null === o ||
  62105. void 0 === o ||
  62106. null === (w = o.rPr) ||
  62107. void 0 === w ||
  62108. null === (x = w.attributes) ||
  62109. void 0 === x
  62110. ? void 0
  62111. : x.i)
  62112. ? 1
  62113. : 0,
  62114. underLine:
  62115. "1" ===
  62116. (null === o ||
  62117. void 0 === o ||
  62118. null === (A = o.rPr) ||
  62119. void 0 === A ||
  62120. null === (_ = A.attributes) ||
  62121. void 0 === _
  62122. ? void 0
  62123. : _.u) ||
  62124. "sng" ===
  62125. (null === o ||
  62126. void 0 === o ||
  62127. null === (T = o.rPr) ||
  62128. void 0 === T ||
  62129. null === (E = T.attributes) ||
  62130. void 0 === E
  62131. ? void 0
  62132. : E.u)
  62133. ? 1
  62134. : 0,
  62135. baseLine:
  62136. null === o ||
  62137. void 0 === o ||
  62138. null === (S = o.rPr) ||
  62139. void 0 === S ||
  62140. null === (C = S.attributes) ||
  62141. void 0 === C
  62142. ? void 0
  62143. : C.baseline
  62144. },
  62145. M = Xr(N.underLine, o, r, n, null === e || void 0 === e ? void 0 : e.lstStyle, i),
  62146. D =
  62147. (null === (k = o.rPr) ||
  62148. void 0 === k ||
  62149. null === (L = k.latin) ||
  62150. void 0 === L ||
  62151. null === (P = L.attributes) ||
  62152. void 0 === P
  62153. ? void 0
  62154. : P.typeface) || "Sans-serif"
  62155. if (
  62156. (D in ["Sans-serif", "Serif"] || (D = "Sans-serif"), !M.includes("font-size")) &&
  62157. null !== p &&
  62158. void 0 !== p &&
  62159. null !== (O = p.txBody.lstStyle.lvl1pPr.defRPr) &&
  62160. void 0 !== O &&
  62161. null !== (j = O.attributes) &&
  62162. void 0 !== j &&
  62163. j.sz
  62164. ) {
  62165. var B = (((null === p || void 0 === p ? void 0 : p.txBody.lstStyle.lvl1pPr.defRPr.attributes.sz) / 100) * 4) / 3
  62166. 1 !== d && (B = Math.round(B / d)), (M = "".concat(M, "font-size:").concat(B, "px;vertical-align:top;"))
  62167. }
  62168. var F = '<span style="font-family:'.concat(D, '"><span style="').concat(M, '">').concat(I, "</span></span>")
  62169. R.push(F),
  62170. N.em && (R.unshift("<em>"), R.push("</em>")),
  62171. N.bold && (R.unshift("<strong>"), R.push("</strong>")),
  62172. N.baseLine &&
  62173. (N.baseLine > 0
  62174. ? (R.unshift("<sup>"), R.push("</sup>"))
  62175. : N.baseLine < 0 && (R.unshift("<sub>"), R.push("</sub>"))),
  62176. (F = R.join("")),
  62177. c > 0 && u === c && (F = "<p>".concat(F, "</p>")),
  62178. t && t[f + 1] && "br" === t[f + 1].name && (f++, (F = "".concat(F, "<br/>"))),
  62179. f++,
  62180. h.push(F)
  62181. }),
  62182. (l = h.join(""))
  62183. break
  62184. }
  62185. }),
  62186. h.length <= 0 && (l = "<span></span>"),
  62187. l
  62188. )
  62189. },
  62190. ni = "",
  62191. ii = function (e, t) {
  62192. if (ni) {
  62193. var r, n, i, o, a, s
  62194. if (
  62195. ((null === e || void 0 === e || null === (r = e.pPr) || void 0 === r || !r.buChar) &&
  62196. (null === e || void 0 === e || null === (n = e.pPr) || void 0 === n || !n.buAutoNum) &&
  62197. (null === t ||
  62198. void 0 === t ||
  62199. null === (i = t.txBody) ||
  62200. void 0 === i ||
  62201. null === (o = i.lstStyle) ||
  62202. void 0 === o ||
  62203. null === (a = o.lvl1pPr) ||
  62204. void 0 === a ||
  62205. !a.buChar)) ||
  62206. (null !== e && void 0 !== e && null !== (s = e.pPr) && void 0 !== s && s.buNone)
  62207. ) {
  62208. var l = "bulletList" === ni ? "</ul>" : "</ol>"
  62209. return (ni = ""), l
  62210. }
  62211. } else {
  62212. var c, u, f, p, d, h
  62213. if (null !== e && void 0 !== e && null !== (c = e.pPr) && void 0 !== c && c.buChar) return (ni = "bulletList"), "<ul>"
  62214. if (
  62215. (null === e || void 0 === e || null === (u = e.pPr) || void 0 === u || !u.buNone) &&
  62216. null !== t &&
  62217. void 0 !== t &&
  62218. null !== (f = t.txBody) &&
  62219. void 0 !== f &&
  62220. null !== (p = f.lstStyle) &&
  62221. void 0 !== p &&
  62222. null !== (d = p.lvl1pPr) &&
  62223. void 0 !== d &&
  62224. d.buChar
  62225. )
  62226. return (ni = "bulletList"), "<ul>"
  62227. if (null !== e && void 0 !== e && null !== (h = e.pPr) && void 0 !== h && h.buAutoNum) return (ni = "orderedList"), "<ol>"
  62228. }
  62229. return ""
  62230. },
  62231. oi = (function () {
  62232. var e = T(
  62233. A().mark(function e(t, r, n, i, o, a, s) {
  62234. var c,
  62235. u,
  62236. f,
  62237. p,
  62238. d,
  62239. h,
  62240. m,
  62241. g,
  62242. y,
  62243. v,
  62244. b,
  62245. w,
  62246. x,
  62247. _,
  62248. T,
  62249. S,
  62250. C,
  62251. k,
  62252. L,
  62253. O,
  62254. j,
  62255. R,
  62256. I,
  62257. N,
  62258. M,
  62259. D,
  62260. B,
  62261. F,
  62262. U,
  62263. z,
  62264. q,
  62265. G,
  62266. W,
  62267. V,
  62268. H,
  62269. X,
  62270. Y,
  62271. K,
  62272. Z,
  62273. Q,
  62274. J,
  62275. $,
  62276. ee,
  62277. te,
  62278. re,
  62279. ne,
  62280. ie,
  62281. oe,
  62282. ae,
  62283. se,
  62284. le,
  62285. ce,
  62286. ue,
  62287. fe,
  62288. pe,
  62289. de,
  62290. he,
  62291. me,
  62292. ge,
  62293. ye,
  62294. ve,
  62295. be
  62296. return A().wrap(function (e) {
  62297. while (1)
  62298. switch ((e.prev = e.next)) {
  62299. case 0:
  62300. if (
  62301. ((f = []),
  62302. (p = null === t || void 0 === t ? void 0 : t.txBody.p),
  62303. (d =
  62304. null === t ||
  62305. void 0 === t ||
  62306. null === (c = t.txBody) ||
  62307. void 0 === c ||
  62308. null === (u = c.lstStyle) ||
  62309. void 0 === u
  62310. ? void 0
  62311. : u.lvl1pPr),
  62312. d && (p.lstStyle = d),
  62313. (h = t.txBody.p),
  62314. Array.isArray(h) || (h = [h]),
  62315. h.map(function (e) {
  62316. var r, n, i, o
  62317. if (
  62318. null !== e &&
  62319. void 0 !== e &&
  62320. e.r &&
  62321. null !== t &&
  62322. void 0 !== t &&
  62323. null !== (r = t.txBody) &&
  62324. void 0 !== r &&
  62325. null !== (n = r.bodyPr) &&
  62326. void 0 !== n &&
  62327. null !== (i = n.normAutofit) &&
  62328. void 0 !== i &&
  62329. null !== (o = i.attributes) &&
  62330. void 0 !== o &&
  62331. o.fontScale
  62332. ) {
  62333. var a,
  62334. s,
  62335. l,
  62336. c,
  62337. u = e.r
  62338. Array.isArray(u) || (u = [u])
  62339. var f =
  62340. ((null === t ||
  62341. void 0 === t ||
  62342. null === (a = t.txBody) ||
  62343. void 0 === a ||
  62344. null === (s = a.bodyPr) ||
  62345. void 0 === s ||
  62346. null === (l = s.normAutofit) ||
  62347. void 0 === l ||
  62348. null === (c = l.attributes) ||
  62349. void 0 === c
  62350. ? void 0
  62351. : c.fontScale) || 1e5) / 1e5
  62352. u.map(function (e) {
  62353. var t, r, n, i, o
  62354. null === (t = e) ||
  62355. void 0 === t ||
  62356. null === (r = t.rPr) ||
  62357. void 0 === r ||
  62358. null === (n = r.attributes) ||
  62359. void 0 === n ||
  62360. !n.sz ||
  62361. (null !== (i = e.rPr) && void 0 !== i && null !== (o = i.attributes) && void 0 !== o && o.baseline)
  62362. ? (e = P(
  62363. P({}, e),
  62364. {},
  62365. {
  62366. rpr: {
  62367. attributes: {
  62368. sz: (e.rPr.attributes.sz *= f)
  62369. }
  62370. }
  62371. }
  62372. ))
  62373. : (e.rPr.attributes.sz *= f)
  62374. })
  62375. }
  62376. }),
  62377. !Br(t))
  62378. ) {
  62379. e.next = 29
  62380. break
  62381. }
  62382. if (
  62383. ((b = null === n || void 0 === n || null === (v = n.Relationships) || void 0 === v ? void 0 : v.Relationship),
  62384. Array.isArray(b)
  62385. ? b.forEach(function (e) {
  62386. var t
  62387. e.attributes.Type.includes("slideLayout") &&
  62388. (w = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target)
  62389. })
  62390. : (w =
  62391. null === n ||
  62392. void 0 === n ||
  62393. null === (x = n.Relationships) ||
  62394. void 0 === x ||
  62395. null === (_ = x.Relationship) ||
  62396. void 0 === _ ||
  62397. null === (T = _.attributes) ||
  62398. void 0 === T
  62399. ? void 0
  62400. : T.Target),
  62401. !w)
  62402. ) {
  62403. e.next = 29
  62404. break
  62405. }
  62406. return (U = o["ppt".concat(w.replace("..", ""))]), (e.next = 14), U.async("string")
  62407. case 14:
  62408. return (
  62409. (z = e.sent),
  62410. (q = Ir(z, Fr)),
  62411. (G =
  62412. null === q ||
  62413. void 0 === q ||
  62414. null === (S = q.sldLayout) ||
  62415. void 0 === S ||
  62416. null === (C = S.cSld) ||
  62417. void 0 === C ||
  62418. null === (k = C.spTree) ||
  62419. void 0 === k
  62420. ? void 0
  62421. : k.sp),
  62422. (W =
  62423. (null === t ||
  62424. void 0 === t ||
  62425. null === (L = t.nvSpPr) ||
  62426. void 0 === L ||
  62427. null === (O = L.nvPr) ||
  62428. void 0 === O ||
  62429. null === (j = O.ph) ||
  62430. void 0 === j ||
  62431. null === (R = j.attributes) ||
  62432. void 0 === R
  62433. ? void 0
  62434. : R.type) ||
  62435. (null === t ||
  62436. void 0 === t ||
  62437. null === (I = t.nvSpPr) ||
  62438. void 0 === I ||
  62439. null === (N = I.nvPr) ||
  62440. void 0 === N ||
  62441. null === (M = N.ph) ||
  62442. void 0 === M ||
  62443. null === (D = M.attributes) ||
  62444. void 0 === D
  62445. ? void 0
  62446. : D.idx)),
  62447. (V = o["ppt/slideMasters/".concat(i)]),
  62448. (e.next = 21),
  62449. V.async("string")
  62450. )
  62451. case 21:
  62452. ;(H = e.sent),
  62453. (X = Ir(H, Fr)),
  62454. (Y = s || {}),
  62455. (K = Y.defaultTextStyle),
  62456. (Z = (null === K || void 0 === K || null === (B = K.defRPr) || void 0 === B ? void 0 : B.attributes) || {}),
  62457. (Q = Z.sz),
  62458. (g = $r(X, "1" === W ? "body" : W, Q)),
  62459. (y = $r(X, "other", Q)),
  62460. (m =
  62461. null === (F = Mr(G)) || void 0 === F
  62462. ? void 0
  62463. : F.find(function (e) {
  62464. var t, r, n, i, o, a, s, l
  62465. return (
  62466. ((null === e ||
  62467. void 0 === e ||
  62468. null === (t = e.nvSpPr) ||
  62469. void 0 === t ||
  62470. null === (r = t.nvPr) ||
  62471. void 0 === r ||
  62472. null === (n = r.ph) ||
  62473. void 0 === n ||
  62474. null === (i = n.attributes) ||
  62475. void 0 === i
  62476. ? void 0
  62477. : i.type) ||
  62478. (null === e ||
  62479. void 0 === e ||
  62480. null === (o = e.nvSpPr) ||
  62481. void 0 === o ||
  62482. null === (a = o.nvPr) ||
  62483. void 0 === a ||
  62484. null === (s = a.ph) ||
  62485. void 0 === s ||
  62486. null === (l = s.attributes) ||
  62487. void 0 === l
  62488. ? void 0
  62489. : l.idx)) === W
  62490. )
  62491. })),
  62492. (m && "1" !== W) || (m = g)
  62493. case 29:
  62494. if (
  62495. ((J = l.a.cloneDeep({
  62496. textStyleDef: g,
  62497. textStyleOtherDef: y,
  62498. colorMap: a,
  62499. slidePer: s.slidePer,
  62500. defaultTextStyle: null === s || void 0 === s ? void 0 : s.defaultTextStyle
  62501. })),
  62502. ($ = ""),
  62503. (ee = !1),
  62504. (ni = ""),
  62505. (te = Object.keys(p)),
  62506. te.forEach(function (e) {
  62507. ;/^\d+$/.test(e) && (ee = !0)
  62508. }),
  62509. (re = +i.replace(/[^0-9]/gi, "")),
  62510. !ee)
  62511. ) {
  62512. e.next = 40
  62513. break
  62514. }
  62515. Object.entries(p).forEach(function (e, n) {
  62516. var i,
  62517. o,
  62518. a,
  62519. s,
  62520. c,
  62521. u,
  62522. d,
  62523. h,
  62524. y,
  62525. v,
  62526. b,
  62527. w,
  62528. x,
  62529. A,
  62530. _,
  62531. T,
  62532. S,
  62533. C,
  62534. k,
  62535. L,
  62536. P,
  62537. O,
  62538. j,
  62539. R,
  62540. I,
  62541. N,
  62542. M,
  62543. D,
  62544. B = E(e, 2),
  62545. F = B[1],
  62546. U = ii(F, m)
  62547. if (
  62548. (U && f.push(U),
  62549. null !== p && void 0 !== p && p.lstStyle && (F["lstStyle"] = l.a.cloneDeep(p.lstStyle)),
  62550. ($ = ri(F, null === r || void 0 === r || null === (i = r[n]) || void 0 === i ? void 0 : i.elements, m, re, J)),
  62551. $)
  62552. ) {
  62553. if (
  62554. ((null !== F && void 0 !== F && null !== (o = F.pPr) && void 0 !== o && o.buChar) ||
  62555. (null !== F && void 0 !== F && null !== (a = F.pPr) && void 0 !== a && a.buAutoNum) ||
  62556. (null !== (s = m) &&
  62557. void 0 !== s &&
  62558. null !== (c = s.txBody) &&
  62559. void 0 !== c &&
  62560. null !== (u = c.lstStyle) &&
  62561. void 0 !== u &&
  62562. null !== (d = u.lvl1pPr) &&
  62563. void 0 !== d &&
  62564. d.buChar)) &&
  62565. (null === F || void 0 === F || null === (h = F.pPr) || void 0 === h || !h.buNone) &&
  62566. $
  62567. ) {
  62568. var z,
  62569. q = $.match(/font-size:\d+(.\d+)?px/g) || [],
  62570. G = 40
  62571. if (null !== q && void 0 !== q && q[0])
  62572. G = (null === (z = q[0].match(/\d+(.\d+)?/g)) || void 0 === z ? void 0 : z[0]) || 40
  62573. f.push('<li style="font-size:'.concat(G, 'px">'))
  62574. }
  62575. var W = Yr(
  62576. null === F || void 0 === F ? void 0 : F.pPr,
  62577. null === F || void 0 === F ? void 0 : F.lstStyle,
  62578. null !== (y = m) &&
  62579. void 0 !== y &&
  62580. null !== (v = y.nvSpPr) &&
  62581. void 0 !== v &&
  62582. null !== (b = v.nvPr) &&
  62583. void 0 !== b &&
  62584. null !== (w = b.ph) &&
  62585. void 0 !== w &&
  62586. null !== (x = w.attributes) &&
  62587. void 0 !== x &&
  62588. x.type
  62589. ? m.nvSpPr.nvPr.ph.attributes
  62590. : null !== (A = m) &&
  62591. void 0 !== A &&
  62592. null !== (_ = A.txBody) &&
  62593. void 0 !== _ &&
  62594. null !== (T = _.lstStyle) &&
  62595. void 0 !== T &&
  62596. T.lvl1pPr
  62597. ? null === (S = m) || void 0 === S || null === (C = S.txBody) || void 0 === C
  62598. ? void 0
  62599. : C.lstStyle
  62600. : null === (k = g) || void 0 === k || null === (L = k.txBody) || void 0 === L
  62601. ? void 0
  62602. : L.lstStyle,
  62603. null === t || void 0 === t || null === (P = t.txBody) || void 0 === P ? void 0 : P.bodyPr
  62604. )
  62605. if ($.includes("<br/>")) {
  62606. var V = $.split("<br/>")
  62607. V.forEach(function (e) {
  62608. f.push("<p style=".concat(W, ">").concat(e, "</p>"))
  62609. })
  62610. } else f.push("<p style=".concat(W, ">").concat($, "</p>"))
  62611. !(
  62612. (null !== F && void 0 !== F && null !== (O = F.pPr) && void 0 !== O && O.buChar) ||
  62613. (null !== F && void 0 !== F && null !== (j = F.pPr) && void 0 !== j && j.buAutoNum) ||
  62614. (null !== (R = m) &&
  62615. void 0 !== R &&
  62616. null !== (I = R.txBody) &&
  62617. void 0 !== I &&
  62618. null !== (N = I.lstStyle) &&
  62619. void 0 !== N &&
  62620. null !== (M = N.lvl1pPr) &&
  62621. void 0 !== M &&
  62622. M.buChar)
  62623. ) ||
  62624. (null !== F && void 0 !== F && null !== (D = F.pPr) && void 0 !== D && D.buNone) ||
  62625. !$ ||
  62626. f.push("</li>")
  62627. }
  62628. }),
  62629. (e.next = 48)
  62630. break
  62631. case 40:
  62632. if (
  62633. ((ge = Yr(
  62634. null === p || void 0 === p ? void 0 : p.pPr,
  62635. null === p || void 0 === p ? void 0 : p.lstStyle,
  62636. null !== (ne = m) &&
  62637. void 0 !== ne &&
  62638. null !== (ie = ne.nvSpPr) &&
  62639. void 0 !== ie &&
  62640. null !== (oe = ie.nvPr) &&
  62641. void 0 !== oe &&
  62642. null !== (ae = oe.ph) &&
  62643. void 0 !== ae &&
  62644. null !== (se = ae.attributes) &&
  62645. void 0 !== se &&
  62646. se.type
  62647. ? m.nvSpPr.nvPr.ph.attributes
  62648. : null !== (le = m) &&
  62649. void 0 !== le &&
  62650. null !== (ce = le.txBody) &&
  62651. void 0 !== ce &&
  62652. null !== (ue = ce.lstStyle) &&
  62653. void 0 !== ue &&
  62654. ue.lvl1pPr
  62655. ? null === (fe = m) || void 0 === fe || null === (pe = fe.txBody) || void 0 === pe
  62656. ? void 0
  62657. : pe.lstStyle
  62658. : null === (de = g) || void 0 === de || null === (he = de.txBody) || void 0 === he
  62659. ? void 0
  62660. : he.lstStyle,
  62661. null === t || void 0 === t || null === (me = t.txBody) || void 0 === me ? void 0 : me.bodyPr
  62662. )),
  62663. ($ = ri(p, null === r || void 0 === r ? void 0 : r[0].elements, m, re, J)),
  62664. $ && "<span></span>" !== $)
  62665. ) {
  62666. e.next = 44
  62667. break
  62668. }
  62669. return e.abrupt("return")
  62670. case 44:
  62671. ;(ye = ii(p, m)),
  62672. ye && (f.push(ye), f.push("<li>")),
  62673. $.includes("</p>")
  62674. ? (($ = $.replaceAll("<p>", "<p style=".concat(ge, ">"))), f.push($))
  62675. : $.includes("<br/>")
  62676. ? ((ve = $.split("<br/>")),
  62677. ve.forEach(function (e) {
  62678. f.push("<p style=".concat(ge, ">").concat(e, "</p>"))
  62679. }))
  62680. : f.push("<p style=".concat(ge, ">").concat($, "</p>")),
  62681. ye && (f.push("</li>"), (be = "<ul>" === ye ? "</ul>" : "<ol>"), f.push(be))
  62682. case 48:
  62683. return e.abrupt("return", {
  62684. textContent: f.join(""),
  62685. sp: t
  62686. })
  62687. case 49:
  62688. case "end":
  62689. return e.stop()
  62690. }
  62691. }, e)
  62692. })
  62693. )
  62694. return function (t, r, n, i, o, a, s) {
  62695. return e.apply(this, arguments)
  62696. }
  62697. })(),
  62698. ai = (function () {
  62699. var e = T(
  62700. A().mark(function e(t, r, n, i, o, a) {
  62701. var s,
  62702. c,
  62703. u,
  62704. f,
  62705. p,
  62706. d,
  62707. h,
  62708. m,
  62709. g,
  62710. y,
  62711. v,
  62712. b,
  62713. w,
  62714. x,
  62715. _,
  62716. T,
  62717. E,
  62718. S,
  62719. C,
  62720. k,
  62721. L,
  62722. P,
  62723. O,
  62724. j,
  62725. R,
  62726. I,
  62727. N,
  62728. M,
  62729. D,
  62730. B,
  62731. F,
  62732. U,
  62733. z,
  62734. q,
  62735. G,
  62736. W,
  62737. V,
  62738. H,
  62739. X,
  62740. Y,
  62741. K,
  62742. Z,
  62743. Q,
  62744. J,
  62745. $,
  62746. ee,
  62747. te,
  62748. re,
  62749. ne,
  62750. ie,
  62751. oe,
  62752. ae,
  62753. se,
  62754. le,
  62755. ce,
  62756. ue,
  62757. fe,
  62758. pe,
  62759. de,
  62760. he,
  62761. me,
  62762. ge,
  62763. ye,
  62764. ve,
  62765. be,
  62766. we,
  62767. xe,
  62768. Ae,
  62769. _e,
  62770. Te,
  62771. Ee,
  62772. Se,
  62773. Ce,
  62774. ke,
  62775. Le,
  62776. Pe,
  62777. Oe,
  62778. je,
  62779. Re,
  62780. Ie,
  62781. Ne,
  62782. Me,
  62783. De,
  62784. Be,
  62785. Fe,
  62786. Ue,
  62787. ze,
  62788. qe,
  62789. Ge,
  62790. We,
  62791. Ve,
  62792. He,
  62793. Xe,
  62794. Ye,
  62795. Ke,
  62796. Ze,
  62797. Qe,
  62798. Je,
  62799. $e,
  62800. et,
  62801. tt,
  62802. rt,
  62803. nt,
  62804. it,
  62805. ot,
  62806. at,
  62807. st,
  62808. lt,
  62809. ct,
  62810. ut,
  62811. ft,
  62812. pt,
  62813. dt,
  62814. ht,
  62815. mt,
  62816. gt,
  62817. yt,
  62818. vt,
  62819. bt,
  62820. wt,
  62821. xt,
  62822. At,
  62823. _t,
  62824. Tt,
  62825. Et,
  62826. St,
  62827. Ct,
  62828. kt,
  62829. Lt,
  62830. Pt,
  62831. Ot,
  62832. jt,
  62833. Rt,
  62834. It,
  62835. Nt,
  62836. Mt,
  62837. Dt,
  62838. Bt,
  62839. Ft,
  62840. Ut,
  62841. zt,
  62842. qt,
  62843. Gt,
  62844. Wt,
  62845. Vt
  62846. return A().wrap(function (e) {
  62847. while (1)
  62848. switch ((e.prev = e.next)) {
  62849. case 0:
  62850. return (
  62851. (Q = {
  62852. type: "text",
  62853. id: Nr(),
  62854. left: 0,
  62855. top: 0,
  62856. width: 0,
  62857. height: 0,
  62858. content: "",
  62859. rotate: 0,
  62860. defaultFontName: "Sans-serif",
  62861. defaultColor: "#000",
  62862. lineHeight: 1.2
  62863. }),
  62864. (J = a.colorMap),
  62865. ($ = +i.replace(/[^0-9]/gi, "")),
  62866. null !== J &&
  62867. void 0 !== J &&
  62868. null !== (s = J[$]) &&
  62869. void 0 !== s &&
  62870. s["tx1"] &&
  62871. (Q.defaultColor = "#" + J[$]["tx1"]),
  62872. (e.next = 6),
  62873. oi(t, r, n, i, o, J, a)
  62874. )
  62875. case 6:
  62876. if (
  62877. ((ee = e.sent),
  62878. ee && ((Q.content = ee.textContent), (t = ee.sp)),
  62879. null !== (c = t) &&
  62880. void 0 !== c &&
  62881. null !== (u = c.spPr) &&
  62882. void 0 !== u &&
  62883. null !== (f = u.xfrm) &&
  62884. void 0 !== f &&
  62885. null !== (p = f.attributes) &&
  62886. void 0 !== p &&
  62887. p.rot &&
  62888. (Q.rotate =
  62889. (null === (te = t) || void 0 === te ? void 0 : te.spPr.xfrm.attributes.rot) / 6e4 > 180
  62890. ? (null === (re = t) || void 0 === re ? void 0 : re.spPr.xfrm.attributes.rot) / 6e4 - 360
  62891. : (null === (ne = t) || void 0 === ne ? void 0 : ne.spPr.xfrm.attributes.rot) / 6e4),
  62892. null !== (d = t) &&
  62893. void 0 !== d &&
  62894. null !== (h = d.spPr) &&
  62895. void 0 !== h &&
  62896. null !== (m = h.solidFill) &&
  62897. void 0 !== m &&
  62898. null !== (g = m.schemeClr) &&
  62899. void 0 !== g &&
  62900. null !== (y = g.attributes) &&
  62901. void 0 !== y &&
  62902. y.val
  62903. ? ((ue = Kr(
  62904. $,
  62905. J,
  62906. t.spPr.solidFill.schemeClr.attributes.val,
  62907. null === (ie = t.spPr.solidFill.schemeClr) ||
  62908. void 0 === ie ||
  62909. null === (oe = ie.lumMod) ||
  62910. void 0 === oe ||
  62911. null === (ae = oe.attributes) ||
  62912. void 0 === ae
  62913. ? void 0
  62914. : ae.val,
  62915. null === (se = t.spPr.solidFill.schemeClr) ||
  62916. void 0 === se ||
  62917. null === (le = se.lumOff) ||
  62918. void 0 === le ||
  62919. null === (ce = le.attributes) ||
  62920. void 0 === ce
  62921. ? void 0
  62922. : ce.val
  62923. )),
  62924. ue && (Q.fill = ue))
  62925. : null !== (v = t) &&
  62926. void 0 !== v &&
  62927. null !== (b = v.spPr) &&
  62928. void 0 !== b &&
  62929. null !== (w = b.solidFill) &&
  62930. void 0 !== w &&
  62931. w.srgbClr &&
  62932. (Q.fill =
  62933. "#" +
  62934. (null === (fe = t) ||
  62935. void 0 === fe ||
  62936. null === (pe = fe.spPr) ||
  62937. void 0 === pe ||
  62938. null === (de = pe.solidFill) ||
  62939. void 0 === de ||
  62940. null === (he = de.srgbClr) ||
  62941. void 0 === he
  62942. ? void 0
  62943. : he.attributes.val)),
  62944. ((null !== (x = t) &&
  62945. void 0 !== x &&
  62946. null !== (_ = x.txBody) &&
  62947. void 0 !== _ &&
  62948. null !== (T = _.bodyPr) &&
  62949. void 0 !== T &&
  62950. T.vert) ||
  62951. "vert" ===
  62952. (null === (E = t) ||
  62953. void 0 === E ||
  62954. null === (S = E.nvSpPr) ||
  62955. void 0 === S ||
  62956. null === (C = S.nvPr) ||
  62957. void 0 === C ||
  62958. null === (k = C.ph) ||
  62959. void 0 === k ||
  62960. null === (L = k.attributes) ||
  62961. void 0 === L
  62962. ? void 0
  62963. : L.orient)) &&
  62964. (Q.vertical = !0),
  62965. Q.content)
  62966. ) {
  62967. e.next = 13
  62968. break
  62969. }
  62970. return e.abrupt("return")
  62971. case 13:
  62972. return (e.next = 15), Wr(t, n, o, i)
  62973. case 15:
  62974. return (
  62975. (me = e.sent),
  62976. null !== (P = t) &&
  62977. void 0 !== P &&
  62978. null !== (O = P.spPr) &&
  62979. void 0 !== O &&
  62980. O.ln &&
  62981. ((null !== (ge = t.spPr.ln) && void 0 !== ge && ge.noFill) ||
  62982. ((_e = (null === (ye = t.spPr.ln) || void 0 === ye ? void 0 : ye.solidFill) || {}),
  62983. (Te = _e.srgbClr),
  62984. (Ee = _e.schemeClr),
  62985. (Se = "#000000"),
  62986. Te
  62987. ? (Se =
  62988. "#" +
  62989. (null === Te || void 0 === Te || null === (Ce = Te.attributes) || void 0 === Ce ? void 0 : Ce.val))
  62990. : Ee &&
  62991. (Se = zr(
  62992. J,
  62993. $,
  62994. null === Ee || void 0 === Ee || null === (ke = Ee.attributes) || void 0 === ke ? void 0 : ke.val
  62995. )),
  62996. (Le = {
  62997. style:
  62998. -1 ===
  62999. (null === (ve = t.spPr.ln) ||
  63000. void 0 === ve ||
  63001. null === (be = ve.prstDash) ||
  63002. void 0 === be ||
  63003. null === (we = be.attributes) ||
  63004. void 0 === we
  63005. ? void 0
  63006. : we.val.toLowerCase().indexOf("solid"))
  63007. ? "dashed"
  63008. : "solid",
  63009. width:
  63010. ((null === (xe = t.spPr.ln) || void 0 === xe || null === (Ae = xe.attributes) || void 0 === Ae
  63011. ? void 0
  63012. : Ae.w) || 12700) / 12700,
  63013. color: Se
  63014. }),
  63015. (Q.outline = Le))),
  63016. null !== (j = t.spPr) && void 0 !== j && null !== (R = j.effectLst) && void 0 !== R && R.outerShdw
  63017. ? ((He = {
  63018. blur: 1,
  63019. color: "#000000",
  63020. h:
  63021. ((null === (Pe = t.spPr.effectLst.outerShdw) ||
  63022. void 0 === Pe ||
  63023. null === (Oe = Pe.attributes) ||
  63024. void 0 === Oe
  63025. ? void 0
  63026. : Oe.sx) || 12700) / 12700,
  63027. v:
  63028. ((null === (je = t.spPr.effectLst.outerShdw) ||
  63029. void 0 === je ||
  63030. null === (Re = je.attributes) ||
  63031. void 0 === Re
  63032. ? void 0
  63033. : Re.sy) || 12700) / 12700
  63034. }),
  63035. null !== (Ie = t.spPr.effectLst.outerShdw) &&
  63036. void 0 !== Ie &&
  63037. null !== (Ne = Ie.attributes) &&
  63038. void 0 !== Ne &&
  63039. Ne.blurRad &&
  63040. (He.blur =
  63041. ((null === (Xe = t.spPr.effectLst.outerShdw) ||
  63042. void 0 === Xe ||
  63043. null === (Ye = Xe.attributes) ||
  63044. void 0 === Ye
  63045. ? void 0
  63046. : Ye.blurRad) /
  63047. 12700 /
  63048. 100) *
  63049. 20),
  63050. null !== (Me = t.spPr) &&
  63051. void 0 !== Me &&
  63052. null !== (De = Me.effectLst) &&
  63053. void 0 !== De &&
  63054. null !== (Be = De.outerShdw) &&
  63055. void 0 !== Be &&
  63056. null !== (Fe = Be.srgbClr) &&
  63057. void 0 !== Fe &&
  63058. null !== (Ue = Fe.attributes) &&
  63059. void 0 !== Ue &&
  63060. Ue.val
  63061. ? (He.color = "#".concat(t.spPr.effectLst.outerShdw.srgbClr.attributes.val))
  63062. : null !== (ze = t.spPr) &&
  63063. void 0 !== ze &&
  63064. null !== (qe = ze.effectLst) &&
  63065. void 0 !== qe &&
  63066. null !== (Ge = qe.outerShdw) &&
  63067. void 0 !== Ge &&
  63068. null !== (We = Ge.schemeClr) &&
  63069. void 0 !== We &&
  63070. null !== (Ve = We.attributes) &&
  63071. void 0 !== Ve &&
  63072. Ve.val &&
  63073. ((Ke = +i.replace(/[^0-9]/gi, "")),
  63074. (Ze = zr(J, Ke, t.spPr.effectLst.outerShdw.schemeClr.attributes.val)),
  63075. Ze && (He.color = Ze)),
  63076. (Q.shadow = He))
  63077. : null !== (I = t) &&
  63078. void 0 !== I &&
  63079. null !== (N = I.txBody) &&
  63080. void 0 !== N &&
  63081. null !== (M = N.p[0]) &&
  63082. void 0 !== M &&
  63083. null !== (D = M.r) &&
  63084. void 0 !== D &&
  63085. null !== (B = D.rPr) &&
  63086. void 0 !== B &&
  63087. null !== (F = B.effectLst) &&
  63088. void 0 !== F &&
  63089. F.outerShdw
  63090. ? ((ct = {
  63091. blur: 1,
  63092. color: "#000000",
  63093. h:
  63094. ((null === (Qe = t.txBody.p[0].r.rPr.effectLst.outerShdw) ||
  63095. void 0 === Qe ||
  63096. null === (Je = Qe.attributes) ||
  63097. void 0 === Je
  63098. ? void 0
  63099. : Je.sx) || 12700) / 12700,
  63100. v:
  63101. ((null === ($e = t.txBody.p[0].r.rPr.effectLst.outerShdw) ||
  63102. void 0 === $e ||
  63103. null === (et = $e.attributes) ||
  63104. void 0 === et
  63105. ? void 0
  63106. : et.sy) || 12700) / 12700
  63107. }),
  63108. null !== (tt = t.txBody.p[0].r.rPr.effectLst.outerShdw) &&
  63109. void 0 !== tt &&
  63110. null !== (rt = tt.attributes) &&
  63111. void 0 !== rt &&
  63112. rt.blurRad &&
  63113. (ct.blur =
  63114. ((null === (ut = t.txBody.p[0].r.rPr.effectLst.outerShdw) ||
  63115. void 0 === ut ||
  63116. null === (ft = ut.attributes) ||
  63117. void 0 === ft
  63118. ? void 0
  63119. : ft.blurRad) /
  63120. 12700 /
  63121. 100) *
  63122. 20),
  63123. null !== (nt = t.txBody.p[0].r.rPr.effectLst.outerShdw) &&
  63124. void 0 !== nt &&
  63125. null !== (it = nt.srgbClr) &&
  63126. void 0 !== it &&
  63127. null !== (ot = it.attributes) &&
  63128. void 0 !== ot &&
  63129. ot.val
  63130. ? (ct.color = "#".concat(t.txBody.p[0].r.rPr.effectLst.outerShdw.srgbClr.attributes.val))
  63131. : null !== (at = t.txBody.p[0].r.rPr.effectLst.outerShdw) &&
  63132. void 0 !== at &&
  63133. null !== (st = at.schemeClr) &&
  63134. void 0 !== st &&
  63135. null !== (lt = st.attributes) &&
  63136. void 0 !== lt &&
  63137. lt.val &&
  63138. ((pt = +i.replace(/[^0-9]/gi, "")),
  63139. (dt = zr(J, pt, t.txBody.p[0].r.rPr.effectLst.outerShdw.schemeClr.attributes.val)),
  63140. dt && (ct.color = dt)),
  63141. (Q.shadow = ct))
  63142. : null !== (U = t) &&
  63143. void 0 !== U &&
  63144. null !== (z = U.txBody) &&
  63145. void 0 !== z &&
  63146. null !== (q = z.p) &&
  63147. void 0 !== q &&
  63148. null !== (G = q.r) &&
  63149. void 0 !== G &&
  63150. null !== (W = G.rPr) &&
  63151. void 0 !== W &&
  63152. null !== (V = W.effectLst) &&
  63153. void 0 !== V &&
  63154. V.outerShdw &&
  63155. ((St = {
  63156. blur: 1,
  63157. color: "#000000",
  63158. h: Dr(
  63159. (null === (ht = t.txBody.p.r.rPr.effectLst.outerShdw) ||
  63160. void 0 === ht ||
  63161. null === (mt = ht.attributes) ||
  63162. void 0 === mt
  63163. ? void 0
  63164. : mt.sx) || 12700
  63165. ),
  63166. v: Dr(
  63167. (null === (gt = t.txBody.p.r.rPr.effectLst.outerShdw) ||
  63168. void 0 === gt ||
  63169. null === (yt = gt.attributes) ||
  63170. void 0 === yt
  63171. ? void 0
  63172. : yt.sy) || 12700
  63173. )
  63174. }),
  63175. null !== (vt = t.txBody.p.r.rPr.effectLst.outerShdw) &&
  63176. void 0 !== vt &&
  63177. null !== (bt = vt.attributes) &&
  63178. void 0 !== bt &&
  63179. bt.blurRad &&
  63180. (St.blur =
  63181. ((null === (Ct = t.txBody.p.r.rPr.effectLst.outerShdw) ||
  63182. void 0 === Ct ||
  63183. null === (kt = Ct.attributes) ||
  63184. void 0 === kt
  63185. ? void 0
  63186. : kt.blurRad) /
  63187. 12700 /
  63188. 100) *
  63189. 20),
  63190. null !== (wt = t.txBody.p.r.rPr.effectLst.outerShdw) &&
  63191. void 0 !== wt &&
  63192. null !== (xt = wt.srgbClr) &&
  63193. void 0 !== xt &&
  63194. null !== (At = xt.attributes) &&
  63195. void 0 !== At &&
  63196. At.val
  63197. ? (St.color = "#".concat(t.txBody.p.r.rPr.effectLst.outerShdw.srgbClr.attributes.val))
  63198. : null !== (_t = t.txBody.p.r.rPr.effectLst.outerShdw) &&
  63199. void 0 !== _t &&
  63200. null !== (Tt = _t.schemeClr) &&
  63201. void 0 !== Tt &&
  63202. null !== (Et = Tt.attributes) &&
  63203. void 0 !== Et &&
  63204. Et.val &&
  63205. ((Lt = +i.replace(/[^0-9]/gi, "")),
  63206. (Pt = zr(J, Lt, t.txBody.p.r.rPr.effectLst.outerShdw.schemeClr.attributes.val)),
  63207. Pt && (St.color = Pt)),
  63208. (Q.shadow = St)),
  63209. null !== (H = t) &&
  63210. void 0 !== H &&
  63211. null !== (X = H.txBody) &&
  63212. void 0 !== X &&
  63213. null !== (Y = X.p) &&
  63214. void 0 !== Y &&
  63215. Y.r &&
  63216. ((Dt = t.txBody.p.r),
  63217. Array.isArray(Dt) || (Dt = [Dt]),
  63218. null !== (Ot = Dt[0]) &&
  63219. void 0 !== Ot &&
  63220. null !== (jt = Ot.rPr) &&
  63221. void 0 !== jt &&
  63222. null !== (Rt = jt.solidFill) &&
  63223. void 0 !== Rt &&
  63224. null !== (It = Rt.schemeClr) &&
  63225. void 0 !== It &&
  63226. null !== (Nt = It.alpha) &&
  63227. void 0 !== Nt &&
  63228. null !== (Mt = Nt.attributes) &&
  63229. void 0 !== Mt &&
  63230. Mt.val &&
  63231. ((Bt = Dt[0].rPr.solidFill.schemeClr.alpha.attributes.val / 1e5), (Q.opacity = Bt))),
  63232. null !== (K = t) &&
  63233. void 0 !== K &&
  63234. null !== (Z = K.txBody) &&
  63235. void 0 !== Z &&
  63236. Z.p &&
  63237. ((Wt = t.txBody.p),
  63238. Array.isArray(Wt) || (Wt = [Wt]),
  63239. null !== (Ft = Wt[0]) &&
  63240. void 0 !== Ft &&
  63241. null !== (Ut = Ft.pPr) &&
  63242. void 0 !== Ut &&
  63243. null !== (zt = Ut.lnSpc) &&
  63244. void 0 !== zt &&
  63245. null !== (qt = zt.spcPct) &&
  63246. void 0 !== qt &&
  63247. null !== (Gt = qt.attributes) &&
  63248. void 0 !== Gt &&
  63249. Gt.val &&
  63250. ((Vt = Wt[0].pPr.lnSpc.spcPct.attributes.val / 1e5), (Q.lineHeight = Vt < 1 ? 1 : Vt))),
  63251. l.a.merge(Q, me),
  63252. e.abrupt("return", Q)
  63253. )
  63254. case 22:
  63255. case "end":
  63256. return e.stop()
  63257. }
  63258. }, e)
  63259. })
  63260. )
  63261. return function (t, r, n, i, o, a) {
  63262. return e.apply(this, arguments)
  63263. }
  63264. })(),
  63265. si = (function () {
  63266. var e = T(
  63267. A().mark(function e(t, r, n, i, o, a, s, c, u) {
  63268. var f,
  63269. p,
  63270. d,
  63271. h,
  63272. m,
  63273. g,
  63274. y,
  63275. v,
  63276. b,
  63277. w,
  63278. x,
  63279. _,
  63280. T,
  63281. E,
  63282. S,
  63283. C,
  63284. k,
  63285. L,
  63286. P,
  63287. O,
  63288. j,
  63289. R,
  63290. I,
  63291. N,
  63292. M,
  63293. D,
  63294. B,
  63295. F,
  63296. U,
  63297. z,
  63298. q,
  63299. G,
  63300. W,
  63301. V,
  63302. H,
  63303. X,
  63304. Y,
  63305. K,
  63306. Z,
  63307. Q,
  63308. J,
  63309. $,
  63310. ee,
  63311. te,
  63312. re,
  63313. ne,
  63314. ie,
  63315. ae,
  63316. se,
  63317. le,
  63318. ce,
  63319. ue,
  63320. fe,
  63321. pe,
  63322. de,
  63323. he,
  63324. me,
  63325. ge,
  63326. ye,
  63327. ve,
  63328. be,
  63329. we,
  63330. xe,
  63331. Ae,
  63332. _e,
  63333. Te,
  63334. Ee,
  63335. Se,
  63336. Ce,
  63337. ke,
  63338. Le,
  63339. Pe,
  63340. Oe,
  63341. je,
  63342. Re,
  63343. Ie,
  63344. Ne,
  63345. Me,
  63346. De,
  63347. Be,
  63348. Fe,
  63349. Ue,
  63350. ze,
  63351. qe,
  63352. Ge,
  63353. We,
  63354. Ve,
  63355. He,
  63356. Xe,
  63357. Ye,
  63358. Ke,
  63359. Ze,
  63360. Qe,
  63361. Je,
  63362. $e,
  63363. et,
  63364. tt,
  63365. rt,
  63366. nt,
  63367. it,
  63368. ot,
  63369. at,
  63370. st,
  63371. lt,
  63372. ct,
  63373. ut,
  63374. ft,
  63375. pt,
  63376. dt,
  63377. ht,
  63378. mt,
  63379. gt,
  63380. yt,
  63381. vt,
  63382. bt,
  63383. wt,
  63384. xt,
  63385. At,
  63386. _t,
  63387. Tt,
  63388. Et,
  63389. St,
  63390. Ct,
  63391. kt
  63392. return A().wrap(function (e) {
  63393. while (1)
  63394. switch ((e.prev = e.next)) {
  63395. case 0:
  63396. if (((E = u.colorMap), (S = u.slidePer), null === (f = t.spPr) || void 0 === f || !f.blipFill)) {
  63397. e.next = 6
  63398. break
  63399. }
  63400. return (e.next = 4), Un(a, t.spPr, n, i, o, s, E)
  63401. case 4:
  63402. return (C = e.sent), e.abrupt("return", C)
  63403. case 6:
  63404. if (
  63405. !(
  63406. (null === (p = t.spPr.prstGeom) ||
  63407. void 0 === p ||
  63408. null === (d = p.attributes) ||
  63409. void 0 === d ||
  63410. null === (h = d.prst) ||
  63411. void 0 === h
  63412. ? void 0
  63413. : h.indexOf("line")) >= 0
  63414. )
  63415. ) {
  63416. e.next = 12
  63417. break
  63418. }
  63419. return (e.next = 9), Gn(a, t, n, i, o, s, E)
  63420. case 9:
  63421. if (((L = e.sent), null === L || void 0 === L || null === (k = L[0]) || void 0 === k || !k.element)) {
  63422. e.next = 12
  63423. break
  63424. }
  63425. return e.abrupt("return", L[0])
  63426. case 12:
  63427. return (
  63428. (P = {
  63429. type: "shape",
  63430. id: Nr(),
  63431. left: 0,
  63432. top: 0,
  63433. width: 0,
  63434. height: 0,
  63435. rotate: 0,
  63436. viewBox: [200, 200],
  63437. fixedRatio: !1,
  63438. fill: "transparent",
  63439. path: "M 0 0 L 200 0 L 200 200 L 0 200 Z"
  63440. }),
  63441. (e.next = 15),
  63442. Wr(t, n, o, i)
  63443. )
  63444. case 15:
  63445. if (
  63446. ((O = e.sent),
  63447. l.a.merge(P, O),
  63448. null !== (m = t.spPr) && void 0 !== m && m.custGeom
  63449. ? ((R = ti(t.spPr.custGeom, c, null === (j = t.spPr) || void 0 === j ? void 0 : j.xfrm, S)),
  63450. R && ((P.path = R), (P.viewBox = [P.width / S, P.height / S])))
  63451. : ((D = ei(
  63452. null === (I = t.spPr) ||
  63453. void 0 === I ||
  63454. null === (N = I.prstGeom) ||
  63455. void 0 === N ||
  63456. null === (M = N.attributes) ||
  63457. void 0 === M
  63458. ? void 0
  63459. : M.prst,
  63460. S,
  63461. {
  63462. width: P.width,
  63463. height: P.height,
  63464. sp: t
  63465. }
  63466. )),
  63467. l.a.merge(P, D)),
  63468. (B = t.spPr || {}),
  63469. (F = B.noFill),
  63470. (U = B.solidFill),
  63471. (z = B.gradFill),
  63472. (q = (null === t || void 0 === t ? void 0 : t.style) || {}),
  63473. (G = q.fillRef),
  63474. ("arc" !==
  63475. (null === (g = t.spPr.prstGeom) || void 0 === g || null === (y = g.attributes) || void 0 === y
  63476. ? void 0
  63477. : y.prst) ||
  63478. U) &&
  63479. (z
  63480. ? ((W = z || {}),
  63481. (V = W.gsLst),
  63482. (H = V || {}),
  63483. (X = H.gs),
  63484. null !== X && void 0 !== X && X[0] && null !== X && void 0 !== X && X[1]
  63485. ? ((Y = X[0] || {}),
  63486. (K = Y.srgbClr),
  63487. (Z = Y.schemeClr),
  63488. (Q = X[1] || {}),
  63489. (J = Q.srgbClr),
  63490. ($ = Q.schemeClr),
  63491. (ee = +i.replace(/[^0-9]/gi, "")),
  63492. K && J && ((te = oe.mix(K.attributes.val, J.attributes.val).toHexString()), (P.fill = te)),
  63493. (re = ""),
  63494. (ne = ""),
  63495. Z &&
  63496. ((re = zr(E, ee, Z.attributes.val)),
  63497. (ie = Z || {}),
  63498. (ae = ie.lumMod),
  63499. (se = ie.lumOff),
  63500. re &&
  63501. (ae || se) &&
  63502. (re = Hr(
  63503. re,
  63504. (null === ae || void 0 === ae ? void 0 : ae.attributes.val) || 0,
  63505. (null === se || void 0 === se ? void 0 : se.attributes.val) || 0
  63506. ))),
  63507. $ &&
  63508. ((ne = zr(E, ee, $.attributes.val)),
  63509. (le = $ || {}),
  63510. (ce = le.lumMod),
  63511. (ue = le.lumOff),
  63512. $ &&
  63513. (ce || ue) &&
  63514. (ne = Hr(
  63515. ne,
  63516. (null === ce || void 0 === ce ? void 0 : ce.attributes.val) || 0,
  63517. (null === ue || void 0 === ue ? void 0 : ue.attributes.val) || 0
  63518. ))),
  63519. re && J && ((fe = oe.mix(re, J.attributes.val).toHexString()), fe && (P.fill = fe)),
  63520. ne && K && ((pe = oe.mix(ne, K.attributes.val).toHexString()), pe && (P.fill = pe)),
  63521. Z && $ && ((de = oe.mix(re, ne).toHexString()), de && (P.fill = de)))
  63522. : (P.fill = "#000"))
  63523. : F
  63524. ? (P.fill = "transparent")
  63525. : U
  63526. ? ((he = U.schemeClr),
  63527. (me = U.srgbClr),
  63528. he &&
  63529. ((ve = +i.replace(/[^0-9]/gi, "")),
  63530. (be = zr(E, ve, null === he || void 0 === he ? void 0 : he.attributes.val)),
  63531. (we =
  63532. (null === (ge = t.spPr) || void 0 === ge || null === (ye = ge.solidFill) || void 0 === ye
  63533. ? void 0
  63534. : ye.schemeClr) || {}),
  63535. (xe = we.lumMod),
  63536. (Ae = we.lumOff),
  63537. be &&
  63538. (xe || Ae) &&
  63539. (be = Hr(
  63540. be,
  63541. (null === xe || void 0 === xe ? void 0 : xe.attributes.val) || 0,
  63542. (null === Ae || void 0 === Ae ? void 0 : Ae.attributes.val) || 0
  63543. )),
  63544. be && (P.fill = be),
  63545. (_e = he || {}),
  63546. (Te = _e.alpha),
  63547. Te && (P.opacity = 1 - (1e5 - Te.attributes.val) / 1e5)),
  63548. me &&
  63549. ((ke =
  63550. null === (Ee = t.spPr) ||
  63551. void 0 === Ee ||
  63552. null === (Se = Ee.solidFill) ||
  63553. void 0 === Se ||
  63554. null === (Ce = Se.srgbClr) ||
  63555. void 0 === Ce
  63556. ? void 0
  63557. : Ce.attributes.val),
  63558. ke && (P.fill = "#" + ke),
  63559. (Le = me || {}),
  63560. (Pe = Le.alpha),
  63561. Pe && (P.opacity = 1 - (1e5 - Pe.attributes.val) / 1e5)))
  63562. : !G ||
  63563. (null !== (v = t.spPr) && void 0 !== v && v.custGeom) ||
  63564. ((Oe = G.schemeClr),
  63565. (je = +i.replace(/[^0-9]/gi, "")),
  63566. (Re = zr(E, je, null === Oe || void 0 === Oe ? void 0 : Oe.attributes.val)),
  63567. Re && (P.fill = Re))),
  63568. null === (b = t.txBody) || void 0 === b || !b.p)
  63569. ) {
  63570. e.next = 26
  63571. break
  63572. }
  63573. return (e.next = 24), ai(t, r, n, i, o, u)
  63574. case 24:
  63575. ;(Ie = e.sent),
  63576. null !== Ie &&
  63577. void 0 !== Ie &&
  63578. Ie.content &&
  63579. ((P.text = {
  63580. content: Ie.content,
  63581. defaultColor: Ie.defaultColor,
  63582. defaultFontName: "Sans-serif",
  63583. align: "top"
  63584. }),
  63585. "ctr" ===
  63586. (null === (Ne = t.txBody) ||
  63587. void 0 === Ne ||
  63588. null === (Me = Ne.bodyPr) ||
  63589. void 0 === Me ||
  63590. null === (De = Me.attributes) ||
  63591. void 0 === De
  63592. ? void 0
  63593. : De.anchor)
  63594. ? (P.text.align = "middle")
  63595. : "t" ===
  63596. (null === (Be = t.txBody) ||
  63597. void 0 === Be ||
  63598. null === (Fe = Be.bodyPr) ||
  63599. void 0 === Fe ||
  63600. null === (Ue = Fe.attributes) ||
  63601. void 0 === Ue
  63602. ? void 0
  63603. : Ue.anchor)
  63604. ? (P.text.align = "top")
  63605. : "b" ===
  63606. (null === (ze = t.txBody) ||
  63607. void 0 === ze ||
  63608. null === (qe = ze.bodyPr) ||
  63609. void 0 === qe ||
  63610. null === (Ge = qe.attributes) ||
  63611. void 0 === Ge
  63612. ? void 0
  63613. : Ge.anchor) && (P.text.align = "bottom"),
  63614. null !== (We = t.style) &&
  63615. void 0 !== We &&
  63616. null !== (Ve = We.fontRef) &&
  63617. void 0 !== Ve &&
  63618. Ve.schemeClr &&
  63619. ((Ke = +i.replace(/[^0-9]/gi, "")),
  63620. (Ze = zr(
  63621. E,
  63622. Ke,
  63623. null === t ||
  63624. void 0 === t ||
  63625. null === (He = t.style) ||
  63626. void 0 === He ||
  63627. null === (Xe = He.fontRef) ||
  63628. void 0 === Xe ||
  63629. null === (Ye = Xe.schemeClr) ||
  63630. void 0 === Ye
  63631. ? void 0
  63632. : Ye.attributes.val
  63633. )),
  63634. Ze && (P.text.defaultColor = Ze)))
  63635. case 26:
  63636. return (
  63637. (null !== (w = t.spPr) && void 0 !== w && null !== (x = w.ln) && void 0 !== x && x.noFill) ||
  63638. ((tt = +i.replace(/[^0-9]/gi, "")),
  63639. (rt = "transparent"),
  63640. null !== (Qe = t.style) &&
  63641. void 0 !== Qe &&
  63642. null !== (Je = Qe.lnRef) &&
  63643. void 0 !== Je &&
  63644. null !== ($e = Je.schemeClr) &&
  63645. void 0 !== $e &&
  63646. $e.attributes.val &&
  63647. ((ot = zr(
  63648. E,
  63649. tt,
  63650. null === (nt = t.style) || void 0 === nt || null === (it = nt.lnRef) || void 0 === it
  63651. ? void 0
  63652. : it.schemeClr.attributes.val
  63653. )),
  63654. ot && (rt = ot)),
  63655. (at = {
  63656. style: "solid",
  63657. width: 1,
  63658. color: rt
  63659. }),
  63660. null !== t &&
  63661. void 0 !== t &&
  63662. null !== (et = t.spPr) &&
  63663. void 0 !== et &&
  63664. et.ln &&
  63665. ((dt = (null === (st = t.spPr.ln) || void 0 === st ? void 0 : st.solidFill) || {}),
  63666. (ht = dt.srgbClr),
  63667. (mt = dt.schemeClr),
  63668. (gt = rt),
  63669. ht
  63670. ? (gt =
  63671. "#" +
  63672. (null === ht || void 0 === ht || null === (yt = ht.attributes) || void 0 === yt ? void 0 : yt.val))
  63673. : mt &&
  63674. ((gt = zr(
  63675. E,
  63676. tt,
  63677. null === mt || void 0 === mt || null === (vt = mt.attributes) || void 0 === vt ? void 0 : vt.val
  63678. )),
  63679. (At =
  63680. (null === (bt = t.spPr) ||
  63681. void 0 === bt ||
  63682. null === (wt = bt.ln) ||
  63683. void 0 === wt ||
  63684. null === (xt = wt.solidFill) ||
  63685. void 0 === xt
  63686. ? void 0
  63687. : xt.schemeClr) || {}),
  63688. (_t = At.lumMod),
  63689. (Tt = At.lumOff),
  63690. gt &&
  63691. (_t || Tt) &&
  63692. (gt = Hr(
  63693. gt,
  63694. (null === _t || void 0 === _t ? void 0 : _t.attributes.val) || 0,
  63695. (null === Tt || void 0 === Tt ? void 0 : Tt.attributes.val) || 0
  63696. ))),
  63697. (at.style =
  63698. -1 ===
  63699. (null === (lt = t.spPr.ln) ||
  63700. void 0 === lt ||
  63701. null === (ct = lt.prstDash) ||
  63702. void 0 === ct ||
  63703. null === (ut = ct.attributes) ||
  63704. void 0 === ut
  63705. ? void 0
  63706. : ut.val.toLowerCase().indexOf("solid"))
  63707. ? "dashed"
  63708. : "solid"),
  63709. (
  63710. (at.width =
  63711. (((null === (ft = t.spPr.ln) || void 0 === ft || null === (pt = ft.attributes) || void 0 === pt
  63712. ? void 0
  63713. : pt.w) || 12700) /
  63714. 12700) *
  63715. 4) / 3
  63716. ).toFixed(1),
  63717. (at.color = gt)),
  63718. (P.outline = at)),
  63719. (Et =
  63720. (null === t || void 0 === t || null === (_ = t.spPr) || void 0 === _ || null === (T = _.xfrm) || void 0 === T
  63721. ? void 0
  63722. : T.attributes) || {}),
  63723. (St = Et.rot),
  63724. (Ct = Et.flipV),
  63725. (kt = Et.flipH),
  63726. St &&
  63727. (P.rotate =
  63728. t.spPr.xfrm.attributes.rot / 6e4 > 180
  63729. ? t.spPr.xfrm.attributes.rot / 6e4 - 360
  63730. : t.spPr.xfrm.attributes.rot / 6e4),
  63731. Ct && (P.flipV = !0),
  63732. kt && (P.flipH = !0),
  63733. e.abrupt("return", P)
  63734. )
  63735. case 32:
  63736. case "end":
  63737. return e.stop()
  63738. }
  63739. }, e)
  63740. })
  63741. )
  63742. return function (t, r, n, i, o, a, s, l, c) {
  63743. return e.apply(this, arguments)
  63744. }
  63745. })(),
  63746. li = {
  63747. slide: 0,
  63748. layout: 1,
  63749. master: 2
  63750. },
  63751. ci = (function () {
  63752. var e = T(
  63753. A().mark(function e(t, r, n, i, o, a, s, l, c, u) {
  63754. var f, p, d, h, m, g, y
  63755. return A().wrap(function (e) {
  63756. while (1)
  63757. switch ((e.prev = e.next)) {
  63758. case 0:
  63759. if (
  63760. ((p = []),
  63761. (d = []),
  63762. Array.isArray(t) || (t = [t]),
  63763. (h =
  63764. null === n || void 0 === n || null === (f = n.elements) || void 0 === f
  63765. ? void 0
  63766. : f.filter(function (e) {
  63767. return "sp" === e.name
  63768. })),
  63769. h)
  63770. ) {
  63771. e.next = 6
  63772. break
  63773. }
  63774. return e.abrupt("return")
  63775. case 6:
  63776. ;(m = A().mark(function e() {
  63777. var n, c, f, m, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z
  63778. return A().wrap(function (e) {
  63779. while (1)
  63780. switch ((e.prev = e.next)) {
  63781. case 0:
  63782. if (((w = t[g]), r !== li.layout && r !== li.master)) {
  63783. e.next = 4
  63784. break
  63785. }
  63786. if (
  63787. null === w ||
  63788. void 0 === w ||
  63789. null === (x = w.nvSpPr) ||
  63790. void 0 === x ||
  63791. null === (_ = x.nvPr) ||
  63792. void 0 === _ ||
  63793. !_.ph
  63794. ) {
  63795. e.next = 4
  63796. break
  63797. }
  63798. return e.abrupt("return", "continue")
  63799. case 4:
  63800. if (
  63801. ((T =
  63802. null === w ||
  63803. void 0 === w ||
  63804. null === (n = w.nvSpPr) ||
  63805. void 0 === n ||
  63806. null === (c = n.cNvPr) ||
  63807. void 0 === c ||
  63808. null === (f = c.attributes) ||
  63809. void 0 === f
  63810. ? void 0
  63811. : f.id),
  63812. h.forEach(function (e) {
  63813. null === e ||
  63814. void 0 === e ||
  63815. e.elements.forEach(function (t) {
  63816. "nvSpPr" === t.name &&
  63817. (null === t ||
  63818. void 0 === t ||
  63819. t.elements.forEach(function (t) {
  63820. if ("cNvPr" === t.name && t.attributes.id === T) {
  63821. var r =
  63822. null === e || void 0 === e
  63823. ? void 0
  63824. : e.elements.filter(function (e) {
  63825. return "txBody" === e.name
  63826. })[0]
  63827. E =
  63828. null === r || void 0 === r
  63829. ? void 0
  63830. : r.elements.filter(function (e) {
  63831. return "p" === e.name
  63832. })
  63833. }
  63834. }))
  63835. })
  63836. }),
  63837. !(
  63838. (null !== (m = w.spPr) &&
  63839. void 0 !== m &&
  63840. null !== (y = m.prstGeom) &&
  63841. void 0 !== y &&
  63842. null !== (v = y.attributes) &&
  63843. void 0 !== v &&
  63844. v.prst) ||
  63845. (null !== (b = w.spPr) && void 0 !== b && b.custGeom)
  63846. ))
  63847. ) {
  63848. e.next = 16
  63849. break
  63850. }
  63851. return (
  63852. (k =
  63853. null === (S = w.nvSpPr) || void 0 === S || null === (C = S.cNvPr) || void 0 === C
  63854. ? void 0
  63855. : C.attributes.id),
  63856. (L = []),
  63857. h.forEach(function (e) {
  63858. var t = !0
  63859. null === e ||
  63860. void 0 === e ||
  63861. e.elements.forEach(function (e) {
  63862. "nvSpPr" === e.name &&
  63863. (null === e ||
  63864. void 0 === e ||
  63865. e.elements.forEach(function (e) {
  63866. var r
  63867. "cNvPr" === e.name &&
  63868. (null === (r = e.attributes) || void 0 === r ? void 0 : r.id) !== k &&
  63869. (t = !1)
  63870. })),
  63871. "spPr" === e.name &&
  63872. t &&
  63873. (null === e ||
  63874. void 0 === e ||
  63875. e.elements.forEach(function (e) {
  63876. "custGeom" === e.name &&
  63877. (null === e ||
  63878. void 0 === e ||
  63879. e.elements.forEach(function (e) {
  63880. "pathLst" === e.name &&
  63881. (null === e ||
  63882. void 0 === e ||
  63883. e.elements.every(function (e) {
  63884. return (
  63885. "path" !== e.name ||
  63886. ((L =
  63887. (null === e || void 0 === e ? void 0 : e.elements) ||
  63888. []),
  63889. !1)
  63890. )
  63891. }))
  63892. }))
  63893. }))
  63894. })
  63895. }),
  63896. (e.next = 12),
  63897. si(w, E, i, o, a, s, l, L, u)
  63898. )
  63899. case 12:
  63900. ;(P = e.sent),
  63901. P &&
  63902. (null !== P &&
  63903. void 0 !== P &&
  63904. P.element &&
  63905. "line" === (null === (O = P.element) || void 0 === O ? void 0 : O.type)
  63906. ? (p.push(P.element),
  63907. d.push({
  63908. id:
  63909. null === w ||
  63910. void 0 === w ||
  63911. null === (j = w.nvSpPr) ||
  63912. void 0 === j ||
  63913. null === (R = j.cNvPr) ||
  63914. void 0 === R ||
  63915. null === (I = R.attributes) ||
  63916. void 0 === I
  63917. ? void 0
  63918. : I.id,
  63919. element: P.element,
  63920. lineWidth: P.lineWidth,
  63921. lineHeight: P.lineHeight
  63922. }))
  63923. : (p.push(P),
  63924. d.push({
  63925. id:
  63926. null === w ||
  63927. void 0 === w ||
  63928. null === (N = w.nvSpPr) ||
  63929. void 0 === N ||
  63930. null === (M = N.cNvPr) ||
  63931. void 0 === M ||
  63932. null === (D = M.attributes) ||
  63933. void 0 === D
  63934. ? void 0
  63935. : D.id,
  63936. element: P
  63937. }))),
  63938. (e.next = 20)
  63939. break
  63940. case 16:
  63941. return (e.next = 18), ai(w, E, i, o, a, u)
  63942. case 18:
  63943. ;(B = e.sent),
  63944. null !== B &&
  63945. void 0 !== B &&
  63946. B.content &&
  63947. (p.push(B),
  63948. d.push({
  63949. id:
  63950. null === w ||
  63951. void 0 === w ||
  63952. null === (F = w.nvSpPr) ||
  63953. void 0 === F ||
  63954. null === (U = F.cNvPr) ||
  63955. void 0 === U ||
  63956. null === (z = U.attributes) ||
  63957. void 0 === z
  63958. ? void 0
  63959. : z.id,
  63960. element: B
  63961. }))
  63962. case 20:
  63963. case "end":
  63964. return e.stop()
  63965. }
  63966. }, e)
  63967. })),
  63968. (g = 0)
  63969. case 8:
  63970. if (!(g < t.length)) {
  63971. e.next = 16
  63972. break
  63973. }
  63974. return e.delegateYield(m(), "t0", 10)
  63975. case 10:
  63976. if (((y = e.t0), "continue" !== y)) {
  63977. e.next = 13
  63978. break
  63979. }
  63980. return e.abrupt("continue", 13)
  63981. case 13:
  63982. g++, (e.next = 8)
  63983. break
  63984. case 16:
  63985. return e.abrupt("return", d)
  63986. case 17:
  63987. case "end":
  63988. return e.stop()
  63989. }
  63990. }, e)
  63991. })
  63992. )
  63993. return function (t, r, n, i, o, a, s, l, c, u) {
  63994. return e.apply(this, arguments)
  63995. }
  63996. })(),
  63997. ui = (function () {
  63998. var e = T(
  63999. A().mark(function e(t, r, n, i, o, a) {
  64000. var s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E
  64001. return A().wrap(
  64002. function (e) {
  64003. while (1)
  64004. switch ((e.prev = e.next)) {
  64005. case 0:
  64006. if (
  64007. (n
  64008. ? (l =
  64009. (null === (c = n["p14:media"]) || void 0 === c || null === (u = c.attributes) || void 0 === u
  64010. ? void 0
  64011. : u["r:embed"]) ||
  64012. (null === (f = n["p14:media"]) || void 0 === f || null === (p = f.attributes) || void 0 === p
  64013. ? void 0
  64014. : p["r:link"]))
  64015. : r && (l = null === (d = r.attributes) || void 0 === d ? void 0 : d["r:link"]),
  64016. l)
  64017. ) {
  64018. e.next = 3
  64019. break
  64020. }
  64021. return e.abrupt("return")
  64022. case 3:
  64023. if (
  64024. ((h = i.Relationships.Relationship || []),
  64025. (m = h.find(function (e) {
  64026. return e.attributes.Id === l
  64027. })),
  64028. m)
  64029. ) {
  64030. e.next = 7
  64031. break
  64032. }
  64033. return e.abrupt("return")
  64034. case 7:
  64035. if (
  64036. ((g = m.attributes.Target),
  64037. "External" !== (null === (s = m.attributes) || void 0 === s ? void 0 : s.TargetMode))
  64038. ) {
  64039. e.next = 10
  64040. break
  64041. }
  64042. return e.abrupt("return", "external")
  64043. case 10:
  64044. if (((y = o["ppt".concat(g.replace("..", ""))]), y)) {
  64045. e.next = 13
  64046. break
  64047. }
  64048. return e.abrupt("return")
  64049. case 13:
  64050. return (e.prev = 13), (e.next = 16), y.async("arraybuffer")
  64051. case 16:
  64052. return (
  64053. (v = e.sent),
  64054. (b = y.name.split(".")),
  64055. (w = "audio/".concat(b[b.length - 1])),
  64056. (x = new Blob([v], {
  64057. type: w
  64058. })),
  64059. (_ = y.name.split("/").reverse()[0]),
  64060. (T = new File([x], _, {
  64061. type: w
  64062. })),
  64063. (e.next = 24),
  64064. a(T)
  64065. )
  64066. case 24:
  64067. return (E = e.sent), (E.name = _.split(".")[0]), e.abrupt("return", E)
  64068. case 29:
  64069. throw (
  64070. ((e.prev = 29),
  64071. (e.t0 = e["catch"](13)),
  64072. re.error("ppt-file parse audio upload failed", e.t0),
  64073. new Error("第".concat(t, "页PPT 音频上传失败,请重试")))
  64074. )
  64075. case 33:
  64076. case "end":
  64077. return e.stop()
  64078. }
  64079. },
  64080. e,
  64081. null,
  64082. [[13, 29]]
  64083. )
  64084. })
  64085. )
  64086. return function (t, r, n, i, o, a) {
  64087. return e.apply(this, arguments)
  64088. }
  64089. })(),
  64090. fi = (function () {
  64091. var e = T(
  64092. A().mark(function e(t, r, n, i, o, a) {
  64093. var s, l, c, u, f, p, d
  64094. return A().wrap(function (e) {
  64095. while (1)
  64096. switch ((e.prev = e.next)) {
  64097. case 0:
  64098. return (
  64099. (u = {
  64100. type: "elf",
  64101. subtype: "elf-audio",
  64102. id: Nr(),
  64103. left: 0,
  64104. top: 0,
  64105. width: 400,
  64106. height: 50,
  64107. src: "",
  64108. name: "",
  64109. focusOrder: 1
  64110. }),
  64111. (f =
  64112. null === n ||
  64113. void 0 === n ||
  64114. null === (s = n.nvPicPr) ||
  64115. void 0 === s ||
  64116. null === (l = s.nvPr) ||
  64117. void 0 === l ||
  64118. null === (c = l.extLst) ||
  64119. void 0 === c
  64120. ? void 0
  64121. : c.ext),
  64122. (e.next = 4),
  64123. ui(t, r, f, i, o, a)
  64124. )
  64125. case 4:
  64126. if (((p = e.sent), "external" !== p)) {
  64127. e.next = 7
  64128. break
  64129. }
  64130. return e.abrupt("return", "external")
  64131. case 7:
  64132. if ((p && ((u.src = p.url), (u.size = p.size), (u.md5 = p.md5), (u.name = p.name)), u.src)) {
  64133. e.next = 10
  64134. break
  64135. }
  64136. return e.abrupt("return")
  64137. case 10:
  64138. return (e.next = 12), Wr(n, i, o)
  64139. case 12:
  64140. return (
  64141. (d = e.sent),
  64142. d &&
  64143. ((u.left = null === d || void 0 === d ? void 0 : d.left),
  64144. (u.top = null === d || void 0 === d ? void 0 : d.top)),
  64145. e.abrupt("return", u)
  64146. )
  64147. case 15:
  64148. case "end":
  64149. return e.stop()
  64150. }
  64151. }, e)
  64152. })
  64153. )
  64154. return function (t, r, n, i, o, a) {
  64155. return e.apply(this, arguments)
  64156. }
  64157. })(),
  64158. pi = ["avi", "mpg"],
  64159. di = (function () {
  64160. var e = T(
  64161. A().mark(function e(t, r, n, i, o) {
  64162. var a, s, l, c, u, f, p, d, h, m, g, y, v
  64163. return A().wrap(
  64164. function (e) {
  64165. while (1)
  64166. switch ((e.prev = e.next)) {
  64167. case 0:
  64168. if (((s = r.attributes["r:link"]), s)) {
  64169. e.next = 3
  64170. break
  64171. }
  64172. return e.abrupt("return")
  64173. case 3:
  64174. if (
  64175. ((l = n.Relationships.Relationship || []),
  64176. (c = l.find(function (e) {
  64177. return e.attributes.Id === s
  64178. })),
  64179. "External" !== (null === (a = c.attributes) || void 0 === a ? void 0 : a.TargetMode))
  64180. ) {
  64181. e.next = 7
  64182. break
  64183. }
  64184. return e.abrupt("return", "external")
  64185. case 7:
  64186. if (c) {
  64187. e.next = 9
  64188. break
  64189. }
  64190. return e.abrupt("return")
  64191. case 9:
  64192. if (((u = c.attributes.Target), (f = i["ppt".concat(u.replace("..", ""))]), f)) {
  64193. e.next = 13
  64194. break
  64195. }
  64196. return e.abrupt("return")
  64197. case 13:
  64198. return (e.prev = 13), (e.next = 16), f.async("arraybuffer")
  64199. case 16:
  64200. if (
  64201. ((p = e.sent),
  64202. (d = f.name.split(".")),
  64203. (h = "video/".concat(d[d.length - 1])),
  64204. -1 === pi.indexOf(d[d.length - 1]))
  64205. ) {
  64206. e.next = 21
  64207. break
  64208. }
  64209. return e.abrupt("return", "noSupportVideoType")
  64210. case 21:
  64211. return (
  64212. (m = new Blob([p], {
  64213. type: h
  64214. })),
  64215. (g = f.name.split("/").reverse()[0]),
  64216. (y = new File([m], g, {
  64217. type: h
  64218. })),
  64219. (e.next = 26),
  64220. o(y)
  64221. )
  64222. case 26:
  64223. return (v = e.sent), (v.name = g.split(".")[0]), e.abrupt("return", v)
  64224. case 31:
  64225. throw (
  64226. ((e.prev = 31),
  64227. (e.t0 = e["catch"](13)),
  64228. re.error("ppt-file parse video upload failed", e.t0),
  64229. new Error("第".concat(t, "页PPT 视频上传失败,请重试")))
  64230. )
  64231. case 35:
  64232. case "end":
  64233. return e.stop()
  64234. }
  64235. },
  64236. e,
  64237. null,
  64238. [[13, 31]]
  64239. )
  64240. })
  64241. )
  64242. return function (t, r, n, i, o) {
  64243. return e.apply(this, arguments)
  64244. }
  64245. })(),
  64246. hi = (function () {
  64247. var e = T(
  64248. A().mark(function e(t, r, n, i, o, a) {
  64249. var s, c, u
  64250. return A().wrap(function (e) {
  64251. while (1)
  64252. switch ((e.prev = e.next)) {
  64253. case 0:
  64254. return (
  64255. (s = {
  64256. type: "elf",
  64257. subtype: "elf-video",
  64258. id: Nr(),
  64259. left: 0,
  64260. top: 0,
  64261. width: 0,
  64262. height: 0,
  64263. name: "",
  64264. src: "",
  64265. poster: "",
  64266. videoSize: 0,
  64267. posterSize: 0
  64268. }),
  64269. (e.next = 3),
  64270. di(t, r, i, o, a)
  64271. )
  64272. case 3:
  64273. if (((c = e.sent), "external" !== c)) {
  64274. e.next = 6
  64275. break
  64276. }
  64277. return e.abrupt("return", "external")
  64278. case 6:
  64279. if ("noSupportVideoType" !== c) {
  64280. e.next = 8
  64281. break
  64282. }
  64283. return e.abrupt("return", "noSupportVideoType")
  64284. case 8:
  64285. if ((c && ((s.src = c.url), (s.videoSize = c.size), (s.md5 = c.md5), (s.name = c.name)), s.src)) {
  64286. e.next = 11
  64287. break
  64288. }
  64289. return e.abrupt("return")
  64290. case 11:
  64291. return (e.next = 13), Wr(n, i, o)
  64292. case 13:
  64293. return (u = e.sent), l.a.merge(s, u), e.abrupt("return", s)
  64294. case 16:
  64295. case "end":
  64296. return e.stop()
  64297. }
  64298. }, e)
  64299. })
  64300. )
  64301. return function (t, r, n, i, o, a) {
  64302. return e.apply(this, arguments)
  64303. }
  64304. })(),
  64305. mi = function (e) {
  64306. var t = []
  64307. if (Array.isArray(e)) {
  64308. e.forEach(function (e) {
  64309. null !== e && void 0 !== e && e.id && -1 === gi.indexOf(e.id) && t.push(e)
  64310. })
  64311. var r = []
  64312. t.forEach(function (e) {
  64313. var t
  64314. "elf-video" === (null === e || void 0 === e || null === (t = e.element) || void 0 === t ? void 0 : t.subtype) && r.push(e.id)
  64315. }),
  64316. r.length > 0 &&
  64317. r.forEach(function (e) {
  64318. var r
  64319. t.forEach(function (t) {
  64320. var n
  64321. t.id === e &&
  64322. "image" === (null === t || void 0 === t || null === (n = t.element) || void 0 === n ? void 0 : n.type) &&
  64323. (r = t)
  64324. }),
  64325. r &&
  64326. t.forEach(function (t) {
  64327. var n
  64328. t.id === e &&
  64329. "elf-video" ===
  64330. (null === t || void 0 === t || null === (n = t.element) || void 0 === n ? void 0 : n.subtype) &&
  64331. (t.element.poster = r.element.src)
  64332. })
  64333. }),
  64334. (t = t.filter(function (e) {
  64335. var t
  64336. return (
  64337. "elf-video" === (null === e || void 0 === e || null === (t = e.element) || void 0 === t ? void 0 : t.subtype) ||
  64338. -1 === r.indexOf(e.id)
  64339. )
  64340. }))
  64341. }
  64342. return t
  64343. },
  64344. gi = [],
  64345. yi = (function () {
  64346. var e = T(
  64347. A().mark(function e(t, r, n, i, o, a, s) {
  64348. var l, c, u, f, p, d, h, m, g, y, v, b
  64349. return A().wrap(function (e) {
  64350. while (1)
  64351. switch ((e.prev = e.next)) {
  64352. case 0:
  64353. if (
  64354. ((l = r.nvPicPr.nvPr || {}),
  64355. (c = Object.entries(l)),
  64356. (u = []),
  64357. 0 !== c.length && (1 !== c.length || "attributes" !== c[0][0]))
  64358. ) {
  64359. e.next = 12
  64360. break
  64361. }
  64362. return (e.next = 6), Un(t, r, n, i, o, a, s)
  64363. case 6:
  64364. if (((f = e.sent), f)) {
  64365. e.next = 9
  64366. break
  64367. }
  64368. throw new Error("第".concat(t, "页PPT 图片解析失败,请重试"))
  64369. case 9:
  64370. if ("noSupportImageType" !== f) {
  64371. e.next = 11
  64372. break
  64373. }
  64374. return e.abrupt("return")
  64375. case 11:
  64376. u.push({
  64377. id: r.nvPicPr.cNvPr.attributes.id,
  64378. element: f
  64379. })
  64380. case 12:
  64381. p = 0
  64382. case 13:
  64383. if (!(p < c.length)) {
  64384. e.next = 59
  64385. break
  64386. }
  64387. if (((d = E(c[p], 2)), (h = d[0]), (m = d[1]), "audioFile" !== h)) {
  64388. e.next = 24
  64389. break
  64390. }
  64391. return (e.next = 18), fi(t, m, r, n, o, a)
  64392. case 18:
  64393. if (((g = e.sent), g)) {
  64394. e.next = 21
  64395. break
  64396. }
  64397. throw new Error("第".concat(t, "页PPT 音频解析失败,请重试"))
  64398. case 21:
  64399. "external" !== g &&
  64400. u.push({
  64401. id: r.nvPicPr.cNvPr.attributes.id,
  64402. element: g
  64403. }),
  64404. (e.next = 56)
  64405. break
  64406. case 24:
  64407. if ("videoFile" !== h) {
  64408. e.next = 36
  64409. break
  64410. }
  64411. return (e.next = 27), hi(t, m, r, n, o, a)
  64412. case 27:
  64413. if (((y = e.sent), !y || "noSupportVideoType" !== y)) {
  64414. e.next = 31
  64415. break
  64416. }
  64417. return gi.push(r.nvPicPr.cNvPr.attributes.id), e.abrupt("return")
  64418. case 31:
  64419. if (y) {
  64420. e.next = 33
  64421. break
  64422. }
  64423. throw new Error("第".concat(t, "页PPT 视频解析失败,请重试"))
  64424. case 33:
  64425. "external" !== y
  64426. ? u.push({
  64427. id: r.nvPicPr.cNvPr.attributes.id,
  64428. element: y
  64429. })
  64430. : gi.push(r.nvPicPr.cNvPr.attributes.id),
  64431. (e.next = 56)
  64432. break
  64433. case 36:
  64434. if ("ph" !== h) {
  64435. e.next = 47
  64436. break
  64437. }
  64438. return (e.next = 39), Un(t, r, n, i, o, a, s)
  64439. case 39:
  64440. if (((v = e.sent), v)) {
  64441. e.next = 42
  64442. break
  64443. }
  64444. throw new Error("第".concat(t, "页PPT 图片解析失败,请重试"))
  64445. case 42:
  64446. if ("noSupportImageType" !== v) {
  64447. e.next = 44
  64448. break
  64449. }
  64450. return e.abrupt("return")
  64451. case 44:
  64452. u.push({
  64453. id: r.nvPicPr.cNvPr.attributes.id,
  64454. element: v
  64455. }),
  64456. (e.next = 56)
  64457. break
  64458. case 47:
  64459. if ("custDataLst" !== h) {
  64460. e.next = 56
  64461. break
  64462. }
  64463. return (e.next = 50), Un(t, r, n, i, o, a, s)
  64464. case 50:
  64465. if (((b = e.sent), b)) {
  64466. e.next = 53
  64467. break
  64468. }
  64469. throw new Error("第".concat(t, "页PPT 图片解析失败,请重试"))
  64470. case 53:
  64471. if ("noSupportImageType" !== b) {
  64472. e.next = 55
  64473. break
  64474. }
  64475. return e.abrupt("return")
  64476. case 55:
  64477. u.push({
  64478. id: r.nvPicPr.cNvPr.attributes.id,
  64479. element: b
  64480. })
  64481. case 56:
  64482. p++, (e.next = 13)
  64483. break
  64484. case 59:
  64485. return (u = mi(u)), e.abrupt("return", u)
  64486. case 61:
  64487. case "end":
  64488. return e.stop()
  64489. }
  64490. }, e)
  64491. })
  64492. )
  64493. return function (t, r, n, i, o, a, s) {
  64494. return e.apply(this, arguments)
  64495. }
  64496. })(),
  64497. vi = {
  64498. ContentTypesPath: "[Content_Types].xml",
  64499. PresentationRelsPath: "ppt/_rels/presentation.xml.rels",
  64500. SlidePath: "ppt/slides/slide[0-9]*.xml",
  64501. SlideRelsPath: "ppt/slides/_rels/slide[0-9]*.xml.rels",
  64502. MediaPath: "ppt/media/**/*.**",
  64503. themePath: "ppt/theme/theme[0-9]*.xml",
  64504. PresentationPath: "ppt/presentation.xml",
  64505. SlideLayoutRelsPath: "ppt/slideLayouts/_rels/slideLayout[0-100]*.xml.rels",
  64506. SlideMasterPath: "ppt/slideMasters/slideMaster[0-9]*.xml",
  64507. SlideMasterRelsPath: "ppt/slideMasters/_rels/slideMaster[0-9]*.xml.rels"
  64508. },
  64509. bi = {
  64510. compact: !0,
  64511. ignoreDeclaration: !0,
  64512. attributesKey: "attributes",
  64513. elementNameFn: function (e) {
  64514. return e.replace("p:", "").replace("a:", "")
  64515. }
  64516. },
  64517. wi = {
  64518. compact: !1,
  64519. ignoreDeclaration: !0,
  64520. attributesKey: "attributes",
  64521. elementNameFn: function (e) {
  64522. return e.replace("p:", "").replace("a:", "")
  64523. }
  64524. },
  64525. xi = {
  64526. slide: 0,
  64527. layout: 1,
  64528. master: 2
  64529. },
  64530. Ai = function e(t, r, n) {
  64531. var i = []
  64532. if (r) {
  64533. var o, a
  64534. if ("spTree" === r.name)
  64535. r =
  64536. null === (o = r) || void 0 === o
  64537. ? void 0
  64538. : o.elements.filter(function (e) {
  64539. return "pic" === e.name || "sp" === e.name || "grpSp" === e.name || "graphicFrame" === e.name || "cxnSp" === e.name
  64540. })
  64541. else
  64542. r =
  64543. null === (a = r) || void 0 === a
  64544. ? void 0
  64545. : a.filter(function (e) {
  64546. return "pic" === e.name || "sp" === e.name || "grpSp" === e.name || "graphicFrame" === e.name || "cxnSp" === e.name
  64547. })
  64548. var s = []
  64549. if (
  64550. (t.forEach(function (e) {
  64551. null !== e && void 0 !== e && e.graphicFrameId && s.push(e.graphicFrameId)
  64552. }),
  64553. r.length > 0)
  64554. )
  64555. for (
  64556. var c = function () {
  64557. if ("pic" === r[u].name) {
  64558. var o,
  64559. a,
  64560. c,
  64561. f,
  64562. p =
  64563. null === (o = r[u].elements) || void 0 === o
  64564. ? void 0
  64565. : o.find(function (e) {
  64566. return "nvPicPr" === e.name
  64567. }),
  64568. d =
  64569. null === (a = Mr(null === p || void 0 === p ? void 0 : p.elements)) || void 0 === a
  64570. ? void 0
  64571. : a.find(function (e) {
  64572. return "cNvPr" === e.name
  64573. }),
  64574. h = null === d || void 0 === d || null === (c = d.attributes) || void 0 === c ? void 0 : c.id,
  64575. m =
  64576. null === (f = Mr(t)) || void 0 === f
  64577. ? void 0
  64578. : f.find(function (e) {
  64579. return (
  64580. (!n && e.id === h) ||
  64581. (n && e.id === h && n === (null === e || void 0 === e ? void 0 : e.graphicFrameId))
  64582. )
  64583. })
  64584. m && i.push(m.element)
  64585. } else if ("sp" === r[u].name) {
  64586. var g,
  64587. y,
  64588. v,
  64589. b,
  64590. w =
  64591. null === (g = Mr(r[u].elements)) || void 0 === g
  64592. ? void 0
  64593. : g.find(function (e) {
  64594. return "nvSpPr" === e.name
  64595. }),
  64596. x =
  64597. null === (y = Mr(null === w || void 0 === w ? void 0 : w.elements)) || void 0 === y
  64598. ? void 0
  64599. : y.find(function (e) {
  64600. return "cNvPr" === e.name
  64601. }),
  64602. A = null === x || void 0 === x || null === (v = x.attributes) || void 0 === v ? void 0 : v.id,
  64603. _ =
  64604. null === (b = Mr(t)) || void 0 === b
  64605. ? void 0
  64606. : b.find(function (e) {
  64607. return e.id === A
  64608. })
  64609. _ && i.push(_.element)
  64610. } else if ("grpSp" === r[u].name) {
  64611. var T,
  64612. E = l.a.cloneDeep(i)
  64613. i = []
  64614. var S = e(t, r[u].elements) || []
  64615. ;(T = i).push.apply(T, N(E).concat(N(S)))
  64616. } else if ("graphicFrame" === r[u].name) {
  64617. var C = !1,
  64618. k = ""
  64619. r[u].elements.forEach(function (e) {
  64620. "nvGraphicFramePr" === e.name &&
  64621. e.elements.forEach(function (e) {
  64622. "cNvPr" === e.name && ((k = e.attributes.id), k && s.includes(k) && (C = !0))
  64623. })
  64624. }),
  64625. C &&
  64626. r[u].elements.forEach(function (r) {
  64627. "graphic" === r.name &&
  64628. r.elements.forEach(function (r) {
  64629. "graphicData" === r.name &&
  64630. r.elements.forEach(function (r) {
  64631. "mc:AlternateContent" === r.name &&
  64632. r.elements.forEach(function (r) {
  64633. "mc:Fallback" === r.name &&
  64634. r.elements.forEach(function (r) {
  64635. if ("oleObj" === r.name) {
  64636. var n,
  64637. o = l.a.cloneDeep(i)
  64638. i = []
  64639. var a = e(t, r.elements, k) || []
  64640. ;(n = i).push.apply(n, N(o).concat(N(a)))
  64641. }
  64642. })
  64643. })
  64644. })
  64645. })
  64646. })
  64647. } else if ("cxnSp" === r[u].name) {
  64648. var L,
  64649. P,
  64650. O,
  64651. j,
  64652. R =
  64653. null === (L = Mr(r[u].elements)) || void 0 === L
  64654. ? void 0
  64655. : L.find(function (e) {
  64656. return "nvCxnSpPr" === e.name
  64657. }),
  64658. I =
  64659. null === (P = Mr(null === R || void 0 === R ? void 0 : R.elements)) || void 0 === P
  64660. ? void 0
  64661. : P.find(function (e) {
  64662. return "cNvPr" === e.name
  64663. }),
  64664. M = null === I || void 0 === I || null === (O = I.attributes) || void 0 === O ? void 0 : O.id,
  64665. D =
  64666. null === (j = Mr(t)) || void 0 === j
  64667. ? void 0
  64668. : j.find(function (e) {
  64669. return e.id === M
  64670. })
  64671. D && i.push(D.element)
  64672. }
  64673. },
  64674. u = 0;
  64675. u < r.length;
  64676. u++
  64677. )
  64678. c()
  64679. return i
  64680. }
  64681. },
  64682. _i = (function () {
  64683. var e = T(
  64684. A().mark(function e(t, r, n, i, o, a, s, l, c, u, f, p) {
  64685. var d, h, m
  64686. return A().wrap(function (e) {
  64687. while (1)
  64688. switch ((e.prev = e.next)) {
  64689. case 0:
  64690. ;(d = []),
  64691. (h = A().mark(function e() {
  64692. var h,
  64693. g,
  64694. y,
  64695. v,
  64696. b,
  64697. w,
  64698. x,
  64699. _,
  64700. T,
  64701. S,
  64702. C,
  64703. k,
  64704. L,
  64705. P,
  64706. O,
  64707. j,
  64708. R,
  64709. I,
  64710. M,
  64711. D,
  64712. B,
  64713. F,
  64714. U,
  64715. z,
  64716. q,
  64717. G,
  64718. W,
  64719. V,
  64720. H,
  64721. X,
  64722. Y,
  64723. K,
  64724. Z,
  64725. Q,
  64726. J,
  64727. $,
  64728. ee,
  64729. te,
  64730. re,
  64731. ne
  64732. return A().wrap(
  64733. function (e) {
  64734. while (1)
  64735. switch ((e.prev = e.next)) {
  64736. case 0:
  64737. ;(h = E(n[m], 2)),
  64738. (g = h[0]),
  64739. (y = h[1]),
  64740. l.beforeParseElement && l.beforeParseElement(n[m], d[m], m + 1, n.length),
  64741. (e.t0 = g),
  64742. (e.next =
  64743. "sp" === e.t0
  64744. ? 5
  64745. : "grpSp" === e.t0
  64746. ? 19
  64747. : "grpSpPr" === e.t0
  64748. ? 52
  64749. : "pic" === e.t0
  64750. ? 55
  64751. : "graphicFrame" === e.t0
  64752. ? 76
  64753. : "cxnSp" === e.t0
  64754. ? 91
  64755. : 99)
  64756. break
  64757. case 5:
  64758. return (e.prev = 5), (e.next = 8), ci(y, r, i, o, a, s, t, l.upload, c, p)
  64759. case 8:
  64760. if (((e.t1 = e.sent), e.t1)) {
  64761. e.next = 11
  64762. break
  64763. }
  64764. e.t1 = []
  64765. case 11:
  64766. ;(v = e.t1),
  64767. v.forEach(function (e) {
  64768. d.push(e)
  64769. }),
  64770. (e.next = 18)
  64771. break
  64772. case 15:
  64773. throw ((e.prev = 15), (e.t2 = e["catch"](5)), new Error(e.t2.message))
  64774. case 18:
  64775. return e.abrupt("break", 99)
  64776. case 19:
  64777. if (!y) {
  64778. e.next = 51
  64779. break
  64780. }
  64781. if (((b = Object.entries(y)), (e.prev = 21), "0" !== b[0][0])) {
  64782. e.next = 32
  64783. break
  64784. }
  64785. ;(w = A().mark(function e() {
  64786. var n, h, m, g, y, v, w, _, T, S, C, k
  64787. return A().wrap(function (e) {
  64788. while (1)
  64789. switch ((e.prev = e.next)) {
  64790. case 0:
  64791. return (
  64792. (h = E(b[x], 2)),
  64793. (m = h[1]),
  64794. (g = Object.entries(m)),
  64795. (y =
  64796. null === i || void 0 === i || null === (n = i.elements) || void 0 === n
  64797. ? void 0
  64798. : n.filter(function (e) {
  64799. return "grpSp" === e.name
  64800. })),
  64801. (v = void 0),
  64802. (w = !1),
  64803. (_ = void 0),
  64804. g.forEach(function (e) {
  64805. var t, r
  64806. "nvGrpSpPr" === e[0] &&
  64807. null !== (t = e[1].cNvPr) &&
  64808. void 0 !== t &&
  64809. t.attributes.id &&
  64810. (v =
  64811. null === (r = e[1].cNvPr) || void 0 === r ? void 0 : r.attributes.id)
  64812. }),
  64813. null === y ||
  64814. void 0 === y ||
  64815. y.forEach(function (e) {
  64816. null === e ||
  64817. void 0 === e ||
  64818. e.elements.forEach(function (t) {
  64819. "nvGrpSpPr" === t.name &&
  64820. (null === t ||
  64821. void 0 === t ||
  64822. t.elements.forEach(function (e) {
  64823. if ("cNvPr" === e.name) {
  64824. var t,
  64825. r =
  64826. null === e ||
  64827. void 0 === e ||
  64828. null === (t = e.attributes) ||
  64829. void 0 === t
  64830. ? void 0
  64831. : t.id
  64832. r === v && (w = !0)
  64833. }
  64834. })),
  64835. w && ((_ = e), (w = !1))
  64836. })
  64837. }),
  64838. (e.next = 10),
  64839. _i(t, r, g, _, o, a, s, l, c, u, f, p)
  64840. )
  64841. case 10:
  64842. ;(T = e.sent),
  64843. (S = Nr()),
  64844. (C = u.pop()),
  64845. T.forEach(function (e) {
  64846. var t = e.element.width
  64847. if (C) {
  64848. var r = Vr(C, {
  64849. left: e.element.left,
  64850. top: e.element.top,
  64851. width: "line" === e.element.type ? e.lineWidth : e.element.width,
  64852. height: "line" === e.element.type ? e.lineHeight : e.element.height
  64853. })
  64854. if (
  64855. ((e.element.left = r.left),
  64856. (e.element.top = r.top),
  64857. "line" !== e.element.type)
  64858. )
  64859. (e.element.width = r.width), (e.element.height = r.height)
  64860. else {
  64861. var n = e.element || {}
  64862. n.start, n.end
  64863. ;(e.element.start = e.element.start.map(function (t) {
  64864. return t === e.lineWidth
  64865. ? r.width
  64866. : t === e.lineHeight
  64867. ? r.height
  64868. : t
  64869. })),
  64870. (e.element.end = e.element.end.map(function (t) {
  64871. return t === e.lineWidth
  64872. ? r.width
  64873. : t === e.lineHeight
  64874. ? r.height
  64875. : t
  64876. }))
  64877. }
  64878. }
  64879. if (
  64880. "shape" === e.element.type &&
  64881. (200 !== e.element.viewBox[0] || 200 !== e.element.viewBox[1])
  64882. ) {
  64883. var i = 0 === t ? 1 : e.element.width / t,
  64884. o = e.element.path,
  64885. a = []
  64886. o.split(" ").forEach(function (e) {
  64887. isNaN(+e) ? a.push(e) : a.push(+e * i)
  64888. }),
  64889. (e.element.path = a.join(" ")),
  64890. (e.element.viewBox = [
  64891. e.element.viewBox[0] * i,
  64892. e.element.viewBox[1] * i
  64893. ])
  64894. }
  64895. }),
  64896. (k = f.pop()),
  64897. T.forEach(function (e) {
  64898. ;(e.element.groupId = S),
  64899. ("text" !== e.element.type && "shape" !== e.element.type) ||
  64900. (k && (e.element.fill = k)),
  64901. "elf" === e.element.type &&
  64902. "elf-audio" === e.element.subtype &&
  64903. ((e.element.width = 400), (e.element.height = 50)),
  64904. d.push(e)
  64905. })
  64906. case 16:
  64907. case "end":
  64908. return e.stop()
  64909. }
  64910. }, e)
  64911. })),
  64912. (x = 0)
  64913. case 25:
  64914. if (!(x < b.length)) {
  64915. e.next = 30
  64916. break
  64917. }
  64918. return e.delegateYield(w(), "t3", 27)
  64919. case 27:
  64920. x++, (e.next = 25)
  64921. break
  64922. case 30:
  64923. e.next = 46
  64924. break
  64925. case 32:
  64926. return (
  64927. (C =
  64928. null === i || void 0 === i || null === (_ = i.elements) || void 0 === _
  64929. ? void 0
  64930. : _.filter(function (e) {
  64931. return "grpSp" === e.name
  64932. })),
  64933. 0 === (null === (T = C) || void 0 === T ? void 0 : T.length) && (C = [i]),
  64934. (k = void 0),
  64935. (L = !1),
  64936. (P = void 0),
  64937. b.forEach(function (e) {
  64938. var t, r, n, i
  64939. "nvGrpSpPr" === e[0] &&
  64940. null !== (t = e[1]) &&
  64941. void 0 !== t &&
  64942. null !== (r = t.cNvPr) &&
  64943. void 0 !== r &&
  64944. null !== (n = r.attributes) &&
  64945. void 0 !== n &&
  64946. n.id &&
  64947. (k = null === (i = e[1].cNvPr) || void 0 === i ? void 0 : i.attributes.id)
  64948. }),
  64949. null === (S = C) ||
  64950. void 0 === S ||
  64951. S.forEach(function (e) {
  64952. null === e ||
  64953. void 0 === e ||
  64954. e.elements.forEach(function (t) {
  64955. "nvGrpSpPr" === t.name &&
  64956. (null === t ||
  64957. void 0 === t ||
  64958. t.elements.forEach(function (e) {
  64959. if ("cNvPr" === e.name) {
  64960. var t,
  64961. r =
  64962. null === e ||
  64963. void 0 === e ||
  64964. null === (t = e.attributes) ||
  64965. void 0 === t
  64966. ? void 0
  64967. : t.id
  64968. r === k && (L = !0)
  64969. }
  64970. })),
  64971. L && ((P = e), (L = !1))
  64972. })
  64973. }),
  64974. (e.next = 41),
  64975. _i(t, r, b, P, o, a, s, l, c, u, f, p)
  64976. )
  64977. case 41:
  64978. ;(O = e.sent),
  64979. (j = Nr()),
  64980. (R = f.pop()),
  64981. (I = u.pop()),
  64982. O.forEach(function (e) {
  64983. var t = e.element.width
  64984. if (I) {
  64985. var r = Vr(I, {
  64986. left: e.element.left,
  64987. top: e.element.top,
  64988. width: "line" === e.element.type ? e.lineWidth : e.element.width,
  64989. height: "line" === e.element.type ? e.lineHeight : e.element.height
  64990. })
  64991. if (
  64992. ((e.element.groupId = j),
  64993. (e.element.left = r.left),
  64994. (e.element.top = r.top),
  64995. "line" !== e.element.type)
  64996. )
  64997. (e.element.width = r.width), (e.element.height = r.height)
  64998. else {
  64999. var n = e.element || {}
  65000. n.start, n.end
  65001. ;(e.element.start = e.element.start.map(function (t) {
  65002. return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t
  65003. })),
  65004. (e.element.end = e.element.end.map(function (t) {
  65005. return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t
  65006. }))
  65007. }
  65008. }
  65009. if (
  65010. (("text" !== e.element.type && "shape" !== e.element.type) ||
  65011. (R && (e.element.fill = R)),
  65012. "shape" === e.element.type &&
  65013. (200 !== e.element.viewBox[0] || 200 !== e.element.viewBox[1]))
  65014. ) {
  65015. var i = 0 === t ? 1 : e.element.width / t,
  65016. o = e.element.path,
  65017. a = []
  65018. o.split(" ").forEach(function (e) {
  65019. isNaN(+e) ? a.push(e) : a.push(+e * i)
  65020. }),
  65021. (e.element.path = a.join(" ")),
  65022. (e.element.viewBox = [e.element.viewBox[0] * i, e.element.viewBox[1] * i])
  65023. }
  65024. "elf" === e.element.type &&
  65025. "elf-audio" === e.element.subtype &&
  65026. ((e.element.width = 400), (e.element.height = 50)),
  65027. d.push(e)
  65028. })
  65029. case 46:
  65030. e.next = 51
  65031. break
  65032. case 48:
  65033. throw ((e.prev = 48), (e.t4 = e["catch"](21)), new Error(e.t4.message))
  65034. case 51:
  65035. return e.abrupt("break", 99)
  65036. case 52:
  65037. return (
  65038. null !== y && void 0 !== y && y.solidFill
  65039. ? null !== y &&
  65040. void 0 !== y &&
  65041. null !== (M = y.solidFill) &&
  65042. void 0 !== M &&
  65043. null !== (D = M.schemeClr) &&
  65044. void 0 !== D &&
  65045. null !== (B = D.attributes) &&
  65046. void 0 !== B &&
  65047. B.val
  65048. ? ((H = +a.replace(/[^0-9]/gi, "")),
  65049. (X = Kr(
  65050. H,
  65051. c,
  65052. y.solidFill.schemeClr.attributes.val,
  65053. null === (U = y.solidFill.schemeClr) ||
  65054. void 0 === U ||
  65055. null === (z = U.lumMod) ||
  65056. void 0 === z ||
  65057. null === (q = z.attributes) ||
  65058. void 0 === q
  65059. ? void 0
  65060. : q.val,
  65061. null === (G = y.solidFill.schemeClr) ||
  65062. void 0 === G ||
  65063. null === (W = G.lumOff) ||
  65064. void 0 === W ||
  65065. null === (V = W.attributes) ||
  65066. void 0 === V
  65067. ? void 0
  65068. : V.val
  65069. )),
  65070. X && f.push(X))
  65071. : null !== y &&
  65072. void 0 !== y &&
  65073. null !== (F = y.solidFill) &&
  65074. void 0 !== F &&
  65075. F.srgbClr &&
  65076. f.push("#" + y.solidFill.srgbClr.attributes.val)
  65077. : f.push(""),
  65078. null !== y && void 0 !== y && y.xfrm && ((Y = y), u.push(Y)),
  65079. e.abrupt("break", 99)
  65080. )
  65081. case 55:
  65082. ;(K = []), Array.isArray(y) ? K.push.apply(K, N(y)) : K.push(y), (Z = 0)
  65083. case 58:
  65084. if (!(Z < K.length)) {
  65085. e.next = 75
  65086. break
  65087. }
  65088. return (e.prev = 59), (e.next = 62), yi(t, K[Z], o, a, s, l.upload, c)
  65089. case 62:
  65090. if (((e.t5 = e.sent), e.t5)) {
  65091. e.next = 65
  65092. break
  65093. }
  65094. e.t5 = []
  65095. case 65:
  65096. ;(Q = e.t5),
  65097. Q.forEach(function (e) {
  65098. e && d.push(e)
  65099. }),
  65100. (e.next = 72)
  65101. break
  65102. case 69:
  65103. throw ((e.prev = 69), (e.t6 = e["catch"](59)), new Error(e.t6.message))
  65104. case 72:
  65105. Z++, (e.next = 58)
  65106. break
  65107. case 75:
  65108. return e.abrupt("break", 99)
  65109. case 76:
  65110. if (
  65111. ((J = []),
  65112. Array.isArray(y) ? J.push.apply(J, N(y)) : J.push(y),
  65113. ($ = []),
  65114. J.forEach(function (e) {
  65115. var t, r, n, i, o, a, s, l, c, u, f, p, d
  65116. null !== e &&
  65117. void 0 !== e &&
  65118. null !== (t = e.graphic) &&
  65119. void 0 !== t &&
  65120. null !== (r = t.graphicData) &&
  65121. void 0 !== r &&
  65122. null !== (n = r["mc:AlternateContent"]) &&
  65123. void 0 !== n &&
  65124. null !== (i = n["mc:Fallback"]) &&
  65125. void 0 !== i &&
  65126. null !== (o = i.oleObj) &&
  65127. void 0 !== o &&
  65128. o.pic &&
  65129. ($.push(
  65130. null === e ||
  65131. void 0 === e ||
  65132. null === (a = e.graphic) ||
  65133. void 0 === a ||
  65134. null === (s = a.graphicData) ||
  65135. void 0 === s ||
  65136. null === (l = s["mc:AlternateContent"]) ||
  65137. void 0 === l ||
  65138. null === (c = l["mc:Fallback"]) ||
  65139. void 0 === c ||
  65140. null === (u = c.oleObj) ||
  65141. void 0 === u
  65142. ? void 0
  65143. : u.pic
  65144. ),
  65145. ($[$.length - 1].id =
  65146. null === e ||
  65147. void 0 === e ||
  65148. null === (f = e.nvGraphicFramePr) ||
  65149. void 0 === f ||
  65150. null === (p = f.cNvPr) ||
  65151. void 0 === p ||
  65152. null === (d = p.attributes) ||
  65153. void 0 === d
  65154. ? void 0
  65155. : d.id))
  65156. }),
  65157. !$)
  65158. ) {
  65159. e.next = 90
  65160. break
  65161. }
  65162. ;(ee = []),
  65163. Array.isArray($) ? ee.push.apply(ee, $) : ee.push($),
  65164. (te = A().mark(function e(r) {
  65165. var n
  65166. return A().wrap(
  65167. function (e) {
  65168. while (1)
  65169. switch ((e.prev = e.next)) {
  65170. case 0:
  65171. return (e.prev = 0), (e.next = 3), yi(t, ee[r], o, a, s, l.upload, c)
  65172. case 3:
  65173. if (((e.t0 = e.sent), e.t0)) {
  65174. e.next = 6
  65175. break
  65176. }
  65177. e.t0 = []
  65178. case 6:
  65179. ;(n = e.t0),
  65180. n.forEach(function (e) {
  65181. e && ((e.graphicFrameId = ee[r].id), d.push(e))
  65182. }),
  65183. (e.next = 13)
  65184. break
  65185. case 10:
  65186. throw ((e.prev = 10), (e.t1 = e["catch"](0)), new Error(e.t1.message))
  65187. case 13:
  65188. case "end":
  65189. return e.stop()
  65190. }
  65191. },
  65192. e,
  65193. null,
  65194. [[0, 10]]
  65195. )
  65196. })),
  65197. (re = 0)
  65198. case 85:
  65199. if (!(re < ee.length)) {
  65200. e.next = 90
  65201. break
  65202. }
  65203. return e.delegateYield(te(re), "t7", 87)
  65204. case 87:
  65205. re++, (e.next = 85)
  65206. break
  65207. case 90:
  65208. return e.abrupt("break", 99)
  65209. case 91:
  65210. return (e.next = 93), Gn(t, y, o, a, s, l.upload, c)
  65211. case 93:
  65212. if (((e.t8 = e.sent), e.t8)) {
  65213. e.next = 96
  65214. break
  65215. }
  65216. e.t8 = []
  65217. case 96:
  65218. return (ne = e.t8.filter(Boolean)), d.push.apply(d, N(ne)), e.abrupt("break", 99)
  65219. case 99:
  65220. l.afterParseElement && l.afterParseElement(n[m], d[m], m + 1, n.length)
  65221. case 100:
  65222. case "end":
  65223. return e.stop()
  65224. }
  65225. },
  65226. e,
  65227. null,
  65228. [
  65229. [5, 15],
  65230. [21, 48],
  65231. [59, 69]
  65232. ]
  65233. )
  65234. })),
  65235. (m = 0)
  65236. case 3:
  65237. if (!(m < n.length)) {
  65238. e.next = 8
  65239. break
  65240. }
  65241. return e.delegateYield(h(), "t0", 5)
  65242. case 5:
  65243. m++, (e.next = 3)
  65244. break
  65245. case 8:
  65246. return e.abrupt("return", d)
  65247. case 9:
  65248. case "end":
  65249. return e.stop()
  65250. }
  65251. }, e)
  65252. })
  65253. )
  65254. return function (t, r, n, i, o, a, s, l, c, u, f, p) {
  65255. return e.apply(this, arguments)
  65256. }
  65257. })(),
  65258. Ti = (function () {
  65259. var e = T(
  65260. A().mark(function e(t, r, n, i, o, a, s, l) {
  65261. var c,
  65262. u,
  65263. f,
  65264. p,
  65265. d,
  65266. h,
  65267. m,
  65268. g,
  65269. y,
  65270. v,
  65271. b,
  65272. w,
  65273. x,
  65274. _,
  65275. T,
  65276. E,
  65277. S,
  65278. C,
  65279. k,
  65280. L,
  65281. P,
  65282. O,
  65283. j,
  65284. R,
  65285. I,
  65286. M,
  65287. D,
  65288. B,
  65289. F,
  65290. U,
  65291. z,
  65292. q,
  65293. G,
  65294. W,
  65295. V,
  65296. H,
  65297. X,
  65298. Y,
  65299. K,
  65300. Z,
  65301. Q,
  65302. J,
  65303. $,
  65304. ee,
  65305. te
  65306. return A().wrap(function (e) {
  65307. while (1)
  65308. switch ((e.prev = e.next)) {
  65309. case 0:
  65310. return (
  65311. (f = l.colorMap),
  65312. (p = []),
  65313. (d = r.name.replace("ppt/slides/", "")),
  65314. (h = o["ppt/slides/_rels/".concat(d, ".rels")]),
  65315. (e.next = 6),
  65316. h.async("string")
  65317. )
  65318. case 6:
  65319. if (
  65320. ((m = e.sent),
  65321. (g = Ir(m, bi)),
  65322. (y = ""),
  65323. (v = []),
  65324. Array.isArray(g.Relationships.Relationship)
  65325. ? v.push.apply(v, N(g.Relationships.Relationship))
  65326. : v.push(g.Relationships.Relationship),
  65327. null === v ||
  65328. void 0 === v ||
  65329. v.forEach(function (e) {
  65330. var t,
  65331. r = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target
  65332. ;-1 !== r.indexOf("slideLayout") && (y = r.replace("../slideLayouts/", ""))
  65333. }),
  65334. (b = "slideMaster1.xml"),
  65335. !y)
  65336. ) {
  65337. e.next = 28
  65338. break
  65339. }
  65340. return (T = o["ppt/slideLayouts/_rels/".concat(y, ".rels")]), (e.next = 17), T.async("string")
  65341. case 17:
  65342. return (E = e.sent), (x = Ir(E, bi)), (S = o["ppt/slideLayouts/".concat(y)]), (e.next = 22), S.async("string")
  65343. case 22:
  65344. ;(C = e.sent),
  65345. (w = Ir(C, bi)),
  65346. (_ = Ir(C, wi)),
  65347. (k = []),
  65348. Array.isArray(x.Relationships.Relationship)
  65349. ? k.push.apply(k, N(x.Relationships.Relationship))
  65350. : k.push(x.Relationships.Relationship),
  65351. k.forEach(function (e) {
  65352. var t,
  65353. r = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target
  65354. ;-1 !== r.indexOf("slideMaster") && (b = r.replace("../slideMasters/", ""))
  65355. })
  65356. case 28:
  65357. return (e.next = 30), Qr(o, a, f, n, g, w, x, b)
  65358. case 30:
  65359. if (
  65360. ((L = e.sent),
  65361. (P = {
  65362. id: Nr(8),
  65363. elements: [],
  65364. background: L
  65365. }),
  65366. a.beforeParseSlide && a.beforeParseSlide(r, P, t, s),
  65367. (O = Object.entries(n.sld.cSld.spTree)),
  65368. (j = []),
  65369. (R = []),
  65370. (I = []),
  65371. "0" !== (null === (c = w.sldLayout.attributes) || void 0 === c ? void 0 : c.showMasterSp))
  65372. ) {
  65373. e.next = 41
  65374. break
  65375. }
  65376. ;(I = []), (e.next = 58)
  65377. break
  65378. case 41:
  65379. return (B = o["ppt/slideMasters/_rels/".concat(b, ".rels")]), (e.next = 44), B.async("string")
  65380. case 44:
  65381. return (F = e.sent), (U = Ir(F, bi)), (z = o["ppt/slideMasters/".concat(b)]), (e.next = 49), z.async("string")
  65382. case 49:
  65383. return (
  65384. (q = e.sent),
  65385. (G = Ir(q, bi)),
  65386. (W = Ir(q, wi)),
  65387. null === W ||
  65388. void 0 === W ||
  65389. W.elements.forEach(function (e) {
  65390. var t
  65391. "sldMaster" === e.name &&
  65392. (null === (t = e.elements) ||
  65393. void 0 === t ||
  65394. t.forEach(function (e) {
  65395. var t
  65396. "cSld" === e.name &&
  65397. (D =
  65398. null === (t = Mr(e.elements)) || void 0 === t
  65399. ? void 0
  65400. : t.find(function (e) {
  65401. return "spTree" === e.name
  65402. }))
  65403. }))
  65404. }),
  65405. (V = Object.entries(null === (M = G.sldMaster.cSld) || void 0 === M ? void 0 : M.spTree)),
  65406. (e.next = 56),
  65407. _i(t, xi.master, V, D, U, b, o, a, f, R, j, l)
  65408. )
  65409. case 56:
  65410. ;(H = e.sent), (I = Ai(H, D) || [])
  65411. case 58:
  65412. if (
  65413. ((j = []),
  65414. (R = []),
  65415. (X = []),
  65416. "0" !== (null === (u = n.sld.attributes) || void 0 === u ? void 0 : u.showMasterSp))
  65417. ) {
  65418. e.next = 66
  65419. break
  65420. }
  65421. ;(X = []), (I = []), (e.next = 72)
  65422. break
  65423. case 66:
  65424. return (
  65425. null === (Y = _) ||
  65426. void 0 === Y ||
  65427. Y.elements.forEach(function (e) {
  65428. var t
  65429. "sldLayout" === e.name &&
  65430. (null === (t = e.elements) ||
  65431. void 0 === t ||
  65432. t.forEach(function (e) {
  65433. var t
  65434. "cSld" === e.name &&
  65435. (Z =
  65436. null === (t = Mr(e.elements)) || void 0 === t
  65437. ? void 0
  65438. : t.find(function (e) {
  65439. return "spTree" === e.name
  65440. }))
  65441. }))
  65442. }),
  65443. (Q = Object.entries(null === (K = w.sldLayout.cSld) || void 0 === K ? void 0 : K.spTree)),
  65444. (e.next = 70),
  65445. _i(t, xi.layout, Q, Z, x, b, o, a, f, R, j, l)
  65446. )
  65447. case 70:
  65448. ;(J = e.sent), (X = Ai(J, Z) || [])
  65449. case 72:
  65450. return (
  65451. (j = []),
  65452. (R = []),
  65453. null === i ||
  65454. void 0 === i ||
  65455. i.elements.forEach(function (e) {
  65456. var t
  65457. "sld" === e.name &&
  65458. (null === (t = e.elements) ||
  65459. void 0 === t ||
  65460. t.forEach(function (e) {
  65461. var t
  65462. "cSld" === e.name &&
  65463. ($ =
  65464. null === (t = Mr(e.elements)) || void 0 === t
  65465. ? void 0
  65466. : t.find(function (e) {
  65467. return "spTree" === e.name
  65468. }))
  65469. }))
  65470. }),
  65471. (e.next = 77),
  65472. _i(t, xi.slide, O, $, g, b, o, a, f, R, j, l)
  65473. )
  65474. case 77:
  65475. if (((e.t0 = e.sent), e.t0)) {
  65476. e.next = 80
  65477. break
  65478. }
  65479. e.t0 = []
  65480. case 80:
  65481. return (
  65482. (ee = e.t0),
  65483. ee.forEach(function (e) {
  65484. p.push(e)
  65485. }),
  65486. (te = Ai(p, $)),
  65487. te && (P.elements = [].concat(N(I), N(X), N(te))),
  65488. a.afterParseSlide && a.afterParseSlide(r, P, t, s),
  65489. e.abrupt("return", P)
  65490. )
  65491. case 86:
  65492. case "end":
  65493. return e.stop()
  65494. }
  65495. }, e)
  65496. })
  65497. )
  65498. return function (t, r, n, i, o, a, s, l) {
  65499. return e.apply(this, arguments)
  65500. }
  65501. })(),
  65502. Ei = (function () {
  65503. var e = T(
  65504. A().mark(function e(t, r, n) {
  65505. var i, o, a, s, c, u, f, p, d, h, m, g, y, v, b
  65506. return A().wrap(function (e) {
  65507. while (1)
  65508. switch ((e.prev = e.next)) {
  65509. case 0:
  65510. return (
  65511. (i = []),
  65512. (o = Object.keys(t)),
  65513. (a =
  65514. In.match(o, vi.SlidePath, {
  65515. matchBase: !0
  65516. }) || []),
  65517. (s =
  65518. In.match(o, vi.themePath, {
  65519. matchBase: !0
  65520. }) || []),
  65521. (c =
  65522. In.match(o, vi.SlideMasterPath, {
  65523. matchBase: !0
  65524. }) || []),
  65525. (u =
  65526. In.match(o, vi.SlideMasterRelsPath, {
  65527. matchBase: !0
  65528. }) || []),
  65529. (a = l.a
  65530. .sortBy(a, function (e) {
  65531. var t = /\d+/g,
  65532. r = t.exec(e)
  65533. if (r) return parseInt(r[0])
  65534. })
  65535. .filter(Boolean)),
  65536. (e.t1 = l.a),
  65537. (e.next = 10),
  65538. Ur(c, s, t, u)
  65539. )
  65540. case 10:
  65541. if (((e.t2 = e.sent), (e.t0 = e.t1.cloneDeep.call(e.t1, e.t2)), e.t0)) {
  65542. e.next = 14
  65543. break
  65544. }
  65545. e.t0 = []
  65546. case 14:
  65547. return (f = e.t0), (e.t3 = l.a), (e.next = 18), qr(t, "ppt/presentation.xml")
  65548. case 18:
  65549. ;(e.t4 = e.sent),
  65550. (p = e.t3.cloneDeep.call(e.t3, e.t4)),
  65551. (d = l.a.cloneDeep({
  65552. slidePer: r,
  65553. colorMap: f,
  65554. defaultTextStyle: p
  65555. })),
  65556. (h = 0)
  65557. case 22:
  65558. if (!(h < a.length)) {
  65559. e.next = 38
  65560. break
  65561. }
  65562. return re.info("start parse ppt ".concat(h + 1, " silde")), (m = t[a[h]]), (e.next = 27), m.async("string")
  65563. case 27:
  65564. return (g = e.sent), (y = Ir(g, bi)), (v = Ir(g, wi)), (e.next = 32), Ti(h + 1, m, y, v, t, n, a.length, d)
  65565. case 32:
  65566. ;(b = e.sent), i.push(b), re.info("end parse ppt ".concat(h + 1, " silde"))
  65567. case 35:
  65568. h++, (e.next = 22)
  65569. break
  65570. case 38:
  65571. return e.abrupt("return", i)
  65572. case 39:
  65573. case "end":
  65574. return e.stop()
  65575. }
  65576. }, e)
  65577. })
  65578. )
  65579. return function (t, r, n) {
  65580. return e.apply(this, arguments)
  65581. }
  65582. })(),
  65583. Si = {
  65584. uuid: cn(),
  65585. slides: [],
  65586. // hqy
  65587. width: 1920,
  65588. height: 1080,
  65589. // hqy
  65590. theme: {
  65591. themeColor: "#5b9bd5",
  65592. fontColor: "#333",
  65593. fontName: "Sans-serif",
  65594. fontSize: "40px",
  65595. backgroundColor: "#fff",
  65596. viewportRatio: 0.5625
  65597. }
  65598. },
  65599. Ci = (function () {
  65600. var e = T(
  65601. A().mark(function e(t, r, n) {
  65602. var i, o, a
  65603. return A().wrap(function (e) {
  65604. while (1)
  65605. switch ((e.prev = e.next)) {
  65606. case 0:
  65607. return (e.next = 2), Jr(t, "ppt/presentation.xml")
  65608. case 2:
  65609. return (
  65610. (i = e.sent),
  65611. (o = {
  65612. width: 1920,
  65613. height: 0.5625 === n ? 1080 : 1080 / n
  65614. }),
  65615. i &&
  65616. ((a = Math.max(i.width / o.width, i.height / o.height)),
  65617. 1 !== a &&
  65618. r.forEach(function (e) {
  65619. e.elements.forEach(function (e) {
  65620. if (
  65621. ((e.left = e.left / a),
  65622. (e.top = e.top / a),
  65623. ("elf" === e.type && "elf-audio" === e.subtype) || (e.width = e.width / a),
  65624. "elf" === e.type)
  65625. )
  65626. "elf-audio" !== e.subtype && (e.height = (null === e || void 0 === e ? void 0 : e.height) / a)
  65627. else if ("line" !== e.type) e.height = (null === e || void 0 === e ? void 0 : e.height) / a
  65628. else {
  65629. var t = e
  65630. ;(t.start = [t.start[0] / a, t.start[1] / a]), (t.end = [t.end[0] / a, t.end[1] / a])
  65631. }
  65632. })
  65633. })),
  65634. e.abrupt("return", r)
  65635. )
  65636. case 6:
  65637. case "end":
  65638. return e.stop()
  65639. }
  65640. }, e)
  65641. })
  65642. )
  65643. return function (t, r, n) {
  65644. return e.apply(this, arguments)
  65645. }
  65646. })(),
  65647. ki = (function () {
  65648. var e = T(
  65649. A().mark(function e(t, r) {
  65650. var n, i, o, a
  65651. return A().wrap(
  65652. function (e) {
  65653. while (1)
  65654. switch ((e.prev = e.next)) {
  65655. case 0:
  65656. return (n = P({}, Si)), (e.prev = 1), r.beforeParse && r.beforeParse(t, n), (e.next = 5), Dn(t)
  65657. case 5:
  65658. return (i = e.sent), (n.theme = i), (e.next = 9), en(t, n.theme.viewportRatio)
  65659. case 9:
  65660. if (((e.t0 = e.sent), e.t0)) {
  65661. e.next = 12
  65662. break
  65663. }
  65664. e.t0 = 1
  65665. case 12:
  65666. return (o = e.t0), (e.next = 15), Ei(t, o, r)
  65667. case 15:
  65668. return (a = e.sent), (e.next = 18), Ci(t, a, n.theme.viewportRatio)
  65669. case 18:
  65670. return (a = e.sent), (n.slides = a), re.info("fininsh parse ppt", n), e.abrupt("return", n)
  65671. case 24:
  65672. throw ((e.prev = 24), (e.t1 = e["catch"](1)), new Error(e.t1.message))
  65673. case 27:
  65674. return (e.prev = 27), (t = null), e.finish(27)
  65675. case 30:
  65676. case "end":
  65677. return e.stop()
  65678. }
  65679. },
  65680. e,
  65681. null,
  65682. [[1, 24, 27, 30]]
  65683. )
  65684. })
  65685. )
  65686. return function (t, r) {
  65687. return e.apply(this, arguments)
  65688. }
  65689. })(),
  65690. Li = function (e) {
  65691. return new Promise(function (t, r) {
  65692. var n = new u.a()
  65693. n.loadAsync(e)
  65694. .then(function (e) {
  65695. return t(e)
  65696. })
  65697. ["catch"](function (e) {
  65698. return r(e)
  65699. })
  65700. })
  65701. },
  65702. Pi = function (e, t) {
  65703. return new Promise(function (r, n) {
  65704. Li(e)
  65705. .then(function (e) {
  65706. return ki(e.files, t)
  65707. })
  65708. .then(function (e) {
  65709. return r(JSON.stringify(e))
  65710. })
  65711. ["catch"](function (e) {
  65712. return n(e)
  65713. })
  65714. })
  65715. },
  65716. Oi = "0.0.17",
  65717. ji = "PptistExchangePptx"
  65718. re.setNamespace("PptistExchangePptx"), console.log("".concat(ji, " Version: ").concat(Oi))
  65719. var Ri = {
  65720. version: Oi,
  65721. outputName: ji,
  65722. json2pptx: Lr,
  65723. pptx2json: Pi
  65724. }
  65725. }).call(this, r("4362"))
  65726. },
  65727. f772: function (e, t, r) {
  65728. var n = r("5692"),
  65729. i = r("90e3"),
  65730. o = n("keys")
  65731. e.exports = function (e) {
  65732. return o[e] || (o[e] = i(e))
  65733. }
  65734. },
  65735. faa1: function (e, t, r) {
  65736. "use strict"
  65737. var n,
  65738. i = "object" === typeof Reflect ? Reflect : null,
  65739. o =
  65740. i && "function" === typeof i.apply
  65741. ? i.apply
  65742. : function (e, t, r) {
  65743. return Function.prototype.apply.call(e, t, r)
  65744. }
  65745. function a(e) {
  65746. console && console.warn && console.warn(e)
  65747. }
  65748. n =
  65749. i && "function" === typeof i.ownKeys
  65750. ? i.ownKeys
  65751. : Object.getOwnPropertySymbols
  65752. ? function (e) {
  65753. return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))
  65754. }
  65755. : function (e) {
  65756. return Object.getOwnPropertyNames(e)
  65757. }
  65758. var s =
  65759. Number.isNaN ||
  65760. function (e) {
  65761. return e !== e
  65762. }
  65763. function l() {
  65764. l.init.call(this)
  65765. }
  65766. ;(e.exports = l),
  65767. (e.exports.once = w),
  65768. (l.EventEmitter = l),
  65769. (l.prototype._events = void 0),
  65770. (l.prototype._eventsCount = 0),
  65771. (l.prototype._maxListeners = void 0)
  65772. var c = 10
  65773. function u(e) {
  65774. if ("function" !== typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e)
  65775. }
  65776. function f(e) {
  65777. return void 0 === e._maxListeners ? l.defaultMaxListeners : e._maxListeners
  65778. }
  65779. function p(e, t, r, n) {
  65780. var i, o, s
  65781. if (
  65782. (u(r),
  65783. (o = e._events),
  65784. void 0 === o
  65785. ? ((o = e._events = Object.create(null)), (e._eventsCount = 0))
  65786. : (void 0 !== o.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), (o = e._events)), (s = o[t])),
  65787. void 0 === s)
  65788. )
  65789. (s = o[t] = r), ++e._eventsCount
  65790. else if (
  65791. ("function" === typeof s ? (s = o[t] = n ? [r, s] : [s, r]) : n ? s.unshift(r) : s.push(r),
  65792. (i = f(e)),
  65793. i > 0 && s.length > i && !s.warned)
  65794. ) {
  65795. s.warned = !0
  65796. var l = new Error(
  65797. "Possible EventEmitter memory leak detected. " +
  65798. s.length +
  65799. " " +
  65800. String(t) +
  65801. " listeners added. Use emitter.setMaxListeners() to increase limit"
  65802. )
  65803. ;(l.name = "MaxListenersExceededWarning"), (l.emitter = e), (l.type = t), (l.count = s.length), a(l)
  65804. }
  65805. return e
  65806. }
  65807. function d() {
  65808. if (!this.fired)
  65809. return (
  65810. this.target.removeListener(this.type, this.wrapFn),
  65811. (this.fired = !0),
  65812. 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)
  65813. )
  65814. }
  65815. function h(e, t, r) {
  65816. var n = {
  65817. fired: !1,
  65818. wrapFn: void 0,
  65819. target: e,
  65820. type: t,
  65821. listener: r
  65822. },
  65823. i = d.bind(n)
  65824. return (i.listener = r), (n.wrapFn = i), i
  65825. }
  65826. function m(e, t, r) {
  65827. var n = e._events
  65828. if (void 0 === n) return []
  65829. var i = n[t]
  65830. return void 0 === i ? [] : "function" === typeof i ? (r ? [i.listener || i] : [i]) : r ? b(i) : y(i, i.length)
  65831. }
  65832. function g(e) {
  65833. var t = this._events
  65834. if (void 0 !== t) {
  65835. var r = t[e]
  65836. if ("function" === typeof r) return 1
  65837. if (void 0 !== r) return r.length
  65838. }
  65839. return 0
  65840. }
  65841. function y(e, t) {
  65842. for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n]
  65843. return r
  65844. }
  65845. function v(e, t) {
  65846. for (; t + 1 < e.length; t++) e[t] = e[t + 1]
  65847. e.pop()
  65848. }
  65849. function b(e) {
  65850. for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r]
  65851. return t
  65852. }
  65853. function w(e, t) {
  65854. return new Promise(function (r, n) {
  65855. function i(r) {
  65856. e.removeListener(t, o), n(r)
  65857. }
  65858. function o() {
  65859. "function" === typeof e.removeListener && e.removeListener("error", i), r([].slice.call(arguments))
  65860. }
  65861. A(e, t, o, {
  65862. once: !0
  65863. }),
  65864. "error" !== t &&
  65865. x(e, i, {
  65866. once: !0
  65867. })
  65868. })
  65869. }
  65870. function x(e, t, r) {
  65871. "function" === typeof e.on && A(e, "error", t, r)
  65872. }
  65873. function A(e, t, r, n) {
  65874. if ("function" === typeof e.on) n.once ? e.once(t, r) : e.on(t, r)
  65875. else {
  65876. if ("function" !== typeof e.addEventListener)
  65877. throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e)
  65878. e.addEventListener(t, function i(o) {
  65879. n.once && e.removeEventListener(t, i), r(o)
  65880. })
  65881. }
  65882. }
  65883. Object.defineProperty(l, "defaultMaxListeners", {
  65884. enumerable: !0,
  65885. get: function () {
  65886. return c
  65887. },
  65888. set: function (e) {
  65889. if ("number" !== typeof e || e < 0 || s(e))
  65890. throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".")
  65891. c = e
  65892. }
  65893. }),
  65894. (l.init = function () {
  65895. ;(void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events) ||
  65896. ((this._events = Object.create(null)), (this._eventsCount = 0)),
  65897. (this._maxListeners = this._maxListeners || void 0)
  65898. }),
  65899. (l.prototype.setMaxListeners = function (e) {
  65900. if ("number" !== typeof e || e < 0 || s(e))
  65901. throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".")
  65902. return (this._maxListeners = e), this
  65903. }),
  65904. (l.prototype.getMaxListeners = function () {
  65905. return f(this)
  65906. }),
  65907. (l.prototype.emit = function (e) {
  65908. for (var t = [], r = 1; r < arguments.length; r++) t.push(arguments[r])
  65909. var n = "error" === e,
  65910. i = this._events
  65911. if (void 0 !== i) n = n && void 0 === i.error
  65912. else if (!n) return !1
  65913. if (n) {
  65914. var a
  65915. if ((t.length > 0 && (a = t[0]), a instanceof Error)) throw a
  65916. var s = new Error("Unhandled error." + (a ? " (" + a.message + ")" : ""))
  65917. throw ((s.context = a), s)
  65918. }
  65919. var l = i[e]
  65920. if (void 0 === l) return !1
  65921. if ("function" === typeof l) o(l, this, t)
  65922. else {
  65923. var c = l.length,
  65924. u = y(l, c)
  65925. for (r = 0; r < c; ++r) o(u[r], this, t)
  65926. }
  65927. return !0
  65928. }),
  65929. (l.prototype.addListener = function (e, t) {
  65930. return p(this, e, t, !1)
  65931. }),
  65932. (l.prototype.on = l.prototype.addListener),
  65933. (l.prototype.prependListener = function (e, t) {
  65934. return p(this, e, t, !0)
  65935. }),
  65936. (l.prototype.once = function (e, t) {
  65937. return u(t), this.on(e, h(this, e, t)), this
  65938. }),
  65939. (l.prototype.prependOnceListener = function (e, t) {
  65940. return u(t), this.prependListener(e, h(this, e, t)), this
  65941. }),
  65942. (l.prototype.removeListener = function (e, t) {
  65943. var r, n, i, o, a
  65944. if ((u(t), (n = this._events), void 0 === n)) return this
  65945. if (((r = n[e]), void 0 === r)) return this
  65946. if (r === t || r.listener === t)
  65947. 0 === --this._eventsCount
  65948. ? (this._events = Object.create(null))
  65949. : (delete n[e], n.removeListener && this.emit("removeListener", e, r.listener || t))
  65950. else if ("function" !== typeof r) {
  65951. for (i = -1, o = r.length - 1; o >= 0; o--)
  65952. if (r[o] === t || r[o].listener === t) {
  65953. ;(a = r[o].listener), (i = o)
  65954. break
  65955. }
  65956. if (i < 0) return this
  65957. 0 === i ? r.shift() : v(r, i), 1 === r.length && (n[e] = r[0]), void 0 !== n.removeListener && this.emit("removeListener", e, a || t)
  65958. }
  65959. return this
  65960. }),
  65961. (l.prototype.off = l.prototype.removeListener),
  65962. (l.prototype.removeAllListeners = function (e) {
  65963. var t, r, n
  65964. if (((r = this._events), void 0 === r)) return this
  65965. if (void 0 === r.removeListener)
  65966. return (
  65967. 0 === arguments.length
  65968. ? ((this._events = Object.create(null)), (this._eventsCount = 0))
  65969. : void 0 !== r[e] && (0 === --this._eventsCount ? (this._events = Object.create(null)) : delete r[e]),
  65970. this
  65971. )
  65972. if (0 === arguments.length) {
  65973. var i,
  65974. o = Object.keys(r)
  65975. for (n = 0; n < o.length; ++n) (i = o[n]), "removeListener" !== i && this.removeAllListeners(i)
  65976. return this.removeAllListeners("removeListener"), (this._events = Object.create(null)), (this._eventsCount = 0), this
  65977. }
  65978. if (((t = r[e]), "function" === typeof t)) this.removeListener(e, t)
  65979. else if (void 0 !== t) for (n = t.length - 1; n >= 0; n--) this.removeListener(e, t[n])
  65980. return this
  65981. }),
  65982. (l.prototype.listeners = function (e) {
  65983. return m(this, e, !0)
  65984. }),
  65985. (l.prototype.rawListeners = function (e) {
  65986. return m(this, e, !1)
  65987. }),
  65988. (l.listenerCount = function (e, t) {
  65989. return "function" === typeof e.listenerCount ? e.listenerCount(t) : g.call(e, t)
  65990. }),
  65991. (l.prototype.listenerCount = g),
  65992. (l.prototype.eventNames = function () {
  65993. return this._eventsCount > 0 ? n(this._events) : []
  65994. })
  65995. },
  65996. fb6a: function (e, t, r) {
  65997. "use strict"
  65998. var n = r("23e7"),
  65999. i = r("861d"),
  66000. o = r("e8b5"),
  66001. a = r("23cb"),
  66002. s = r("50c4"),
  66003. l = r("fc6a"),
  66004. c = r("8418"),
  66005. u = r("b622"),
  66006. f = r("1dde"),
  66007. p = f("slice"),
  66008. d = u("species"),
  66009. h = [].slice,
  66010. m = Math.max
  66011. n(
  66012. {
  66013. target: "Array",
  66014. proto: !0,
  66015. forced: !p
  66016. },
  66017. {
  66018. slice: function (e, t) {
  66019. var r,
  66020. n,
  66021. u,
  66022. f = l(this),
  66023. p = s(f.length),
  66024. g = a(e, p),
  66025. y = a(void 0 === t ? p : t, p)
  66026. if (
  66027. o(f) &&
  66028. ((r = f.constructor),
  66029. "function" != typeof r || (r !== Array && !o(r.prototype)) ? i(r) && ((r = r[d]), null === r && (r = void 0)) : (r = void 0),
  66030. r === Array || void 0 === r)
  66031. )
  66032. return h.call(f, g, y)
  66033. for (n = new (void 0 === r ? Array : r)(m(y - g, 0)), u = 0; g < y; g++, u++) g in f && c(n, u, f[g])
  66034. return (n.length = u), n
  66035. }
  66036. }
  66037. )
  66038. },
  66039. fc6a: function (e, t, r) {
  66040. var n = r("44ad"),
  66041. i = r("1d80")
  66042. e.exports = function (e) {
  66043. return n(i(e))
  66044. }
  66045. },
  66046. fce3: function (e, t, r) {
  66047. var n = r("d039"),
  66048. i = r("da84"),
  66049. o = i.RegExp
  66050. e.exports = n(function () {
  66051. var e = o(".", "s")
  66052. return !(e.dotAll && e.exec("\n") && "s" === e.flags)
  66053. })
  66054. },
  66055. fdbc: function (e, t) {
  66056. e.exports = {
  66057. CSSRuleList: 0,
  66058. CSSStyleDeclaration: 0,
  66059. CSSValueList: 0,
  66060. ClientRectList: 0,
  66061. DOMRectList: 0,
  66062. DOMStringList: 0,
  66063. DOMTokenList: 1,
  66064. DataTransferItemList: 0,
  66065. FileList: 0,
  66066. HTMLAllCollection: 0,
  66067. HTMLCollection: 0,
  66068. HTMLFormElement: 0,
  66069. HTMLSelectElement: 0,
  66070. MediaList: 0,
  66071. MimeTypeArray: 0,
  66072. NamedNodeMap: 0,
  66073. NodeList: 1,
  66074. PaintRequestList: 0,
  66075. Plugin: 0,
  66076. PluginArray: 0,
  66077. SVGLengthList: 0,
  66078. SVGNumberList: 0,
  66079. SVGPathSegList: 0,
  66080. SVGPointList: 0,
  66081. SVGStringList: 0,
  66082. SVGTransformList: 0,
  66083. SourceBufferList: 0,
  66084. StyleSheetList: 0,
  66085. TextTrackCueList: 0,
  66086. TextTrackList: 0,
  66087. TouchList: 0
  66088. }
  66089. },
  66090. fdbf: function (e, t, r) {
  66091. var n = r("4930")
  66092. e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator
  66093. }
  66094. })
  66095. //# sourceMappingURL=mine-coursewares.9424885e.worker.js.map